/* =====================================================================================================
   AQS Ops — DESIGN KIT: styles (owner, 11 Nov 2026)
   Every colour token and every component style of the tracker lives in this one file.
   - Tokens (colours, chart colours) are the first blocks; use them, never raw hex, in new styles.
   - Components built by ui.js (window.AQSUI) use the classes in the "Kit components" section at the end.
   - See docs/DESIGN_GUIDE.md and the Design kit page in the design copy (Settings > Design kit).
   - Run `python3 design/check.py` before showing any screen change; it also stamps ui.css / ui.js versions.
   ===================================================================================================== */
/* Layout: sticky top bar with tabs; each tab is a full-width working surface (tables, boards). */
/* AQS Ops theme: greys, black and white with light red as the only accent (see design canvas "AQS Ops — new theme").
   Primary buttons are near-black; light red marks active/selected things; text on light red uses --hl-ink. */
:root {
  --bg: #F4F4F5; --panel: #FFFFFF; --panel-2: #F4F4F5; --hover: #FAFAFA; --line: #DCDCE0; --line-2: #C6C6CC; --fg: #17171A; --muted: #6E6E77;
  --accent: #17171A; --accent-ink: #FFFFFF; --accent-hover: #26262A; --accent-soft: #FFE9E9;
  --hl-softer: #FFF5F5; --hl-soft: #FFE9E9; --hl-line: #FFB3B3; --hl: #F25C5C; --hl-ink: #BE2A2A; --focus: #BE2A2A;
  --badge-bg: #FFD4D4; --badge-fg: #971F1F; --logo-plate: transparent;
  --ok: #1C7442; --warn: #865600; --bad: #BE2A2A; --grey: #9E9EA7; --info: #2453BF;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 10px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #111113; --panel: #17171A; --panel-2: #232328; --hover: #1C1C20; --line: #303036; --line-2: #45454D; --fg: #F4F4F5; --muted: #9E9EA7;
  --accent: #F4F4F5; --accent-ink: #17171A; --accent-hover: #E2E2E7; --accent-soft: #3A1F22;
  --hl-softer: #2A1A1C; --hl-soft: #3A1F22; --hl-line: #5C2A2F; --hl: #FF6B6B; --hl-ink: #FF9C9C; --focus: #FF9C9C;
  --badge-bg: #FF8A8A; --badge-fg: #17171A; --logo-plate: #FFFFFF;
  --ok: #7FD9A2; --warn: #F5C46B; --bad: #FF6B6B; --grey: #6E6E77; --info: #9DB8FF; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #111113; --panel: #17171A; --panel-2: #232328; --hover: #1C1C20; --line: #303036; --line-2: #45454D; --fg: #F4F4F5; --muted: #9E9EA7;
  --accent: #F4F4F5; --accent-ink: #17171A; --accent-hover: #E2E2E7; --accent-soft: #3A1F22;
  --hl-softer: #2A1A1C; --hl-soft: #3A1F22; --hl-line: #5C2A2F; --hl: #FF6B6B; --hl-ink: #FF9C9C; --focus: #FF9C9C;
  --badge-bg: #FF8A8A; --badge-fg: #17171A; --logo-plate: #FFFFFF;
  --ok: #7FD9A2; --warn: #F5C46B; --bad: #FF6B6B; --grey: #6E6E77; --info: #9DB8FF; color-scheme: dark; }

body { background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 14px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--panel); }
.vt { font-variant-numeric: tabular-nums; }
.vt-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--panel); border-bottom: 1px solid var(--line);
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); padding-block: 12px 0; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
/* search results sit above full pages and drawers while open (owner, 16 Nov 2026: results were hidden behind the booking page) */
.vt-top:has(.vt-gs-pop:not([hidden])) { z-index: 55; }
.vt-barrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 28px; align-items: center; min-height: 44px; }
.vt-name { line-height: 1.2; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.vt-logo { display: inline-grid; place-items: center; flex: none; }
.vt-logo .vt-logo-d { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vt-logo .vt-logo-l { display: none !important; } :root:not([data-theme="light"]) .vt-logo .vt-logo-d { display: block !important; } }
:root[data-theme="dark"] .vt-logo .vt-logo-l { display: none !important; } :root[data-theme="dark"] .vt-logo .vt-logo-d { display: block !important; }
.vt-logo img { display: block; height: 38px; width: auto; }
.vt-logo.is-lg img { height: 63px; }
.vt-name { font-weight: 650; letter-spacing: -.01em; }
.vt-iconbtn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.vt-iconbtn svg { width: 19px; height: 19px; }
.vt-iconbtn:hover { color: var(--fg); background: var(--panel-2); }
.vt-iconbtn[aria-current="page"] { color: var(--hl-ink); border-color: var(--hl-ink); background: var(--accent-soft); }
.vt-prefpop { box-sizing: border-box; position: fixed; z-index: 46; width: min(380px, calc(100vw - 16px)); max-height: calc(100vh - 90px); overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 16px 40px rgb(0 0 0 / .16); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.vt-prefpop .vt-card-box.is-pop { border: 0; padding: 0; box-shadow: none; background: none; }
.vt-prefpop .vt-prefs { grid-template-columns: 1fr; }
.vt-prefpop-foot { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.vt-iconbtn[aria-expanded="true"] { color: var(--hl-ink); border-color: var(--hl-line); background: var(--hl-soft); }
.vt-iconbtn-t { gap: 6px; } .vt-iconbtn-t svg { width: 16px; height: 16px; }
body.vt-locked #app, body.vt-locked .vt-mnav, body.vt-locked .vt-drawer, body.vt-locked .vt-msheet { display: none !important; }
.vt-login { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: var(--bg); }
.vt-login-card { width: min(100%, 380px); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; box-shadow: 0 12px 40px rgba(0,0,0,.08); display: flex; flex-direction: column; gap: 10px; }
.vt-login-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.vt-login-card h2 { margin: 8px 0 0; font-size: 20px; }
.vt-login-form { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.vt-login-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); font-weight: 600; }
.vt-login-form input { height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 15px; background: var(--panel); color: var(--fg); }
.vt-login-form input.is-invalid { border-color: var(--bad); box-shadow: 0 0 0 2px color-mix(in srgb, var(--bad) 22%, transparent); }
.vt-login-form .vt-btn { height: 42px; justify-content: center; font-size: 15px; }
.vt-login-err { color: var(--bad); font-size: 13px; font-weight: 600; min-height: 1em; }
.vt-mebtn { gap: 6px; } .vt-mebtn svg { width: 16px; height: 16px; } .vt-mebtn[data-arm] { color: var(--bad); border-color: var(--bad); }
.vt-adduser { margin-top: 12px; align-items: end; }
.vt-robanner { margin: 12px 20px 0; padding: 10px 14px; border: 1px solid #f59f00; background: color-mix(in srgb, #f59f00 12%, var(--panel)); border-radius: 10px; font-size: 13.5px; font-weight: 600; }
/* 'hidden' must always hide (claude.ai added this rule itself; the stand-alone site needs it, or styled tabs and buttons such as Rates and Export stay visible to Staff) */
[hidden]:not([hidden=until-found i]) { display: none !important; }
.vt-robanner[hidden] { display: none; }
.vt-tabsep { flex: none; width: 1px; align-self: center; height: 18px; background: var(--line); margin: 0 6px; }
.vt-topact { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.vt-topact .vt-btn { height: 36px; display: inline-flex; align-items: center; }
.vt-barrow .vt-gsearch { justify-self: center; width: 100%; }
.vt-name { font-family: var(--serif); font-size: 20px; font-weight: 500; margin: 0; }
.vt-gsearch { position: relative; max-width: 42rem; display: flex; align-items: center; }
.vt-gsearch svg { position: absolute; left: 10px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.vt-gsearch input { width: 100%; box-sizing: border-box; height: 36px; padding: 0 64px 0 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); color: var(--fg); font: inherit; font-size: 13.5px; }
.vt-gsearch input:focus { outline: 2px solid var(--focus); outline-offset: -1px; background: var(--panel); }
.vt-gsearch kbd { position: absolute; right: 8px; font: 11px var(--mono, monospace); color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; background: var(--panel); pointer-events: none; }
.vt-gsearch input:focus ~ kbd, .vt-gsearch input:not(:placeholder-shown) ~ kbd { display: none; }
.vt-gs-pop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: min(36rem, calc(100vw - 32px)); max-height: min(70vh, 34rem); overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px rgb(0 0 0 / .18); z-index: 30; padding: 6px 0; }
.vt-gs-sec + .vt-gs-sec { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.vt-gs-head { display: flex; align-items: center; gap: 8px; padding: 6px 14px 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.vt-gs-head b { font-weight: 600; color: var(--fg); }
.vt-gs-head span { background: var(--panel-2); border-radius: 999px; padding: 0 7px; }
.vt-gs-all { margin-left: auto; border: 0; background: none; color: var(--accent); font: inherit; font-size: 11.5px; text-transform: none; letter-spacing: 0; cursor: pointer; padding: 2px 4px; }
.vt-gs-row { display: flex; align-items: center; gap: 10px; padding: 7px 14px; cursor: pointer; }
.vt-gs-row.is-active { background: var(--accent-soft); }
.vt-gs-note { padding: 6px 14px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.vt-gs-row.is-more .vt-gs-main { color: var(--accent); font-size: 12.5px; }
.vt-gs-txt { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.vt-gs-main { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-gs-main.mono { font-family: var(--mono, monospace); }
.vt-gs-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-gs-right { font-size: 12.5px; white-space: nowrap; }
.vt-gs-row > :not(.vt-gs-txt) { white-space: nowrap; flex: none; font-size: 12px; }
.vt-gs-none { padding: 14px; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .vt-barrow { grid-template-columns: minmax(0, 1fr) auto; } .vt-barrow .vt-gsearch { grid-column: 1 / -1; grid-row: 2; max-width: none; } .vt-name { white-space: normal; } }
@media (max-width: 640px) { .vt-gsearch { max-width: none; } .vt-gsearch kbd { display: none; } .vt-gs-pop { position: fixed; left: 12px; right: 12px; top: auto; min-width: 0; } }
.vt-sync { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.vt-sync i { width: 8px; height: 8px; border-radius: 50%; background: var(--grey); display: inline-block; }
.vt-sync.is-live i { background: var(--ok); }
.vt-tabs { display: flex; align-items: stretch; gap: 0 2px; margin-top: 10px; margin-left: -8px; overflow-x: auto; scrollbar-width: none; }
.vt-tabs::-webkit-scrollbar { display: none; }
.vt-tab .is-long { display: inline; }
.vt-tab { font: inherit; font-size: 14px; font-weight: 500; background: none; border: 0; border-bottom: 2.5px solid transparent; color: var(--muted); padding: 9px 12px 11px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; border-radius: 6px 6px 0 0; }
.vt-tab:hover { background: var(--panel-2); }
.vt-tab:hover { color: var(--fg); }
.vt-tab[aria-selected="true"] { color: var(--accent); font-weight: 600; border-bottom-color: var(--accent); }
.vt-tab b { font-weight: 600; font-size: 11.5px; color: var(--muted); margin-left: 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; line-height: 18px; }
.vt-tab b:empty { display: none; }
.vt-tab b.vt-badge { background: var(--badge-bg); border-color: var(--badge-bg); color: var(--badge-fg); }
.vt-tab[aria-selected="true"] b:not(.vt-badge) { color: var(--hl-ink); border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: var(--accent-soft); }
.vt-main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 18px 40px; display: flex; flex-direction: column; gap: 16px; }
.vt-notice { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; color: var(--muted); }

.vt-btn { font: inherit; font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); cursor: pointer; white-space: nowrap; }
.vt-btn:hover { border-color: var(--muted); }
.vt-btn.is-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.vt-btn.is-primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.vt-btn, .vt-iconbtn, .vt-tab, .vt-kpi, .vt-chip { transition: background-color 120ms ease-out, border-color 120ms ease-out, color 120ms ease-out, transform 120ms ease-out; }
.vt-btn:active:not(:disabled), .vt-iconbtn:active, .vt-kpi.is-click:active { transform: translateY(1px); }
.vt-btn.is-danger { color: var(--bad); }
.vt-btn.is-danger.is-armed { background: var(--bad); border-color: var(--bad); color: #fff; }
.vt-btn:disabled { opacity: .5; cursor: default; }
.vt-btn:focus-visible, .vt-tab:focus-visible, .vt-card:focus-visible, .vt-colhead:focus-visible, .vt-table tbody tr:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.vt-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.vt-f { display: flex; flex-direction: column; gap: 3px; flex: 1 1 9rem; max-width: 14rem; min-width: 0; }
.vt-f.is-wide { flex: 2 1 14rem; max-width: 22rem; }
.vt-f span { font-size: 11.5px; color: var(--muted); }
.vt-f input, .vt-f select, .vt-form input, .vt-form select, .vt-form textarea, .vt-paste textarea, .vt-inline {
  font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); min-width: 0; width: 100%; box-sizing: border-box; }
.vt-tools .vt-spacer { flex: 1 1 0; }

.vt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 10px; }
.vt-kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vt-kpi span { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.vt-kpi b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.vt-kpi b.is-bad { color: var(--bad); }
.vt-kpi small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-kpi small.is-bad { color: var(--bad); font-weight: 600; }
.vt-kpi.is-click { font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color .12s, background .12s, box-shadow .12s; }
.vt-kpi.is-click:hover { border-color: var(--accent); }
.vt-kpi.is-click.is-on { border-color: var(--hl-ink); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--hl-line); }
.vt-kpi.is-click:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.vt-kpis-9 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.2rem), 1fr)); gap: 8px; }
.vt-kpis-10 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.4rem), 1fr)); gap: 8px; }
.vt-kpis-9 .vt-kpi, .vt-kpis-10 .vt-kpi { padding: 10px 12px; }
.vt-tag.vt-tag-ok { margin-left: 6px; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.vt-hist { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; display: flex; flex-direction: column; gap: 8px; }
.vt-hist h4 { margin: 0; font-size: 13px; font-weight: 600; }
.vt-files { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; display: flex; flex-direction: column; gap: 10px; }
.vt-files h4 { margin: 0; font-size: 13px; font-weight: 600; }
.vt-files-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vt-file-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vt-file { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; flex-wrap: wrap; }
.vt-file-ic { font-size: 18px; line-height: 1; }
.vt-file-th { position: relative; flex: none; width: 64px; height: 64px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel-2); padding: 0; overflow: hidden; display: grid; place-items: center; cursor: zoom-in; }
.vt-file-th img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; background: #fff; }
.vt-file-th:hover { border-color: var(--accent); }
.vt-file-badge { position: absolute; left: 3px; bottom: 3px; font-size: 9px; font-weight: 700; letter-spacing: .03em; padding: 1px 4px; border-radius: 3px; background: var(--bad); color: #fff; }
.vt-file-main { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vt-file-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-file-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.vt-file-meta .vt-tag { margin: 0; }
.vt-file-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.vt-drop { border: 1.5px dashed var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.vt-drop.is-over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.vt-drop.is-busy { opacity: .8; }
.vt-drop-cat { max-width: 260px; flex: none; }
.vt-fold .vt-file-meta .vt-tag { display: none; }
.vt-drop-txt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.vt-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vt-pv { position: fixed; inset: 0; z-index: 50; background: rgb(0 0 0 / .6); display: grid; place-items: center; padding: 16px; }
.vt-pv-box { width: min(1000px, 100%); height: min(92vh, 100%); background: var(--panel); border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 50px rgb(0 0 0 / .35); }
.vt-pv-head, .vt-pv-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.vt-pv-foot { border-bottom: 0; border-top: 1px solid var(--line); }
.vt-pv-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.vt-pv-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-pv-meta { font-size: 12px; color: var(--muted); }
.vt-pv-stage { flex: 1; min-height: 0; display: grid; place-items: center; background: var(--panel-2); overflow: auto; }
.vt-pv-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.vt-pv-stage:has(.vt-pdf) { display: block; overflow: hidden; }
.vt-pdf { align-self: stretch; justify-self: stretch; width: 100%; height: 100%; min-height: 0; display: grid; grid-template-columns: 150px 1fr; }
.vt-pdf.is-single { grid-template-columns: 1fr; } .vt-pdf.is-single .vt-pdf-side { display: none; }
.vt-pdf-side { overflow-y: auto; border-right: 1px solid var(--line); background: var(--panel); padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vt-pdf-thumb { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 5px; border: 0; border-radius: 6px; background: none; cursor: pointer; color: var(--muted); font: inherit; font-size: 11.5px; }
.vt-pdf-tc { display: block; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .2); border: 2px solid transparent; border-radius: 2px; }
.vt-pdf-thumb:hover .vt-pdf-tc { border-color: var(--line); }
.vt-pdf-thumb.is-on .vt-pdf-tc { border-color: var(--accent); }
.vt-pdf-thumb.is-on span { background: var(--accent); color: var(--accent-ink); border-radius: 10px; padding: 0 7px; }
.vt-pdf-main { overflow: auto; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px; }
@media (max-width: 640px) { .vt-pdf { grid-template-columns: 1fr; } .vt-pdf-side { display: none; } }
.vt-pv-page { background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / .18); max-width: 100%; height: auto; flex: none; }
.vt-pv-nav, .vt-pv-act { display: flex; align-items: center; gap: 8px; }
.vt-pv-n { font-size: 12.5px; color: var(--muted); }
.vt-fold-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vt-fold { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.vt-fold.is-open { background: var(--panel-2); }
.vt-fold-h { display: flex; align-items: center; gap: 8px; padding: 6px 8px; flex-wrap: wrap; }
.vt-fold-t { flex: 1 1 180px; min-width: 0; display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 2px; font: inherit; font-size: 13px; color: var(--fg); cursor: pointer; text-align: left; }
.vt-fold-t:disabled { cursor: default; }
.vt-fold.is-empty .vt-fold-t { color: var(--muted); } .vt-fold.is-empty .vt-fold-ic { opacity: .45; }
.vt-fold-ic { font-size: 17px; line-height: 1; }
.vt-fold-n { font-size: 12px; color: var(--muted); }
.vt-fold-btns { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vt-fold > .vt-file-l { padding: 0 8px 8px; }
.vt-fold .vt-file { background: var(--panel); }
.vt-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.vt-seg button { border: 0; background: var(--panel); color: var(--muted); font: inherit; font-size: 12px; padding: 4px 10px; cursor: pointer; }
.vt-seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.vt-bad { color: var(--bad); font-weight: 600; }
.vt-clm-cell { display: inline-flex; flex-direction: column; gap: 2px; } .vt-clm-cell small { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.vt-clm-sec { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.vt-clm-sec h4 { margin: 0; font-size: 13.5px; font-weight: 650; }
.vt-clm-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 8px; }
.vt-clm-sum > div { border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; background: var(--panel-2); }
.vt-clm-sum small { color: var(--muted); font-size: 11.5px; } .vt-clm-sum b { font-size: 15px; }
.vt-clm-sug { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border-radius: 8px; background: var(--hl-softer); border: 1px solid var(--hl-line); font-size: 13px; }
.vt-clm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-clm-chip { border: 1px solid var(--line); background: var(--panel); color: var(--fg); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 12.5px; cursor: pointer; }
.vt-clm-chip:hover:not(:disabled) { background: var(--panel-2); }
.vt-clm-chip[aria-pressed="true"] { background: var(--hl-soft); border-color: var(--hl-line); color: var(--hl-ink); font-weight: 600; }
.vt-clm-chip:disabled { cursor: default; opacity: .7; }
.vt-clm-tick { display: flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; padding: 6px 0; }
.vt-clm-tick input { width: 17px; height: 17px; accent-color: var(--accent); }
.vt-clm-side { display: flex; flex-direction: column; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-2); margin-bottom: 4px; }
.vt-clm-cur { max-width: 220px; }
.vt-clm-sec > label, .vt-clm-sec > .vt-f { flex: none; }
.vt-files.is-slot { border-top: 0; padding-top: 0; margin-top: 0; } .vt-files.is-slot > .vt-files-head h4 { display: none; }
/* claim form */
.vt-cf { display: grid; grid-template-columns: minmax(0, 1fr) 17.5rem; gap: 16px; align-items: start; }
@media (max-width: 960px) { .vt-cf { grid-template-columns: 1fr; } .vt-cf-aside { order: -1; position: static !important; } }
.vt-cf-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vt-cf-card { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.vt-cf-head { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px 0; }
.vt-cf-head h4 { margin: 0; font-size: 14px; font-weight: 650; } .vt-cf-head p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.vt-cf-n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.vt-cf-body { padding: 12px 14px 14px 48px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 640px) { .vt-cf-body { padding-left: 14px; } }
.vt-cf-body > label, .vt-cf-body > .vt-f { flex: none; }
.vt-cf-car { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); }
.vt-cf-search { position: relative; }
.vt-cf-sbox { position: relative; max-width: 34rem; }
.vt-cf-sicon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; } .vt-cf-sicon svg { width: 17px; height: 17px; display: block; }
.vt-cf-sbox input { width: 100%; box-sizing: border-box; height: 40px; padding: 0 12px 0 36px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--fg); font: inherit; font-size: 14px; }
.vt-cf-sbox input:hover { border-color: var(--line-2); } .vt-cf-sbox input:focus { outline: 2px solid var(--focus); outline-offset: -1px; }
.vt-cf-search.is-invalid input { border-color: var(--bad); }
.vt-cf-results { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgb(0 0 0 / .14); max-height: 20rem; overflow: auto; }
.vt-cf-results li[role=option] { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 7px; cursor: pointer; }
.vt-cf-results li.is-on { background: var(--hl-softer); }
.vt-cf-res-vin { font-family: var(--mono); font-size: 13px; font-weight: 600; } .vt-cf-res-sub { font-size: 12px; color: var(--muted); }
.vt-cf-res-note { padding: 10px; font-size: 12.5px; color: var(--muted); }
.vt-cf-carbtns { display: flex; gap: 12px; align-items: center; }
.vt-cf-car > div:first-child { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; } .vt-cf-car .mono { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.vt-cf-tags { display: flex; gap: 6px; flex-wrap: wrap; } .vt-cf-tags .vt-tag { margin: 0; }
.vt-cf-car a { font-size: 12.5px; align-self: flex-start; }
.vt-cf-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-cf-opt { border: 1px solid var(--line); background: var(--panel); color: var(--fg); border-radius: 8px; padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.vt-cf-opt:hover:not(:disabled) { background: var(--panel-2); border-color: var(--line-2); }
.vt-cf-opt[aria-pressed="true"] { background: var(--hl-soft); border-color: var(--hl-line); color: var(--hl-ink); font-weight: 600; }
.vt-cf-pick.is-invalid .vt-cf-opt { border-color: var(--bad); }
.vt-cf-drop { align-items: center; text-align: center; padding: 18px 14px; gap: 6px; }
.vt-cf-dropi { width: 38px; height: 38px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; color: var(--muted); }
.vt-cf-dropi svg { width: 20px; height: 20px; }
.vt-cf-droprow { display: flex; gap: 10px; align-items: flex-end; justify-content: center; flex-wrap: wrap; margin-top: 4px; text-align: left; }
.vt-cf-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 10px; margin-top: 10px; }
.vt-cf-thumb { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.vt-cf-thumb img, .vt-cf-pdf { display: grid; place-items: center; width: 100%; height: 86px; object-fit: cover; background: var(--panel-2); }
.vt-cf-pdf { font-weight: 700; color: var(--bad); font-size: 13px; }
.vt-cf-thumb figcaption { padding: 6px 8px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; } .vt-cf-thumb figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vt-cf-thumb small { color: var(--muted); font-size: 11px; }
.vt-cf-x { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgb(0 0 0 / .55); color: #fff; cursor: pointer; font-size: 11px; }
.vt-cf-cur { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.vt-cf-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 1100px) { .vt-cf-sides { grid-template-columns: 1fr; } }
.vt-cf-side { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 12px; background: var(--panel); }
.vt-cf-side.is-on { border-color: var(--line-2); background: var(--hover); }
.vt-cf-sidebody { display: flex; flex-direction: column; gap: 12px; } .vt-cf-sidebody .vt-form { grid-template-columns: 1fr; }
.vt-cf-body > label[data-key="vin"] { max-width: 26rem; width: 100%; } .vt-cf-body > label[data-key="vin"] input { width: 100%; box-sizing: border-box; }
.vt-cf-switch { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.vt-cf-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vt-cf-knob { flex: none; width: 36px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; transition: background-color 120ms ease-out; }
.vt-cf-knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform 120ms ease-out; }
.vt-cf-switch.is-on .vt-cf-knob { background: var(--accent); } .vt-cf-switch.is-on .vt-cf-knob::after { transform: translateX(16px); background: var(--accent-ink); }
.vt-cf-switch input:focus-visible + .vt-cf-knob { outline: 2px solid var(--focus); outline-offset: 2px; }
.vt-cf-swt { display: flex; flex-direction: column; } .vt-cf-swt b { font-size: 13.5px; } .vt-cf-swt small { font-size: 12px; color: var(--muted); }
.vt-cf-track { display: flex; flex-direction: column; gap: 8px; }
.vt-cf-steps { display: flex; flex-wrap: wrap; gap: 4px; }
.vt-cf-step { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 999px; padding: 4px 10px 4px 4px; font: inherit; font-size: 12.5px; cursor: pointer; }
.vt-cf-step i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.vt-cf-step.is-done { color: var(--fg); } .vt-cf-step.is-done i { background: var(--ok); color: #fff; }
.vt-cf-step.is-on { color: var(--hl-ink); border-color: var(--hl-line); background: var(--hl-soft); font-weight: 600; } .vt-cf-step.is-on i { background: var(--hl-ink); color: #fff; }
.vt-cf-rej { align-self: flex-start; border: 1px dashed var(--line-2); background: none; color: var(--muted); border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.vt-cf-rej.is-on { border-style: solid; border-color: var(--bad); color: var(--bad); font-weight: 600; }
.vt-cf-partly { display: flex; gap: 8px; align-items: center; font-size: 12.5px; }
.vt-cf-money { display: flex; align-items: stretch; } .vt-cf-money b { display: grid; place-items: center; padding: 0 9px; border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; background: var(--panel-2); font-size: 12px; color: var(--muted); }
.vt-cf-money input { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; flex: 1; min-width: 0; }
.vt-cf-aside { position: sticky; top: 0; display: flex; flex-direction: column; gap: 12px; }
.vt-cf-sum { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 12px; background: var(--panel-2); }
.vt-cf-sumhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 600; font-size: 13px; }
.vt-cf-money3 { display: flex; flex-direction: column; gap: 8px; } .vt-cf-money3 > div { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.vt-cf-money3 small { font-size: 12px; color: var(--muted); } .vt-cf-money3 b { font-size: 14px; }
.vt-cf-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; margin: 0; font-size: 12.5px; } .vt-cf-dl dt { color: var(--muted); } .vt-cf-dl dd { margin: 0; text-align: right; }
.vt-cf-done { border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 8%, var(--panel)); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.vt-cf-done button { align-self: flex-start; }
.vt-cm { display: flex; flex-direction: column; gap: 12px; }
.vt-cm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vt-cm-item, .vt-cm-new { display: flex; gap: 10px; align-items: flex-start; }
.vt-cm-av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: var(--fg); }
.vt-cm-body { flex: 1; min-width: 0; background: var(--panel-2); border-radius: 0 10px 10px 10px; padding: 8px 12px; }
.vt-cm-meta { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 12.5px; } .vt-cm-meta time { color: var(--muted); font-size: 11.5px; }
.vt-cm-body p { margin: 4px 0 0; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.vt-cm-box { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vt-cm-box textarea { width: 100%; box-sizing: border-box; min-height: 64px; font: inherit; font-size: 13.5px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--fg); resize: vertical; }
.vt-cm-box textarea:focus { outline: 2px solid var(--focus); outline-offset: -1px; }
.vt-cm-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vt-rl { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 16px; align-items: start; } @media (max-width: 900px) { .vt-rl { grid-template-columns: 1fr; } }
.vt-rl-list { display: flex; flex-direction: column; gap: 6px; }
.vt-rl-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--fg); font: inherit; cursor: pointer; }
.vt-rl-item small { color: var(--muted); font-size: 11.5px; } .vt-rl-item:hover:not(:disabled) { background: var(--panel-2); }
.vt-rl-item[aria-current="true"] { border-color: var(--hl-line); background: var(--hl-softer); } .vt-rl-item[aria-current="true"] b { color: var(--hl-ink); }
.vt-rl-item.is-owner { cursor: default; background: var(--panel-2); }
.vt-rl-edit { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vt-rl-head { display: flex; gap: 12px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; } .vt-rl-head .vt-f { flex: 1 1 16rem; max-width: 24rem; }
.vt-rl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 10px; }
.vt-rl-group { border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px 10px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.vt-rl-group legend { font-weight: 650; font-size: 13px; padding: 0 4px; display: flex; gap: 8px; align-items: center; }
.vt-rl-all { border: 0; background: none; color: var(--muted); font: inherit; font-size: 11.5px; text-decoration: underline; cursor: pointer; padding: 0; }
.vt-rl-perm { display: flex; gap: 8px; align-items: center; font-size: 13px; cursor: pointer; } .vt-rl-perm input { width: 16px; height: 16px; accent-color: var(--accent); }
.vt-rl-cell { min-width: 14rem; }
.vt-cf-amts { display: flex; flex-direction: column; gap: 12px; }
.vt-dr { position: relative; display: flex; align-items: center; }
.vt-dr-btn { width: 100%; justify-content: flex-start; gap: 8px; padding-right: 30px; }
.vt-dr-btn.is-on { border-color: var(--hl-line); background: var(--hl-softer); color: var(--hl-ink); font-weight: 600; }
.vt-dr-ic { display: inline-grid; flex: none; } .vt-dr-ic svg { width: 15px; height: 15px; display: block; }
.vt-dr-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--fg); } .vt-dr-btn.is-on .vt-dr-txt { color: var(--hl-ink); }
.vt-dr-btn { align-items: center; } .vt-dr-ic { color: var(--muted); margin-top: -1px; } .vt-dr-btn.is-on .vt-dr-ic { color: var(--hl-ink); }
.vt-dr-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border: 0; border-radius: 50%; background: none; color: var(--hl-ink); cursor: pointer; font-size: 11px; }
.vt-dr-x:hover { background: var(--hl-soft); }
.vt-dr-pop { position: absolute; z-index: 44; top: calc(100% + 6px); left: 0; width: 20rem; max-width: calc(100vw - 32px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgb(0 0 0 / .16); padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.vt-dr-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vt-dr-pre { border: 1px solid var(--line); background: var(--panel); color: var(--fg); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 12.5px; cursor: pointer; text-align: left; }
.vt-dr-pre:hover { background: var(--panel-2); } .vt-dr-pre[aria-pressed="true"] { border-color: var(--hl-line); background: var(--hl-soft); color: var(--hl-ink); font-weight: 600; }
.vt-dr-inputs { display: flex; align-items: flex-end; gap: 8px; } .vt-dr-inputs label { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); min-width: 0; }
.vt-dr-inputs input { width: 100%; box-sizing: border-box; height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font: inherit; font-size: 13px; background: var(--panel); color: var(--fg); }
.vt-dr-dash { padding-bottom: 8px; color: var(--muted); }
.vt-dr-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }
.vt-lp-cars { max-height: 26rem; } .vt-lp-cars tr.is-sel td { background: var(--hl-softer); }
.vt-lp-box { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--panel); }
.vt-lp-box.is-over { border-color: var(--bad); }
.vt-lp-boxhead { display: flex; align-items: center; gap: 10px; } .vt-lp-boxhead b { flex: 1; font-family: var(--mono); font-size: 13.5px; }
.vt-lp-slots { font-size: 12.5px; color: var(--muted); font-weight: 600; } .vt-lp-slots.is-bad { color: var(--bad); }
.vt-lp-meter { max-width: none; height: 8px; }
.vt-lp-boxform { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 8px; }
.vt-lp-boxcars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.vt-lp-boxcars li { display: flex; gap: 10px; align-items: center; font-size: 12.5px; padding: 4px 6px; border-radius: 6px; background: var(--panel-2); flex-wrap: wrap; }
.vt-lp-boxcars li .mono { font-family: var(--mono); font-weight: 600; } .vt-lp-boxcars li > span:nth-child(2) { flex: 1; color: var(--muted); min-width: 10rem; }
.vt-lp-boxcars li select { max-width: 16rem; }
.vt-lp-pool { border: 1px dashed var(--line-2); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.vt-lp-voys { display: flex; flex-direction: column; gap: 8px; }
.vt-lp-voyrow { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 10rem auto; gap: 8px; align-items: end; } .vt-lp-voyrow > b { font-family: var(--mono); font-size: 13px; padding-bottom: 8px; }
@media (max-width: 760px) { .vt-lp-voyrow { grid-template-columns: 1fr; } }
.vt-lp-checks { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.vt-lp-sendbox { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.vt-lp-checks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.vt-lp-checks li { display: flex; gap: 6px; } .vt-lp-checks li i { font-style: normal; font-weight: 700; } .vt-lp-checks li.is-ok i { color: var(--ok); } .vt-lp-checks li.is-bad { color: var(--bad); }
.vt-clip { margin-left: 6px; font-size: 11.5px; color: var(--muted); font-family: inherit; white-space: nowrap; }
.vt-meter { height: 12px; border-radius: 6px; background: var(--line); overflow: hidden; max-width: 480px; }
.vt-meter > span { display: block; height: 100%; background: var(--ok); }
.vt-meter.is-warn > span { background: var(--warn); } .vt-meter.is-bad > span { background: var(--bad); }
.vt-hist-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vt-hist-i { border-left: 3px solid var(--line); padding: 2px 0 2px 10px; font-size: 12.5px; }
.vt-hist-i.is-insert { border-left-color: var(--ok); } .vt-hist-i.is-delete { border-left-color: var(--bad); } .vt-hist-i.is-update { border-left-color: var(--accent); }
.vt-hist-h { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: baseline; }
.vt-hist-h span { color: var(--muted); } .vt-hist-h time { color: var(--muted); margin-left: auto; font-size: 12px; white-space: nowrap; }
.vt-hist-c { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.vt-hist-c s { color: var(--muted); } .vt-hist-f { color: var(--muted); }
.vt-del td:last-child { white-space: nowrap; }
.vt-bp-pay { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; cursor: pointer; } .vt-bulkpay tr.is-off td { opacity: .5; cursor: not-allowed; }
.vt-bulkpay td:first-child, .vt-bulkpay th:first-child { width: 1%; } .vt-bulkpay input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); } .vt-bulkpay .vt-inline { max-width: 9rem; }
.vt-del-detail td { background: var(--panel-2); cursor: default; white-space: normal; max-width: none; }
.vt-del-dl { display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; gap: 3px 14px; margin: 4px 0; font-size: 12.5px; }
.vt-del-dl dt { color: var(--muted); } .vt-del-dl dd { margin: 0; overflow-wrap: anywhere; }
.vt-tag.vt-tag-bad { margin-left: 6px; background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.vt-fhint { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.vt-fhint.is-ok { color: var(--ok); } .vt-fhint.is-bad { color: var(--bad); }
.vt-tt-sel { min-width: 9rem; }
.vt-kpis-6 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
/* list step cards: one row of up to 6 on desktop (guide 15.4) */
@media (min-width: 1100px) { .vt-kpis-6 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.vt-kpi i, .vt-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

.vt-card-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vt-boxhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.vt-boxhead h2 { margin: 0; font-size: 15px; font-weight: 600; }
.vt-note { margin: 0; font-size: 12px; color: var(--muted); }
.vt-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); align-items: center; }
.vt-legend span { display: inline-flex; gap: 5px; align-items: center; }

.vt-scroll { overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 4px; }
.vt-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(14rem, 1fr); gap: 8px; align-items: start; }
.vt-col { background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--sev, var(--line)); border-radius: var(--r); display: flex; flex-direction: column; min-width: 0; }
.vt-col.is-past { opacity: .8; }
.vt-col.is-now { box-shadow: 0 0 0 2px var(--accent); }
.vt-colhead { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-bottom: 1px solid var(--line); width: 100%; }
.vt-colrow { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.vt-colname { font-weight: 600; font-size: 13.5px; }
.vt-colnum { font-family: var(--serif); font-size: 20px; }
.vt-sub { font-size: 12px; color: var(--muted); }
.vt-tag { font-size: 10.5px; padding: 1px 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); margin-left: 6px; font-weight: 500; vertical-align: 1px; }
.vt-tag.is-quiet { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.vt-cards { display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.vt-empty { font-size: 12px; color: var(--muted); padding: 8px 4px; }
.vt-card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); width: 100%; }
.vt-card:hover { border-color: var(--muted); }
.vt-card.is-picked { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.vt-card.is-late { border-color: color-mix(in srgb, var(--bad) 55%, var(--line)); background: color-mix(in srgb, var(--bad) 6%, var(--panel)); }
.vt-meta.is-bad { color: var(--bad); font-weight: 600; }
.vt-cardtop { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.vt-cardtop b { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-cardtop strong { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1; }
.vt-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--line); }
.vt-bar span { display: block; height: 100%; }
.vt-meta { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.vt-meta.is-strong { color: var(--fg); }

.vt-tablebox { overflow: auto; max-height: 34rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.vt-table { border-collapse: collapse; width: 100%; font-size: 12.5px; }
.vt-table th { position: sticky; top: 0; z-index: 1; background: var(--panel-2); text-align: left; font-weight: 500; color: var(--muted); padding: 7px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; cursor: pointer; user-select: none; }
.vt-table th.num, .vt-table td.num { text-align: right; }
.vt-table th[aria-sort="ascending"]::after { content: " ▲"; font-size: 9px; }
.vt-table th[aria-sort="descending"]::after { content: " ▼"; font-size: 9px; }
.vt-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; max-width: 16rem; overflow: hidden; text-overflow: ellipsis; }
.vt-table tbody tr { cursor: pointer; }
.vt-table tbody tr:hover td { background: var(--hover); }
.vt-table tr.is-exited td, .vt-table tr.is-inactive td { color: var(--muted); }
.vt-table tr.is-inactive td { opacity: .6; }
.vt-cap-hint { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.vt-pager { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.vt-pager-nav { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.vt-pager select { font: inherit; font-size: 12.5px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); }
.vt-pager-size { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.vt-ss-btn { font: inherit; font-size: 13px; text-align: left; padding: 6px 26px 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); cursor: pointer; min-width: 0; width: 100%; box-sizing: border-box; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.vt-ss-btn::after { content: ""; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); }
.vt-ss-btn:disabled { opacity: .6; cursor: default; }
.vt-grid th.is-title { background: color-mix(in srgb, var(--accent) 12%, var(--panel-2)); color: var(--fg); }
.vt-clearall { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); align-self: flex-end; }
.vt-ms.is-on { border-color: var(--hl-ink); color: var(--hl-ink); font-weight: 600; background: var(--accent-soft); }
.vt-ms-pop { position: fixed; z-index: 80; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgb(0 0 0 / .2); display: flex; flex-direction: column; overflow: hidden; }
.vt-ms-pop > input { font: inherit; font-size: 13px; margin: 8px 8px 4px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg); }
.vt-ms-list { overflow-y: auto; padding: 4px 0; flex: 1 1 auto; min-height: 0; }
.vt-ms-opt { display: flex; align-items: center; gap: 10px; padding: 7px 12px; font-size: 13px; cursor: pointer; }
.vt-ms-opt:hover { background: var(--accent-soft); }
.vt-ms-opt input { width: 16px; height: 16px; accent-color: var(--accent); margin: 0; }
.vt-ms-foot { display: flex; gap: 6px; justify-content: flex-end; padding: 8px; border-top: 1px solid var(--line); }
.vt-ms-foot .vt-btn:first-child { margin-right: auto; }
@media (max-width: 760px) { .vt-ms-opt { padding: 11px 14px; font-size: 15px; } .vt-ms-opt input { width: 20px; height: 20px; } .vt-ms { min-height: 42px; font-size: 15px !important; } }
.vt-ss-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.vt-ss.is-auto .vt-ss-btn { width: auto; min-width: 12rem; max-width: 22rem; display: inline-block; }
.vt-ss-pop { position: fixed; z-index: 80; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 28px rgb(0 0 0 / .18); display: flex; flex-direction: column; overflow: hidden; }
.vt-ss-pop input { font: inherit; font-size: 13px; margin: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg); }
.vt-ss-list { overflow-y: auto; max-height: 16rem; padding-bottom: 4px; }
.vt-ss-opt { padding: 7px 12px; font-size: 13px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-ss-opt.is-active { background: var(--accent-soft); }
.vt-ss-opt.is-sel { font-weight: 600; color: var(--accent); }
.vt-ss-empty { padding: 8px 12px; font-size: 12.5px; color: var(--muted); }
.vt-ss-add { padding: 8px 12px; font-size: 13px; cursor: pointer; color: var(--accent); font-weight: 600; border-top: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-ss-add.is-active { background: var(--accent-soft); }
.vt-ss-hint { padding: 7px 12px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.vt-subtabs { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-sub-tab { font: inherit; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.vt-sub-tab b { font-weight: 600; font-size: 12px; color: var(--fg); }
.vt-sub-tab[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.vt-sub-tab[aria-pressed="true"] b { color: var(--accent-ink); }
.vt-sub-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.vt-copy { cursor: copy; border-bottom: 1px dashed var(--muted); padding-bottom: 1px; }
.vt-copy:hover { color: var(--accent); border-bottom-color: var(--accent); }
.vt-copy:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.vt-copy.is-copied { color: var(--ok); border-bottom-color: var(--ok); }
.vt-table .vt-rownum { color: var(--muted); width: 1%; padding-right: 4px; }
.vt-table td.mono { font-family: var(--mono); font-size: 12px; }
.vt-table td.is-old { color: var(--bad); font-weight: 600; }
.vt-inline { padding: 3px 6px; font-size: 12px; width: auto; max-width: 12rem; }
.vt-pill { display: inline-flex; align-items: center; gap: 5px; }
.vt-pill i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.vt-count { font-size: 12px; color: var(--muted); }

.vt-drawer-bg { position: fixed; inset: 0; background: rgb(0 0 0 / .35); z-index: 20; }
.vt-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(30rem, 100%); background: var(--panel); border-left: 1px solid var(--line); z-index: 21; display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); box-sizing: border-box; }
.vt-drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.vt-drawer-head h3 { margin: 0; font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-drawer-body { padding: 14px 16px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.vt-drawer-foot { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.vt-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vt-form label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); min-width: 0; }
.vt-form label.is-full { grid-column: 1 / -1; }
.vt-form textarea { min-height: 4rem; resize: vertical; }
.vt-msg { font-size: 12.5px; color: var(--muted); }
.vt-msg.is-bad { color: var(--bad); }
.vt-msg.is-ok { color: var(--ok); }
.vt-exitbox { border: 1px solid var(--line); border-radius: 6px; padding: 10px; display: flex; flex-direction: column; gap: 8px; background: var(--panel-2); }
.vt-exitbox .vt-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vt-drawer a { color: var(--accent); text-decoration: none; font-weight: 500; }
.vt-drawer a:hover { text-decoration: underline; }
.vt-sublist h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.vt-paste textarea { min-height: 12rem; font-family: var(--mono); font-size: 12px; }
.vt-paste { display: flex; flex-direction: column; gap: 10px; }
.vt-grid-wrap { overflow: auto; max-height: calc(100vh - 20rem); min-height: 12rem; border: 1px solid var(--line); border-radius: 8px; }
.vt-grid { border-collapse: collapse; table-layout: fixed; min-width: 100%; font-size: 12.5px; }
.vt-grid th { position: sticky; top: 0; z-index: 1; background: var(--panel-2); color: var(--muted); font-weight: 600; text-align: left; padding: 6px 6px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-grid th.is-req { color: var(--fg); }
.vt-grid td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0; height: 30px; }
.vt-grid td.is-cellbad { background: color-mix(in srgb, var(--bad) 16%, transparent) !important; box-shadow: inset 0 0 0 1.5px var(--bad); }
.vt-grid td.is-cellfix { background: color-mix(in srgb, #f59f00 18%, transparent) !important; box-shadow: inset 0 0 0 1.5px #f59f00; }
.vt-cellerrs { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); overflow: hidden; }
.vt-cellerrs-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.vt-cellerrs-head .vt-note { margin: 0 auto 0 0; }
.vt-cellerrs ul { list-style: none; margin: 0; padding: 0; max-height: 14rem; overflow: auto; }
.vt-cellerrs li { display: flex; gap: 8px; align-items: center; padding: 5px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.vt-cellerrs li:last-child { border-bottom: 0; }
.vt-cellerrs li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--bad); }
.vt-cellerrs li.is-fix::before { background: #f59f00; }
.vt-cellerr-go { flex: 1 1 auto; display: flex; gap: 10px; align-items: baseline; min-width: 0; text-align: left; font: inherit; border: 0; background: none; color: var(--fg); cursor: pointer; padding: 2px 0; }
.vt-cellerr-go:hover span:last-child { text-decoration: underline; }
.vt-cellerr-at { flex: 0 0 auto; font-weight: 600; color: var(--muted); }
.vt-g-date { position: relative; display: flex; align-items: center; }
.vt-g-date .vt-g-in { padding-right: 26px; }
.vt-g-cal { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; padding: 3px; border: 0; border-radius: 5px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.vt-g-cal:hover { color: var(--hl-ink); background: var(--accent-soft); }
.vt-g-cal svg { width: 16px; height: 16px; }
.vt-grid td { position: relative; }
.vt-g-fill { position: absolute; right: -4px; bottom: -4px; width: 9px; height: 9px; background: var(--accent); border: 1.5px solid var(--panel, #fff); border-radius: 2px; cursor: crosshair; z-index: 3; touch-action: none; }
.vt-rmk-ic{display:inline-flex;width:18px;height:18px;vertical-align:middle}.vt-rmk-ic svg{width:18px;height:18px}
.vt-rmk-h{display:inline-flex;color:var(--muted)}
.vt-rmk{position:relative;display:inline-flex;color:var(--accent);cursor:help;border-radius:4px;outline-offset:2px}
.vt-tip{position:fixed;z-index:9999;max-width:300px;white-space:pre-wrap;font-size:12px;line-height:1.4;padding:8px 10px;border-radius:8px;background:var(--fg);color:var(--panel);box-shadow:0 6px 20px rgba(0,0,0,.2);pointer-events:none}
.vt-loadpick{display:flex;flex-direction:column;gap:6px}.vt-loadpick-l{font-size:12px;color:var(--muted);font-weight:600}
.vt-loadpick-o{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}@media(max-width:760px){.vt-loadpick-o{grid-template-columns:1fr}}
.vt-loadopt{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:8px;cursor:pointer;background:var(--panel)}
.vt-loadopt small{grid-column:2;color:var(--muted);font-size:12px;line-height:1.35}.vt-loadopt.is-on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}.vt-loadopt.is-ro{cursor:default;opacity:.8}
.vt-loadpick.is-invalid .vt-loadopt{border-color:var(--bad)}
.vt-pick-blocked { margin: 6px; padding: 8px 10px; border: 1px solid #f59f00; border-radius: 8px; background: color-mix(in srgb, #f59f00 10%, var(--panel)); font-size: 12.5px; display: flex; flex-direction: column; gap: 3px; }
.vt-grid td.is-sel { background: color-mix(in srgb, var(--accent) 12%, transparent) !important; }
.vt-grid td.is-sel.sel-t { box-shadow: inset 0 2px 0 var(--accent); } .vt-grid td.is-sel.sel-b { box-shadow: inset 0 -2px 0 var(--accent); }
.vt-grid td.is-sel.sel-l { border-left: 2px solid var(--accent); } .vt-grid td.is-sel.sel-r { border-right: 2px solid var(--accent); }
.vt-grid td.is-sel.sel-t.sel-b { box-shadow: inset 0 2px 0 var(--accent), inset 0 -2px 0 var(--accent); }
.vt-selinfo { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.vt-grid td.is-fill { background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 1px var(--accent); }
.vt-cal { position: fixed; z-index: 60; background: var(--panel, #fff); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 10px; width: 252px; font-size: 13px; }
.vt-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.vt-cal-nav { border: 0; background: none; font-size: 20px; line-height: 1; width: 30px; height: 30px; border-radius: 6px; cursor: pointer; color: var(--fg); }
.vt-cal-nav:hover { background: var(--accent-soft); }
.vt-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.vt-cal-w { text-align: center; color: var(--muted); font-size: 11px; padding: 2px 0; }
.vt-cal-d { border: 0; background: none; height: 30px; border-radius: 6px; cursor: pointer; color: var(--fg); font: inherit; }
.vt-cal-d:hover { background: var(--accent-soft); }
.vt-cal-d.is-today { box-shadow: inset 0 0 0 1px var(--accent); }
.vt-cal-d.is-sel { background: var(--accent); color: #fff; }
.vt-cal-foot { display: flex; justify-content: space-between; margin-top: 8px; }
.vt-g-datepick { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; pointer-events: none; }
.vt-g-in { box-sizing: border-box; width: 100%; height: 30px; border: 0; padding: 0 6px; background: transparent; color: var(--fg); font: inherit; font-size: 12.5px; border-radius: 0; }
.vt-g-in.is-mono { font-family: var(--mono); }
.vt-g-in.is-num { text-align: right; }
.vt-g-in:focus { outline: 2px solid var(--focus); outline-offset: -2px; background: var(--panel); }
.vt-g-n { text-align: center; color: var(--muted); background: var(--panel-2); position: relative; }
.vt-g-del { display: none; position: absolute; inset: 0; border: 0; background: var(--panel-2); color: var(--bad, #b42318); font-size: 15px; cursor: pointer; }
.vt-grid tr:hover .vt-g-del { display: block; }
.vt-grid tr.is-bad td { background: color-mix(in srgb, #d92d20 7%, transparent); }
.vt-g-stc { text-align: center; }
.vt-g-st { font-size: 11.5px; color: var(--muted); }
.vt-g-st.is-ok { color: #1a7f37; font-weight: 600; }
.vt-g-st.is-bad { color: #fff; background: #d92d20; border-radius: 50%; display: inline-block; width: 18px; height: 18px; line-height: 18px; font-weight: 700; cursor: help; }
.vt-grid.is-busy { opacity: .6; pointer-events: none; }
.vt-import .vt-spacer { flex: 1 1 0; }
.vt-bulkpage .vt-grid-wrap { max-height: calc(100vh - 19rem); }
.vt-bulk-foot { position: sticky; bottom: 0; z-index: 2; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 12px -16px -16px; padding: 10px 16px; background: var(--panel); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.vt-bulk-foot .vt-msg { margin: 0; flex: 1 1 20rem; }
.vt-cmp th, .vt-cmp td { white-space: nowrap; }
.vt-cmp td.is-best { background: color-mix(in srgb, #1a7f37 14%, transparent); font-weight: 600; }
.vt-cmp th.is-now { color: var(--accent); }
.vt-cmp i { font-style: normal; font-size: 10px; }
.vt-cmp i.up { color: #d92d20; } .vt-cmp i.down { color: #1a7f37; }
.vt-good { color: #1a7f37; font-weight: 600; }
.vt-ratepage { gap: 14px; }
.vt-pagehead { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; }
.vt-pagehead h2 { margin: 0; font-size: 17px; font-weight: 600; }
.vt-pagehead .vt-note { margin: 3px 0 0; }
.vt-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vt-ratenav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.vt-monthnav { display: flex; gap: 6px; align-items: center; }
.vt-monthnav input { font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); height: 32px; box-sizing: border-box; }
.vt-btn.is-icon { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }
.vt-tablehead { display: flex; flex-direction: column; gap: 8px; }
.vt-tablehead .vt-count { align-self: flex-end; }
.vt-tools .vt-clear { align-self: flex-end; height: 32px; }
.vt-empty { border: 1px dashed var(--line); border-radius: 10px; padding: 28px 16px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; background: var(--panel-2); }
.vt-empty b { font-size: 14.5px; }
.vt-empty p { margin: 0; color: var(--muted); font-size: 13px; max-width: 34rem; }
.vt-empty .vt-actions { margin-top: 8px; justify-content: center; }
@media (max-width: 640px) { .vt-pagehead .vt-actions { width: 100%; } .vt-pagehead .vt-actions .vt-btn { flex: 1 1 auto; } .vt-ratenav { align-items: stretch; } .vt-monthnav { width: 100%; } .vt-monthnav input { flex: 1 1 auto; } }
.vt-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, #b54708 14%, transparent); color: #b54708; white-space: nowrap; }
.vt-muted { color: var(--muted); font-size: 12px; }
.vt-trendbox { border: 1px solid var(--line); border-radius: 10px; padding: 8px 6px 2px; background: var(--panel); }
.vt-trend { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.vt-trend .g { stroke: var(--line); stroke-width: 1; }
.vt-trend .ax { fill: var(--muted); font-size: 12px; font-family: inherit; }
.vt-trend .ax.now { fill: var(--accent); font-weight: 600; }
.vt-trend circle { cursor: default; }
.vt-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 6px; }
.vt-leg { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--fg); font: inherit; font-size: 12.5px; cursor: pointer; text-align: left; }
.vt-leg i { width: 14px; height: 14px; border-radius: 3px; border: 2px solid; flex: none; box-sizing: border-box; }
.vt-leg.is-off { opacity: .45; }
.vt-leg-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-leg-val { font-weight: 600; white-space: nowrap; }
.vt-leg-val em { font-style: normal; font-size: 11.5px; font-weight: 600; }
.vt-leg-val em.up { color: #d92d20; } .vt-leg-val em.down { color: #1a7f37; }
.vt-badge { background: var(--badge-bg); color: var(--badge-fg) !important; font-weight: 600; border-radius: 999px; padding: 0 6px; font-size: 11px; margin-left: 4px; }
.vt-badge:empty { display: none; }
.vt-ibgrp { display: flex; flex-direction: column; gap: 6px; }
.vt-ibgrp h3 { margin: 8px 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.vt-ibrule { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); overflow: hidden; }
.vt-ibrule.is-clear { opacity: .65; }
.vt-ibhead { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 0; background: none; color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.vt-ibhead:hover { background: var(--panel-2); }
.vt-ibdot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.vt-ibtitle { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.vt-ibtitle b { font-size: 13.5px; font-weight: 600; }
.vt-ibtitle small { font-size: 12px; color: var(--muted); }
.vt-ibowner { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--hl-ink); white-space: nowrap; }
.vt-ibcount { font-family: var(--serif); font-size: 20px; min-width: 2.5rem; text-align: right; }
.vt-ibchev { color: var(--muted); width: 12px; }
.vt-iblist { border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.vt-ibitem { display: grid; grid-template-columns: minmax(9rem, 12rem) minmax(0, 1.4fr) minmax(0, 1.2fr) 6rem 4.5rem 4rem; gap: 12px; align-items: center; padding: 8px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--fg); font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; }
.vt-ibitem:last-child { border-bottom: 0; }
.vt-ibitem:hover { background: var(--accent-soft); }
.vt-ibitem.is-unread .vt-ibmain { font-weight: 700; }
.vt-ibitem.is-read { color: var(--muted); }
.vt-ibitem.is-read .vt-ibwhy, .vt-ibitem.is-read .vt-ibsub { opacity: .8; }
.vt-ibnew { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: transparent; }
.vt-ibitem.is-unread .vt-ibnew { background: var(--accent); }
.vt-ibmark { font: inherit; font-size: 11.5px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); cursor: pointer; justify-self: end; }
.vt-ibmark:hover { color: var(--fg); border-color: var(--accent); }
.vt-ibmark:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.vt-ibunread { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); white-space: nowrap; }
.vt-ibbar { display: flex; gap: 8px; align-items: center; padding: 6px 14px; border-bottom: 1px solid var(--line); }
.vt-ibbar .vt-note { margin: 0 auto 0 0; }
.vt-conhead { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vt-conhead .vt-note { margin: 0; }
.vt-transit-d { display: inline-block; font-weight: 600; font-variant-numeric: tabular-nums; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--fg); }
.vt-transit-d.is-bad { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.vt-transit { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 4px 0 14px; background: color-mix(in srgb, var(--accent) 4%, transparent); }
.vt-transit h3 { margin: 0; font-size: 14px; }
.vt-btn.is-active { border-color: var(--accent); color: var(--accent); }
.vt-ibitem:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.vt-ibmain { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-ibmain.mono { font-family: var(--mono, monospace); }
.vt-ibsub, .vt-ibwhy { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-ibwhy { color: var(--fg); }
.vt-ibdays { color: var(--bad); font-weight: 600; text-align: right; white-space: nowrap; }
.vt-ibgo { color: var(--accent); text-align: right; white-space: nowrap; }
@media (max-width: 760px) { .vt-ibitem { grid-template-columns: 1fr auto auto; } .vt-ibsub, .vt-ibgo { display: none; } .vt-ibwhy { grid-column: 1 / -1; white-space: normal; } }
.vt-ibset { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 16px; }
.vt-ibset h4 { margin: 0 0 8px; font-size: 13px; }
.vt-ibset-grid { display: flex; flex-direction: column; gap: 6px; }
.vt-ibset-grid label { display: grid; grid-template-columns: minmax(0, 1fr) 9rem; gap: 10px; align-items: center; font-size: 12.5px; }
.vt-ibset-grid input { font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); min-width: 0; }
.vt-towbox { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.vt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; counter-reset: s; }
.vt-steps li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; position: relative; color: var(--muted); font-size: 11.5px; }
.vt-steps li::before { content: ""; position: absolute; top: 12px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: 0; }
.vt-steps li:first-child::before { display: none; }
.vt-steps li.is-done::before, .vt-steps li.is-now::before { background: var(--accent); }
.vt-step-dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--panel); border: 2px solid var(--line); color: var(--muted); }
.vt-steps li.is-done .vt-step-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.vt-steps li.is-now .vt-step-dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.vt-steps li.is-now { color: var(--fg); }
.vt-step-l { display: flex; flex-direction: column; } .vt-step-l b { font-weight: 600; } .vt-step-l small { font-size: 11px; color: var(--muted); min-height: 1em; }
.vt-steppanel { border: 1px solid var(--accent); border-radius: 10px; padding: 10px 12px; background: var(--panel); display: flex; flex-direction: column; gap: 8px; }
.vt-towsum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 12px; font-size: 12.5px; }
.vt-towsum span { color: var(--muted); }
.vt-linkbtn { border-color: transparent !important; background: none !important; color: var(--accent); }
.vt-stepbtn { white-space: nowrap; }
@media (max-width: 520px) { .vt-steps { overflow-x: auto; grid-auto-columns: minmax(64px, 1fr); padding-bottom: 4px; } .vt-steps .vt-step-l b { font-size: 10.5px; } .vt-towsum { grid-template-columns: 1fr; } }
.vt-tow-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-drvtable input { font: inherit; font-size: 12.5px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); width: 100%; box-sizing: border-box; }
.vt-wiz-row label.is-invalid input, .vt-wiz-row label.is-invalid select, .vt-form label.is-invalid input, .vt-form label.is-invalid select, .vt-form label.is-invalid textarea, .vt-form label.is-invalid .vt-ss-btn { border-color: var(--bad) !important; box-shadow: 0 0 0 2px color-mix(in srgb, var(--bad) 22%, transparent); }
  .vt-form label.is-invalid, .vt-wiz-row label.is-invalid { color: var(--bad); }
  .vt-ferr { color: var(--bad); font-size: 12px; font-weight: 600; }
  .vt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 8px; margin-bottom: 14px; }
  .vt-stat { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; background: var(--panel-2); }
  .vt-stat-l { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
  .vt-stat small { color: var(--muted); font-size: 12px; }
  .vt-carflow { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: var(--panel-2); }
  .vt-miss { color: var(--bad); font-size: 12px; }
  .vt-towcar { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; justify-items: start; }
  .vt-towcar .vt-copy { font-weight: 600; font-size: 15px; }
  .vt-towcar-sub { color: var(--muted); font-size: 13px; }
  .vt-titlebox { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin: 12px 0; background: var(--panel-2); display: flex; flex-direction: column; gap: 10px; }
.vt-titlehead { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.vt-titlehead h4 { margin: 0; font-size: 14px; }
.vt-next { font-size: 12.5px; }
.vt-next.is-bad { color: var(--bad); font-weight: 600; }
.vt-next.is-ok { color: var(--ok); font-weight: 600; }
.vt-ev { margin-left: 6px; background: color-mix(in srgb, #0b7285 16%, transparent); color: #0b7285; }
.vt-ptable input[type=text], .vt-ptable td > input:not([type]) { font: inherit; font-size: 13px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); width: 100%; box-sizing: border-box; }
.vt-ptable .vt-pc { text-align: center; }
.vt-plocs { display: flex; flex-wrap: wrap; gap: 4px; min-width: 14rem; }
.vt-lchip { font: inherit; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); cursor: pointer; }
.vt-lchip[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: var(--accent); color: var(--fg); font-weight: 600; }
.vt-lchip:disabled { cursor: default; }
.vt-lchip:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
/* Settings hero menu */
.vt-setwrap { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); gap: 16px; align-items: start; }
.vt-setnav { position: sticky; top: 8px; display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.vt-setnav h3 { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 10px 8px 4px; }
.vt-setnav h3:first-child { margin-top: 2px; }
.vt-setnav button { font: inherit; font-size: 13px; text-align: left; display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 7px 10px; border: 0; border-radius: 8px; background: none; color: var(--fg); cursor: pointer; }
.vt-setnav button:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.vt-setnav button[aria-current="true"] { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); font-weight: 600; }
.vt-setnav button b { font-weight: 500; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.vt-setnav button .is-warn { color: var(--bad); }
.vt-setnav button:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.vt-setbody > * + * { margin-top: 14px; }
.vt-setbody .vt-set-card { max-width: 46rem; }
@media (max-width: 860px) {
  .vt-setwrap { grid-template-columns: minmax(0, 1fr); }
  .vt-setnav { position: static; flex-direction: row; overflow-x: auto; padding: 6px; gap: 4px; }
  .vt-setnav h3 { display: none; }
  .vt-setnav button { white-space: nowrap; flex: none; }
}
.vt-checkline { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--fg); margin: 2px 0 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); cursor: pointer; line-height: 1.35; }
.vt-checkline input { width: 16px; height: 16px; flex: none; margin: 0; accent-color: var(--accent); cursor: pointer; }
.vt-checkline span { flex: 1 1 auto; min-width: 0; }
.vt-btn.is-on { background: var(--accent-soft); border-color: var(--hl-ink); color: var(--hl-ink); font-weight: 600; }
.vt-draft-banner { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--fg); font-size: 13px; margin-bottom: 12px; }
.vt-drafts-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vt-drafts-list li { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.vt-drafts-list b { font-size: 13.5px; }
.vt-drafts-list .vt-note { margin: 2px 0 0; }
#draftsBtn[hidden] { display: none; }
.vt-import { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px; border: 1px dashed var(--line); border-radius: 8px; background: var(--panel-2); }
.vt-import.is-over { border-color: var(--hl-ink); background: var(--accent-soft); }
.vt-import input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vt-import .vt-file { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.vt-or { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.vt-btn.is-sm { padding: 4px 9px; font-size: 12px; }
.vt-set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 12px; align-items: start; }
.vt-set-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.vt-set-card h2 { margin: 0; font-size: 14.5px; font-weight: 600; }
.vt-set-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 6px; }
.vt-set-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 5px 6px 5px 10px; border-bottom: 1px solid var(--line); min-height: 30px; }
.vt-set-row:last-child { border-bottom: 0; }
.vt-set-row.has-country { grid-template-columns: minmax(0, 1fr) minmax(7rem, 10rem) auto auto; }
.vt-set-country { font: inherit; font-size: 12.5px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); min-width: 0; }
.vt-set-country.is-missing { border-color: color-mix(in srgb, var(--bad) 50%, var(--line)); }
.vt-set-row.is-armed { background: color-mix(in srgb, var(--bad) 10%, transparent); }
.vt-set-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-set-lock { font-size: 10.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; margin-left: 6px; vertical-align: 1px; }
.vt-set-n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.vt-set-btns { display: inline-flex; gap: 2px; }
.vt-icon { font: inherit; font-size: 12px; min-width: 26px; height: 26px; padding: 0 6px; border: 1px solid transparent; border-radius: 5px; background: none; color: var(--muted); cursor: pointer; }
.vt-icon:hover:not(:disabled) { border-color: var(--line); color: var(--fg); }
.vt-icon:disabled { opacity: .3; cursor: default; }
.vt-icon.is-armed { color: #fff; background: var(--bad); }
.vt-icon:focus-visible, .vt-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.vt-set-input { font: inherit; font-size: 13px; padding: 3px 6px; border: 1px solid var(--accent); border-radius: 5px; background: var(--panel); color: var(--fg); min-width: 0; width: 100%; box-sizing: border-box; }
.vt-set-add { display: flex; gap: 6px; }
.vt-set-add input { flex: 1; min-width: 0; font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); }
.vt-set-missing { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.vt-chip { font: inherit; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; border: 1px dashed var(--muted); background: none; color: var(--fg); cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-chip.is-static { cursor: default; }
.vt-lock { display: inline-block; font-size: 10.5px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; margin-left: 6px; vertical-align: 1px; font-family: var(--sans); }
.vt-banner { border: 1px solid var(--line); background: var(--panel-2); border-radius: 6px; padding: 9px 11px; font-size: 12.5px; color: var(--muted); }
.vt-banner.is-lock { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.vt-voysum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; font-size: 12.5px; background: var(--panel-2); border-radius: 6px; padding: 9px 11px; }
.vt-voysum span { color: var(--muted); }
.vt-voysum.is-link { cursor: pointer; border: 1px solid transparent; }
.vt-voysum.is-link:hover, .vt-voysum.is-link:focus-visible { border-color: var(--accent); outline: none; }
.vt-voysum-go { grid-column: 1 / -1; color: var(--accent); font-weight: 600; margin-top: 2px; }
.vt-backbtn { align-self: flex-start; }
.vt-inlinebox { border: 1px dashed var(--accent); border-radius: 6px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.vt-pick { display: flex; flex-direction: column; gap: 8px; }
.vt-pickrow { display: flex; gap: 6px; flex-wrap: wrap; }
.vt-pickrow input, .vt-pickrow select { font: inherit; font-size: 12.5px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); min-width: 0; flex: 1 1 8rem; }
.vt-picklist { max-height: 16rem; overflow: auto; border: 1px solid var(--line); border-radius: 6px; }
.vt-picklist label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 9px; border-bottom: 1px solid var(--line); font-size: 12.5px; cursor: pointer; }
.vt-picklist label:last-child { border-bottom: 0; }
.vt-picklist label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-picklist small { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.vt-carlist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; }
.vt-carrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 9px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.vt-carrow:last-child { border-bottom: 0; }
.vt-carrow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-carrow small { color: var(--muted); font-family: var(--mono); font-size: 11px; margin-left: 6px; }
.vt-bulk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--accent-soft); border: 1px solid var(--hl-line); border-radius: 6px; padding: 8px 10px; font-size: 13px; }
.vt-bulk select, .vt-bulk input { font: inherit; font-size: 12.5px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); min-width: 0; }
.vt-check { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.vt-more { font-size: 12px; color: var(--muted); padding: 4px 6px; }
.vt-prefs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 10px; }
.vt-prefs label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.vt-prefs select, .vt-prefs input { font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--fg); }
#app.is-compact .vt-main { gap: 10px; padding-block: 12px 28px; }
#app.is-compact .vt-table td { padding: 3px 8px; }
#app.is-compact .vt-table th { padding: 5px 8px; }
#app.is-compact .vt-card { padding: 6px 8px; gap: 3px; }
#app.is-compact .vt-kpi { padding: 8px 10px; }
#app.is-compact .vt-kpi b { font-size: 21px; }
#app.is-compact .vt-card-box, #app.is-compact .vt-set-card { padding: 10px; gap: 8px; }
@media (max-width: 520px) {
  .vt-voysum { grid-template-columns: 1fr; }
  .vt-form { grid-template-columns: 1fr; }
  .vt-top { position: static; }
  body::before { display: none; }
  .vt-name { font-size: 17px; }
  .vt-topact { gap: 8px; } .vt-topact .vt-btn { height: 32px; padding: 0 10px; } .vt-sync span { display: none; }
  .vt-tab { padding: 8px 8px 10px; }
  .vt-tab .is-long { display: none; }
  .vt-kpis > .vt-kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .vt-kpi b { font-size: 22px; }
}
@media (prefers-reduced-motion: no-preference) { .vt-drawer { animation: vt-in .18s ease-out; } @keyframes vt-in { from { transform: translateX(16px); opacity: .6; } } }

/* =================== Phone layout (desktop unchanged) =================== */
@media (max-width: 760px) {
  /* app bar */
  body { background: var(--bg); }
  .vt-top { padding: calc(6px + env(safe-area-inset-top, 0px)) 12px 8px !important; border-bottom: 1px solid var(--line); }
  .vt-barrow { grid-template-columns: minmax(0, 1fr) auto !important; min-height: 0; gap: 6px 10px !important; }
  .vt-name { font-family: inherit !important; font-size: 17px !important; font-weight: 700 !important; letter-spacing: -.01em; }
  .vt-name-l { display: none; }
  .vt-gsearch { height: 40px; border-radius: 12px; }
  .vt-gsearch input { font-size: 16px !important; }
  /* pages: full-bleed, no boxed cards */
  .vt-main { padding-left: 12px !important; padding-right: 12px !important; }
  .vt-main > .vt-card-box, .vt-setbody > .vt-card-box, .vt-setbody > section { background: none; border: 0; padding: 0; border-radius: 0; gap: 10px; }
  .vt-main > .vt-card-box > .vt-boxhead h2, .vt-pagehead h2 { font-size: 22px !important; font-weight: 700; letter-spacing: -.01em; }
  .vt-boxhead { align-items: center; }
  .vt-boxhead .vt-count { font-size: 12px; }
  .vt-mtitle { display: block !important; margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
  /* sub tabs: one swipe row, segmented look */
  .vt-subtabs { display: flex; flex-wrap: nowrap !important; overflow-x: auto; gap: 6px; margin-inline: -12px; padding-inline: 12px; scrollbar-width: none; }
  .vt-subtabs::-webkit-scrollbar { display: none; }
  .vt-sub-tab { flex: 0 0 auto; white-space: nowrap; min-height: 36px; padding: 6px 14px; font-size: 14px; }
  /* drawer header: icon close, short draft */
  .vt-drawer-head { padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px; }
  .vt-drawer-head h3 { font-size: 17px; }
  .vt-dclose { width: 40px; min-width: 40px; padding: 0 !important; justify-content: center; border-radius: 50%; }
  .vt-dclose .vt-dtxt { display: none; }
  .vt-dclose::before { content: "✕"; font-size: 16px; }
  .vt-drawer-body { padding: 12px !important; }
  .vt-drawer-foot { position: sticky; bottom: 0; background: var(--panel); }
  .vt-drawer-foot .vt-btn { flex: 1 1 auto; }
  /* boards: one column per screen, swipe between */
  .vt-bscroll { margin-inline: -12px; padding-inline: 12px; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; scrollbar-width: none; }
  .vt-bscroll::-webkit-scrollbar { display: none; }
  .vt-bscroll > .vt-board { grid-auto-columns: calc(100vw - 48px) !important; gap: 10px; }
  .vt-bscroll .vt-col { scroll-snap-align: start; }
  /* cards: header row VIN/number + status badge */
  table.is-cards tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 14px; padding: 12px 14px 14px; border-radius: 14px; }
  table.is-cards td.is-c1 { grid-column: 1 / 2 !important; grid-row: 1; font-size: 15px; }
  table.is-cards td.m-badge { grid-column: 2 / 3 !important; grid-row: 1; justify-self: end; align-self: start; }
  table.is-cards td.m-badge::before { display: none; }
  table.is-cards tr:not(:has(.m-badge)) td.is-c1 { grid-column: 1 / -1 !important; }
  table.is-cards td.is-c2 { grid-row: 2; font-size: 14px; color: var(--fg); margin-top: -6px; }
  table.is-cards td.m-hide { display: none; }
  table.is-cards td::before { font-size: 11px; letter-spacing: .01em; text-transform: none; }
  table.is-cards td .vt-pill { font-size: 13px; }
  table.is-cards td select { min-height: 38px !important; font-size: 15px !important; }
  table.is-cards .vt-next { font-weight: 600; }
}
.vt-mnav, .vt-msort, .vt-mtitle { display: none; }
@media (min-width: 761px) {
  .vt-tools:not(.is-open) > .vt-f:not(.is-wide):not(.is-keep):has(select, .vt-ms, .vt-dr-btn) { display: none; }
  .vt-mfbtn { display: inline-flex; align-items: center; gap: 6px; align-self: flex-end; }
  .vt-mfbtn svg { width: 16px; height: 16px; }
  .vt-mfbtn b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
  .vt-mfbtn b:empty { display: none; }
}
.vt-msheet[hidden] { display: none; }
@media (max-width: 760px) {
  /* bottom menu */
  .vt-tabs { display: none; }
  .vt-mnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: var(--panel); border-top: 1px solid var(--line); padding: 4px max(4px, env(safe-area-inset-left, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
  .vt-mnav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
  .vt-mnav button svg { width: 24px; height: 24px; }
  .vt-mnav button[aria-current="page"] { color: var(--accent); font-weight: 600; }
  .vt-mnav button[aria-current="page"] svg { stroke-width: 2; }
  .vt-mnav button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
  .vt-mnav b { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; }
  .vt-mnav b[data-n="titles"], .vt-mnav b[data-n="towing"] { background: var(--warn); }
  .vt-mnav b:empty { display: none; }
  .vt-main { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); padding-top: 12px; gap: 12px; }
  #vt-toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; z-index: 70 !important; }
  /* more sheet */
  .vt-msheet { position: fixed; inset: 0; z-index: 60; }
  .vt-msheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
  .vt-msheet-panel { position: absolute; left: 0; right: 0; bottom: 0; background: var(--panel); border-radius: 16px 16px 0 0; padding: 8px 12px calc(16px + env(safe-area-inset-bottom, 0px)); max-height: 80vh; overflow: auto; }
  .vt-msheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 4px auto 10px; }
  .vt-msheet-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .vt-msheet-list button { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
  .vt-msheet-list button[aria-current="page"] { border-color: var(--accent); color: var(--accent); font-weight: 600; }
  .vt-msheet-list button small { color: var(--muted); font-size: 12px; }
  .vt-msheet-list .is-wide { grid-column: 1 / -1; }
  @media (prefers-reduced-motion: no-preference) { .vt-msheet-panel { animation: vt-up .18s ease-out; } @keyframes vt-up { from { transform: translateY(24px); opacity: .6; } } }
  /* top bar: export + drafts live in More */
  #exportBtn, #draftsBtn { display: none !important; }
  .vt-top { position: static; padding-bottom: 8px; }
  .vt-barrow { gap: 8px; }
  .vt-name { font-size: 16px !important; }

  /* page boxes: less padding */
  .vt-card-box, .vt-set-card { padding: 12px; border-radius: 12px; }

  /* help notes fold to two lines, tap to read */
  .vt-note.is-long { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; position: relative; }
  .vt-note.is-long.is-open { display: block; -webkit-line-clamp: unset; }
  .vt-note.is-long:not(.is-open)::before { content: "ⓘ "; color: var(--accent); }

  /* KPI cards: one swipeable row */
  .vt-kpis, .vt-kpis-9, .vt-kpis-10 { display: flex !important; overflow-x: auto; gap: 8px; scroll-snap-type: x proximity; padding-bottom: 4px; margin-inline: -12px; padding-inline: 12px; scrollbar-width: none; }
  .vt-kpis::-webkit-scrollbar { display: none; }
  .vt-kpis > .vt-kpi { flex: 0 0 auto; min-width: 8.6rem; max-width: 12rem; scroll-snap-align: start; padding: 10px 12px; }
  .vt-kpis > .vt-kpi b { font-size: 22px; }
  .vt-kpis > .vt-kpi:last-child:nth-child(odd) { grid-column: auto; }

  /* filters behind one button */
  .vt-tools { gap: 8px; }
  .vt-tools > .vt-f.is-wide { flex: 1 1 100%; max-width: none; }
  .vt-tools:not(.is-open) > .vt-f:not(.is-wide):has(select, .vt-ms) { display: none; }
  .vt-tools.is-open > .vt-f:not(.is-wide) { flex: 1 1 calc(50% - 4px); max-width: none; }
  .vt-tools > .vt-spacer { display: none; }
  .vt-tools > .vt-btn { flex: 1 1 auto; }
  .vt-mfbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1 1 auto; }
  .vt-mfbtn b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; line-height: 18px; }
  .vt-mfbtn b:empty { display: none; }

  /* bigger tap targets, no iOS zoom on focus */
  .vt-btn { min-height: 42px; }
  .vt-btn.is-sm { min-height: 36px; }
  .vt-main input:not([type=checkbox]):not([type=radio]), .vt-main select, .vt-main textarea, .vt-drawer input:not([type=checkbox]):not([type=radio]), .vt-drawer select, .vt-drawer textarea, #gs { font-size: 16px !important; min-height: 42px; }
  .vt-ss-btn, .vt-ss > button { min-height: 42px; font-size: 15px !important; }
  .vt-sub-tab { min-height: 38px; }
  .vt-subtabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }

  /* tables become cards */
  .vt-msort { display: flex; gap: 8px; align-items: center; }
  .vt-msort label { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; font-size: 12px; color: var(--muted); }
  .vt-msort select { flex: 1 1 auto; font: inherit; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--fg); }
  .vt-msort .vt-btn { flex: 0 0 auto; min-width: 44px; }
  .vt-tablebox:has(> table.is-cards) { overflow: visible; border: 0; background: none; max-height: none; }
  table.is-cards, table.is-cards tbody { display: block; width: 100%; }
  table.is-cards thead { display: none; }
  table.is-cards tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
  table.is-cards tr:active { background: var(--accent-soft); }
  table.is-cards td { background: none !important; display: block; padding: 0 !important; border: 0 !important; min-width: 0; text-align: left !important; white-space: normal !important; overflow-wrap: anywhere; font-size: 13.5px; max-width: none !important; }
  table.is-cards td::before { content: attr(data-label); display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-bottom: 1px; }
  table.is-cards td.vt-rownum { display: none; }
  table.is-cards td.is-c1 { grid-column: 1 / -1; font-size: 15px; font-weight: 700; }
  table.is-cards td.is-c1::before, table.is-cards td.is-c2::before { display: none; }
  table.is-cards td.is-c2 { grid-column: 1 / -1; margin-top: -4px; color: var(--muted); }
  table.is-cards td:empty, table.is-cards td.is-blank { display: none; }
  table.is-cards td.is-full { grid-column: 1 / -1; }
  table.is-cards td select { width: 100%; }
  table.is-cards .vt-copy { padding: 4px 0; }

  /* pager */
  .vt-pager { justify-content: center; }
  .vt-pager-size, .vt-pager-nav .vt-btn[aria-label="First page"], .vt-pager-nav .vt-btn[aria-label="Last page"] { display: none; }
  .vt-pager-nav { width: 100%; flex-wrap: nowrap; } .vt-pager-nav select { flex: 1 1 auto; min-width: 0; }

  /* drawers: full screen, sticky footer */
  .vt-drawer { width: 100% !important; max-width: none !important; border-radius: 0; }
  .vt-drawer .vt-drawer-foot { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
}

body { margin: 0; }
/* ===== App frame (design canvas "AQS Ops — new theme": header, menu bar, side panel, page head) ===== */
.vt-ic { display: inline-flex; flex: none; } .vt-ic svg { display: block; }
.vt-top { padding: 0; box-shadow: none; border-bottom: 0; background: transparent; }
.vt-barrow { height: 64px; min-height: 64px; background: var(--panel); border-bottom: 1px solid var(--line); padding: 0 max(24px, env(safe-area-inset-right, 0px)) 0 max(24px, env(safe-area-inset-left, 0px)); gap: 14px 24px; }
.vt-logo img { height: 32px; }
.vt-name { font-size: 13px; font-weight: 700; gap: 12px; }
.vt-appname { color: var(--muted); letter-spacing: .02em; padding-left: 12px; border-left: 1px solid var(--line); }
.vt-gsearch { max-width: 520px; }
.vt-gsearch input { height: 38px; border-radius: 10px; }
.vt-topact { gap: 6px; }
.vt-topact .vt-btn { height: 38px; }
.vt-iconbtn { width: 34px; height: 34px; border-color: transparent; background: transparent; color: var(--fg); border-radius: 8px; }
.vt-iconbtn:hover { background: var(--panel-2); color: var(--fg); }
.vt-mebtn { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px 0 3px; border-radius: 999px; border: 0; background: transparent; color: var(--fg); font: inherit; cursor: pointer; text-align: left; margin-left: 4px; }
.vt-mebtn:hover { background: var(--panel-2); } .vt-mebtn:active { transform: translateY(1px); }
.vt-mebtn[data-arm] .vt-who-n { color: var(--bad); }
.vt-av { width: 32px; height: 32px; border-radius: 50%; background: var(--fg); color: var(--panel); font-size: 12px; font-weight: 600; display: grid; place-items: center; flex: none; }
.vt-who { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.vt-who-n { font-size: 13px; font-weight: 600; white-space: nowrap; }
.vt-who-r { font-size: 11.5px; color: var(--muted); white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.vt-who-r:empty { display: none; }
.vt-tabs { display: none !important; }
.vt-mb { display: flex; align-items: center; gap: 4px; padding: 6px max(24px, env(safe-area-inset-right, 0px)) 6px max(24px, env(safe-area-inset-left, 0px)); background: var(--panel-2); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.vt-mb::-webkit-scrollbar { display: none; }
.vt-mi { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--fg); opacity: .86; font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color 120ms ease-out, color 120ms ease-out, transform 120ms ease-out; }
.vt-mi:hover { background: var(--line); opacity: 1; } .vt-mi:active { transform: translateY(1px); }
.vt-mi.is-on { background: var(--hl-soft); color: var(--hl-ink); font-weight: 600; opacity: 1; }
.vt-mi.is-on:hover { background: var(--badge-bg); }
.vt-mi:focus-visible, .vt-si:focus-visible, .vt-mebtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.vt-mi-n { font-size: 11px; font-weight: 600; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--badge-bg); color: var(--badge-fg); display: inline-flex; align-items: center; justify-content: center; }
.vt-shell { display: flex; align-items: stretch; min-height: calc(100vh - 112px); }
.vt-sp { flex: 0 0 264px; width: 264px; background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; position: sticky; top: 112px; align-self: flex-start; height: calc(100vh - 112px); overflow-y: auto; box-sizing: border-box; }
.vt-shell > .vt-main { flex: 1; min-width: 0; padding: 24px max(24px, env(safe-area-inset-right, 0px)) 40px 24px; }
.vt-tile { width: 36px; height: 36px; border-radius: 8px; background: var(--hl-soft); color: var(--hl-ink); display: grid; place-items: center; flex: none; }
.vt-sph { display: flex; align-items: center; gap: 10px; padding: 2px 6px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); } .vt-sph b { font-size: 15px; } .vt-sph .vt-tile { width: 34px; height: 34px; }
.vt-si.is-area.is-here:not(.is-on) { color: var(--fg); font-weight: 600; }
.vt-si.is-sub { min-height: 34px; padding-left: 38px; position: relative; font-size: 12.5px; }
.vt-si.is-sub::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.vt-si.is-sub.is-on::before { background: var(--hl); width: 2px; }
.vt-grp { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 4px; }
.vt-spnav { display: flex; flex-direction: column; gap: 2px; }
.vt-si { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 0 10px; border-radius: 8px; border: 0; background: transparent; color: var(--fg); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; text-align: left; transition: background-color 120ms ease-out, color 120ms ease-out; }
.vt-si:hover { background: var(--panel-2); } .vt-si:active { transform: translateY(1px); }
.vt-si.is-on { background: var(--hl-softer); color: var(--hl-ink); font-weight: 600; }
.vt-si-l { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-si-c { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.vt-si.is-on .vt-si-c { color: var(--hl-ink); }
.vt-si.is-act { color: var(--fg); opacity: .9; } .vt-si.is-act:hover { opacity: 1; }
.vt-si-c.is-warn { color: var(--bad); }
@media (min-width: 761px) { .vt-subtabs.is-mirrored { display: none !important; } .vt-main.has-spset .vt-setwrap { grid-template-columns: minmax(0, 1fr); } .vt-main.has-spset .vt-setnav { display: none; } }
.vt-si-dot { width: 8px; height: 8px; border-radius: 3px; flex: none; margin: 0 4px; }
.vt-crumbs { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.vt-pagehead.is-page { align-items: flex-end; }
.vt-pagehead.is-page h2 { font-size: 24px; font-weight: 650; letter-spacing: -.01em; }
.vt-pagehead.is-page .vt-note { margin-top: 4px; }
/* buttons, cards and tables a touch larger and rounder, as in the design */
.vt-btn { font-weight: 600; font-size: 12.5px; border-radius: 10px; padding: 8px 14px; }
.vt-btn:hover { border-color: var(--line-2); background: var(--hover); }
.vt-kpi { padding: 14px 16px; }
.vt-kpi b { font-family: var(--sans); font-weight: 650; font-size: 24px; }
.vt-kpi span { font-weight: 600; font-size: 11.5px; }
.vt-kpi.is-click:hover { border-color: var(--line-2); background: var(--hover); }
.vt-kpi.is-click.is-on { border-color: var(--hl); background: var(--hl-softer); box-shadow: inset 0 0 0 1px var(--hl); }
@media (max-width: 1100px) { .vt-sp { flex-basis: 220px; width: 220px; } .vt-appname { display: none; } }
@media (max-width: 760px) {
  .vt-mb, .vt-sp, .vt-crumbs, .vt-pagehead.is-gen { display: none !important; }
  .vt-shell { display: block; min-height: 0; }
  .vt-shell > .vt-main { padding: 12px max(12px, env(safe-area-inset-right, 0px)) calc(84px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
  .vt-barrow { height: auto; padding-block: 10px; }
  .vt-who { display: none; } .vt-mebtn { padding: 0; }
  .vt-pagehead.is-page h2 { font-size: 20px; }
}

/* Lucide icons (see iconize) */
.vt-btn.has-ico, button.has-ico { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.vt-btn .vt-ic svg, button.has-ico .vt-ic svg { width: 16px; height: 16px; }
.vt-btn.is-sm .vt-ic svg, .vt-icon .vt-ic svg { width: 14px; height: 14px; }
.has-ico > .vt-ic:only-child svg { width: 15px; height: 15px; }
.vt-fold-ic .vt-ic svg, .vt-file-ic .vt-ic svg { width: 18px; height: 18px; }
.vt-clip { display: inline-flex; align-items: center; gap: 2px; } .vt-clip .vt-ic svg { width: 13px; height: 13px; }
.vt-step-dot .vt-ic svg, .vt-lp-checks li > i .vt-ic svg { width: 13px; height: 13px; stroke-width: 2.4; }
.vt-gsearch svg { stroke-width: 1.75; }
.vt-mnav button svg { width: 24px; height: 24px; }
.vt-table th[aria-sort="ascending"]::after, .vt-table th[aria-sort="descending"]::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 3px; vertical-align: -2px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.vt-table th[aria-sort="descending"]::after { transform: rotate(180deg); }
.vt-dclose { display: inline-flex !important; align-items: center; gap: 6px; }
.vt-dclose::before { content: "" !important; display: inline-block; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Vehicles: Table | Board switch and board selection chip */
.vt-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--panel-2); gap: 2px; align-self: flex-end; }
.vt-seg button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.vt-seg button:hover:not(:disabled) { color: var(--fg); }
.vt-seg button[aria-pressed="true"] { background: var(--panel); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.vt-seg button:disabled { opacity: .45; cursor: not-allowed; }
.vt-seg button:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.vt-pickchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 4px 0 10px; border-radius: 999px; background: var(--hl-soft); color: var(--hl-ink); font-size: 12.5px; font-weight: 600; }
.vt-pickchip button { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.vt-pickchip button:hover { background: var(--badge-bg); }
.vt-meta.is-late { color: var(--bad); font-weight: 600; }

.vt-invform { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.vt-invform textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--fg); resize: vertical; }
.vt-invform .is-wide { grid-column: 1 / -1; }
.vt-invdl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; margin: 4px 0; font-size: 13px; } .vt-invdl dt { color: var(--muted); } .vt-invdl dd { margin: 0; white-space: pre-wrap; }

/* Inbox: email-style split (list | reading pane) */
.vt-ibsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.vt-iblistpane { display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 150px); overflow-y: auto; position: sticky; top: 124px; padding-right: 4px; }
.vt-ibsplit .vt-ibitem { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: 2px; cursor: pointer; }
.vt-ibsplit .vt-ibmain { grid-column: 1; } .vt-ibsplit .vt-ibdays { grid-column: 2; grid-row: 1; } .vt-ibsplit .vt-ibmark { grid-column: 3; grid-row: 1; }
.vt-ibsplit .vt-ibwhy { grid-column: 1 / -1; white-space: normal; font-size: 12.5px; } .vt-ibsplit .vt-ibsub { grid-column: 1 / -1; font-size: 12px; }
.vt-ibsplit .vt-ibgo { display: none; }
.vt-ibitem.is-sel { background: var(--hl-softer); box-shadow: inset 3px 0 0 var(--hl); }
.vt-ibpane { position: sticky; top: 124px; height: calc(100vh - 150px); min-height: 420px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); overflow: hidden; display: flex; }
.vt-ibempty { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--muted); max-width: 22rem; padding: 24px; }
.vt-ibempty b { color: var(--fg); font-size: 15px; } .vt-ibempty .vt-ic svg { width: 28px; height: 28px; }
.vt-ibpane:has(.vt-docked) .vt-ibempty { display: none; }
.vt-docked { display: flex; flex: 1; min-width: 0; min-height: 0; }
.vt-docked > .vt-drawer { position: static !important; width: 100% !important; max-width: none !important; height: auto; border: 0; box-shadow: none; z-index: auto; flex: 1; min-height: 0; }
@media (max-width: 1100px) { .vt-ibsplit { grid-template-columns: minmax(0, 1fr); } .vt-ibpane { display: none; } }

.vt-ibwhybox { border: 1px solid var(--line); border-left: 3px solid var(--sev); border-radius: 8px; background: var(--panel-2); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; }
.vt-ibwhy-t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .vt-ibwhy-t i { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sev); }
.vt-ibwhy-t b { font-size: 13px; } .vt-ibwhy-t span { color: var(--muted); font-size: 11.5px; } .vt-ibwhy-t em { font-style: normal; color: var(--bad); font-weight: 600; margin-left: auto; }
.vt-ibwhy-fix { color: var(--muted); }

/* Vehicles dashboard */
.vt-vdwrap { gap: 12px; } .vt-vdwrap .vt-tools { margin: 0; }
.vt-vdgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); gap: 16px; align-items: start; }
.vt-vdcard { gap: 12px; } .vt-vdhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; } .vt-vdhead h3 { margin: 0; font-size: 14px; font-weight: 650; }
.vt-vdtile.is-click { text-align: left; }
.vt-hbars { display: flex; flex-direction: column; gap: 4px; }
.vt-hbar { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 3.5rem; align-items: center; gap: 10px; padding: 4px 6px; border: 0; border-radius: 6px; background: none; color: var(--fg); font: inherit; font-size: 12.5px; cursor: pointer; text-align: left; }
.vt-hbar:hover, .vt-hbar:focus-visible { background: var(--panel-2); } .vt-hbar:focus-visible { outline: 2px solid var(--focus); }
.vt-hbar-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--fg); }
.vt-hbar-t { height: 14px; display: block; } .vt-hbar-t i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.vt-hbar-v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.vt-hbars.has-val .vt-hbar { grid-template-columns: 11rem minmax(0, 1fr) 3.5rem 4.5rem; }
.vt-hbar-m { text-align: right; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vt-vdst-r { grid-template-columns: 8rem minmax(0, 1fr) 3.5rem 4.5rem !important; }
.vt-vdstack { display: flex; flex-direction: column; gap: 6px; }
.vt-vdst-r { display: grid; grid-template-columns: 8rem minmax(0, 1fr) 3.5rem; align-items: center; gap: 10px; font-size: 12.5px; }
.vt-vdst-r > .vt-vdst-t, .vt-vdst-r > span:nth-child(2) { display: flex; gap: 2px; height: 16px; min-width: 4px; }
.vt-vdseg { border: 0; padding: 0; height: 100%; cursor: pointer; min-width: 3px; } .vt-vdseg:last-child { border-radius: 0 4px 4px 0; }
.vt-vdseg:hover, .vt-vdseg:focus-visible { filter: brightness(1.12); outline: 2px solid var(--fg); outline-offset: 1px; }
.vt-vdleg { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); } .vt-vdleg span { display: inline-flex; align-items: center; gap: 6px; }
.vt-vdleg i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; } .vt-vdleg i.is-line { width: 14px; height: 2px; border-radius: 1px; }
.vt-vdline-w { width: 100%; } .vt-vdline { width: 100%; height: auto; display: block; overflow: visible; }
.vt-vdgrid-l { stroke: var(--line); stroke-width: 1; } .vt-vdax { fill: var(--muted); font-size: 11px; font-family: var(--sans); } .vt-vdlab { fill: var(--fg); font-size: 11.5px; font-weight: 600; font-family: var(--sans); }
.vt-vdhair { stroke: var(--muted); stroke-width: 1; } .vt-vdline rect:focus { outline: none; } .vt-vdline rect:focus-visible { outline: 2px solid var(--focus); }
.vt-vdtip { position: fixed; z-index: 80; pointer-events: none; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgb(0 0 0 / .14); padding: 8px 10px; font-size: 12px; display: flex; flex-direction: column; gap: 3px; min-width: 9rem; }
.vt-vdtip[hidden] { display: none; } .vt-vdtip-r { display: flex; align-items: center; gap: 6px; } .vt-vdtip-r i { width: 12px; height: 2px; border-radius: 1px; } .vt-vdtip-r b { font-weight: 700; } .vt-vdtip-r span { color: var(--muted); }
.vt-vddet summary { cursor: pointer; font-size: 12px; color: var(--muted); } .vt-vddet[open] summary { margin-bottom: 8px; }
.vt-vdtbl { width: 100%; font-size: 12.5px; } .vt-vdtbl th.num, .vt-vdtbl td.num { text-align: right; } .vt-vdtbl tbody tr { cursor: pointer; } .vt-vdtbl tbody tr:hover td { background: var(--hover); } .vt-vdtbl td.is-bad { color: var(--bad); font-weight: 600; }
.vt-vdibs { display: flex; flex-direction: column; } .vt-vdib { display: grid; grid-template-columns: 20px 1fr auto auto; align-items: center; gap: 10px; padding: 8px 4px; border-top: 1px solid var(--line); font-size: 13px; } .vt-vdib:first-child { border-top: 0; }
.vt-vdib-n { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; } .vt-vdib-n b { color: var(--fg); } .vt-vdib-n.is-urgent b { color: var(--bad); } .vt-vdib-n:hover { background: var(--panel-2); }
.vt-vdlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } .vt-vdlist li button { width: 100%; display: grid; grid-template-columns: 11rem 1fr auto; gap: 10px; align-items: center; padding: 7px 4px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--fg); font: inherit; font-size: 12.5px; cursor: pointer; text-align: left; }
.vt-vdlist li:first-child button { border-top: 0; } .vt-vdlist li button:hover { background: var(--hover); } .vt-vdlist em { font-style: normal; color: var(--bad); font-weight: 600; } .vt-vdlist span:nth-child(2) { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* chart colours (owner, 10 Nov 2026), from the AQS Ops foundations: ONE data colour (green, light p0 / main p1 / deep p2) on white + greys;
   amber --vd-mid and red --vd-bad only for the few things that are in progress or alarming. No tinted backgrounds. */
:root { --vd-p0: #9AD3B0; --vd-p1: #2E8A55; --vd-p2: #15603A; --vd-n: #3B3B41; --vd-good: #2E8A55; --vd-mid: #E0A030; --vd-bad: #E5484D; --vd-ink: #3B3B41; --vd-mute: #C6C6CC; --vd-good-t: #E6F5EC; --vd-good-k: #1C7442; --vd-mid-t: #FFF2D9; --vd-mid-k: #865600;
  --vd-s1: var(--vd-p1); --vd-s2: var(--vd-mid); --vd-s3: var(--vd-good); --vd-a0: #DCDCE0; --vd-a1: #9E9EA7; --vd-a2: #6E6E77; --vd-a3: #3B3B41; --vd-a4: #17171A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --vd-p0: #3F7A57; --vd-p1: #5BBE86; --vd-p2: #9FE3BA; --vd-n: #CFCFD6; --vd-good: #5BBE86; --vd-mid: #F5C46B; --vd-bad: #FF8A8A; --vd-ink: #E2E2E7; --vd-mute: #45454D; --vd-good-t: #15301F; --vd-good-k: #7FD9A2; --vd-mid-t: #33270F; --vd-mid-k: #F5C46B; --vd-s1: var(--vd-p1); --vd-a0: #303036; --vd-a1: #45454D; --vd-a2: #6E6E77; --vd-a3: #9E9EA7; --vd-a4: #E2E2E7; } }
:root[data-theme="dark"] { --vd-p0: #3F7A57; --vd-p1: #5BBE86; --vd-p2: #9FE3BA; --vd-n: #CFCFD6; --vd-good: #5BBE86; --vd-mid: #F5C46B; --vd-bad: #FF8A8A; --vd-ink: #E2E2E7; --vd-mute: #45454D; --vd-good-t: #15301F; --vd-good-k: #7FD9A2; --vd-mid-t: #33270F; --vd-mid-k: #F5C46B; --vd-s1: var(--vd-p1); --vd-a0: #303036; --vd-a1: #45454D; --vd-a2: #6E6E77; --vd-a3: #9E9EA7; --vd-a4: #E2E2E7; }
@media (max-width: 760px) { .vt-hbar { grid-template-columns: 8rem minmax(0, 1fr) 3rem; } .vt-vdlist li button { grid-template-columns: 1fr auto; } .vt-vdlist li button span:nth-child(2) { display: none; } }

/* side menu: expand / collapse with motion */
.vt-si-chev { display: inline-flex; color: var(--muted); transition: transform 200ms ease-out; transform: rotate(-90deg); margin-left: 2px; }
.vt-si-chev.is-open { transform: rotate(0deg); }
.vt-si.is-parent.is-on { background: transparent; color: var(--fg); font-weight: 600; } .vt-si.is-parent.is-on .vt-si-c { color: var(--muted); }
.vt-spsub { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows 220ms ease-out, opacity 180ms ease-out; }
.vt-spsub > div { overflow: hidden; min-height: 0; display: flex; flex-direction: column; gap: 2px; }
.vt-spsub.is-closed { grid-template-rows: 0fr; opacity: 0; }
.vt-si.is-sub.is-ico { padding-left: 30px; gap: 8px; }
.vt-si.is-sub.is-ico::before { left: 18px; }
@media (prefers-reduced-motion: reduce) { .vt-spsub, .vt-si-chev { transition: none; } }

/* ===== Data fields (owner, 10 Nov 2026): one look for inputs, dropdowns, multi-selects and their pop-ups ===== */
.vt-f { gap: 5px; }
.vt-f > span, .vt-form label { font-size: 12px; font-weight: 600; color: var(--fg); opacity: .78; }
.vt-f input, .vt-f select, .vt-form input:not([type=checkbox]):not([type=radio]), .vt-form select, .vt-form textarea, .vt-inline, .vt-ss-btn {
  min-height: 38px; padding: 8px 12px; font-size: 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--fg);
  transition: border-color 120ms ease-out, box-shadow 120ms ease-out, background-color 120ms ease-out; }
.vt-form textarea { min-height: 84px; }
.vt-inline { min-height: 32px; padding: 5px 9px; border-radius: 8px; }
.vt-f input:hover, .vt-form input:hover, .vt-form textarea:hover, .vt-ss-btn:hover:not(:disabled), .vt-inline:hover { border-color: var(--line-2); }
.vt-f input:focus, .vt-form input:focus, .vt-form textarea:focus, .vt-form select:focus, .vt-inline:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fg) 10%, transparent); }
.vt-ss-btn { padding-right: 34px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-ss-btn::after { right: 13px; border-color: var(--muted); }
.vt-ss-btn[aria-expanded="true"], .vt-ss-btn:focus-visible { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fg) 10%, transparent); }
.vt-ms.is-on { border-color: var(--hl-line); background: var(--hl-softer); color: var(--hl-ink); }
.vt-f input[type=search], .vt-f input[type=text]:not([readonly]) { padding-left: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239E9EA7' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 12px 50%; }
.vt-f input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
/* pop-ups */
.vt-ms-pop, .vt-ss-pop { border-radius: 12px; border-color: var(--line); box-shadow: 0 16px 40px rgb(23 23 26 / .16); padding: 6px; }
.vt-ms-pop > input, .vt-ss-pop input { min-height: 36px; margin: 2px 2px 6px; padding: 7px 10px 7px 32px; border-radius: 8px; background-color: var(--panel-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%239E9EA7' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 10px 50%; }
.vt-ms-pop > input:focus, .vt-ss-pop input:focus { outline: none; border-color: var(--fg); background-color: var(--panel); }
.vt-ms-list { padding: 2px 0; } .vt-ms-opt, .vt-ss-opt { border-radius: 8px; padding: 8px 10px; } .vt-ms-opt:hover, .vt-ss-opt.is-active { background: var(--panel-2); }
.vt-ss-opt.is-sel { color: var(--hl-ink); background: var(--hl-softer); }
.vt-ms-opt input[type=checkbox], .vt-form input[type=checkbox], .vt-table input[type=checkbox], .vt-bulkpay input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; flex: none; margin: 0; border: 1.5px solid var(--line-2); border-radius: 5px; background: var(--panel); display: inline-grid; place-content: center; cursor: pointer; transition: background-color 120ms ease-out, border-color 120ms ease-out; }
.vt-ms-opt input[type=checkbox]:hover, .vt-form input[type=checkbox]:hover, .vt-table input[type=checkbox]:hover { border-color: var(--fg); }
.vt-ms-opt input[type=checkbox]:checked, .vt-form input[type=checkbox]:checked, .vt-table input[type=checkbox]:checked, .vt-bulkpay input[type=checkbox]:checked { background: var(--fg); border-color: var(--fg); }
.vt-ms-opt input[type=checkbox]:checked::after, .vt-form input[type=checkbox]:checked::after, .vt-table input[type=checkbox]:checked::after, .vt-bulkpay input[type=checkbox]:checked::after { content: ""; width: 10px; height: 10px; background: var(--panel);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.vt-ms-opt input[type=checkbox]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.vt-ms-foot { border-top: 1px solid var(--line); margin: 6px -6px -6px; padding: 8px; background: var(--hover); }

/* Vehicles dashboard: style options */
.vt-vdash { display: flex; flex-direction: column; gap: 16px; }
.vt-vdheadr { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin-left: auto; }
.vt-vdstyles { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px dashed var(--hl-line); border-radius: 10px; background: var(--hl-softer); }
.vt-vdstyles > span { font-size: 11px; font-weight: 700; color: var(--hl-ink); text-transform: uppercase; letter-spacing: .05em; padding: 0 6px; }
.vt-vdstyles button { border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); padding: 5px 9px; border-radius: 7px; cursor: pointer; }
.vt-vdstyles button[aria-pressed="true"] { background: var(--panel); color: var(--fg); box-shadow: 0 1px 2px rgb(0 0 0 / .15); }
.vt-vdtile-ic { display: none; font-style: normal; }
.vt-vdhero { display: none; }
/* B · Icon tiles: tinted icon tiles, softer card headers, chunkier bars */
.vt-vdash.is-icons .vt-vdtile { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 2px; padding: 16px; }
.vt-vdash.is-icons .vt-vdtile-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--panel-2); color: var(--fg); grid-row: span 3; flex: none; }
.vt-vdash.is-icons .vt-vdtile { display: grid; grid-template-columns: 40px 1fr; }
.vt-vdash.is-icons .vt-vdtile > span, .vt-vdash.is-icons .vt-vdtile > b, .vt-vdash.is-icons .vt-vdtile > small { grid-column: 2; }
.vt-vdash.is-icons .vt-vdtile.is-bad .vt-vdtile-ic { background: var(--hl-soft); color: var(--hl-ink); }
.vt-vdash.is-icons .vt-vdtile.is-good .vt-vdtile-ic { background: var(--vd-good-t); color: var(--vd-good-k); } .vt-vdash.is-icons .vt-vdtile.is-mid .vt-vdtile-ic { background: var(--vd-mid-t); color: var(--vd-mid-k); }
.vt-vdash.is-icons .vt-vdcard { padding: 0; overflow: hidden; gap: 0; } .vt-vdash.is-icons .vt-vdcard > * { margin: 0 16px; } .vt-vdash.is-icons .vt-vdcard > :last-child { margin-bottom: 16px; }
.vt-vdash.is-icons .vt-vdhead { margin: 0 0 12px; padding: 12px 16px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.vt-vdash.is-icons .vt-hbar-t { height: 18px; } .vt-vdash.is-icons .vt-hbar-t i { border-radius: 6px; } .vt-vdash.is-icons .vt-vdst-r > span:nth-child(2) { height: 20px; }
/* C · Value banner: a dark banner with the money first, then lighter tiles */
.vt-vdash.is-banner .vt-vdhero { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0; background: var(--fg); color: var(--panel); border-radius: 14px; overflow: hidden; }
.vt-vdash.is-banner .vt-vdhero > div { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-left: 1px solid color-mix(in srgb, var(--panel) 18%, transparent); }
.vt-vdash.is-banner .vt-vdhero > div:first-child { border-left: 0; }
.vt-vdash.is-banner .vt-vdhero span { font-size: 12px; opacity: .7; font-weight: 600; } .vt-vdash.is-banner .vt-vdhero b { font-size: 30px; font-weight: 650; letter-spacing: -.01em; } .vt-vdash.is-banner .vt-vdhero small { font-size: 12px; opacity: .65; }
.vt-vdash.is-banner .vt-vdhero > div:first-child b { color: var(--badge-bg); }
.vt-vdash.is-banner .vt-vdtile { background: var(--panel-2); border-color: transparent; } .vt-vdash.is-banner .vt-vdtile b { font-size: 22px; }
/* D · Compact report: one joined strip of numbers, no card frames, dense rows */
.vt-vdash.is-compact { gap: 10px; }
.vt-vdash.is-compact .vt-kpis { gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.vt-vdash.is-compact .vt-vdtile { border: 0; border-radius: 0; border-left: 1px solid var(--line); padding: 10px 12px; } .vt-vdash.is-compact .vt-vdtile:first-child { border-left: 0; }
.vt-vdash.is-compact .vt-vdtile b { font-size: 20px; }
.vt-vdash.is-compact .vt-vdgrid { gap: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.vt-vdash.is-compact .vt-vdcard { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; gap: 8px; box-shadow: none; }
.vt-vdash.is-compact .vt-vdhead h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.vt-vdash.is-compact .vt-hbar { padding: 2px 4px; font-size: 12px; } .vt-vdash.is-compact .vt-hbar-t { height: 10px; } .vt-vdash.is-compact .vt-vdtbl td, .vt-vdash.is-compact .vt-vdtbl th { padding-top: 5px; padding-bottom: 5px; }
@media (max-width: 760px) { .vt-vdheadr { align-items: stretch; } .vt-vdstyles { flex-wrap: wrap; } }

/* Overview charts */
.vt-vdgrid > .is-wide { grid-column: 1 / -1; } .vt-vdgrid > .is-wide > .vt-vdcard { height: 100%; }
.vt-tile-sp { grid-column: 1 / -1 !important; display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.vt-spark { width: 100%; height: 30px; display: block; } .vt-tile-sp small { font-size: 11px; color: var(--muted); }
.vt-jny { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.vt-jny-s { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto auto; column-gap: 8px; row-gap: 2px; align-items: center; text-align: left; padding: 12px 14px 12px 18px; border: 0; background: var(--panel-2); color: var(--fg); font: inherit; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%); transition: background-color 120ms ease-out; }
.vt-jny-s:first-child { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); border-radius: 10px 0 0 10px; padding-left: 14px; }
.vt-jny-s:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%); border-radius: 0 10px 10px 0; }
.vt-jny-s:hover, .vt-jny-s:focus-visible { background: var(--line); outline: none; }
.vt-jny-s.is-yard, .vt-jny-s.is-mid { background: color-mix(in srgb, var(--vd-mid) 16%, var(--panel-2)); } .vt-jny-s.is-ship, .vt-jny-s.is-good { background: color-mix(in srgb, var(--vd-good) 12%, var(--panel-2)); }
.vt-jny-ic { grid-row: span 2; width: 30px; height: 30px; border-radius: 8px; background: var(--panel); display: grid; place-items: center; color: var(--fg); }
.vt-jny-l { font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-jny-s b { font-size: 22px; font-weight: 650; line-height: 1.1; } .vt-jny-s small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.vt-jny-share { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--fg) 8%, transparent); overflow: hidden; } .vt-jny-share i { display: block; height: 100%; background: var(--vd-s1); border-radius: 2px; }
.vt-jny-s em { grid-column: 1 / -1; font-style: normal; font-size: 11px; color: var(--muted); }
.vt-vdaxis { stroke: var(--line-2); stroke-width: 1; } .vt-vdhit:hover, .vt-vdhit:focus-visible { fill: color-mix(in srgb, var(--fg) 5%, transparent); outline: none; }
.vt-heat-w { overflow-x: auto; } .vt-heat { display: grid; gap: 3px; align-items: stretch; min-width: 36rem; font-size: 12px; }
.vt-heat-h { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; padding-bottom: 4px; } .vt-heat-l { display: flex; align-items: center; font-weight: 600; font-size: 12.5px; }
.vt-heat-c { border: 0; border-radius: 6px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: inherit; cursor: pointer; min-height: 46px; transition: transform 120ms ease-out, box-shadow 120ms ease-out; }
.vt-heat-c b { font-size: 14px; font-weight: 650; } .vt-heat-c small { font-size: 10.5px; opacity: .8; }
button.vt-heat-c:hover, button.vt-heat-c:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--fg); }
.vt-heat-c.is-s0 { background: var(--panel-2); color: var(--line-2); cursor: default; }
.vt-heat-c { --band: var(--vd-good); color: var(--fg); } .vt-heat-c.is-bmid { --band: var(--vd-mid); } .vt-heat-c.is-bbad { --band: var(--vd-bad); }
.vt-heat-c.is-s1 { background: color-mix(in srgb, var(--band) 12%, var(--panel)); } .vt-heat-c.is-s2 { background: color-mix(in srgb, var(--band) 26%, var(--panel)); } .vt-heat-c.is-s3 { background: color-mix(in srgb, var(--band) 45%, var(--panel)); }
.vt-heat-c.is-s4 { background: color-mix(in srgb, var(--band) 72%, var(--panel)); } .vt-heat-c.is-s5 { background: var(--band); }
.vt-heat-c.is-bgood.is-s4, .vt-heat-c.is-bgood.is-s5, .vt-heat-c.is-bbad.is-s5 { color: #FFFFFF; }
:root[data-theme="dark"] .vt-heat-c.is-s4, :root[data-theme="dark"] .vt-heat-c.is-s5 { color: #0B0B0C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vt-heat-c.is-s4, :root:not([data-theme="light"]) .vt-heat-c.is-s5 { color: #0B0B0C; } }
.vt-heat-t { border: 0; background: none; font: inherit; color: var(--fg); display: flex; flex-direction: column; align-items: flex-end; justify-content: center; cursor: pointer; } .vt-heat-t small { font-size: 10.5px; color: var(--muted); }
.vt-donut-w { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; } .vt-donut { width: 180px; height: 180px; }
.vt-donut-s { cursor: pointer; transition: opacity 120ms ease-out; } .vt-donut:hover .vt-donut-s:not(:hover) { opacity: .55; } .vt-donut-s:focus { outline: none; } .vt-donut-s:focus-visible { stroke: var(--fg); stroke-width: 2; }
.vt-donut-n, .vt-donut-c { pointer-events: none; }
.vt-donut-n { font-size: 26px; font-weight: 650; fill: var(--fg); font-family: var(--sans); } .vt-donut-c { font-size: 11px; fill: var(--muted); font-family: var(--sans); }
.vt-dleg { display: flex; flex-direction: column; gap: 4px; } .vt-dleg button { display: grid; grid-template-columns: 12px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; border: 0; background: none; padding: 6px 8px; border-radius: 8px; font: inherit; color: var(--fg); cursor: pointer; }
.vt-dleg button:hover { background: var(--panel-2); } .vt-dleg i { width: 10px; height: 10px; border-radius: 3px; } .vt-dleg b { font-size: 15px; } .vt-dleg small { grid-column: 2 / -1; font-size: 11.5px; color: var(--muted); }
.vt-hbar-m.is-bad { color: var(--bad); font-weight: 600; }
.vt-hbars.is-cust .vt-hbar { grid-template-columns: 14rem minmax(0, 1fr) 4.5rem 9rem; }
.vt-vdash.is-icons .vt-vdtile { align-content: start; }
.vt-vdash.is-icons .vt-vdgrid > .is-wide > .vt-vdcard { padding: 0; }
:root { --vd-h1: #E6F5EC; --vd-h2: #BFE5CC; --vd-h3: #7FC79C; --vd-h4: #2E8A55; --vd-h5: #1C7442; --vd-h-ink-l: #0F4F2C; --vd-h-ink-4: #FFFFFF; --vd-h-ink-5: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --vd-h1: #15301F; --vd-h2: #1E4A30; --vd-h3: #2E6A45; --vd-h4: #4FAE78; --vd-h5: #7FD9A2; --vd-h-ink-l: #F4F4F5; --vd-h-ink-4: #0B0B0C; --vd-h-ink-5: #0B0B0C; } }
:root[data-theme="dark"] { --vd-h1: #15301F; --vd-h2: #1E4A30; --vd-h3: #2E6A45; --vd-h4: #4FAE78; --vd-h5: #7FD9A2; --vd-h-ink-l: #F4F4F5; --vd-h-ink-4: #0B0B0C; --vd-h-ink-5: #0B0B0C; }
@media (max-width: 1100px) { .vt-jny { grid-template-columns: repeat(4, minmax(0, 1fr)); } .vt-jny-s, .vt-jny-s:first-child, .vt-jny-s:last-child { clip-path: none; border-radius: 10px; padding-left: 14px; } }
@media (max-width: 760px) { .vt-jny { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vt-donut-w { grid-template-columns: 1fr; justify-items: center; } }

/* dashboard: controls + motion (plays when the dashboard opens or a control changes; off with reduced motion) */
.vt-vdhead { align-items: center; } .vt-vdhead > div:first-child { display: flex; flex-direction: column; gap: 1px; } .vt-vdctl { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.vt-seg.is-sm { padding: 2px; border-radius: 8px; } .vt-seg.is-sm button { height: 26px; padding: 0 9px; font-size: 11.5px; border-radius: 6px; }
.vt-heat-l, .vt-ldbtn { border: 0; background: none; font: inherit; font-weight: 600; font-size: 12.5px; color: var(--fg); text-align: left; cursor: pointer; padding: 0 6px; border-radius: 6px; }
.vt-heat-l:hover, .vt-ldbtn:hover { background: var(--panel-2); } .vt-heat-l.is-on, .vt-ldbtn.is-on { background: var(--hl-softer); color: var(--hl-ink); }
@keyframes vtGrowX { from { transform: scaleX(0); } } @keyframes vtGrowY { from { transform: scaleY(0); } } @keyframes vtDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes vtFadeUp { from { opacity: 0; transform: translateY(6px); } } @keyframes vtPop { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; } } @keyframes vtSweep { from { opacity: 0; transform: rotate(-25deg) scale(.92); } }
.vt-vdash.is-anim .vt-hbar-t i, .vt-vdash.is-anim .vt-jny-share i, .vt-vdash.is-anim .vt-vdst-t { transform-origin: left center; animation: vtGrowX 700ms cubic-bezier(.2,.7,.2,1) both; }
.vt-vdash.is-anim .vt-vd-up { transform-box: view-box; animation: vtGrowY 600ms cubic-bezier(.2,.7,.2,1) both; }
.vt-vdash.is-anim .vt-vd-draw { stroke-dasharray: 1; animation: vtDraw 1100ms ease-out both; }
.vt-vdash.is-anim .vt-vd-pop { transform-box: fill-box; transform-origin: center; animation: vtPop 500ms 900ms ease-out both; }
.vt-vdash.is-anim .vt-heat-c { animation: vtFadeUp 380ms ease-out both; }
.vt-vdash.is-anim .vt-donut-s { transform-box: view-box; transform-origin: 90px 90px; animation: vtSweep 600ms cubic-bezier(.2,.7,.2,1) both; }
.vt-vdash.is-anim .vt-jny-s, .vt-vdash.is-anim .vt-vdtile { animation: vtFadeUp 420ms ease-out both; }
.vt-vdash.is-anim .vt-jny-s:nth-child(2) { animation-delay: 50ms; } .vt-vdash.is-anim .vt-jny-s:nth-child(3) { animation-delay: 100ms; } .vt-vdash.is-anim .vt-jny-s:nth-child(4) { animation-delay: 150ms; } .vt-vdash.is-anim .vt-jny-s:nth-child(5) { animation-delay: 200ms; } .vt-vdash.is-anim .vt-jny-s:nth-child(6) { animation-delay: 250ms; } .vt-vdash.is-anim .vt-jny-s:nth-child(7) { animation-delay: 300ms; }
.vt-vdash.is-anim .vt-vdtile:nth-child(2) { animation-delay: 40ms; } .vt-vdash.is-anim .vt-vdtile:nth-child(3) { animation-delay: 80ms; } .vt-vdash.is-anim .vt-vdtile:nth-child(4) { animation-delay: 120ms; } .vt-vdash.is-anim .vt-vdtile:nth-child(5) { animation-delay: 160ms; } .vt-vdash.is-anim .vt-vdtile:nth-child(6) { animation-delay: 200ms; }
.vt-jny-s:hover .vt-jny-ic { background: var(--fg); color: var(--panel); transition: background-color 150ms, color 150ms; }
.vt-vdtile:hover .vt-vdtile-ic { background: var(--fg) !important; color: var(--panel) !important; transition: background-color 150ms, color 150ms; }
.vt-hbar:hover .vt-hbar-t i, .vt-vdst-r:hover .vt-vdst-t { filter: brightness(1.08); }
@media (prefers-reduced-motion: reduce) { .vt-vdash * { animation: none !important; } }

/* dashboard: compact header + one filter bar */
.vt-vdwrap { padding: 12px 16px; gap: 10px; }
.vt-vdph { align-items: center !important; } .vt-vdph h2 { font-size: 22px !important; }
.vt-vdph .vt-crumbs { margin-bottom: 2px; }
.vt-vdbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.vt-vdf { display: inline-flex; align-items: center; gap: 6px; } .vt-vdf > span { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.vt-vdf .vt-ms { min-height: 32px; height: 32px; padding: 4px 30px 4px 10px; width: auto; min-width: 6.5rem; max-width: 13rem; border-radius: 8px; }
.vt-vdf .vt-seg.is-sm button { height: 26px; }
.vt-vdbar-sep { width: 1px; height: 22px; background: var(--line); margin: 0 2px; }
.vt-vdf.is-end { margin-left: auto; } /* Period sits at the right end of the filter row (guide 15.6) */
.vt-vdclear { min-height: 30px; }

/* Today dashboard */
.vt-vdash .vt-kpis.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .vt-vdash .vt-kpis.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vt-vd-today { fill: color-mix(in srgb, var(--vd-s1) 7%, transparent); } .vt-vdax.is-strong { fill: var(--fg); font-weight: 700; }
.vt-vd-col { cursor: pointer; } .vt-vd-col:hover, .vt-vd-col:focus-visible { filter: brightness(1.1); outline: none; stroke: var(--fg); stroke-width: 1.5; }
.vt-vdhit-bg:hover { fill: color-mix(in srgb, var(--fg) 4%, transparent); }
.vt-qs { display: flex; flex-direction: column; gap: 14px; }
.vt-q { display: flex; flex-direction: column; gap: 6px; } .vt-q-h { display: flex; align-items: center; gap: 8px; } .vt-q-h b { font-size: 13px; } .vt-q-n { font-size: 12px; color: var(--muted); }
.vt-q-ic { width: 26px; height: 26px; border-radius: 7px; background: var(--panel-2); display: grid; place-items: center; } .vt-q-note { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--hl-ink); background: var(--hl-soft); padding: 2px 8px; border-radius: 999px; }
.vt-q-bar { display: flex; gap: 2px; height: 18px; border-radius: 6px; overflow: hidden; background: var(--panel-2); }
.vt-q-seg { border: 0; padding: 0; height: 100%; min-width: 4px; cursor: pointer; transition: filter 120ms; } .vt-q-seg:hover, .vt-q-seg:focus-visible { filter: brightness(1.12); outline: 2px solid var(--fg); outline-offset: -2px; }
.vt-vdash.is-anim .vt-q-bar { transform-origin: left; animation: vtGrowX 700ms cubic-bezier(.2,.7,.2,1) both; }
.vt-q-empty { font-size: 11.5px; color: var(--muted); padding: 0 8px; line-height: 18px; }
.vt-q-leg { display: flex; flex-wrap: wrap; gap: 4px 12px; } .vt-q-leg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 4px; border-radius: 6px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; }
.vt-q-leg button:hover { background: var(--panel-2); color: var(--fg); } .vt-q-leg i { width: 9px; height: 9px; border-radius: 3px; } .vt-q-leg b { color: var(--fg); }
.vt-ibb { display: flex; flex-direction: column; gap: 4px; } .vt-ibb-r { display: grid; grid-template-columns: 18px 7rem minmax(0, 1fr) 3rem 3rem; align-items: center; gap: 10px; padding: 5px 2px; font-size: 13px; }
.vt-ibb-t { display: flex; gap: 2px; height: 14px; } .vt-ibb-u, .vt-ibb-d { border: 0; padding: 0; height: 100%; cursor: pointer; min-width: 3px; } .vt-ibb-u { background: var(--bad); border-radius: 4px 0 0 4px; } .vt-ibb-d { background: var(--warn); border-radius: 0 4px 4px 0; }
.vt-ibb-u:only-child, .vt-ibb-d:only-child { border-radius: 4px; }
.vt-vdash.is-anim .vt-ibb-t { transform-origin: left; animation: vtGrowX 700ms cubic-bezier(.2,.7,.2,1) both; }
.vt-ibb-n { border: 0; background: none; font: inherit; font-weight: 700; text-align: right; cursor: pointer; color: var(--warn); border-radius: 6px; padding: 2px 4px; } .vt-ibb-n.is-u { color: var(--bad); } .vt-ibb-n:hover { background: var(--panel-2); }
.vt-late { display: flex; flex-direction: column; } .vt-late-r { display: grid; grid-template-columns: 11rem minmax(0, 1.2fr) minmax(0, 1fr) 4rem; gap: 12px; align-items: center; padding: 7px 4px; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; font-size: 12.5px; color: var(--fg); text-align: left; cursor: pointer; }
.vt-late-r:first-child { border-top: 0; } .vt-late-r:hover { background: var(--hover); } .vt-late-v { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-late-t { height: 8px; border-radius: 4px; background: var(--panel-2); overflow: hidden; } .vt-late-t i { display: block; height: 100%; background: var(--bad); border-radius: 4px; } .vt-late-r b { color: var(--bad); text-align: right; }
.vt-vdash.is-anim .vt-late-t i { transform-origin: left; animation: vtGrowX 700ms cubic-bezier(.2,.7,.2,1) both; }
@media (max-width: 760px) { .vt-late-r { grid-template-columns: 1fr 4rem; } .vt-late-v, .vt-late-t { display: none; } .vt-ibb-r { grid-template-columns: 18px 1fr 2.5rem 2.5rem; } .vt-ibb-t { display: none; } }

/* ===== Design canvas match (10 Nov 2026): page title on the grey page, one white list card, chip filters, tables, status chips, drawers ===== */
.vt-shell > .vt-main { gap: 16px; }
.vt-pagehead.is-page { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.vt-pagehead.is-page > div:first-child { flex: 1; min-width: 240px; }
.vt-pagehead.is-page .vt-note { color: var(--muted); font-size: 12.5px; margin: 4px 0 0; max-width: 72rem; }
.vt-h-cnt { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 8px; letter-spacing: 0; }
.vt-pagehead .vt-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.vt-card-box.is-list { padding: 0; gap: 0; overflow: hidden; }
.vt-card-box.is-list > .vt-tools { padding: 12px 14px; border-bottom: 1px solid var(--line); gap: 8px; align-items: center; }
.vt-card-box.is-list > .vt-boxhead { padding: 8px 14px; }
.vt-table .is-stick { position: sticky; z-index: 1; background: var(--panel); }
.vt-table th.is-stick { z-index: 3; background: var(--hover); }
.vt-table .is-stick-last { box-shadow: inset -1px 0 0 var(--line); }
.vt-tablebox.is-scrolled .vt-table .is-stick-last { box-shadow: inset -1px 0 0 var(--line), 8px 0 10px -8px rgb(23 23 26 / .22); }
.vt-card-box.is-list > .vt-tablebox { scrollbar-width: none; overscroll-behavior-x: contain; }
.vt-card-box.is-list > .vt-tablebox::-webkit-scrollbar { display: none; }
.vt-card-box.is-list > .vt-tablebox { border: 0; border-radius: 0; border-top: 1px solid var(--line); max-height: calc(100vh - 290px); }
.vt-card-box.is-list > .vt-pager { padding: 10px 14px; border-top: 1px solid var(--line); }
.vt-card-box.is-list > :not(.vt-tools):not(.vt-boxhead):not(.vt-tablebox):not(.vt-pager):not(.vt-mtitle) { margin-left: 14px; margin-right: 14px; }
.vt-card-box.is-list > :last-child:not(.vt-tablebox):not(.vt-pager) { margin-bottom: 14px; }
.vt-card-box.is-list > .vt-boxhead + .vt-tablebox { border-top: 1px solid var(--line); }
/* chip filters */
@media (min-width: 761px) {
  .vt-tools > .vt-f.is-chip { flex: 0 0 auto; max-width: none; }
  .vt-tools > .vt-f.is-chip > span { display: none; }
  .vt-tools > .vt-f.is-chip .vt-ms, .vt-tools > .vt-f.is-chip .vt-ss-btn, .vt-tools > .vt-f.is-chip .vt-dr-btn { width: auto; min-width: 0; max-width: 16rem; border-style: dashed; border-color: var(--line-2); color: var(--fg); background: var(--panel); }
  .vt-tools > .vt-f.is-chip .vt-ms::before, .vt-tools > .vt-f.is-chip .vt-ss-btn::before, .vt-tools > .vt-f.is-chip .vt-dr-btn::before { content: attr(data-pre) ": "; color: var(--muted); font-weight: 500; }
  .vt-tools > .vt-f.is-chip .vt-ms.is-on, .vt-tools > .vt-f.is-chip .vt-dr-btn.is-on { border-style: solid; border-color: var(--fg); background: var(--panel); color: var(--fg); font-weight: 600; }
  .vt-tools > .vt-f.is-chip .vt-ms:hover, .vt-tools > .vt-f.is-chip .vt-ss-btn:hover { background: var(--hover); }
  .vt-tools > .vt-f.is-search { flex: 0 1 18rem; max-width: 18rem; }
  .vt-tools > .vt-f.is-search > span { display: none; }
  .vt-tools > .vt-f.is-chip .vt-ss { display: inline-block; }
}
/* tables */
.vt-table { font-size: 12.5px; }
.vt-table th { background: var(--hover); font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); }
.vt-table td { padding: 11px 14px; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.vt-table tbody tr { transition: background-color 120ms ease-out; }
.vt-table tbody tr:hover td { background: var(--hover); }
.vt-table tbody tr:active td { background: var(--panel-2); }
/* status chips (soft tint of the status colour) */
.vt-pill { height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: color-mix(in srgb, var(--c, var(--grey)) 15%, var(--panel)); color: color-mix(in srgb, var(--c, var(--grey)) 75%, var(--fg)); gap: 6px; }
.vt-pill i { width: 6px; height: 6px; }
/* pager */
.vt-pager .vt-btn { min-height: 32px; padding: 4px 10px; border-radius: 8px; }
/* drawers */
.vt-drawer-head { padding: 18px 22px 14px; } .vt-drawer-head h3 { font-size: 18px; font-weight: 650; }
.vt-drawer-body { padding: 20px 22px; gap: 18px; }
.vt-drawer-foot { padding: 14px 22px; background: var(--hover); }
.vt-drawer-body h4, .vt-drawer-body .vt-boxhead h2, .vt-drawer-body .vt-sec-h { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vt-drawer { box-shadow: -16px 0 40px rgb(23 23 26 / .16); border-left: 0; }
.vt-drawer-bg { background: rgb(23 23 26 / .38); }

/* Vehicles board (refined) */
.vt-bd-top { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 2px 0 10px; }
.vt-card-box.is-list > .vt-bd-top { padding: 10px 14px; border-bottom: 1px solid var(--line); margin: 0 !important; }
.vt-card-box.is-list > .vt-bscroll { padding: 12px 14px 14px; margin: 0 !important; background: var(--hover); }
.vt-bd-bys { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.vt-bd-by { display: inline-flex; align-items: center; gap: 8px; } .vt-bd-by > span { font-size: 12px; font-weight: 600; color: var(--muted); }
.vt-bd { grid-auto-columns: minmax(15rem, 1fr) !important; gap: 12px; }
.vt-bd-col { background: var(--panel-2); border: 1px solid var(--line); border-top: 0; border-radius: 12px; overflow: hidden; position: relative; }
.vt-bd-col::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--sev, var(--line-2)); }
.vt-bd-col.is-empty { opacity: .75; }
.vt-bd-head { gap: 8px !important; padding: 14px 14px 12px !important; background: var(--panel); border-bottom: 1px solid var(--line) !important; transition: background-color 120ms ease-out; }
.vt-bd-head:hover { background: var(--hover); } .vt-bd-head:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.vt-bd-hrow { display: flex; align-items: center; gap: 8px; } .vt-bd-hrow .vt-colname { flex: 1; min-width: 0; font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-bd-hic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in srgb, var(--sev, var(--grey)) 16%, var(--panel)); color: color-mix(in srgb, var(--sev, var(--grey)) 80%, var(--fg)); flex: none; }
.vt-bd-cnt { min-width: 28px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--fg); color: var(--panel); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.vt-bd-hval { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); } .vt-bd-hval b { font-size: 16px; color: var(--fg); font-weight: 650; }
.vt-bd-hval em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--hl-ink); background: var(--hl-soft); padding: 1px 8px; border-radius: 999px; font-size: 11px; }
.vt-bd-share { display: block; height: 4px; border-radius: 2px; background: var(--panel-2); overflow: hidden; } .vt-bd-share i { display: block; height: 100%; background: var(--sev, var(--grey)); border-radius: 2px; }
.vt-bd-cards { gap: 8px !important; padding: 10px !important; max-height: calc(100vh - 360px); overflow-y: auto; }
.vt-bd-card { gap: 8px !important; padding: 12px !important; border-radius: 10px !important; border: 1px solid var(--line) !important; background: var(--panel) !important; box-shadow: 0 1px 0 rgb(0 0 0 / .02); transition: transform 120ms ease-out, box-shadow 120ms ease-out, border-color 120ms ease-out; }
.vt-bd-card:hover { border-color: var(--line-2) !important; box-shadow: 0 6px 16px rgb(23 23 26 / .08); transform: translateY(-1px); }
.vt-bd-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.vt-bd-card.has-late { border-left: 3px solid var(--bad) !important; }
.vt-bd-ctop { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.vt-bd-av { width: 28px; height: 28px; border-radius: 8px; background: var(--panel-2); color: var(--fg); font-size: 11px; font-weight: 700; display: grid; place-items: center; letter-spacing: .02em; }
.vt-bd-ctop b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vt-bd-ctop strong { font-size: 20px; font-weight: 650; line-height: 1; }
.vt-bd-cval { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); } .vt-bd-cval span:first-child { color: var(--fg); font-weight: 600; }
.vt-bd-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.vt-bd-chip { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; background: color-mix(in srgb, var(--c) 14%, var(--panel)); color: color-mix(in srgb, var(--c) 75%, var(--fg)); }
.vt-bd-chip i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.vt-bd-late { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--hl-soft); color: var(--hl-ink); font-size: 11px; font-weight: 700; }
.vt-bd-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 8px; color: var(--muted); font-size: 12px; border: 1px dashed var(--line-2); border-radius: 10px; }
.vt-bd .vt-bar { height: 6px; gap: 2px; background: transparent; } .vt-bd .vt-bar span { border-radius: 3px; }

/* board look, round 2: flat grey lanes, floating white cards, softer counts (owner, 10 Nov 2026) */
.vt-card-box.is-list > .vt-bscroll { background: var(--panel); }
.vt-bd { gap: 14px; }
.vt-bd-col { background: var(--hover); border: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent); }
.vt-bd-col::before { inset: 0 auto 0 0; width: 0; height: auto; }
.vt-bd-head { background: transparent !important; border-bottom: 0 !important; padding: 14px 14px 6px !important; }
.vt-bd-head:hover { background: color-mix(in srgb, var(--fg) 3%, transparent) !important; }
.vt-bd-hrow .vt-colname { font-size: 13px; }
.vt-bd-hic { width: 24px; height: 24px; border-radius: 50%; background: var(--sev, var(--grey)); color: #fff; }
.vt-bd-hic svg { width: 13px; height: 13px; }
.vt-bd-cnt { background: color-mix(in srgb, var(--sev, var(--grey)) 16%, var(--panel)); color: color-mix(in srgb, var(--sev, var(--grey)) 80%, var(--fg)); font-weight: 700; }
.vt-bd-hval { margin-top: 2px; } .vt-bd-hval b { font-size: 20px; letter-spacing: -.01em; }
.vt-bd-hval em { display: inline-flex; align-items: center; gap: 4px; }
.vt-bd-head .vt-bar { height: 5px; margin-top: 2px; }
.vt-bd-share { height: 5px; background: color-mix(in srgb, var(--fg) 7%, transparent); margin-top: 2px; }
.vt-bd-cards { padding: 8px 10px 12px !important; gap: 8px !important; scrollbar-width: thin; }
.vt-bd-card { border: 0 !important; border-radius: 12px !important; padding: 12px 12px 11px !important; gap: 9px !important; box-shadow: 0 1px 2px rgb(23 23 26 / .06), 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent); }
.vt-bd-card:hover { box-shadow: 0 10px 24px rgb(23 23 26 / .10), 0 0 0 1px var(--line-2); transform: translateY(-2px); }
.vt-bd-card.has-late { border-left: 0 !important; box-shadow: inset 3px 0 0 var(--bad), 0 1px 2px rgb(23 23 26 / .06), 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent); }
.vt-bd-ctop { grid-template-columns: 30px minmax(0, 1fr) auto; }
.vt-bd-av { width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--sev, var(--grey)) 14%, var(--panel-2)); color: color-mix(in srgb, var(--sev, var(--grey)) 70%, var(--fg)); font-size: 11px; }
.vt-bd-ctop b { font-size: 13.5px; } .vt-bd-ctop strong { font-size: 22px; letter-spacing: -.01em; }
.vt-bd-cval { align-items: center; padding-top: 1px; } .vt-bd-cval span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.vt-bd-cval .vt-ic { color: var(--muted); } .vt-bd-cval span:first-child { font-size: 13px; }
.vt-bd-card .vt-bar { height: 5px; } 
.vt-bd-chips { flex-wrap: nowrap; overflow: hidden; } .vt-bd-chip { flex: none; } .vt-bd-chip.is-more { background: var(--panel-2); color: var(--muted); }
.vt-bd-late { height: 22px; }
.vt-bd-empty { border: 0; background: transparent; padding: 18px 8px; }
.vt-bd-col.is-empty .vt-bd-head { opacity: .7; }

