/* AutoBordo — tema com as cores da marca (preto, verde-oliva, branco). Mobile-first. */
:root {
  --bg: #0b0c0a; --surface: #141613; --surface-2: #1b1e19; --surface-3: #23271f;
  --border: #2a2e26; --border-strong: #3a4034;
  --text: #f2f4ee; --muted: #9aa294; --faint: #6f766a;
  --primary: #a2bd3b; --primary-ink: #0b0c0a; --primary-text: #b7d14d; --primary-soft: rgba(162,189,59,.14);
  --red: #f0565b; --red-soft: rgba(240,86,91,.14);
  --orange: #f2913f; --orange-soft: rgba(242,145,63,.14);
  --amber: #e9c046; --amber-soft: rgba(233,192,70,.14);
  --green: #7fcf6a; --green-soft: rgba(127,207,106,.12);
  --c-fuel: #a2bd3b; --c-maint: #e9c046; --c-other: #6aa9e9;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 14px; --radius-sm: 10px;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --sidebar: 248px; --sidebar-min: 76px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f4ef; --surface: #ffffff; --surface-2: #f6f7f2; --surface-3: #eceee6;
  --border: #e0e3d8; --border-strong: #cdd1c3;
  --text: #121411; --muted: #5d6458; --faint: #8a9084;
  --primary: #a2bd3b; --primary-ink: #0b0c0a; --primary-text: #5f761a; --primary-soft: rgba(132,156,38,.12);
  --red: #d63c42; --red-soft: rgba(214,60,66,.1); --orange: #d9711c; --orange-soft: rgba(217,113,28,.1);
  --amber: #b8860b; --amber-soft: rgba(184,134,11,.1); --green: #3f9a3a; --green-soft: rgba(63,154,58,.1);
  --c-fuel: #849c26; --c-maint: #d4a514; --c-other: #3d86d1;
  --shadow: 0 10px 30px rgba(20,24,16,.08);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not([data-theme="light"]) {
    --bg: #f3f4ef; --surface: #ffffff; --surface-2: #f6f7f2; --surface-3: #eceee6; --border: #e0e3d8; --border-strong: #cdd1c3;
    --text: #121411; --muted: #5d6458; --faint: #8a9084; --primary-text: #5f761a; --primary-soft: rgba(132,156,38,.12);
    --red: #d63c42; --red-soft: rgba(214,60,66,.1); --orange: #d9711c; --orange-soft: rgba(217,113,28,.1);
    --amber: #b8860b; --amber-soft: rgba(184,134,11,.1); --green: #3f9a3a; --green-soft: rgba(63,154,58,.1);
    --c-fuel: #849c26; --c-maint: #d4a514; --c-other: #3d86d1; --shadow: 0 10px 30px rgba(20,24,16,.08); color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font-ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 26px; } h2 { font-size: 19px; } h3 { font-size: 16px; }
p { margin: 0 0 .8em; }
.num, .tabular { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.green-text { color: var(--primary-text); } .red-text { color: var(--red); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo-dark { display: block; } .logo-light { display: none; }
:root[data-theme="light"] .logo-dark { display: none; } :root[data-theme="light"] .logo-light { display: block; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .logo-dark { display: none; } :root:not([data-theme]) .logo-light { display: block; } }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 16px; height: 16px; } svg.i.lg { width: 26px; height: 26px; }

/* ---------- faixa de ambiente de teste (STD-002 §9.1) ---------- */
.env-banner { background: repeating-linear-gradient(45deg, #e9c046, #e9c046 12px, #d9b03a 12px, #d9b03a 24px); color: #1b1b1b; text-align: center; font: 700 12px/1 var(--font-ui); padding: 6px; letter-spacing: .06em; text-transform: uppercase; position: relative; z-index: 60; }

/* ---------- estrutura do app ---------- */
.shell { min-height: 100vh; min-height: 100dvh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; z-index: 50; transform: translateX(-100%); transition: transform .22s ease, width .22s ease; }
.sidebar .brand { display: flex; align-items: center; height: 68px; padding: 0 18px; border-bottom: 1px solid var(--border); text-decoration: none; }
.sidebar .brand img { height: 38px; width: auto; }
.sidebar .brand .mark { display: none !important; height: 38px; width: auto; }
@media (min-width: 960px) { body.nav-min .sidebar .brand .mark.logo-dark { display: block !important; } :root[data-theme="light"] body.nav-min .sidebar .brand .mark.logo-dark { display: none !important; } :root[data-theme="light"] body.nav-min .sidebar .brand .mark.logo-light { display: block !important; } }
.nav { padding: 12px 10px; overflow-y: auto; flex: 1; }
.nav .group { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 16px 12px 6px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; position: relative; white-space: nowrap; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--primary-soft); color: var(--text); }
.nav a.active svg { color: var(--primary-text); }
.nav a .badge { margin-left: auto; }
.sidebar-foot { padding: 12px 16px calc(12px + var(--safe-b)); border-top: 1px solid var(--border); font-size: 12px; color: var(--faint); display: flex; flex-direction: column; gap: 8px; }
.sidebar-foot .made { display: flex; align-items: center; gap: 6px; }
.collapse-btn { display: none; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 45; opacity: 0; pointer-events: none; transition: opacity .2s; }
body.nav-open .sidebar { transform: none; box-shadow: var(--shadow); }
body.nav-open .scrim { opacity: 1; pointer-events: auto; }

.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; padding: 10px 16px; min-height: 60px; }
.topbar .mobile-mark { height: 32px; width: auto; }
.topbar .spacer { flex: 1; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; text-decoration: none; position: relative; flex: none; }
.icon-btn:hover { border-color: var(--border-strong); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid var(--surface); }
.vehicle-switch { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 10px 6px 6px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; cursor: pointer; color: var(--text); font: inherit; max-width: 100%; }
.vehicle-switch .vs-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); flex: none; }
.vehicle-switch .vs-txt { min-width: 0; text-align: left; }
.vehicle-switch strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vehicle-switch small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; }

