/* FONT_SCALED_14: cỡ chữ ×14/12 (25/10/2026) */
/* =====================================================================
   Bộ quy tắc thiết kế chuẩn GOV v1.0 (18/10/2026) – lớp áp dụng cho PIM_UI
   Nạp sau pim.css. Phần 1 token · Phần 2 khung · Phần 3 thành phần · Phần 5–6.
   ===================================================================== */
:root{
  --brand:#005BC1;--brand-soft:#E8F1FB;--brand-strong:#063B86;
  --bg-page:#F7F8FA;--bg-sidebar:#F2F4F7;--bg-surface:#FFFFFF;--bg-row:#FAFBFC;
  --g-text:#1F2937;--g-muted:#6B7280;--g-faint:#9CA3AF;--g-border:#E7EBEF;--g-border-strong:#D1D5DB;
  --success:#16A34A;--success-soft:#E8F7EE;--success-700:#15803D;
  --warning:#D97706;--warning-soft:#FFF4E0;--warning-700:#B45309;
  --danger:#DC2626;--danger-soft:#FDECEC;--danger-700:#B91C1C;
  --g-info:#0284C7;--info-soft:#E0F2FE;--info-700:#0369A1;
  --neutral:#4B5563;--neutral-soft:#F1F3F5;--neutral-700:#374151;
  --pop-shadow:0 4px 12px rgba(16,24,40,.08);
  /* ánh xạ sang biến cũ để mọi màn hưởng token mới */
  --bg:var(--bg-page);--surface:var(--bg-surface);--surface-2:var(--bg-row);--surface-3:#EEF1F4;--surface-4:#E2E6EB;
  --text:var(--g-text);--text-2:#374151;--muted:var(--g-muted);--line:var(--g-border-strong);--line-2:var(--g-border);
  --primary:var(--brand-strong);--primary-2:var(--brand);--secondary:var(--brand);--secondary-2:var(--brand);
  --ok:var(--success-700);--ok-bg:var(--success-soft);--warn:var(--warning-700);--warn-bg:var(--warning-soft);
  --bad:var(--danger-700);--bad-bg:var(--danger-soft);--info:var(--info-700);--info-bg:var(--info-soft);--neutral-bg:var(--neutral-soft);
  --orange:var(--warning-700);--orange-bg:var(--warning-soft);
  --shadow:none;--shadow-lg:0 12px 32px rgba(16,24,40,.16);
  --r-sm:6px;--r:8px;--r-lg:12px;--side-w:240px;--head-h:56px;
  --brand-bg:var(--brand);--brand-sub:var(--g-muted);
}
:root[data-theme=dark]{
  --brand:#5B93F5;--brand-soft:#1B2A45;--brand-strong:#7FAAF7;
  --bg-page:#0F1419;--bg-sidebar:#151B22;--bg-surface:#1A2129;--bg-row:#202833;
  --g-text:#E6EAF0;--g-muted:#9AA3B2;--g-faint:#6B7483;--g-border:#2C3542;--g-border-strong:#3B4553;
  --success:#3DD68C;--success-soft:#12351F;--success-700:#3DD68C;
  --warning:#F5B041;--warning-soft:#3A2A0D;--warning-700:#F5B041;
  --danger:#FB7185;--danger-soft:#3F111C;--danger-700:#FB7185;
  --g-info:#38BDF8;--info-soft:#0C2A3A;--info-700:#38BDF8;
  --neutral:#B4BCC6;--neutral-soft:#2A3038;--neutral-700:#B4BCC6;
  --pop-shadow:0 4px 12px rgba(0,0,0,.5);
  --surface-3:#26303B;--surface-4:#2F3A47;--text-2:#C9D1DC;
}
html body{background:var(--bg-page);color:var(--g-text);font:400 16px/26px Inter,"Be Vietnam Pro","Segoe UI",Roboto,Arial,sans-serif}
html .mono,html code{font-family:"JetBrains Mono",Consolas,monospace}