/* boards built elsewhere (Towing board, Shipments board, Voyages) wear the same look */
.vt-bd.is-auto { grid-auto-columns: minmax(15rem, 1fr) !important; }
.vt-bd.is-auto .vt-colhead { display: flex; flex-direction: column; gap: 6px; }
.vt-bd.is-auto .vt-colrow { justify-content: flex-start; align-items: center; }
.vt-bd.is-auto .vt-colrow .vt-colname { flex: 1; min-width: 0; font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-bd.is-auto .vt-colnum { font-family: var(--sans); font-size: 12px; line-height: 22px; }
.vt-bd.is-auto .vt-sub { font-size: 12px; color: var(--muted); }
.vt-bd.is-auto .vt-cardtop strong { font-family: var(--sans); font-weight: 650; }
.vt-bd .vt-meta { font-size: 12px; } .vt-bd .vt-meta.is-strong { color: var(--fg); font-weight: 600; }
.vt-bd .vt-card.is-picked { box-shadow: inset 0 0 0 2px var(--hl), 0 6px 16px rgb(23 23 26 / .08) !important; }
.vt-bd .vt-col.is-now { box-shadow: inset 0 0 0 2px var(--hl-line); background: var(--hl-softer); }
.vt-bd .vt-col.is-past { opacity: .75; }
.vt-bd .vt-cardtop b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Full car page */
.vt-crumbs a { color: inherit; text-decoration: none; } .vt-crumbs a:hover { color: var(--fg); text-decoration: underline; }
.vt-kv a, .vt-carlist a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 2px; } .vt-kv a:hover, .vt-carlist a:hover { color: var(--hl-ink); text-decoration-color: currentColor; }
.vt-carid { display: flex; align-items: flex-start; gap: 14px; margin-top: 4px; }
.vt-cartile { width: 52px; height: 52px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg); flex: none; }
.vt-carchips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; } .vt-carvin { font-size: 12.5px; padding: 1px 8px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; }
.vt-carbox { padding: 0 !important; }
.vt-cartabs { display: flex; gap: 2px; padding: 0 14px; overflow-x: auto; }
.vt-cartab { display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.vt-cartab:hover { color: var(--fg); background: var(--hover); } .vt-cartab.is-on { color: var(--fg); border-bottom-color: var(--hl); }
.vt-cartab b { font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--panel-2); color: var(--muted); display: inline-grid; place-items: center; }
.vt-kcard { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vt-kcard-h { display: flex; align-items: center; gap: 10px; } .vt-kcard-h h3 { margin: 0; font-size: 14px; font-weight: 650; flex: 1; }
.vt-kcard-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--panel-2); display: grid; place-items: center; color: var(--fg); flex: none; }
.vt-kcard > .vt-btn { align-self: flex-start; }
.vt-kv { display: grid; grid-template-columns: 11rem minmax(0, 1fr); margin: 0; font-size: 13px; }
.vt-kv dt { color: var(--muted); padding: 7px 0; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); } .vt-kv dd { margin: 0; padding: 7px 0; font-weight: 600; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); min-width: 0; overflow-wrap: anywhere; }
.vt-kv dt:first-of-type, .vt-kv dd:first-of-type { border-top: 0; }
.vt-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.vt-carcol { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.vt-carlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } .vt-carlist li { display: flex; flex-direction: column; gap: 1px; padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); font-size: 13px; } .vt-carlist li:first-child { border-top: 0; } .vt-carlist span { font-size: 12px; color: var(--muted); }
.vt-carhist .vt-hist > h4, .vt-carfiles .vt-files > .vt-files-head h4 { display: none; }
.vt-jn { gap: 16px; }
.vt-jn-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; } .vt-jn-sum .vt-grow { flex: 1; } .vt-jn-sum .vt-note { margin: 0; flex-basis: 100%; }
.vt-jr { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); }
.vt-jn-n { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .vt-jn-n > b { font-size: 12.5px; } .vt-jn-n > span { font-size: 11.5px; color: var(--muted); }
.vt-jn-t { display: flex; align-items: center; margin-bottom: 6px; }
.vt-jn-d { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-2); background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 700; flex: none; }
.vt-jn-n.is-done .vt-jn-d { background: var(--fg); border-color: var(--fg); color: var(--panel); }
.vt-jn-n.is-now .vt-jn-d { background: var(--hl-soft); border-color: var(--hl); color: var(--hl-ink); box-shadow: 0 0 0 4px var(--hl-softer); }
.vt-jn-n.is-now > b { color: var(--hl-ink); } .vt-jn-n.is-next > b { color: var(--muted); }
.vt-jn-l { flex: 1; height: 2px; margin: 0 6px; position: relative; background: var(--line); } .vt-jn-l.is-done { background: var(--fg); }
.vt-jn-l.is-live { background: linear-gradient(90deg, var(--hl) 0 50%, transparent 50%) 0 0 / 12px 2px repeat-x; } .vt-jn-l.is-todo { background: linear-gradient(90deg, var(--line-2) 0 50%, transparent 50%) 0 0 / 8px 2px repeat-x; }
.vt-jn-l em { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--muted); background: var(--panel); padding: 0 4px; white-space: nowrap; }
.vt-jn-n:first-child .vt-jn-t { padding-left: 0; }
.vt-jn-now { align-self: flex-start; font-size: 10.5px !important; font-weight: 600; color: var(--hl-ink) !important; background: var(--hl-softer); border-radius: 999px; padding: 1px 7px; }
.vt-phgrp { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); } .vt-phgrp-h { display: flex; gap: 10px; align-items: baseline; }
.vt-phgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 10px; } .vt-phtile { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--muted); }
.vt-l2 { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.vt-vinpage { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px 4px; margin-left: 4px; border-radius: 6px; vertical-align: middle; display: inline-flex; } .vt-vinpage:hover { background: var(--panel-2); color: var(--fg); }
.vt-fullbtn { align-self: flex-start; }
.vt-popwrap { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.vt-popup-bg { position: absolute; inset: 0; background: rgb(23 23 26 / .38); }
.vt-popup { position: relative; width: min(28rem, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--panel); color: var(--fg); border-radius: 14px; box-shadow: 0 24px 60px rgb(23 23 26 / .25); overflow: hidden; }
.vt-popup-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 16px 18px 10px; }
.vt-popup-h h3 { margin: 0; font-size: 18px; font-weight: 650; } .vt-popup-h small { color: var(--muted); font-size: 12px; }
.vt-popup-b { padding: 4px 18px 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.vt-popup-b .vt-bp { margin: 0; gap: 6px; } .vt-popup-b .vt-bp-o { padding: 9px 12px; } .vt-popup-b .vt-bp-ic { width: 28px; height: 28px; }
.vt-popup-f { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; background: var(--hover); border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) { .vt-popup { animation: vt-pop .16s ease-out; } @keyframes vt-pop { from { transform: translateY(8px) scale(.98); opacity: .5; } } }
.vt-fsecs { display: flex; flex-direction: column; gap: 14px; }
.vt-fsec { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.vt-fsec-h { display: flex; align-items: center; gap: 8px; }
.vt-fsec-h h4 { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--fg); }
.vt-fsec-h small { margin-left: auto; color: var(--muted); font-size: 12px; }
.vt-fsec-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-2); color: var(--muted); }
.vt-pdrop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: 10px; background: var(--hover); color: var(--fg); cursor: pointer; transition: border-color 120ms ease-out, background 120ms ease-out; }
.vt-pdrop:hover, .vt-pdrop:focus-visible, .vt-pdrop.is-over { border-color: var(--hl); background: var(--hl-softer); outline: none; }
.vt-pdrop small { color: var(--muted); font-size: 12px; } .vt-pdrop u { text-underline-offset: 2px; }
.vt-pdrop-ic { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.vt-pdrop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 8px; }
.vt-pdrop-grid:empty { display: none; }
.vt-pdrop-th { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); }
.vt-pdrop-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-pdrop-pdf { height: 100%; display: grid; place-items: center; align-content: center; gap: 2px; font-size: 11px; color: var(--muted); }
.vt-pdrop-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 999px; display: grid; place-items: center; background: rgb(23 23 26 / .65); color: #fff; cursor: pointer; }
.vt-bp.vt-bp-2 { grid-template-columns: 1fr 1fr; } .vt-bp-2 .vt-bp-o { align-items: center; }
.vt-cj { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.vt-cj-h { display: flex; align-items: baseline; gap: 8px; } .vt-cj-h h4 { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; } .vt-cj-h small { margin-left: auto; color: var(--muted); font-size: 12px; text-align: right; }
.vt-cj-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; position: relative; }
.vt-cj-s { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; position: relative; }
.vt-cj-s:not(:last-child)::after { content: ''; position: absolute; top: 14px; left: calc(50% + 18px); right: calc(-50% + 18px); border-top: 2px dashed var(--line-2); }
.vt-cj-s.is-done:not(:last-child)::after { border-top-style: solid; border-color: var(--fg); }
.vt-cj-dot { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }
.vt-cj-s.is-done .vt-cj-dot { background: var(--fg); color: var(--panel); border-color: var(--fg); }
.vt-cj-s.is-now .vt-cj-dot { background: var(--hl-soft); color: var(--hl-ink); border-color: var(--hl-line); }
.vt-cj-s b { font-size: 12.5px; font-weight: 600; } .vt-cj-s small { font-size: 11.5px; color: var(--muted); min-height: 14px; }
.vt-cj-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .vt-cj-act input[type=date] { width: auto; }
.vt-cj-sub { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.vt-cj-sub > b { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.vt-cj-sub > .vt-btn, .vt-cj-sub > label.vt-btn { align-self: flex-start; cursor: pointer; }
.vt-lpy { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vt-lpy-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .vt-lpy-h h3 { margin: 0; font-size: 13px; font-weight: 650; } .vt-lpy-h small { color: var(--muted); font-size: 12px; }
.vt-lpy-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 8px; }
.vt-lpy-c { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--fg); font: inherit; cursor: pointer; transition: border-color 120ms ease-out, box-shadow 120ms ease-out, transform 120ms ease-out; }
.vt-lpy-c:hover { border-color: var(--line-2); box-shadow: 0 4px 14px rgb(23 23 26 / .06); transform: translateY(-1px); }
.vt-lpy-ic { grid-row: span 2; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-2); color: var(--muted); }
.vt-lpy-t { display: flex; flex-direction: column; min-width: 0; } .vt-lpy-t b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .vt-lpy-t small { color: var(--muted); font-size: 12px; }
.vt-lpy-n { display: flex; flex-direction: column; align-items: flex-end; } .vt-lpy-n b { font-size: 18px; font-weight: 650; line-height: 1.1; } .vt-lpy-n small { color: var(--muted); font-size: 11px; }
.vt-lpy-age, .vt-lpw-age { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); } .vt-lpy-age { grid-column: 2 / -1; }
.vt-lpy-age.is-mid, .vt-lpw-age.is-mid { color: var(--warn); } .vt-lpy-age.is-bad, .vt-lpw-age.is-bad { color: var(--bad); font-weight: 600; }
.vt-lp-mini { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; } .vt-lp-mini i { width: 44px; height: 6px; border-radius: 99px; background: var(--panel-2); overflow: hidden; display: block; } .vt-lp-mini i b { display: block; height: 100%; background: var(--vd-good, var(--ok)); border-radius: 99px; } .vt-lp-mini.is-bad i b { background: var(--bad); }
.vt-lpw { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .vt-lpw { grid-template-columns: 1fr; } }
.vt-lpw-l, .vt-lpw-r { display: flex; flex-direction: column; gap: 14px; min-width: 0; } .vt-lpw-r { position: sticky; top: 0; }
.vt-lpw-sec { display: flex; flex-direction: column; gap: 8px; } .vt-lpw-sec h4 { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; } .vt-lpw-sec h4 small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 500; }
.vt-lpw-yards { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-lpw-yard { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--fg); font: inherit; cursor: pointer; text-align: left; }
.vt-lpw-yard b { font-size: 13px; font-weight: 600; } .vt-lpw-yard small { font-size: 11.5px; color: var(--muted); }
.vt-lpw-yard:hover { border-color: var(--line-2); } .vt-lpw-yard.is-on { border-color: var(--hl-line); background: var(--hl-softer); box-shadow: inset 0 0 0 1px var(--hl-line); }
.vt-lpw-filt { display: flex; gap: 8px; flex-wrap: wrap; } .vt-lpw-filt > * { flex: 1 1 12rem; }
.vt-lpw-cars { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; max-height: 52vh; overflow: auto; }
.vt-lpw-car { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 4px 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); cursor: pointer; transition: background-color 120ms ease-out; }
.vt-lpw-car:last-child { border-bottom: 0; } .vt-lpw-car:hover { background: var(--hover); } .vt-lpw-car.is-on { background: var(--hl-softer); } .vt-lpw-car.is-dim:not(.is-on) { opacity: .55; }
.vt-lpw-car em { grid-column: 2 / -1; font-style: normal; font-size: 11px; color: var(--muted); }
.vt-lpw-cmain { display: flex; flex-direction: column; min-width: 0; } .vt-lpw-cmain b { font-size: 12.5px; font-weight: 600; } .vt-lpw-cmain small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-lpw-slot { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); font-variant-numeric: tabular-nums; }
.vt-lpw-con { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.vt-lpw-conh { display: flex; align-items: center; gap: 10px; } .vt-lpw-conh > div { display: flex; flex-direction: column; min-width: 0; flex: 1; } .vt-lpw-conh b { font-family: var(--mono, monospace); font-size: 14px; } .vt-lpw-conh small { color: var(--muted); font-size: 12px; }
.vt-lpw-conic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-2); color: var(--fg); }
.vt-lpw-big { font-size: 26px; font-weight: 650; font-variant-numeric: tabular-nums; } .vt-lpw-big small { font-size: 12px; font-weight: 500; color: var(--muted); } .vt-lpw-big.is-bad { color: var(--bad); }
.vt-lpw-gauge { display: flex; gap: 2px; height: 14px; border-radius: 6px; overflow: hidden; background: var(--panel-2); }
.vt-lpw-gauge i { display: block; background: var(--vd-good, var(--ok)); transition: flex-grow 200ms ease-out; } .vt-lpw-gauge i.is-free { background: repeating-linear-gradient(45deg, var(--panel-2), var(--panel-2) 4px, var(--hover) 4px, var(--hover) 8px); } .vt-lpw-gauge.is-bad i:not(.is-free) { background: var(--bad); }
.vt-lpw-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .vt-lpw-form .vt-f { max-width: none; }
.vt-lpw-form .vt-f input[type=text] { padding-left: 12px; background-image: none; }
.vt-lpw-empt { display: flex; flex-direction: column; gap: 6px; } .vt-lpw-empt > div { display: flex; flex-wrap: wrap; gap: 6px; } .vt-lpw-empt button { cursor: pointer; border: 1px solid var(--line); font: inherit; font-size: 12px; } .vt-lpw-empt button.is-on { border-color: var(--hl-line); background: var(--hl-softer); }
.vt-lpw-dests { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .vt-lpw-dests small { color: var(--muted); font-size: 12px; } .vt-lpw-dests button { cursor: pointer; border: 1px solid var(--line); font: inherit; font-size: 12px; } .vt-lpw-dests button.is-on { border-color: var(--hl-line); background: var(--hl-softer); } .vt-lpw-dests button.is-none { opacity: .7; cursor: default; }
.vt-lprv { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.vt-lprv-route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, 1.2fr) minmax(0, 1fr); align-items: center; gap: 14px; }
.vt-lprv-end { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .vt-lprv-end.is-to { text-align: right; align-items: flex-end; }
.vt-lprv-end small, .vt-lprv-c small { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.vt-lprv-end b { font-size: 18px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.vt-lprv-end em, .vt-lprv-c em { font-style: normal; font-size: 12px; color: var(--muted); }
.vt-lprv-line { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vt-lprv-line::before { content: ''; position: absolute; left: 0; right: 0; top: 15px; border-top: 2px dashed var(--line-2); }
.vt-lprv-line span { position: relative; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); color: var(--fg); }
.vt-lprv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 8px; }
.vt-lprv-c { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--hover); border: 1px solid transparent; min-width: 0; }
.vt-lprv-c > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; } .vt-lprv-c b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-lprv-c em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-lprv-c.is-empty b { color: var(--muted); font-weight: 500; }
.vt-lprv-c.is-warn { border-color: var(--hl-line); background: var(--hl-softer); }
.vt-lprv-ic { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--panel); color: var(--muted); }
.vt-lprv-st.is-ok { background: var(--vd-good-t, #E6F5EC); } .vt-lprv-st.is-ok .vt-lprv-ic { color: var(--vd-good-k, #1C7442); }
@media (max-width: 760px) { .vt-lprv-route { grid-template-columns: 1fr; } .vt-lprv-end.is-to { text-align: left; align-items: flex-start; } }
.vt-etad { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--hl-soft); color: var(--hl-ink); white-space: nowrap; } .vt-etad.is-early { background: var(--vd-good-t, #E6F5EC); color: var(--vd-good-k, #1C7442); }
.vt-cj-eta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; padding-top: 8px; border-top: 1px solid var(--line); } .vt-cj-eta small { color: var(--muted); } .vt-cj-eta .vt-btn { margin-left: auto; }
.vt-cj-eta.is-box { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--hover); }
.vt-etadl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 13px; } .vt-etadl dt { color: var(--muted); } .vt-etadl dd { margin: 0; font-weight: 600; }
.vt-etalog { font-size: 12px; color: var(--muted); } .vt-etalog ul { margin: 4px 0 0; padding-left: 16px; }
.vt-relist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; max-height: 16rem; overflow: auto; }
.vt-fix { border: 1px solid var(--hl-line); background: var(--hl-softer); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.vt-fix-h { display: flex; align-items: flex-start; gap: 10px; } .vt-fix-h > div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; } .vt-fix-h b { font-size: 13px; } .vt-fix-h small { font-size: 12px; color: var(--muted); }
.vt-fix-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--panel); color: var(--hl-ink); flex: none; }
.vt-fix-done { font-size: 12px; font-weight: 600; color: var(--ok); }
.vt-fix-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .vt-fix-l li { background: var(--panel); border-radius: 10px; padding: 9px 12px; display: flex; flex-direction: column; gap: 6px; }
.vt-fix-t { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; } .vt-fix-t small { color: var(--muted); font-weight: 500; }
.vt-fix-f { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); } .vt-fix-f b { color: var(--fg); font-weight: 600; }
.vt-fix-f .is-undone { text-decoration: line-through; opacity: .6; } .vt-fix-f .is-changed { opacity: .6; }
.vt-fix-pl { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; } .vt-fix-pl li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; font-size: 12.5px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); } .vt-fix-pl li:first-child { border-top: 0; } .vt-fix-pl span { color: var(--muted); text-align: right; }
/* clearance + trucking (owner, 11 Nov 2026) */
.vt-bkclr { gap: 8px; } .vt-bkclr-r { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font: inherit; font-size: 12.5px; color: var(--fg); cursor: pointer; text-align: left; }
.vt-bkclr-r:hover { border-color: var(--line-2); background: var(--hover); } .vt-bkclr-t { flex: 1; min-width: 0; color: var(--muted); } .vt-bkclr-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.vt-relfold .vt-cj-h { align-items: center; } .vt-relfold .vt-linkbtn { margin-left: auto; }

