/* Giao diện công khai – chuyển từ design/mau-a.html, giữ nguyên màu, cỡ chữ, khoảng cách. */

/* ---------- Font Be Vietnam Pro (tự host, SIL OFL – xem lib/fonts/be-vietnam-pro/LICENSE) ---------- */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 400; src: url('../lib/fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-400-normal.woff2') format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 400; src: url('../lib/fonts/be-vietnam-pro/be-vietnam-pro-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 500; src: url('../lib/fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-500-normal.woff2') format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 500; src: url('../lib/fonts/be-vietnam-pro/be-vietnam-pro-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 600; src: url('../lib/fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-600-normal.woff2') format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 600; src: url('../lib/fonts/be-vietnam-pro/be-vietnam-pro-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 700; src: url('../lib/fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-700-normal.woff2') format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 700; src: url('../lib/fonts/be-vietnam-pro/be-vietnam-pro-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 800; src: url('../lib/fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-800-normal.woff2') format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-display: swap; font-weight: 800; src: url('../lib/fonts/be-vietnam-pro/be-vietnam-pro-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Biến màu ---------- */
:root {
    --accent: #1F7A4D;       /* ghi đè từ SiteSetting Theme.AccentColor trong _Layout */
    --navy: #0E2A47;
    --navy-deep: #0A1F35;
    --text: #1A2733;
    --text-body: #3A4856;
    --text-muted: #4A5968;
    --border: #E3E8ED;
    --border-soft: #EEF1F4;
    --border-input: #C9D2DB;
    --bg-soft: #F3F6F8;
    --mint: #BFE5CF;
}

/* ---------- Nền tảng ---------- */
body {
    margin: 0;
    font-family: 'Be Vietnam Pro', system-ui, sans-serif;
    color: var(--text);
    background: #FFFFFF;
}

a { color: var(--navy); }
a:hover { color: var(--accent); }

img { max-width: 100%; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10;
    padding: 12px 16px;
    background: #FFFFFF;
    color: var(--navy);
}
.skip-link:focus { left: 16px; }

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section { padding-top: 72px; padding-bottom: 72px; }
.section-soft { background: var(--bg-soft); }

.section-title {
    margin: 0 0 8px;
    font-size: 32px;
    color: var(--navy);
}

.section-lead {
    margin: 0 0 32px;
    font-size: 16px;
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 14px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { color: #FFFFFF; filter: brightness(1.08); }
.btn-outline-light { border: 1px solid #FFFFFF; color: #FFFFFF; }
.btn-outline-light:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.1); }
.btn-light { background: #FFFFFF; color: var(--navy); }
.btn-light:hover { color: var(--accent); }

/* ---------- Thanh trên cùng ---------- */
.topbar {
    background: var(--navy);
    color: #DCE6EF;
    font-size: 14px;
}
.topbar-inner {
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #FFFFFF; text-decoration: underline; }

/* ---------- Đầu trang ---------- */
.site-header {
    border-bottom: 1px solid var(--border);
    background: #FFFFFF;
}
.site-header-inner {
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--navy);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex: none;
}
.brand-logo {
    height: 44px;
    width: auto;
    display: block;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 17px; color: var(--navy); }
.brand-tagline { font-size: 13px; color: var(--text-muted); }

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    font-size: 15px;
    font-weight: 500;
}
.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 0;
    text-decoration: none;
}
.main-nav a.nav-button {
    padding: 10px 18px;
    background: var(--accent);
    color: #FFFFFF;
    border-radius: 6px;
}
.main-nav a.nav-button:hover { color: #FFFFFF; filter: brightness(1.08); }

/* ---------- Ảnh đầu trang ---------- */
/* Mẫu A đặt chữ tuyệt đối trên ảnh cao cố định 560px; ở màn hình hẹp chữ tràn lên đè menu.
   Ở đây ảnh làm nền, khung cao tối thiểu 560px và tự giãn theo nội dung. */
.hero {
    position: relative;
    background: var(--navy);
    min-height: 560px;
    display: flex;
    align-items: center;
}
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.35;
}
.hero-overlay {
    position: relative;
    width: 100%;
    padding-top: 48px;
    padding-bottom: 48px;
}
.hero-content {
    width: 100%;
    color: #FFFFFF;
}
.hero-eyebrow {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mint);
}
.hero-title {
    margin: 0;
    font-size: 56px;
    line-height: 1.12;
    font-weight: 800;
    max-width: 760px;
}
.hero-subtitle {
    margin: 20px 0 32px;
    font-size: 18px;
    line-height: 1.6;
    max-width: 620px;
    color: #E3ECF3;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 640px) {
    .hero-title { font-size: 40px; }
}

/* ---------- Dải số liệu ---------- */
.stats {
    margin-top: 40px;
    position: relative;
}
/* Thẻ số liệu nổi lên ảnh đầu trang; khi khối ảnh bị ẩn thì nằm bình thường. */
.hero + .stats { margin-top: -56px; }
.stats-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(14, 42, 71, 0.10);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
}
.stat {
    padding: 28px 24px;
    border-right: 1px solid var(--border);
}
.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
}
.stat-label {
    margin-top: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ---------- Về chủ đầu tư ---------- */
.about {
    padding-top: 96px;
    padding-bottom: 72px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    align-items: center;
}
.about-title {
    margin: 0 0 16px;
    font-size: 36px;
    line-height: 1.25;
    color: var(--navy);
}
.about-body { font-size: 17px; line-height: 1.7; color: var(--text-body); }
.about-body p { margin: 0 0 16px; }
.about-body > :last-child { margin-bottom: 0; }
.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.about-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* ---------- Hạ tầng ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.infra-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
}
.infra-card svg { stroke: var(--accent); }
.infra-card h3 {
    margin: 12px 0 6px;
    font-size: 18px;
    color: var(--navy);
}
.infra-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ---------- Doanh nghiệp ---------- */
.section-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 28px;
}
.section-head .section-lead { margin: 0; }
.section-head-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
}
.tenant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.tenant-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    min-height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tenant-name { font-size: 16px; color: var(--navy); }
.tenant-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---------- Quan trắc ---------- */
.monitoring {
    background: var(--navy);
    color: #FFFFFF;
}
.monitoring-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: start;
}
.monitoring .eyebrow { color: var(--mint); }
.monitoring-title {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.3;
}
.monitoring-lead {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #D3DEE8;
}
.monitoring-panel {
    background: #FFFFFF;
    color: var(--text);
    border-radius: 10px;
    padding: 24px;
}
.monitoring-panel-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}
.monitoring-station { font-size: 16px; color: var(--navy); }
.monitoring-updated { font-size: 13px; color: var(--text-muted); }
.monitoring-notice {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--text-body);
}
.table-scroll { overflow-x: auto; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.data-table th {
    text-align: left;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 6px;
    border-bottom: 1px solid var(--border);
}
.data-table td {
    padding: 10px 6px;
    border-bottom: 1px solid var(--border-soft);
}
.data-table .value { font-weight: 700; }
.data-table .unit {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 13px;
}
.data-table .limit { color: var(--text-muted); }

/* Nhãn trạng thái: luôn có chữ, không chỉ dựa vào màu. */
.status-badge {
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 13px;
    white-space: nowrap;
    background: var(--border-soft);
    color: var(--text-body);
}
.status-ok { background: #E3F4EA; color: #17603C; }
.status-warning { background: #FFF3CD; color: #6B4E00; }
.status-exceeded { background: #B42318; color: #FFFFFF; font-weight: 600; }

/* ---------- Tin tức ---------- */
.news-title { margin-bottom: 28px; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.news-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.news-card-body { padding: 20px; }
.news-category {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
}
.news-card h3 {
    margin: 8px 0 0;
    font-size: 18px;
    line-height: 1.4;
    color: var(--navy);
}
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { text-decoration: underline; }

/* ---------- Liên hệ ---------- */
.contact-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.contact-title {
    margin: 0 0 16px;
    font-size: 32px;
    color: var(--navy);
}
.contact-line {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.7;
}
.contact-line:last-of-type { margin-bottom: 24px; }
.contact-map {
    height: 220px;
    border-radius: 8px;
    background: #DDE5EC;
}
/* Nút phóng to/thu nhỏ của Leaflet: đủ 44px để chạm (leaflet.css nạp sau nên cần độ ưu tiên cao hơn). */
.contact-map.leaflet-container .leaflet-bar a {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 20px;
}
.contact-form {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid var(--border-input);
    border-radius: 6px;
    font: inherit;
    font-weight: 400;
}
.contact-form .required { color: #B42318; }
.contact-form button {
    min-height: 44px;
    padding: 14px;
    background: var(--accent);
    color: #FFFFFF;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.contact-form button:hover { filter: brightness(1.08); }
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field-error {
    font-size: 13px;
    font-weight: 500;
    color: #B42318;
}
.field-error:empty { display: none; }
.contact-form .input-validation-error { border-color: #B42318; }
.form-errors {
    font-size: 14px;
    color: #B42318;
}
.form-errors.validation-summary-valid { display: none; }
.form-errors ul { margin: 0; padding-left: 18px; }

.notice {
    margin: 0 0 24px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
}
.notice-success { background: #E3F4EA; color: #17603C; border: 1px solid #B9E2C8; }
.notice-error { background: #FDECEA; color: #8A1C12; border: 1px solid #F4C5BF; }

/* ---------- Trang con ---------- */
.page-header {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}
.page-header .container { padding-top: 28px; padding-bottom: 32px; }
.page-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.25;
    color: var(--navy);
}
.page-lead {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}
.page-body { padding-top: 40px; }

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--text-muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--border-input); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text-body); }

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.filter-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.filter-chips a[aria-current] {
    background: var(--navy);
    border-color: var(--navy);
    color: #FFFFFF;
}

.empty-state {
    padding: 40px 0;
    font-size: 16px;
    color: var(--text-muted);
}
.result-count {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.btn-outline { border: 1px solid var(--navy); color: var(--navy); }
.btn-outline:hover { border-color: var(--accent); }

/* Tin tức – danh sách */
.news-date {
    margin-left: 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.news-summary {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 15px;
}
.pagination a { border: 1px solid var(--border); text-decoration: none; }
.pagination .current { background: var(--navy); color: #FFFFFF; font-weight: 600; }
.pagination .gap { color: var(--text-muted); }

/* Tin tức – chi tiết */
.article {
    max-width: 808px;
    padding-top: 40px;
    padding-bottom: 72px;
}
.article-header .news-category {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
}
.article-header .news-date { margin-left: 12px; }
.article-title {
    margin: 12px 0 0;
    font-size: 36px;
    line-height: 1.25;
    color: var(--navy);
}
.article-summary {
    margin: 16px 0 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-body);
    font-weight: 500;
}
.article-cover {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 28px;
    border-radius: 8px;
}
.prose {
    margin-top: 28px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-body);
    overflow-wrap: break-word;
}
.prose h2 { margin: 32px 0 12px; font-size: 26px; line-height: 1.3; color: var(--navy); }
.prose h3 { margin: 28px 0 10px; font-size: 21px; line-height: 1.35; color: var(--navy); }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose img { height: auto; border-radius: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
/* Căn lề, thụt dòng từ trình soạn thảo Quill. */
.prose .ql-align-center, .about-body .ql-align-center { text-align: center; }
.prose .ql-align-right, .about-body .ql-align-right { text-align: right; }
.prose .ql-align-justify, .about-body .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-left: 2em; }
.prose .ql-indent-2 { padding-left: 4em; }
.prose blockquote { margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 4px solid var(--accent); color: var(--text-muted); }

/* Doanh nghiệp – danh sách đầy đủ */
.tenant-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.tenant-detail {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.tenant-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.tenant-detail-body { padding: 20px; }
.tenant-detail-head { display: flex; align-items: center; gap: 12px; }
.tenant-logo { height: 40px; width: auto; max-width: 96px; object-fit: contain; }
.tenant-detail .tenant-name { margin: 0; font-size: 18px; line-height: 1.35; }
.tenant-facts { margin: 12px 0 0; font-size: 14px; }
.tenant-facts div { display: flex; gap: 6px; margin-top: 4px; }
.tenant-facts dt { color: var(--text-muted); }
.tenant-facts dt::after { content: ":"; }
.tenant-facts dd { margin: 0; color: var(--text-body); }
.tenant-description {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}
.tenant-website {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    font-weight: 600;
    font-size: 15px;
}

/* Quan trắc – trang /quan-trac */
.station-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}
.station-name { margin: 0; font-size: 24px; color: var(--navy); }
.station-meta { margin: 4px 0 0; font-size: 15px; color: var(--text-muted); }
.station-updated { margin: 0; font-size: 15px; color: var(--text-body); }
.station-refresh { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.refresh-button { padding: 10px 18px; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.refresh-button:disabled { opacity: 0.7; cursor: wait; }
.monitoring-table-block { margin: 16px 0 40px; }
.table-title { margin: 0 0 12px; font-size: 20px; color: var(--navy); }
.monitoring-table { background: #FFFFFF; border: 1px solid var(--border); }
.monitoring-table th { background: var(--navy); color: #FFFFFF; font-size: 13px; white-space: nowrap; }
.monitoring-table td { white-space: nowrap; }
.monitoring-table tbody tr:nth-child(even) { background: #F7F9FA; }
.monitoring-table .num { text-align: right; }
.monitoring-table th.num { text-align: right; }
.chart-panel { margin-bottom: 48px; }
.chart-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}
.chart-head .section-title { margin: 0; }
.chart-controls { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.segmented button {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #FFFFFF;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
}
.segmented button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.chart-box {
    position: relative;
    height: 380px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    background: #FFFFFF;
}
.chart-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.85);
}
.chart-empty[hidden] { display: none; }
.chart-note { margin: 10px 0 0; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.monitoring-page .monitoring-notice { margin-bottom: 8px; }

.monitoring-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.monitoring-extra .section-title { font-size: 24px; margin-bottom: 16px; }
.station-map { height: 300px; }
.document-list { list-style: none; margin: 0; padding: 0; }
.document-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.document-list a { font-weight: 600; min-height: 24px; }
.document-meta { font-size: 13px; color: var(--text-muted); }

@media (max-width: 640px) {
    .chart-box { height: 320px; padding: 8px; }
    .table-title { font-size: 17px; }
}

.not-found { padding-bottom: 96px; }
.not-found .hero-actions { margin-top: 28px; }

@media (max-width: 640px) {
    .page-title, .article-title { font-size: 28px; }
}

/* ---------- Chân trang ---------- */
.site-footer {
    background: var(--navy-deep);
    color: #C6D3DF;
    font-size: 14px;
}
.site-footer-inner {
    padding-top: 28px;
    padding-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    justify-content: space-between;
}

/* ---------- Tiếp cận ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