/* ---------- Phần 2: khung trang ---------- */
html .side{width:240px;background:var(--bg-sidebar)!important;border-right:1px solid var(--g-border);box-shadow:none!important;color:var(--g-text)}
html .side .side-top{padding:16px 16px 12px;background:transparent!important;border:0}
html .side .side-top .home-btn,html :root[data-theme=dark] .side .side-top .home-btn{display:flex;align-items:center;gap:10px;padding:0;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;color:var(--g-text)!important;min-height:40px}
html .side .side-top .home-btn .hb-tx b,html .side .side-top .home-btn #homeLbl{color:var(--g-text)!important;font:600 16px/23px Inter,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
html .side .side-top .home-btn small,html .hb-tx small{color:var(--g-muted)!important;font:400 14px/19px Inter,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
html .hseal{width:32px;height:32px;flex:none;border-radius:50%;background:radial-gradient(circle at 50% 45%,#DA251D,#B5121B 75%);color:#FFCD00;border:2px solid #FFCD00;box-shadow:none!important;display:grid;place-items:center;font-size:18px}
html .side-sub{padding:0 12px 8px}
html .side-search{height:36px;border:1px solid var(--g-border-strong);border-radius:6px;background:var(--bg-surface)}
html .side-search input{font-size:16px}
html .nav{padding:4px 8px}
html .nav-gh{font:500 16px/23px Inter,sans-serif;color:var(--g-text);border-radius:8px;min-height:40px;padding:8px 10px}
html .nav-gh .ms{font-size:23px;color:var(--g-muted)}
html .nav-gh:hover{background:var(--brand-soft)}
html .nav-g.cur>.nav-gh{color:var(--g-text);background:transparent}
html .nav-gh .tag{font:500 14px/19px Inter,sans-serif;color:var(--g-muted);background:transparent}
html .nav-i{font:400 15px/21px Inter,sans-serif;color:var(--text-2);padding:8px 10px 8px 42px;border-radius:8px;border-left:3px solid transparent;margin:1px 0}
html .nav-i:hover{background:var(--brand-soft);color:var(--g-text)}
html .nav-i.on,html :root[data-theme=dark] .nav-i.on{background:var(--bg-surface)!important;color:var(--brand)!important;font-weight:500;border-left-color:var(--brand)}
html .nav-i.on::after{display:none!important}
html .side-foot{font:400 14px/19px "JetBrains Mono",monospace;color:var(--g-muted);border-top:1px solid var(--g-border)}
html .head{height:56px;min-height:56px;background:var(--bg-surface)!important;border-bottom:1px solid var(--g-border);box-shadow:none!important;padding:0 24px;gap:16px}
html .head .htl{display:none}
html .head .hcr{flex:0 1 auto;min-width:0}
html .hbc{font-size:15px;color:var(--g-muted)}
html .hbc [aria-current]{color:var(--g-text);font-weight:500}
html .head .hbtn{width:36px;height:36px;border-radius:8px}
html .head .hbtn .ms{font-size:23px}
html .hsrc{flex:1;display:flex;justify-content:center;gap:6px;min-width:0;overflow:hidden}
html .hsrc .src{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--g-border);background:var(--bg-row);font:500 14px/19px Inter,sans-serif;color:var(--text-2);white-space:nowrap}
html .hsrc .src i{width:8px;height:8px;border-radius:50%;background:var(--success)}
html .hsrc .src.stale i{background:var(--warning)}html .hsrc .src.down i{background:var(--danger)}
html .hq{display:flex;align-items:center;gap:8px;height:36px;padding:0 10px;min-width:220px;border:1px solid var(--g-border-strong);border-radius:6px;background:var(--bg-surface);color:var(--g-muted);font-size:15px;cursor:pointer}
html .hq kbd{margin-left:auto;font:500 13px "JetBrains Mono",monospace;border:1px solid var(--g-border);border-radius:4px;padding:1px 5px;color:var(--g-muted)}
html .who{border:1px solid var(--g-border);border-radius:8px;background:var(--bg-surface)}
html .who .av{background:var(--brand)!important;border-radius:50%!important}
html .page,html #main{padding:24px;max-width:1600px;margin:0 auto}
@media (max-width:1279px){html .hsrc{display:none}html .hq{min-width:0}html .hq span.t,html .hq kbd{display:none}}

/* dòng tiêu đề trang (Phần 3 – Dòng tiêu đề trang) */
html #main>.ph{display:flex!important;align-items:flex-start;gap:16px;margin:0 0 20px;padding:0;background:none;border:0}
html #main>.ph .ttl{flex:1;min-width:0}
html #main>.ph h1{display:block!important;font:600 23px/33px Inter,sans-serif;color:var(--g-text);margin:0}
html #main>.ph p{margin:4px 0 0;font:400 15px/21px Inter,sans-serif;color:var(--g-muted);max-width:none}
html #main>.ph .laws{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
html #main>.ph .law{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 10px;border-radius:999px;border:1px solid var(--g-border-strong);background:transparent;font:500 14px/19px Inter,sans-serif;color:var(--text-2);cursor:pointer}
html #main>.ph .law .ms{font-size:16px;color:var(--g-muted)}
html #main>.ph .acts{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
html #main>.ph .acts .row{display:flex;gap:8px}
html #main>.ph .upd{font:400 14px/19px Inter,sans-serif;color:var(--g-muted)}
html #main>.ph .eyebrow{margin-bottom:6px}

/* ---------- Phần 3: thành phần ---------- */
/* 1 Nút */
html .btn{height:36px;min-height:36px;padding:0 16px;border-radius:8px;font:500 16px/23px Inter,sans-serif;border:1px solid var(--g-border-strong);background:var(--bg-surface);color:var(--g-text);box-shadow:none!important;gap:8px}
html .btn .ms{font-size:23px}
html .btn:hover{background:var(--bg-row);border-color:var(--g-border-strong)}
html .btn.pri,html :root[data-theme=dark] .btn.pri{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}
html .btn.pri:hover{background:var(--brand-strong)!important;border-color:var(--brand-strong)!important}
html .btn.soft{background:var(--brand-soft)!important;border-color:transparent!important;color:var(--brand-strong)!important}
html .btn.ghost{background:transparent;border-color:transparent}
html .btn.bad{background:var(--danger-soft)!important;border-color:transparent!important;color:var(--danger-700)!important}
html .btn.sm{height:32px;min-height:32px;padding:0 12px;font-size:15px}
html .btn.ext{border-style:solid!important;color:var(--brand-strong)}
html .iconb,html .ibtn{min-width:32px;min-height:32px;border-radius:8px}
/* 2 Input */
html .in,html .sel,html .ta{min-height:36px;border:1px solid var(--g-border-strong);border-radius:6px;background:var(--bg-surface);font-size:16px;color:var(--g-text);box-shadow:none}
html .modal .in,html .modal .sel{min-height:40px}
html .in:focus,html .sel:focus,html .ta:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
html .ta{min-height:96px;resize:vertical}
html .fld>label,html .lab,html .toolbar .fld>label{font:500 15px/21px Inter,sans-serif!important;color:var(--text-2);text-transform:none!important;letter-spacing:0!important}
html .fld .req{color:var(--danger)}
html .fld .err{font-size:14px;color:var(--danger-700)}
html .in[readonly]{border-color:transparent;background:var(--bg-row);font-weight:600}
/* 4 Checkbox */
html .chk input,html input[type=checkbox],html input[type=radio]{width:18px;height:18px;accent-color:var(--brand)}
/* 5 Bảng */
html table.t th{background:var(--bg-row)!important;font:500 15px/21px Inter,sans-serif!important;color:var(--g-muted)!important;text-transform:none!important;letter-spacing:0!important;padding:10px 12px;border-bottom:1px solid var(--g-border);position:sticky;top:0;z-index:1}
html table.t td{padding:12px;height:48px;border-bottom:1px solid var(--g-border);font-size:16px;vertical-align:middle}
html table.t td,html table.t th{border-left:0!important;border-right:0!important}
html table.t tr.clk:hover td{background:var(--brand-soft)}
html table.t td.r,html table.t th.r{text-align:right;font-family:"JetBrains Mono",Consolas,monospace;font-size:15px}
html table.t td .sub{font-size:14px;color:var(--g-muted)}
html table.t td .mono{color:var(--g-muted);white-space:nowrap}
html .tfoot{font-size:15px;color:var(--g-muted);border-top:1px solid var(--g-border)}
/* 6 Badge */
html .badge{display:inline-flex;align-items:center;gap:6px;height:22px;padding:2px 8px;border-radius:6px;font:500 14px/19px Inter,sans-serif;background:var(--neutral-soft);color:var(--neutral-700);border:0;white-space:nowrap}
html .badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
html .badge.nodot::before{display:none}
html .badge.ok{background:var(--success-soft)!important;color:var(--success-700)!important}
html .badge.warn,html .badge.orange{background:var(--warning-soft)!important;color:var(--warning-700)!important}
html .badge.bad{background:var(--danger-soft)!important;color:var(--danger-700)!important}
html .badge.info{background:var(--info-soft)!important;color:var(--info-700)!important}
html .badge.brand,html .badge.p{background:var(--brand-soft)!important;color:var(--brand-strong)!important}
/* nhãn mã giai đoạn: chip neutral mono */
html .lbl{height:22px;padding:2px 8px;border-radius:6px;font:500 14px/19px "JetBrains Mono",monospace!important;text-transform:none!important;letter-spacing:0!important;background:var(--neutral-soft);color:var(--neutral-700)}
html .lbl.p{background:var(--brand-soft);color:var(--brand-strong)}
/* 7 Chip */
html .chip,html .src{border-radius:999px}
/* 8 Thanh tiến độ */
html .prog i,html .prog .bar{height:6px;border-radius:3px}
/* thẻ nội dung */
html .card{background:var(--bg-surface);border:1px solid var(--g-border);border-radius:12px;box-shadow:none!important}
html .card>.ch{padding:16px 20px;border-bottom:1px solid var(--g-border);min-height:56px}
html .card>.ch h3{font:600 19px/28px Inter,sans-serif;color:var(--g-text)}
html .card>.ch h3 .ms{font-size:23px;color:var(--g-muted)}
html .card>.ch .sub{font-size:14px;color:var(--g-muted)}
html .card>.cb{padding:20px}
html .card>.cb.flush{padding:0}
html .grid,html .stack{gap:20px}
/* 9 Thẻ KPI */
html .kpi{background:var(--bg-surface)!important;border:1px solid var(--g-border)!important;border-radius:12px;box-shadow:none!important;padding:16px 20px;gap:12px;align-items:center}
html .kpi:hover{border-color:var(--brand)!important}
html .kpi .kico{width:40px;height:40px;border-radius:50%!important;background:var(--brand-soft)!important;color:var(--brand)!important;box-shadow:none!important}
html .kpi .kico .ms{font-size:23px!important}
html .kpi .kico.t,html .kpi .kico.g{background:var(--success-soft)!important;color:var(--success-700)!important}
html .kpi .kico.r{background:var(--danger-soft)!important;color:var(--danger-700)!important}
html .kpi .kico.o{background:var(--warning-soft)!important;color:var(--warning-700)!important}
html .kpi .kico.p{background:var(--info-soft)!important;color:var(--info-700)!important}
html .kpi .klbl{font:400 14px/19px Inter,sans-serif!important;color:var(--g-muted)!important}
html .kpi .kval{font:600 33px/42px Inter,sans-serif!important;color:var(--g-text)}
html .kpi .kval small{font-size:15px;font-weight:400;color:var(--g-muted);margin-left:4px}
html .kpi .info{color:var(--g-faint)}
/* 11 Tab, stepper, timeline */
html .tabs{border-bottom:1px solid var(--g-border);gap:4px}
html .tab{height:44px;padding:0 12px;font:500 16px/23px Inter,sans-serif;color:var(--g-muted);border-bottom:2px solid transparent;border-radius:0;background:transparent}
html .tab.on,html :root[data-theme=dark] .tab.on{color:var(--brand)!important;border-bottom-color:var(--brand)!important;background:transparent!important}
html .tab .n{font:500 14px/19px Inter,sans-serif;background:var(--neutral-soft);color:var(--neutral-700)}
/* 12 Popup / 13 Drawer */
html .modal{width:min(760px,94vw);border-radius:12px;box-shadow:var(--shadow-lg);border:1px solid var(--g-border)}
html .modal .dh h3,html .drawer .dh h3{font:600 21px/30px Inter,sans-serif;color:var(--g-text)}
html .modal .db{padding:24px}
html .modal .dfoot,html .drawer .dfoot{justify-content:flex-end;gap:8px;padding:12px 24px;border-top:1px solid var(--g-border)}
html .modal .dfoot .btn.pri{min-width:120px}
html .drawer{width:480px;max-width:94vw}
html .drawer.wide{width:640px}
/* 14 Toast, banner, tooltip */
html .toasts{top:72px;bottom:auto;right:24px}
html .toast{background:var(--bg-surface);color:var(--g-text);border:1px solid var(--g-border);box-shadow:var(--pop-shadow);border-radius:8px}
html .toast.ok{border-left:4px solid var(--success)}html .toast.warn{border-left:4px solid var(--warning)}html .toast.bad{border-left:4px solid var(--danger)}
html .tip{background:#333!important;color:#fff!important;font-size:14px!important;border-radius:6px}
html .callout{border-radius:8px;font-size:15px;background:var(--info-soft)!important;border:1px solid transparent!important;color:var(--g-text)!important}
html .callout.warn{background:var(--warning-soft)!important}html .callout.bad{background:var(--danger-soft)!important}html .callout.ok{background:var(--success-soft)!important}
/* 15 Trống, skeleton, lỗi */
html .empty .ms{font-size:56px;color:var(--g-faint)}
/* ngữ cảnh dự án */
html #main>.ctxbar{border-radius:12px;border:1px solid var(--g-border);padding:12px 20px;margin-bottom:20px;font-size:15px}
/* thanh thao tác của màn */
html .actbar{gap:8px}
html .actmore{position:relative}
html .actmore>summary{list-style:none;cursor:pointer}
html .actmore>summary::-webkit-details-marker{display:none}
html .actmore .menu-pop{position:absolute;right:0;top:40px;z-index:40;min-width:240px;background:var(--bg-surface);border:1px solid var(--g-border);border-radius:8px;box-shadow:var(--pop-shadow);padding:6px;display:flex;flex-direction:column;gap:2px}
html .actmore .menu-pop .btn{justify-content:flex-start;border-color:transparent;background:transparent!important;color:var(--g-text)!important;width:100%}
html .actmore .menu-pop .btn:hover{background:var(--brand-soft)!important}
/* bỏ chữ in hoa, giãn chữ còn sót */
html .eyebrow .lbl,html .crumb .s,html .menu-src small{text-transform:none!important;letter-spacing:0!important}
html *{text-transform:none}
/* trang chủ: không minh hoạ, không huy hiệu lớn */
html #main>.ph .crest{display:none}
/* rail 64 */
html body.rail .side{width:64px}
/* chuyển động ≤ 200 ms, tôn trọng giảm chuyển động */
@media (prefers-reduced-motion:reduce){html *{animation:none!important;transition:none!important}}

/* chip liên thông: ≥ 1600 hiện từng nguồn, nhỏ hơn gom thành "Liên thông n/6" */
html .hsrc .src.sum{display:none}
@media (max-width:1679px){html .hsrc .src{display:none}html .hsrc .src.sum{display:inline-flex}html .hsrc{justify-content:flex-start}}
/* cột tên trong bảng không bị bóp */
html table.t td .nm,html table.t td b{min-width:200px;display:inline-block}
html table.t td:has(.nm){min-width:240px}
/* ô tìm chức năng ở sidebar */
html .side-q{display:flex;gap:8px;align-items:center}
html .side-q .side-search{flex:1;min-width:0}
html .side-q .iconb{width:36px;height:36px;flex:none}
html .side-search input{min-width:0;width:100%}

html .head .hcr{flex:1 1 auto;min-width:0;overflow:hidden}
html .hsrc{flex:0 0 auto}
html .side-q .iconb{width:36px!important;min-width:36px;height:36px;padding:0}
html .side-search{padding:0 8px;gap:6px}
html .side-search .ms{font-size:21px}
html .side-search{border:0!important;background:transparent!important;height:auto!important;padding:0!important}
html .side-q .side-search input{min-height:36px;height:36px;font-size:15px;border:1px solid var(--g-border-strong);border-radius:6px;padding:0 8px 0 32px}

/* yêu cầu chủ dự án 18/10: tên màn ở thanh đầu trang, không có dòng tiêu đề trong trang */
html .head .htl{display:block!important;font:600 23px/33px Inter,sans-serif;color:var(--g-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html .head .hcr{display:flex;flex-direction:column;justify-content:center;gap:0}
html .hbc{font-size:14px;line-height:19px}
html .hsrc{display:none!important}
html #main>.ph.design-only{margin-bottom:12px}
/* dòng tiêu đề chỉ hiện ở chế độ thiết kế */
html body:not(.design) #main>.ph.design-only{display:none!important}
/* số KPI dài không tràn thẻ */
html .kpi .kbody{min-width:0}
html .kpi .kval{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html .grid.g5 .kpi .kval,html .grid.g6 .kpi .kval,html .grid.g7 .kpi .kval{font-size:26px!important;line-height:35px!important}

html .tabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}html .tabs .tab{flex:0 0 auto}

/* Phân quyền thao tác: nút ghi ngoài quyền của vai trò bị ẩn; ở chế độ thiết kế hiện mờ, viền đứt để BA kiểm tra */
body:not(.design) .perm-off{display:none!important}
body.design .perm-off{opacity:.45;outline:1px dashed var(--warn,#b45309);outline-offset:2px}
body.design .tab.role-off{font-style:italic;opacity:.6}

/* ---------- Thang chữ chuẩn (GOV v1.0): 4 cỡ chính, không dùng cỡ lẻ ----------
   20/28 tiêu đề trang, hộp thoại · 16/24 tiêu đề thẻ · 14/20 nội dung, bảng, nút, ô nhập, tab, menu · 12/16 nhãn phụ, chú thích, huy hiệu
   Riêng số KPI 24/32. */
:root{--fs-xl:23px;--lh-xl:33px;--fs-lg:19px;--lh-lg:28px;--fs-md:16px;--lh-md:23px;--fs-sm:14px;--lh-sm:19px}
html body{font-size:var(--fs-md);line-height:var(--lh-md)}
html .head .htl,html .modal .dh h3,html .drawer .dh h3{font-size:var(--fs-xl)!important;line-height:var(--lh-xl)!important;font-weight:600!important}
html .card>.ch h3{font-size:var(--fs-lg);line-height:var(--lh-lg);font-weight:600}
html .card>.ch{min-height:0;padding:12px 16px}
html table.t td,html .btn,html .in,html .sel,html .ta,html .tab,html .nav-gh,html .nav-i,html .kv,html .list li,html .chk,html .callout{font-size:var(--fs-md)!important;line-height:var(--lh-md)}
html table.t th,html .fld>label,html .lab,html .toolbar .fld>label,html #main>.ctxbar .k{font-size:var(--fs-sm)!important;line-height:var(--lh-sm)!important}
html .sub,html table.t td .sub,html .card>.ch .sub,html .badge,html .lbl,html .hbc,html .bc,html .kpi .klab,html .tfoot,html small{font-size:var(--fs-sm)!important;line-height:var(--lh-sm)}
html table.t td.r,html table.t th.r{font-size:15px}
html .kpi .kval{font-size:28px!important;line-height:37px!important}
html .btn.sm{font-size:var(--fs-sm)!important}

/* ---------- Khối điều kiện gọn: một dòng, ô cao 32px ---------- */
html .fbar-wrap{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 16px;padding:12px 16px;margin-bottom:0;background:var(--bg-surface);border:1px solid var(--g-border);border-radius:12px}
html .fbar{display:flex;flex-wrap:wrap;gap:8px 12px;flex:1 1 auto}
html .fbar .fld{display:flex;flex-direction:column;gap:4px;min-width:150px;flex:1 1 150px;max-width:230px;margin:0}
html .fbar .sel,html .fbar .in{min-height:32px!important;height:32px;padding:0 28px 0 10px;font-size:15px!important}
html .fbar-wrap>.row{gap:6px!important;margin-left:auto}

/* ---------- Thanh chọn dự án gọn: một dòng ---------- */
html #main>.ctxbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;padding:8px 16px!important;margin-bottom:16px!important}
html #main>.ctxbar>span{display:inline-flex;align-items:center;gap:6px}
html #main>.ctxbar .sel{min-height:32px!important;height:32px;padding:0 28px 0 10px!important;font-size:15px!important;max-width:420px}
html #main>.ctxbar b{font-size:15px;font-weight:600}

/* bảng lọc trong bảng dữ liệu */
html .toolbar .in,html .toolbar .sel{min-height:32px!important;height:32px;font-size:15px!important}

/* Tab nhiều mục: xuống dòng, không hiện thanh cuộn ngang */
html .tabs{flex-wrap:wrap!important;overflow:visible!important;row-gap:0}
html .tabs .tab{flex:0 0 auto}
/* Ô tìm chức năng ở thanh bên: chiếm hết chiều ngang, cùng kiểu ô nhập */
html .side-q{display:block!important;padding:0}
html .side-q .side-search{width:100%;position:relative;border:0;background:transparent}
html .side-q .side-search input{width:100%;height:36px;border:1px solid var(--g-border-strong)!important;border-radius:6px;background:var(--bg-surface);padding:0 10px 0 34px;box-shadow:none}
html .side-q .side-search .ms{left:10px}
/* Biểu đồ SVG: không phóng chữ trục quá cỡ 12–13px khi thẻ rộng */
html svg.chart{max-height:270px;width:100%;display:block;margin:0 auto}
/* Hàng KPI nhiều thẻ: tối đa 4 thẻ một hàng để nhãn, số không bị cắt */
html .grid.g5,html .grid.g6,html .grid.g7{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important}

/* ---------- Thẻ KPI gọn: một hàng tối đa 4 chỉ số đại diện, phần còn lại mở bằng "Xem thêm" ---------- */
html .grid.kgrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
html .grid.kgrid:not(.open) .kpi-more{display:none!important}
html .kgrid .kpi{padding:10px 14px!important;gap:10px!important;min-height:0!important}
html .kgrid .kpi .kico{width:32px!important;height:32px!important;flex:none}
html .kgrid .kpi .kico .ms{font-size:21px!important}
html .kgrid .kpi .klbl{font-size:14px!important;line-height:19px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html .kgrid .kpi .kval{font-size:23px!important;line-height:33px!important}
html .kgrid .kpi .kval small{font-size:14px!important}
html .kgrid .kpi .kdel{font-size:14px!important;line-height:19px!important;font-weight:500}
html .kgrid .kpi .info{font-size:19px!important;top:8px!important;right:8px!important}
html .kmore{display:flex;justify-content:flex-end;margin:-12px 0 -12px}
html .kmore .btn{height:28px;min-height:28px;padding:0 8px;color:var(--brand)!important;background:transparent!important;border:0!important}
@media (max-width:1100px){html .grid.kgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:600px){html .grid.kgrid{grid-template-columns:minmax(0,1fr)!important}}
/* số liệu trên đầu cột */
html svg.chart text.bv{fill:var(--g-text);font-weight:600}

/* Thẻ thu gọn / mở rộng (thẻ tham khảo): bấm tiêu đề để mở, đóng */
html details.card>summary.ch{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;user-select:none}
html details.card>summary.ch::-webkit-details-marker{display:none}
html details.card>summary.ch:hover{background:var(--bg-row)}
html details.card:not([open])>summary.ch{border-bottom:0}
html details.card .chev-c{margin-left:auto;color:var(--g-muted);display:inline-flex}
html details.card .chev-c .ms{transition:transform .15s}
html details.card[open] .chev-c .ms{transform:rotate(180deg)}
html .grid>details.card{align-self:start}

/* Popup chọn chức danh sau đăng nhập */
body.rp-on>*:not(.rp-ov):not(.toasts){filter:blur(3px)}
.rp-ov{position:fixed;inset:0;z-index:10000;background:rgba(15,23,42,.38);display:grid;place-items:center;padding:16px}
.rp{width:100%;max-width:480px;background:var(--bg-surface);border-radius:12px;box-shadow:0 24px 60px rgba(15,23,42,.28);overflow:hidden}
.rp-h{display:flex;align-items:center;gap:8px;padding:14px 20px;background:#eef5fe;border-bottom:1px solid var(--g-border)}
:root[data-theme=dark] .rp-h{background:rgba(0,91,193,.12)}
.rp-h h3{margin:0;flex:1;font:600 19px/28px Inter,sans-serif;color:var(--brand)}
.rp-b{padding:16px 20px 20px}
.rp-s{margin:0 0 16px;font-size:15px;line-height:23px;color:var(--g-muted)}
.rp-l{display:block;margin-bottom:6px;font:600 15px/21px Inter,sans-serif;color:var(--danger)}
.rp-l span{color:var(--danger)}
.rp-cb{position:relative}
.rp-cb select{width:100%;height:40px;padding:0 36px 0 12px;border:1px solid var(--g-border-strong);border-radius:6px;background:var(--bg-surface);color:var(--g-text);font:400 16px Inter,sans-serif;appearance:none;-webkit-appearance:none;cursor:pointer}
.rp-cb select:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px rgba(0,91,193,.15)}
.rp-cb select[aria-invalid=true]{border-color:var(--danger)}
.rp-cb .ms{position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--g-muted)}
.rp-d{display:flex;gap:6px;align-items:flex-start;margin-top:8px;font-size:14px;line-height:21px;color:var(--text-2)}.rp-d:empty{display:none}
.rp-d .ms{font-size:19px;color:var(--brand)}
.rp-e{margin-top:6px;font-size:14px;color:var(--danger)}.rp-e:empty{display:none}
.rp-f{display:flex;gap:12px;margin-top:20px}
.rp-f button{flex:1;height:40px;border-radius:6px;font:600 16px Inter,sans-serif;cursor:pointer}
.rp-out{background:var(--bg-surface);border:1px solid var(--danger);color:var(--danger)}
.rp-out:hover{background:var(--danger-soft)}
.rp-ok{background:var(--brand);border:1px solid var(--brand);color:#fff}
.rp-ok:hover{background:var(--brand-strong)}
.rp-f button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* Theo dõi giải ngân: đường đi 8 bước và hành trình từng khoản */
.djtop{display:flex;gap:12px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid var(--line-2)}
.djsum{padding:12px 16px 4px;font-size:16px;color:var(--text-2)}
.djflow{overflow-x:auto;padding:8px 16px 16px}
.djgrid{display:grid;grid-template-columns:repeat(8,minmax(118px,1fr) 18px) minmax(118px,1fr);gap:8px 0;min-width:1160px}
.djb{grid-row:1;font:600 13px/19px Inter,sans-serif;text-transform:uppercase;letter-spacing:.04em;color:var(--ph);border-bottom:2px solid var(--ph);padding:0 2px 4px;margin:0 2px}
.djn{grid-row:2;border:1px solid var(--line-2);border-radius:10px;padding:10px;background:var(--bg-row);color:var(--muted)}
.djn.on{background:var(--bg-surface);border-color:var(--ph);color:var(--g-text);box-shadow:0 2px 8px rgba(16,30,60,.07)}
.djn.bad{box-shadow:inset 4px 0 0 var(--danger),0 2px 8px rgba(16,30,60,.07)}
.djn.end{--ph:#16a34a;border-color:#16a34a}
.djn-h{display:flex;gap:6px;align-items:center;font-size:15px;line-height:20px}
.djn-c{width:22px;height:22px;border-radius:50%;background:var(--ph);color:#fff;display:grid;place-items:center;font:600 14px Inter,sans-serif;flex:none;opacity:.55}
.djn.on .djn-c{opacity:1}
.djn-o{font-size:13px;line-height:18px;color:var(--muted);margin-top:3px;min-height:30px}
.djn-a{font:600 21px/28px "JetBrains Mono",monospace;margin-top:4px}
.djn-f{font-size:14px;color:var(--text-2);display:flex;gap:6px;flex-wrap:wrap}
.djn-x{color:var(--danger);font-weight:600}
.djn-bar{height:4px;background:var(--line-2);border-radius:2px;margin-top:6px}.djn-bar span{display:block;height:4px;border-radius:2px;background:var(--ph)}
.dja{grid-row:2;display:grid;place-items:center;color:var(--muted)}
.djlh{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;padding:12px 16px 8px;border-top:1px solid var(--line-2);font-size:16px}
.djlh .sub{font-size:14px;color:var(--muted)}
.djlist{overflow-x:auto}
.djr{display:grid;grid-template-columns:230px 1fr;gap:16px;padding:12px 16px;border-top:1px solid var(--line-2);cursor:pointer;min-width:900px}
.djr:hover,.djr:focus-visible{background:var(--bg-row);outline:0}
.djr-t{font-size:14px;color:var(--muted);margin-top:2px}
.djr-a{font:600 18px/23px "JetBrains Mono",monospace;margin-top:4px}
.djr-w{font-size:14px;color:var(--text-2);margin-top:2px}
.djr-k{display:grid;grid-template-columns:repeat(8,1fr);position:relative;align-self:center}
.djr-k::before{content:"";position:absolute;left:6%;right:6%;top:8px;height:2px;background:var(--line-2)}
.djt{position:relative;text-align:center;padding:0 2px}
.djt-d{display:block;width:16px;height:16px;border-radius:50%;margin:0 auto 6px;background:var(--bg-surface);border:2px solid var(--line-2);position:relative;z-index:1}
.djt.d .djt-d{background:var(--brand);border-color:var(--brand)}
.djt.c .djt-d{border:5px solid #d97706}
.djt.x .djt-d{background:var(--danger);border-color:var(--danger)}
.djt.n{opacity:.4}
.djt-n{font-size:13px;font-weight:600;color:var(--text-2);line-height:16px}
.djt-s{font-size:13px;color:var(--muted);line-height:16px;margin-top:2px}
.djt.c .djt-s{color:#b45309;font-weight:600}
.djt.x .djt-s{color:var(--danger);font-weight:600}

.djbr{border-top:1px solid var(--line-2)}.djbr>summary::-webkit-details-marker{display:none}.djbr[open]>summary .ms,.djpre[open]>summary .ms{transform:rotate(180deg)}.djbr>summary .ms,.djpre>summary .ms{transition:transform .15s;vertical-align:-4px}.djpre>summary::-webkit-details-marker{display:none}

.clkbox{margin-top:10px;padding:10px 12px;border:1px dashed var(--line-2);border-radius:8px;background:var(--bg-row)}

.djxg{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;padding:4px 16px 10px}.djxc{border:1px solid var(--line-2);border-radius:8px;padding:10px 12px;background:var(--bg-surface)}.djxc p{margin:6px 0 0;font-size:15px;line-height:22px;color:var(--text-2)}.djxc .djxk{color:var(--g-text);font-weight:500}.djxc .djxk .ms{vertical-align:-3px;margin-right:4px;color:var(--brand)}.djx>summary::-webkit-details-marker{display:none}

/* Kanban tiến trình chuẩn bị đầu tư */
.pbw{display:grid;grid-template-columns:repeat(8,minmax(112px,1fr));gap:8px;overflow-x:auto}
.pbph{grid-row:1;font:600 13px/19px Inter,sans-serif;text-transform:uppercase;letter-spacing:.04em;color:var(--ph);border-bottom:2px solid var(--ph);padding:0 2px 4px;margin:0 2px}
.pbcol{background:var(--surface-2,var(--bg-row));border-radius:10px;padding:8px;min-height:150px;min-width:0;border-top:3px solid var(--ph)}
.pbh{display:flex;justify-content:space-between;align-items:flex-start;gap:6px;font:600 15px/21px Inter,sans-serif;color:var(--g-text);margin-bottom:8px;min-height:36px}
.pbn{flex:none;min-width:24px;height:22px;padding:0 6px;border-radius:11px;background:var(--ph);color:#fff;font-size:14px;display:grid;place-items:center}
.pbn.late{background:var(--danger)}
.pbc{background:var(--bg-surface);border:1px solid var(--line-2);border-left:4px solid var(--brand);border-radius:8px;padding:8px 10px;margin-bottom:6px;font-size:15px;line-height:21px;box-shadow:0 1px 2px rgba(16,30,60,.05)}
.pbc:hover{box-shadow:0 3px 10px rgba(16,30,60,.12)}
.pbc-bad{border-left-color:var(--danger);background:linear-gradient(90deg,rgba(220,38,38,.06),var(--bg-surface) 40%)}.pbc-warn{border-left-color:#d97706}.pbc-ok{border-left-color:#16a34a}
.pbc-o{font-size:14px;color:var(--muted);margin-top:2px}
.pbc-f{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:6px}.pbc-id{font:500 13px "JetBrains Mono",monospace;color:var(--g-faint)}
.pbe{font-size:14px;color:var(--muted);text-align:center;padding:16px 0}
/* cột thao tác */
.ops{display:inline-flex;gap:2px;white-space:nowrap}.ops .ibtn{width:30px;height:30px}

/* Giao nhiệm vụ, sinh mã dự án */
.asgflow{display:flex;align-items:stretch;gap:6px;flex-wrap:wrap}
.asgstep{flex:1 1 220px;display:flex;align-items:center;gap:10px;text-align:left;background:var(--bg-surface);border:1px solid var(--line-2);border-radius:10px;padding:10px 12px;cursor:pointer;font:inherit;color:var(--g-text)}
.asgstep:hover{border-color:var(--brand)}.asgstep.on{border-color:var(--brand);box-shadow:0 0 0 2px rgba(37,99,235,.15);background:var(--brand-soft)}
.asgstep>.ms{color:var(--brand);font-size:26px}.asgstep b{display:block;font-size:16px}.asgstep small{display:block;font-size:14px;color:var(--muted)}
.asgstep>span:nth-child(2){flex:1}.asgn{min-width:28px;height:28px;border-radius:14px;background:var(--brand);color:#fff;font-weight:600;display:grid;place-items:center}
.asgarr{display:flex;align-items:center;color:var(--muted)}
.asglist{display:flex;flex-direction:column}
.asgit{padding:12px 16px;border-bottom:1px solid var(--line);cursor:pointer;border-left:3px solid transparent}
.asgit:hover{background:var(--bg-row,#f8fafc)}.asgit.on{background:var(--brand-soft);border-left-color:var(--brand)}
.asgit-h{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:var(--muted);margin-bottom:2px}
.asgc{display:flex;gap:10px;align-items:flex-start;padding:10px 16px;border-bottom:1px solid var(--line)}
.asgc>.ms{color:#16a34a}.asgc.bad>.ms{color:var(--danger)}.asgc.bad{background:rgba(220,38,38,.04)}
.asgfix{color:var(--g-text);margin-top:4px}
.btn.is-dis{opacity:.5}
.grid.s12{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:16px}
@media (max-width:900px){.grid.s12{grid-template-columns:1fr}.asgarr{display:none}}

/* cột Thao tác */
html table.t th.opsc,html table.t td.opsc{width:1%;white-space:nowrap;text-align:left}
html table.t th.opsc,html table.t td.opsc{position:sticky;right:0;z-index:1;background:var(--bg-surface);box-shadow:-6px 0 8px -6px rgba(16,30,60,.18)}
html table.t th.opsc{background:var(--bg-row)!important}
html table.t tr.clk:hover td.opsc{background:var(--brand-soft)}

/* chuỗi vấn đề */
.isschain{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.isc{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:12px;background:var(--bg-row);font-size:14px;color:var(--muted)}.isc.ok{background:#e8f5ec;color:#15803d}.isa{color:var(--muted)}

/* ===== Quy tắc bố cục theo vùng (21/10/2026, bản 3) =====
   app.js zoneLayout: khối nhỏ dồn vào 1 vùng chia cột (.zone-half), khối rộng dồn vào vùng ngang; không xen kẽ.
   Lưới cũ (s21, g2, g3, g5, s31) nằm trong thẻ vẫn 1 cột. */
html .grid:is(.s21,.g2,.g3,.g5,.s31):not(:has(> .kpi)){grid-template-columns:minmax(0,1fr)!important}
.zone-half{display:grid;grid-template-columns:repeat(var(--zc,2),minmax(0,1fr));gap:16px;align-items:stretch}
.zone-half>.card{margin:0;height:100%}
@media (max-width:1100px){.zone-half{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.zone-half{grid-template-columns:minmax(0,1fr)}}
/* cặp thông tin: cột nhãn có bề rộng cố định, giá trị đứng sát nhãn (không đẩy sang giữa thẻ rộng) */
html .kv{grid-template-columns:minmax(110px,min(260px,42%)) minmax(0,1fr)}
html .pnum{font-weight:600;font-variant-numeric:tabular-nums}
html .tpeek{justify-content:center;padding:10px}

/* bản đồ minh họa: giới hạn chiều cao khi khối chiếm hết chiều ngang */
html .mapwrap{max-width:720px;margin:0 auto}

/* GPMB: ma trận tiến độ × áp lực phản ánh (giống GPMB Platform) */
.gpmx{display:grid;grid-template-columns:110px 1fr 1fr;gap:8px;padding:12px 16px 0}
.gpmh{font:600 14px/19px Inter,sans-serif;color:var(--muted);align-self:end;text-align:center}.gpmh.v{align-self:center;text-align:left}
.gpmc{border:1px solid var(--line-2);border-radius:8px;padding:12px;font:700 21px/28px Inter,sans-serif;background:var(--bg-surface)}
.gpmc span{display:block;font:400 14px/19px Inter,sans-serif;color:var(--muted);margin-top:4px}.gpmc.w{border-left:4px solid #d97706}.gpmc.b{border-left:4px solid var(--danger)}

/* ===== 21/10/2026: không để nội dung tràn mép phải; biểu đồ trải hết khối; dải bước co vừa khung ===== */
html #main{overflow-x:hidden}
html #main .tpane,html #main .stack,html #main .card,html #main .card>*,html #main .grid>*{min-width:0;max-width:100%}
html svg.chart{width:100%!important;max-height:300px;height:auto}
html .steps{flex-wrap:nowrap;overflow-x:auto}html .steps .step{min-width:0!important;flex:1 1 0}
html .steps .step .nm,html .steps .step .sb{overflow-wrap:anywhere}
html .kmore{padding-right:4px}

/* ===== Quy tắc trình bày 21/10/2026 ===== */
html .note{display:flex;gap:6px;align-items:flex-start;font-size:14px;line-height:21px;color:var(--muted);padding:2px 0}
html .note .ms{font-size:19px;color:var(--muted);margin-top:1px}html .note b{color:var(--g-text);font-weight:600}
html .siderow{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
html .gpmq{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 16px 8px}
@media (max-width:900px){html .gpmq{grid-template-columns:repeat(2,minmax(0,1fr))}}
html .gpmt{display:flex;flex-direction:column;gap:2px;text-align:left;border:1px solid var(--line-2);border-radius:8px;padding:10px 12px;background:var(--bg-surface);cursor:pointer;font:inherit;color:var(--g-text)}
html .gpmt:hover{border-color:var(--brand)}html .gpmt b{font-size:23px;line-height:30px}html .gpml{font-size:14px;color:var(--muted);font-weight:600}html .gpms{font-size:14px;color:var(--muted)}
html .gpmt.w{border-left:4px solid #d97706}html .gpmt.b{border-left:4px solid var(--danger)}

/* cột văn bản dài: tối đa 2 dòng, xem đủ khi rê chuột hoặc mở chi tiết */
html .clamp2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:360px}

/* chuỗi bước giải ngân: một màu chủ đạo (xanh), không tô đỏ/xanh lá theo bước (21/10/2026) */
html .djb{--ph:var(--brand)!important}
html .djn{--ph:var(--brand)!important}
html .djn.bad{box-shadow:0 2px 8px rgba(16,30,60,.07)}
html .djn.end{--ph:var(--brand)!important;border-color:var(--brand)}
html .djn.on{border-color:var(--brand)}

/* Báo cáo thống kê (SCR-RPT-01): danh mục mẫu bên trái, báo cáo bên phải */
.rptwrap{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;align-items:start}
.rptwrap>.card{position:sticky;top:0}
.rptcat{display:flex;flex-direction:column;padding:4px 0 8px}
.rptg{font-size:14px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.02em;padding:12px 16px 4px}
.rptit{display:flex;gap:10px;align-items:center;text-align:left;background:none;border:0;border-left:3px solid transparent;padding:9px 16px;font:inherit;font-size:16px;color:var(--g-text);cursor:pointer}
.rptit .ms{color:var(--brand)}.rptit:hover{background:var(--bg-row,#f8fafc)}.rptit.on{background:var(--brand-soft);color:var(--brand-strong,var(--brand));border-left-color:var(--brand);font-weight:600}
.rptf{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) auto;gap:12px;align-items:end}
.rptf .sel{width:100%;min-width:0}
.rptf .fld{margin:0}.rptb{display:flex;align-items:end}
.rpth{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
.rpth h2{font-size:23px;margin:0 0 2px}
@media (max-width:1100px){.rptf{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){.rptwrap{grid-template-columns:1fr}.rptwrap>.card{position:static}}
@media print{.rptwrap{grid-template-columns:1fr}.rptwrap>.card,.rptf,.rpth .row{display:none}}
.rptwrap .kpi .info{display:none}
.rplink{background:none;border:0;padding:2px 6px;margin:-2px -6px;border-radius:6px;font:inherit;font-weight:600;color:var(--brand);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.rplink:hover{background:var(--brand-soft)}
html .rplink.mono,html .rplink{color:var(--brand)!important}
.zone-half>.zspan{grid-column:1/-1}
/* khối Điểm QĐ1129 và hiệu suất thực chất (Bảng điều hành lãnh đạo tỉnh) */
.scorebox{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;align-items:center}
.scoreg svg{max-width:200px}
.scoresec{border-top:1px solid var(--g-border);margin-top:14px;padding-top:12px}
.scoresec h4{font:600 15px/21px Inter,sans-serif;color:var(--g-muted);margin:0 0 8px}
.srow{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:16px}.srow b{white-space:nowrap}
.kv2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px}.kv2 .kv{grid-template-columns:minmax(0,1fr) auto}
@media (max-width:760px){.scorebox,.kv2{grid-template-columns:1fr}}
.tdmpl{max-height:220px;overflow:auto;border:1px solid var(--g-border);border-radius:8px;padding:6px 10px;display:flex;flex-direction:column;gap:2px}
/* ô chọn nhiều có tìm kiếm */
.msel{position:relative;border:1px solid var(--g-border-strong,var(--g-border));border-radius:8px;padding:6px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:var(--bg-surface)}
.msel:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px rgba(37,99,235,.15)}
.mschips{display:contents}
.mschip{display:inline-flex;align-items:center;gap:4px;max-width:100%;background:var(--brand-soft);color:var(--g-text);border-radius:6px;padding:3px 4px 3px 8px;font-size:15px}
.msx{border:0;background:none;color:var(--g-muted);font-size:19px;line-height:1;width:20px;height:20px;border-radius:4px;cursor:pointer}.msx:hover{background:rgba(0,0,0,.08);color:var(--danger)}
.msel .msin{flex:1 1 200px;min-width:160px;border:0!important;box-shadow:none!important;padding:4px 6px;height:30px;background:transparent}
.msdd{position:absolute;left:0;right:0;top:100%;margin-top:4px;z-index:50;background:var(--bg-surface);border:1px solid var(--g-border);border-radius:8px;box-shadow:0 8px 24px rgba(16,30,60,.14);max-height:260px;overflow:auto;padding:4px}
.msopt{display:block;width:100%;text-align:left;border:0;background:none;padding:8px 10px;border-radius:6px;font:inherit;font-size:16px;color:var(--g-text);cursor:pointer}.msopt:hover,.msopt:focus{background:var(--bg-row)}
.msnone{padding:8px 10px;color:var(--g-muted);font-size:15px}

/* ===== Mật độ gọn (yêu cầu chủ dự án 22/10/2026): nhiều diện tích cho dữ liệu, chữ nhỏ hơn một bậc, khoảng cách nhỏ lại =====
   Thang chữ: nội dung 13px, tiêu đề khối 14px, tab 13px (cùng cỡ ở mọi cấp tab), chữ phụ 12px. */
:root{--fs-lg:16px;--lh-lg:23px;--fs-md:15px;--lh-md:21px;--fs-sm:14px;--lh-sm:19px}
html .page,html #main{padding:14px 16px!important}
html .grid,html .stack{gap:12px!important}
.zone-half{gap:12px!important}
html .card>.ch{padding:8px 14px!important;min-height:0!important}
html .card>.ch h3{font:600 16px/23px Inter,sans-serif!important}
html .card>.ch h3 .ms{font-size:21px!important}
html .card>.cb{padding:12px 14px!important}
html .card>.cb.flush{padding:0!important}
html table.t th{padding:7px 10px!important}
html table.t td{padding:6px 10px!important;height:36px!important}
html .tabs{gap:2px!important}
html .tab{height:34px!important;padding:0 10px!important;font:500 15px/21px Inter,sans-serif!important}
html .tpane{padding-top:10px}
html #main>.ctxbar{padding:6px 12px!important;margin-bottom:10px!important}
html .kpi{padding:10px 12px!important}
html .kgrid .kpi{padding:8px 12px!important}
html .kpi .kval{font-size:23px!important;line-height:30px!important}
html .grid.g5 .kpi .kval,html .grid.g6 .kpi .kval,html .grid.g7 .kpi .kval{font-size:21px!important;line-height:28px!important}
html .btn{height:32px!important;min-height:32px!important;padding:0 12px}
html .btn.sm{height:28px!important;min-height:28px!important;padding:0 10px}
html .in,html .sel{min-height:32px!important;height:32px}
/* ô chọn, ô nhập cao 32px: bỏ đệm trên dưới để chữ không bị cắt */
html .sel,html input.in{padding-top:0!important;padding-bottom:0!important}
html .kv{gap:4px 14px!important}
html .fld{gap:4px}
html .tfoot{padding:6px 12px!important}
html .list li{padding:8px 0!important}
/* nút ở đầu khối: một cỡ nhỏ thống nhất */
html .card>.ch .btn{height:28px!important;min-height:28px!important;padding:0 10px!important;font-size:14px!important}
html .card>.ch .btn .ms{font-size:19px!important}
.scorebox{grid-template-columns:170px minmax(0,1fr)!important}
.scoreg svg{max-width:170px!important}
.scorebox .kv{grid-template-columns:minmax(0,1fr) auto!important}
.srow{font-size:15px!important;padding:3px 0!important}
.scoresec{margin-top:10px!important;padding-top:8px!important}
/* biểu mẫu: nhãn một dòng, ô cùng hàng thẳng nhau */
#mkf .fld>label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#mkf .fgrid{align-items:end}

/* ===== Chuẩn hóa đồng nhất (23/10/2026): một bộ khoảng cách, một thang chữ cho mọi khối trong màn =====
   Khoảng cách: 4 · 8 · 10 · 14px. Lề trong khối 10×14px (bằng thân khối). Chữ: 12 (phụ) · 13 (nội dung) · 14 (tiêu đề khối) · 16 (tiêu đề trang con) · 20 (số chỉ tiêu). */
html .mt{margin-top:10px!important}html .mb{margin-bottom:10px!important}
html .row{gap:8px}
/* thanh lọc, thanh công cụ của bảng */
html .toolbar,html .fbar{padding:8px 14px!important;gap:8px 12px!important}
html .toolbar .fld,html .fbar .fld{gap:2px}
/* mọi đoạn đặt lề riêng trong khối (12/16, 12/20, 0/16, 0/14, 10/16…) về cùng lề 10×14px */
html #main .card [style*="padding:12px 16px"],html #main .card [style*="padding:10px 16px"],html #main .card [style*="padding:12px 14px"]{padding:10px 14px!important}
html #main .card [style*="padding:0 16px 12px"],html #main .card [style*="padding:0 14px 14px"],html #main .card [style*="padding:0 16px 14px"],html #main .card [style*="padding:0 16px 8px"]{padding:0 14px 10px!important}
html #main .card [style*="padding:12px 20px 0"],html #main .card [style*="padding:12px 14px 0"]{padding:10px 14px 0!important}
html #main .card p.sub[style*="margin:12px 20px"],html #main .card p.sub[style*="margin:10px 16px"]{margin:8px 14px!important}
html #main p.sub{margin-top:6px}
/* hộp cảnh báo, danh sách, chú thích biểu đồ */
html .callout{padding:8px 12px!important;gap:8px!important}
html .legend{gap:10px;margin-top:6px}
/* tiêu đề trong khối, tiêu đề trang con */
html #main h2{font:600 19px/26px Inter,sans-serif!important;margin:0}
html #main h4,html .cap h4{font:600 15px/21px Inter,sans-serif!important;margin:0}
html .cap{padding:10px 12px!important;gap:6px!important}
/* thẻ thống kê nhỏ (căn giữa) dùng cùng cỡ số với hàng chỉ số */
html #main .card[style*="text-align:center"]{padding:10px!important}
html #main .card[style*="text-align:center"] b[style*="font-size:30px"],html #main b[style*="font-size:30px"]{font-size:23px!important;line-height:30px}
/* ô chọn đặt riêng chiều cao lớn về cùng chiều cao ô nhập */
html #main select.sel[style*="min-height:44px"]{min-height:32px!important;height:32px!important;padding:0 28px 0 10px!important}
/* dòng nhãn – giá trị nhỏ trong khối dùng cùng cỡ chữ nội dung */
html #main .row[style*="font-size:14px"]{font-size:15px!important}
/* bảng: tiêu đề cột, chân bảng cùng một chiều cao */
html table.t th{height:32px}
html .tfoot{min-height:36px}
/* tab con trong khối: cùng khoảng cách với tab màn */
html .card .tabs-wrap .tpane{padding-top:8px}
html .card .tabs{padding:0 6px}
/* nút trong dòng bảng: một cỡ nhỏ; tab không xuống dòng (cuộn ngang khi thiếu chỗ) */
html table.t td .btn{height:28px!important;min-height:28px!important;padding:0 10px!important;font-size:14px!important}
html .tabs{flex-wrap:nowrap!important;overflow-x:auto}
html .tabs .tab{flex:0 0 auto}

/* ===== Thanh lọc chuẩn (23/10/2026): lưới cột đều, nhãn trên ô, mọi ô cùng độ rộng và thẳng hàng =====
   Áp dụng cho thanh lọc của bảng (.toolbar), thanh chọn khoảng thời gian, mẫu quy trình (.fbar). Ô tìm kiếm chiếm 2 cột; nhóm nút đứng cuối, thẳng đáy ô. */
html .toolbar,html .fbar{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important;gap:8px 12px!important;align-items:end!important;padding:8px 14px!important}
html .toolbar .fld,html .fbar .fld{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;min-width:0!important;width:auto!important;margin:0!important;flex:none!important}
html .toolbar .fld>label,html .fbar .fld>label{max-width:none!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;margin:0!important;font-size:14px!important;line-height:19px!important;color:var(--g-muted)!important}
html .toolbar .fld>.in,html .toolbar .fld>.sel,html .fbar .fld>.in,html .fbar .fld>.sel{width:100%!important;min-width:0!important;flex:none!important;height:32px!important;min-height:32px!important}
html .toolbar .fld:has(input[type=search]){grid-column:span 2}
html .toolbar>.row,html .fbar>.row{grid-column:1/-1;justify-content:flex-end;margin:0!important}
html .fbar>.fbtn,html .toolbar>.fbtn{display:flex;gap:6px;align-items:flex-end}
html .fbar>.btn{justify-self:start}
@media (max-width:760px){html .toolbar .fld:has(input[type=search]){grid-column:1/-1}}
/* ô chữ ngắn trong bảng không gãy dòng; lưới thanh lọc cột 150px để các ô dồn đủ một hàng ở màn 1366px */
html .t td.nw{white-space:nowrap}
html .toolbar,html .fbar{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important}
/* thanh lọc có nhóm nút (.fbar): một hàng, các ô chia đều, nhóm nút gọn ở cuối, thẳng đáy ô */
html .fbar{display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important}
html .fbar .fld{flex:1 1 140px!important}
html .fbar>.fbtn,html .fbar>.btn{flex:none}
/* thanh lọc có từ 5 ô lọc trở lên: ô tìm kiếm chỉ chiếm 1 cột để mọi ô nằm trên một hàng */
html .toolbar:has(>.fld:nth-child(6)) .fld:has(input[type=search]){grid-column:auto}
/* thanh ngữ cảnh dự án: một hàng, ô chọn dự án gọn, khoảng cách đều */
html .ctxbar{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 20px!important;padding:8px 14px!important}
html .ctxbar select.sel{max-width:340px!important;min-height:32px!important;height:32px;padding:4px 10px!important;text-overflow:ellipsis}
html .ctxbar>span{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
html .fbar .fld{max-width:none!important}
html .fbar-wrap{padding:8px 14px!important;gap:8px 12px!important}
html .fbar-wrap>.fbar{padding:0!important;flex:1 1 100%!important}
html .fbar-wrap>.row{margin-left:auto}
html .ctxbar select.sel{max-width:280px!important}
html .ctxbar{gap:6px 16px!important}
/* thanh ngữ cảnh: ô chọn dự án co giãn lấp chỗ trống để các thông tin còn lại luôn cùng một hàng */
html #main>.ctxbar{flex-wrap:nowrap!important}
html #main>.ctxbar>span{flex:none}
html #main>.ctxbar>span:first-child{flex:1 1 200px;min-width:0}
html #main>.ctxbar>span:first-child select.sel{width:100%!important;max-width:420px!important;min-width:0}
@media (max-width:900px){html #main>.ctxbar{flex-wrap:wrap!important}}
/* "Xem tất cả" nằm ở tiêu đề khối: ẩn chân danh sách */
html .tpeek.moved{display:none!important}
html .card>.ch .tpeek-h{margin-left:0}
/* biểu mẫu trong hộp thoại: các nhóm ô cách nhau đều 12px, nhãn không dính ô phía trên */
html #modal .fgrid+.fgrid,html #modal .fgrid+.fld,html #modal .fld+.fgrid,html #modal :not(.fgrid)>.fld+.fld,html #modal .callout+.fgrid,html #modal .fgrid+.callout,html #modal .fld+.callout,html #modal .callout+.fld,html #modal :not(.fgrid)>.fld+div{margin-top:12px}
html #modal .fgrid.fx2{grid-template-columns:1fr 1fr}
html .in.ro{background:var(--g-bg-subtle,#f3f5f8);pointer-events:none}
/* ===== Thu hẹp khoảng trống (22/10/2026): khối cách nhau 8px, đầu khối và dòng bảng thấp hơn ===== */
html .grid,html .stack,html .zone-half{gap:8px!important}
html #main .tabs,html #main [role=tablist]{margin-bottom:8px!important}
html .card>.ch{padding:6px 12px!important}
html .card>.cb{padding:10px 12px!important}
html .card>.cb.flush{padding:0!important}
html table.t th{padding:5px 10px!important;height:30px!important}
html table.t td{padding:4px 10px!important;height:32px!important}
html .kpi{padding:8px 12px!important}
html #main>.ctxbar{margin-bottom:8px!important}
html .toolbar,html .fbar{padding:6px 12px!important}
/* biểu mẫu: các ô cùng hàng thẳng đỉnh (ô nhiều dòng không kéo ô bên cạnh xuống) */
html #mkf .fgrid{align-items:start!important}
/* nguồn số liệu của khối danh sách: chữ nhỏ, mờ, ngay sau tiêu đề khối */
html .card>.ch .tsrc{font-size:14px;color:var(--g-muted,#6b7280);font-weight:400;margin-left:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html .card>.ch .tact{display:inline-flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
/* thẻ dự án trên bảng tiến trình: nút Ghi nhận bước xuống dòng riêng, rộng hết thẻ */
html .pbc-f{flex-wrap:wrap}
html .pbc-f .btn{width:100%;justify-content:center;margin-top:4px}
html .pbc .badge{font-size:13px!important;padding:1px 7px;max-width:100%}
html .pbc{font-size:14px;line-height:19px;padding:7px 8px}html .pbc .btn{font-size:13px!important;padding:0 6px}html .pbcol{padding:6px}
/* cặp khối ít dữ liệu đặt chung một hàng (không bị dồn vùng tách ra) */
html body .grid.zpair.zpair.zpair{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
@media (max-width:900px){html body .grid.zpair.zpair.zpair{grid-template-columns:1fr!important}}
/* khối trong cặp: đầu khối một hàng, tên khối co lại (…) để nút không rớt dòng */
html .zpair>.card>.ch{flex-wrap:nowrap!important}
html .zpair>.card>.ch h3{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html .zpair>.card>.ch .sp{flex:none;flex-wrap:nowrap}
html .zpair>.card>.ch h3{flex:0 1 auto}html .zpair>.card>.ch .tsrc{flex:1 1 0;min-width:0}
/* ===== Bảng danh sách (23/10/2026): kẻ đường phân cột, đầu bảng nổi bật ===== */
html table.t{border-collapse:separate!important;border-spacing:0}
html table.t td,html table.t th{border-right:1px solid var(--g-border,#e3e8ef)!important;border-bottom:1px solid var(--g-border,#e3e8ef)!important}
html table.t tr>:last-child{border-right:0!important}
html table.t th{background:var(--tbl-head,#eef2f8)!important;color:var(--g-text,#1b2533)!important;font-weight:600!important;border-bottom:1px solid var(--tbl-head-line,#cfd8e6)!important}
html table.t th.opsc{background:var(--tbl-head,#eef2f8)!important}
:root{--tbl-head:#eef2f8;--tbl-head-line:#cfd8e6}
:root[data-theme="dark"]{--tbl-head:#1e2a3b;--tbl-head-line:#33435a}
/* khối Việc cần làm tiếp */
html .nx{display:flex;flex-direction:column}
html .nx-r{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--g-border)}
html .nx-r:last-child{border-bottom:0}
html .nx-t{flex:1;min-width:0}
html .nx-t .sub{color:var(--g-muted);font-size:14px}
html .nx-d{width:8px;height:8px;border-radius:50%;flex:none;background:var(--brand)}
html .nx-d.warn{background:#d97706}html .nx-d.bad{background:#dc2626}
/* ===== Bảng danh sách – bản rõ hơn (23/10/2026): khung ngoài, kẻ ô đậm, đầu bảng nền xanh, chữ đậm, gạch chân đậm ===== */
:root{--tbl-head:#dfe8f5;--tbl-head-line:#8fa6c8;--tbl-grid:#d3dce8;--tbl-head-text:#10233f}
:root[data-theme="dark"]{--tbl-head:#24344c;--tbl-head-line:#4f6b92;--tbl-grid:#33435a;--tbl-head-text:#e6edf7}
html table.t td,html table.t th{border-right:1px solid var(--tbl-grid)!important;border-bottom:1px solid var(--tbl-grid)!important}
html table.t tr>:last-child{border-right:0!important}
html table.t th,html table.t th.opsc{background:var(--tbl-head)!important;color:var(--tbl-head-text)!important;font-weight:700!important;border-bottom:2px solid var(--tbl-head-line)!important}
html table.t tbody tr:nth-child(even) td{background:color-mix(in srgb,var(--bg-surface) 94%,var(--tbl-head))}
html table.t tbody tr:hover td{background:color-mix(in srgb,var(--bg-surface) 80%,var(--brand-soft,#e8f0fe))}

/* thanh trạng thái Dự thảo → Đã trình → Đã phê duyệt (MH4, MH5) */
html .mhst{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:2px 0 12px}
html .mhs{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;border:1px solid var(--g-border);color:var(--g-muted);font-size:14px}
html .mhs b{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--bg-row);font-size:13px}
html .mhs.on{border-color:var(--brand);color:var(--brand);font-weight:600}html .mhs.on b{background:var(--brand);color:#fff}
html .mhs.done{color:var(--g-text)}html .mhs.done .ms{color:#16a34a}
html .mharr{color:var(--g-faint)}
html .side-foot{flex-wrap:wrap;gap:4px}
html .demo-reset{background:none;border:0;padding:0;color:var(--brand);font-size:13px;cursor:pointer;text-decoration:underline;width:100%;text-align:left}

/* thanh dự án (25/10/2026): ô chọn dự án đủ rộng để đọc tên; thông tin phụ một dòng, tràn thì thu lại và có nút đóng mở */
html #main>.ctxbar{flex-wrap:nowrap!important;align-items:flex-start!important}
html #main>.ctxbar>span:first-child{flex:0 1 460px!important;min-width:300px!important}
html #main>.ctxbar>span:first-child select.sel{width:100%!important;max-width:none!important;min-width:0!important}
html #main>.ctxbar .ctxinfo{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;flex:1 1 auto;min-width:0}
html #main>.ctxbar .ctxinfo>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;min-height:32px}
html #main>.ctxbar.clip .ctxinfo{max-height:32px;overflow:hidden}
html #main>.ctxbar .ctxtog{display:none;flex:none;width:32px;height:32px;border:1px solid var(--g-border);border-radius:8px;background:var(--g-surface,#fff);color:inherit;cursor:pointer;align-items:center;justify-content:center}
html #main>.ctxbar.canopen .ctxtog{display:inline-flex}
html #main>.ctxbar.open .ctxtog .ms{transform:rotate(180deg)}
@media (max-width:700px){html #main>.ctxbar{flex-wrap:wrap!important}html #main>.ctxbar>span:first-child{flex:1 1 100%!important;min-width:0!important}}

/* bảng trong khối (25/10/2026): bảng là một khung chữ nhật riêng, cách viền khối, có viền và bo góc; không dùng viền khối làm viền bảng */
html .card>.cb.flush{padding:12px 14px 14px!important}
html .card .tw{border:1px solid var(--tbl-grid);border-radius:8px;overflow:auto}
html .card .tw>table.t{border:0!important}
html .card .tw>table.t tr:last-child>td{border-bottom:0!important}
html .card>.cb.flush>.tbl>.toolbar,html .card>.cb.flush>.tbl>.fbar-wrap{padding-left:0!important;padding-right:0!important}

/* #main nhận focus bằng lệnh khi chuyển màn (cho trình đọc màn hình): không vẽ khung focus quanh cả vùng nội dung */
html #main:focus{outline:none}

/* bảng trong khối hẹp (khối xếp 2–3 trên một hàng): cột tên co lại để bảng vừa khung, không phải kéo ngang */
html .grid>.card table.t td:has(.nm),html .zpair>.card table.t td:has(.nm),html .grid>* .card table.t td:has(.nm){min-width:150px}
html .grid>.card table.t th,html .zpair>.card table.t th,html .grid>* .card table.t th{white-space:normal}
html .grid>.card table.t .nm,html .zpair>.card table.t .nm,html .grid>* .card table.t .nm{white-space:normal}
html .grid>.card table.t td .nm,html .zpair>.card table.t td .nm,html .grid>* .card table.t td .nm{min-width:130px}

/* nút chú thích ⓘ cạnh tiêu đề khối */
html .card>.ch h3 .chelp{margin-left:6px;width:26px;height:26px;color:var(--g-muted);vertical-align:middle}
html .card>.ch h3 .chelp:hover{color:var(--brand)}

/* ô chú thích nổi (nút ⓘ ở tiêu đề khối) */
.hpop{position:fixed;z-index:120;width:min(420px,calc(100vw - 24px));max-height:70vh;overflow:auto;background:var(--bg-surface,#fff);color:var(--g-text,#1b2533);border:1px solid var(--g-border,#d8dee8);border-radius:12px;box-shadow:0 12px 32px rgba(16,30,60,.18)}
.hpop-h{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--g-border,#d8dee8);position:sticky;top:0;background:inherit}
.hpop-h .ms{color:var(--brand,#1d5fd1)}.hpop-h b{flex:1;font-size:15px;line-height:21px}
.hpop-x{border:0;background:none;color:var(--g-muted,#5b6b80);cursor:pointer;width:28px;height:28px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center}.hpop-x:hover{background:var(--bg-row,#f1f4f8)}
.hpop-b{padding:4px 14px 12px}
.hpop-i{padding:10px 0;border-bottom:1px dashed var(--g-border,#d8dee8)}.hpop-i:last-child{border-bottom:0}
.hpop-l{font-size:13px;line-height:18px;font-weight:600;color:var(--g-muted,#5b6b80);margin-bottom:2px}
.hpop-t{font-size:14px;line-height:21px}

/* thu gọn, mở rộng khối */
html .card>.ch .ccol{margin-left:6px;flex:none;color:var(--g-muted)}
html .card>.ch .ccol .ms{transition:transform .15s}
html .card.cc-off>.cb{display:none}
html .card.cc-off>.ch{border-bottom:0}
html .card.cc-off>.ch .ccol .ms{transform:rotate(180deg)}
/* nút ⓘ cạnh tên màn */
html .head .hinfo{margin-left:6px;width:30px;height:30px;color:var(--g-muted);vertical-align:middle}
html .head #hT .hinfo{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;vertical-align:middle;width:28px;height:28px}
/* số liệu nằm ngang trong khối */
html .kstat{display:flex;flex-wrap:wrap;gap:12px 32px;align-items:center}
html .kstat>div{display:flex;flex-direction:column;gap:2px}
html .kstat span{font-size:var(--fs-sm);color:var(--g-muted)}
html .kstat b{font-size:19px;line-height:26px}
html .bignum{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px 4px}
html .bignum b{font-size:44px;line-height:48px;color:var(--g-text)}
html .bignum span{color:var(--g-muted)}
/* so sánh giải ngân – tiến độ vật lý theo dự án */
.pbar{display:flex;flex-direction:column;gap:2px}
.pbar-lg{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin-bottom:6px;font-size:var(--fs-sm)}
.pbar-lg span{display:inline-flex;align-items:center;gap:6px}
.pbar-lg i{display:inline-block;width:14px;height:10px;border-radius:3px}
.pb-d{background:#2f6fde}.pb-p{background:#16a37a}
.pbar-r{display:grid;grid-template-columns:minmax(140px,30%) 1fr 84px;gap:12px;align-items:center;padding:6px 4px;border-bottom:1px solid var(--tbl-grid,#e3e8ef);cursor:default}
.pbar-r[data-act]{cursor:pointer}.pbar-r[data-act]:hover{background:var(--bg-row,#f4f6fa)}
.pbar-n{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.pbar-b{display:flex;flex-direction:column;gap:3px}
.pb-row{display:flex;align-items:center;gap:8px;font-size:var(--fs-sm)}
.pb-row i{display:block;height:10px;border-radius:3px;min-width:2px}
.pbar-g{text-align:right;font-size:var(--fs-sm);color:var(--g-muted)}.pbar-g.bad{color:var(--danger,#c62828);font-weight:600}

.hpop.wide{width:min(760px,calc(100vw - 24px))}
.hpop .hpop-t table.t{width:100%;font-size:13px}
.hpop .hpop-t .tw{border:1px solid var(--tbl-grid);border-radius:8px;overflow:auto}

html .wend{display:grid;grid-template-columns:1fr 1fr;gap:16px 32px}
@media (max-width:900px){html .wend{grid-template-columns:1fr}}

/* nút thu gọn cố định ở góc phải tiêu đề khối; bố cục tiêu đề giữ nguyên */
html .card>.ch:has(>.ccol){position:relative;padding-right:48px!important}
html .card>.ch>.ccol{position:absolute;right:10px;top:10px;margin:0}

/* phạm vi Sở chuyên ngành */
html .soscope{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:8px 12px;border:1px solid var(--g-border);border-radius:10px;background:var(--bg-surface)}
html .soscope .sel{width:auto;min-height:32px;height:32px}
html .kstat a.lnk{color:var(--brand);text-decoration:none}

/* 24/10/2026: chọn cách thêm mới (1 bản ghi / tệp Excel); hộp hỏi lý do to hơn */
html .chz{display:grid;gap:12px}
html .chz-opt{display:flex;gap:14px;align-items:flex-start;text-align:left;padding:16px 18px;border:1px solid var(--g-border-strong);border-radius:10px;background:var(--bg-surface);cursor:pointer;font-size:15px}
html .chz-opt b{font-weight:600}
html .chz-opt .sub{font-size:14px}
html .chz-opt:hover,html .chz-opt:focus-visible{border-color:var(--g-primary,#1f4e79);background:var(--g-primary-weak,#eef4fb)}
html .chz-opt .ms{font-size:28px;color:var(--g-primary,#1f4e79)}
html .chz-opt b{display:block;margin-bottom:2px}
html .chz-steps{margin:0 0 4px 18px;padding:0;line-height:1.7}
html #modal.m-why{width:min(920px,96vw)}
html #modal .ta.ta-why{min-height:220px;font-size:15px;line-height:1.55}

/* 24/10/2026: mục menu, tab đang chọn nổi bật với nền xanh nhạt */
html .nav-i.on{background:#e6f0fb!important;color:var(--brand)!important;font-weight:600}
html[data-theme=dark] .nav-i.on{background:rgba(96,165,250,.16)!important}
html .tab.on{background:#e6f0fb!important;border-radius:6px 6px 0 0}
html[data-theme=dark] .tab.on{background:rgba(96,165,250,.16)!important}

/* 24/10/2026 (chủ dự án): hộp thoại to 80% màn hình; chữ theo thang đã chốt 25/10 (nội dung 15px, nhãn, chữ phụ 14px, tiêu đề hộp = tiêu đề trang con 19px) */
html .modal,html #modal.m-why{width:80vw!important;max-width:80vw!important;max-height:80vh!important}
html #modal #mT{font-size:19px!important;font-weight:600}
html #modal #mB{font-size:15px}
html #modal #mB label,html #modal #mB .lab,html #modal #mB .sub,html #modal #mB .help{font-size:14px}
html #modal .ta.ta-why{min-height:36vh}
html #modal .chz{grid-template-columns:1fr 1fr}
@media (max-width:768px){html .modal,html #modal.m-why{width:94vw!important;max-width:94vw!important;max-height:90vh!important}html #modal .chz{grid-template-columns:1fr}}
/* 24/10/2026 (chủ dự án): ô nhập nhiều dòng (lý do, ghi chú, trích yếu, nội dung…) kéo hết chiều ngang của biểu mẫu và cao hơn để nhập nhiều */
html .fgrid>.fld:has(textarea),html .fgrid>div:has(>textarea){grid-column:1/-1}
html .ta{min-height:140px}
html #modal .ta{min-height:180px}
html #modal .ta.ta-why{min-height:36vh}
/* phần tử có thuộc tính hidden luôn ẩn (không bị lớp bố cục ép hiện) */
[hidden]{display:none!important}
/* 24/10/2026: báo lỗi nhập liệu ngay dưới ô */
html .fld .ferr{color:var(--bad,#ba1a1a);font-size:14px;margin-top:4px;line-height:1.4}
html .fld.bad .in,html .fld.bad .sel,html .fld.bad .ta,html .fld.bad input,html .fld.bad select,html .fld.bad textarea{border-color:var(--bad,#ba1a1a)!important;box-shadow:0 0 0 1px var(--bad,#ba1a1a)}
/* 24/10/2026 (chủ dự án): dòng thu gọn mở ra được (details) có nền nổi, viền, mũi tên để người dùng biết bấm được */
html #main details:not(.card)>summary,html #drawer details:not(.card)>summary,html #modal details:not(.card)>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;background:#eef3fa;border:1px solid #c9d6e8;border-radius:8px;padding:10px 14px;margin:8px 0;box-shadow:0 1px 2px rgba(16,24,40,.06);transition:background .15s ease-out}
html #main details:not(.card)>summary:hover,html #drawer details:not(.card)>summary:hover,html #modal details:not(.card)>summary:hover{background:#e1eaf7;border-color:#9fb6d6}
html details:not(.card)>summary::-webkit-details-marker{display:none}
html #main details:not(.card)>summary::before,html #drawer details:not(.card)>summary::before,html #modal details:not(.card)>summary::before{content:'expand_more';font-family:'Material Symbols Outlined';font-size:20px;line-height:1;color:var(--brand,#1f4e79);transform:rotate(-90deg);transition:transform .15s ease-out;flex:none}
html #main details[open]:not(.card)>summary::before,html #drawer details[open]:not(.card)>summary::before,html #modal details[open]:not(.card)>summary::before{transform:none}
html[data-theme=dark] #main details:not(.card)>summary,html[data-theme=dark] #drawer details:not(.card)>summary{background:rgba(96,165,250,.10);border-color:rgba(96,165,250,.30)}
/* khối phụ đang thu gọn: đầu khối có nền nhạt để thấy mở ra được */
html .card.coll:not([open])>summary.ch,html .card.cc-off>.ch{background:#eef3fa}
html[data-theme=dark] .card.coll:not([open])>summary.ch,html[data-theme=dark] .card.cc-off>.ch{background:rgba(96,165,250,.10)}
html #main details:not(.card)>summary,html #drawer details:not(.card)>summary,html #modal details:not(.card)>summary{justify-content:flex-start!important}
html details:not(.card)>summary>.sub:last-child{margin-left:auto}
/* 24/10/2026 (chủ dự án): thanh lọc của bảng – nhãn và ô nhập cùng một dòng (nhãn bên trái, ô bên phải) */
html .toolbar,html .fbar{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))!important;align-items:center!important}
html .toolbar .fld,html .fbar .fld{flex-direction:row!important;align-items:center!important;gap:8px!important}
html .toolbar .fld>label,html .fbar .fld>label{flex:none!important;max-width:45%!important;overflow:hidden;text-overflow:ellipsis}
html .toolbar .fld>.in,html .toolbar .fld>.sel,html .fbar .fld>.in,html .fbar .fld>.sel,html .toolbar .fld>input,html .toolbar .fld>select,html .fbar .fld>input,html .fbar .fld>select{flex:1 1 auto!important;width:auto!important;min-width:0!important}
@media (max-width:640px){html .toolbar .fld,html .fbar .fld{flex-direction:column!important;align-items:stretch!important}html .toolbar .fld>label,html .fbar .fld>label{max-width:none!important}}
html .fbar .fld{flex:1 1 250px!important;max-width:none!important}
html .fbar .fld>label,html .toolbar .fld>label{max-width:none!important;overflow:visible!important}
html .fbar .fld>.in,html .fbar .fld>.sel,html .toolbar .fld>.in,html .toolbar .fld>.sel{min-width:130px!important}

/* Bản đồ Thanh Hóa thật (data/map_th.js) */
.mapwrap svg{width:100%;height:auto;max-height:520px;display:block;border-radius:6px}
.mapwrap .mapdl{font:500 10px Inter,sans-serif;fill:#5b6b7c;pointer-events:none}
.mapwrap .mapnl{font:600 12px Inter,sans-serif;fill:#8693a0;letter-spacing:.04em;pointer-events:none}
.mapwrap .mapsea{font:italic 600 13px Inter,sans-serif;fill:#5f8fbf;pointer-events:none}
.mapsrc{font-size:12px;color:var(--muted);margin-top:4px}

/* Danh sách thanh giới hạn 6 dòng, xem tất cả trong hộp thoại */
.lim-x{display:none!important}

.btn .cnt{font-weight:700;margin-left:4px}
.lst-all .pbar-n{white-space:normal;overflow:visible}
.mapwrap{text-align:center}.mapwrap svg{margin:0 auto;width:auto;max-width:100%}

/* Vùng chỉ xem / cập nhật được trong khối (26/10/2026) */

/* Thanh dự án mở rộng: đủ thông tin chính (26/10/2026) */
html .ctxbar .ctxmore{display:none}
html .ctxbar.open .ctxmore{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:6px 20px;flex:1 0 100%;width:100%;border-top:1px solid var(--g-border,#e3e7ec);padding-top:8px;margin-top:2px}
html .ctxbar .ctxmore>span{display:flex;gap:8px;align-items:baseline;white-space:normal;min-width:0}
html .ctxbar .ctxmore .k{flex:0 0 auto}
/* Khối nhiệm vụ chính: nhấn nhẹ */
html #main>.ctxbar.open{flex-wrap:wrap!important}html #main>.ctxbar.open .ctxinfo{flex:1 1 0}html .ctxbar .ctxmore{order:3}
/* Vùng xem / nhiệm vụ chính (26/10/2026, thay nhãn chữ và viền trái) */
html .card.z-ro>.cb{background:transparent}
html .card.z-ro table.t tbody td{background:transparent}
html .card.z-main>.ch{background:#f3f7fd}
html .card.z-main>.ch h3>.ms:first-child{color:#1f6feb}
/* Thanh lọc điều hành: một hàng, nhãn cạnh ô */
html .dfbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px 16px;align-items:center;padding:10px 14px;margin:0 0 12px;background:var(--g-surface,#fff);border:1px solid var(--g-border,#e3e7ec);border-radius:12px}
html .dfbar .fld{display:flex;align-items:center;gap:8px;margin:0;min-width:0}
html .dfbar .fld>label{flex:0 0 auto;white-space:nowrap;color:var(--muted);font-size:14px}
html .dfbar .fld .sel{flex:1 1 auto;min-width:0;height:32px;min-height:32px!important}
html .dfbar-end{display:flex;align-items:center;justify-content:flex-end;gap:10px}
html table.t th .thu{display:block;font-size:12px;font-weight:400;color:var(--muted);line-height:1.2}
html .dfbar .fld{flex-direction:row!important;align-items:center!important;max-width:none!important}
html .dfbar .fld>label{margin:0!important;text-align:left}
html .dfbar{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html .dfbar .fld>label{min-width:118px}
@media (min-width:1800px){html .dfbar{grid-template-columns:minmax(280px,1.3fr) repeat(4,minmax(0,1fr)) auto!important}html .dfbar .fld>label{min-width:0}}
@media (max-width:900px){html .dfbar{grid-template-columns:1fr!important}}

/* Thanh dự án nổi rõ (26/10/2026) */
html #main>.ctxbar{background:#eaf2fc!important;border-color:#cfe0f5!important}
html #main>.ctxbar .sel{background:#fff}
html #main>.ctxbar .ctxmore{border-top-color:#cfe0f5!important}
html .ctxlnk{color:#0b5cad;font-weight:600;font-size:15px;text-decoration:underline;text-underline-offset:3px}
html .ctxlnk:hover{color:#08427d}
html #modal.mconfirm>div{max-width:none;width:auto}
html #modal.mconfirm{width:min(560px,92vw)!important;max-width:92vw!important;height:auto!important;min-height:0!important}
html .fillv{color:var(--muted)}
html .dfbar{grid-template-columns:repeat(4,minmax(0,1fr))!important}@media (min-width:1800px){html .dfbar{grid-template-columns:repeat(4,minmax(0,1fr))!important}}@media (max-width:1100px){html .dfbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Nút trong thanh lọc luôn ở góc dưới bên phải, không phụ thuộc số ô lọc (26/10/2026) */
html .toolbar>.row,html .toolbar>.fbtn,html .fbar>.fbtn,html .fbar-wrap .fbtn,html .dfbar>.dfbar-end{grid-column:-2/-1!important;justify-self:end!important;align-self:end!important;margin-left:auto!important;display:flex!important;justify-content:flex-end;gap:8px}

/* Bảng điều hành chủ đầu tư – khối Dự án đang xem co giãn theo bề rộng (26/10/2026) */
html .cdt-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:4px 0 12px}
html .cdt-head .fld{display:flex;align-items:center;gap:8px;flex:1 1 280px;min-width:0;max-width:none;margin:0}
html .cdt-head .fld label{flex:0 0 auto;margin:0}
html .cdt-head .fld .sel{flex:1 1 auto;min-width:0;width:100%}
html .cdt-head .cdt-act{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto;justify-content:flex-end}
html .kstat.cdt-st{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px 20px;align-items:start}
html .kstat.cdt-st>div{min-width:0}
html .kstat.cdt-st span{overflow-wrap:anywhere}
/* Khối chỉ xem đứng cùng hàng với khối sửa được: không tô nền xám để cả hàng đồng màu (26/10/2026: "cái trắng cái xám kì") */
html .grid:has(>.card.z-ed)>.card.z-ro>.cb,html .grid:has(>.card.z-main)>.card.z-ro>.cb{background:var(--g-surface,#fff)}
html .grid:has(>.card.z-ed)>.card.z-ro table.t tbody td,html .grid:has(>.card.z-main)>.card.z-ro table.t tbody td{background:transparent}
html .zone-half:has(>.card.z-ed)>.card.z-ro>.cb,html .zone-half:has(>.card.z-main)>.card.z-ro>.cb,html .zpair:has(>.card.z-ed)>.card.z-ro>.cb{background:var(--g-surface,#fff)}
html .zone-half:has(>.card.z-ed)>.card.z-ro table.t tbody td,html .zpair:has(>.card.z-ed)>.card.z-ro table.t tbody td{background:transparent}
/* nút ở đầu khối: cùng một hàng, xuống dòng gọn và căn phải khi khối hẹp */
html .card>.ch{flex-wrap:wrap;row-gap:6px}
html .card>.ch>.sp{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;margin-left:auto}
html .cdt-head .fld{flex-direction:row!important;align-items:center!important;text-align:left}
html .cdt-head .fld label{text-align:left;padding:0!important}

/* 26/10/2026: tab không gian làm việc là màn riêng trên menu – ẩn dải tab, chỉ hiện màn đang chọn */
.tabs-wrap.ws-one>.tabs{display:none!important}
.tabs-wrap.ws-one>.tpane{margin-top:0;padding-top:0;border:0}
.nav-sub{font:600 11px/16px Inter,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--text-3,var(--muted));padding:10px 10px 4px 42px}
.nav-sub:first-child{padding-top:4px}

/* ===== 26/10/2026 (chủ dự án): giao diện phẳng theo Singapore Government Design System (SGDS) – bo góc nhỏ 4px, nhãn 2px, không đổ bóng khối; liên kết chuyển màn ===== */
:root{--r:4px;--r-sm:4px;--r-lg:4px}
html body :is(.card,details.card,.btn,.in,.sel,.ta,input,select,textarea,button,.badge,.lbl,.chip,.tag,.tab,.tabs,.kpi,.kstat,.modal,.drawer,.ctxbar,.nav-i,.nav-gh,.tbl-wrap,.callout,.menu,.menu-pop,.hq,.who,.side-search,.empty,.seg,.actbar,.cdt-head,.ibtn,.hbtn,.toast,.home-btn,.tw,.ph,.zone-half,.zpair,.tpane,.stage,.mhst,.kv,.list li,.chk,.lst-all,.dock){border-radius:4px!important}
html body :is(.badge,.lbl,.chip,.tag){border-radius:2px!important}
html body :is(.card,details.card,.kpi,.kstat,.ctxbar,.tbl-wrap){box-shadow:none!important}
html body .card{border:1px solid var(--line,#d9dee7)}
html body :is(.av,.dotc,.nx-d,.src i,input[type=radio]){border-radius:50%!important}
/* liên kết thao tác trong bảng, liên kết khối liên quan */
.tlnks{display:inline-flex;flex-wrap:wrap;gap:4px 14px}
.tlnk{background:none;border:0;padding:0;font:inherit;color:var(--brand,#1a56db);text-decoration:underline;text-underline-offset:2px;cursor:pointer;white-space:nowrap}
.tlnk:hover{color:var(--brand-2,#0b3d91)}
.tlnk:focus-visible{outline:2px solid var(--brand,#1a56db);outline-offset:2px}
.one-rel{display:flex;flex-wrap:wrap;gap:6px 18px;padding:8px 16px;border-bottom:1px solid var(--line,#e3e7ee);font-size:var(--fs-md,13px)}
.one-rel::before{content:'Xem thêm:';color:var(--text-3,#5b6474)}
a.miss{color:var(--err-text,#b42318);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.miss0{color:var(--ok-text,#067647)}
.drawer .card.side-in{border:0}
.drawer .card.side-in>.ch h3{display:none}

/* token SGDS (themes/day.css, @govtechsg/sgds-web-component 3.30): xám trung tính, xanh SGDS blue-600, trạng thái theo green/red/yellow */
:root{--brand:#0269D0;--brand-strong:#0151A0;--brand-soft:#ECF5FE;
  --bg-page:#F7F7F7;--bg-sidebar:#F3F3F3;--bg-surface:#FFFFFF;--bg-row:#F7F7F7;
  --g-text:#1A1A1A;--g-muted:#525252;--g-faint:#868686;--g-border:#DFDFDF;--g-border-strong:#C6C6C6;--text-2:#3B3B3B;
  --success:#0E7C3D;--success-soft:#E3F9ED;--success-700:#0B5E2F;--danger:#CF2323;--danger-soft:#FCF1F1;--danger-700:#A11B1B;
  --warning:#7E6917;--warning-soft:#FEF4CB;--warning-700:#605111;--g-info:#0269D0;--info-soft:#ECF5FE;--info-700:#0151A0;
  --neutral:#525252;--neutral-soft:#F3F3F3;--neutral-700:#3B3B3B;--pop-shadow:0 2px 8px rgba(0,0,0,.08);
  --tbl-head:#F3F3F3;--tbl-head-line:#C6C6C6;--tbl-grid:#DFDFDF;--tbl-head-text:#1A1A1A}
html body .btn.pri{background:var(--brand);border-color:var(--brand)}
html body .btn.pri:hover{background:var(--brand-strong);border-color:var(--brand-strong)}
html body table.t thead th{font-weight:600}
html body .nav-i.on{background:var(--brand-soft)!important;color:var(--brand-strong)!important;border-left-color:var(--brand)}

/* nội dung báo cáo theo mẫu TT44 */
.bctpl-hd{display:flex;justify-content:space-between;gap:16px;text-align:center;flex-wrap:wrap}
.bctpl h4{text-align:center;margin:14px 0 8px;font-size:var(--fs-lg,16px)}
.bctpl tr.tpl-h td{background:var(--surface-3,#f3f3f3)}
.bctpl .ta{width:100%;min-height:52px}
.bctpl-sg{text-align:right;margin-top:16px}
/* màn hẹp: không tràn ngang – khối, bảng co theo khung; bảng tự cuộn trong khối */
#main,#body,#body .card,#body .tabs-wrap,#body .tpane,#body [data-scr]{min-width:0;max-width:100%}
#body .card>.cb,#body .card .tw,#body .card .tbl-wrap{max-width:100%;overflow-x:auto}
@media (max-width:640px){
 html body .card>.ch{flex-wrap:wrap}
 html body .card>.ch>.sp{width:100%;justify-content:flex-start;margin-left:0}
 html body .ctxbar{flex-wrap:wrap;max-width:100%}
 html body .ctxbar .sel{max-width:100%}
 .one-rel{padding:8px 12px}
}
/* biểu mẫu: bảng nhiều dòng chiếm cả hàng */
.fgrid .fld.full{grid-column:1/-1}
.fgt table.t td{padding:4px}
.fgt table.t td .in{width:100%;min-width:110px}

/* ===== eGov (mẫu Figma "eGov – Module 1 v3", 26/10/2026): thanh đầu trang xanh có quốc huy, tiêu đề màn trong nội dung, menu chọn nền xanh,
   nút xanh/xanh nhạt/đỏ nhạt, bảng tiêu đề xám nhạt, tên bản ghi là liên kết xanh, thao tác trên dòng có chữ ===== */
:root{--brand:#005BC1;--brand-strong:#1D4ED8;--brand-soft:#EAF1FD;--g-info:#005BC1;--info-soft:#EAF1FD;--info-700:#1D4ED8;
  --bg-page:#FFFFFF;--bg-sidebar:#FFFFFF;--bg-row:#F9FAFB;--g-text:#1F2937;--g-muted:#667085;--g-border:#EAECF0;--g-border-strong:#D0D5DD;--text-2:#344054;
  --success:#16A34A;--success-soft:#E8F7EE;--success-700:#15803D;--warning:#F59E0B;--warning-soft:#FFF4E0;--warning-700:#B45309;--danger:#EF4444;--danger-soft:#FDECEC;--danger-700:#DC2626;
  --tbl-head:#F2F4F7;--tbl-head-line:#EAECF0;--tbl-grid:#EAECF0;--tbl-head-text:#1F2937}
/* thanh đầu trang */
html body .head{background:var(--brand)!important;color:#fff;border-bottom:0!important;min-height:52px;box-shadow:none}
html body .head .hbtn,html body .head .mbtn{color:#fff!important;background:transparent!important}
html body .head .hbtn:hover{background:rgba(255,255,255,.14)!important}
html body .head .hq{background:rgba(255,255,255,.14)!important;color:#fff!important;border-color:rgba(255,255,255,.35)!important}
html body .head .hq .ms,html body .head .hq .t{color:#fff!important}
html body .head .who{background:transparent!important;border:0!important;color:#fff!important}
html body .head .who b,html body .head .who small,html body .head .who .ms{color:#fff!important}
html body .head .who .av{background:#DCE8FD!important;color:var(--brand-strong)!important}
html body .head .dotc{background:#F59E0B!important;color:#fff}
.hbrand{display:flex;align-items:center;gap:10px;color:#fff!important;text-decoration:none!important;min-width:0}
.hbrand b{font:700 15px/20px Inter,sans-serif;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hbrand img{flex:none}
.head .hsp{flex:1 1 auto}
@media (max-width:900px){.hbrand b{display:none}}
/* tiêu đề màn, đường dẫn nằm đầu nội dung */
.hcr.pgh{display:block;padding:12px 24px 4px;background:var(--bg-page)}
.hcr.pgh .hbc{font-size:13px;color:var(--g-muted)}
.hcr.pgh .hbc a{color:var(--brand)}
.hcr.pgh .htl{font:600 22px/30px Inter,sans-serif;color:var(--g-text);margin:4px 0 0;white-space:normal}
@media (max-width:640px){.hcr.pgh{padding:10px 16px 2px}.hcr.pgh .htl{font-size:19px;line-height:26px}}
/* thanh bên: trắng; nhóm đang mở nền xanh chữ trắng; mục con có chấm, mục đang chọn chữ xanh */
html body .side{background:#fff!important;border-right:1px solid var(--g-border)}
html body .side .home-btn{display:none!important}
html body .nav-g.cur>.nav-gh,html body .nav-g.open>.nav-gh{background:var(--brand)!important;color:#fff!important;border-radius:4px}
html body .nav-g.cur>.nav-gh .ms,html body .nav-g.open>.nav-gh .ms,html body .nav-g.cur>.nav-gh .tag,html body .nav-g.open>.nav-gh .tag{color:#fff!important}
html body .nav-g.open>.nav-gh .tag{background:rgba(255,255,255,.2)!important}
html body .nav-i{position:relative;padding-left:46px!important;background:transparent!important;border-left:0!important;font-weight:400!important}
html body .nav-i::before{content:'';position:absolute;left:32px;top:50%;width:5px;height:5px;margin-top:-2px;border-radius:50%;background:#98A2B3}
html body .nav-i.on{color:var(--brand)!important;background:transparent!important;font-weight:500!important}
html body .nav-i.on::before{background:var(--brand)}
html body .nav-i:hover{color:var(--brand)!important}
html body .nav-sub{padding-left:32px}
/* nút */
html body .btn{border-radius:4px!important}
html body .btn.pri{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}
html body .btn.pri:hover{background:var(--brand-strong)!important}
html body .btn.soft,html body .btn:not(.pri):not(.danger){background:var(--brand-soft);border-color:transparent;color:var(--brand-strong)}
html body .btn.soft .ms,html body .btn:not(.pri):not(.danger) .ms{color:var(--brand)}
/* bảng */
html body table.t thead th{background:#F2F4F7!important;color:#1F2937!important;font-weight:600}
html body table.t tbody tr:nth-child(even) td{background:#FAFAFB}
html body table.t td .nm{color:var(--brand);text-decoration:underline;text-underline-offset:2px;font-weight:500}
html body table.t tr[data-act] td .nm,html body table.t tbody tr td .nm{cursor:pointer}
/* thao tác trên dòng: biểu tượng kèm chữ như mẫu (Xem · Sửa · Xóa) */
html body .ops{display:inline-flex;flex-wrap:wrap;gap:6px}
html body .ops .ibtn{width:auto!important;height:30px;padding:0 10px!important;gap:6px;display:inline-flex;align-items:center;background:#F2F4F7!important;border-radius:4px!important;color:#344054!important;font-size:13px}
html body .ops .ibtn .ms{color:var(--brand)!important}
html body .ops .ibtn::after{content:attr(title);white-space:nowrap}
html body .ops .ibtn[title="Xóa"],html body .ops .ibtn[data-act*="del"]{background:#FDECEC!important;color:#DC2626!important}
html body .ops .ibtn[title="Xóa"] .ms,html body .ops .ibtn[data-act*="del"] .ms{color:#DC2626!important}
/* khối */
html body .card{border:1px solid var(--g-border)!important;background:#fff}
html body .card>.ch h3{font-weight:600}
html body .ctxbar{background:#F9FAFB!important;border:1px solid var(--g-border)!important}
/* thẻ chỉ số kiểu mẫu eGov: nền chuyển màu, số lớn, biểu tượng trong vòng trắng */
html body #body .grid>.kpi{border:0!important;color:#fff;min-height:100px;align-items:center;padding:16px 18px!important;box-shadow:none!important}
html body #body .grid>.kpi:nth-child(4n+1){background:linear-gradient(135deg,#6E9BF2 0%,#005BC1 100%)!important}
html body #body .grid>.kpi:nth-child(4n+2){background:linear-gradient(135deg,#FCC14B 0%,#F59E0B 100%)!important}
html body #body .grid>.kpi:nth-child(4n+3){background:linear-gradient(135deg,#4ADE80 0%,#16A34A 100%)!important}
html body #body .grid>.kpi:nth-child(4n+4){background:linear-gradient(135deg,#FB7185 0%,#EF4444 100%)!important}
html body #body .grid>.kpi .klbl,html body #body .grid>.kpi .kval,html body #body .grid>.kpi .kval small,html body #body .grid>.kpi .kdel,html body #body .grid>.kpi .chelp,html body #body .grid>.kpi .ms{color:#fff!important}
html body #body .grid>.kpi .kval{font-size:30px!important;line-height:36px!important;font-weight:700!important}
html body #body .grid>.kpi .kico{background:#fff!important;border-radius:50%!important;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center}
html body #body .grid>.kpi:nth-child(4n+1) .kico .ms{color:#005BC1!important}
html body #body .grid>.kpi:nth-child(4n+2) .kico .ms{color:#F59E0B!important}
html body #body .grid>.kpi:nth-child(4n+3) .kico .ms{color:#16A34A!important}
html body #body .grid>.kpi:nth-child(4n+4) .kico .ms{color:#EF4444!important}

/* ===== Số đo từ tệp .fig "eGov – Module 1 v3" (giải mã canvas.fig 26/10/2026) – nguồn chuẩn chính.
   Chọn giữa Figma / SGDS / Bộ quy tắc GOV: màu #005BC1 của Figma trùng Bộ quy tắc GOV nên lấy làm màu chính; chỗ Figma không đạt tương phản WCAG AA
   (nhãn #7E8CAC, chữ trạng thái #1CA976, #FFAE00) làm đậm theo ui-ux-pro-max; nhãn trạng thái bo 4px thay dạng viên thuốc (yêu cầu bỏ bo tròn). ===== */
:root{--brand:#005BC1;--brand-strong:#063B86;--brand-soft:#E8F1FB;--g-info:#005BC1;--info-soft:#E8F1FB;--info-700:#0061D2;
  --g-text:#333333;--text-2:#2B2D3B;--g-muted:#6C7093;--g-border:#E5E6EA;--g-border-strong:#D8D8D8;--bg-row:#F9FBFF;
  --success:#009B4E;--success-soft:#EBF9F4;--success-700:#0A7D3E;--danger:#F53F3F;--danger-soft:#FDF4F6;--danger-700:#D61F3C;
  --warning:#FFA100;--warning-soft:#FFF7E6;--warning-700:#8A5A00;--tbl-head:#E8EEFA;--tbl-head-line:#E5E6EA;--tbl-grid:#E5E6EA;--tbl-head-text:#333333}
/* đầu trang 60px, chữ Inter Bold 16 */
html body .head{min-height:60px;background:#005BC1!important}
.hbrand b{font:700 16px/24px Inter,sans-serif}
.hbrand img{width:40px;height:40px}
/* đường dẫn Inter Medium 14/20: cấp trên #6C7093, cấp hiện tại #2B2D3B; tiêu đề Semi Bold 22/30 #333 */
.hcr.pgh .hbc{font:500 14px/20px Inter,sans-serif;color:#6C7093}
.hcr.pgh .hbc a{color:#6C7093}
.hcr.pgh .hbc [aria-current]{color:#2B2D3B}
.hcr.pgh .htl{font:600 22px/30px Inter,sans-serif;color:#333}
/* nút cao 40px, bo 4, đệm 8/16; nút phụ nền #E8F1FB viền #D8D8D8 */
html body .btn{min-height:40px;padding:8px 16px;font:500 14px/22px Inter,sans-serif}
html body .btn.sm{min-height:32px;padding:4px 12px}
html body .btn.soft,html body .btn:not(.pri):not(.danger){background:#E8F1FB;border:1px solid #D8D8D8;color:#063B86}
html body .btn[disabled]{background:#F5F5F5!important;color:#9AA0A6!important;border-color:#E5E6EA!important}
/* ô nhập 40px, nền #FAFBFC, viền #E7EBEF, bo 4, đệm 12; nhãn Inter Medium 15/23 (làm đậm #4E5969 để đạt tương phản); gợi ý #7E8CAC 13px */
html body .in,html body .sel,html body .ta{min-height:40px;background:#FAFBFC;border:1px solid #E7EBEF;border-radius:4px;padding:8px 12px;font:400 14px/22px Inter,sans-serif;color:#333}
html body .in::placeholder,html body .ta::placeholder{color:#7E8CAC;font-size:13px}
html body .in:focus,html body .sel:focus,html body .ta:focus{border-color:#005BC1;outline:2px solid rgba(0,91,193,.25);outline-offset:0;background:#fff}
html body .fld>label{font:500 15px/23px Inter,sans-serif;color:#4E5969}
html body .fld.bad .in,html body .fld.bad .sel,html body .fld.bad .ta{border-color:#E42C2C}
html body .fld .err,html body .fld .help.err{color:#D61F3C;font:italic 400 13px/21px Inter,sans-serif}
/* bảng: tiêu đề #E8EEFA, viền #E5E6EA, đệm 12/16, chữ Medium 14/20; dòng đệm 14/16, chữ Regular 14/20 #2B2D3B */
html body table.t thead th{background:#E8EEFA!important;color:#333!important;font:500 14px/20px Inter,sans-serif;padding:12px 16px;border-color:#E5E6EA!important}
html body table.t td{padding:14px 16px;font:400 14px/20px Inter,sans-serif;color:#2B2D3B;border-color:#E5E6EA!important}
html body table.t tbody tr:nth-child(even) td{background:#F9FBFF}
html body table.t td .nm{color:#005BC1}
/* nhãn trạng thái theo Figma (màu nền, chữ), bo 4px */
html body .badge{border-radius:4px!important;padding:2px 10px;font:500 13px/20px Inter,sans-serif}
html body .badge.ok{background:#EBF9F4!important;color:#0A7D3E!important}
html body .badge.bad{background:#FDF4F6!important;color:#D61F3C!important}
html body .badge.warn{background:#FFF7E6!important;color:#8A5A00!important}
html body .badge.info{background:#F2F4F8!important;color:#0061D2!important}
/* phân trang: nút 32px viền #DFDFDF; trang đang chọn nền #E1ECF9 chữ #005BC1 */
html body .pgn button{min-width:32px;height:32px;border:1px solid #DFDFDF!important;border-radius:4px!important;background:#fff!important;color:#333;font:600 14px/20px Inter,sans-serif}
html body .pgn button.on{background:#E1ECF9!important;border-color:#E1ECF9!important;color:#005BC1!important}
/* khối: viền #E5E6EA, bóng rất nhẹ */
html body .card{border:1px solid #E5E6EA!important;box-shadow:0 2px 5px rgba(38,51,77,.03)!important}
/* menu: mục cao 48px, đệm 12/20 */
html body .nav-gh{min-height:48px;padding:12px 16px!important;font:500 14px/22px Inter,sans-serif}
html body .nav-i{min-height:40px;font:400 14px/20px Inter,sans-serif!important}
/* ô chọn 16px viền #737373 */
html body input[type=checkbox]{width:16px;height:16px;accent-color:#005BC1}
/* biểu mẫu: nhãn dài xuống dòng, không cắt; ô nhiều dòng cao 80px như mẫu (hộp hỏi lý do giữ to) */
html body .fld>label{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body #mB textarea.ta:not(.ta-why){min-height:80px!important;height:80px}
/* góc trên thanh bên: quốc huy + tên hệ thống trên nền xanh 60px, liền thanh đầu trang (mẫu eGov) */
html body .side .side-top{display:block!important;background:#005BC1!important;height:60px;padding:0 16px!important;border:0!important;margin:0!important}
html body .side .home-btn{display:flex!important;align-items:center;gap:10px;height:60px;padding:0!important;background:transparent!important;border:0!important;color:#fff!important;text-decoration:none!important}
html body .side .home-btn .hseal-img{width:40px;height:40px;flex:none}
html body .side .home-btn .hb-tx{display:flex;flex-direction:column;min-width:0}
html body .side .home-btn b{font:700 16px/22px Inter,sans-serif;color:#fff!important;letter-spacing:.01em}
html body .side .home-btn small{font:500 12px/16px Inter,sans-serif;color:rgba(255,255,255,.85)!important}
html body .side .home-btn.on,html body .side .home-btn:hover{background:transparent!important}
html body .side .side-sub{padding-top:12px}
body.rail .side .side-top{padding:0 12px!important}
body.rail .side .home-btn .hseal-img{display:block!important}
/* kế hoạch triển khai thực hiện dự án: dòng phần nền xanh nhạt */
table.t.khtt tr.khsec td{background:#E8EEFA!important;color:#063B86}
table.t.khtt td .sub{color:#6C7093;font-size:12px}
html body #homeLbl,html body #homeSub,html body .side .side-top .home-btn .hb-tx b,html body .side .side-top .home-btn .hb-tx small{color:#fff!important;opacity:1!important;-webkit-text-fill-color:#fff}
html body #homeSub{color:rgba(255,255,255,.9)!important;-webkit-text-fill-color:rgba(255,255,255,.9)}
html body .side .side-top .home-btn .hb-tx small{display:block!important;font:500 12px/16px Inter,sans-serif!important}html body .side .side-top .home-btn .hb-tx b{font:700 16px/22px Inter,sans-serif!important}

/* ===== Bố cục tách vùng theo GOV.UK Frontend / SGDS (26/10/2026): đầu trang xanh một dải, thanh bên trắng có viền,
   mục đang chọn = vạch trái 4px + nền rất nhạt (không tô xanh cả khối), nội dung trắng, khoảng cách theo thang 8px ===== */
html body .side{background:#fff!important;border-right:1px solid #E5E6EA!important;box-shadow:none!important}
html body .side .side-sub{padding:12px 16px!important;border-bottom:1px solid #EEF0F3}
html body .nav{padding:8px 0 16px!important}
html body .nav-g{margin:0!important}
html body .nav-gh,html body .nav-g.cur>.nav-gh,html body .nav-g.open>.nav-gh{background:transparent!important;color:#1A1A1A!important;border-radius:0!important;min-height:44px;padding:10px 16px!important;font:600 14px/20px Inter,sans-serif!important;border-left:4px solid transparent}
html body .nav-g.cur>.nav-gh{border-left-color:#005BC1!important}
html body .nav-g.cur>.nav-gh .ms,html body .nav-g.open>.nav-gh .ms{color:#005BC1!important}
html body .nav-gh .ms{color:#6C7093!important}
html body .nav-gh .tag{display:none!important}
html body .nav-gh:hover{background:#F5F7FA!important}
html body .nav-gi{padding:0 0 8px!important}
html body .nav-i{padding:8px 16px 8px 52px!important;min-height:36px;border-left:4px solid transparent!important;color:#3B3F4C!important;font:400 14px/20px Inter,sans-serif!important;border-radius:0!important}
html body .nav-i::before{display:none!important}
html body .nav-i.on{background:#EAF2FB!important;border-left-color:#005BC1!important;color:#063B86!important;font-weight:600!important}
html body .nav-i:hover{background:#F5F7FA!important;color:#063B86!important}
html body .nav-sub{padding:10px 16px 2px 52px!important;font:600 11px/16px Inter,sans-serif;letter-spacing:.04em;color:#6C7093}
html body .side-foot{border-top:1px solid #EEF0F3;font:400 12px/16px Inter,sans-serif!important;color:#6C7093;padding:10px 16px!important}
html body .side-foot span:first-child{display:none}
/* nút thu gọn thanh bên: trong đầu trang (biểu tượng trắng), không lơ lửng ở mép */
html body .edge-tg{display:none!important}
html body .head .mbtn{display:inline-flex!important;color:#fff!important;margin-right:4px}
body.rail .side .side-top{display:none!important}
/* nội dung: lề 24px, tiêu đề sát thanh trên, khối cách nhau 16px */
html body #main.page{padding:8px 24px 32px!important;background:#fff}
.hcr.pgh{padding:16px 24px 8px!important}
html body #body>.stack,html body #body .stack{gap:16px}
html body .actbar:empty,html body .actbar.perm-off{display:none!important}
html body .actbar{margin:0 0 12px!important;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
/* thanh dự án gọn: một dòng, nền xám rất nhạt, viền mảnh */
html body .ctxbar{margin:0 0 16px!important;padding:8px 12px!important;border-radius:4px!important;background:#F7F9FC!important;border:1px solid #E5E6EA!important;gap:8px 20px}
html body .ctxbar .ctxinfo{gap:4px 20px}
html body .ctxmore{border-top:1px solid #E5E6EA;margin-top:8px;padding-top:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 20px}
@media (max-width:900px){html body .ctxmore{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* bỏ dải bước trạng thái trên màn (trạng thái hiện bằng nhãn); giữ danh sách bước trong ngăn chi tiết */
html body #body .mhst,html body #body .asgflow{display:none!important}
html body #body .steps{display:none!important}
@media (max-width:1024px){html body #main.page{padding:8px 16px 24px!important}.hcr.pgh{padding:12px 16px 4px!important}}
html body span.miss{color:#D61F3C;font-weight:600}
html body .ctxbar{display:flex!important;flex-wrap:wrap;align-items:center}
html body .ctxbar>span:first-child .sel{max-width:320px;min-width:220px}
html body .ctxbar .ctxinfo{display:flex;flex-wrap:wrap;align-items:center;flex:1 1 auto}
html body .ctxbar .ctxmore{flex:1 0 100%}
html body #main .ctxbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;grid-template-columns:none!important}
html body #main .ctxbar .ctxinfo{display:flex!important;flex-wrap:wrap!important;grid-template-columns:none!important;gap:4px 24px!important;flex:1 1 auto!important;justify-content:flex-start!important}
html body #main .ctxbar .ctxinfo>span{white-space:nowrap}
html body #main .ctxbar .ctxmore{display:none!important}
html body #main .ctxbar.open .ctxmore{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;flex:1 0 100%!important}
@media (max-width:900px){html body #main .ctxbar.open .ctxmore{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
html body #main .ctxbar>span:first-child{flex:0 0 auto!important;width:auto!important}
html body #main .ctxbar>span:first-child .sel{width:300px!important;max-width:300px!important}
html body #main .ctxbar .ctxinfo{flex:1 1 0%!important;min-width:0!important;width:auto!important}
html body #main .ctxbar.clip{max-height:none!important;overflow:visible!important}

/* 26/10/2026: tách rõ thanh bên – ô logo nền trắng, chữ xanh, viền dưới; thanh bên là một cột trắng riêng, dải xanh chỉ trên vùng nội dung.
   Nút thu gọn: nút tròn nằm trên mép thanh bên (ngang dưới đầu trang). */
html body .side .side-top{background:#fff!important;border-bottom:1px solid #E5E6EA!important}
html body .side .side-top .home-btn .hb-tx b,html body #homeLbl{color:#063B86!important;-webkit-text-fill-color:#063B86!important}
html body .side .side-top .home-btn .hb-tx small,html body #homeSub{color:#6C7093!important;-webkit-text-fill-color:#6C7093!important}
html body .side{border-right:1px solid #D8DCE3!important;box-shadow:1px 0 0 rgba(16,24,40,.02)!important;overflow:visible!important}
@media (min-width:1025px){
 html body .head .mbtn{display:none!important}
 html body .edge-tg{display:grid!important;place-items:center;position:absolute!important;top:76px!important;right:-14px!important;width:28px!important;height:28px!important;border-radius:50%!important;
   background:#fff!important;border:1px solid #D0D5DD!important;color:#344054!important;box-shadow:0 1px 3px rgba(16,24,40,.12)!important;z-index:60;cursor:pointer;padding:0!important}
 html body .edge-tg .ms{font-size:18px!important}
 html body .edge-tg:hover{background:#EAF2FB!important;color:#005BC1!important;border-color:#005BC1!important}
 html body .edge-tg:focus-visible{outline:2px solid #005BC1!important;outline-offset:2px}
 body.rail .side .side-top{display:block!important;padding:0 10px!important}
 body.rail .side .home-btn .hb-tx{display:none!important}
}
.gx-add{grid-column:1/-1;border-top:1px solid #E5E6EA;padding-top:12px}
/* bước liên quan có đánh số (thay dòng "Xem thêm") */
.one-steps{display:flex;flex-wrap:wrap;align-items:center;gap:6px 4px;padding:10px 16px;border-bottom:1px solid #E5E6EA;background:#fff}
.one-steps .ostep{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #E5E6EA;border-radius:4px;background:#fff;cursor:pointer;text-align:left;font:inherit;color:#2B2D3B}
.one-steps .ostep:hover{border-color:#005BC1;background:#EAF2FB}
.one-steps .ostep:focus-visible{outline:2px solid #005BC1;outline-offset:2px}
.one-steps .ostep.on{border-color:#005BC1;background:#EAF2FB}
.one-steps .onum{flex:none;width:22px;height:22px;border-radius:50%;background:#E8F1FB;color:#063B86;display:grid;place-items:center;font:700 12px/1 Inter,sans-serif}
.one-steps .ostep.on .onum{background:#005BC1;color:#fff}
.one-steps .otx{display:flex;flex-direction:column;line-height:1.25}
.one-steps .otx b{font:500 13px/18px Inter,sans-serif}
.one-steps .otx small{font:400 12px/16px Inter,sans-serif;color:#6C7093}
.one-steps .osep{color:#98A2B3;padding:0 2px}
#dF .btn{white-space:nowrap}
.one-steps.alone{border:1px solid #E5E6EA;border-radius:4px;margin:0 0 16px;padding:10px 12px}
/* các bước của bản ghi trong ngăn chi tiết */
.rec-steps{border:1px solid #E5E6EA;border-radius:4px;margin:12px 0;background:#fff}
.rec-steps .rs-h{font:600 14px/20px Inter,sans-serif;padding:10px 14px;border-bottom:1px solid #E5E6EA;background:#F7F9FC}
.rec-steps ol{list-style:none;margin:0;padding:4px 0}
.rec-steps li{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #F0F1F4;position:relative}
.rec-steps li:last-child{border-bottom:0}
.rec-steps .rs-n{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font:700 12px/1 Inter,sans-serif;background:#F2F4F7;color:#6C7093;border:1px solid #D8DCE3}
.rec-steps .rs-done .rs-n{background:#EBF9F4;color:#0A7D3E;border-color:#B7E4CC}
.rec-steps .rs-now .rs-n{background:#005BC1;color:#fff;border-color:#005BC1}
.rec-steps .rs-now{background:#F7FAFF}
.rec-steps .rs-b{flex:1;min-width:0;display:flex;flex-direction:column}
.rec-steps .rs-b b{font:500 14px/20px Inter,sans-serif;color:#2B2D3B}
.rec-steps .rs-b small{font:400 12px/16px Inter,sans-serif;color:#6C7093}
.rec-steps .rs-b small.miss{color:#D61F3C;font-weight:600}
.rec-steps .rs-todo .rs-b b{color:#6C7093}
.rec-steps .rs-a{flex:none;display:flex;gap:6px}
/* 27/10/2026: thanh bên nền xanh xám nhạt (khác vùng nội dung trắng); nút thu gọn tròn, ngang dòng chữ đầu trang */
html body .side,html body .side .side-top,html body .side .side-sub,html body .side .side-q,html body .side .side-foot{background:#EEF2F8!important}
html body .side{border-right:1px solid #D5DCE6!important}
html body .side .side-top{border-bottom:1px solid #D5DCE6!important}
html body .side .side-sub,html body .side-foot{border-color:#DCE2EB!important}
html body .side-q .side-search input,html body .side .side-search input{background:#fff!important;border-color:#CDD5E0!important}
html body .nav-gh:hover,html body .nav-i:hover{background:#E1E8F2!important}
html body .nav-i.on{background:#fff!important;border-left-color:#005BC1!important;color:#063B86!important;box-shadow:inset 0 0 0 1px #D5DCE6}
html body .nav-sub{color:#5B6478!important}
@media (min-width:1025px){
 html body aside.side>button.edge-tg.edge-tg{top:16px!important;right:-14px!important;width:28px!important;height:28px!important;min-height:0!important;border-radius:50%!important;background:#fff!important;border:1px solid #C9D2DE!important;box-shadow:0 1px 4px rgba(16,24,40,.18)!important}
 html body aside.side>button.edge-tg.edge-tg:hover{background:#EAF2FB!important;border-color:#005BC1!important}
}

/* 27/10/2026: ý con của bước trong bảng quy trình 7 bước */
.qtsub{margin:4px 0 0;padding-left:18px;color:#4E5969;font-size:13px;line-height:1.5}
.qtsub li{margin:0}
.qtg{font:600 12px/16px Inter,sans-serif;color:#063B86;text-transform:uppercase;letter-spacing:.02em;margin:0 0 4px}

/* ===== 27/10/2026 (chủ dự án): giao diện theo "Màn mockup base" – màu xanh cũ của hệ thống (#005BC1, đậm #063B86, navy thanh bên),
   đầu trang sáng có quốc huy và tên hệ thống chữ xanh in hoa, thanh bên navy chữ trắng, tiêu đề khối in hoa có vạch nhấn,
   bảng có cột STT, tiêu đề cột nền xanh nhạt; thanh bước dạng mũi tên; hộp xử lý dự án 80% màn hình. ===== */
:root,html :root:not([data-theme=dark]){--brand:#005BC1!important;--brand-soft:#E8F1FB!important;--brand-strong:#063B86!important;--navy:#163A70;--navy-2:#0F2D5A;--page:#EEF2F7}
html body{background:var(--page)!important}
/* đầu trang: dải sáng, tên hệ thống xanh in hoa */
html body .head{background:#fff!important;border-bottom:1px solid #D9E1EC!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important;height:60px}
html body .head .hbrand b{color:#063B86!important;-webkit-text-fill-color:#063B86!important;font:700 20px/28px Inter,sans-serif!important;letter-spacing:.01em}
html body .head .hbtn,html body .head .hbtn .ms{color:#4B5A71!important}
html body .head .hq{background:#F3F6FA!important;border:1px solid #D9E1EC!important;color:#4B5A71!important}
html body .head .hq .ms,html body .head .hq .t{color:#4B5A71!important}
html body .head .who b,html body .head .who small,html body .head .who .ms{color:#1F2A3D!important;-webkit-text-fill-color:#1F2A3D!important}
html body .head .who small{color:#5B6478!important;-webkit-text-fill-color:#5B6478!important}
html body .head .who .av{background:#005BC1!important;color:#fff!important}
/* ô quốc huy: cùng dải sáng với đầu trang */
html body .side .side-top{background:#fff!important;border-bottom:1px solid #D9E1EC!important;border-right:1px solid #D9E1EC}
html body .side .side-top .home-btn .hb-tx b,html body #homeLbl{color:#063B86!important;-webkit-text-fill-color:#063B86!important}
html body .side .side-top .home-btn .hb-tx small,html body #homeSub{color:#5B6478!important;-webkit-text-fill-color:#5B6478!important}
/* thanh bên navy chữ trắng */
html body .side,html body .side .side-sub,html body .side .side-q,html body .side .side-foot{background:var(--navy)!important;border-color:rgba(255,255,255,.08)!important}
html body .side{border-right:0!important}
html body .side-q .side-search input,html body .side .side-search input{background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important}
html body .side .side-search input::placeholder{color:rgba(255,255,255,.65)}
html body .side .side-search .ms{color:rgba(255,255,255,.75)!important}
html body .nav-gh,html body .nav-g.cur>.nav-gh,html body .nav-g.open>.nav-gh{color:#fff!important;border-left-color:transparent!important}
html body .nav-gh .ms,html body .nav-g.cur>.nav-gh .ms,html body .nav-g.open>.nav-gh .ms{color:rgba(255,255,255,.85)!important}
html body .nav-g.cur>.nav-gh{border-left-color:#5AA9FF!important;background:rgba(255,255,255,.06)!important}
html body .nav-gh:hover,html body .nav-i:hover{background:rgba(255,255,255,.1)!important;color:#fff!important}
html body .nav-i{color:rgba(255,255,255,.82)!important}
html body .nav-i.on{background:rgba(255,255,255,.14)!important;color:#fff!important;border-left-color:#5AA9FF!important;box-shadow:none!important;font-weight:600!important}
html body .nav-sub{color:rgba(255,255,255,.55)!important}
html body .side-foot,html body .side-foot *{color:rgba(255,255,255,.7)!important}
html body .side-foot a{color:#BFD9FF!important}
/* vùng nội dung: đường dẫn có biểu tượng nhà, không dòng tiêu đề lớn; lề hai bên gọn */
html body .hcr.pgh{padding:10px 16px 2px!important;background:transparent!important}
html body .hcr.pgh .htl{display:none!important}
html body #hBc>a:first-child::before{content:'home';font-family:'Material Symbols Outlined';font-size:18px;vertical-align:-4px;margin-right:4px}
html body #main.page{padding:8px 16px 24px!important;max-width:none!important;background:transparent!important}
/* khối: nền trắng, tiêu đề in hoa xanh có vạch nhấn trái, mọi khối cùng một kiểu tiêu đề */
html body .card,html body details.card{background:#fff!important;border:1px solid #D9E1EC!important;border-radius:4px!important;box-shadow:none!important}
html body .card>.ch,html body details.card>summary.ch{background:#fff!important;border-bottom:1px solid #E3E9F1!important;min-height:46px;padding:8px 14px!important}
html body .card>.ch h3,html body details.card>summary.ch h3{font:700 14px/20px Inter,sans-serif!important;text-transform:uppercase;letter-spacing:.02em;color:#063B86!important;padding-left:10px;border-left:3px solid #005BC1}
html body .card>.ch h3>.ms:first-child,html body details.card>summary.ch h3>.ms:first-child{display:none!important}
html body .card>.ch .tsrc,html body .card>.ch .chelp,html body .card>.ch .ccol,html body .card>.ch>.sub,html body details.card>summary .chev-c{display:none!important}
html body .card>.ch[title]{cursor:default}
/* nút theo màu chức năng như màn mẫu */
html body .btn.pri{background:#005BC1!important;border-color:#005BC1!important}
html body .btn.pri:hover{background:#063B86!important;border-color:#063B86!important}
html body .btn.soft{background:#E8F1FB!important;color:#063B86!important}
/* bảng: cột STT, tiêu đề nền xanh nhạt */
html body table.t thead th{background:#DCE8F6!important;color:#16325C!important;font-weight:600!important;border-color:#C9D8EC!important}
html body table.t td.stt,html body table.t th.stt{text-align:center;width:44px;color:#4B5A71}
html body table.t tbody tr:nth-child(even) td{background:#F8FAFD}
/* thanh bước dạng mũi tên (mẫu chủ dự án): một hàng, bước đang chọn nền xanh đậm */
.arrow-steps{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:0;margin:0 0 12px;padding:0;background:transparent;border:0!important;scrollbar-width:thin}
.arrow-steps .astep{flex:1 1 0;min-width:150px;position:relative;display:flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 22px 0 26px;border:0;background:#C9D3E0;cursor:pointer;
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%,14px 50%);font:500 14px/18px Inter,sans-serif;color:#344054;margin-left:-8px;text-align:left}
.arrow-steps .astep:first-child{margin-left:0;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%);padding-left:16px}
.arrow-steps .astep::before{content:'';position:absolute;inset:1px;background:#fff;clip-path:inherit;z-index:0}
.arrow-steps .astep>*{position:relative;z-index:1}
.arrow-steps .astep .anum{flex:none;width:22px;height:22px;border-radius:50%;background:#E4E9F0;color:#344054;display:grid;place-items:center;font:600 12px/1 Inter,sans-serif}
.arrow-steps .astep .anum .ms{font-size:15px}
.arrow-steps .astep:hover::before{background:#F2F6FB}
.arrow-steps .astep.done .anum{background:#E3F4EA;color:#0E7C3D}
.arrow-steps .astep.on{background:#163A70}
.arrow-steps .astep.on::before{background:#1E4B8C}
.arrow-steps .astep.on,.arrow-steps .astep.on span{color:#fff}
.arrow-steps .astep.on .anum{background:#fff;color:#1E4B8C}
.arrow-steps .astep:focus-visible{outline:2px solid #005BC1;outline-offset:-3px}
html body .one-steps.arrow-steps{padding:0!important;border:0!important;background:transparent!important}
.one-off{display:none!important}
.one-nav{display:flex;gap:8px;align-items:center;padding:10px 14px;border-top:1px solid #E3E9F1;background:#FAFBFD}
/* hộp xử lý dự án: 80% màn hình */
body.pw-on{overflow:hidden}
.pw{position:fixed;inset:0;z-index:80;background:rgba(10,25,50,.5);display:flex;align-items:center;justify-content:center}
.pw-dlg{width:80vw;height:86vh;background:var(--page);border-radius:6px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 50px rgba(10,25,50,.35)}
.pw-h{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#fff;border-bottom:1px solid #D9E1EC}
.pw-t{flex:1;min-width:0;display:flex;flex-direction:column}
.pw-t b{font:700 17px/24px Inter,sans-serif;color:#063B86;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pw-t span{font:400 13px/18px Inter,sans-serif;color:#5B6478}
.pw-tabs{padding:10px 16px 0;background:#fff}
.pw-tabs .arrow-steps{margin:0 0 10px}
.pw-sub{display:flex;gap:4px;flex-wrap:wrap;padding:0 16px;background:#fff;border-bottom:1px solid #D9E1EC}
.pw-sub[hidden]{display:none}
.pwt{border:0;background:transparent;padding:9px 12px;font:500 14px/18px Inter,sans-serif;color:#4B5A71;border-bottom:3px solid transparent;cursor:pointer}
.pwt:hover{color:#063B86}
.pwt.on{color:#063B86;border-bottom-color:#005BC1;font-weight:600}
.pw-b{flex:1;overflow:auto;padding:12px 16px}
.pw-b .card+.card,.pw-b .stack>*+*{margin-top:12px}
@media (max-width:768px){.pw-dlg{width:96vw;height:94vh}}
/* danh sách dự án ở màn theo bước */
.pwlist .pwnm{color:#063B86;font-weight:600}
/* lớp phủ trên hộp xử lý */
html body .scrim{z-index:90!important}html body .drawer{z-index:95!important}html body .modal{z-index:96!important}
.arrow-steps .astep{height:46px;font-size:13px}
.arrow-steps .astep>span:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:16px;white-space:normal}
.pw-b .mhst,.pw-b .steps{display:none!important}
/* thao tác trên dòng: một hàng, dòng gọn như màn mẫu */
html body table.t td.opsc .ops{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:4px!important;align-items:center}
html body table.t td.opsc .ops .btn,html body table.t td.opsc .ops button{height:28px!important;min-height:28px!important;padding:0 8px!important;margin:0!important;white-space:nowrap}
html body table.t td{padding-top:6px!important;padding-bottom:6px!important}
.arrow-steps .astep.on .anum,.arrow-steps .astep.on .anum *{color:#1E4B8C!important}
/* 27/10/2026: thanh bước gọn (rộng theo nội dung), thanh cuộn mờ trong suốt */
.arrow-steps{justify-content:flex-start}
.arrow-steps .astep{flex:0 1 230px;min-width:120px;height:38px;padding:0 20px 0 24px}
.arrow-steps .astep:first-child{padding-left:12px}
.pw-tabs .arrow-steps .astep{flex:1 1 0}
*{scrollbar-width:thin;scrollbar-color:rgba(120,135,160,.35) transparent}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(120,135,160,.3);border-radius:8px;border:2px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-thumb:hover{background:rgba(120,135,160,.55);background-clip:padding-box}
html body .side *{scrollbar-color:rgba(255,255,255,.22) transparent}
html body .side ::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2);background-clip:padding-box}
html body .side ::-webkit-scrollbar-track{background:transparent!important}
.hbtn[data-act=theme]{display:none!important}
/* 27/10/2026: thanh bước chỉ dùng số; bước đã xong số nền xanh lá; tên bước một dòng trong hộp xử lý */
.pw-tabs .arrow-steps .astep>span:last-child{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:unset}
.arrow-steps .astep.done .anum{background:#DDF3E5!important;color:#0E7C3D!important}
.arrow-steps .astep.on .anum{background:#fff!important}
/* menu tài khoản: tình trạng kết nối dạng danh sách gọn */
html body .menu-src{padding:10px 14px!important}
html body .menu-src small{font:600 12px/16px Inter,sans-serif!important;color:#5B6478!important;text-transform:none!important;letter-spacing:0!important;margin-bottom:6px!important}
html body .menu-src .srcs{display:grid!important;grid-template-columns:1fr 1fr;gap:4px 16px!important}
html body .menu-src .src{display:flex!important;align-items:center;gap:8px;padding:2px 0!important;background:transparent!important;border:0!important;border-radius:0!important;font:400 13px/18px Inter,sans-serif!important;color:#1F2A3D!important;box-shadow:none!important}
html body .menu-src .src i{width:8px!important;height:8px!important;border-radius:50%!important;background:#12A150!important;box-shadow:none!important;border:0!important;flex:none}
html body .menu-src .src.stale i{background:#E8A317!important}
html body .menu-src .src.down i,html body .menu-src .src.bad i{background:#D92D20!important}
.pw-tabs .arrow-steps .astep{flex:1 1 auto;min-width:0;padding:0 16px 0 22px;height:44px}
.pw-tabs .arrow-steps .astep:first-child{padding-left:12px}
.pw-tabs .arrow-steps .astep>span:last-child{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical;white-space:normal!important;overflow:hidden;line-height:16px}
/* menu tài khoản trên đầu trang sáng: chữ, biểu tượng màu tối */
html body .head .menu b,html body .head .menu span,html body .head .menu button{color:#1F2A3D!important;-webkit-text-fill-color:#1F2A3D!important}
html body .head .menu small{color:#5B6478!important;-webkit-text-fill-color:#5B6478!important}
html body .head .menu .ms{color:#4B5A71!important;-webkit-text-fill-color:#4B5A71!important}
html body .head .menu button:hover{background:#F2F6FB!important}
/* tên nhóm con trong menu: một dòng chữ ngăn cách, chức năng xếp dưới */
html body .nav-sub{display:flex!important;align-items:center;gap:8px;padding:12px 16px 4px 20px!important;font:600 11px/16px Inter,sans-serif!important;text-transform:uppercase;letter-spacing:.05em;color:rgba(255,255,255,.6)!important}
html body .nav-sub::after{content:'';flex:1;height:1px;background:rgba(255,255,255,.18)}
html body table.t td.pc,html body table.t th.pc{text-align:center}
html body table.t th.pc{font-size:12px!important;line-height:15px!important;white-space:normal!important;padding:6px 4px!important}
html body table.t td.pc{padding:6px 4px!important}
.pcb{display:inline-block;padding:2px 6px;border-radius:3px;font:600 12px/16px Inter,sans-serif;white-space:nowrap}
.pc-D{background:#FDE8E6;color:#B42318}.pc-T{background:#E1ECF9;color:#063B86}.pc-G{background:#FEF3D6;color:#8A5A00}.pc-X{background:#EEF2F7;color:#4B5A71}
.pc0{color:#B4BCC8;font-size:12px}
/* 27/10/2026 (chủ dự án): mỗi danh sách 3 màu – chữ thường #1F2A3D, chữ phụ #6B7280, xanh liên kết #005BC1; liên kết không gạch dưới;
   cột Thao tác cùng màu các cột khác; mã dự án cùng màu chữ thường; "Còn thiếu" chữ thường một dòng; tên dự án đậm, xanh liên kết */
html body table.t thead th.opsc,html body table.t th.opsc{background:#DCE8F6!important;color:#16325C!important;box-shadow:none!important;border-left:1px solid #C9D8EC}
html body table.t tbody td.opsc{background:inherit!important;box-shadow:none!important;border-left:1px solid #E3E9F1}
html body table.t tbody tr:nth-child(even) td.opsc{background:#F8FAFD!important}
html body table.t tr.clk:hover td,html body table.t tr.clk:hover td.opsc{background:#EEF4FB!important}
html body table.t a,html body table.t .tlnk,html body .tlnk,html body a.miss,html body table.t .nm a{text-decoration:none!important}
html body table.t a:hover,html body table.t .tlnk:hover{text-decoration:underline!important}
html body table.t td .mono,html body table.t td.mono,html body table.t td code{color:#1F2A3D!important}
html body table.t td a.miss,html body table.t td .miss{color:#1F2A3D!important;font-weight:400!important;display:block;max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body table.t td .miss0{color:#6B7280!important}
html body table.t td .nm,html body table.t td .nm a,html body table.t td a.nm,html body table.t td .pwnm{color:#005BC1!important;font-weight:600!important}
html body table.t td .tlnk{color:#005BC1!important;font-weight:400!important}
html body table.t td .tlnks{display:flex;flex-wrap:nowrap;gap:12px;white-space:nowrap}
html body table.t td .sub{color:#6B7280!important}
html body table.t td .lbl,html body table.t td .lbl.n{background:#EEF2F7!important;color:#1F2A3D!important;border:0!important}
html body table.t td .nm,html body table.t td .nm a,html body table.t td a.nm,html body table.t td .pwnm{color:#1F2A3D!important;font-weight:500!important}
html body table.t tr:has(a.miss) td .nm,html body table.t tr:has(a.miss) td .nm a,html body table.t tr:has(a.miss) td a.nm,html body table.t tr:has(a.miss) td .pwnm{color:#005BC1!important;font-weight:700!important}
html body table.t td .nm,html body table.t td .nm *,html body table.t td a .nm,html body .card .nm{text-decoration:none!important;border-bottom:0!important}
/* 27/10/2026: biểu mẫu – ô nhập thẳng hàng dù nhãn một hay hai dòng; ô chọn tệp cùng kiểu ô nhập */
html body .fgrid{align-items:stretch!important}
html body .fgrid>.fld{display:flex!important;flex-direction:column;justify-content:flex-end}
html body .fgrid>.fld>label{margin-bottom:6px}
html body input[type=file]{width:100%;height:40px;padding:0 8px 0 0!important;border:1px solid #D0D7E2!important;border-radius:4px!important;background:#fff!important;font:400 14px/38px Inter,sans-serif;color:#4B5A71;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body input[type=file]::file-selector-button{height:38px;margin:0 10px 0 0;padding:0 14px;border:0;border-right:1px solid #D0D7E2;background:#F2F6FB;color:#063B86;font:600 14px Inter,sans-serif;cursor:pointer}
html body input[type=file]:hover::file-selector-button{background:#E1ECF9}
html body #mkf .fgrid,html body #modal .fgrid{align-items:stretch!important}
html body input[type=file]{height:34px!important;line-height:32px!important;font-size:14px}
html body input[type=file]::file-selector-button{height:32px!important}
/* nút trong chân hộp thoại: chỉ chữ, không biểu tượng */
html body #mF .btn .ms,html body .dfoot .btn.pri .ms{display:none!important}
/* 28/10/2026: mọi cửa sổ mở giữa màn hình (không mở cạnh phải) */
html body .drawer{top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;width:min(80vw,1180px)!important;max-width:94vw!important;max-height:86vh!important;border-radius:6px!important;
  transform:translate(-50%,-47%)!important;opacity:0;visibility:hidden;transition:opacity .15s ease,transform .15s ease,visibility 0s .15s!important}
html body .drawer.on{transform:translate(-50%,-50%)!important;opacity:1;visibility:visible;transition:opacity .15s ease,transform .15s ease!important}
html body .drawer .db{overflow:auto;flex:1 1 auto}
@media (max-width:768px){html body .drawer{width:94vw!important;max-height:92vh!important}}
html body .drawer [data-act=chzxlsb]{display:none!important}
/* thao tác mở màn khác, mở biểu mẫu trên dòng */
html body table.t td .ops2{display:inline-flex;gap:10px;margin-left:10px;white-space:nowrap;vertical-align:middle}
html body table.t td .ops2 .tlnk{background:none;border:0;padding:0;font:500 13px/18px Inter,sans-serif;color:#005BC1;cursor:pointer}
html body table.t td .ops2 .tlnk:hover{text-decoration:underline}
html body .rec-steps .badge.n{background:#EEF2F7!important;color:#6B7280!important}
html body table.t td.opsc{white-space:nowrap!important}
html body table.t td.opsc .ops{display:inline-flex!important;vertical-align:middle}
html body table.t td.opsc .ops2{display:inline-flex!important;margin-left:10px}
/* nhóm con thanh bên: bấm tiêu đề để mở, thu gọn */
html body button.nav-sub{width:100%;border:0;background:transparent;cursor:pointer;text-align:left}
html body button.nav-sub .ms{margin-left:auto;order:3;font-size:16px;color:rgba(255,255,255,.6);transition:transform .15s}
html body button.nav-sub[aria-expanded=true] .ms{transform:rotate(180deg)}
html body button.nav-sub:hover{color:#fff!important}
html body .nav-secb{display:none}
html body .nav-secb.open,html body #nav.q .nav-secb{display:block}
/* tab con trong hộp xử lý: một hàng, cuộn ngang khi nhiều */
.pw-sub{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin}
.pwt{white-space:nowrap;flex:none}
html body button.nav-sub{font:600 12px/18px Inter,sans-serif!important;color:rgba(255,255,255,.78)!important;padding:10px 16px 6px 56px!important;text-transform:none!important;letter-spacing:0!important}
html body button.nav-sub::after{display:none!important}
html body button.nav-sub>span{flex:1}
/* màn xử lý dự án ngay trên trang (4 phân hệ thực hiện): bộ lọc chọn dự án + màn xử lý */
.pwi-f{display:grid;grid-template-columns:1fr 1fr 2fr;gap:12px;align-items:end;background:#fff;border:1px solid #D9E1EC;border-radius:4px;padding:12px 14px;margin-bottom:12px}
.pwi-f .fld{margin:0}
.pwi-box{background:#fff;border:1px solid #D9E1EC;border-radius:4px;margin-bottom:12px;overflow:hidden}
.pwi-box .pw-h{border-bottom:1px solid #E3E9F1}
.pwi-box .pw-sub{display:flex;gap:4px;padding:0 16px;border-top:1px solid #E3E9F1}
.pwi-box .pwt{text-decoration:none}
.pwi-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:64px 16px;background:#fff;border:1px dashed #C9D3E0;border-radius:4px;color:#6B7280}
.pwi-empty .ms{font-size:40px;color:#9AA6B8}
@media (max-width:900px){.pwi-f{grid-template-columns:1fr}}
/* nhóm con thanh bên: một dòng */
html body button.nav-sub{white-space:nowrap!important;padding-left:20px!important}
html body button.nav-sub>span{overflow:hidden;text-overflow:ellipsis}
html body .ctxbar.pw-ctx,html body #main .ctxbar.pw-ctx{display:none!important}
html body .nav-gi>button.nav-sub,html body button.nav-sub{display:flex!important;width:100%!important;max-width:none!important;box-sizing:border-box;align-items:center;gap:6px}
html body button.nav-sub>span{flex:1 1 auto!important;min-width:0;max-width:none!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
/* ===== 28/10/2026 (chủ dự án): QUY TẮC CHỮ CHỐT – một họ chữ Inter; 6 cỡ chữ =====
   T1 20px/700  tên hệ thống trên đầu trang
   T2 18px/700  tiêu đề cửa sổ, tên dự án trong hộp xử lý
   T3 14px/700  tiêu đề khối (in hoa); nhóm menu 14px/600
   T4 14px/400  nội dung: ô bảng, giá trị, ô nhập, nút, mục menu, tab, thông báo (nhấn mạnh 600)
   T5 13px      chữ phụ: nhãn trường, tiêu đề cột, đường dẫn, dòng phụ dưới tên, thanh bước, nút nhỏ
   T6 12px/600  nhãn trạng thái, tiêu đề nhóm con menu, đơn vị dưới tiêu đề cột
   Số liệu thẻ chỉ số 28px/700. Mã, số văn bản, ngày: cùng chữ Inter, số đều cột (không dùng chữ máy đánh). */
:root{--fs-1:20px;--fs-2:18px;--fs-3:14px;--fs-4:14px;--fs-5:13px;--fs-6:12px}
html body,html body *:not(.ms):not([class*="material-symbols"]){font-family:Inter,"Segoe UI",Arial,sans-serif!important}
html body .mono,html body td.mono,html body code,html body kbd,html body .tl time,html body .tl .when{font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-variant-numeric:tabular-nums;letter-spacing:0!important;font-size:inherit!important}
html body{font-size:14px;line-height:20px}
/* T1, T2 */
html body .head .hbrand b{font-size:20px!important;line-height:28px!important;font-weight:700!important}
html body #dT,html body #mT,html body .pw-t b,html body .drawer .dh h3,html body .modal .dh h3{font-size:18px!important;line-height:26px!important;font-weight:700!important}
/* T3 */
html body .card>.ch h3,html body details.card>summary.ch h3{font-size:14px!important;line-height:20px!important;font-weight:700!important}
html body .nav-gh,html body .nav-gh span{font-size:14px!important;line-height:20px!important;font-weight:600!important}
/* T4 */
html body table.t td,html body .kv dd,html body .kv .v,html body .in,html body .sel,html body .ta,html body input,html body select,html body textarea,html body .btn,html body .nav-i,html body .tab,html body .pwt,html body .toast,html body .menu button b,html body .rec-steps li b,html body .one-nav .btn{font-size:14px!important;line-height:20px}
html body table.t td b,html body table.t td .nm,html body table.t td .pwnm{font-weight:600}
/* T5 */
html body .fld>label,html body .fld label,html body table.t th,html body #hBc,html body #hBc *,html body .sub,html body small,html body .kv dt,html body .kv .k,html body .btn.sm,html body .arrow-steps .astep,html body .tlnk,html body .ops2 .tlnk,html body .pw-t span,html body .tsrc,html body .miss,html body .miss0,html body .pwi-f label,html body .kpi .lab,html body .kpi small{font-size:13px!important;line-height:18px}
html body table.t th{font-weight:600!important}html body .fld>label{font-weight:500!important}
/* T6 */
html body .badge,html body .lbl,html body .pcb,html body button.nav-sub,html body button.nav-sub span,html body table.t th small,html body table.t th .u,html body .anum,html body .dotc{font-size:12px!important;line-height:16px!important}
html body .badge,html body .lbl{font-weight:500!important}
/* số liệu thẻ chỉ số */
html body .kpi .num,html body .kpi b.v,html body .kpi .val,html body .kpi strong{font-size:28px!important;line-height:34px!important;font-weight:700!important}
/* tiêu đề trạng thái rỗng */
html body .empty h3,html body .pwi-empty b{font-size:14px!important;font-weight:600!important}
/* thanh bên: mũi tên nhóm con canh mép phải */
html body button.nav-sub{justify-content:space-between!important}
html body button.nav-sub>span{flex:1 1 0%!important;width:auto!important}
html body button.nav-sub>.ms{flex:none!important;margin-left:8px!important;order:3}
html body .kpi .klbl{font-size:13px!important;line-height:18px!important;font-weight:500!important}
html body .kpi .kval{font-size:28px!important;line-height:34px!important;font-weight:700!important}
html body .kpi .kval small{font-size:13px!important;font-weight:500!important;margin-left:4px}
html body .kpi .kdel{font-size:13px!important;line-height:18px!important}
/* biểu tượng không theo cỡ chữ */
html body .nav-gh>.ms:first-child,html body .nav-gh .ms:not(.sm){font-size:20px!important;line-height:20px!important;font-weight:400!important}
html body .nav-gh .ms.sm,html body .nav-gh .chev{font-size:18px!important;font-weight:400!important}
html body button.nav-sub>.ms{font-size:16px!important;line-height:16px!important;font-weight:400!important}
html body .ms.sm{font-size:18px}
/* tìm dự án: ô gợi ý + điều kiện phụ + nút Tìm kiếm */
.pwi-f{grid-template-columns:2fr 1fr 1fr auto!important}
.pwi-qw{position:relative}
.pwi-sug{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;background:#fff;border:1px solid #C9D3E0;border-radius:4px;box-shadow:0 8px 24px rgba(16,24,40,.14);max-height:320px;overflow:auto}
.pwi-sug[hidden]{display:none}
.pwi-o{display:flex;align-items:baseline;gap:8px;width:100%;padding:8px 12px;border:0;border-bottom:1px solid #EEF2F7;background:#fff;text-align:left;cursor:pointer;font-size:14px;color:#1F2A3D}
.pwi-o:hover,.pwi-o:focus{background:#EEF4FB;outline:0}
.pwi-o small{margin-left:auto;color:#6B7280;font-size:13px;white-space:nowrap}
.pwi-none{padding:10px 12px;color:#6B7280;font-size:13px}
.pwi-go .btn{height:34px}
@media (max-width:900px){.pwi-f{grid-template-columns:1fr!important}}
/* tìm dự án: hàng chính (dự án + Tìm kiếm); điều kiện phụ thu gọn, ghi rõ không bắt buộc */
.pwi-f{display:block!important;padding:12px 14px 10px!important}
.pwi-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}
.pwi-qw .in{padding-right:36px}
.pwi-x{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:26px;height:26px;border:0;border-radius:50%;background:transparent;color:#6B7280;cursor:pointer;display:grid;place-items:center}
.pwi-x:hover{background:#EEF2F7;color:#1F2A3D}
.pwi-adv-t{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:2px 0;border:0;background:none;color:#005BC1;font-size:13px;cursor:pointer}
.pwi-adv-t:hover span{text-decoration:underline}
.pwi-adv{display:grid;grid-template-columns:auto 1fr 1fr;gap:12px;align-items:end;margin-top:8px;padding-top:10px;border-top:1px dashed #D9E1EC}
.pwi-adv[hidden]{display:none}
.pwi-adv-l{font-size:12px;font-weight:600;color:#6B7280;padding-bottom:9px;white-space:nowrap}
@media (max-width:900px){.pwi-row,.pwi-adv{grid-template-columns:1fr}}
/* bộ lọc dự án gọn một hàng; đầu dự án, thanh bước nén lại */
.pwi-f{display:grid!important;grid-template-columns:minmax(260px,2fr) minmax(160px,1fr) minmax(160px,1fr) auto!important;gap:12px!important;align-items:end!important;padding:10px 14px!important}
.pwi-f .fld>label{margin-bottom:4px!important}
.pwi-adv,.pwi-adv-t{display:none!important}
.pwi-box .pw-h{padding:8px 14px!important}
.pwi-box .pw-tabs{padding:8px 14px 0!important}
.pwi-box .pw-tabs .arrow-steps{margin:0 0 8px!important}
.pwi-box .arrow-steps .astep{height:38px!important}
.pwi-empty{padding:40px 16px!important}
.pwi-empty .btn{margin-top:4px}
@media (max-width:1000px){.pwi-f{grid-template-columns:1fr 1fr!important}}
/* bộ lọc dự án một hàng: đóng – ô Dự án dài; mở – ô Dự án ngắn lại, hiện Nhà thầu, Đơn vị quản lý dự án */
html body .pwi-f{display:grid!important;grid-template-columns:1fr auto auto!important;gap:12px!important;align-items:end!important}
html body .pwi-f .pwi-more{display:none}
html body .pwi-f.adv{grid-template-columns:minmax(240px,1.4fr) minmax(320px,2fr) auto auto!important}
html body .pwi-f.adv .pwi-more{display:grid;grid-template-columns:1fr 1fr;gap:12px}
html body .pwi-f .pwi-more .fld{margin:0}
html body .pwi-tg .btn{height:34px;white-space:nowrap}
@media (max-width:1000px){html body .pwi-f,html body .pwi-f.adv{grid-template-columns:1fr!important}html body .pwi-f.adv .pwi-more{grid-template-columns:1fr}}
/* "Thêm điều kiện" / "Ẩn": dòng chữ nhỏ ở góc dưới bên phải ô Dự án */
html body .pwi-f{grid-template-columns:1fr auto!important;padding-bottom:26px!important}
html body .pwi-f.adv{grid-template-columns:minmax(240px,1.4fr) minmax(320px,2fr) auto!important}
html body .pwi-lnk{position:absolute;right:0;top:calc(100% + 3px);padding:0;border:0;background:none;color:#005BC1;font-size:13px!important;line-height:18px;cursor:pointer;white-space:nowrap}
html body .pwi-lnk:hover{text-decoration:underline}
html body .pwi-lnk:focus-visible{outline:2px solid #005BC1;outline-offset:2px}
/* liên kết đi theo ô cuối cùng đang hiện: đóng – dưới đuôi ô Dự án; mở – dưới đuôi ô Đơn vị quản lý dự án */
html body .pwi-f .pwi-more{position:relative}
html body .pwi-f .pwi-lnk-hide{display:none}
html body .pwi-f.adv .pwi-lnk-add{display:none}
html body .pwi-f.adv .pwi-lnk-hide{display:block}
/* liên kết Thêm điều kiện / Ẩn: cùng hàng với nhãn, góc phải của ô cuối cùng đang hiện */
html body .pwi-f{padding-bottom:10px!important}
html body .pwi-f .pwi-lnk-add{top:-22px!important}
html body .pwi-f .pwi-lnk-hide{top:0!important}
html body .pwi-f .fld>label{display:block;padding-right:110px}

/* 28/10/2026: nguồn dữ liệu của khối hiện khi rê chuột lên tiêu đề (src28.js) */
html body .card>.ch h3[data-src]{cursor:help}

/* 29/10/2026: bộ lọc cách danh sách rõ hơn; đường kẻ bảng mờ hơn */
html body .card .toolbar{margin-bottom:14px!important}
html body table.t tbody td{border-color:#EDF1F6!important}
html body table.t thead th,html body table.t thead th.opsc,html body table.t th.opsc{border-color:#D5E1EF!important}
html body table.t tbody td.opsc{border-left-color:#EDF1F6!important}
/* 29/10/2026 (chủ dự án): bộ lọc cách khối dưới xa hơn; thanh bên: tên phân hệ 14, còn lại 13 */
html body .card .toolbar{margin-bottom:22px!important}
html body #nav .nav-gh,html body #nav .nav-gh span{font-size:14px!important;line-height:20px!important}
html body #nav button.nav-sub,html body #nav button.nav-sub span{font-size:13px!important;line-height:18px!important;font-weight:600!important}
html body #nav .nav-i,html body #nav .nav-i span{font-size:13px!important;line-height:18px!important}
html body #nav .nav-gh>.ms:first-child,html body #nav .nav-gh .ms:not(.sm){font-size:20px!important}
html body #nav button.nav-sub>.ms{font-size:16px!important}

/* 29/10/2026: đường kẻ dưới bộ lọc dịch xuống, sát bảng hơn */
html body .card .toolbar{padding-bottom:20px!important;margin-bottom:14px!important}
/* 29/10/2026 (chủ dự án): nút thêm mới thống nhất màu xanh đậm; nút phụ đầu khối cùng một kiểu; ô tìm chức năng kéo hết chiều ngang; số thông báo màu đỏ */
html body .card>.ch .btn.pri,html body .card>summary .btn.pri,html body .btn.add-pri{background:#005BC1!important;border:1px solid #005BC1!important;color:#fff!important}
html body .card>.ch .btn.pri .ms,html body .btn.add-pri .ms{color:#fff!important}
html body .card>.ch .btn.pri:hover,html body .btn.add-pri:hover{background:#063B86!important;border-color:#063B86!important}
html body .card>.ch .btn:not(.pri):not(.danger),html body .card>summary .btn:not(.pri):not(.danger){background:#E8F1FB!important;border:1px solid #D5E3F5!important;color:#063B86!important}
html body .side-sub .side-q{margin:0 12px!important;display:flex!important}
html body .side-q .side-search{flex:1 1 auto!important;width:100%!important;max-width:none!important}
html body .side-q .side-search input{width:100%!important}
html body #bellN,html body .hbtn .dotc{background:#D92D20!important;color:#fff!important;border-color:#fff!important}
html body .side .side-sub{padding-left:12px!important;padding-right:12px!important}
html body .side-sub .side-q{margin:0!important}
/* 29/10/2026: bước chưa thao tác được – xám tối hơn (vẫn mở để xem) */
html body .arrow-steps .astep.fut:not(.on){color:#8A94A6!important}
html body .arrow-steps .astep.fut:not(.on)::before{background:#E9EDF2!important}
html body .arrow-steps .astep.fut:not(.on) .anum{background:#CDD4DE!important;color:#5B6576!important}
html body .arrow-steps .astep.ro:not(.on){color:#5B6576!important}
html body .arrow-steps .astep.ro:not(.on)>span:last-child::after{content:' (xem)';font-weight:400}
html body .pwt.off:not(.on){color:#8A94A6!important}
/* 29/10/2026: chế độ xem trong cửa sổ dự án; khối không thu gọn */
html body .ro-off{display:none!important}
html body .card.cc-off>.cb{display:block!important}
html body .arrow-steps .astep.fut:not(.on){cursor:not-allowed}

/* 30/10/2026: biểu tiến độ thi công chi tiết (Gantt theo tháng) */
html body table.gantt th.gm{min-width:38px;text-align:center;padding:6px 2px!important;font-size:12px!important}
html body table.gantt td.gc{padding:0!important;min-width:38px;border-left:1px solid #EDF1F6}
html body table.gantt td.gc.on{background:#9DBCE8}
html body table.gantt td.gc.now{background:#005BC1}
html body table.gantt .gl{color:#C0362C}
html body table.gantt td .sub{font-size:12px;color:#6B7280}

/* 30/10/2026: bộ lọc dự án và thông tin dự án trong một khung "Thông tin dự án" */
html body .pwi-card{background:#fff;border:1px solid #D9E1EC;border-radius:4px;margin-bottom:12px;overflow:visible}
html body .pwi-ch{padding:10px 16px;border-bottom:1px solid #E3E9F1}
html body .pwi-ch h3{margin:0;font:700 14px/20px Inter,sans-serif!important;text-transform:uppercase;color:#163A70;border-left:3px solid #005BC1;padding-left:10px}
html body .pwi-card .pwi-f{border:0!important;border-radius:0;margin:0!important;padding:10px 16px 12px!important;background:transparent}
html body .pwi-card .pwi-box{border:0!important;border-top:1px solid #E3E9F1!important;border-radius:0;margin:0!important}
html body .pwi-card .pwi-empty{border:0!important;border-top:1px solid #E3E9F1!important;margin:0!important}
/* breadcrumb dưới tên hệ thống ở đầu trang */
html body .head .hbrand-col{display:flex;flex-direction:column;justify-content:center;min-width:0}
html body .head .hbrand-col .hbrand{line-height:24px}
html body .head .hbrand-col #hBc{margin:0!important;padding:0!important;font-size:12px!important;line-height:16px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .head .hbrand-col #hBc *{font-size:12px!important}
html body .head .hbrand-col #hBc>a:first-child::before{font-size:14px;vertical-align:-3px}
html body .hcr.pgh.bc-moved{display:none!important}

/* 01/11/2026 (edit31): tên dự án trong danh sách cùng kiểu với mọi danh sách (không tô đậm dòng còn thiếu văn bản) */
html body table.t tr:has(a.miss) td .pwnm,html body .pwlist .pwnm{color:#1F2A3D!important;font-weight:500!important}
html body .fld.ed31-hid{display:none!important}
/* tên dự án, nhiệm vụ trong mọi danh sách cùng một kiểu; văn bản còn thiếu chỉ hiện ở cột riêng */
html body table.t tr:has(a.miss) td .nm,html body table.t tr:has(a.miss) td .nm a,html body table.t tr:has(a.miss) td a.nm{color:#1F2A3D!important;font-weight:500!important}
/* 01/11/2026: bộ lọc Danh sách dự án theo đặc tả chủ dự án */
html body .plf{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px;padding:12px 16px 14px;border-bottom:1px solid var(--line-2,#E5E9F0);align-items:end}
html body .plf .plf-q{grid-column:span 2}
html body .plf .plf-btn{display:flex;gap:8px;justify-content:flex-end;grid-column:span 2}
@media (max-width:900px){html body .plf{grid-template-columns:repeat(2,minmax(0,1fr))}}
html body .card .cb:has(> .plf) .toolbar{display:none!important}
/* 01/11/2026: biểu mẫu dự án – nhóm dự án dạng nút chọn, xã/phường chọn nhiều; bảng danh sách dự án cuộn ngang */
html body .radios{display:flex;flex-wrap:wrap;gap:6px 16px;min-height:38px;align-items:center}
html body .radios .rad{display:inline-flex;gap:6px;align-items:center;font-weight:400}
html body .chklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px;max-height:150px;overflow:auto;border:1px solid var(--g-border,#d8dee8);border-radius:6px;padding:8px 10px}
html body .chklist .chk{display:flex;gap:6px;align-items:center;font-weight:400}
html body .cb:has(> .plf) .tw{overflow-x:auto}
html body .cb:has(> .plf) table.t th{white-space:normal;vertical-align:bottom}
html body .plf .plf-btn{grid-column:-3 / -1!important}
html body .cb:has(> .plf) table.t td.opsc{background-color:var(--bg-surface,#fff)!important}
html body .cb:has(> .plf) table.t tr:nth-child(even) td.opsc{background-color:#F7F9FC!important}
html body .cb:has(> .plf) table.t th.opsc{background:#DCE8F6!important}
/* bảng Danh sách dự án: nút thao tác chỉ biểu tượng (tên ở chú thích khi rê chuột) để cột Thao tác dính phải không che cột vốn */
html body .cb:has(> .plf) td.opsc .btn,html body .cb:has(> .plf) td.opsc .ibtn{font-size:0!important;gap:0!important;padding:0 7px!important;min-width:32px}
html body .cb:has(> .plf) td.opsc .ms{font-size:18px!important;margin:0!important}
html body .cb:has(> .plf) td.opsc .ops{display:flex;gap:4px;flex-wrap:nowrap}
html body .plf-tools{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;padding:12px 16px 4px}
html body .plf{border-bottom:0!important}
html body .plf-tools .btn.pri,html body .plf-tools .btn[data-act="mgadd"]{background:#005BC1!important;border-color:#005BC1!important;color:#fff!important}
html body .plf-tools .btn[data-act="mgadd"] .ms{color:#fff!important}
/* 01/11/2026: nút của bảng nằm ngay trên bảng (tools33.js) */
html body .tbl-tools{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center;padding:12px 16px 8px}
html body .tbl > .toolbar + .tbl-tools{padding-top:0}
/* 01/11/2026: hộp thoại danh mục theo nghị quyết, dự án con (plan33.js) */
html body #modal.p33m{width:min(1280px,94vw)!important;max-width:94vw!important}
html body .p33w{overflow-x:auto}
html body .p33t{min-width:1100px}
html body .p33t td.mono,html body .p33t td.r,html body .p33t td.opsc,html body .p33t th.r{white-space:nowrap}
html body .p33t td:nth-child(2){min-width:220px}
html body .p33t td:nth-child(3){min-width:190px}html body .p33t td:nth-child(7){min-width:190px}
/* 01/11/2026: hộp thoại 90–95% màn hình, biểu mẫu chia khối (ui34.js) */
html body #modal:not(.mconfirm){width:94vw!important;max-width:94vw!important;height:92vh!important;max-height:92vh!important}
html body #modal .msec,html body #modal .msec-solo{border:1px solid #D6E2F0;border-radius:4px;background:#fff;margin:0 0 14px}
html body #modal .msec>.msec-h{background:#EAF2FC;color:#0B4FA3;font-weight:700;text-transform:uppercase;font-size:13px;letter-spacing:.2px;padding:10px 16px;margin:0!important;border-bottom:1px solid #D6E2F0;border-radius:4px 4px 0 0}
html body #modal .msec>.fgrid,html body #modal .fgrid.msec-solo{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px 24px!important;padding:14px 16px}
html body #modal .msec .fld,html body #modal .msec-solo .fld{display:grid;grid-template-columns:minmax(96px,38%) minmax(0,1fr);align-items:center;column-gap:10px;margin:0;min-width:0}
html body #modal .msec .fld>label,html body #modal .msec-solo .fld>label{margin:0;font-size:13px;line-height:1.35}
html body #modal .msec .fld>:not(label),html body #modal .msec-solo .fld>:not(label){grid-column:2;min-width:0}
html body #modal .msec .fld:has(textarea),html body #modal .msec .fld:has(table),html body #modal .msec .fld:has(.fgt),html body #modal .msec .fld:has(.chklist),
html body #modal .msec-solo .fld:has(textarea),html body #modal .msec-solo .fld:has(table),html body #modal .msec-solo .fld:has(.chklist){grid-column:1/-1;grid-template-columns:1fr}
html body #modal .msec .fld:has(textarea)>:not(label),html body #modal .msec .fld:has(table)>:not(label),html body #modal .msec .fld:has(.fgt)>:not(label),html body #modal .msec-solo .fld:has(textarea)>:not(label),html body #modal .msec-solo .fld:has(table)>:not(label){grid-column:1}
@media (max-width:1200px){html body #modal .msec>.fgrid,html body #modal .fgrid.msec-solo{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){html body #modal .msec>.fgrid,html body #modal .fgrid.msec-solo{grid-template-columns:1fr!important}html body #modal .msec .fld,html body #modal .msec-solo .fld{grid-template-columns:1fr}html body #modal .msec .fld>:not(label),html body #modal .msec-solo .fld>:not(label){grid-column:1}}
html body #modal .msec>.fgrid>.fld:not(.ed31-hid):not([hidden]):not([style*="none"]),html body #modal .fgrid.msec-solo>.fld:not(.ed31-hid):not([hidden]):not([style*="none"]){display:grid!important;grid-template-columns:minmax(96px,38%) minmax(0,1fr);align-items:center!important;justify-content:stretch!important}
html body #modal .msec>.fgrid>.fld:is(:has(textarea),:has(table),:has(.fgt),:has(.chklist)),html body #modal .fgrid.msec-solo>.fld:is(:has(textarea),:has(table),:has(.chklist)){grid-template-columns:1fr!important}
html body #modal .msec .fld>label,html body #modal .msec-solo .fld>label{text-align:left!important;justify-self:start;padding:0!important}
html body #modal .msec>.lab.msec-h{text-transform:uppercase!important;font-weight:700!important;color:#0B4FA3!important;letter-spacing:.2px!important}
/* ui34 (2) 01/11/2026: nhãn bắt buộc chữ thường, chỉ dấu * đỏ; tiêu đề khối thấp; dòng gần nhau; ô chọn tệp dài; thao tác chỉ biểu tượng */
html body #modal .msec .fld>label .req,html body #modal .msec-solo .fld>label .req{color:#D32F2F!important}
html body #modal .msec>.lab.msec-h{padding:6px 14px!important;line-height:20px!important;font-size:12.5px!important}
html body #modal .msec>.fgrid,html body #modal .fgrid.msec-solo{gap:6px 24px!important;padding:8px 14px 10px!important}
html body #modal .msec,html body #modal .msec-solo{margin:0 0 10px}
html body #modal .msec>.fgrid>.fld:has(input[type=file]),html body #modal .fgrid.msec-solo>.fld:has(input[type=file]){grid-column:span 2}
html body #modal .msec>.fgrid>.fld:not(.ed31-hid):has(input[type=file]){grid-template-columns:calc((100% - 24px)/2*0.38) minmax(0,1fr)!important}
html body .ops .ibtn::after{content:none!important}
html body .ops .ibtn{width:32px!important;min-width:32px;padding:0!important;justify-content:center;gap:0!important}
html body td.opsc .tl-ic,html body .ops2 .tl-ic{display:inline-flex;align-items:center;justify-content:center;width:32px;height:30px;border-radius:4px;background:#F2F4F7;margin-left:6px;vertical-align:middle;text-decoration:none}
html body td.opsc .tl-ic .ms,html body .ops2 .tl-ic .ms{color:var(--brand)}
html body .tw-scroll{overflow-x:auto}
/* ui34 (3) 01/11/2026: chữ nội dung 14px, tiêu đề 16px; khoảng cách trường 10px; chữ gợi ý, ô chưa chọn không đậm; cột thao tác không đè */
html body #main,html body #modal,html body #drawer,html body #pw{font-size:14px}
html body #main table.t td,html body #main table.t th,html body #modal table.t td,html body #modal table.t th,html body #drawer table.t td,html body #drawer table.t th,html body #pw table.t td,html body #pw table.t th,
html body .fld>label,html body .fld label,html body .in,html body .sel,html body input.in,html body select.sel,html body textarea,html body #main .btn,html body #modal .btn,html body #drawer .btn,html body #pw .btn,
html body .kv,html body .kv *,html body #main .sub,html body #modal .sub,html body #drawer .sub,html body #pw .sub,html body table.t td .nm,html body .toolbar .fld>label{font-size:14px!important}
html body .badge,html body .badge *{font-size:12.5px!important}
html body .card>.ch h3,html body details.card>summary h3,html body #mT,html body #dT,html body #modal .msec>.lab.msec-h,html body #pw h2,html body #pw .pwnm{font-size:16px!important;line-height:24px!important}
html body .fgrid{gap:10px 16px!important}
html body #modal .msec>.fgrid,html body #modal .fgrid.msec-solo{gap:10px 16px!important}
html body input::placeholder,html body textarea::placeholder{font-weight:400!important;color:#98A2B3!important}
html body .in,html body .sel,html body textarea{font-weight:400!important}
html body select option{color:#1F2937;font-weight:400}
html body .tw-scroll td.opsc,html body .tw-scroll th.opsc{min-width:128px;white-space:nowrap;position:relative;z-index:1;background:#fff}
html body .tw-scroll td.opsc .ops{flex-wrap:nowrap}
html body .tw-scroll tbody tr:nth-child(even) td.opsc{background:#FAFAFB}
/* ui34 (4): ô chọn đang ở "— Chọn —" chữ nhạt; cột bảng cuộn ngang không bẻ chữ dọc; cột thao tác ghim bên phải */
html body select.is-empty{color:#98A2B3!important;font-weight:400!important}
html body .tw-scroll table.t td,html body .tw-scroll table.t th{min-width:120px}
html body .tw-scroll table.t td:first-child,html body .tw-scroll table.t th:first-child{min-width:0}
html body .tw-scroll td.opsc,html body .tw-scroll th.opsc{position:sticky!important;right:0;box-shadow:-6px 0 8px -6px rgba(16,24,40,.18)}
html body .tw-scroll th.opsc{background:#DCE8F6!important}
html body .tw-scroll table.t tbody td.opsc{background:#fff!important}
html body .tw-scroll table.t tbody tr:nth-child(even) td.opsc{background:#FAFAFB!important}
html body .tw-scroll table.t tbody tr:hover td.opsc{background:#F5F8FD!important}
/* ui34 (5) 01/11/2026: mọi bảng hiện đủ cột, cuộn ngang; cột thao tác ghim phải */
html body .tw{overflow-x:auto}
html body .tw:has(table.t thead th:nth-child(7)) table.t td,html body .tw:has(table.t thead th:nth-child(7)) table.t th{min-width:110px}
html body .tw:has(table.t thead th:nth-child(7)) table.t td:first-child,html body .tw:has(table.t thead th:nth-child(7)) table.t th:first-child{min-width:0}
html body .tw table.t td.opsc,html body .tw table.t th.opsc{position:sticky!important;right:0;z-index:1;min-width:0;white-space:nowrap;box-shadow:-6px 0 8px -6px rgba(16,24,40,.18)}
html body .tw table.t tbody td.opsc{background:#fff!important}
html body .tw table.t tbody tr:nth-child(even) td.opsc{background:#FAFAFB!important}
html body .tw table.t tbody tr:hover td.opsc{background:#F5F8FD!important}
html body .tw table.t th.opsc{background:#DCE8F6!important}
html body .tw table.t td.opsc .ops{flex-wrap:nowrap}
/* ui34 (6) 01/11/2026: thanh đầu trang thấp hơn; tiêu đề hệ thống 16px; chữ tài khoản 14px */
html body .head{height:48px!important;min-height:48px!important}
html body .head .hbrand b{font-size:16px!important;line-height:22px!important}
html body .head .hbrand-col .hbrand{line-height:20px}
html body .head .who b,html body .head .who small{font-size:14px!important;line-height:18px!important}
html body .head .who small{font-size:12px!important;line-height:16px!important}
html body .head .who .av{width:32px!important;height:32px!important;font-size:13px!important}
html body .head .hq{height:34px!important}
html body .side .side-top{height:48px!important;min-height:48px!important;padding-top:0!important;padding-bottom:0!important;display:flex;align-items:center}
html body .side .side-top .home-btn .hb-tx b{font-size:14px!important;line-height:18px!important}
html body .side .side-top .home-btn .hb-tx small{font-size:11px!important;line-height:14px!important}
html body .side .side-top .hseal-img,html body .side .side-top img{width:32px!important;height:32px!important}
/* ui34 (7) 01/11/2026: biểu mẫu trong hộp thoại chia đôi (2 cột); tiêu đề khối cỡ 14 */
html body #modal .msec>.fgrid,html body #modal .fgrid.msec-solo{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #modal .msec>.fgrid>.fld:not(.ed31-hid):not([hidden]):not([style*="none"]),html body #modal .fgrid.msec-solo>.fld:not(.ed31-hid):not([hidden]):not([style*="none"]){grid-template-columns:minmax(120px,30%) minmax(0,1fr)}
html body #modal .msec>.fgrid>.fld:has(input[type=file]),html body #modal .fgrid.msec-solo>.fld:has(input[type=file]){grid-column:span 1}
html body #modal .msec>.fgrid>.fld:not(.ed31-hid):has(input[type=file]){grid-template-columns:minmax(120px,30%) minmax(0,1fr)!important}
html body #modal .msec>.lab.msec-h{font-size:14px!important;line-height:20px!important}
@media (max-width:640px){html body #modal .msec>.fgrid,html body #modal .fgrid.msec-solo{grid-template-columns:1fr!important}}
/* ui34 (8): ô chọn nhiều chiếm cả hàng, đủ cao */
html body #modal .msec>.fgrid>.fld:has(select[multiple]),html body #modal .fgrid.msec-solo>.fld:has(select[multiple]){grid-column:1/-1}
html body #modal .fld select[multiple]{min-height:120px;height:auto}
/* ui34 (9) 01/11/2026: mọi cửa sổ bật lên 94% x 92% màn hình – ngăn chi tiết, hộp xử lý dự án */
html body .drawer{width:94vw!important;max-width:94vw!important;max-height:92vh!important;height:92vh!important}
html body .pw-dlg{width:94vw!important;height:92vh!important}
/* ui34 (10): hộp xử lý dự án chỉ một nút Lịch sử (ở đầu hộp) */
html body #pw [data-act="onehist"]{display:none!important}
/* ui34 (11): cột Thao tác vừa với nút */
html body table.t th.opsc,html body table.t td.opsc,html body .tw table.t td.opsc,html body .tw table.t th.opsc,html body .tw-scroll td.opsc,html body .tw-scroll th.opsc,html body .tw:has(table.t thead th:nth-child(7)) table.t td.opsc,html body .tw:has(table.t thead th:nth-child(7)) table.t th.opsc{width:1%!important;min-width:0!important;padding-left:10px!important;padding-right:10px!important}
html body td.opsc .ops,html body td.opsc .tlnks{gap:4px}
html body td.opsc .tl-ic{margin-left:0}
/* ui35 (01/11/2026): tiêu đề bảng gọn, nút danh sách một hàng, cột Thao tác có đường kẻ, biểu tượng căn giữa */
html body table.t thead th{vertical-align:middle!important}
html body .plf .plf-btn{grid-column:1 / -1!important;flex-wrap:wrap;justify-content:flex-end}
html body .plf-btn .btn[data-act="mgadd"]{background:#005BC1!important;border-color:#005BC1!important;color:#fff!important}
html body .plf-btn .btn[data-act="mgadd"] .ms{color:#fff!important}
html body .tw table.t td.opsc,html body .tw table.t th.opsc{box-shadow:inset 1px 0 0 #E5E6EA,inset 0 -1px 0 #E5E6EA,-6px 0 8px -6px rgba(16,24,40,.18)!important;text-align:center!important}
html body td.opsc .ops,html body td.opsc .tlnks{justify-content:center;align-items:center}
html body td.opsc .ibtn,html body td.opsc .btn{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}
/* ui35 (2): nhóm ô chọn nhiều (xã, phường) nằm ngay sau nhãn, trải hết chiều ngang khối */
html body #modal .msec>.fgrid>.fld.fld:has(.chklist),html body #modal .fgrid.msec-solo>.fld.fld:has(.chklist){grid-column:1/-1!important;grid-template-columns:max(120px,calc((100% - 24px)*0.15)) minmax(0,1fr)!important;align-items:start!important}
html body #modal .msec .fld:has(.chklist)>label{padding-top:8px}
html body #modal .msec .fld .chklist{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;justify-self:stretch;margin:0}
/* ui35 (3) 01/11/2026: không cắt chữ bằng "…" trong bảng; nội dung dài xuống dòng */
html body table.t td a.miss,html body table.t td .miss{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:320px}
/* ui35 (4) 01/11/2026: cụm thông tin dự án gọn; dải bước thấp hơn; bước chưa tới không bấm được */
html body .pwi-box .pw-h.pwi-h1{padding:4px 14px!important;min-height:0;border-bottom:0!important}
html body .pwi-box .pw-h.pwi-h1 .pw-t span{font-size:13px;color:#5B6576}
html body .pwi-box .pw-h.pwi-h1 .btn{height:28px;padding:0 10px}
html body .pwi-box .pw-tabs{padding:4px 14px 0!important}
html body .pwi-box .arrow-steps .astep,html body .pw-tabs .arrow-steps .astep{height:32px!important;font-size:13px!important}
html body .arrow-steps .astep .anum{width:20px!important;height:20px!important;font-size:12px!important}
html body .pwi-box .pw-tabs .arrow-steps{margin:0 0 6px!important}
html body .arrow-steps .astep[disabled]{pointer-events:none;opacity:.75}
html body .pw-tabs .arrow-steps .astep>span:last-child{text-overflow:clip!important}
html body .pwi-card .pwi-ch{padding-top:8px!important;padding-bottom:8px!important}
html body .pwi-card .pwi-f{padding-top:6px!important;padding-bottom:8px!important}
html body .arrow-steps .astep span{text-overflow:clip!important;-webkit-line-clamp:unset!important;display:block;overflow:visible!important;white-space:normal!important;line-height:15px}
html body .arrow-steps{align-items:stretch!important}
html body .arrow-steps .astep,html body .pwi-box .arrow-steps .astep,html body .pw-tabs .arrow-steps .astep{height:auto!important;min-height:34px!important;padding-top:3px!important;padding-bottom:3px!important}
/* ui35 (5) 01/11/2026: phân hệ một màn – tiêu đề là liên kết; dải bước giữ đủ nhãn, cuộn ngang khi hẹp */
html body .nav-g.nav-one>.nav-gi{display:none!important}
html body .nav-g.nav-one>a.nav-gh{text-decoration:none}
html body .nav-g.nav-one.cur>a.nav-gh,html body .nav-g.nav-one>a.nav-gh.on{background:rgba(255,255,255,.12);box-shadow:inset 3px 0 0 #7FB2FF}
@media (max-width:1280px){
 html body .arrow-steps{overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:thin}
 html body .arrow-steps .astep,html body .pw-tabs .arrow-steps .astep,html body .pwi-box .arrow-steps .astep{flex:0 0 auto!important;min-width:max-content!important}
 html body .arrow-steps .astep span,html body .pw-tabs .arrow-steps .astep>span:last-child{white-space:nowrap!important;display:block!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important}
}
html body .arrow-steps .astep .anum{flex:0 0 auto!important}
/* ui35 (6) 01/11/2026: dải bước các khối trong màn thu nhỏ: chữ 13px, cao tối thiểu 32px, ô rộng theo độ dài nhãn để không quá 2 dòng */
html body .arrow-steps .astep{font-size:13px!important;line-height:15px!important;min-height:32px!important;padding:3px 12px 3px 20px!important;flex:1 1 auto!important;gap:6px!important}
html body .arrow-steps .astep .anum{width:18px!important;height:18px!important;min-width:18px!important;font-size:11px!important}
html body .arrow-steps .astep span:last-child{max-width:190px}
html body .pw-tabs .arrow-steps .astep span:last-child,html body .pwi-box .arrow-steps .astep span:last-child{max-width:none}
@media (max-width:1280px){html body .arrow-steps .astep span:last-child{max-width:none!important}html body .arrow-steps .astep:first-child{padding-left:14px!important}}
html body .arrow-steps .astep .anum{margin:0!important;flex:0 0 18px!important;display:inline-flex!important;align-items:center;justify-content:center}
html body .arrow-steps .astep{overflow:visible}
/* ui35 (7) 01/11/2026: hai nấc – nấc 2 (bước trong màn) là hàng tab đầu khối nội dung */
html body .one-wrap{background:#fff;border:1px solid #D9E1EC;border-radius:4px;margin-bottom:12px;overflow:hidden}
html body .one-wrap>.card{border:0!important;box-shadow:none!important;margin:0!important;border-radius:0!important}
html body .one-wrap>.card>.ch h3{display:none!important}
html body .one-wrap>.card>.ch:not(:has(.btn)){display:none!important}
html body .one-wrap>.card>.ch{border-bottom:0!important;min-height:0!important;padding-top:8px!important;padding-bottom:0!important}
html body .one-wrap>.one-steps.circ{display:flex!important;gap:0!important;margin:0!important;padding:0 8px!important;border-bottom:1px solid #E3E9F1;background:#fff!important;overflow-x:auto}
html body .one-wrap>.one-steps.circ .astep{background:transparent!important;clip-path:none!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;color:#374151!important;flex:0 1 auto!important;min-height:40px!important;padding:6px 12px!important;margin:0!important;box-shadow:none!important}
html body .one-wrap>.one-steps.circ .astep::before,html body .one-wrap>.one-steps.circ .astep::after{display:none!important;content:none!important}
html body .one-wrap>.one-steps.circ .astep .anum{background:#E3E9F1!important;color:#374151!important}
html body .one-wrap>.one-steps.circ .astep.on{border-bottom-color:#005BC1!important;color:#005BC1!important;font-weight:600}
html body .one-wrap>.one-steps.circ .astep.on .anum{background:#005BC1!important;color:#fff!important}
html body .one-wrap>.one-steps.circ .astep:hover{background:#F5F8FD!important}
html body .one-wrap>.one-steps.circ .astep span{color:inherit!important}
html body .one-wrap>.one-steps.circ .astep.on .anum{color:#fff!important}
/* ui35 (8) 01/11/2026: khối Tiến trình giai đoạn – thanh tiến trình có đường nối, đi theo thứ tự */
html body .one-wrap>.one-head{font:700 14px/20px Inter,sans-serif;text-transform:uppercase;color:#063B86;padding:12px 16px 0;letter-spacing:.02em}
html body .one-wrap>.one-steps.circ{display:flex!important;align-items:flex-start!important;gap:0!important;padding:12px 16px 14px!important;border-bottom:1px solid #E3E9F1;overflow-x:auto}
html body .one-wrap>.one-steps.circ .astep{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important;flex:1 1 0!important;min-width:110px!important;padding:0 4px!important;border:0!important;background:transparent!important;position:relative!important;text-align:center;color:#5B6576!important;font-weight:500;min-height:0!important}
html body .one-wrap>.one-steps.circ .astep::before{content:''!important;display:block!important;position:absolute;top:14px;left:calc(-50% + 18px);right:calc(50% + 18px);height:2px;background:#D0D7E2!important;clip-path:none!important}
html body .one-wrap>.one-steps.circ .astep:first-child::before{display:none!important}
html body .one-wrap>.one-steps.circ .astep.done::before,html body .one-wrap>.one-steps.circ .astep.on::before{background:#005BC1!important}
html body .one-wrap>.one-steps.circ .astep .anum{width:28px!important;height:28px!important;min-width:28px!important;flex:0 0 28px!important;border-radius:50%!important;font:700 13px/28px Inter,sans-serif!important;background:#fff!important;color:#5B6576!important;border:2px solid #C3CCD8!important;box-sizing:border-box;position:relative;z-index:1}
html body .one-wrap>.one-steps.circ .astep.done .anum{background:#E7F1FC!important;border-color:#005BC1!important;color:#005BC1!important}
html body .one-wrap>.one-steps.circ .astep.on .anum{background:#005BC1!important;border-color:#005BC1!important;color:#fff!important;box-shadow:0 0 0 4px rgba(0,91,193,.15)}
html body .one-wrap>.one-steps.circ .astep.on{color:#005BC1!important;font-weight:700!important;border-bottom:0!important}
html body .one-wrap>.one-steps.circ .astep.done:not(.on){color:#1F2A3D!important}
html body .one-wrap>.one-steps.circ .astep span:last-child{max-width:200px!important;white-space:normal!important;line-height:17px!important}
html body .one-wrap>.one-steps.circ .astep:hover{background:transparent!important}
html body .one-wrap>.one-steps.circ .astep:hover span:last-child{text-decoration:underline}
html body .ctr-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px 0}
html body .ctr-meta>dl.kv{margin:0;flex:1}
html body .ctr-meta>.btn{flex:0 0 auto}
html body .ctr-meta{padding-bottom:10px}
/* log36: thời hạn dưới tên bước */
html body .one-wrap>.one-steps.circ .astep .sdl{display:inline-block;margin-top:2px;padding:1px 8px;border-radius:10px;font:500 12px/18px Inter,sans-serif;background:#EEF2F7;color:#5B6576;white-space:nowrap}
html body .one-wrap>.one-steps.circ .astep .sdl-ok{background:#E8F5EE;color:#137A43}
html body .one-wrap>.one-steps.circ .astep .sdl-warn{background:#FFF4E0;color:#9A5B00}
html body .one-wrap>.one-steps.circ .astep .sdl-bad{background:#FDECEC;color:#B42318}
html body .one-wrap>.one-steps.circ .astep .sdl-info{background:#E7F1FC;color:#005BC1}
/* ro36: giai đoạn đã hoàn thành chỉ xem */
html body .ro36{display:none!important}
html body .ro36-tag{display:inline-flex;align-items:center;gap:4px;margin-right:8px;padding:2px 10px;border-radius:12px;background:#EEF2F7;color:#5B6576;font:600 12px/20px Inter,sans-serif}
/* ui37 01/11/2026: bước ít dữ liệu xếp dọc trên một màn; tab bước còn lại kiểu mũi tên; vị trí giai đoạn ghi ở tiêu đề Thông tin dự án */
html body .one-stack{display:flex;flex-direction:column;gap:12px}
html body .one-stack>.card{margin:0!important}
html body .one-stack>.card>.ch h3{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html body .blk-n{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;border:2px solid #C3CCD8;background:#fff;color:#5B6576;font:700 12px/1 Inter,sans-serif;flex:0 0 24px}
html body .blk-n.done{border-color:#005BC1;background:#E7F1FC;color:#005BC1}
html body .one-stack .sdl{display:inline-block;padding:1px 8px;border-radius:10px;font:500 12px/18px Inter,sans-serif;background:#EEF2F7;color:#5B6576;text-transform:none;letter-spacing:0}
html body .one-stack .sdl-ok{background:#E8F5EE;color:#137A43}
html body .one-stack .sdl-warn{background:#FFF4E0;color:#9A5B00}
html body .one-stack .sdl-bad{background:#FDECEC;color:#B42318}
html body .one-stack .sdl-info{background:#E7F1FC;color:#005BC1}
html body .pwi-box .pw-tabs{display:none!important}
html body .one-wrap>.one-head{padding-bottom:6px}
html body .one-wrap>.one-steps{padding:4px 16px 10px!important;border-bottom:1px solid #E3E9F1}
/* ui38 01/11/2026: thanh bên phẳng hai tầng (tham khảo GPMB Platform) – chỉ khi thanh bên mở rộng */
body:not(.rail) #nav.flat .nav-g{margin:0!important;border:0!important;background:none!important}
body:not(.rail) #nav.flat .nav-g[data-g="M"]{display:none!important}
/* 02/11/2026: nhóm Dự án đã chép vào cụm Quản lý đầu tư công – ẩn cả khi thanh bên thu gọn */
html body #nav.flat .nav-g[data-g="M"]{display:none!important}
body:not(.rail) #nav.flat .nav-g>.nav-gh{pointer-events:none;cursor:default;background:none!important;box-shadow:none!important;padding:14px 16px 4px!important;min-height:0!important;height:auto!important;font:700 11.5px/16px Inter,sans-serif!important;text-transform:uppercase;letter-spacing:.04em;color:#9FB3D1!important;border:0!important}
body:not(.rail) #nav.flat .nav-g>.nav-gh .ms,body:not(.rail) #nav.flat .nav-g>.nav-gh .tag,body:not(.rail) #nav.flat .nav-g>.nav-gh .chev{display:none!important}
body:not(.rail) #nav.flat .nav-g>.nav-gh span{white-space:normal!important;overflow:visible!important}
body:not(.rail) #nav.flat .nav-gi,body:not(.rail) #nav.flat .nav-gi[hidden]{display:block!important;max-height:none!important;overflow:visible!important;padding:0 0 2px!important;margin:0!important;background:none!important;border:0!important}
body:not(.rail) #nav.flat .nav-gi a.nav-i{display:flex!important;padding:7px 16px 7px 28px!important;margin:0!important;min-height:0!important;font:400 13.5px/19px Inter,sans-serif!important;color:#E6EDF7!important;border-radius:0!important;background:none!important;box-shadow:none!important}
body:not(.rail) #nav.flat .nav-gi a.nav-i:hover{background:rgba(255,255,255,.08)!important}
body:not(.rail) #nav.flat .nav-gi a.nav-i.on{background:rgba(255,255,255,.16)!important;box-shadow:inset 3px 0 0 #7FB2FF!important;font-weight:600!important;color:#fff!important}
body:not(.rail) #nav.flat .nav-gi a.nav-i>span{white-space:normal!important;overflow:visible!important}
body:not(.rail) #nav.flat .nav-gi button.nav-sub{pointer-events:none;padding:8px 16px 2px 28px!important;min-height:0!important;background:none!important;font:600 11.5px/16px Inter,sans-serif!important;color:#C9D6EA!important;border:0!important}
body:not(.rail) #nav.flat .nav-gi button.nav-sub .ms{display:none!important}
body:not(.rail) #nav.flat .nav-gi .nav-secb{display:block!important;max-height:none!important;overflow:visible!important}
body:not(.rail) #nav.flat .nav-gi .nav-secb a.nav-i{padding-left:36px!important}
html body:not(.rail) #nav.flat .nav-g>.nav-gh,html body:not(.rail) #nav.flat .nav-g>.nav-gh span{text-transform:uppercase!important;font-size:11.5px!important;line-height:16px!important;font-weight:700!important;letter-spacing:.05em!important;color:#9FB3D1!important}
html body:not(.rail) #nav.flat .nav-g.cur>.nav-gh span{color:#C9DBF5!important}
/* ui38 (2): thu gọn được ở các cấp của thanh bên */
html body:not(.rail) #nav.flat .nav-g>.nav-gh{pointer-events:auto!important;cursor:pointer!important;position:relative;padding-right:32px!important}
html body:not(.rail) #nav.flat .nav-g>.nav-gh::after{content:'';position:absolute;right:18px;top:17px;width:6px;height:6px;border-right:1.5px solid #9FB3D1;border-bottom:1.5px solid #9FB3D1;transform:rotate(45deg);transition:transform .15s}
html body:not(.rail) #nav.flat .nav-g.fc>.nav-gh::after{transform:rotate(-45deg);top:19px}
html body:not(.rail) #nav.flat .nav-g>.nav-gh:hover span{color:#fff!important}
html body:not(.rail) #nav.flat .nav-g.fc>.nav-gi,html body:not(.rail) #nav.flat .nav-g.fc>.nav-gi[hidden]{display:none!important}
html body:not(.rail) #nav.flat .nav-gi button.nav-sub{pointer-events:auto!important;cursor:pointer!important;position:relative;padding-right:32px!important;width:100%;text-align:left}
html body:not(.rail) #nav.flat .nav-gi button.nav-sub::after{content:'';position:absolute;right:20px;top:12px;width:5px;height:5px;border-right:1.5px solid #C9D6EA;border-bottom:1.5px solid #C9D6EA;transform:rotate(45deg)}
html body:not(.rail) #nav.flat .nav-gi button.nav-sub.fc::after{transform:rotate(-45deg);top:13px}
html body:not(.rail) #nav.flat .nav-gi button.nav-sub.fc+.nav-secb{display:none!important}
html body:not(.rail) #nav.flat .nav-g>.nav-gh:focus-visible,html body:not(.rail) #nav.flat button.nav-sub:focus-visible{outline:2px solid #7FB2FF;outline-offset:-2px}
/* ui38 (3) 01/11/2026: cụm Quản lý đầu tư công – bước 1–7 là nhóm cấp 3 cùng cấp nhiệm vụ, dự án (thụt lề), mục trong bước là cấp 4 */
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gh{padding:7px 32px 7px 28px!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gh,html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gh span{text-transform:none!important;font:600 13.5px/19px Inter,sans-serif!important;letter-spacing:0!important;color:#E6EDF7!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gh::after{top:13px;border-color:#C9D6EA}
html body:not(.rail) #nav.flat .nav-g.nav-l3.fc>.nav-gh::after{top:15px}
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gi a.nav-i{padding-left:44px!important;font-size:13px!important;color:#D5E0F0!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gi a.nav-i.on{color:#fff!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gi button.nav-sub{padding-left:44px!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gi .nav-secb a.nav-i{padding-left:56px!important}
html body:not(.rail) #nav.flat .nav-g[data-g="K"]>.nav-gi{padding-bottom:0!important}
html body:not(.rail) #nav.flat .nav-g[data-g="K"].fc~.nav-g.nav-l3{display:none!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3+.nav-g:not(.nav-l3)>.nav-gh{margin-top:6px}
/* ui38 (4) 03/11/2026 (chủ dự án): trong cụm Quản lý đầu tư công, Quản lý nhiệm vụ và Danh sách dự án cùng cấp với các bước – cùng kiểu chữ, lề như tiêu đề bước */
html body:not(.rail) #nav.flat .nav-g[data-g="K"]>.nav-gi>a.nav-i{padding-left:28px!important;font:600 13.5px/19px Inter,sans-serif!important;color:#E6EDF7!important}
html body:not(.rail) #nav.flat .nav-g[data-g="K"]>.nav-gi>a.nav-i span{font:inherit!important;color:inherit!important}
html body:not(.rail) #nav.flat .nav-g[data-g="K"]>.nav-gi>a.nav-i.on{color:#fff!important}
/* 03/11/2026: nhãn ô chỉ số không cắt chữ – xuống dòng khi hẹp */
html body .kpi .klbl{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;display:block}
html body .kpi .kbody{min-width:0}
/* 03/11/2026: ô theo ngữ cảnh không áp dụng – làm mờ, giữ chỗ trong lưới (không ẩn để khỏi vỡ bố cục) */
html body #modal .fld.km-off{opacity:.45}
html body #modal .fld.km-off :is(input,select){cursor:not-allowed}
/* ui38 (5) 03/11/2026: nhóm một chức năng – không sổ xuống, tên nhóm là liên kết */
html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gi{display:none!important}
html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gh::after{display:none!important}
html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gh{cursor:pointer}
html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gh.on{background:rgba(255,255,255,.12)!important;box-shadow:inset 3px 0 0 #6FA8FF}
html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gh.on,html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gh.on span{color:#fff!important}

/* 03/11/2026: nút duyệt ngoài cấp của chức danh – ẩn */
html body .lv-off{display:none!important}

/* 03/11/2026: nút ghi ở màn không có quyền thực hiện – ẩn (perm40.js) */
html body .pm-off{display:none!important}
/* 03/11/2026: Giao nhiệm vụ là nút trên bảng (tích chọn dòng) – bỏ biểu tượng giao trên từng dòng */
html body [data-tid="plan"] [data-act="nvgiao"]{display:none!important}
/* cột ô chọn thay cột STT */
html body td.sel40c,html body th[data-sel40]{text-align:center;width:44px}
html body .sel40,html body .sel40-all{width:16px;height:16px;cursor:pointer;accent-color:#005BC1}

/* 04/11/2026: dashboard GPMB (gpmb41.js) – theo màu hệ thống */
.gp41-pr{display:inline-block;width:64px;height:6px;border-radius:3px;background:#E3EAF5;vertical-align:middle;margin-right:6px;overflow:hidden}
.gp41-pr span{display:block;height:100%;background:#005BC1}
.gp41-mx{display:grid;grid-template-columns:110px 1fr 1fr;gap:8px;padding:12px 16px}
.gp41-mx .h{font:600 13px/18px Inter,sans-serif;color:#063B86;text-align:center}
.gp41-mx .v{font:600 13px/18px Inter,sans-serif;color:#063B86;display:flex;align-items:center}
.gp41-mx .c{border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:4px;border:1px solid #D8E2F0}
.gp41-mx .c b{font:700 20px/26px Inter,sans-serif;color:#0F172A}
.gp41-mx .c span{font-size:13px;color:#475569}
.gp41-mx .c.ok{background:#EAF6EF}.gp41-mx .c.warn{background:#FFF6E5}.gp41-mx .c.bad{background:#FDECEC}
.gp41-bars{display:flex;align-items:flex-end;gap:18px;height:170px;padding:16px 20px}
.gp41-bars .b{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1}
.gp41-bars .b i{display:block;width:100%;max-width:44px;background:#005BC1;border-radius:4px 4px 0 0}
.gp41-bars .b small{font:600 12px Inter,sans-serif;color:#063B86}.gp41-bars .b span{font-size:12px;color:#475569}
.gp41-sec{margin-bottom:18px}
/* dashboard GPMB tổng hợp (lãnh đạo, sở, xã): không cần thanh chọn dự án */
html body #main:has(.gp41-nop) .ctxbar{display:none!important}

/* thanh bộ lọc đầu dashboard GPMB */
.gp41-fb{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;background:#fff;border:1px solid #E1E8F2;border-radius:8px;padding:12px 16px}
.gp41-fb .fld{min-width:180px;margin:0}.gp41-fb .fld label{font-size:13px;color:#475569}.gp41-fb .sp{flex:1}

/* 05/11/2026: hộp Tạo báo cáo – ẩn ô không áp dụng cho biểu mẫu đang chọn */
html body #modal .fgrid>.fld.bc-off.bc-off.bc-off.bc-off.bc-off.bc-off.bc-off,html body #modal .fld.bc-off{display:none!important}

/* 05/11/2026: nhóm con một chức năng – không hiện tên nhóm con */
html body #nav button.nav-sub.sub-one,html body #nav .nav-secb.secb-one{display:none!important}
html body #nav button.nav-sub.sub-solo{display:none!important}
html body:not(.rail) #nav .nav-gi button.nav-sub.sub-solo.sub-solo.sub-solo+.nav-secb{display:block!important;max-height:none!important}
/* cụm cấp 1 chỉ một chức năng: hiện như một mục thường */
html body:not(.rail) #nav.flat .nav-g.nav-onetop>.nav-gh,html body:not(.rail) #nav.flat .nav-g.nav-onetop>.nav-gh span{text-transform:none!important;letter-spacing:0!important;font:600 14px/20px Inter,sans-serif!important;color:#fff!important}
html body:not(.rail) #nav.flat .nav-g.nav-onetop>.nav-gh{pointer-events:auto!important;cursor:pointer!important;padding:8px 16px 8px 20px!important}
html body:not(.rail) #nav.flat .nav-g.nav-onetop>.nav-gh .ms{display:none!important}
html body:not(.rail) #nav.flat .nav-g.nav-onetop>.nav-gh.on{background:rgba(255,255,255,.14)!important}
/* 05/11/2026: lưới thụt lề thanh bên – chữ mỗi cấp cách nhau 16px: tên cụm 16, cấp 1 (mục của cụm, tên bước, nhóm con Tổng quan) 32,
   cấp 2 (mục trong bước, mục trong nhóm con Tổng quan, nhóm con trong bước) 48, cấp 3 (mục trong nhóm con của bước) 64. Liên kết có vạch trái 4px nên đệm ít hơn 4px */
html body:not(.rail) #nav.flat .nav-g.nav-l3>button.nav-gh{padding-left:32px!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3>a.nav-gh{padding-left:32px!important}
html body:not(.rail) #nav.flat .nav-g[data-g="T"]>.nav-gi>button.nav-sub{padding-left:32px!important}
html body:not(.rail) #nav.flat .nav-g[data-g="T"]>.nav-gi>.nav-secb a.nav-i{padding-left:44px!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gi>button.nav-sub{padding-left:48px!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gi>.nav-secb a.nav-i{padding-left:60px!important}
html body:not(.rail) #nav.flat .nav-g.nav-onetop>.nav-gh{padding-left:16px!important}
/* 05/11/2026: Kế hoạch triển khai thực hiện dự án – dòng phần bấm được */
html body table.t.kh45 tr.khsec{cursor:pointer;background:var(--bg-subtle,#F3F6FB)}
html body table.t.kh45 tr.khsec:hover{background:#E8EFFA}
html body table.t.kh45 tr.khsec td{font-weight:600}
html body table.t.kh45 .kh45-c{vertical-align:-3px;margin-right:6px;color:#005BC1}
html body table.t.kh45 td.kh45-i{padding-left:34px}
html body table.t.kh45p tr.kh45-ps td{background:var(--bg-subtle,#F3F6FB)}
html body table.t.kh45p tr.kh45-off td{opacity:.45}
html body table.t.kh45p input[type=checkbox]{width:16px;height:16px}
/* 05/11/2026: biểu mẫu đề nghị vốn – ẩn ô không áp dụng */
html body #modal .fgrid>.fld.vr45-off.vr45-off.vr45-off.vr45-off.vr45-off.vr45-off.vr45-off,html body #modal .vr45-off{display:none!important}
/* 05/11/2026 (chủ dự án): thẻ chỉ số đa dạng màu – vòng 8 màu thay vòng 4 màu (8 thẻ không còn lặp màu) */
html body #body .grid>.kpi:nth-child(8n+1){background:linear-gradient(135deg,#6E9BF2 0%,#005BC1 100%)!important}
html body #body .grid>.kpi:nth-child(8n+1) .kico .ms{color:#005BC1!important}
html body #body .grid>.kpi:nth-child(8n+2){background:linear-gradient(135deg,#FCC14B 0%,#F59E0B 100%)!important}
html body #body .grid>.kpi:nth-child(8n+2) .kico .ms{color:#F59E0B!important}
html body #body .grid>.kpi:nth-child(8n+3){background:linear-gradient(135deg,#4ADE80 0%,#16A34A 100%)!important}
html body #body .grid>.kpi:nth-child(8n+3) .kico .ms{color:#16A34A!important}
html body #body .grid>.kpi:nth-child(8n+4){background:linear-gradient(135deg,#FB7185 0%,#EF4444 100%)!important}
html body #body .grid>.kpi:nth-child(8n+4) .kico .ms{color:#EF4444!important}
html body #body .grid>.kpi:nth-child(8n+5){background:linear-gradient(135deg,#2DD4BF 0%,#0D9488 100%)!important}
html body #body .grid>.kpi:nth-child(8n+5) .kico .ms{color:#0D9488!important}
html body #body .grid>.kpi:nth-child(8n+6){background:linear-gradient(135deg,#A78BFA 0%,#7C3AED 100%)!important}
html body #body .grid>.kpi:nth-child(8n+6) .kico .ms{color:#7C3AED!important}
html body #body .grid>.kpi:nth-child(8n+7){background:linear-gradient(135deg,#F472B6 0%,#C026D3 100%)!important}
html body #body .grid>.kpi:nth-child(8n+7) .kico .ms{color:#C026D3!important}
html body #body .grid>.kpi:nth-child(8n+8){background:linear-gradient(135deg,#94A3B8 0%,#475569 100%)!important}
html body #body .grid>.kpi:nth-child(8n+8) .kico .ms{color:#475569!important}

/* 02/11/2026: bảng bật ra khi thanh bên thu gọn – chữ tối trên nền trắng, nhóm con luôn mở (trước đây chữ trắng trên nền trắng, mục trong nhóm con bị ẩn) */
html body.rail #nav .nav-g.fly .nav-gi a.nav-i,html body.rail #nav .nav-g.fly .nav-gi a.nav-i span{color:#1F2A44!important}
html body.rail #nav .nav-g.fly .nav-gi a.nav-i{display:flex!important;align-items:center;padding:7px 14px 7px 18px!important;min-height:0!important;font:400 13.5px/19px Inter,sans-serif!important;background:none!important;border-radius:0!important}
html body.rail #nav .nav-g.fly .nav-gi a.nav-i>span{white-space:normal!important;overflow:visible!important}
html body.rail #nav .nav-g.fly .nav-gi a.nav-i .ms,html body.rail #nav .nav-g.fly .nav-gi a.nav-i .tag{display:none!important}
html body.rail #nav .nav-g.fly .nav-gi a.nav-i:hover{background:#EEF3FA!important}
html body.rail #nav .nav-g.fly .nav-gi a.nav-i.on{background:#E8F1FB!important;box-shadow:inset 3px 0 0 #005BC1!important}
html body.rail #nav .nav-g.fly .nav-gi a.nav-i.on,html body.rail #nav .nav-g.fly .nav-gi a.nav-i.on span{color:#005BC1!important;font-weight:600!important}
html body.rail #nav .nav-g.fly .nav-gi button.nav-sub{pointer-events:none;cursor:default;display:block!important;width:100%;text-align:left;padding:10px 14px 3px 18px!important;min-height:0!important;background:none!important;border:0!important}
html body.rail #nav .nav-g.fly .nav-gi button.nav-sub,html body.rail #nav .nav-g.fly .nav-gi button.nav-sub span{color:#5B6B85!important;font:600 11.5px/16px Inter,sans-serif!important;text-transform:uppercase;letter-spacing:.04em}
html body.rail #nav .nav-g.fly .nav-gi button.nav-sub .ms,html body.rail #nav .nav-g.fly .nav-gi button.nav-sub .tag,html body.rail #nav .nav-g.fly .nav-gi button.nav-sub .chev{display:none!important}
html body.rail #nav .nav-g.fly .nav-gi button.nav-sub.sub-one{display:none!important}
html body.rail #nav .nav-g.fly .nav-gi .nav-secb,html body.rail #nav .nav-g.fly .nav-gi .nav-secb[hidden]{display:block!important;max-height:none!important;overflow:visible!important}
html body.rail #nav .nav-g.fly .nav-gi .nav-secb a.nav-i{padding-left:26px!important}
/* 02/11/2026: bỏ kiểu thu gọn còn hàng biểu tượng – thu gọn là ẩn hẳn thanh bên; nút ☰ ở đầu trang để mở lại (màn hình nhỏ giữ kiểu trượt ra) */
@media (min-width:1025px){
html body.rail{--side-w:0px!important}
html body.rail .app{grid-template-columns:0 minmax(0,1fr)!important}
html body.rail .side{width:0!important;min-width:0!important;overflow:hidden!important;border:0!important;box-shadow:none!important;padding:0!important}
html body.rail .side *{visibility:hidden}
html body.rail .edge-tg{display:none!important}
html body.rail .head .mbtn{display:inline-flex!important;align-items:center;justify-content:center;width:36px;height:36px;margin:0 8px 0 4px!important;color:#063B86!important;border-radius:8px}
html body.rail .head .mbtn:hover{background:#E8F1FB!important}
html body .side{transition:width .18s ease}
}
/* 02/11/2026: khi ẩn thanh bên, nút ☰ thẳng mép khối nội dung (16px), tiêu đề sát nút */
@media (min-width:1025px){
html body.rail .head{padding-left:10px!important}
html body.rail .head .mbtn{width:36px!important;height:36px!important;min-width:36px!important;margin:0 6px 0 0!important;padding:0!important}
html body.rail .head .hbrand-col{margin-left:0!important;padding-left:0!important}
}

/* 10/11/2026 (chủ dự án): mũi tên thu gọn, mở rộng theo cấp – cấp cao to, đậm, sáng; cấp thấp nhỏ, mảnh, mờ (trước đây ngược lại: cấp 1 màu tối nhất)
   Cấp 1: cụm (Tổng quan, Kế hoạch đầu tư công, Quản lý đầu tư công, Quản trị) – 8px, nét 2px, sáng hơn cấp 2 một chút (chủ dự án: 9px nét 3px đậm quá).
   Cấp 2: bước 1–7 (.nav-l3) và nhóm con ngay trong cụm (Giám sát, điều hành; Báo cáo) – 7px, nét 2px, xanh nhạt.
   Cấp 3: nhóm con trong một bước (Giải phóng mặt bằng, Khởi công, Thi công…) – 5px, nét 1px, mờ.
   Nét dùng số nguyên để trình duyệt không làm tròn (1,75px hiển thị thành 1px); !important để thắng kiểu nhóm con chèn ở seed49.js. */
html body:not(.rail) #nav.flat .nav-g:not(.nav-l3)>.nav-gh::after{width:8px!important;height:8px!important;right:17px!important;top:15px!important;border-right:2px solid #E6EDF7!important;border-bottom:2px solid #E6EDF7!important}
html body:not(.rail) #nav.flat .nav-g.fc:not(.nav-l3)>.nav-gh::after{top:17px!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gh::after{width:7px!important;height:7px!important;right:18px!important;top:11px!important;border-right:2px solid #B9C8DF!important;border-bottom:2px solid #B9C8DF!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3.fc>.nav-gh::after{top:14px!important}
html body:not(.rail) #nav.flat .nav-g:not(.nav-l3)>.nav-gi>button.nav-sub:not(.sub-one):not(.sub-solo)::after{width:7px!important;height:7px!important;right:18px!important;top:50%!important;margin-top:-6px!important;border-right:2px solid #B9C8DF!important;border-bottom:2px solid #B9C8DF!important}
html body:not(.rail) #nav.flat .nav-g:not(.nav-l3)>.nav-gi>button.nav-sub.fc:not(.sub-one):not(.sub-solo)::after{margin-top:-4px!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gi>button.nav-sub:not(.sub-one):not(.sub-solo)::after{width:5px!important;height:5px!important;right:19px!important;top:50%!important;margin-top:-4px!important;border-right:1px solid rgba(201,214,234,.55)!important;border-bottom:1px solid rgba(201,214,234,.55)!important}
html body:not(.rail) #nav.flat .nav-g.nav-l3>.nav-gi>button.nav-sub.fc:not(.sub-one):not(.sub-solo)::after{margin-top:-3px!important}/* ===== 10/11/2026 (chủ dự án): ô quốc huy, tên hệ thống ở đầu thanh bên cùng nền navy với thanh bên (trước: dải trắng cắt ngang thanh bên) ===== */
html body .side .side-top{background:var(--navy)!important;border-bottom:1px solid rgba(255,255,255,.12)!important;border-right:0!important}
html body .side .side-top .home-btn,html body .side .side-top .home-btn:hover,html body .side .side-top .home-btn.on{background:transparent!important;box-shadow:none!important}
html body .side .side-top .home-btn:hover{background:rgba(255,255,255,.06)!important}
html body .side .side-top .home-btn .hb-tx b,html body #homeLbl{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .side .side-top .home-btn .hb-tx small,html body #homeSub{color:#C7D3E6!important;-webkit-text-fill-color:#C7D3E6!important}

/* ===== 11/11/2026 (chủ dự án): cân đối khoảng cách – giao diện bớt dày đặc =====
   Đo trước khi sửa: giữa các khối 12px, lề thân khối 12–14px, khối thông tin liền bảng 0px,
   lề ô bảng 6px (dòng 41px), dòng thông tin cách nhau 4px, nút trên tiêu đề cách nhau 6px. */
html body .one-stack,html body #body>.stack,html body #body .stack{gap:20px}
html body .card>.ch{padding-top:10px!important;padding-bottom:10px!important;padding-left:20px!important}
html body .card>.cb:not(.flush),html body .card>.cb.flush{padding:16px 20px 20px!important}
html body .card>.cb>*+.tbl,html body .card>.cb>.tbl+*,html body .card>.cb>.ctr-meta+*,html body .card>.cb>dl.kv+*{margin-top:16px}
html body .card>.ch .sp{gap:8px}
html body table.t td{padding-top:10px!important;padding-bottom:10px!important}
html body table.t thead th{padding-top:9px!important;padding-bottom:9px!important}
html body .kv{gap:8px 16px!important}
html body .tbl-tools{padding:4px 0 12px}
html body .card>.cb .toolbar{margin-bottom:4px}

/* 11/11/2026 (chủ dự án): nút trên tiêu đề khối thẳng mép phải giữa các khối – nút thu gọn (.ccol) đã ẩn nên không chừa 48px;
   khối có nút thu gọn đang hiện (.c48h) vẫn chừa chỗ */
html body .card:not(.c48h)>.ch{padding-right:20px!important}
/* ô Tìm toàn hệ thống ở đầu trang dài hơn */
@media (min-width:1280px){html body .head .hq{min-width:420px!important}}
@media (min-width:1600px){html body .head .hq{min-width:520px!important}}
#navq59 a{white-space:normal}

/* 12/11/2026 – rà UI: (1) khối hẹp ở Dashboard: chữ tiêu đề tự xuống dòng, nút giữ cùng hàng (trước nút rơi xuống dòng riêng);
   khối có từ 3 nút trên tiêu đề vẫn cho xuống dòng. (2) tên dự án ở biểu đồ giải ngân – tiến độ vật lý hiện đủ, không cắt "…" */
html body .card>.ch:not(:has(>.sp>:nth-child(3))){flex-wrap:nowrap}
html body .card>.ch>h3{min-width:0;flex:1 1 auto}
html body .card>.ch>.sp{flex:0 0 auto;max-width:100%}/* hàng nhiều nút trên tiêu đề khối xuống dòng, không tràn mép phải */
.pbar-n{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3}

/* 12/11/2026 – rà UI: bảng các bước ở Mẫu quy trình – cột "Thực hiện ở" (dãy liên kết) xuống dòng, cột Nội dung đủ rộng (trước bị bóp còn ~100px) */
[data-tid="qt7"] .tlnks{white-space:normal!important;display:inline}
[data-tid="qt7"] .tlnk{white-space:nowrap}
[data-tid="qt7"] td:nth-child(2),[data-tid="qt7"] th:nth-child(2){min-width:420px}
[data-tid="qt7"] td:nth-child(4),[data-tid="qt7"] th:nth-child(4){max-width:320px}

/* ===== 16/11/2026 – rà giao diện toàn hệ thống (ui95.js) ===== */
/* dải 7 bước: tên bước xuống 2 dòng thay vì cắt "…"; hiện tên ở 1280px */
.s93-steps li{align-items:center}
.s93-steps li .t{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:15px;word-break:normal;overflow-wrap:anywhere}
@media (max-width:1280px){.s93-steps li .t{display:inline!important;font-size:12px}.s93-steps li{padding:6px}}
/* nút liên kết dạng chữ: vùng bấm tối thiểu 28px */
button.tlnk{min-height:28px;padding-top:4px;padding-bottom:4px}
/* nút thu gọn khối: vùng bấm 28px */
#main button:has(> .ms:only-child),#main .ccol{min-width:28px;min-height:28px}
/* màn ≤1366px: ô tìm toàn hệ thống gọn lại để tiêu đề, đường dẫn không bị cắt; bảng ôm vừa khung hơn */
@media (max-width:1366px){
  html body .head .hq{flex:0 1 240px!important;min-width:0!important;max-width:240px!important;width:240px!important}
  html body #main table th,html body #main table td{padding-left:8px!important;padding-right:8px!important}
}
/* bảng cuộn ngang: bóng mờ ở mép phải báo còn cột phía sau */
html body #main .tw{background:linear-gradient(to right,#fff 30%,rgba(255,255,255,0)),linear-gradient(to right,rgba(255,255,255,0),#fff 70%) 100% 0,radial-gradient(farthest-side at 0 50%,rgba(15,35,70,.18),rgba(15,35,70,0)),radial-gradient(farthest-side at 100% 50%,rgba(15,35,70,.18),rgba(15,35,70,0)) 100% 0;background-repeat:no-repeat;background-size:40px 100%,40px 100%,12px 100%,12px 100%;background-attachment:local,local,scroll,scroll!important}
/* bộ lọc báo cáo (Dashboard › Thống kê): ≤1500px chia 2 cột, nút xuống hàng riêng – trước tràn khỏi khung ở 1280px */
@media (max-width:1500px){.rptf{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rptf .rptb{grid-column:1/-1;justify-content:flex-end}}
/* ≤1366px: cột cố định rộng (ghi inline) co lại để bảng danh sách vừa khung, không bị cột Thao tác che */
@media (max-width:1366px){
  html body #main th[style*="min-width:56px"]{min-width:44px!important}
  html body #main th[style*="min-width:120px"]{min-width:104px!important}
  html body #main th[style*="min-width:170px"]{min-width:130px!important}
  html body #main th[style*="min-width:200px"]{min-width:165px!important}
  html body #main th[style*="min-width:96px"]{min-width:76px!important}
}
/* trường biểu mẫu được bật/tắt bằng display:flex (Nguồn vốn chi tiết, Xã/phường được giao…) giữ bố cục nhãn trái – ô nhập phải như các trường khác */
html body .fgrid>.fld[style*="display: flex"],html body .fgrid>.fld[style*="display:flex"]{display:grid!important}
/* trường biểu mẫu bị script ẩn (display:none ghi inline) phải thật sự ẩn – trước bị ép hiện bởi .fgrid>.fld{display:flex!important}: Nguồn vốn chi tiết, Xã/phường được giao… hiện cả khi không áp dụng, lệch bố cục */
html body #main .fgrid>.fld[style*="display: none"],html body #mB .fgrid>.fld[style*="display: none"],html body .fgrid>.fld[style*="display:none"]{display:none!important}
/* cột Thao tác: biểu tượng thẳng hàng từ mép trái ô dù số nút mỗi dòng khác nhau */
html body td.opsc .ops,html body td.opsc .tlnks{justify-content:flex-start!important;padding-left:6px}
/* ô ngày hiện dd/mm/yyyy, ô chọn tệp hiện tiếng Việt (ui95.js bọc ô gốc; ô gốc vẫn là nơi đọc/ghi giá trị) */
.d95{position:relative;display:block;width:100%}
.d95>input{width:100%}
.d95 .dfmt{position:absolute;left:12px;top:0;bottom:0;display:flex;align-items:center;pointer-events:none;font:400 14px Inter,sans-serif;color:#1F2A3D;background:#fff;right:44px}
.d95 .dfmt.ph{color:#8A94A6}
.d95>input[type=date]::-webkit-datetime-edit{color:transparent}
.d95>input[type=date]:focus::-webkit-datetime-edit{color:transparent}
.f95{position:relative;display:flex;align-items:center;width:100%;height:34px;border:1px solid #D0D7E2;border-radius:4px;background:#fff;overflow:hidden}
.f95:focus-within{outline:2px solid #005BC1;outline-offset:1px}
.f95 .fb{flex:0 0 auto;height:100%;display:flex;align-items:center;padding:0 14px;background:#F2F6FB;color:#063B86;font:600 14px Inter,sans-serif;border-right:1px solid #D0D7E2}
.f95 .fn{flex:1;min-width:0;padding:0 10px;font:400 14px Inter,sans-serif;color:#1F2A3D;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.f95 .fn.ph{color:#8A94A6}
.f95>input[type=file]{position:absolute;inset:0;width:100%!important;height:100%!important;opacity:0;cursor:pointer;border:0!important;padding:0!important}
.f95>input[type=file]::file-selector-button{cursor:pointer}
html body td.opsc .ops,html body td.opsc .tlnks{display:flex!important;width:100%}
/* 16/11/2026: ô Thao tác có thêm liên kết .ops2 (Lập báo cáo…) – .ops chiếm 100% làm ô hẹp hơn nội dung, nút "+" tràn ra ngoài mép phải bảng; cho .ops co theo nội dung để cột tự nới */
html body td.opsc .ops:has(+ .ops2){display:inline-flex!important;width:auto!important;vertical-align:middle}
html body td.opsc .ops2{margin-left:4px!important}

/* 16/11/2026 (chủ dự án): tiêu đề các nhóm ở thanh bên cùng màu biểu tượng, màu chữ, độ đậm dù đang đứng ở nhóm đó hay không; nhóm đang đứng chỉ phân biệt bằng nền mờ và viền trái */
html body #nav .nav-g>.nav-gh,html body #nav .nav-g.cur>.nav-gh,html body #nav .nav-g.open>.nav-gh,html body #nav .nav-g>.nav-gh.on,html body #nav.flat .nav-g.cur>.nav-gh span{color:#E6EDF7!important;font-weight:600!important}
html body #nav .nav-g>.nav-gh .ms,html body #nav .nav-g.cur>.nav-gh .ms,html body #nav .nav-g.open>.nav-gh .ms,html body #nav .nav-g>.nav-gh.on .ms{color:#E6EDF7!important;opacity:1!important}
html body:not(.rail) #nav.flat .nav-g>.nav-gh,html body:not(.rail) #nav.flat .nav-g>.nav-gh span,html body:not(.rail) #nav.flat .nav-g>.nav-gh .ms,html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gh.on,html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gh.on span,html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gh.on .ms,html body:not(.rail) #nav.flat .nav-g.cur>.nav-gh span,html body:not(.rail) #nav.flat .nav-g.cur>.nav-gh .ms{color:#E6EDF7!important;font-weight:600!important;opacity:1!important}

/* 16/11/2026 (chủ dự án): gọn phần đầu màn bước – bỏ dòng Bước hiện tại n/7 (dải 7 bước đã tô bước hiện tại), điều kiện và nút Xác nhận cùng một hàng, hộp dự án không lặp dải 7 bước */
.s93{padding:8px 12px;margin:0 0 10px}
.s93-lb{display:none}
.s93-h:not(:has(.s93-pq)){display:none}
.s93-h{margin-bottom:6px}
.s93-steps{margin:0 0 6px}
.s93-steps li{padding:4px 8px}
.s93-cur{flex-wrap:nowrap}
.s93-cl.in{flex:1 1 0;min-width:0}
.s93-act{flex:0 0 auto;white-space:nowrap}
.pw-dlg .s93-steps{display:none}

/* 16/11/2026 (sửa lại): quy tắc đầu tệp bị lớp CSS do step93.js chèn sau ghi đè – tăng độ ưu tiên để điều kiện và nút Xác nhận cùng một hàng */
.s93 .s93-cur{flex-wrap:nowrap!important;align-items:center!important}
.s93 .s93-cur .s93-cl.in{flex:1 1 0!important;min-width:0!important}
.s93 .s93-cur .s93-act{flex:0 0 auto!important;margin-left:auto!important;white-space:nowrap}
/* hộp dự án, tab Tổng quan: chỉ xem – nút Xác nhận hoàn thành bước nằm ở tab của từng bước */
.pw-dlg:has(.arrow-steps .astep:first-child.on) .s93-act{display:none!important}

/* 16/11/2026 (chủ dự án): mục menu đang mở – nền sáng, chữ trắng đậm, biểu tượng đổi màu xanh; nhóm chứa mục đang mở cũng có biểu tượng xanh. Áp dụng như nhau cho mọi mục */
html body #nav a.nav-i.on,html body #nav a.nav-i[aria-current=page]{background:rgba(255,255,255,.16)!important;color:#fff!important;font-weight:600!important}
html body #nav a.nav-i.on .ms,html body #nav a.nav-i[aria-current=page] .ms,html body #nav a.nav-i.on svg,html body #nav a.nav-i[aria-current=page] svg{color:#6CB4FF!important;fill:currentColor;opacity:1!important}
html body #nav .nav-g.cur>.nav-gh .ms,html body #nav .nav-g:has(a.nav-i.on)>.nav-gh .ms{color:#6CB4FF!important;opacity:1!important}
html body #nav .nav-g:has(a.nav-i.on)>.nav-gh span:not(.ms){color:#fff!important}

/* biểu tượng xanh cho mục đang mở – đủ độ ưu tiên để thắng quy tắc đồng màu tiêu đề nhóm (16/11) */
html body:not(.rail) #nav.flat .nav-g.cur>.nav-gh .ms,html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gh.on .ms,html body:not(.rail) #nav .nav-g.cur>.nav-gh .ms,html body:not(.rail) #nav .nav-g.nav-one>.nav-gh.on .ms,html body:not(.rail) #nav.flat .nav-g:has(a.nav-i.on)>.nav-gh .ms{color:#6CB4FF!important;opacity:1!important}
html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gh.on,html body:not(.rail) #nav .nav-g.nav-one>.nav-gh.on{background:rgba(255,255,255,.16)!important}
html body:not(.rail) #nav.flat .nav-g.nav-one>.nav-gh.on span:not(.ms),html body:not(.rail) #nav .nav-g.nav-one>.nav-gh.on span:not(.ms){color:#fff!important;font-weight:600!important}

/* menu cây #nav93: mục một cấp đang mở có biểu tượng xanh như tiêu đề nhóm khi chọn mục con (Thi công, giải ngân…) */
html body #nav93 a.n93-i.on .ms,html body #nav93 a.n93-i[aria-current=page] .ms{color:rgb(90,169,255)!important;opacity:1!important}
html body #nav93 a.n93-i.on,html body #nav93 a.n93-i[aria-current=page]{font-weight:600}

/* 17/11/2026: tab Thống kê – "Báo cáo theo mẫu / Tra cứu, lọc dự án" là thanh chuyển kiểu tab con (đặt trái, gạch chân mục đang chọn), không phải hai nút thao tác nổi ở góc phải */
html body .d94tk>.d94sub{justify-content:flex-start!important;gap:4px!important;margin:0 0 16px!important;padding:4px 16px 0;border-bottom:1px solid #E3E8EF;background:transparent}
html body .d94tk>.d94sub .btn{background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;color:#4A5568!important;font-weight:600;padding:8px 12px!important;height:auto!important;box-shadow:none!important;margin-bottom:-1px}
html body .d94tk>.d94sub .btn.pri{color:#005BC1!important;border-bottom-color:#005BC1!important}
html body .d94tk>.d94sub .btn:hover{color:#005BC1!important;background:#F2F6FC!important}
html body .d94tk>.d94sub .btn .ms{color:inherit!important}

/* 17/11/2026: bỏ số đếm "n/21 dự án" cạnh nút lọc Dashboard (không số đếm thừa) */
html body .dfbar .dfbar-end>.sub{display:none!important}