.main { padding: 16px 16px calc(96px + var(--safe-b)); max-width: 1180px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 6px 0 18px; flex-wrap: wrap; }
.page-head .kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--primary-text); font-weight: 600; margin-bottom: 4px; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 8px; }

/* barra inferior (celular) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + var(--safe-b)); }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; font: 500 11px/1.2 var(--font-ui); color: var(--muted); text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; position: relative; }
.tabbar a.active { color: var(--text); } .tabbar a.active svg { color: var(--primary-text); }
.tabbar .plus { width: 56px; height: 56px; margin: -24px auto 0; border-radius: 18px; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(162,189,59,.35); }
.tabbar .plus svg { width: 26px; height: 26px; stroke-width: 2.4; }
.tabbar .dot { position: absolute; top: 4px; left: calc(50% + 6px); width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

@media (min-width: 960px) {
  .sidebar { transform: none; }
  .scrim, .tabbar, .topbar .menu-btn, .topbar .mobile-mark { display: none; }
  .content { margin-left: var(--sidebar); }

  .main { padding: 24px 32px 48px; }
  .collapse-btn { display: inline-grid; }
  body.nav-min .sidebar { width: var(--sidebar-min); }
  body.nav-min .content { margin-left: var(--sidebar-min); }
  body.nav-min .nav a span, body.nav-min .nav .group, body.nav-min .sidebar-foot .made span, body.nav-min .nav a .badge, body.nav-min .plan-chip { display: none; }
  body.nav-min .nav a { justify-content: center; }
  body.nav-min .sidebar .brand { justify-content: center; padding: 0; }
  body.nav-min .sidebar .brand .full { display: none !important; } body.nav-min .sidebar .brand .mark.logo-dark { display: block; }
  :root[data-theme="light"] body.nav-min .sidebar .brand .mark.logo-dark { display: none; } :root[data-theme="light"] body.nav-min .sidebar .brand .mark.logo-light { display: block; }
}

/* ---------- componentes ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.card + .card { margin-top: 12px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.card-head h2, .card-head h3 { font-size: 16px; }
.card-head a { font-size: 13px; color: var(--primary-text); text-decoration: none; font-weight: 600; }
.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .lg-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }

.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; min-width: 0; }
.kpi .label { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.kpi .value { font: 700 24px/1.15 var(--font-title); font-variant-numeric: tabular-nums; margin-top: 6px; overflow-wrap: anywhere; }
.kpi .value small { font: 500 13px var(--font-ui); color: var(--muted); }
.kpi .hint { font-size: 12px; color: var(--muted); margin-top: 2px; }
.kpi.hero { background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%); position: relative; overflow: hidden; }
.kpi.hero .value { font-size: 28px; letter-spacing: .01em; }
@media (max-width: 420px) { .kpi .value { font-size: 20px; } .kpi.hero .value { font-size: 22px; } .kpi { padding: 12px 14px; } }
.odo { display: inline-flex; gap: 3px; }
.odo b { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 2px 5px; font: 700 22px/1.1 var(--font-title); font-variant-numeric: tabular-nums; }
.up { color: var(--red); } .down { color: var(--green); }

.alert-card { border-radius: var(--radius); padding: 4px; border: 1px solid var(--border); background: var(--surface); }
.alert-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.alert-row + .alert-row { border-top: 1px solid var(--border); border-radius: 0; }
.alert-row .pin { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.alert-row .txt { flex: 1; min-width: 0; } .alert-row .txt strong { display: block; font-size: 14px; } .alert-row .txt span { font-size: 13px; color: var(--muted); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--surface-3); color: var(--muted); }
.chip.red { background: var(--red-soft); color: var(--red); } .chip.orange { background: var(--orange-soft); color: var(--orange); }
.chip.amber { background: var(--amber-soft); color: var(--amber); } .chip.green { background: var(--green-soft); color: var(--green); }
.chip.primary { background: var(--primary-soft); color: var(--primary-text); }
.pin.red { background: var(--red); } .pin.orange { background: var(--orange); } .pin.amber { background: var(--amber); } .pin.green { background: var(--green); } .pin.muted { background: var(--faint); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; }

.list { list-style: none; margin: 0; padding: 0; }
.list > li, .list > a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--border); text-decoration: none; min-width: 0; }
.list > li:last-child, .list > a:last-child { border-bottom: 0; }
.list .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--surface-3); color: var(--muted); }
.ico.fuel { background: var(--primary-soft); color: var(--primary-text); } .ico.maintenance { background: var(--amber-soft); color: var(--amber); }
.ico.expense { background: rgba(106,169,233,.14); color: var(--c-other); } .ico.trip { background: var(--green-soft); color: var(--green); }
.list .body { flex: 1; min-width: 0; } .list .body strong { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list .body span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list .amount { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.list .amount small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.month-sep { display: flex; justify-content: space-between; padding: 18px 4px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: 600 15px var(--font-ui); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.danger { color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, var(--border)); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; } .btn.lg { height: 52px; font-size: 16px; border-radius: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { color: var(--primary-text); font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; font: inherit; padding: 0; }

/* formulários: campos grandes, teclado certo, poucos obrigatórios */
.form { display: grid; gap: 14px; }
.field label, .label-row { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.field .req { color: var(--primary-text); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text);
  font: 500 16px var(--font-ui); outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field.big input { height: 58px; font: 700 24px var(--font-title); font-variant-numeric: tabular-nums; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.field .error, .error-text { font-size: 13px; color: var(--red); margin-top: 6px; }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.input-affix { position: relative; } .input-affix .affix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.input-affix .prefix { left: 14px; right: auto; } .input-affix.has-prefix input { padding-left: 42px !important; }
.input-affix input { padding-right: 52px !important; }
.row { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-3 { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface-2); }
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border-strong); transition: .2s; cursor: pointer; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--muted); transition: .2s; }
.switch input:checked + span { background: var(--primary); border-color: var(--primary); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--primary-ink); }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-select input { position: absolute; opacity: 0; pointer-events: none; }
.chips-select label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface-2); font-size: 14px; font-weight: 500; cursor: pointer; color: var(--text); margin: 0; }
.chips-select input:checked + label { background: var(--primary-soft); border-color: var(--primary); color: var(--text); }
.chips-select input:focus-visible + label { box-shadow: 0 0 0 3px var(--primary-soft); }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type-grid label { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface-2); cursor: pointer; font-weight: 600; font-size: 14px; text-align: center; }
.type-grid label svg { width: 34px; height: 34px; stroke-width: 1.5; color: var(--muted); }
.type-grid input { position: absolute; opacity: 0; }
.type-grid input:checked + label { border-color: var(--primary); background: var(--primary-soft); }
.type-grid input:checked + label svg { color: var(--primary-text); }
details.more { border: 1px dashed var(--border-strong); border-radius: 12px; padding: 0 14px; }
details.more summary { cursor: pointer; padding: 13px 0; font-weight: 600; color: var(--muted); list-style: none; display: flex; align-items: center; gap: 8px; }
details.more summary::-webkit-details-marker { display: none; }
details.more[open] summary { color: var(--text); }
details.more > div { padding-bottom: 14px; display: grid; gap: 14px; }
.form-actions { display: flex; gap: 10px; position: sticky; bottom: calc(76px + var(--safe-b)); background: linear-gradient(to top, var(--bg) 70%, transparent); padding: 14px 0 4px; }
@media (min-width: 960px) { .form-actions { bottom: 0; } }
.form-card { max-width: 640px; }
.calc-preview { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--primary-soft); color: var(--text); font-size: 14px; }
.notice { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.notice.warn { border-color: color-mix(in srgb, var(--amber) 45%, var(--border)); background: var(--amber-soft); }
.notice.danger { border-color: color-mix(in srgb, var(--red) 45%, var(--border)); background: var(--red-soft); }
.notice.ok { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); background: var(--primary-soft); }
.flash-stack { display: grid; gap: 8px; margin-bottom: 14px; }

