@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/bevietnampro-400-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/bevietnampro-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/bevietnampro-500-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/bevietnampro-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/bevietnampro-600-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/bevietnampro-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/bevietnampro-700-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/bevietnampro-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Admin — sidebar layout (2026-10-02). Charcoal + amber, same tokens as the Studio.
   Page shell: sidebar 240px | main. Pages: Tổng quan, Khách hàng, Cần đối soát, Mã Video Free, Nguồn & định tuyến. */
:root {
  color-scheme: dark;
  --bg: #101113; --side: #0d0e10; --card: #16171a; --card-2: #1a1b1f; --field: #1c1d21; --overlay: #1b1c20; --menu: #1f2024; --toast: #232428;
  --line: #222328; --border: #25262b; --border-2: #2a2b30; --border-3: #34353b;
  --text: #ececee; --text-2: #c4c5cb; --muted: #9a9ba3; --faint: #8a8b93;
  --accent: #f2b24c; --accent-hover: #f5c06a; --accent-ink: #1a1206; --accent-soft: rgba(242, 178, 76, .1); --accent-line: rgba(242, 178, 76, .45);
  --ok: #6cc08b; --ok-soft: rgba(108, 192, 139, .12); --bad: #e8776e; --bad-hover: #ee8d85; --bad-ink: #1f0b09; --bad-soft: rgba(232, 119, 110, .12); --bad-line: rgba(232, 119, 110, .4);
  --hover: rgba(255, 255, 255, .035); --selected: rgba(255, 255, 255, .07); --chip-on: rgba(255, 255, 255, .1); --chip-on-line: rgba(255, 255, 255, .32);
  --shade: rgba(0, 0, 0, .6); --shade-soft: rgba(0, 0, 0, .45); --shadow: rgba(0, 0, 0, .5);
  --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 14px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
code, .mono { font-family: var(--mono); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; background: none; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover:not(:disabled) { background: var(--accent-hover); }
.btn-outline { border-color: var(--border-3); color: var(--text); }
.btn-outline:hover:not(:disabled) { border-color: var(--muted); }
.btn-quiet { color: var(--text-2); font-weight: 500; }
.btn-quiet:hover:not(:disabled) { background: var(--hover); color: var(--text); }
.btn-danger { border-color: var(--bad-line); color: var(--bad); }
.btn-danger:hover:not(:disabled) { background: var(--bad-soft); }
.btn-danger-solid { background: var(--bad); color: var(--bad-ink); }
.btn-danger-solid:hover:not(:disabled) { background: var(--bad-hover); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.icon-btn:hover:not(:disabled), .icon-btn[aria-expanded="true"] { background: var(--selected); color: var(--text); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.link-btn { display: inline-flex; align-items: center; min-height: 32px; border: 0; background: none; padding: 0; color: var(--accent); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.link-btn:hover { text-decoration-color: currentColor; }

/* ---------- brand ---------- */
.adm-brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; color: var(--text); text-decoration: none; }
.adm-mark { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; color: var(--accent); }
.adm-mark .ic { width: 12px; height: 12px; fill: currentColor; stroke: none; margin-left: 2px; }
.adm-tag { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--accent-line); color: var(--accent); }
.adm-burger { display: none; }

/* ---------- sign-in ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.auth-card { width: min(400px, 100%); display: grid; gap: 24px; padding: 32px 28px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); }
.auth-copy { display: grid; gap: 4px; }
.auth-copy h1 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.auth-copy p { color: var(--muted); font-size: 13.5px; }
.auth-loading { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; }
.auth-link { justify-self: center; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-3); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

/* ---------- shell: sidebar + main ---------- */
.adm-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.adm-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; background: var(--side); border-right: 1px solid var(--line); }
.adm-sidebar > .adm-brand { flex: none; height: 60px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.adm-nav { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.adm-nav-label { margin: 16px 0 4px; padding: 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.adm-nav button, .adm-nav a { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: var(--text-2); font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.adm-nav button:hover, .adm-nav a:hover { background: var(--hover); color: var(--text); }
.adm-nav [aria-current="page"] { background: var(--selected); color: var(--text); font-weight: 500; }
.adm-nav .adm-count { margin-left: auto; }
.adm-side-foot { margin-top: auto; padding: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.adm-foot-link { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border-radius: 10px; color: var(--text-2); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.adm-foot-link:hover { background: var(--hover); color: var(--text); }
.adm-email { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; color: var(--muted); font-size: 13px; min-width: 0; }
.adm-email span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-email i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.adm-foot-actions { display: flex; gap: 4px; }
.adm-foot-actions .btn { padding: 0 10px; }
.adm-scrim { display: none; }
.adm-body { min-width: 0; }
.adm-c-top { display: none; }
.adm-c-main { padding: 28px 28px 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; max-width: 1600px; }
.adm-c-main > * { min-width: 0; }
.adm-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.adm-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.adm-head-actions { display: flex; gap: 8px; }
.adm-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.adm-side { display: grid; gap: 20px; min-width: 0; }

/* ---------- stat row: one block split by 1px gaps ---------- */
.adm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--border); }
.adm-stat { min-width: 0; padding: 18px 20px; background: var(--card); display: grid; grid-template-rows: subgrid; grid-row: span 3; gap: 4px; align-content: start; }
.adm-stat-label { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.adm-stat-value { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.adm-stat-value small { margin-left: 4px; font-size: 15px; font-weight: 500; color: var(--faint); }
.adm-stat-value .sk { height: 24px; margin-top: 4px; }
.adm-stat-sub { font-size: 12.5px; color: var(--muted); text-wrap: pretty; }

.adm-count { font-size: 12px; font-weight: 500; color: var(--faint); font-variant-numeric: tabular-nums; }
.adm-count.hot { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* ---------- card ---------- */
.adm-card { min-width: 0; background: var(--card); border: 1px solid var(--border); border-radius: 14px; }
.adm-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 16px 20px; }
.adm-card-head h2 { font-size: 15px; font-weight: 600; }
.adm-card-body { padding: 0 20px 20px; }
.adm-card-empty { padding: 0 20px 18px; color: var(--muted); font-size: 13px; }

/* ---------- toolbar above a table ---------- */
.adm-tools { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.adm-search { position: relative; flex: 0 1 300px; min-width: 200px; }
.adm-search .ic { position: absolute; left: 12px; top: 11px; color: var(--faint); pointer-events: none; }
.adm-search input { width: 100%; height: 38px; padding: 0 12px 0 36px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--field); outline: none; font-size: 13.5px; }
.adm-search input::placeholder, .adm-field input::placeholder { color: var(--faint); }
.adm-search input:focus, .adm-field input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.adm-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-chip { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--border-2); background: none; color: var(--text-2); font-size: 13px; cursor: pointer; }
.adm-chip:hover { border-color: var(--border-3); color: var(--text); }
.adm-chip[aria-pressed="true"] { background: var(--chip-on); border-color: var(--chip-on-line); color: var(--text); font-weight: 500; }
.adm-chip span { color: var(--faint); font-variant-numeric: tabular-nums; }
.adm-chip span:empty { display: none; }
.adm-chip[aria-pressed="true"] span { color: inherit; opacity: .6; }

/* ---------- table ---------- */
.adm-table-wrap { position: relative; overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; }
.adm-table th { height: 40px; padding: 0 14px; text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--card-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-table td { height: 60px; padding: 8px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.adm-table tbody tr:last-child td { border-bottom: 0; }
.adm-table tbody tr:hover td { background: var(--hover); }
.adm-table th:first-child, .adm-table td:first-child { padding-left: 20px; }
.adm-table th:last-child, .adm-table td:last-child { padding-right: 16px; text-align: right; }
.adm-table .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2); white-space: nowrap; }
.adm-table td.nowrap { white-space: nowrap; }
.adm-name { display: block; max-width: 300px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-meta { display: block; font-size: 12px; color: var(--faint); white-space: nowrap; }
.adm-rem { display: flex; align-items: center; gap: 12px; }
.adm-rem b { min-width: 44px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-rem b small { margin-left: 3px; font-size: 12.5px; font-weight: 400; color: var(--faint); }
.adm-bar { flex: none; display: block; width: 88px; height: 4px; border-radius: 2px; background: var(--border-2); overflow: hidden; }
.adm-bar i { display: block; width: 0; height: 100%; border-radius: 2px; background: var(--ok); }
.is-low b { color: var(--accent); } .is-low .adm-bar i { background: var(--accent); }
.is-out b { color: var(--bad); } .is-out .adm-bar i { background: var(--bad); }
.is-off b { color: var(--faint); } .is-off .adm-bar i { background: var(--border-3); }
.adm-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--ok); background: var(--ok-soft); }
.adm-pill.off { color: var(--muted); background: var(--selected); }
.adm-pill.warn { color: var(--accent); background: var(--accent-soft); }
.adm-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; }
.adm-menu-spacer { flex: none; width: 32px; }
.adm-note { font-size: 12px; color: var(--faint); white-space: nowrap; }
.adm-warn-cell { color: var(--accent); font-weight: 600; }
.adm-meta.adm-warn-text { color: var(--accent); }
.adm-meta.adm-bad-text { color: var(--bad); }
.adm-table .num.adm-warn-cell { color: var(--accent); }

/* key list on phones (the table hides at 720px) */
.adm-klist { display: none; list-style: none; margin: 0; padding: 0; }
.adm-klist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.adm-klist li:last-child { border-bottom: 0; }
.adm-klist .adm-rem { display: grid; gap: 6px; justify-items: end; min-width: 0; }
.adm-klist .adm-bar { width: 72px; }
.adm-klist .adm-sub { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; font-size: 12.5px; color: var(--muted); }

/* pager */
.adm-pager { display: flex; align-items: center; justify-content: flex-end; gap: 4px; padding: 12px 16px; border-top: 1px solid var(--line); }
.adm-pager button { min-width: 32px; height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: var(--text-2); font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer; display: inline-grid; place-items: center; }
.adm-pager button:hover:not(:disabled) { background: var(--hover); color: var(--text); }
.adm-pager button[aria-current="page"] { background: var(--selected); color: var(--text); font-weight: 600; }
.adm-pager button:disabled { opacity: .35; cursor: default; }
.adm-pager .gap { min-width: 20px; text-align: center; color: var(--faint); }

/* row menu (fixed so table scrolling never clips it) */
.adm-menu { position: fixed; z-index: 30; min-width: 190px; padding: 4px; border-radius: 12px; border: 1px solid var(--border-3); background: var(--menu); box-shadow: 0 16px 40px var(--shadow); text-align: left; }
.adm-menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--text); font-size: 13.5px; text-align: left; cursor: pointer; }
.adm-menu button:hover, .adm-menu button:focus-visible { background: var(--selected); outline: none; }
.adm-menu .danger { color: var(--bad); }
.adm-menu hr { margin: 4px 0; border: 0; border-top: 1px solid var(--border-2); }

/* reconciliation */
.adm-recon { display: grid; }
.adm-recon article { display: grid; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); min-width: 0; }
.adm-recon article:first-child { border-top: 0; }
.adm-card-head + div .adm-recon article:first-child { padding-top: 0; }
.adm-recon-head { display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; min-width: 0; }
.adm-recon-head .mono { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.adm-recon-head small { order: 3; flex-basis: 100%; color: var(--faint); font-size: 12px; }
.adm-recon-head .adm-pill { margin-left: auto; }
.adm-recon p { color: var(--text-2); font-size: 13.5px; text-wrap: pretty; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adm-recon-act { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.adm-recon-act .adm-field { flex: 1 1 220px; max-width: 420px; }
.adm-recon-act .adm-field input { height: 32px; border-radius: 8px; font-size: 13px; }
.adm-recon-info { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }

/* mini lists on the overview */
.adm-mini { list-style: none; margin: 0; padding: 0 20px 8px; }
.adm-mini li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.adm-mini li:first-child { border-top: 0; padding-top: 0; }
.adm-mini b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-mini small { grid-column: 1; font-size: 12px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-mini .end { grid-row: 1 / span 2; grid-column: 2; white-space: nowrap; }
.adm-mini .adm-bar { width: 64px; }

/* form fields */
.adm-form { display: grid; gap: 14px; }
.adm-field { display: grid; gap: 6px; min-width: 0; }
.adm-field > span { font-size: 13px; font-weight: 500; color: var(--text-2); }
.adm-field input { width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--field); outline: none; min-width: 0; font-size: 14px; }
.adm-field small { font-size: 12px; color: var(--faint); }
.adm-field > span .adm-optional { font-weight: 400; color: var(--faint); }
.adm-tools-end { margin-left: auto; }
.adm-textarea.short { min-height: 96px; }
.adm-textarea.tiny { min-height: 64px; }
.adm-preview input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); vertical-align: middle; }
.adm-preview .pick { width: 36px; }
.adm-field code { font-size: 11.5px; color: var(--text-2); overflow-wrap: anywhere; }

/* settings page */
.adm-settings { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.adm-quota { display: grid; gap: 8px; padding: 14px 16px; margin-bottom: 16px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); }
.adm-quota-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.adm-quota-top b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.adm-quota-top span { color: var(--muted); font-size: 12.5px; }
.adm-quota .adm-bar { width: 100%; }
.adm-card-alert { margin-bottom: 16px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--bad-line); background: var(--bad-soft); color: var(--bad); font-size: 13px; overflow-wrap: anywhere; }

/* routing editor (routing.js markup; admin look — /admin/dola and /admin/miora keep routing.css) */
.routing-editor { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.routing-matrix { grid-column: 1 / -1; grid-row: 1; display: grid; min-width: 0; }
.routing-model { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); min-width: 0; }
.routing-model:first-child { border-top: 0; padding-top: 0; }
.routing-model-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.routing-model-heading > div { display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; min-width: 0; }
.routing-model-heading strong { font-weight: 600; }
.routing-model-heading code { font-size: 12px; color: var(--faint); }
.routing-model-type { font-size: 12px; color: var(--faint); white-space: nowrap; }
.routing-sources { display: grid; gap: 8px; }
.routing-source { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 6px 0 12px; border-radius: 10px; border: 1px solid var(--border-2); color: var(--muted); }
.routing-source-on { background: var(--field); color: var(--text); }
.routing-toggle { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.routing-toggle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.routing-toggle input { flex: none; appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border-radius: 5px; border: 1.5px solid var(--border-3); background: transparent no-repeat center / 12px; cursor: pointer; }
.routing-toggle input:checked { border-color: var(--accent); background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1206' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.routing-toggle input:disabled { cursor: default; }
.routing-order { font-size: 12px; color: var(--faint); white-space: nowrap; }
.routing-moves { display: flex; gap: 2px; }
.routing-move { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; }
.routing-move:hover:not(:disabled) { background: var(--selected); color: var(--text); }
.routing-move:disabled { opacity: .35; cursor: default; }
.routing-probe { display: flex; align-items: center; gap: 4px 12px; min-height: 28px; flex-wrap: wrap; }
.routing-probe-button { padding: 0; border: 0; background: none; color: var(--accent); font-size: 12.5px; font-weight: 500; cursor: pointer; }
.routing-probe-button:disabled { color: var(--faint); cursor: default; }
.routing-probe-result { font-size: 12.5px; color: var(--muted); }
.routing-summary { grid-column: 1; grid-row: 2; align-self: stretch; display: flex; align-items: center; min-height: 47px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.routing-summary.routing-dirty { color: var(--accent); }
.routing-footer { display: contents; }
.routing-guidance { display: none; }
.routing-actions { grid-column: 2; grid-row: 2; align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 14px 0 0 12px; border-top: 1px solid var(--line); }
.routing-save, .routing-discard { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid transparent; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.routing-save { background: var(--accent); color: var(--accent-ink); }
.routing-save:hover:not(:disabled) { background: var(--accent-hover); }
.routing-discard { border-color: var(--border-3); background: none; color: var(--text); }
.routing-save:disabled, .routing-discard:disabled { opacity: .45; cursor: not-allowed; }

/* banner */
.adm-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--accent-line); background: var(--accent-soft); }
.adm-banner > .ic { width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.adm-banner > div { flex: 1; min-width: 0; }
.adm-banner b { display: block; font-weight: 600; color: var(--accent); }
.adm-banner p { color: var(--text-2); font-size: 13.5px; overflow-wrap: anywhere; }
.adm-banner .btn { align-self: center; }
.adm-banner.error { border-color: var(--bad-line); background: var(--bad-soft); }
.adm-banner.error > .ic, .adm-banner.error b { color: var(--bad); }

/* loading skeleton */
.sk { display: block; width: 60%; height: 12px; border-radius: 6px; background: var(--border-2); }
.sk + .sk { margin-top: 8px; }
.sk-row { display: grid; gap: 8px; padding: 16px 20px; border-top: 1px solid var(--line); }
.sk-row:first-child { border-top: 0; }

/* empty state */
.adm-empty { display: grid; justify-items: center; gap: 8px; padding: 48px 20px; text-align: center; }
.adm-empty .ic { width: 22px; height: 22px; color: var(--muted); }
.adm-empty-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--border); }
.adm-empty b { font-size: 15px; font-weight: 600; }
.adm-empty p { max-width: 360px; color: var(--muted); font-size: 13.5px; text-wrap: pretty; }
.adm-empty .btn { margin-top: 8px; }
.adm-card-head + div .adm-empty { padding-top: 24px; }

/* dialogs */
.adm-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border-radius: 16px; border: 1px solid var(--border-3); background: var(--overlay); color: var(--text); box-shadow: 0 24px 60px var(--shadow); overflow: auto; }
.adm-dialog::backdrop { background: var(--shade); }
.adm-dialog-body { display: grid; gap: 16px; padding: 24px; }
.adm-dialog-body > * { min-width: 0; }
.adm-dialog h2 { font-size: 18px; font-weight: 600; text-wrap: balance; }
.adm-dialog-text { color: var(--text-2); font-size: 13.5px; overflow-wrap: anywhere; }
.adm-dialog-text strong { color: var(--text); font-weight: 600; }
.adm-modal-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.adm-secret { display: block; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--accent-line); background: var(--field); color: var(--text); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; user-select: all; }

/* toast (popover = shown above open dialogs) */
.toast { position: fixed; inset: auto 20px 20px auto; margin: 0; z-index: 60; max-width: min(420px, calc(100% - 32px)); padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border-3); background: var(--toast); color: var(--text); font-size: 13.5px; box-shadow: 0 16px 40px var(--shadow); overflow-wrap: anywhere; }
.toast.error { border-color: var(--bad-line); color: var(--bad); }
.toast:not([popover]) { display: none; }
.toast:not([popover]).visible { display: block; }

/* ---------- Nguồn pages (sources.js, 2026-10-03): source list, pools, import dialog ---------- */
.adm-pill.bad { color: var(--bad); background: var(--bad-soft); }
.adm-switch { position: relative; flex: none; width: 36px; height: 20px; padding: 0; border: 0; border-radius: 10px; background: var(--border-3); cursor: pointer; transition: background .15s; }
.adm-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-2); transition: translate .15s, background .15s; }
.adm-switch[aria-checked="true"] { background: var(--accent); }
.adm-switch[aria-checked="true"]::after { translate: 16px 0; background: var(--accent-ink); }
.adm-switch:disabled { opacity: .45; cursor: default; }