.vt-popup.vt-popup-form { width: min(34rem, 100%); }
.vt-pf { gap: 14px 12px; } .vt-pf > label { color: var(--fg); font-size: 12.5px; font-weight: 600; gap: 6px; } .vt-pf > label[hidden] { display: none; }
.vt-pf-l { display: inline-flex; gap: 3px; } .vt-pf-req { font-style: normal; color: var(--hl); }
.vt-pf-fixed { height: 38px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; background: var(--panel-2); color: var(--fg); font-weight: 500; font-size: 13px; }
.vt-pf-intro { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 2px; padding: 9px 12px; border-radius: 10px; background: var(--panel-2); color: var(--muted); font-size: 12.5px; } .vt-pf-intro .vt-ic { flex: none; margin-top: 1px; }
.vt-pf-drop { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 10px; cursor: pointer; transition: border-color 120ms ease-out, background-color 120ms ease-out; }
.vt-pf-drop:hover, .vt-pf-drop.has-files { border-color: var(--hl-line); background: var(--hl-softer); }
.vt-pf-drop > span:last-child { display: flex; flex-direction: column; gap: 2px; } .vt-pf-drop b { font-size: 13px; font-weight: 600; } .vt-pf-drop small { font-size: 11.5px; color: var(--muted); font-weight: 400; }
.vt-pf-dropic { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); color: var(--muted); flex: none; }
.vt-pf-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .vt-pf-files span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); } .vt-pf-files button { display: inline-flex; border: 0; background: none; padding: 0 0 0 2px; color: var(--muted); cursor: pointer; } .vt-pf-files button:hover { color: var(--bad); }
.vt-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vt-tl-r { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; position: relative; padding-bottom: 16px; }
.vt-tl-r:last-child { padding-bottom: 0; }
.vt-tl-r:not(:last-child)::before { content: ''; position: absolute; left: 12px; top: 28px; bottom: 2px; border-left: 2px dashed var(--line-2); }
.vt-tl-r.is-done:not(:last-child)::before { border-left-style: solid; border-color: var(--fg); }
.vt-tl-dot { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: var(--panel); border: 1.5px solid var(--line-2); color: var(--muted); }
.vt-tl-r.is-done .vt-tl-dot { background: var(--fg); border-color: var(--fg); color: var(--panel); }
.vt-tl-r.is-now .vt-tl-dot { background: var(--hl-soft); border-color: var(--hl-line); color: var(--hl-ink); }
.vt-tl-r.is-alert .vt-tl-dot { background: color-mix(in srgb, var(--bad) 12%, var(--panel)); border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); color: var(--bad); }
.vt-tl-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 3px; }
.vt-tl-t { display: flex; align-items: center; gap: 8px; } .vt-tl-t b { font-size: 13px; font-weight: 600; }
.vt-tl-r.is-todo .vt-tl-t b { color: var(--muted); font-weight: 500; }
.vt-tl-b small { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.vt-tl-tag { font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--hl-soft); color: var(--hl-ink); }
.vt-tl-r.is-alert .vt-tl-tag { background: color-mix(in srgb, var(--bad) 12%, var(--panel)); color: var(--bad); }
.vt-tl-d { font-size: 12px; color: var(--muted); padding-top: 5px; white-space: nowrap; }
.vt-tl-h { display: flex; align-items: baseline; gap: 8px; padding: 2px 0 10px 38px; font-size: 11px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--fg); } .vt-tl-h small { font-size: 11.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.vt-tl-undo { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; } .vt-tl-undo:hover { color: var(--hl-ink); }
.vt-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vt-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.vt-rows li:first-child { border-top: 0; padding-top: 2px; }
.vt-rows li > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .vt-rows li > div:first-child small { font-size: 12px; color: var(--muted); }
.vt-rows li b { font-size: 13px; font-weight: 600; } .vt-rows a { font-weight: 600; color: var(--fg); }
.vt-rows-amt { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; } .vt-rows-amt small { font-size: 11.5px; color: var(--muted); }
.vt-rows .vt-iconbtn { width: 30px; height: 30px; border: 1px solid transparent; color: var(--muted); } .vt-rows .vt-iconbtn:hover { border-color: var(--line); color: var(--fg); } .vt-rows .vt-iconbtn.is-armed { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); }
.vt-paysum { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 12px 14px; border-radius: 10px; background: var(--panel-2); }
.vt-paysum div { display: flex; flex-direction: column; gap: 2px; } .vt-paysum small { font-size: 11.5px; color: var(--muted); } .vt-paysum b { font-size: 18px; font-weight: 650; } .vt-paysum span { font-size: 13px; font-weight: 600; padding-top: 4px; }
.vt-dtabs { flex: none; margin: -20px -22px 0; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: -20px; z-index: 2; }
.vt-foot-r { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.vt-bd-ref { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12.5px; min-width: 0; } .vt-bd-ref > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; } .vt-bd-ref small { color: var(--muted); font-size: 11.5px; flex: none; }
.vt-bd-ctop.is-plain { grid-template-columns: minmax(0, 1fr) auto; } .vt-bd-ctop.is-plain b { font-size: 13.5px; }
.vt-bd-card:disabled { cursor: default; transform: none; }
@media (min-width: 761px) { .vt-bd.is-5 { grid-auto-columns: minmax(12.5rem, 1fr) !important; } }
.vt-bd.is-5 .vt-bd-cval { flex-wrap: wrap; row-gap: 4px; }
.vt-kcard .vt-kcard-h > small { margin-left: auto; font-size: 12px; } .vt-kcard textarea { width: 100%; font: inherit; font-size: 13px; }
.vt-relrow { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 7px 12px; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); font-size: 13px; cursor: pointer; } .vt-relrow:last-child { border-bottom: 0; } .vt-relrow.is-on { background: var(--hl-softer); } .vt-relrow.is-head { background: var(--hover); font-size: 12px; color: var(--muted); font-weight: 600; }
.vt-bkst { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; } .vt-bkst-s { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; color: var(--muted); background: var(--panel-2); } .vt-bkst-s.has { color: var(--fg); background: var(--hover); border: 1px solid var(--line); }
.vt-lpw-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.vt-lpw-why { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 12.5px; color: var(--muted); }
.vt-lpw-in { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.vt-lpw-in li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); font-size: 12.5px; }
.vt-lpw-in li small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-lpw-x { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; } .vt-lpw-x:hover { background: var(--panel-2); color: var(--fg); }
.vt-drawer.is-page { top: 0; left: 0; right: 0; bottom: 0; width: 100% !important; max-width: none; border: 0; box-shadow: none; z-index: 30; background: var(--bg); }
.vt-drawer.is-page .vt-drawer-head { justify-content: flex-start; gap: 14px; padding: 12px max(24px, calc((100% - 1440px) / 2)); background: var(--panel); }
.vt-drawer.is-page .vt-drawer-head h3 { font-size: 20px; font-weight: 650; flex: 1; }
.vt-drawer.is-page .vt-drawer-body { padding: 20px max(24px, calc((100% - 1440px) / 2)); }
.vt-drawer.is-page .vt-drawer-foot { padding: 12px max(24px, calc((100% - 1440px) / 2)); background: var(--panel); }
.vt-page-in { display: flex; flex-direction: column; gap: 14px; }
.vt-drawer.is-page .vt-lpw { grid-template-columns: minmax(0, 1.25fr) minmax(24rem, 1fr); gap: 20px; }
.vt-drawer.is-page .vt-lpw-l, .vt-drawer.is-page .vt-lpw-r > .vt-lpw-sec, .vt-drawer.is-page .vt-lp-checks { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.vt-drawer.is-page .vt-lpw-cars { max-height: calc(100vh - 360px); }
@media (prefers-reduced-motion: no-preference) { .vt-drawer.is-page { animation: vt-pagein .16s ease-out; } @keyframes vt-pagein { from { opacity: .4; transform: translateY(6px); } } }
@media (max-width: 760px) { .vt-drawer.is-page .vt-lpw { grid-template-columns: 1fr; } }
.vt-popup.is-wide { width: min(40rem, 100%); }
.vt-lpw-book { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: flex-end; gap: 8px; } .vt-lpw-book > label.vt-f { flex: 1 1 auto; min-width: 0; max-width: none !important; width: auto; } .vt-lpw-book > label.vt-f select, .vt-lpw-book > label.vt-f .vt-ss-btn { width: 100%; max-width: none; } .vt-lpw-book > .vt-btn { flex: none; height: 38px; }
.vt-lpw-ship { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; gap: 10px; } .vt-lpw-ship h4 + * { margin-top: 0; }
.vt-drow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.vt-bp { display: grid; gap: 8px; margin: 4px 0 14px; }
.vt-bp-o { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--fg); cursor: pointer; font: inherit; transition: border-color 120ms ease-out, background 120ms ease-out; }
.vt-bp-o:hover { border-color: var(--line-2); background: var(--hover); }
.vt-bp-o.is-on { border-color: var(--hl-line); background: var(--hl-softer); box-shadow: inset 0 0 0 1px var(--hl-line); }
.vt-bp-ic { flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-2); color: var(--muted); }
.vt-bp-o.is-on .vt-bp-ic { background: var(--hl-soft); color: var(--hl-ink); }
.vt-bp-t { display: grid; gap: 2px; } .vt-bp-t b { font-weight: 600; } .vt-bp-t small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 1100px) { .vt-cols { grid-template-columns: 1fr; } .vt-jr { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 18px; } }
@media (max-width: 760px) { .vt-jr { grid-template-columns: repeat(3, minmax(0, 1fr)); } .vt-kv { grid-template-columns: 8rem minmax(0, 1fr); } }
@media print { .vt-top, .vt-sp, .vt-mnav, .vt-carhead .vt-actions, .vt-cartabs, .dc-bar { display: none !important; } .vt-shell > .vt-main { padding: 0 !important; } }
/* Customer prices (owner 17 Nov 2026): section switch, drawer forms and the print sheet (the sheet opens over the page; printing hides everything else) */
.vt-pl-sec { padding: 2px 0 4px; }
.vt-pl-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 8px; } .vt-pl-form .vt-f { flex: 1 1 140px; min-width: 130px; }
.vt-pl-key { display: flex; flex-direction: column; gap: 12px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); } .vt-pl-key:last-child { border-bottom: 0; margin-bottom: 0; }
.vt-pl-est { display: flex; flex-direction: column; gap: 14px; padding: 4px 0 8px; } .vt-pl-est .vt-pl-tbl { font-size: 13px; }
.vt-pl-sp { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.vt-pl-print { position: fixed; inset: 0; z-index: 1000; background: var(--bg); overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.vt-pl-bar { display: flex; gap: 8px; width: min(60rem, 100%); justify-content: space-between; }
.vt-pl-sheet { width: min(60rem, 100%); background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 10px; padding: 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.vt-pl-sheet h1 { margin: 0; font-size: 22px; } .vt-pl-sheet h2 { margin: 14px 0 0; font-size: 15px; } .vt-pl-sheet h3 { margin: 12px 0 0; font-size: 13px; }
.vt-pl-top p, .vt-pl-note, .vt-pl-terms { margin: 0; color: var(--muted); font-size: 12px; }
.vt-pl-terms { white-space: pre-wrap; color: var(--fg); }
.vt-pl-tbl { width: 100%; border-collapse: collapse; font-size: 12px; } .vt-pl-tbl th, .vt-pl-tbl td { padding: 5px 8px; border-bottom: 1px solid var(--line); text-align: left; } .vt-pl-tbl th.num, .vt-pl-tbl td.num { text-align: right; }
.vt-pl-hub td { background: var(--panel-2); font-weight: 600; } .vt-pl-state td { background: var(--hover); font-weight: 600; }
@media print { body.is-plprint > *:not(.vt-pl-print) { display: none !important; } body.is-plprint .vt-pl-print { position: static; overflow: visible; background: none; padding: 0; display: block; } body.is-plprint .vt-pl-bar { display: none; } body.is-plprint .vt-pl-sheet { width: 100%; border: 0; padding: 0; border-radius: 0; } .vt-pl-tbl tr { break-inside: avoid; } .vt-pl-tbl thead { display: table-header-group; } }

.vt-banner.is-bad { border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); background: color-mix(in srgb, var(--bad) 8%, var(--panel)); color: var(--fg); }

/* ===== Design kit page (design copy only) ===== */
.vt-kit { display: flex; flex-direction: column; gap: 18px; }
.vt-kit-intro h2 { margin: 0 0 4px; font-size: 22px; font-weight: 650; }
.vt-kit-sec { background: var(--bg); border: 1px dashed var(--line-2); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.vt-kit-h h3 { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; } .vt-kit-h .vt-note { margin: 4px 0 0; }
.vt-kit-code { display: block; font-family: 'Geist Mono', monospace; font-size: 11.5px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; overflow-x: auto; white-space: nowrap; }
.vt-kit-toks { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 8px; }
.vt-kit-tok { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; font-size: 11.5px; } .vt-kit-tok i { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); flex: none; }
.vt-kit-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vt-kit-drawer { max-width: 30rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.vt-kit-drawer .vt-dtabs { margin: 0; position: static; }
.vt-kit-dbody { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.vt-kit-foot { display: flex; justify-content: space-between; gap: 8px; }

/* ===== Revised flow (owner, 14 Nov 2026): stepper, next step, Today, wizard — calm and breathable ===== */
:root { --gap-xl: 28px; --gap-l: 20px; --pad-l: 24px; }
/* stepper: progress bar of a record */
.vt-stp { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; gap: 0; }
.vt-stp-s { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.vt-stp-s::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.vt-stp-s:first-child::before { display: none; }
.vt-stp-s.is-done::before, .vt-stp-s.is-now::before { background: var(--fg); }
.vt-stp-dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--panel); border: 1.5px dashed var(--line-2); color: var(--muted); font: inherit; padding: 0; }
.vt-stp-dot b { font-size: 12.5px; font-weight: 650; }
button.vt-stp-dot { cursor: pointer; } button.vt-stp-dot:hover { box-shadow: 0 0 0 4px var(--panel-2); }
.vt-stp-s.is-done .vt-stp-dot { background: var(--fg); border: 1.5px solid var(--fg); color: var(--panel); }
.vt-stp-s.is-now .vt-stp-dot { background: var(--hl-soft); border: 1.5px solid var(--hl); color: var(--hl-ink); box-shadow: 0 0 0 5px var(--hl-softer); }
.vt-stp-t { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; min-width: 0; }
.vt-stp-t b { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.vt-stp-t small { font-size: 11.5px; color: var(--muted); }
.vt-stp-s.is-done .vt-stp-t b { color: var(--fg); font-weight: 500; }
.vt-stp-s.is-now .vt-stp-t b { color: var(--hl-ink); font-weight: 650; }
.vt-stp.is-compact { max-width: 26rem; }
@media (max-width: 760px) { .vt-stp-s:not(.is-now) .vt-stp-t { display: none; } .vt-stp-dot { width: 26px; height: 26px; } .vt-stp-s::before { top: 12px; } .vt-stp-t b { font-size: 12px; } }

/* next step: the one action for this record */
.vt-ns { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 22px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--tone, var(--hl)); border-radius: 14px; padding: 24px 26px; }
.vt-ns-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone, var(--hl)) 14%, var(--panel)); color: var(--tone, var(--hl)); }
.vt-ns.is-now .vt-ns-ic { background: var(--hl-soft); color: var(--hl-ink); }
.vt-ns-b { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vt-ns-eye { font-size: 11.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vt-ns-b h3 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
.vt-ns-b p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; max-width: 48rem; }
.vt-ns-act { display: flex; align-items: center; gap: 10px; }
.vt-btn.vt-ns-alt { white-space: nowrap; } /* optional normal button before the main next step (UI.nextStep alt) */
.vt-btn.vt-ns-go { min-height: 46px; padding: 0 22px; font-size: 14px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; }
.vt-ns-more { position: relative; }
.vt-ns-more > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; border-color: transparent; background: transparent; color: var(--muted); }
.vt-ns-more > summary::-webkit-details-marker { display: none; }
.vt-ns-more > summary:hover, .vt-ns-more[open] > summary { color: var(--fg); background: var(--panel-2); }
.vt-ns-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 15rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 6px; display: flex; flex-direction: column; }
.vt-ns-mi { display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; font-size: 13px; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--fg); cursor: pointer; }
.vt-ns-mi:hover:not(:disabled) { background: var(--panel-2); } .vt-ns-mi:disabled { opacity: .5; cursor: default; } .vt-ns-mi.is-danger { color: var(--bad); }
.vt-ns-mi .vt-ic { color: var(--muted); }
@media (max-width: 760px) { .vt-ns { grid-template-columns: auto minmax(0, 1fr); padding: 18px; } .vt-ns-act { grid-column: 1 / -1; flex-wrap: wrap; } .vt-btn.vt-ns-go { flex: 1 1 auto; justify-content: center; } }