/* tabelas */
.table-wrap { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 11px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table td.r, .table th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* gráficos SVG */
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: var(--muted); font: 11px var(--font-ui); }
.chart .grid-line { stroke: var(--border); stroke-width: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.seg a, .seg button { padding: 5px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; background: none; border: 0; cursor: pointer; }
.seg a.on, .seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.bar-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 10px; align-items: center; font-size: 13px; padding: 6px 0; }
.bar-row .track { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.bar-row .fill { display: block; height: 100%; border-radius: 999px; background: var(--primary); }

/* garagem */
.vehicle-card { display: flex; gap: 14px; align-items: center; padding: 14px; text-decoration: none; }
.vehicle-card .ph { width: 72px; height: 72px; border-radius: 14px; background: var(--surface-3) center/cover; display: grid; place-items: center; color: var(--muted); flex: none; overflow: hidden; }
.vehicle-card .ph svg { width: 38px; height: 38px; stroke-width: 1.4; }
.vehicle-card .info { flex: 1; min-width: 0; }
.vehicle-card .info strong { font: 600 16px var(--font-title); display: block; }
.vehicle-card .meta { font-size: 13px; color: var(--muted); }
.plate { display: inline-block; font: 700 12px/1 var(--font-title); letter-spacing: .08em; padding: 4px 7px; border-radius: 5px; border: 1.5px solid var(--border-strong); background: var(--surface-2); vertical-align: middle; }
.hero-vehicle { display: grid; gap: 14px; grid-template-columns: 96px 1fr; align-items: center; }
.hero-vehicle .ph { width: 96px; height: 96px; border-radius: 18px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--border); margin: 18px 0 16px; scrollbar-width: none; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--text); border-color: var(--primary); }

