/* v2.css — Direction-A look (design_v2), P0 Foundation.
 *
 * SCOPE: every rule is prefixed with [data-design="v2"] (shell.js stamps this on
 * <html> only for a flagged shop). With the flag OFF the attribute is absent, so NONE
 * of this applies and the app renders v1 byte-for-byte. Rollback = flag off, no deploy.
 *
 * P0 is FOUNDATION ONLY: design tokens + the left hub rail (≥1024px) + the hub tab
 * strip. No per-screen component restyles (those are P1–P3), no markup/id/handler
 * changes, and print / thermal / PNG / WhatsApp output CSS is untouched (locked).
 *
 * Tokens (DESIGN_WAVE_PLAN §6): Inter · ground #f4f5f1 · surface #fff · ink #121412 ·
 * green #0f6b43 (single accent) · red #b42318 · amber #9a5b00 on #fff1e2 · chips
 * #e6f2ec / #eef0ea · radius 18/22 cards, 12 inputs · tabular numerals on money.
 */

/* ---------- 1. Tokens: re-point the base CSS variables ----------
   The whole app reads var(--bg)/var(--ink)/var(--brand)/… so swapping the tokens here
   re-skins surfaces at the foundation level without touching any component rule. v2 is
   a light look; it intentionally overrides dark tokens too (loads after base.css). */
:root[data-design="v2"],
:root[data-design="v2"][data-theme="dark"] {
  --ink: #121412;
  --ink-2: #3a3f3b;
  --muted: #5f6b63;
  --brand: #0f6b43;
  --brand-2: #0f6b43;
  --brand-soft: #e6f2ec;
  --amber: #9a5b00;
  --amber-soft: #fff1e2;
  --red: #b42318;
  --red-soft: #fdeceb;
  --bg: #f4f5f1;
  --card: #ffffff;
  --surface: #ffffff;
  --soft: #eef0ea;
  --line: #e4e7e0;
  --panel: #121412;
  --on-panel: #f2f3ef;
  --radius: 18px;
  --radius-field: 12px;
  --shadow: 0 1px 2px rgba(18, 20, 18, .04), 0 10px 30px rgba(18, 20, 18, .06);
}

/* ---------- 2. Typeface ---------- */
:root[data-design="v2"] body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  letter-spacing: -0.006em;
}

/* Money always reads as aligned figures (base money markup uses .num). */
:root[data-design="v2"] .num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* Larger card corners per the token set; inputs/buttons keep the field radius via --radius-field. */
:root[data-design="v2"] .card { border-radius: 22px; }

/* ---------- 3. Hub tab strip (top of content, all widths) ---------- */
:root[data-design="v2"] .hubbar {
  margin: 0 0 20px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}