/* Today page: groups of calm cards */
.vt-today { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: var(--gap-l); align-items: stretch; }
.vt-today-g { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.is-t-now { --tone: var(--hl); } .is-t-bad { --tone: var(--bad); } .is-t-warn { --tone: var(--vd-mid); } .is-t-info, .is-t-wait { --tone: var(--info); } .is-t-ok, .is-t-done { --tone: var(--ok); } .is-t-grey { --tone: var(--grey); }
.vt-ns.is-now { --tone: var(--hl); } .vt-ns.is-bad { --tone: var(--bad); } .vt-ns.is-wait { --tone: var(--info); } .vt-ns.is-done { --tone: var(--ok); }
.vt-today-gh { display: flex; align-items: baseline; gap: 12px; }
.vt-today-gh h3 { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vt-today-gh small { font-size: 12.5px; color: var(--muted); }
.vt-today-cards { display: flex; flex-direction: column; gap: 16px; }
.vt-today-c { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: border-color 120ms ease-out, box-shadow 120ms ease-out; }
.vt-today-c:hover { border-color: var(--line-2); box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.vt-today-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.vt-today-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--tone, var(--grey)) 14%, var(--panel)); color: var(--tone, var(--muted)); }
.vt-today-n { display: flex; align-items: baseline; gap: 6px; } .vt-today-n b { font-size: 30px; font-weight: 650; letter-spacing: -.02em; line-height: 1; } .vt-today-n small { font-size: 12px; color: var(--muted); }
.vt-today-c h4 { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.35; }
.vt-today-c p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
.vt-btn.vt-today-btn { align-self: flex-start; margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; }
.vt-today-c:hover .vt-today-btn { border-color: var(--fg); }
.vt-today-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 72px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.vt-today-doneic { width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 14%, var(--panel)); color: var(--ok); }
.vt-today-done h3 { margin: 6px 0 0; font-size: 20px; font-weight: 650; } .vt-today-done p { margin: 0; color: var(--muted); max-width: 30rem; }
@media (max-width: 760px) { .vt-today { grid-template-columns: 1fr; gap: 24px; } .vt-today-c { padding: 18px; } }