/* folha inferior (botão +) */
.sheet { position: fixed; inset: 0; z-index: 70; display: none; }
.sheet.open { display: block; }
.sheet .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.sheet .panel { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface); border-radius: 22px 22px 0 0; padding: 10px 16px calc(20px + var(--safe-b)); border-top: 1px solid var(--border); animation: up .2s ease; max-width: 560px; margin: 0 auto; }
@media (min-width: 960px) { .sheet .panel { bottom: auto; top: 50%; transform: translateY(-50%); border-radius: 22px; border: 1px solid var(--border); } }
.sheet .grabber { width: 40px; height: 4px; border-radius: 4px; background: var(--border-strong); margin: 0 auto 12px; }
.sheet h3 { margin: 4px 4px 12px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); text-decoration: none; font-weight: 600; font-size: 13px; text-align: center; }
.quick-grid a .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.quick-grid a.main-action { grid-column: span 3; flex-direction: row; justify-content: center; gap: 12px; background: var(--primary); color: var(--primary-ink); border-color: var(--primary); font-size: 16px; padding: 16px; }
.quick-grid a.main-action .ico { background: rgba(0,0,0,.12); color: var(--primary-ink); }
@keyframes up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 960px) { @keyframes up { from { opacity: 0; } to { opacity: 1; } } }

