/* report-city.css — used for both browser preview and Flying Saucer PDF rendering.
   No flexbox or grid (limited Flying Saucer support). Table-based layout only. */

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11pt;
    color: #1a1a1a;
    margin: 0;
    padding: 24px 32px;
    background: #ffffff;
}

.report-header {
    border-bottom: 2px solid #003399;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.report-header h1 {
    font-size: 18pt;
    color: #003399;
    margin: 0 0 6px 0;
}

.state-msg {
    color: #666666;
    font-style: italic;
}

.state-msg.error {
    color: #cc0000;
}

.resource-block {
    margin-bottom: 24px;
    page-break-inside: avoid;
}

.resource-header {
    background: #f4f6fb;
    padding: 8px 10px;
    border-left: 4px solid #003399;
    margin-bottom: 4px;
}

.resource-icon {
    margin-right: 6px;
}

.resource-name {
    font-weight: bold;
    font-size: 12pt;
}

.resource-meta {
    font-size: 9pt;
    color: #666666;
    margin-left: 10px;
}

.dim-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10pt;
}

.dim-table tr {
    border-bottom: 1px solid #e8e8e8;
}

.dim-name {
    width: 110px;
    font-weight: bold;
    padding: 5px 8px;
    color: #333333;
    text-transform: capitalize;
}

.dim-score {
    width: 60px;
    text-align: center;
    padding: 5px 6px;
    font-size: 9pt;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
}

.dim-score-green  { background: #d4edda; color: #155724; }
.dim-score-yellow { background: #fff3cd; color: #856404; }
.dim-score-red    { background: #f8d7da; color: #721c24; }

.dim-text {
    padding: 5px 8px;
    color: #333333;
    line-height: 1.4;
}

/* ── PDF cover page ──────────────────────────────────────── */

.pdf-cover {
    display: table;
    width: 100%;
    height: 90vh;
    page-break-after: always;
}

.pdf-cover-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.pdf-cover-title {
    font-size: 24pt;
    color: #003399;
    margin: 0 0 16px 0;
}

.pdf-cover-meta {
    font-size: 10pt;
    color: #666666;
    margin: 0;
}