/* wizard: numbered steps, one step at a time, Back / Continue */
.vt-wiz { display: flex; flex-direction: column; gap: var(--gap-l); max-width: 72rem; width: 100%; margin: 0 auto; }
.vt-wiz > .vt-stp { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 12px 16px; max-width: none; }
.vt-wiz-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: var(--pad-l) 28px 28px; display: flex; flex-direction: column; gap: var(--gap-l); }
.vt-wiz-h h3 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.01em; } .vt-wiz-h p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; max-width: 48rem; }
.vt-wiz-body { display: flex; flex-direction: column; gap: var(--gap-l); }
.vt-wiz-body .vt-form { gap: 16px 20px; }
.vt-wiz-foot { position: sticky; bottom: -20px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0 20px; margin-bottom: -20px; background: var(--bg); border-top: 1px solid var(--line); }
.vt-btn.vt-wiz-next { min-height: 46px; padding: 0 24px; font-size: 14px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; }
.vt-wiz-foot > .vt-btn:first-child { min-height: 46px; padding: 0 18px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; }
.vt-wiz-sec { display: flex; flex-direction: column; gap: 14px; padding-top: var(--gap-l); border-top: 1px solid var(--line); }
.vt-wiz-sec:first-child { padding-top: 0; border-top: 0; }
.vt-wiz-sec > h4 { margin: 0; font-size: 14px; font-weight: 650; display: flex; align-items: center; gap: 10px; } .vt-wiz-sec > h4 small { font-weight: 500; color: var(--muted); font-size: 12.5px; text-transform: none; letter-spacing: 0; }
.vt-wiz-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; } .vt-wiz-row > .vt-f { max-width: 18rem; }
.vt-wiz-box { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; background: var(--panel); }
.vt-wiz-boxh { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .vt-wiz-boxh > b { font-size: 14px; font-weight: 650; flex: 1; min-width: 10rem; }
.vt-wiz-review { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--gap-l); }
.vt-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 12px; }
.vt-choice .vt-bp-o { padding: 16px 18px; min-height: 72px; }
@media (max-width: 760px) { .vt-wiz-card { padding: 18px; } .vt-wiz-foot .vt-btn { flex: 1 1 auto; justify-content: center; } }