/* estado vazio */
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty .art { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 26px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); }
.empty .art svg { width: 42px; height: 42px; stroke-width: 1.4; }
.empty h3 { color: var(--text); margin-bottom: 6px; }

/* páginas de entrada */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background:
  radial-gradient(900px 500px at 85% -10%, rgba(162,189,59,.16), transparent 60%), var(--bg); }
.auth-box { width: 100%; max-width: 420px; }
.auth-box .brand { display: block; margin: 0 auto 26px; width: 220px; }
.auth-box .card { padding: 24px; }
.auth-box h1 { font-size: 22px; margin-bottom: 6px; }
.auth-foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; display: grid; gap: 6px; }
.pw-wrap { position: relative; } .pw-wrap .toggle-pw { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.caps { display: none; font-size: 12px; color: var(--amber); margin-top: 6px; } .caps.on { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.steps { display: flex; gap: 6px; margin-bottom: 18px; } .steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--border); } .steps i.on { background: var(--primary); }

/* splash (STD-002 §7.2) */
#splash { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; transition: opacity .35s ease; }
#splash img { width: min(62vw, 300px); animation: pop .6s ease both; }
#splash.gone { opacity: 0; pointer-events: none; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #splash img, .sheet .panel { animation: none; } #splash, .sidebar, .content { transition: none; } }