:root[data-design="v2"] .hubbar-name {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
:root[data-design="v2"] .hubbar .subnav { gap: 4px; }
:root[data-design="v2"] .hubbar .subnav a,
:root[data-design="v2"] .hubbar .subnav button {
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background .14s ease, color .14s ease;
}
:root[data-design="v2"] .hubbar .subnav a:hover,
:root[data-design="v2"] .hubbar .subnav button:hover { color: var(--ink); background: var(--soft); }
:root[data-design="v2"] .hubbar .subnav a.active,
:root[data-design="v2"] .hubbar .subnav .active {
  color: var(--brand);
  background: var(--brand-soft);
}

/* ---------- 4. Left hub rail (≥1024px) ----------
   The existing .sidebar already becomes a left column on desktop and, under
   body.hubnav, shows the hub links (#navListHub) with the static list hidden — i.e.
   it is ALREADY hubs-only. v2 restyles it into the Direction-A rail; no markup change. */
@media (min-width: 1024px) {
  :root[data-design="v2"] .sidebar {
    background: var(--bg);
    border-right: 1px solid var(--line);
    box-shadow: none;
    padding: 18px 14px;
  }
  :root[data-design="v2"] .sidebar .brand-mark { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
  :root[data-design="v2"] .sidebar .brand-shop { color: var(--muted); }

  :root[data-design="v2"] .nav-list-hub { gap: 2px; }
  :root[data-design="v2"] .hub-link {
    display: flex;
    align-items: baseline;
    gap: 8px;
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--ink-2);
    font-weight: 600;
    transition: background .14s ease, color .14s ease;
  }
  :root[data-design="v2"] .hub-link .ur { color: var(--muted); font-weight: 500; }
  :root[data-design="v2"] .hub-link:hover { background: var(--soft); color: var(--ink); }
  :root[data-design="v2"] .hub-link.active {
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 700;
  }
  :root[data-design="v2"] .hub-link.active .ur { color: var(--brand); }
}

/* ---------- 5. Commit button: ink-black with the amount pushed right ----------
   Foundation treatment only (base commit buttons carry .btn-commit); P1 wires the
   amount slot per screen. Kept token-level so no screen markup changes in P0. */
:root[data-design="v2"] .btn-commit,
:root[data-design="v2"] .btn-primary.commit {
  background: var(--panel);
  color: var(--on-panel);
  border-radius: var(--radius-field);
  justify-content: space-between;
}

/* Bilingual nav: the Urdu echo stays (Mujaddad ruling) as a quiet secondary under the
   Roman label — in the tab strip and mobile tabs, matching the rail treatment above. */
:root[data-design="v2"] .hubbar .ur,
:root[data-design="v2"] .tab .ur,
:root[data-design="v2"] .subnav .ur { color: var(--muted); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  :root[data-design="v2"] .hubbar .subnav a,
  :root[data-design="v2"] .hubbar .subnav button,
  :root[data-design="v2"] .hub-link { transition: none; }
}

/* ======================================================================
 * P1 — Counter + Sell + Khata component layer (CSS only; classes added
 * nowhere, markup/ids/handlers unchanged — logic-diff stays 11/11).
 * Tokens from §1 do the colour/radius/type; these rules add Direction-A
 * hierarchy, rhythm and interaction to the three screens shops live in.
 * ==================================================================== */

/* ---------- Counter: action tiles ---------- */
/* RED-1 (2026-11-09 Tester sweep): the mobile tile flex-basis (base.css:3358
 * calc((100%-10px)/2)) budgets a ~10px gap; a 12px gap overflowed by ~3px at 375 →
 * tiles wrapped to 1-per-row (then .ctr-tiles{justify-content:center} centred the lone
 * tile). Match the proven v1 math (9px gap + 10px-budgeted basis = exact 2-up fit) so the
 * quick-start tiles stay 2-per-row on phones. v1 untouched (this rule is v2-scoped). */
:root[data-design="v2"] .ctr-tiles { gap: 9px; }
:root[data-design="v2"] .ctr-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
:root[data-design="v2"] .ctr-tile:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
:root[data-design="v2"] .ctr-tile .ctr-ico { color: var(--brand); }

/* ---------- Counter: KPI / position cards + section heads ---------- */
:root[data-design="v2"] .ctr-group,
:root[data-design="v2"] .ctr-kpi,
:root[data-design="v2"] .ctr-strip { border-radius: 18px; }
:root[data-design="v2"] .ctr-money,
:root[data-design="v2"] .ctr-v,
:root[data-design="v2"] .ctr-dual-v,
:root[data-design="v2"] .ctr-bankrow-v,
:root[data-design="v2"] .ctr-jz-v { font-variant-numeric: tabular-nums; }
:root[data-design="v2"] .ctr-sidehead,
:root[data-design="v2"] .ctr-group-h { letter-spacing: -0.01em; color: var(--ink); }

/* ---------- Counter: search field ---------- */
:root[data-design="v2"] .ctr-search {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .14s ease, box-shadow .14s ease;
}
:root[data-design="v2"] .ctr-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

/* ---------- Counter: cart panel + feed ---------- */
:root[data-design="v2"] .ctr-cart { border-radius: 18px; border: 1px solid var(--line); }
:root[data-design="v2"] .ctr-cart-total { font-variant-numeric: tabular-nums; color: var(--ink); }
:root[data-design="v2"] .ctr-feed .ctr-fr { border-radius: 12px; transition: background .14s ease; }
:root[data-design="v2"] .ctr-feed .ctr-fr:hover { background: var(--soft); }
:root[data-design="v2"] .ctr-fdot { color: var(--brand); }

/* ---------- Sell: cards, fields, payment ---------- */
:root[data-design="v2"] .sell-grid .card,
:root[data-design="v2"] .sell-row .card { border-radius: 22px; }
:root[data-design="v2"] .callout {
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid transparent;
}
:root[data-design="v2"] .pay-row { gap: 10px; }
:root[data-design="v2"] .field input,
:root[data-design="v2"] .field select { border-radius: var(--radius-field); }
:root[data-design="v2"] .field input:focus,
:root[data-design="v2"] .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ---------- Searchable-select picker (AMBER-2, 2026-11-09 Tester sweep) ----------
 * base.css styles .ss-* (radius 10, faint line, no focus elevation); v2.css had ZERO
 * .ss-* rules, so every picker (buy/exchange/repairs/intake/party-picker, ~20 call sites)
 * kept the flatter base look beside v2-elevated fields → read as "unstyled/less tappable".
 * Mirror the v2 field + .ctr-search treatment: field radius, stronger surface, focus-within
 * ring. Markup/classes unchanged (ui.js untouched) — pure overlay, logic-diff stays clean. */
:root[data-design="v2"] .ss-btn {
  border-radius: var(--radius-field);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .14s ease, box-shadow .14s ease;
}
:root[data-design="v2"] .ss-btn:hover { border-color: var(--brand); }
:root[data-design="v2"] .ss-btn:focus-within,
:root[data-design="v2"] .ss:focus-within .ss-btn {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  outline: none;
}
:root[data-design="v2"] .ss-pop {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
:root[data-design="v2"] .ss-search,
:root[data-design="v2"] .ss-addinput {
  border-radius: var(--radius-field);
  border: 1px solid var(--line);
  transition: border-color .14s ease, box-shadow .14s ease;
}
:root[data-design="v2"] .ss-search:focus,
:root[data-design="v2"] .ss-addinput:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  outline: none;
}
:root[data-design="v2"] .ss-opt,
:root[data-design="v2"] .ss-addnew { border-radius: 10px; }
:root[data-design="v2"] .ss-opt.sel { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
:root[data-design="v2"] .ss-addok { border-radius: var(--radius-field); }

/* ---------- Khata: list band + rows ---------- */
:root[data-design="v2"] .khata-band { border-radius: 18px; }
:root[data-design="v2"] .khata-stat-value { font-variant-numeric: tabular-nums; color: var(--ink); }
:root[data-design="v2"] .cust-row {
  border-radius: 14px;
  transition: background .14s ease, border-color .14s ease;
}
:root[data-design="v2"] .cust-row:hover { background: var(--soft); }
:root[data-design="v2"] .cust-ava { background: var(--brand-soft); color: var(--brand); }

/* ---------- Khata detail: hero balance card ---------- */
:root[data-design="v2"] .cust-hero {
  border-radius: 22px;
  border: 1px solid var(--line);
}
:root[data-design="v2"] .cust-bal-big {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.02em;
}
:root[data-design="v2"] .cust-hero-chips .chip,
:root[data-design="v2"] .cust-hero-chips > * { border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
  :root[data-design="v2"] .ctr-tile,
  :root[data-design="v2"] .ctr-search,
  :root[data-design="v2"] .ctr-feed .ctr-fr,
  :root[data-design="v2"] .cust-row { transition: none; }
  :root[data-design="v2"] .ctr-tile:hover { transform: none; }
}

/* ======================================================================
 * P2 — Stock + Khareedein + Register, LAYOUT to match the A boards
 * (DesktopStock / DesktopBuy / DesktopRegister). The grids these boards
 * use already exist in the app (Counter .ctr-grid 2-col, stat tiles
 * .grid.g3/.g4 + .stat-value, cards radius 22 via tokens), so this is the
 * title treatment, the ink-black commit button and figure alignment —
 * CSS only + the class-only .btn-commit marker (stripped by logic-diff,
 * inert in v1).
 * ==================================================================== */

/* ---------- Page title: big, with the muted sub-line ABOVE it ---------- */
:root[data-design="v2"] .page-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
:root[data-design="v2"] .page-head p { order: -1; margin: 0; font-weight: 500; }
:root[data-design="v2"] .page-head h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
@media (min-width: 1024px) {
  :root[data-design="v2"] .page-head h1 { font-size: 36px; letter-spacing: -0.03em; }
}

/* ---------- Commit button: ink-black, label left / amount right ----------
   .btn-commit tags the big form submits (Sale mukammal, Add to stock,
   Register band, Bulk sale). space-between right-aligns an amount span when
   one is present; label-only buttons centre as before. */
:root[data-design="v2"] .btn-commit {
  background: var(--panel);
  color: var(--on-panel);
  border: 0;
  border-radius: 16px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-left: 20px;
  padding-right: 20px;
}
:root[data-design="v2"] .btn-commit:hover { filter: brightness(1.12); }
:root[data-design="v2"] .btn-commit .num { font-variant-numeric: tabular-nums; font-weight: 800; }

/* ---------- Stat tiles (Register Aaj, Counter position): figures ---------- */
:root[data-design="v2"] .stat-value { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
:root[data-design="v2"] .grid.g3 > .card,
:root[data-design="v2"] .grid.g4 > .card { border-radius: 18px; }

/* ---------- Stock / ledger tables: aligned figures + quiet header ------- */
:root[data-design="v2"] .table-wrap table .num,
:root[data-design="v2"] table td.num,
:root[data-design="v2"] table th { font-variant-numeric: tabular-nums; }
:root[data-design="v2"] .table-wrap { border-radius: 18px; }

@media (prefers-reduced-motion: reduce) {
  :root[data-design="v2"] .btn-commit:hover { filter: none; }
}

/* ======================================================================
 * P4 — OVERLAY LAYER: modals, sheets, pickers, confirms, receipts, toasts.
 *
 * Base.css builds every overlay as .modal-backdrop > .modal (+ .modal-wide /
 * .modal-sheet), with an injected .modal-x close and optional .modal-footer.
 * The design wave re-pointed the tokens (white surface, faint --line #e4e7e0,
 * bigger radius) but never restyled overlay internals, so base .btn-ghost —
 * which draws its border from var(--line) — rendered as a BORDERLESS white
 * strip, the full-width Close read as a bare bar, inner cards touched the
 * edges and titles felt cramped. This layer gives every overlay one
 * consistent Direction-A shell. CSS ONLY, scoped to [data-design="v2"]; no
 * markup / id / handler changes (a couple of class-only markers at most,
 * stripped by logic-diff) → OFF==ON stays 58/1/0.
 * ==================================================================== */

/* ---------- Shell: radius + layered shadow (padding is base's job now) ---------- */
:root[data-design="v2"] .modal {
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(18,20,18,.05), 0 24px 64px rgba(18,20,18,.20);
}
/* NOTE: modal inner padding (centred + wide + flush opt-out) lives in base.css now —
   it was a pre-existing defect affecting BOTH looks, so the padded content model
   belongs in the base shell, not here. v2 keeps only the look (radius, shadow,
   bordered ghost buttons, bottom-sheet, toasts). */

/* Title: openModal content leads with an <h3> (+ a muted sub-line <p>). Give it
   a touch more breathing room and tighter tracking so it never reads cramped. */
:root[data-design="v2"] .modal h3 { letter-spacing: -0.012em; }

/* ---------- Secondary / ghost / Close buttons: real affordance ----------
   THE core fix. base .btn-ghost borders with var(--line) → invisible in v2.
   Give overlay ghost buttons a visible 1px border + a clear hover, so the
   reconcile action rows, pickers' ghost rows and the full-width Close stop
   looking like bare white strips. Scoped to overlays only — approved P1/P2
   screens stay byte-identical. */
:root[data-design="v2"] .modal .btn-ghost,
:root[data-design="v2"] .ctr-flow .btn-ghost {
  border-color: #cdd3cb;
  background: var(--surface);
  color: var(--ink);
}
:root[data-design="v2"] .modal .btn-ghost:hover,
:root[data-design="v2"] .ctr-flow .btn-ghost:hover {
  background: var(--soft);
  border-color: var(--brand);
  color: var(--ink);
}
/* Full-width dismiss/Close at the foot of a dialog: clear button height, not a strip. */
:root[data-design="v2"] .modal .btn-block.btn-ghost { min-height: 46px; }
/* Ghost buttons that stack as a list of actions (reconcile "Fix the books" /
   "Logged wrong", move-money choices): give them left-aligned, roomy rows with
   a divider feel so each reads as a tappable choice. */
:root[data-design="v2"] .modal .btn-block.btn-ghost + .btn-block.btn-ghost { margin-top: 8px; }

/* ---------- The central close ✕: match the new radius, clearer hover ---------- */
:root[data-design="v2"] .modal-x { border-radius: 12px; background: var(--soft); }
:root[data-design="v2"] .modal-x:hover { background: var(--line); color: var(--ink); }

/* ---------- Modal footer: the action row sits with clear separation ---------- */
:root[data-design="v2"] .modal-footer { gap: 10px; margin-top: 18px; }

/* ---------- Form fields inside overlays: same field radius + focus ring ---------- */
:root[data-design="v2"] .modal .field input,
:root[data-design="v2"] .modal .field select,
:root[data-design="v2"] .modal .field textarea { border-radius: var(--radius-field); }
:root[data-design="v2"] .modal .field input:focus,
:root[data-design="v2"] .modal .field select:focus,
:root[data-design="v2"] .modal .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

/* ---------- Bottom-sheet on phone: anchor to the bottom, round the top, grabber ----------
   Excludes the full-screen .modal-sheet (peer-shop ledger — stays edge-to-edge)
   and keeps the webcam/print overlays untouched (they aren't .modal). */
@media (max-width: 560px) {
  :root[data-design="v2"] .modal-backdrop:not(:has(.modal-sheet)) {
    align-items: flex-end;
    padding: 0;
  }
  :root[data-design="v2"] .modal:not(.modal-sheet) {
    width: 100%;
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    max-height: 92vh;
    padding-top: 30px;
  }
  /* Grabber — a 40×4 pill centred at the top of the sheet. */
  :root[data-design="v2"] .modal:not(.modal-sheet)::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: #d2d7cf;
  }
  /* The ✕ shifts down a hair so it clears the grabber. */
  :root[data-design="v2"] .modal:not(.modal-sheet) .modal-x { top: 2px; }
}

/* ---------- Toasts: match the v2 panel tone (base already stacks them) ---------- */
:root[data-design="v2"] .toast-info { background: var(--panel); color: var(--on-panel); }
:root[data-design="v2"] .toast-card { border-radius: 14px; }

/* (amber "account nahi likha" card phone stack now lives in base.css — both looks) */

/* ======================================================================
 * P5 — Shared primitives (2026-11-09): extend v2 to the base components that
 * content-heavy screens inherit (buttons, tables, seg-tabs, chips/badges, stat
 * cards, FABs, page inputs) so no screen reads as old base — Mujaddad: "every
 * screen feels v2." Mirrors Tester's exact class list onto v2 tokens. CSS ONLY,
 * scoped [data-design="v2"]; no class/markup/id/handler change → v1 byte-identical
 * (flag off = attribute absent), logic-diff untouched.
 * ==================================================================== */

/* ---------- 1 · Buttons (generic variants; .btn radius is already token) ---------- */
:root[data-design="v2"] .btn-primary:hover { background: var(--brand); filter: brightness(1.08); }
:root[data-design="v2"] .btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
:root[data-design="v2"] .btn-ghost:hover { background: var(--soft); border-color: var(--brand); }
:root[data-design="v2"] .btn-danger:hover { filter: brightness(1.04); }
@media (prefers-reduced-motion: reduce) {
  :root[data-design="v2"] .btn-primary:hover,
  :root[data-design="v2"] .btn-danger:hover { filter: none; }
}

/* ---------- 2 · Tables (stock/reports/pnl/register/activity read v2) ----------
 * .table-wrap already inherits v2 radius(18) + the soft v2 --shadow via tokens;
 * add a clear row hover + a brand accent on P&L totals so dense tables feel v2. */
:root[data-design="v2"] tbody tr.clickable:hover { background: var(--soft); }
:root[data-design="v2"] .pnl-total td { border-top-color: var(--brand-2); }

/* ---------- 3 · Segmented tabs ---------- */
:root[data-design="v2"] .seg-tab {
  background: var(--soft);
  color: var(--muted);
  border-color: transparent;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}
:root[data-design="v2"] .seg-tab:hover { color: var(--ink); background: var(--brand-soft); }
:root[data-design="v2"] .seg-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
:root[data-design="v2"] .seg-intake .seg-tab { border-radius: var(--radius-field); border-color: var(--line); }
:root[data-design="v2"] .seg-intake .seg-tab.active { border-color: var(--brand); }

/* ---------- 4 · Chips & badges (badges already draw from v2 tokens → inherit) ---------- */
:root[data-design="v2"] .chip {
  background: var(--surface);
  border-color: var(--line);
  transition: border-color .14s ease, background .14s ease;
}
:root[data-design="v2"] .chip:hover { border-color: var(--brand); }
:root[data-design="v2"] .chip.active,
:root[data-design="v2"] .chip.chip-on {
  background: var(--panel);
  color: var(--on-panel);
  border-color: var(--panel);
}

/* ---------- 5 · Stat cards + kpi links (elevation on the v2 shadow) ---------- */
:root[data-design="v2"] .kpi-link { transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
:root[data-design="v2"] .kpi-link:hover { box-shadow: var(--shadow); border-color: var(--brand); }
@media (prefers-reduced-motion: reduce) {
  :root[data-design="v2"] .kpi-link { transition: none; }
  :root[data-design="v2"] .kpi-link:hover { transform: none; }
}

/* ---------- 6 · FABs (align to the v2 soft-shadow language) ---------- */
:root[data-design="v2"] .asst-fab { box-shadow: 0 10px 30px rgba(18,20,18,.18); }
:root[data-design="v2"] .asst-fab:hover { box-shadow: 0 14px 34px rgba(18,20,18,.24); }

/* ---------- 7 · Page-level inputs (non-.field + textarea) — v2 focus ring ----------
 * .field input/select already get the ring (§P1); generalise to bare inputs and
 * textareas so page search bars / inline fields / notes match. Radius is already
 * token-correct in base, so only the focus affordance is added here. */
:root[data-design="v2"] input:where(:not([type="checkbox"]):not([type="radio"])):focus,
:root[data-design="v2"] select:focus,
:root[data-design="v2"] textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