/* source list on "Nguồn & định tuyến" */
.adm-srcs { list-style: none; margin: 0; padding: 0; }
.adm-srcs li { display: grid; grid-template-columns: 36px minmax(0, 1.3fr) 132px minmax(0, 1fr) 72px; grid-template-areas: "icon name state cap link"; gap: 16px; align-items: center; min-height: 68px; padding: 12px 20px; border-top: 1px solid var(--line); }
.adm-srcs .adm-src-icon { grid-area: icon; } .adm-srcs .adm-src-name { grid-area: name; min-width: 0; } .adm-srcs .adm-src-state { grid-area: state; } .adm-srcs .adm-cap { grid-area: cap; } .adm-srcs .link-btn { grid-area: link; }
.adm-srcs li:first-child { border-top: 0; }
.adm-srcs li[aria-current="true"] { background: var(--selected); }
.adm-src-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--card-2); color: var(--text-2); }
.adm-src-icon .ic { width: 18px; height: 18px; }
.adm-srcs b { display: block; font-weight: 600; }
.adm-srcs small { display: block; overflow: hidden; color: var(--faint); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.adm-cap { display: grid; gap: 6px; min-width: 0; }
.adm-cap span { font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-cap span b { display: inline; color: var(--text); }
.adm-cap .adm-bar { width: 100%; max-width: 180px; }
.adm-srcs .link-btn { justify-self: end; }

/* account tables */
.adm-proxy { display: block; max-width: 180px; overflow: hidden; font-family: var(--mono); font-size: 12px; color: var(--text-2); text-overflow: ellipsis; white-space: nowrap; }
.adm-proxy.none { font-family: var(--sans); color: var(--faint); }
.adm-use { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.adm-use b { min-width: 46px; font-weight: 600; font-variant-numeric: tabular-nums; }
.adm-use b small { margin-left: 2px; font-weight: 400; color: var(--faint); }
.adm-use .adm-bar { width: 64px; }

/* price rows on Dola API */
.adm-kv { display: grid; }
.adm-kv div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 20px; border-top: 1px solid var(--line); }
.adm-kv div:first-child { border-top: 0; }
.adm-kv span { color: var(--text-2); }
.adm-kv b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* import (paste JSON / pick file → preview → send) */
.adm-textarea { width: 100%; min-height: 156px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--field); color: var(--text); font: 12.5px/1.55 var(--mono); resize: vertical; outline: none; }
.adm-textarea::placeholder { color: var(--faint); font-family: var(--sans); }
.adm-textarea:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.adm-import-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adm-import-pick small { color: var(--faint); font-size: 12px; }
.adm-table.compact th { height: 36px; }
.adm-table.compact td { height: 44px; padding-top: 6px; padding-bottom: 6px; font-size: 13px; }
.adm-check { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.adm-check .ic { width: 14px; height: 14px; }
.adm-check.ok { color: var(--ok); } .adm-check.warn { color: var(--accent); } .adm-check.bad { color: var(--bad); }
.adm-import-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.adm-import-foot > span { color: var(--muted); font-size: 13px; }
.adm-import-foot > span b { color: var(--text); font-weight: 600; }
.adm-dialog.wide { width: min(760px, calc(100% - 32px)); }
.adm-preview { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
.adm-preview .adm-table th:first-child, .adm-preview .adm-table td:first-child { padding-left: 14px; }

@media (max-width: 1100px) {
  .adm-srcs li { grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "icon name state" ". cap link"; row-gap: 8px; }
}
@media (max-width: 720px) {
  .adm-srcs li { padding: 12px 16px; gap: 6px 12px; }
  .adm-kv div { padding: 8px 16px; }
  .adm-import-foot .btn { flex: 1; }
}

/* key pools (Workbench, Dola API): one row per key, add form below */
.adm-keyrows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.adm-keyrows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main act" "bal act"; gap: 6px 12px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line); }
.adm-keyrows li:first-child { border-top: 0; }
.adm-keyrow-main { grid-area: main; display: flex; align-items: center; gap: 8px; min-width: 0; }
.adm-keyrow-main b { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.adm-keyrow-main small { flex: none; color: var(--faint); font-size: 12px; font-family: var(--mono); }
.adm-keyrow-bal { grid-area: bal; display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text-2); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-keyrow-bal b { color: var(--text); font-weight: 600; }
.adm-keyrow-bal .adm-bar { flex: 1 1 60px; width: auto; min-width: 32px; max-width: 140px; }
.adm-keyrow-act { grid-area: act; display: flex; align-items: center; gap: 4px; }
.adm-keyrows li.off .adm-keyrow-main b, .adm-keyrows li.off .adm-keyrow-bal { color: var(--faint); }
.adm-keyadd { padding-top: 16px; }
.adm-keyadd-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-keyadd-foot small { flex: 1 1 200px; color: var(--faint); font-size: 12px; text-wrap: pretty; }
.adm-keyrows li.none { display: block; color: var(--muted); font-size: 13px; }

/* sources: small helpers that replace inline styles (CSP) */
.adm-meta.clip { max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.adm-free-pill { margin-top: 4px; height: 20px; font-size: 11px; }
.adm-proxy.bad { font-family: var(--sans); color: var(--bad); }
.adm-kv-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.adm-kv div { flex-wrap: wrap; }
.adm-kv b { white-space: nowrap; }
.adm-klist li > div:first-child { min-width: 0; }
.adm-card-head + .adm-empty { padding-top: 12px; }
.adm-dialog-body.flat { padding: 0; }
.adm-import-btns { display: flex; gap: 8px; }
.adm-preview .idx { text-align: left; color: var(--text-2); font-variant-numeric: tabular-nums; }
.adm-dialog .adm-card-alert { margin: 0; }
.adm-preview:empty { display: none; }
@media (max-width: 720px) {
  .adm-keyrows li { padding: 12px 16px; }
  .adm-preview .col-wide { display: none; }
  .adm-preview .adm-check { white-space: normal; }
  .adm-import-btns { flex: 1; }
}

/* ---------- responsive ---------- */
@media (min-width: 1700px) {
  .adm-c-main { margin-inline: auto; }
}
@media (max-width: 1100px) {
  .adm-settings, .adm-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .adm-shell { grid-template-columns: minmax(0, 1fr); }
  .adm-sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 41; width: 280px; height: auto; border-right-color: var(--border-3); transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; }
  .adm-shell.drawer-open .adm-sidebar { transform: none; visibility: visible; transition: transform .2s ease; box-shadow: 24px 0 60px var(--shade-soft); }
  .adm-shell.drawer-open .adm-scrim { display: block; position: fixed; inset: 0; z-index: 40; background: var(--shade-soft); }
  .adm-c-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; height: 56px; padding: 0 16px; background: var(--side); border-bottom: 1px solid var(--line); }
  .adm-burger { display: inline-grid; margin-left: auto; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .adm-sidebar, .adm-shell.drawer-open .adm-sidebar { transition: none; }
}
@media (max-width: 720px) {
  .adm-c-main { padding: 20px 16px 40px; gap: 16px; }
  .adm-page { gap: 16px; }
  .adm-head h1 { font-size: 20px; }
  .adm-head-actions .btn-outline { width: 40px; padding: 0; }
  .adm-head-actions .btn-outline span { display: none; }
  .adm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-stat:last-child { grid-column: 1 / -1; }
  .adm-stat { padding: 14px 16px; }
  .adm-stat-value { font-size: 20px; }
  .adm-tools { padding: 14px 16px; }
  .adm-search { flex: 1 1 100%; min-width: 0; }
  .adm-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .adm-table-wrap.keys { display: none; }
  .adm-klist { display: block; }
  .adm-recon article { padding: 14px 16px; }
  .adm-card-head { padding: 14px 16px; min-height: 60px; }
  .adm-card-body { padding: 0 16px 16px; }
  .adm-card-empty { padding: 0 16px 16px; }
  .adm-mini { padding-left: 16px; padding-right: 16px; }
  .adm-table th:first-child, .adm-table td:first-child { padding-left: 16px; }
  .adm-banner { flex-wrap: wrap; }
  .adm-banner > div { flex-basis: calc(100% - 32px); }
  .adm-banner .btn { margin-left: 32px; }
  .adm-pager { justify-content: center; }
  .routing-editor { grid-template-columns: minmax(0, 1fr); }
  .routing-actions { grid-column: 1; grid-row: 3; justify-content: flex-end; padding: 10px 0 0; border-top: 0; }
  .routing-source { flex-wrap: wrap; padding-block: 4px; }
  .auth-card { padding: 28px 20px; }
  .toast { inset: auto 16px 16px 16px; max-width: none; }
}
/* Thanh toán (billing-admin.js) */
.billing-test { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: start; }
.billing-test.no-qr { grid-template-columns: minmax(0, 1fr); }
.billing-test img { width: 200px; max-width: 100%; aspect-ratio: 1; border-radius: 10px; background: #fff; padding: 6px; }
.billing-test dl { margin: 0; display: grid; gap: 6px; }
.billing-test dt { font-size: 12.5px; color: var(--muted); }
.billing-test dd { margin: 0 0 6px; font-weight: 600; overflow-wrap: anywhere; }
.billing-note { max-width: 280px; color: var(--text-2); font-size: 12.5px; overflow-wrap: anywhere; }
.billing-actions { display: inline-flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 640px) { .billing-test { grid-template-columns: minmax(0, 1fr); } }

/* Mã giảm giá */
.adm-card-note { padding: 0 20px 14px; color: var(--muted); font-size: 13px; max-width: 80ch; }
.adm-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.adm-switch-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.adm-form-error { color: var(--bad, #ef7b72); font-size: 13px; }
.discount-code { font-family: var(--mono); font-weight: 600; letter-spacing: .03em; }
.discount-sub { display: block; color: var(--faint); font-size: 12px; }
.billing-discount { display: block; color: var(--faint); font-size: 12px; white-space: nowrap; }
@media (max-width: 480px) { .adm-field-row { grid-template-columns: minmax(0, 1fr); } }
/* ---------- MiniMax H3 (2026-10-18): thứ tự nguồn, video 24 giờ, lịch sử dùng của key ---------- */
.adm-card-head > div { min-width: 0; }
.adm-card-head h2 { text-wrap: balance; }
/* công tắc 36×20: nới vùng bấm cho ngón tay, hình giữ nguyên */
.adm-switch::before { content: ""; position: absolute; inset: -10px -6px; }
.h3-order { display: inline-flex; align-items: center; gap: 2px; }
.h3-order b { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 4px; border-radius: 7px; background: var(--card-2); border: 1px solid var(--border-2); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
.h3-path { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.h3-path .ic { width: 14px; height: 14px; color: var(--faint); }
.h3-path s { color: var(--faint); text-decoration: line-through; }
.h3-head-switch { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.h3-head-switch .adm-meta { white-space: normal; }
.h3-accepts { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.h3-24 { display: block; font-size: 13px; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.h3-24 em { font-style: normal; color: var(--bad); }
.adm-table td .adm-meta.wrap { white-space: normal; max-width: 260px; }
.adm-klist .h3-note { min-height: 0; }
.h3-klist li > div:first-child .adm-meta { white-space: normal; }
.adm-klist .h3-note.adm-bad-text { color: var(--bad); }
.adm-usage-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.adm-usage-head > div { display: grid; gap: 4px; min-width: 0; }
#usage-view .adm-table-wrap { margin: 0 -24px; }
#usage-view .adm-table th:first-child, #usage-view .adm-table td:first-child { padding-left: 24px; }
#usage-view .adm-table th:last-child, #usage-view .adm-table td:last-child { padding-right: 24px; }
#usage-view .adm-klist { margin: 0 -24px; }
@media (max-width: 720px) {
  .h3-head-switch .adm-meta { display: none; }
  .h3-card-head { flex-wrap: wrap; row-gap: 10px; }
  .h3-card-head > div:first-child .adm-meta { white-space: normal; }
  .h3-card-head .h3-head-switch { flex-basis: 100%; justify-content: space-between; }
  /* Hàng nút lọc cuộn ngang: mép mờ 32px ở phía còn nút bị khuất (admin.js đặt data-more-left / data-more-right) */
  .adm-chips { --fade-l: 0px; --fade-r: 0px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); }
  .adm-chips[data-more-left] { --fade-l: 32px; }
  .adm-chips[data-more-right] { --fade-r: 32px; }
}
/* Nguồn & định tuyến: công tắc tạm tắt model (19/10/2026) */
.route-pause { display: grid; gap: 12px; padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.route-pause-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.route-pause-row > div { display: grid; gap: 2px; min-width: 0; }
.route-pause .adm-meta { white-space: normal; }
