﻿/* Mau giao dien Dieu hanh so (App_Code/CtmtDieuHanh.vb, js/ctmt-dieu-hanh.js). Mau chu dao --dh-c doi theo Bo. */
:root { --dh-c: #14365D; }
.dh { display: flex; flex-direction: column; gap: 14px; }
.dh [hidden] { display: none !important; }
.dh-khoi { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#dhTq, #dhCs { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dh-the { background: #FFFFFF; border: 1px solid var(--ct-line, #E2E7EC); border-radius: 14px; box-shadow: 0 1px 2px rgba(15, 27, 42, .05); }
.dh-trong { margin: 0; padding: 12px 14px; color: var(--ct-muted, #5B6672); font-size: 13.5px; }
.dh-muc { margin: 6px 0 0; font-size: 17px; font-weight: 800; }
.dh-muc-hang { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin-top: 6px; }
.dh-muc-hang .dh-muc { margin: 0; }

/* Thanh co dinh */
.dh-bar { position: sticky; top: var(--dh-top, 8px); z-index: 900; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 8px 10px; background: rgba(255, 255, 255, .97); border: 1px solid var(--ct-line, #E2E7EC); border-top: 3px solid var(--dh-c); border-radius: 14px; box-shadow: 0 6px 18px -12px rgba(15, 27, 42, .45); }
.dh-tim { position: relative; flex: 1 1 260px; max-width: 380px; display: flex; align-items: center; gap: 8px; padding: 0 10px; height: 38px; border: 1px solid var(--ct-line, #D5DBE1); border-radius: 10px; background: #FFFFFF; }
.dh-tim > .bi-geo-alt-fill { color: var(--dh-c); }
.dh-tim:focus-within { border-color: var(--dh-c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--dh-c) 20%, transparent); }
.dh-tim input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; font-weight: 600; }
.dh-xoa { border: 0; background: none; color: var(--ct-muted, #5B6672); padding: 2px 4px; }
.dh-ds { position: absolute; top: 42px; left: 0; right: 0; max-height: 320px; overflow: auto; margin: 0; padding: 4px; list-style: none; background: #FFFFFF; border: 1px solid var(--ct-line, #D5DBE1); border-radius: 10px; box-shadow: 0 12px 28px -12px rgba(15, 27, 42, .5); z-index: 950; }
.dh-ds [role=option] { padding: 7px 10px; border-radius: 7px; font-size: 14px; cursor: pointer; }
.dh-ds [role=option]:hover, .dh-ds [aria-selected=true] { background: color-mix(in srgb, var(--dh-c) 12%, #FFFFFF); }
.dh-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: #F1F3F5; }
.dh-tabs button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 700; color: var(--ct-muted, #5B6672); white-space: nowrap; }
.dh-tabs button[aria-selected=true] { background: #FFFFFF; color: var(--dh-c); box-shadow: 0 1px 3px rgba(15, 27, 42, .18); }
.dh-bo { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 0 auto; color: var(--dh-c); }
.dh-bo select, .dh-lop select { height: 36px; border: 1px solid var(--ct-line, #D5DBE1); border-radius: 9px; padding: 0 8px; background: #FFFFFF; font-size: 13.5px; font-weight: 600; max-width: 100%; }
.dh-lop { flex: 1 1 320px; max-width: 560px; margin: 0; }
.dh-lop select { width: 100%; }

/* Dau trang: giai ngan + KPI */
.dh-dau { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 12px; }
.dh-gn { padding: 14px 16px; border-top: 3px solid var(--dh-c); background: #FFFFFF; background: radial-gradient(120% 130% at 100% 0%, color-mix(in srgb, var(--dh-c) 10%, transparent) 0%, transparent 55%), linear-gradient(150deg, color-mix(in srgb, var(--dh-c) 15%, #FFFFFF) 0%, #FFFFFF 62%); }
.dh-gn h2 { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.dh-gauge { display: block; width: 100%; max-width: 250px; margin: 0 auto; }
.dh-gauge__so { font-family: "Barlow Semi Condensed", sans-serif; font-size: 30px; font-weight: 700; fill: var(--dh-c); }
.dh-gn__dong { margin: 4px 0 0; font-size: 13.5px; text-align: center; }
.dh-gn__ghi { margin: 6px 0 0; font-size: 12px; line-height: 1.45; color: var(--ct-muted, #5B6672); }
.dh-kpi { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dh-kpi > .dh-tr-ray { flex: 1 1 auto; }
.dh-kpi__trang { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; }

/* Vuot trai phai + cum nut */
.dh-tr-ray { display: flex; gap: 12px; min-width: 0; margin: -2px; padding: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 2px; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dh-tr-ray::-webkit-scrollbar { display: none; }
.dh-tr-ray > * { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.dh-tr-dk { display: flex; align-items: center; gap: 12px; }
.dh-tr-thanh { flex: 1 1 auto; height: 4px; border-radius: 999px; background: #E6EAEE; overflow: hidden; }
.dh-tr-thanh i { display: block; height: 100%; border-radius: 999px; background: var(--dh-c); transition: width .25s ease; }
.dh-tr-nut { flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: #F1F3F5; color: var(--lv, var(--dh-c)); }
.dh-tr-nut button { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: #FFFFFF; color: inherit; font-size: 13px; box-shadow: 0 1px 3px rgba(15, 27, 42, .2); transition: background .15s, color .15s; }
.dh-tr-nut button:hover:not(:disabled) { background: var(--lv, var(--dh-c)); color: #FFFFFF; }
.dh-tr-nut button:focus-visible { outline: 2px solid var(--lv, var(--dh-c)); outline-offset: 1px; }
.dh-tr-nut button:disabled { background: transparent; box-shadow: none; opacity: .35; cursor: default; }
.dh-tr-so { min-width: 38px; text-align: center; font-size: 12px; font-weight: 700; color: var(--ct-ink, #1F2A36); font-variant-numeric: tabular-nums; }
body.ctmt-app .dh-kpi__o { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-top: 3px solid var(--lv); color: var(--ct-ink, #1F2A36); text-decoration: none; transition: box-shadow .15s, transform .15s; }
/* Chuyen mau theo linh vuc: dam o goc tren trai, nhat dan ve trang de chu van de doc */
body.ctmt-app .dh-kpi__o { background: #FFFFFF; background: radial-gradient(120% 130% at 100% 0%, color-mix(in srgb, var(--lv) 10%, transparent) 0%, transparent 55%), linear-gradient(150deg, color-mix(in srgb, var(--lv) 15%, #FFFFFF) 0%, #FFFFFF 62%); }
.dh-kpi__o .dh-xh { background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(15, 27, 42, .07); }
.dh-kpi__o .dh-xh--tot { background: #E5F4EA; }
.dh-kpi__o .dh-xh--kem { background: #FBE9E7; }
body.ctmt-app a.dh-kpi__o:hover, body.ctmt-app .dh-kpi__o--bd:hover { box-shadow: 0 10px 22px -16px rgba(15, 27, 42, .55); transform: translateY(-1px); }
/* c1009: the chi tieu co tren ban do - bam ca the = xem tren ban do ngay duoi; nut goc phai mo trang chi tieu */
.dh-kpi__o--bd { position: relative; cursor: pointer; }
.dh-kpi__o--bd .dh-kpi__ten { padding-right: 26px; }
.dh-kpi__o--lk { position: relative; }
.dh-kpi__o--lk .dh-kpi__ten { padding-right: 26px; }
a.dh-kpi__o--lk:hover .dh-kpi__mo, a.dh-kpi__o--lk:focus-visible .dh-kpi__mo { background: var(--lv); color: #FFFFFF; }
.dh-kpi__bam { position: absolute; inset: 0; z-index: 1; width: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.dh-kpi__bam:focus-visible { outline: 2px solid var(--lv); outline-offset: 2px; }
.dh-kpi__mo { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .85); color: var(--lv); font-size: 13px; box-shadow: inset 0 0 0 1px rgba(15, 27, 42, .1); text-decoration: none; transition: background .15s, color .15s; }
.dh-kpi__mo:hover, .dh-kpi__mo:focus-visible { background: var(--lv); color: #FFFFFF; outline: none; }
body.ctmt-app .dh-kpi__o--bd.is-chon { box-shadow: 0 0 0 2px var(--lv), 0 10px 22px -16px rgba(15, 27, 42, .55); }
.dh-kpi__o--bd.is-chon .dh-kpi__ten { color: var(--ct-ink, #1F2A36); }
.dh-kpi__ten { display: flex; gap: 7px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ct-muted, #5B6672); }
.dh-kpi__ten span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.dh-kpi__ten i { color: var(--lv); font-size: 16px; }
.dh-kpi__so { margin-top: auto; font-family: "Barlow Semi Condensed", sans-serif; font-size: 29px; font-weight: 700; line-height: 1.1; color: var(--lv); }
.dh-kpi__so small { margin-left: 2px; font-size: 14px; font-weight: 600; color: var(--ct-muted, #5B6672); }
.dh-xh { display: inline-flex; align-items: center; align-self: flex-start; gap: 2px; padding: 1px 8px; border-radius: 999px; background: #F1F3F5; color: #5B6672; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.dh-kpi__nhan { display: flex; flex-wrap: wrap; gap: 4px; }
.dh-ctt { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; background: #FFF3DC; color: #8A5A00; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.dh-xh--tot { background: #E5F4EA; color: #1C6B3A; }
.dh-xh--kem { background: #FBE9E7; color: #A5301F; }

/* Ban do doi */
.dh-doi { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr); gap: 12px; }
.dh-map { overflow: hidden; min-width: 0; background: #EEF3F6; }
#dhMapFrame { display: block; width: 100%; height: 600px; border: 0; }
.dh-canh { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dh-canh__nhan { font-size: 18px; font-weight: 800; }
.dh-canh__ten { font-size: 13px; line-height: 1.4; color: var(--ct-muted, #5B6672); }
.dh-canh__so { font-family: "Barlow Semi Condensed", sans-serif; font-size: 34px; font-weight: 700; line-height: 1.1; }
.dh-canh__so small { margin-left: 3px; font-size: 15px; color: var(--ct-muted, #5B6672); }
.dh-canh__phu { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ct-muted, #5B6672); }
.dh-canh__phu b { color: var(--ct-ink, #1F2A36); }
.dh-canh__ds { margin: 8px 0 0; padding: 0; list-style: none; }
.dh-canh__ds li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid #EEF1F4; font-size: 12.5px; line-height: 1.35; }
.dh-canh__ds b { white-space: nowrap; }
.dh-top { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.dh-top li { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 8px; align-items: center; font-size: 12.5px; position: relative; padding-right: 58px; }
.dh-top i { display: block; height: 10px; min-width: 2px; border-radius: 3px; }
.dh-top b { position: absolute; right: 0; font-size: 12.5px; }

/* The linh vuc */
.dh-lv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dh-lv__the { padding: 12px 14px; border-top: 3px solid var(--lv); min-width: 0; background: #FFFFFF; background: radial-gradient(120% 130% at 100% 0%, color-mix(in srgb, var(--lv) 10%, transparent) 0%, transparent 55%), linear-gradient(150deg, color-mix(in srgb, var(--lv) 15%, #FFFFFF) 0%, #FFFFFF 62%); }
.dh-lv__the .dh-xh { background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(15, 27, 42, .07); }
.dh-lv__the .dh-xh--tot { background: #E5F4EA; }
.dh-lv__the .dh-xh--kem { background: #FBE9E7; }
.dh-lv__the .dh-tr-nut { background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(15, 27, 42, .07); }
.dh-lv__ic { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lv) 18%, transparent); }
.dh-lv__dau { display: flex; gap: 10px; align-items: center; }
.dh-lv__dau > div { flex: 1 1 auto; min-width: 0; }
.dh-lv__ic { flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 18px; background: color-mix(in srgb, var(--lv) 13%, #FFFFFF); color: var(--lv); }
body.ctmt-app a.dh-lv__ten { display: block; font-size: 15px; font-weight: 800; color: var(--ct-ink, #1F2A36); text-decoration: none; }
body.ctmt-app a.dh-lv__ten:hover { color: var(--lv); }
.dh-lv__so { font-size: 12px; color: var(--ct-muted, #5B6672); }
.dh-lv__the ul { margin: 8px 0 0; padding: 0; list-style: none; }
.dh-lv__the li { padding: 7px 0; border-top: 1px solid #EEF1F4; }
.dh-lv__the li.dh-trong { padding: 8px 0 0; }
body.ctmt-app .dh-lv__the li a { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; line-height: 1.35; color: var(--ct-ink, #1F2A36); text-decoration: none; }
.dh-lv__the li a span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.dh-lv__the li a b { flex: none; color: var(--lv); font-family: "Barlow Semi Condensed", sans-serif; font-size: 16px; }
.dh-lv__the .dh-xh { margin-top: 3px; }

/* Bang */
.dh-bang-cu { display: flex; gap: 8px; align-items: center; }
.dh-bang-cu input { height: 36px; width: 170px; border: 1px solid var(--ct-line, #D5DBE1); border-radius: 9px; padding: 0 10px; font-size: 13.5px; }
.dh-nut { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--ct-line, #D5DBE1); border-radius: 9px; background: #FFFFFF; font-size: 13px; font-weight: 700; white-space: nowrap; }
.dh-nut:hover { border-color: var(--dh-c); color: var(--dh-c); }
.dh-chip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dh-chip button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid var(--ct-line, #D5DBE1); border-radius: 999px; background: #FFFFFF; font-size: 13px; font-weight: 600; }
.dh-chip button i { color: var(--lv); }
.dh-chip button[aria-pressed=true] { background: var(--lv); border-color: var(--lv); color: #FFFFFF; }
.dh-chip button[aria-pressed=true] i { color: #FFFFFF; }
.dh-bang-khung { margin-top: 8px; overflow: auto; max-height: 70vh; }
.dh-bang { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; }
.dh-bang th, .dh-bang td { padding: 7px 10px; border-bottom: 1px solid #EEF1F4; white-space: nowrap; }
.dh-bang td { text-align: right; font-variant-numeric: tabular-nums; }
.dh-bang thead tr:first-child th { position: sticky; top: 0; z-index: 2; background: #F7F9FB; vertical-align: bottom; white-space: normal; min-width: 118px; }
.dh-bang thead th button { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; width: 100%; border: 0; background: none; padding: 0; text-align: right; font-size: 12px; font-weight: 700; line-height: 1.3; }
.dh-bang thead th button span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.dh-bang thead th small { color: var(--ct-muted, #5B6672); font-weight: 500; }
.dh-bang thead th[aria-sort=ascending] button, .dh-bang thead th[aria-sort=descending] button { color: var(--dh-c); }
.dh-bang .dh-cot-ten, .dh-bang tbody th, .dh-dong-ca th { position: sticky; left: 0; z-index: 1; background: #FFFFFF; text-align: left; min-width: 130px; }
.dh-bang thead .dh-cot-ten { z-index: 3; background: #F7F9FB; font-size: 12px; }
.dh-dong-ca th, .dh-dong-ca td { font-weight: 800; background: #FBFCFD; }
.dh-bang tbody th button { border: 0; background: none; padding: 0; font-weight: 600; font-size: 13px; }
.dh-bang tbody th button:hover { color: var(--dh-c); text-decoration: underline; }
.dh-bang tbody tr:hover td, .dh-bang tbody tr:hover th { background: #F7F9FB; }
.dh-bang tr.is-chon td, .dh-bang tr.is-chon th { background: color-mix(in srgb, var(--dh-c) 11%, #FFFFFF); }
.dh-lien { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: 13px; font-weight: 600; }

/* Mau theo Bo tren dau trang */
body.ctmt-app.dh-co-bo header.ct-portal-hdr.site-header { background: var(--dh-c) !important; }
body.dh-co-bo .ct-ticker__badge { background: var(--dh-c); }

/* ===== Mau Theo linh vuc (data-kieu="lv") ===== */
.dh-ve { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px 0 8px; border: 0; border-radius: 999px; background: var(--dh-c); color: #FFFFFF; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.dh-ve:hover { filter: brightness(1.12); }
.dh-lvten { display: inline-flex; align-items: center; gap: 7px; font-size: 19px; font-weight: 800; color: var(--dh-c); white-space: nowrap; }
.dh[data-kieu=lv][data-lv=mot] .dh-tim { margin-left: auto; }
.dh[data-kieu=lv][data-lv=tat-ca] .dh-tim { max-width: 520px; }
.lvq-ic { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 17px; background: color-mix(in srgb, var(--lv) 15%, #FFFFFF); color: var(--lv); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lv) 20%, transparent); }

/* Ket qua theo linh vuc + ban do / xep hang */
.lvq-hai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 16px; align-items: start; transition: grid-template-columns .25s ease; }
.lvq-ds { display: flex; flex-direction: column; gap: 8px; }
.lvq-ds__dau { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--dh-c); color: #FFFFFF; }
.lvq-ds__dau h2 { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 17px; font-weight: 800; text-align: center; color: inherit; }
.lvq-thu { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .18); color: #FFFFFF; font-size: 16px; cursor: pointer; }
.lvq-thu:hover, .lvq-thu:focus-visible { background: rgba(255, 255, 255, .32); outline: none; }
.lvq-ds__muc { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--lv) 22%, #FFFFFF); border-radius: 14px; text-align: left; color: var(--ct-ink, #1F2A36); cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s;
    background: linear-gradient(100deg, color-mix(in srgb, var(--lv) 16%, #FFFFFF) 0%, color-mix(in srgb, var(--lv) 5%, #FFFFFF) 100%); }
.lvq-ds__muc:hover { transform: translateX(3px); box-shadow: 0 8px 18px -14px rgba(15, 27, 42, .6); background: linear-gradient(100deg, color-mix(in srgb, var(--lv) 24%, #FFFFFF) 0%, color-mix(in srgb, var(--lv) 8%, #FFFFFF) 100%); }
.lvq-ds__muc:focus-visible { outline: 2px solid var(--lv); outline-offset: 2px; }
.lvq-ds__muc .lvq-ic { background: #FFFFFF; }
.lvq-ds__chu { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.lvq-ds__chu b { font-size: 16px; font-weight: 800; }
.lvq-ds__chu small { font-size: 12.5px; color: var(--ct-muted, #5B6672); }
.lvq-ds__muc > .bi-chevron-right { color: var(--lv); font-size: 16px; }
.lvq-ds__muc--tc { text-decoration: none !important; color: var(--ct-ink, #1F2A36) !important; border-style: dashed; }
.lvq-phai { padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lvq-phai__dau { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.lvq-phai__dau .dh-lop { flex: 1 1 240px; }
.lvq-seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 10px; background: #F1F3F5; }
.lvq-seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--ct-muted, #5B6672); white-space: nowrap; }
.lvq-seg button[aria-pressed=true] { background: #FFFFFF; color: var(--dh-c); box-shadow: 0 1px 3px rgba(15, 27, 42, .18); }
.lvq-map { display: block; width: 100%; height: 600px; border: 0; border-radius: 10px; background: #EEF3F6; }
.lvq-xh { margin: 0; padding: 0; list-style: none; max-height: 600px; overflow: auto; }
.lvq-xh button { display: grid; grid-template-columns: 26px 104px minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; padding: 6px 4px; border: 0; border-bottom: 1px solid #EEF1F4; background: none; text-align: left; font-size: 13px; }
.lvq-xh button:hover { background: #F7F9FB; }
.lvq-xh em { font-style: normal; font-weight: 700; color: var(--ct-muted, #5B6672); text-align: right; }
.lvq-xh i { display: block; height: 10px; min-width: 2px; border-radius: 3px; }
.lvq-xh b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lvq-xh li.is-chon button { background: color-mix(in srgb, var(--dh-c) 11%, #FFFFFF); font-weight: 700; }
.dh-canh__muc { margin: 8px 0 0; font-size: 13px; font-weight: 800; }

/* Dai linh vuc cuoi trang chi tiet */
.lvq-dai { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.lvq-dai__ds { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.lvq-dai__ds button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--lv) 22%, #FFFFFF); border-radius: 12px; text-align: left; font-size: 14px; font-weight: 700; color: var(--ct-ink, #1F2A36); cursor: pointer;
    background: linear-gradient(100deg, color-mix(in srgb, var(--lv) 14%, #FFFFFF) 0%, #FFFFFF 100%); transition: transform .15s, box-shadow .15s; }
.lvq-dai__ds button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -14px rgba(15, 27, 42, .6); }
.lvq-dai__ds button[aria-current=true] { background: var(--lv); color: #FFFFFF; border-color: var(--lv); }
.lvq-dai__ds button[aria-current=true] .lvq-ic { background: rgba(255, 255, 255, .2); color: #FFFFFF; box-shadow: none; }

@media (max-width: 1100px) {
    .lvq-hai { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .lvq-map { height: 460px; }
    .dh[data-kieu=lv] .dh-tim { margin-left: 0; }
    .lvq-xh button { grid-template-columns: 22px 88px minmax(0, 1fr) auto; }
}
@media (prefers-reduced-motion: reduce) {
    .lvq-ds__muc, .lvq-dai__ds button { transition: none; }
    .lvq-ds__muc:hover, .lvq-dai__ds button:hover { transform: none; }
}

@media (max-width: 1100px) {
    .dh-dau { grid-template-columns: minmax(0, 1fr); }
    .dh-lv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
    .dh-doi { grid-template-columns: minmax(0, 1fr); }
    #dhMapFrame { height: 480px; }
    .dh-kpi__trang { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dh-tr-nut button { width: 36px; height: 36px; }
}
@media (max-width: 600px) {
    .dh-bar { position: static; }
    .dh-tim { max-width: none; flex-basis: 100%; }
    .dh-tabs { flex: 1 1 auto; }
    .dh-tabs button { flex: 1; justify-content: center; padding: 6px 6px; font-size: 12.5px; }
    .dh-bo { margin: 0; flex: 1 1 100%; }
    .dh-bo select { width: 100%; }
    .dh-lv { grid-template-columns: minmax(0, 1fr); }
    .dh-kpi__so { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    body.ctmt-app .dh-kpi__o, .dh-tr-thanh i, .dh-tr-nut button { transition: none; }
    body.ctmt-app a.dh-kpi__o:hover, body.ctmt-app .dh-kpi__o--bd:hover { transform: none; }
}
/* Goi y thao tac tren ban do: noi bat de nguoi dung chu y */
.dh-gn__ghi.dh-goi-y { display: flex; gap: 6px; align-items: flex-start; margin: 4px 0 10px; padding: 7px 10px; border-radius: 9px; background: #FFF4D6; border-left: 3px solid #E8A317; color: #7A4B00; font-weight: 600; }
.dh-goi-y i { color: #E8A317; }
/* Chi so con (Module73): dong nho ten chi tieu cha tren the so */
.dh-kpi__cha { display: flex; gap: 5px; align-items: center; min-width: 0; font-size: 12px; font-weight: 700; color: var(--lv); }
.dh-kpi__cha span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dh-kpi__cha i { flex: none; }
.dh-kpi__o--bd .dh-kpi__cha { padding-right: 26px; }

/* The so tong hop chua co trong CSDL (KPI_UU_TIEN.du) */
.dh-kpi__so sup { color: #B26A00; font-size: .55em; margin-left: 1px; }

/* Dong loai chi tieu tren the so: goc Nghi dinh 387 / theo doi (chi so con dung mau linh vuc) */
.dh-kpi__loai--goc { color: #9A6A12; }
.dh-kpi__loai--goc i { color: #C8102E; }
.dh-kpi__loai--td { color: #6B7A89; font-weight: 600; }
.dh-kpi__loai--td i { color: #8A96A3; }

/* So + muc tieu 2030 cung mot hang tren the */
.dh-kpi__hang { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px 10px; margin-top: auto; min-width: 0; }
.dh-kpi__hang .dh-kpi__so { margin-top: 0; flex: none; }
.dh-kpi__mt { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; max-width: 58%; text-align: right; line-height: 1.25; }
.dh-kpi__mt small { font-size: 11px; font-weight: 600; color: var(--ct-muted, #5B6672); text-transform: uppercase; letter-spacing: .02em; }
.dh-kpi__mt span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13.5px; font-weight: 700; color: var(--ct-ink, #1F2A36); }

/* Thu gon danh sach linh vuc: cot hep chi icon, ban do rong ra (chi man rong; man hep mot cot, an nut) */
@media (min-width: 1101px) {
    .lvq-hai.is-gon { grid-template-columns: 76px minmax(0, 1fr); }
    .lvq-hai.is-gon .lvq-ds__dau { justify-content: center; padding: 8px; }
    .lvq-hai.is-gon .lvq-ds__dau h2 { display: none; }
    .lvq-hai.is-gon .lvq-ds__muc { justify-content: center; min-height: 58px; padding: 8px; }
    .lvq-hai.is-gon .lvq-ds__chu, .lvq-hai.is-gon .lvq-ds__muc > .bi-chevron-right { display: none; }
}
@media (max-width: 1100px) {
    .lvq-thu { display: none; }
}

/* Khoi Diem den du lich nong thon cuoi trang chu (giong trang linh vuc NTM, css/ctmtqg-public.css .lv-dl) */
.dh-dl { margin-top: 16px; }
.dh-dl[hidden] { display: none; }

/* Thanh chon tinh dang dinh duoi menu: sat menu, bo bo goc tren, vien tren mau chu dao lam duong noi */
.dh-bar.is-dinh { border-top-left-radius: 0; border-top-right-radius: 0; }
/* Man hinh hep (the 2 cot): giu co chu nho hon de ten, nhan tang giam khong bi cat */
@media (max-width: 600px) {
    .dh-kpi__ten { font-size: 13px; }
    .dh-kpi__cha { font-size: 11px; }
    .dh-xh, .dh-ctt { font-size: 11.5px; }
    .dh-kpi__mt small { font-size: 10px; }
    .dh-kpi__mt span { font-size: 12.5px; }
    .dh-kpi__so small { font-size: 13px; }
}