/* tick list (cars) and slot gauge */
.vt-pk { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; max-height: 22rem; overflow: auto; }
.vt-pk-r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 11px 16px; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); cursor: pointer; transition: background-color 120ms ease-out; }
.vt-pk-r:last-child { border-bottom: 0; } .vt-pk-r:hover { background: var(--hover); } .vt-pk-r.is-on { background: var(--hl-softer); } .vt-pk-r.is-dim { opacity: .5; cursor: default; }
.vt-pk-m { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .vt-pk-m b { font-size: 13px; font-weight: 600; } .vt-pk-m small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-pk-tag { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--panel-2); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.vt-pk-tag.is-warn { color: var(--warn); } .vt-pk-tag.is-bad { color: var(--bad); }
.vt-pk-r em { grid-column: 2 / -1; font-style: normal; font-size: 11.5px; color: var(--muted); }
.vt-gauge { display: flex; flex-direction: column; gap: 6px; min-width: 12rem; flex: 1; }
.vt-gauge-bar { display: flex; gap: 2px; height: 10px; border-radius: 999px; overflow: hidden; background: var(--panel-2); }
.vt-gauge-bar i { display: block; background: var(--vd-p1); } .vt-gauge-bar i.is-free { background: var(--panel-2); }
.vt-gauge small { font-size: 12px; color: var(--muted); } .vt-gauge.is-bad .vt-gauge-bar i:not(.is-free) { background: var(--bad); } .vt-gauge.is-bad small { color: var(--bad); font-weight: 600; }

/* folded section */
.vt-fold { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.vt-fold > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 18px 22px; cursor: pointer; }
.vt-fold > summary::-webkit-details-marker { display: none; }
.vt-fold > summary b { font-size: 14px; font-weight: 650; } .vt-fold > summary small { color: var(--muted); font-size: 12.5px; flex: 1; }
.vt-fold-chev { margin-left: auto; color: var(--muted); transition: transform 160ms ease-out; display: inline-grid; } .vt-fold[open] .vt-fold-chev { transform: rotate(180deg); }
.vt-fold-b { padding: 4px 22px 22px; display: flex; flex-direction: column; gap: 16px; }

/* Shipping workspace pages: booking page layout */
.vt-bkp { display: flex; flex-direction: column; gap: var(--gap-l); max-width: 72rem; width: 100%; margin: 0 auto; }
.vt-bkp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--muted); font-size: 13.5px; }
.vt-bkp-head .mono { color: var(--fg); }
.vt-bkp-prog { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 16px 18px; }
.vt-bkp-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--gap-l); align-items: start; }
.vt-bkp-col { display: flex; flex-direction: column; gap: var(--gap-l); min-width: 0; }
.vt-bkp .vt-kcard { padding: 20px 22px; gap: 14px; border-radius: 14px; }
.vt-bkp .vt-rows li { padding: 13px 0; }
.vt-bkp-rel .vt-cj { margin: 0; border: 0; padding: 0; background: transparent; }
.vt-bkp-rel .vt-cj-act, .vt-bkp-rel .vt-cj > small.vt-muted { display: none; } /* the actions are the page's next-step button */
@media (max-width: 1000px) { .vt-bkp-cols { grid-template-columns: 1fr; } }
.vt-shbanner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--hl-softer); border: 1px solid var(--hl-line); border-radius: 12px; padding: 12px 16px; font-size: 13.5px; }
.vt-shbanner b { font-weight: 650; } .vt-shbanner > span { flex: 1; min-width: 12rem; text-align: left; }
/* ---------- flow: work list, Yes / No answers, tick-list action (owner, 14 Nov 2026 · Yard workspace) ---------- */
.vt-jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vt-job { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 24px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.vt-job.is-bad { border-left-color: var(--bad); } .vt-job.is-warn { border-left-color: var(--vd-mid); } .vt-job.is-ok { border-left-color: var(--ok); } .vt-job.is-info { border-left-color: var(--info); }
.vt-job-m { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vt-job-m > b, .vt-job-m > a { font-size: 15px; font-weight: 650; color: var(--fg); overflow-wrap: anywhere; }
.vt-job-m > small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.vt-job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.vt-job-tag { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--panel-2); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.vt-job-tag.is-bad { color: var(--bad); background: var(--hl-softer); } .vt-job-tag.is-warn { color: var(--warn); } .vt-job-tag.is-ok { color: var(--ok); } .vt-job-tag.is-info { color: var(--info); }
.vt-btn.vt-job-go { min-height: 44px; min-width: 8.5rem; padding: 0 20px; font-size: 14px; font-weight: 600; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.vt-job:hover .vt-btn.vt-job-go:not(.is-primary):not(:disabled) { border-color: var(--fg); }
@media (max-width: 760px) { .vt-job { grid-template-columns: 1fr; padding: 16px; } .vt-btn.vt-job-go { width: 100%; } }
.vt-seg.vt-pf-seg { justify-self: start; align-self: start; }
.vt-seg.vt-pf-seg button { min-height: 38px; padding: 0 22px; font-size: 14px; }
.vt-pk-r.has-act { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.vt-btn.vt-pk-act { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 760px) { .vt-pk-r.has-act { grid-template-columns: auto minmax(0, 1fr) auto; } .vt-pk-r.has-act > .vt-pk-tag { display: none; } }
/* ---------- dashboards from the kit (owner, 14 Nov 2026: Shipping dashboard in the Vehicles dashboard look) ---------- */
/* Dashboards (guide 15.6): ONE row of up to 6 number cards on desktop; 3 per row on a narrow screen; phones scroll sideways */
.vt-vdash .vt-dtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1100px) { .vt-vdash .vt-dtiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.vt-vdash.is-icons .vt-dtiles .vt-vdtile { padding: 14px; column-gap: 10px; } .vt-dtiles .vt-vdtile > span { line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } /* names wrap to 2 lines, never cut mid-word */
.vt-vdash.is-icons .vt-dtiles .vt-vdtile { min-height: 100%; }
.vt-hbars.vt-dbars .vt-hbar { grid-template-columns: minmax(7rem, 12rem) minmax(0, 1fr) 4.5rem 7.5rem; }
.vt-dbars .vt-hbar:disabled { cursor: default; } .vt-dbars .vt-hbar:disabled:hover { background: none; }
.vt-hbar-t { position: relative; }
.vt-hbar-tg { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--fg); border-radius: 1px; opacity: .55; }
.vt-hbar-v.is-bad { color: var(--bad); }
.vt-dheat .vt-heat-l { padding: 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; align-self: center; }
.vt-dheat .vt-heat-c { min-height: 40px; }
.vt-jny-s:disabled { cursor: default; }
@media (max-width: 760px) { .vt-hbars.vt-dbars .vt-hbar { grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr) 3.5rem; } .vt-dbars .vt-hbar-m { display: none; } .vt-vdbar .vt-vdbar-sep { display: none; } }
/* ---------- UX review 14 Nov 2026 ---------- */
.vt-btn:has(> .vt-ic) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.vt-today-top { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.vt-today-eye { font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-today-c p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 0 1 auto; }
.vt-btn.vt-today-btn { margin-top: auto; }
.vt-today-c { gap: 8px; }
.vt-facts { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 0; }
.vt-fact { display: flex; flex-direction: column; gap: 4px; padding: 12px 22px; min-width: 0; border-left: 1px solid var(--line); }
.vt-fact:first-child { border-left: 0; }
.vt-fact dt { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.vt-fact dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--fg); display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.vt-fact dd small { font-weight: 500; color: var(--muted); font-size: 12px; }
.vt-facts > :not(.vt-fact) { align-self: center; margin: 0 22px 0 auto; }
@media (max-width: 760px) { .vt-facts { display: grid; grid-template-columns: 1fr 1fr; padding: 0; } .vt-fact { padding: 12px 16px; border-left: 0; border-top: 1px solid var(--line); } .vt-fact:nth-child(-n+2) { border-top: 0; } .vt-fact:nth-child(even) { border-left: 1px solid var(--line); } .vt-fact.is-wide { grid-column: 1 / -1; border-left: 0; } .vt-facts > :not(.vt-fact) { margin: 0 16px 12px; } }
/* the next step stays in view while the page scrolls (desktop) */
@media (min-width: 761px) { .vt-bkp > .vt-ns { position: sticky; top: 8px; z-index: 4; box-shadow: 0 6px 20px rgb(0 0 0 / .06); } }
.vt-stp-t small { white-space: nowrap; }
@media (max-width: 760px) { .vt-fact:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; } }
/* ---------- Guided tour (UI.tour, owner 14 Nov 2026): dim overlay, spotlight on one element, small card ---------- */
:root { --tour-dim: rgb(23 23 26 / .55); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tour-dim: rgb(0 0 0 / .68); } }
:root[data-theme="dark"] { --tour-dim: rgb(0 0 0 / .68); }
.vt-tour { position: fixed; inset: 0; z-index: 9000; cursor: default; }
.vt-tour.is-center { background: var(--tour-dim); }
.vt-tour-hole { position: fixed; border-radius: 12px; box-shadow: 0 0 0 200vmax var(--tour-dim); outline: 2px solid var(--hl); outline-offset: 0; pointer-events: none; }
.vt-tour-hole[hidden] { display: none !important; }
.vt-tour-card { position: fixed; width: min(360px, calc(100vw - 24px)); background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px rgb(0 0 0 / .28); padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.vt-tour.is-center .vt-tour-card { top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); width: min(420px, calc(100vw - 24px)); }
.vt-tour.is-dock .vt-tour-card { top: auto !important; left: 12px !important; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; transform: none; }
.vt-tour-bar { position: absolute; inset: 0 0 auto; height: 3px; background: var(--panel-2); }
.vt-tour-bar i { display: block; height: 100%; background: var(--hl); border-radius: 0 3px 3px 0; }
.vt-tour-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vt-tour-n { font-size: 11.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vt-tour-skip { border: 0; background: none; padding: 4px 2px; font: inherit; font-size: 12.5px; color: var(--muted); cursor: pointer; border-radius: 6px; }
.vt-tour-skip:hover { color: var(--fg); text-decoration: underline; }
.vt-tour-card h3 { margin: 0; font-size: 17px; font-weight: 650; line-height: 1.3; }
.vt-tour-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.vt-tour-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.vt-tour-foot .vt-btn { display: inline-flex; align-items: center; gap: 6px; }
.vt-tour-foot .vt-btn[hidden] { display: none !important; }
.vt-tour.is-busy .vt-tour-card { opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .vt-tour-hole { transition: top .22s ease-out, left .22s ease-out, width .22s ease-out, height .22s ease-out; }
  .vt-tour-card { transition: top .22s ease-out, left .22s ease-out, opacity .12s ease-out; animation: vt-tour-in .18s ease-out; }
  @keyframes vt-tour-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 760px) { .vt-tour-foot .vt-btn { flex: 1 1 0; justify-content: center; } }
/* Design kit demo of the tour */
.vt-kit-tour { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* =================== Phone app frame (owner sketch "Mobile app", 15 Nov 2026) ===================
   56px app bar with the page title · search behind an icon · 5 bottom tabs (Inbox · Vehicles · Scan · Shipping · More, Scan raised)
   · More = grouped rows. Same tokens as desktop; desktop unchanged. */
.vt-apptitle, .vt-gsbtn { display: none; }
@media (max-width: 760px) {
  .vt-top { position: sticky !important; top: 0; padding: env(safe-area-inset-top, 0px) 4px 0 16px !important; }
  .vt-barrow { grid-template-columns: minmax(0, 1fr) auto !important; min-height: 56px; gap: 0 !important; }
  .vt-top .vt-name, .vt-top .vt-sync, #prefBtn, #setBtn, .vt-mebtn .vt-who, #inboxBtn.is-intab { display: none !important; }
  #inboxBtn { width: 44px; height: 44px; border: 0; background: none; color: var(--fg); } #inboxBtn svg { width: 22px; height: 22px; } #inboxBtn[aria-current="page"] { color: var(--hl-ink); }
  .vt-apptitle { display: block; grid-column: 1; grid-row: 1; min-width: 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vt-gsbtn { display: inline-grid; width: 44px; height: 44px; border: 0; background: none; color: var(--fg); }
  .vt-gsbtn svg { width: 22px; height: 22px; }
  .vt-topact { gap: 2px; }
  .vt-mebtn { border: 0; background: none; padding: 6px; }
  .vt-top .vt-gsearch { display: none; }
  .vt-top.is-search .vt-gsearch { display: flex; grid-column: 1 / -1; grid-row: 2; margin: 0 12px 10px 0; max-width: none; }
  .vt-top.is-search .vt-gsbtn { color: var(--hl-ink); }
  .vt-top.is-scan .vt-gsearch input { font-family: var(--mono); }
  /* the page title lives in the app bar */
  .vt-main .vt-pagehead h2, .vt-main .vt-crumbs, .vt-main .vt-mtitle { display: none !important; }
  .vt-main .vt-pagehead:not(:has(button, a, select, .vt-seg)) { display: none; }
  /* bottom tabs */
  .vt-mnav { padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)) !important; }
  .vt-mnav button { min-height: 52px; font-weight: 600; border-radius: 10px; }
  .vt-mnav button[aria-current="page"] { color: var(--hl-ink); }
  .vt-mnav button.is-scan { color: var(--fg); }
  .vt-mnav .vt-mscan { width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin-top: -16px; box-shadow: 0 6px 16px rgb(0 0 0 / .22); }
  .vt-mnav .vt-mscan svg { width: 24px; height: 24px; }
  .vt-mnav b[data-n="ship"] { background: var(--warn); }
  /* More: who is signed in + grouped rows */
  .vt-msheet-panel { background: var(--bg); max-height: 88vh; padding-inline: 16px; }
  .vt-msheet-list { display: flex !important; flex-direction: column; gap: 18px; }
  .vt-mme { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
  .vt-mme .vt-av { width: 40px; height: 40px; font-size: 14px; flex: none; }
  .vt-mme b { display: block; font-size: 15px; } .vt-mme small { color: var(--muted); font-size: 13px; }
  .vt-mgrp h4 { margin: 0 0 6px 4px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
  .vt-mlist { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
  .vt-msheet-list .vt-mrow { display: flex; align-items: center; justify-content: flex-start; gap: 14px; width: 100%; min-height: 54px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--panel-2); border-radius: 0; background: none; color: var(--fg); font: inherit; font-size: 15px; font-weight: 500; text-align: left; }
  .vt-msheet-list .vt-mrow:last-child { border-bottom: 0; }
  .vt-mrow-l { flex: 1 1 auto; }
  .vt-mrow-ic, .vt-mrow > svg { color: var(--muted); display: inline-grid; }
  .vt-msheet-list .vt-mrow small { color: var(--muted); font-size: 13px; }
  .vt-msheet-list .vt-mrow[aria-current="page"] { color: var(--hl-ink); border-color: var(--panel-2); }
  /* design copy dot sits above the tab bar, left (the main action floats on the right) */
  .dc-bar { bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important; left: 12px !important; right: auto !important; }
  /* list pages: few words, one main action, pills, search + Filters on one line */
  .vt-main .vt-pagehead .vt-note.is-long { display: none; }
  .vt-main .vt-pagehead:not(.vt-vdph) > .vt-seg { display: none; } /* Table | Board: boards on the phone [TBC]; the dashboard view switch stays */
  .vt-main .vt-pagehead .vt-actions:has(> .vt-btn.is-primary) > .vt-btn:not(.is-primary) { display: none; } /* bulk actions sit beside a main action: desktop only; pages without a main action keep their buttons (e.g. Car not on the list) */
  .vt-main .vt-actions > .vt-btn.is-primary, .vt-main .vt-pagehead > .vt-btn.is-primary { position: fixed; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 14; min-height: 52px; padding: 0 20px; border-radius: 16px; box-shadow: 0 8px 20px rgb(0 0 0 / .22); }
  .vt-sub-tab { min-height: 36px; border-radius: 999px; }
  .vt-main > .vt-kpis, .vt-main .vt-card-box > .vt-kpis { gap: 8px; }
  .vt-main .vt-kpis:not(.vt-dtiles) > .vt-kpi { min-width: 0; max-width: none; height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; flex-direction: row; align-items: center; gap: 6px; white-space: nowrap; }
  .vt-main .vt-kpis:not(.vt-dtiles) > .vt-kpi > small { display: none; }
  .vt-main .vt-kpis:not(.vt-dtiles) > .vt-kpi > span { font-size: 13.5px; font-weight: 600; color: var(--fg); }
  .vt-main .vt-kpis:not(.vt-dtiles) > .vt-kpi > b { font-size: 12.5px !important; font-weight: 600; color: var(--muted); }
  .vt-main .vt-kpis:not(.vt-dtiles) > .vt-kpi > b.is-bad { color: var(--bad); }
  .vt-main .vt-kpis:not(.vt-dtiles) > .vt-kpi.is-on { background: var(--accent); border-color: var(--accent); }
  .vt-main .vt-kpis:not(.vt-dtiles) > .vt-kpi.is-on > span, .vt-main .vt-kpis:not(.vt-dtiles) > .vt-kpi.is-on > b { color: var(--accent-ink); }
  .vt-tools { flex-wrap: wrap; }
  .vt-tools > .vt-f.is-wide { flex: 1 1 0; min-width: 0; }
  .vt-tools > .vt-f.is-wide > label > span:first-child, .vt-tools > .vt-f.is-wide > span:first-child { display: none; }
  .vt-tools > .vt-mfbtn { flex: 0 0 auto; align-self: flex-end; min-height: 44px; }
  /* dashboards: filters = one swipe row, number cards 2 per row */
  .vt-vdbar { flex-wrap: nowrap !important; overflow-x: auto; margin-inline: -12px; padding: 0 12px 2px; scrollbar-width: none; }
  .vt-vdbar::-webkit-scrollbar { display: none; }
  .vt-vdbar > * { flex: 0 0 auto; } .vt-vdf.is-end { margin-left: 0; }
  .vt-vdash .vt-kpis.vt-dtiles { display: grid !important; grid-template-columns: 1fr 1fr !important; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .vt-vdash .vt-kpis.vt-dtiles > .vt-kpi { min-width: 0; max-width: none; }
  .vt-vdash.is-icons .vt-dtiles .vt-vdtile { grid-template-columns: 1fr; padding: 12px; }
  .vt-vdash.is-icons .vt-dtiles .vt-vdtile-ic { display: none; }
  .vt-vdash.is-icons .vt-dtiles .vt-vdtile > span, .vt-vdash.is-icons .vt-dtiles .vt-vdtile > b, .vt-vdash.is-icons .vt-dtiles .vt-vdtile > small { grid-column: 1; }
}

/* =================== Phone list cards (owner sketch, 15 Nov 2026) ===================
   tr[data-mc]: name (bold) + status tag on one line · ID in mono under it · one info line without labels · chips · next step. Other cells hidden on the phone. */
@media (max-width: 760px) {
  table.is-cards tr[data-mc] { display: flex !important; flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; padding: 14px !important; border-radius: 12px; }
  table.is-cards tr[data-mc] > td { display: none !important; }
  table.is-cards tr[data-mc] > td[data-m] { display: block !important; }
  table.is-cards tr[data-mc] > td[data-m]::before { display: none !important; }
  table.is-cards tr[data-mc] > td[data-m="title"] { order: 1; flex: 1 1 0; min-width: 0; font-size: 15.5px !important; font-weight: 650; line-height: 1.3; color: var(--fg); }
  table.is-cards tr[data-mc] > td[data-m="badge"] { order: 2; flex: 0 0 auto; max-width: 55%; }
  table.is-cards tr[data-mc] > td[data-m="id"] { order: 3; flex: 1 0 100%; margin-top: -4px; font-family: var(--mono); font-size: 13px !important; font-weight: 400; color: var(--muted); }
  table.is-cards tr[data-mc] > td[data-m="meta"] { order: 4; flex: 0 1 auto; min-width: 0; max-width: 100%; font-size: 13px !important; color: var(--muted); white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; }
  table.is-cards tr[data-mc] > td[data-m="meta"] + td[data-m="meta"]::before, table.is-cards tr[data-mc] > td[data-m="meta"] ~ td[data-m="meta"]::before { content: "· " !important; display: inline !important; font-size: 13px; color: var(--muted); margin: 0; }
  table.is-cards tr[data-mc] > td[data-m="chip"] { order: 5; flex: 0 0 auto; height: 22px; padding: 0 9px !important; border-radius: 999px; background: var(--panel-2) !important; font-size: 11.5px !important; font-weight: 600; line-height: 22px; color: var(--muted); white-space: nowrap !important; }
  table.is-cards tr[data-mc] > td[data-m="chip"]::after { content: attr(data-unit); }
  table.is-cards tr[data-mc] > td[data-m="chip"].is-old { background: var(--hl-soft) !important; color: var(--hl-ink); }
  table.is-cards tr[data-mc] > td[data-m="next"] { order: 6; flex: 1 0 100%; padding-top: 8px !important; margin-top: 2px; border-top: 1px solid var(--panel-2) !important; font-size: 13px !important; font-weight: 600; color: var(--fg); }
  table.is-cards tr[data-mc] > td[data-m="next"]::before { content: "Next: " !important; display: inline !important; color: var(--muted); font-weight: 500; font-size: 13px; }
  table.is-cards tr[data-mc] > td[data-m] .vt-copy { border: 0; }
  .vt-tablebox:has(> table.is-cards) { max-height: none !important; height: auto !important; } /* the desktop table's fixed height made the cards spill over the page controls */
  table.is-cards tr[data-mc]::after { content: ""; order: 3; flex: 1 0 100%; height: 0; } /* the info line always starts on a new line */
  table.is-cards tr[data-mc] > td[data-m="title"] { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: normal !important; word-break: normal; }
  table.is-cards tr[data-mc] > td[data-m="title"].mono { font-family: var(--mono); font-size: 15px !important; }
  /* room for the floating main action under the last card and the page controls */
  .vt-main:has(.vt-actions > .vt-btn.is-primary, .vt-pagehead > .vt-btn.is-primary) { padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* =================== Phone v2 (owner, 15 Nov 2026: "build something customised for the phone") ===================
   Sizes from the owner's sketch: 16px side gutter · 56px app bar · 46px search · 48px buttons/inputs · 44px icon buttons · 36px pills · 12px radius. */
@media (max-width: 760px) {
  /* app bar: full width, no inset box */
  .vt-top { background: var(--panel) !important; border-bottom: 1px solid var(--line) !important; padding: env(safe-area-inset-top, 0px) 0 0 !important; box-shadow: none !important; }
  .vt-top .vt-barrow { height: 56px !important; min-height: 56px !important; margin: 0 !important; padding: 0 4px 0 16px !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; width: auto !important; }
  .vt-top.is-search .vt-barrow { height: auto !important; padding-bottom: 10px !important; }
  .vt-top.is-search .vt-gsearch { margin: 0 12px 0 0 !important; height: 46px; border-radius: 12px; }
  /* one 16px gutter for every page */
  .vt-main { padding-left: 16px !important; padding-right: 16px !important; }
  .vt-main .vt-card-box, .vt-main .vt-card-box.is-list { padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
  .vt-main .vt-card-box.is-list > * { margin-left: 0 !important; margin-right: 0 !important; }
  .vt-main .vt-card-box.is-list > .vt-tools, .vt-main .vt-card-box.is-list > .vt-boxhead, .vt-main .vt-card-box.is-list > .vt-pager { padding-left: 0 !important; padding-right: 0 !important; border: 0 !important; background: none !important; }
  .vt-kpis, .vt-kpis-9, .vt-kpis-10, .vt-subtabs { margin-inline: -16px !important; padding-inline: 16px !important; }
  /* search row: 46px field + 46px square filter button */
  .vt-tools { display: flex !important; flex-wrap: nowrap !important; gap: 8px !important; align-items: center !important; padding: 0 !important; }
  .vt-tools > .vt-f.is-wide { flex: 1 1 auto !important; margin: 0 !important; }
  .vt-tools > .vt-f.is-wide input { height: 46px !important; min-height: 46px !important; border-radius: 12px !important; font-size: 16px !important; }
  .vt-tools > .vt-clearall, .vt-tools > .vt-btn:not(.vt-mficon) { display: none !important; }
  .vt-mficon { position: relative; flex: 0 0 46px; width: 46px; height: 46px; min-height: 46px !important; padding: 0; display: inline-grid !important; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--fg); }
  .vt-mficon[aria-expanded="true"] { border-color: var(--fg); }
  .vt-mficon b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--hl-ink); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; border: 2px solid var(--bg); }
  .vt-mficon b:empty { display: none; }
  /* filter sheet */
  .vt-fsheet { position: fixed; inset: 0; z-index: 65; }
  .vt-fsheet[hidden] { display: none !important; }
  .vt-fsheet-bg { position: absolute; inset: 0; background: rgb(0 0 0 / .35); }
  .vt-fsheet-p { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; display: flex; flex-direction: column; background: var(--panel); border-radius: 16px 16px 0 0; box-shadow: 0 -8px 30px rgb(0 0 0 / .18); }
  .vt-fsheet-h { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 18px 8px 8px 16px; border-bottom: 1px solid var(--line); }
  .vt-fsheet-h .vt-msheet-grip { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); margin: 0; }
  .vt-fsheet-h h3 { margin: 0; font-size: 17px; font-weight: 650; }
  .vt-fsheet-h .vt-iconbtn { width: 44px; height: 44px; border: 0; background: none; }
  .vt-fsheet-b { flex: 1 1 auto; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 14px; }
  .vt-fsheet-b > .vt-f { display: flex !important; flex-direction: column; gap: 6px; width: 100%; max-width: none !important; flex: 0 0 auto !important; margin: 0 !important; }
  .vt-fsheet-b > .vt-f > label, .vt-fsheet-b > .vt-f > span:first-child { font-size: 13px; font-weight: 600; color: var(--fg); }
  .vt-fsheet-b select, .vt-fsheet-b .vt-ms, .vt-fsheet-b .vt-ss-btn, .vt-fsheet-b input { width: 100% !important; height: 48px !important; min-height: 48px !important; border-radius: 12px !important; font-size: 16px !important; }
  .vt-fsheet-f { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--panel); }
  .vt-fsheet-f .vt-btn { flex: 1 1 0; height: 48px; min-height: 48px; justify-content: center; border-radius: 12px; font-size: 15px; }
  @media (prefers-reduced-motion: no-preference) { .vt-fsheet-p { animation: vt-up .18s ease-out; } }
  /* sketch sizes */
  .vt-btn { border-radius: 12px; }
  .vt-sub-tab { height: 36px; min-height: 36px !important; padding: 0 14px !important; font-size: 13.5px !important; font-weight: 600; }
  table.is-cards tr[data-mc] { margin-bottom: 10px; }
  .vt-msort select { height: 40px; border-radius: 10px; }
}
@media (max-width: 760px) {
  /* page switcher in the app bar */
  .vt-apptitle.is-pick { overflow: visible; }
  .vt-apptitle-b { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; height: 44px; margin-left: -8px; padding: 0 8px; border: 0; border-radius: 10px; background: none; color: var(--fg); font: inherit; font-size: 17px; font-weight: 650; }
  .vt-apptitle-b span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vt-apptitle-b:active { background: var(--panel-2); }
  .vt-subtabs.is-mswitch { display: none !important; }
  .vt-mgrp .vt-mrow small { margin-left: auto; }
  /* no empty space above the first row */
  .vt-main { padding-top: 12px !important; gap: 12px !important; }
  .vt-main > .vt-pagehead:not(:has(.vt-seg:not([hidden]), h2 + *)) , .vt-main .vt-pagehead.is-page { min-height: 0 !important; padding: 0 !important; margin: 0 !important; gap: 0 !important; }
  .vt-main .vt-pagehead.is-page > div:not(.vt-actions):not(.vt-seg) { display: none !important; }
  /* step pills: neutral outline when on */
  .vt-main .vt-kpis:not(.vt-dtiles) > .vt-kpi.is-on { box-shadow: none !important; outline: 0 !important; }
  /* count + sort on one quiet line */
  .vt-msort label { font-size: 0 !important; gap: 0 !important; }
  .vt-msort label select { font-size: 14px !important; height: 40px; }
  .vt-msort .vt-btn { width: 40px; min-width: 40px; height: 40px; min-height: 40px !important; padding: 0; justify-content: center; }
  /* card info line: small icons instead of "·" (owner sketch) */
  table.is-cards tr[data-mc] > td[data-m="meta"]::before, table.is-cards tr[data-mc] > td[data-m="meta"] + td[data-m="meta"]::before, table.is-cards tr[data-mc] > td[data-m="meta"] ~ td[data-m="meta"]::before { content: "" !important; display: inline-block !important; width: 14px; height: 14px; margin: 0 5px -2px 0; background: currentColor; -webkit-mask: var(--mi) center / contain no-repeat; mask: var(--mi) center / contain no-repeat; }
  table.is-cards tr[data-mc] > td[data-m="meta"] { margin-right: 6px; }
  td[data-mi="user"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
  td[data-mi="pin"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
  td[data-mi="cal"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
  td[data-mi="handshake"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a1 1 0 1 0 3-3'/%3E%3Cpath d='m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4'/%3E%3Cpath d='m21 3 1 11h-2'/%3E%3Cpath d='M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3'/%3E%3Cpath d='M3 4h8'/%3E%3C/svg%3E"); }
  td[data-mi="alert"] { --mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
}
@media (max-width: 760px) {
  /* dashboards on the phone */
  .vt-vdash { gap: 12px !important; }
  .vt-vdash .vt-vdwrap { padding: 0 !important; background: none !important; border: 0 !important; }
  .vt-vdash .vt-vdph { padding: 0; } .vt-vdash .vt-vdph > div:first-child { display: none; }
  .vt-vdash .vt-vdph .vt-seg { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .vt-vdbar { display: flex !important; flex-wrap: nowrap !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; gap: 8px !important; align-items: center; }
  .vt-vdbar > .vt-mdtools { flex: 0 0 auto; display: block !important; }
  .vt-mdtools .vt-mficon { width: auto; flex: none; padding: 0 12px; display: inline-flex !important; gap: 6px; height: 40px; min-height: 40px !important; font-size: 14px; font-weight: 600; }
  .vt-vdbar > .vt-vdf { flex: 1 1 auto; min-width: 0; }
  .vt-vdbar > .vt-vdf > span { display: none; }
  .vt-vdbar > .vt-vdf .vt-seg { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
  .vt-vdbar > .vt-vdf .vt-seg button { height: 32px !important; font-size: 13px; }
  .vt-vdbar > .vt-btn { display: none; }
  .vt-vdash .vt-vdcard { border-radius: 12px !important; }
  .vt-vdash .vt-vdhead { padding: 12px 14px !important; }
  /* step strip = a vertical list */
  .vt-jny { display: flex !important; flex-direction: column; gap: 0 !important; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
  .vt-jny-s, .vt-jny-s:first-child, .vt-jny-s:last-child { clip-path: none !important; border-radius: 0 !important; display: grid !important; grid-template-columns: 28px minmax(0, 1fr) auto !important; grid-template-rows: auto auto !important; align-items: center; column-gap: 10px; row-gap: 4px; padding: 12px 14px !important; background: var(--panel) !important; border-bottom: 1px solid var(--panel-2) !important; min-height: 56px; }
  .vt-jny-s:last-child { border-bottom: 0 !important; }
  .vt-jny-s .vt-jny-ic { grid-row: 1 / 3; }
  .vt-jny-s .vt-jny-l { grid-column: 2; grid-row: 1; font-size: 14px; font-weight: 600; }
  .vt-jny-s > b { grid-column: 3; grid-row: 1 / 3; font-size: 20px !important; }
  .vt-jny-s > small { grid-column: 2 !important; grid-row: 2; font-size: 12.5px; }
  .vt-jny-s .vt-jny-share { display: none; }
  /* heat map on the phone = rows */
  .vt-mheat { display: flex; flex-direction: column; }
  .vt-mheat-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--panel-2); background: none; color: var(--fg); font: inherit; text-align: left; }
  .vt-mheat-r:last-child { border-bottom: 0; }
  .vt-mheat-l { font-size: 14px; font-weight: 600; } .vt-mheat-r > b { font-size: 16px; }
  .vt-mheat-bar { grid-column: 1 / -1; display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--panel-2); }
  .vt-mheat-bar i { display: block; height: 100%; background: var(--vd-good, var(--ok)); } .vt-mheat-bar i.is-bad { background: var(--vd-bad, var(--bad)); }
  .vt-mheat-r > small { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); } .vt-mheat-r > small.is-bad { color: var(--bad); font-weight: 600; }
}
@media (max-width: 760px) {
  /* dashboard chart cards keep their white card on the phone */
  .vt-main .vt-vdash .vt-card-box.vt-vdcard { background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: 12px !important; padding: 0 !important; overflow: hidden; }
  .vt-main .vt-vdash .vt-vdcard > * { margin-left: 14px !important; margin-right: 14px !important; }
  .vt-main .vt-vdash .vt-vdcard > .vt-vdhead { margin: 0 0 10px !important; }
  .vt-main .vt-vdash .vt-vdcard > :last-child { margin-bottom: 14px !important; }
  .vt-main .vt-vdash .vt-vdcard .vt-jny { border: 0; border-radius: 0; margin-inline: -14px; }
}
@media (max-width: 760px) {
  /* phone segmented switch (sketch .seg) */
  .vt-mseg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; background: var(--panel-2); border-radius: 12px; }
  .vt-mseg button { height: 40px; min-width: 0; padding: 0 4px; border: 0; border-radius: 9px; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; }
  .vt-mseg button.is-on { background: var(--panel); color: var(--fg); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
  .vt-mseg-n { min-width: 20px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--line); font-size: 11.5px; line-height: 18px; text-align: center; }
  .vt-mseg button.is-on .vt-mseg-n.is-red { background: var(--hl-ink); color: #fff; }
  /* phone inbox rows */
  .vt-mibl { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
  .vt-mib { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 14px; border: 0; border-bottom: 1px solid var(--panel-2); background: none; color: var(--fg); font: inherit; text-align: left; }
  .vt-mib:last-child { border-bottom: 0; } .vt-mib:active { background: var(--hover); }
  .vt-mib > svg { color: var(--muted); align-self: center; flex: none; }
  .vt-mib-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
  .vt-mib-ic.is-red, .vt-mchip.is-red { background: var(--hl-soft); color: var(--hl-ink); }
  .vt-mib-ic.is-amber, .vt-mchip.is-amber { background: color-mix(in srgb, var(--warn) 14%, var(--panel)); color: var(--warn); }
  .vt-mib-ic.is-grey, .vt-mchip.is-grey { background: var(--panel-2); color: var(--muted); }
  .vt-mchip.is-dark { background: var(--fg); color: var(--panel); }
  .vt-mib-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .vt-mib-t > b { font-size: 15px; font-weight: 600; line-height: 1.3; }
  .vt-mib-t > small { font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .vt-mib-c { display: flex; gap: 6px; flex-wrap: wrap; }
  .vt-mchip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
  .vt-msum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .vt-msum-c { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--fg); font: inherit; text-align: left; }
  .vt-msum-c b { font-size: 26px; font-weight: 700; line-height: 1.1; } .vt-msum-c small { font-size: 12.5px; color: var(--muted); }
  /* rule sheet */
  .vt-mrule-h { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
  .vt-mrule-h b { display: block; font-size: 16px; font-weight: 650; } .vt-mrule-h small { color: var(--muted); font-size: 12.5px; }
  .vt-mitem .vt-mrow-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .vt-mitem .vt-mrow-l b { font-size: 14px; font-weight: 600; } .vt-mitem .vt-mrow-l b.mono { font-family: var(--mono); }
  .vt-mitem .vt-mrow-l small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vt-mitem.is-unread .vt-mrow-l b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hl); margin-right: 6px; vertical-align: 1px; }
  .vt-msheet-list .vt-mitem { min-height: 60px; padding: 8px 14px; }
  .vt-msheet-list small.is-bad, .vt-mitem small.is-bad { color: var(--bad); font-weight: 600; white-space: nowrap; }
}
@media (max-width: 760px) {
  /* pill rows: the first pill starts on the 16px gutter (snap used to scroll it under the edge) */
  .vt-kpis, .vt-kpis-9, .vt-kpis-10, .vt-subtabs { scroll-padding-inline: 16px; }
  /* step list rows: icon · label / notes · count */
  .vt-jny-s > small { grid-row: auto !important; }
  .vt-jny-s > b { grid-row: 1 / -1 !important; }
  .vt-jny-s .vt-jny-ic { grid-row: 1 / -1 !important; }
}
@media (max-width: 760px) { .vt-jny-s > em { grid-column: 2 !important; grid-row: auto !important; font-style: normal; font-size: 12.5px; color: var(--muted); } }

/* ---- shared record pieces (15 Nov 2026): record page body, summary drawer, edit popup ---- */
.vt-recbody { display: flex; flex-direction: column; gap: 14px; } .vt-recbody:empty { display: none; }
.vt-recdr { display: flex; flex-direction: column; gap: 16px; }
.vt-recdr-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vt-recdr-head .vt-ns-more > summary { min-height: 30px; }
.vt-recdr-list .vt-kcard-h small { margin-left: auto; }
.vt-recdr-more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; border: 0; background: none; padding: 8px 0 0; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; } .vt-recdr-more:hover { color: var(--fg); }
.vt-pagehead .vt-actions .vt-ns-more > summary { min-height: 0; border-color: var(--line); background: var(--panel); color: var(--fg); }
.vt-popup.is-form { width: min(46rem, 100%); }
.vt-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; } /* UI.compare: ours | theirs */
@media (max-width: 720px) { .vt-compare { grid-template-columns: 1fr; } }
.vt-popup.is-form.is-xl { width: min(78rem, 100%); } /* Load plan form popup: yard + cars left, booking + container right */
.vt-popup.is-form .vt-popup-b { padding: 8px 20px 16px; gap: 14px; }
.vt-popup.is-form .vt-popup-b .vt-banner, .vt-popup.is-form .vt-popup-b .vt-note { margin: 0; }
.vt-kit-rec { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 14px; } .vt-kit-rec > .vt-pagehead { padding: 0; }
.vt-kit-drawer { max-width: 40rem; } .vt-kit-drawerbox { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.vt-drawer-head h3 { flex: 0 1 auto; } .vt-drawer-head .vt-recdr-head { margin-left: auto; }
/* ---- Home page sections (owner, 15 Nov 2026): UI.home / UI.dashSection ---- */
.vt-hsec { display: flex; flex-direction: column; gap: 12px; }
.vt-hsec-h { display: flex; align-items: center; gap: 8px; min-height: 30px; }
.vt-hsec-h h3 { margin: 0; font-size: 14px; font-weight: 650; color: var(--fg); }
.vt-hsec-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--panel-2); color: var(--fg); flex: none; }
.vt-hsec-h .vt-btn { margin-left: auto; }
.vt-hsec-note { font-size: 12.5px; color: var(--muted); }
.vt-hsec + .vt-hsec { margin-top: 8px; }
#inboxBtn { position: relative; }
#inboxBtn .vt-badge { position: absolute; top: -4px; right: -4px; margin: 0; min-width: 16px; height: 16px; padding: 0 4px; line-height: 16px; text-align: center; font-size: 10.5px; box-sizing: border-box; }
/* ---- detail pages on UI.recordPage inside the page shell (booking, loading request; 15 Nov 2026) ---- */
.vt-drawer.is-recpage > .vt-drawer-head { display: none; } /* the page's own header (Back / Edit / More) replaces it; the title stays in the DOM for assistive tech and tests */
.vt-bkp-prog:has(> .vt-jn) { background: none; border: 0; padding: 0; }
.vt-drawer.is-recpage .vt-drawer-body { padding-top: 16px; }
.vt-pageback { flex: none; } /* Back button of a page (tests and tours find it by this class) */
@media (max-width: 760px) { /* phone: Back, Edit and More stay in one inline row (no floating Edit) */
  .vt-main .vt-pagehead.vt-recpage .vt-actions { width: 100%; flex-wrap: nowrap; }
  .vt-main .vt-pagehead.vt-recpage .vt-actions > .vt-btn:not(.is-primary) { display: inline-flex !important; flex: 0 0 auto; }
  .vt-main .vt-pagehead.vt-recpage .vt-actions > .vt-btn.is-primary { position: static !important; box-shadow: none !important; min-height: 44px; border-radius: 12px; padding: 0 18px; flex: 1 1 auto; }
  .vt-main .vt-pagehead.vt-recpage .vt-actions .vt-ns-more > summary { min-height: 44px; }
  .vt-main:has(.vt-recpage) { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)) !important; }
}
/* ---- summary drawer fixes (15 Nov 2026): title on its own line, status + Open full page + More on the row below; long step bars show only the current label ---- */
.vt-drawer-head:has(> .vt-recdr-head) { flex-wrap: wrap; row-gap: 10px; }
.vt-drawer-head:has(> .vt-recdr-head) > h3 { flex: 1 1 0; min-width: 0; order: 1; white-space: normal; overflow: visible; text-overflow: clip; }
.vt-drawer-head:has(> .vt-recdr-head) > .vt-dclose { order: 2; }
.vt-drawer-head > .vt-recdr-head { order: 3; flex: 1 0 100%; margin-left: 0; justify-content: flex-start; }
.vt-recdr .vt-stp:has(> .vt-stp-s:nth-child(6)) .vt-stp-s:not(.is-now) .vt-stp-t { display: none; }
.vt-recdr .vt-stp-t b { font-size: 12px; }
/* summary drawer facts (owner comment 15 Nov 2026): a calm, even 2-column grid, label over value, light row lines */
.vt-recdr .vt-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; gap: 0; }
.vt-recdr .vt-facts > .vt-fact { padding: 12px 16px; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.vt-recdr .vt-facts > .vt-fact:nth-child(-n+2) { border-top: 0; }
.vt-recdr .vt-facts > .vt-fact:nth-child(even) { border-left: 1px solid var(--line); }
.vt-recdr .vt-facts > .vt-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
.vt-recdr .vt-facts dt { font-size: 11.5px; color: var(--muted); margin: 0 0 4px; }
.vt-recdr .vt-facts dd { margin: 0; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
/* summary drawer next step (owner comment 15 Nov 2026): compact, calm — small icon, normal title, normal button on its own row */
.vt-recdr .vt-ns { grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; padding: 14px 16px; border-left-width: 3px; border-radius: 12px; }
.vt-recdr .vt-ns-ic { width: 34px; height: 34px; border-radius: 9px; }
.vt-recdr .vt-ns-ic svg { width: 17px; height: 17px; }
.vt-recdr .vt-ns-b { gap: 3px; }
.vt-recdr .vt-ns-eye { font-size: 10.5px; }
.vt-recdr .vt-ns-b h3 { font-size: 14.5px; font-weight: 600; letter-spacing: 0; }
.vt-recdr .vt-ns-b p { font-size: 12.5px; line-height: 1.45; }
.vt-recdr .vt-ns-act { grid-column: 1 / -1; justify-content: flex-start; }
.vt-recdr .vt-btn.vt-ns-go { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.vt-recdr .vt-ns-more > summary { min-height: 36px; }
/* detail pages (booking, loading request) open in the main area, right of the side panel; header, menu bar and side panel stay visible (owner, 15 Nov 2026) */
@media (min-width: 761px) {
  .has-page > .vt-drawer-bg { display: none; }
  .has-page > .vt-drawer.is-page { top: var(--pg-top, 0); left: var(--pg-left, 0); right: 0; width: auto !important; box-shadow: none; border-left: 0; }
  .has-page > .vt-drawer.is-page .vt-drawer-body, .has-page > .vt-drawer.is-page .vt-drawer-head, .has-page > .vt-drawer.is-page .vt-drawer-foot { padding-left: 24px; padding-right: 24px; }
}
/* summary drawer header alignment (owner comment 15 Nov 2026): title left + Close right on row 1; status left, Open full page + More right on row 2, all one height */
.vt-drawer-head:has(> .vt-recdr-head) { align-items: center; }
.vt-drawer-head:has(> .vt-recdr-head) > div:has(> .vt-dclose) { order: 2; flex: none; }
.vt-drawer-head > .vt-recdr-head { gap: 8px; flex-wrap: nowrap; }
.vt-drawer-head > .vt-recdr-head > .vt-pill { margin-right: auto; }
.vt-drawer-head > .vt-recdr-head > .vt-fullbtn, .vt-drawer-head > .vt-recdr-head .vt-ns-more > summary { box-sizing: border-box; height: 32px; min-height: 32px; padding: 0 10px; font-size: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); }
.vt-drawer-head > .vt-recdr-head .vt-ns-more > summary:hover, .vt-drawer-head > .vt-recdr-head .vt-ns-more[open] > summary { background: var(--panel-2); }
@media (max-width: 760px) { .vt-drawer-head > .vt-recdr-head > .vt-fullbtn, .vt-drawer-head > .vt-recdr-head .vt-ns-more > summary { height: 44px; min-height: 44px; } }
/* phone: a short journey (4 steps or fewer: container, claim) stays on one row instead of wrapping 3 + 1 (15 Nov 2026) */
@media (max-width: 760px) { .vt-jr:not(:has(> :nth-child(5))) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* ---- phone alignment pass (15 Nov 2026, guide 15.7): 16px gutter on grouped boards, 44px menu rows and header buttons, bigger hit areas; desktop untouched ---- */
@media (max-width: 760px) {
  /* grouped lists that show board columns (Bookings, Clearance, Trucking...): flush on the 16px edge, no inner box */
  .vt-main .vt-card-box.is-list > .vt-bd-top { padding: 0 0 10px !important; border: 0 !important; }
  .vt-main .vt-card-box.is-list > .vt-bscroll { margin-inline: -16px !important; padding: 0 16px 14px !important; background: none !important; scroll-padding-inline: 16px; }
  /* sort row: air under the count line and above the first card */
  .vt-msort { margin: 4px 0 10px; }
  /* More menus (page header, drawer header, next step): rows and button are 44px tall */
  .vt-ns-mi { min-height: 44px; padding: 0 12px; font-size: 14px; }
  .vt-ns-menu { min-width: min(15rem, calc(100vw - 32px)); }
  .vt-recdr-head .vt-ns-more > summary, .vt-recdr .vt-ns-more > summary, .vt-drawer-head .vt-ns-more > summary { min-height: 44px; }
  .vt-recdr .vt-btn.vt-ns-go { min-height: 44px; font-size: 14px; border-radius: 12px; }
  .vt-recdr-head .vt-fullbtn, .vt-recdr-head .vt-btn { min-height: 44px; }
  /* page header (Back · Edit · More): all three the same height */
  .vt-main .vt-pagehead.vt-recpage .vt-actions > .vt-btn, .vt-main .vt-pagehead.vt-recpage .vt-actions .vt-ns-more > summary { min-height: 44px; height: 44px; box-sizing: border-box; }
  .vt-main .vt-pagehead.vt-recpage .vt-actions > .vt-btn:not(.is-primary) { padding: 0 14px; }
  .vt-pagehead.vt-recpage .vt-pagetitle h2, .vt-pagehead.vt-recpage h2 { overflow-wrap: anywhere; }
  /* small links inside cards: touch area grows without moving anything */
  .vt-vinpage, table.is-cards .vt-copy, .vt-carvin.vt-copy { position: relative; }
  .vt-vinpage::after, table.is-cards .vt-copy::after, .vt-carvin.vt-copy::after { content: ""; position: absolute; inset: -12px -8px; }
  /* bar rows on Home are buttons: 44px tall */
  button.vt-hbar { min-height: 44px; }
  /* drawer lists: the right-hand value (date, amount) never wraps and squeezes the text */
  .vt-recdr .vt-rows li > :last-child:not(:first-child) { white-space: nowrap; font-size: 12px; color: var(--muted); font-weight: 500; }
}
@media (max-width: 760px) { .vt-ns-more > summary.vt-ns-mbtn { min-height: 44px; } }
@media (max-width: 760px) { /* car / container rows in popups: the number is never cut; the status pill drops under it */
  .vt-carrow { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 10px 12px; min-height: 44px; font-size: 13.5px; }
  .vt-carrow > span:first-child { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
  .vt-carrow > :not(:first-child) { justify-self: start; }
}
@media (max-width: 760px) { .vt-carrow > :empty:not(:first-child) { display: none; } }
@media (max-width: 760px) {
  .vt-pagehead .vt-actions .vt-ns-more > summary, .vt-pagehead .vt-actions > .vt-btn { min-height: 44px !important; box-sizing: border-box; }
  .vt-drawer .vt-btn.is-sm, .vt-pager .vt-btn.is-sm { min-height: 44px; }
}
@media (max-width: 760px) { .vt-rows li { min-height: 44px; } .vt-vdstyles button, .vt-vdbar .vt-seg button, .vt-vdbar .vt-vdf button { min-height: 36px; } }
@media (max-width: 760px) { /* drawer header: the More menu opens to the right of its button (the button sits at the left, so right:0 pushed it off-screen) */
  .vt-recdr-head .vt-ns-more { position: relative; margin-left: auto; }
  .vt-recdr-head .vt-ns-menu { left: auto; right: 0; }
  .vt-recdr-head .vt-ns-more > summary { padding-inline: 12px; gap: 6px; }
  .vt-recdr-head .vt-fullbtn { padding-inline: 12px; }
}
@media (max-width: 760px) { .vt-drawer-head > .vt-recdr-head { flex-wrap: wrap; row-gap: 8px; } } /* long status pills (towing) push the buttons to the next line instead of off-screen */
.vt-dbars .vt-hbar-m { min-width: 0; overflow: hidden; text-overflow: ellipsis; } /* long names in the last column stop at the card edge (owner, 16 Nov 2026) */

/* a link inside a key/value row lines up with the other values (no button padding) */
.vt-kv .vt-linkbtn { padding: 0; height: auto; min-height: 0; justify-content: flex-start; font: inherit; line-height: inherit; }

/* Record-page journey on a phone (owner, 16 Nov 2026: "taking more space, optimise for mobile"): one compact row of dots, no labels or dates (the card's top line already says "Now: …") */
@media (max-width: 760px) {
  .vt-jn { gap: 12px; padding: 14px 16px; }
  .vt-jr, .vt-jr:not(:has(> :nth-child(5))) { display: flex; gap: 0; row-gap: 0; }
  .vt-jr > .vt-jn-n { flex: 1 1 0; min-width: 0; }
  .vt-jr > .vt-jn-n:first-child { flex: 0 0 auto; }
  .vt-jn-n > b, .vt-jn-n > span { display: none; }
  .vt-jn-t { margin-bottom: 0; }
  .vt-jn-d { width: 26px; height: 26px; font-size: 11px; }
  .vt-jn-n.is-now .vt-jn-d { box-shadow: 0 0 0 3px var(--hl-softer); }
  .vt-jn-l { margin: 0 3px; }
  .vt-jn-l em { display: none; }
}

/* Vertical progress timeline on a phone (owner, 16 Nov 2026: same space problem as the journey): tighter rows, smaller dots, hints only on the current and finished steps */
@media (max-width: 760px) {
  .vt-tl-r { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; padding-bottom: 8px; }
  .vt-tl-dot { width: 22px; height: 22px; }
  .vt-tl-r:not(:last-child)::before { left: 10px; top: 24px; }
  .vt-tl-b { padding-top: 1px; gap: 0; }
  .vt-tl-d { padding-top: 2px; font-size: 11.5px; }
  .vt-tl-r.is-todo .vt-tl-b small { display: none; }
}

/* ===== TEST environment bar (owner, 11 Nov 2026): previews / localhost use the test database (config.js) ===== */
.vt-testbar { position: fixed; top: 0; left: 0; right: 0; z-index: 2147483000; height: 24px; display: flex; align-items: center; justify-content: center; padding: 0 12px; background: var(--bad); color: var(--panel); font-size: 12px; font-weight: 700; letter-spacing: .04em; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.is-test body { padding-top: 24px; }
html.is-test .vt-top { top: 24px; }
html.is-test :not(.has-page) > .vt-drawer, html.is-test .vt-popwrap { top: 24px !important; } /* a full page (.has-page) keeps its own --pg-top: it already counts the sticky header, which sits 24px lower */
/* toast Undo button (16 Nov 2026): toast(text, bad, undoFn) */
.vt-toast-undo { margin: -4px -8px -4px 12px; padding: 4px 8px; border: 0; background: none; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; border-radius: 4px; }
.vt-toast-undo:hover { opacity: .8; } .vt-toast-undo:focus-visible { outline: 2px solid var(--focus); }
#vt-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(72px + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 32px); background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 6px; font-size: 13px; z-index: 30; }
#vt-toast.is-bad { background: var(--bad); }
/* Phone tap targets: everything tappable is at least 44x44px (UX checklist; tests/flow/t_taps.js). Same look, bigger hit area. */
@media (max-width: 760px) {
  .vt-mebtn { min-height: 44px; }
  .vt-dclose, .vt-btn.vt-dclose { width: 44px; min-width: 44px; height: 44px; }
  .vt-btn, .vt-btn.is-sm, .vt-main .vt-btn.is-sm { min-height: 44px; }
  .vt-msort .vt-btn, .vt-msort .vt-btn.has-ico { width: 44px; min-width: 44px; height: 44px; min-height: 44px !important; }
  .vt-msort label { min-height: 44px; }
  .vt-msort select, .vt-msort label select { height: 44px; }
  .vt-ss .vt-ss-btn, .vt-ss > button { min-height: 44px; }
  .vt-mdtools .vt-mficon { height: 44px; min-height: 44px !important; }
  .vt-mseg button { height: 44px; }
  .vt-kpi.is-click { min-height: 44px; }
  .vt-setnav button { min-height: 44px; }
  .vt-vinpage::after, table.is-cards .vt-copy::after, .vt-carvin.vt-copy::after { inset: -14px -12px; }
  table.is-cards .vt-copy, .vt-carvin.vt-copy { display: inline-block; }
  table.is-cards td.is-c1, table.is-cards tr[data-mc] > td[data-m="title"].mono { overflow: visible; } /* the table cell clipped the invisible hit area of the VIN copy / full-page buttons (a VIN or container number is one word, it never needs the 2-line clamp) */
}

/* One-page form in a popup (booking form, owner 16 Nov 2026): a drawer that is only a centred popup; sections stack, the message sits above the footer */
.vt-drawer.is-pop { inset: 0; width: 100%; max-width: none; background: none; border: 0; box-shadow: none; display: grid; place-items: center; padding: 16px; z-index: 61; pointer-events: none; }
.vt-drawer.is-pop > .vt-popup { pointer-events: auto; }
.vt-popup.is-split .vt-popup-f { justify-content: space-between; }
.vt-popup.is-form > .vt-msg { margin: 0 20px 12px; }
.vt-popup.is-form .vt-fsec-q { margin: 0; font-size: 13.5px; font-weight: 600; }
.vt-popup.is-form .vt-popup-b .vt-form { gap: 14px 16px; }
/* Settings groups fold open / closed in the side panel (owner, 16 Nov 2026) */
.vt-grp.is-fold { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; cursor: pointer; font-family: inherit; text-align: left; border-radius: 8px; padding: 10px 10px 6px; }
.vt-grp.is-fold > span:first-child { flex: 1; }
.vt-grp.is-fold small { font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.vt-grp.is-fold:hover { color: var(--fg); background: var(--hover); }
.vt-grp.is-fold.is-here { color: var(--fg); }
.vt-grp.is-fold:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }

/* Supplier analytics (owner, 17 Nov 2026): number tiles in a record drawer (2 per row), tiles on a full-page tab */
.vt-vdash.vt-recdr-tiles .vt-kpis.vt-dtiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
.vt-vdash.is-icons.vt-recdr-tiles .vt-dtiles .vt-vdtile { padding: 10px 12px; }
.vt-vdash.is-icons.vt-recdr-tiles .vt-dtiles .vt-vdtile b { font-size: 20px; }
.vt-vdash.is-icons.vt-recdr-tiles .vt-vdtile-ic { width: 32px; height: 32px; }
.vt-vdash.is-icons.vt-recdr-tiles .vt-dtiles .vt-vdtile { grid-template-columns: 32px 1fr; }
.vt-vdash.is-icons.vt-recdr-tiles .vt-dtiles .vt-vdtile > span, .vt-vdash.is-icons.vt-recdr-tiles .vt-dtiles .vt-vdtile > b, .vt-vdash.is-icons.vt-recdr-tiles .vt-dtiles .vt-vdtile > small { grid-column: 2; }
.vt-vdash.is-icons .vt-vdcard > .vt-vdline-w { width: auto; } /* the chart sits inside the card margins (it was 32px too wide) */
.vt-vdash.is-icons .vt-vdtile > small { overflow: hidden; text-overflow: ellipsis; }
/* off-screen helper (e.g. the copy-to-clipboard textarea in Line tracking) */
.vt-sr-only{position:fixed;left:-9999px;top:0;width:1px;height:1px;opacity:0;}