/* impressão / PDF */
@media print {
  .sidebar, .topbar, .tabbar, .no-print, .env-banner, .form-actions { display: none !important; }
  .content { margin: 0 !important; } .main { padding: 0 !important; max-width: none; }
  body { background: #fff; color: #111; } .card, .kpi { border-color: #ddd; break-inside: avoid; }
}

.list.wrap .body strong, .list.wrap .body span { white-space: normal; }

/* =====================================================================
   Marcador animado do logo (abertura e telas de entrada)
   ===================================================================== */
.brand-mark { --ink: #f4f6f0; --green: #a2bd3b; width: 120px; height: 120px; overflow: visible; }
.brand-mark * { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .bm-ring { stroke: var(--ink); stroke-width: 6.5; stroke-dasharray: 79 21; stroke-dashoffset: -14; }
.brand-mark .bm-arc { stroke: var(--green); stroke-width: 9; }
.brand-mark .bm-inner { stroke: var(--ink); stroke-width: 2.4; }
.brand-mark .bm-ticks path { stroke: var(--ink); stroke-width: 2.4; }
.brand-mark .bm-base { stroke: var(--ink); stroke-width: 3.2; }
.brand-mark .bm-needle path { stroke: var(--green); stroke-width: 5; }
.brand-mark .bm-needle { transform-origin: 60px 60px; }
.brand-mark .bm-hub { fill: var(--green); stroke: none; }
.brand-mark .ck { stroke: var(--green); stroke-width: 3.6; }
.brand-mark .bar { stroke: var(--ink); stroke-width: 5; }
.brand-mark .bm-row { transform-box: fill-box; transform-origin: left center; }

.brand-mark.animate .bm-ring { animation: bm-draw 1s cubic-bezier(.6,.1,.2,1) both; stroke-dasharray: 79 21; }
.brand-mark.animate .bm-arc { animation: bm-arc .45s .75s ease-out both; stroke-dasharray: 100; }
.brand-mark.animate .bm-inner, .brand-mark.animate .bm-ticks, .brand-mark.animate .bm-base { animation: bm-fade .5s .35s ease both; }
.brand-mark.animate .bm-needle { animation: bm-sweep 1.1s .45s cubic-bezier(.3,1.6,.5,1) both; }
.brand-mark.animate .bm-hub { animation: bm-pop .4s .4s cubic-bezier(.3,1.6,.5,1) both; transform-origin: 60px 60px; }
.brand-mark.animate .r1 { animation: bm-row .4s 1.05s cubic-bezier(.3,1.5,.5,1) both; }
.brand-mark.animate .r2 { animation: bm-row .4s 1.2s cubic-bezier(.3,1.5,.5,1) both; }
.brand-mark.animate .r3 { animation: bm-row .4s 1.35s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes bm-draw { from { stroke-dasharray: 0 100; stroke-dashoffset: -14; } to { stroke-dasharray: 79 21; stroke-dashoffset: -14; } }
@keyframes bm-arc { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes bm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bm-sweep { from { transform: rotate(-135deg); } 70% { transform: rotate(8deg); } to { transform: rotate(0); } }
@keyframes bm-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes bm-row { from { opacity: 0; transform: translateX(-8px) scale(.6); } to { opacity: 1; transform: none; } }

/* Abertura do app instalado */
#splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; transition: opacity .45s ease, visibility .45s;
  background: radial-gradient(520px 380px at 50% 45%, rgba(162,189,59,.20), transparent 70%), #000; }
#splash .splash-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
#splash .splash-mark { width: min(36vw, 150px); height: auto; }
#splash .splash-word { width: min(48vw, 210px); animation: sp-word .6s 1.15s cubic-bezier(.2,.8,.2,1) both; }
#splash .splash-bar { position: absolute; bottom: calc(48px + env(safe-area-inset-bottom, 0px)); width: 120px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
#splash .splash-bar i { display: block; height: 100%; width: 40%; background: #a2bd3b; border-radius: 3px; animation: sp-load 1.1s ease-in-out infinite; }
#splash img { animation: none; }
#splash .splash-word { animation: sp-word .6s 1.15s cubic-bezier(.2,.8,.2,1) both; }
#splash.gone { opacity: 0; visibility: hidden; pointer-events: none; }
#splash.gone .splash-in { transform: scale(1.06); transition: transform .45s ease; }
@keyframes sp-word { from { opacity: 0; transform: translateY(10px); letter-spacing: .2em; } to { opacity: 1; transform: none; } }
@keyframes sp-load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* =====================================================================
   Telas de entrada (login, cadastro, senha)
   ===================================================================== */
.auth-body { background: var(--bg); }
.auth2 { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr; }
.auth-art { position: relative; overflow: hidden; color: #f2f4ee; background: #050605; padding: 22px 20px 54px; display: flex; flex-direction: column; align-items: center; text-align: center; isolation: isolate; }
.art-glow { position: absolute; inset: -40% -20% auto; height: 120%; z-index: -1;
  background: radial-gradient(closest-side at 50% 45%, rgba(162,189,59,.32), transparent 72%); animation: glow 7s ease-in-out infinite alternate; }
.art-road { position: absolute; inset: auto -10% 0; height: 46%; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.05) 46px 47px),
              linear-gradient(to top, rgba(162,189,59,.10), transparent);
  transform: perspective(420px) rotateX(58deg); transform-origin: bottom; }
.art-road::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px;
  background: repeating-linear-gradient(to bottom, rgba(162,189,59,.75) 0 26px, transparent 26px 56px); animation: road 1.2s linear infinite; }
.art-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; margin-top: 4px; }
.art-brand .brand-mark { width: 92px; height: 92px; filter: drop-shadow(0 8px 24px rgba(162,189,59,.25)); }
.art-word { width: 156px; animation: sp-word .6s 1s cubic-bezier(.2,.8,.2,1) both; }
.art-copy { display: none; }
.art-copy h2 { font-size: 40px; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; }
.art-copy p { color: #a8b0a2; font-size: 16px; max-width: 30em; margin: 0 0 22px; }
.art-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.art-points li { display: flex; gap: 12px; align-items: center; color: #d7dcd1; font-size: 15px; }
.art-points svg { color: #a2bd3b; width: 22px; height: 22px; padding: 8px; box-sizing: content-box; border-radius: 10px; background: rgba(162,189,59,.12); }
.art-float { display: none; position: absolute; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; text-align: left;
  background: rgba(20,22,19,.72); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.art-float strong { display: block; font: 700 15px var(--font-title); } .art-float small { color: #9aa294; font-size: 12px; }
.art-float .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; } .dot.green { background: #a2bd3b; box-shadow: 0 0 0 4px rgba(162,189,59,.2); } .dot.amber { background: #e9c046; box-shadow: 0 0 0 4px rgba(233,192,70,.2); }
.art-float.f1 { animation: float 6s ease-in-out infinite, fin .6s 1.5s both; } .art-float.f2 { animation: float 7s 1s ease-in-out infinite, fin .6s 1.7s both; }
.art-types { display: flex; gap: 14px; margin-top: 14px; color: #6f766a; animation: bm-fade .6s 1.4s both; }
.art-types svg { width: 22px; height: 22px; stroke-width: 1.5; }
@keyframes glow { from { transform: translateY(0) scale(1); opacity: .85; } to { transform: translateY(4%) scale(1.08); opacity: 1; } }
@keyframes road { from { background-position: 0 0; } to { background-position: 0 56px; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes fin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.auth-panel { position: relative; margin-top: -30px; background: var(--bg); border-radius: 28px 28px 0 0; padding: 26px 20px calc(28px + var(--safe-b)); z-index: 2; box-shadow: 0 -20px 40px rgba(0,0,0,.25); animation: sheet-up .55s .15s cubic-bezier(.2,.8,.2,1) both; }
.auth-inner { width: 100%; max-width: 420px; margin: 0 auto; }
.auth-head { margin-bottom: 20px; }
.auth-head h1 { font-size: 26px; margin: 4px 0 6px; }
.auth-head p { color: var(--muted); margin: 0; }
.auth-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-text); }
.auth-form { gap: 16px; }
.label-split { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.label-split label { margin: 0 !important; }
.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; transition: color .15s; }
.input-icon input { padding-left: 46px !important; height: 54px !important; border-radius: 14px !important; }
.input-icon:focus-within > svg { color: var(--primary-text); }
.input-icon .toggle-pw { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }
.input-icon.pw-wrap input { padding-right: 52px !important; }
.caps.on { display: flex; gap: 6px; align-items: center; }
.auth-cta { height: 56px; border-radius: 16px; font-size: 16px; box-shadow: 0 10px 24px rgba(162,189,59,.28); transition: transform .12s, box-shadow .2s, filter .2s; }
.auth-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(162,189,59,.36); }
.auth-cta:active { transform: translateY(1px); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--faint); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-alt { height: 52px; border-radius: 16px; }
.install-hint { display: flex; justify-content: center; gap: 6px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--muted); text-decoration: none; }
.kind-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kind-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.kind-toggle label { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; border: 1.5px solid var(--border-strong); background: var(--surface-2); cursor: pointer; margin: 0; transition: border-color .15s, background .15s; }
.kind-toggle label svg { width: 26px; height: 26px; color: var(--muted); flex: none; }
.kind-toggle label strong { display: block; font-size: 14px; color: var(--text); } .kind-toggle label small { color: var(--muted); font-size: 12px; }
.kind-toggle input:checked + label { border-color: var(--primary); background: var(--primary-soft); }
.kind-toggle input:checked + label svg { color: var(--primary-text); }
.row-auth { display: grid; gap: 16px; }
@media (min-width: 480px) { .row-auth { grid-template-columns: 1fr 1fr; } }
.check.terms { align-items: flex-start; font-size: 13px; color: var(--muted); } .check.terms input { margin-top: 1px; flex: none; }
.perks { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12px; color: var(--muted); }
.perks li { display: flex; gap: 5px; align-items: center; } .perks svg { color: var(--primary-text); }
.auth-center { text-align: center; }
.auth-panel .steps { margin-bottom: 14px; }
.auth-panel .auth-foot { margin-top: 26px; }
.auth-foot .made { display: inline-flex; gap: 6px; align-items: center; justify-content: center; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.auth-panel h1:not(.auth-head h1) { font-size: 24px; margin-bottom: 6px; }

@media (min-width: 960px) {
  .auth2 { grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); }
  .auth-art { position: sticky; top: 0; height: 100vh; height: 100dvh; padding: 44px 56px; align-items: flex-start; text-align: left; justify-content: space-between; }
  .art-brand { flex-direction: row; gap: 14px; }
  .art-brand .brand-mark { width: 64px; height: 64px; }
  .art-word { width: 140px; }
  .art-copy { display: block; max-width: 520px; animation: fin .7s .5s both; }
  .art-float { display: flex; }
  .art-float.f1 { right: 8%; top: 16%; } .art-float.f2 { right: 12%; bottom: 14%; }
  .art-types { margin: 0; }
  .art-glow { inset: 10% -30% auto 10%; }
  .auth-panel { margin: 0; border-radius: 0; box-shadow: none; display: grid; place-items: center; padding: 48px 40px; animation: fin .6s .1s both; }
}
@media (min-width: 960px) and (max-height: 760px) { .art-float { display: none; } .art-copy h2 { font-size: 32px; } }
@media (prefers-reduced-motion: reduce) {
  .brand-mark.animate *, .art-glow, .art-road::after, .art-float, .auth-panel, .art-word, .art-copy, .art-types, #splash * { animation: none !important; }
}
.auth-panel { border-top: 1px solid rgba(162,189,59,.18); }
@media (min-width: 960px) { .auth-panel { border-top: 0; border-left: 1px solid var(--border); } }

/* ---------- menu lateral com submenus ---------- */
.nav-group { margin: 2px 0; }
.nav-toggle { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--muted); font: 500 15px var(--font-ui); cursor: pointer; text-align: left; white-space: nowrap; }
.nav-toggle:hover { background: var(--surface-2); color: var(--text); }
.nav-toggle > span { flex: 1; }
.nav-toggle .chev { transition: transform .2s ease; color: var(--faint); }
.nav-group.open > .nav-toggle { color: var(--text); }
.nav-group.open > .nav-toggle .chev { transform: rotate(180deg); }
.nav-group.current > .nav-toggle > svg:first-child { color: var(--primary-text); }
.nav-toggle .badge { margin-left: 0; }
.nav .sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.nav-group.open > .sub { grid-template-rows: 1fr; }
.nav .sub-in { overflow: hidden; padding-left: 22px; margin-left: 20px; border-left: 1px solid var(--border); }
.nav .sub-title { display: none; }
.nav .sub a { padding: 8px 10px; font-size: 14px; margin: 1px 0; gap: 10px; }
.nav .sub a span { overflow: hidden; text-overflow: ellipsis; }
.nav .sub a.active { background: var(--primary-soft); color: var(--text); }
.nav .sub a.active svg { color: var(--primary-text); }
.nav-group.open > .sub .sub-in { padding-top: 2px; padding-bottom: 6px; }
@media (min-width: 960px) {
  /* menu minimizado: o submenu abre flutuando ao lado */
  body.nav-min .nav { overflow: visible; }
  body.nav-min .sidebar { overflow: visible; }
  body.nav-min .nav-toggle { justify-content: center; }
  body.nav-min .nav-toggle > span, body.nav-min .nav-toggle .chev, body.nav-min .nav-toggle .badge { display: none; }
  body.nav-min .nav-group { position: relative; }
  body.nav-min .nav .sub { position: absolute; left: calc(100% + 12px); top: -4px; display: none; z-index: 60; }
  body.nav-min .nav-group.open > .sub { display: block; }
  body.nav-min .nav .sub-in { overflow: visible; margin: 0; padding: 8px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); min-width: 230px; }
  body.nav-min .nav .sub-title { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); padding: 6px 10px 4px; }
  body.nav-min .nav .sub a { justify-content: flex-start; }
  body.nav-min .nav .sub a span, body.nav-min .nav .sub a .badge { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .nav .sub, .nav-toggle .chev { transition: none; } }
body.has-env .sidebar { top: 26px; }

/* detalhes do serviço e especificações */
.detail-box, .spec-box { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2, var(--primary-soft)); }
.detail-box[hidden] { display: none; }
.detail-box .label-row, .spec-box .label-row { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.next-box { border-color: var(--primary); }
.detail-line { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.spec-grid div { padding: 10px 12px; border-radius: 10px; background: var(--primary-soft); }
.spec-grid small { display: block; color: var(--muted); font-size: 12px; }
.badge-dot { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; align-items: center; justify-content: center; border-radius: 9px; background: var(--primary); color: #000; font-size: 11px; font-weight: 700; margin-left: auto; }
@media (max-width: 560px) { .row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
[hidden] { display: none !important; }
