/* =========================================================
   D&A Garage — design system
   Concept: "Pit Lane" — a workshop diagnostic sheet meets
   road signage. Petrol blue + signal orange on cool concrete
   neutrals; dashed "lane line" dividers; checklist numbering
   where content is genuinely sequential (inspection points,
   booking steps).
   Type: Unbounded (display) / Manrope (body) / IBM Plex Mono
   (data — prices, times, slot codes). All three carry full
   Cyrillic + Latin so DE/RU/EN render identically.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;700;800&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* --- color: light (default) --- */
  --bg: #EEF1F1;
  --bg-raised: #F7F8F7;
  --surface: #FFFFFF;
  --surface-2: #E7EBEA;
  --text: #12181B;
  --text-muted: #55636A;
  --text-faint: #8A969C;
  --border: #D3DADA;
  --border-strong: #B7C1C1;

  --brand: #123C4B;
  --brand-strong: #0C2B36;
  --brand-tint: #DCE7E9;
  --accent: #E2622B;
  --accent-strong: #C6501E;
  --accent-tint: #FBE3D6;
  --good: #2F7A5E;
  --good-tint: #DCEEE6;
  --warn: #B5860B;
  --warn-tint: #F6ECD2;
  --bad: #B23A34;
  --bad-tint: #F6DEDC;

  --shadow-1: 0 1px 2px rgba(15,26,30,.06), 0 1px 1px rgba(15,26,30,.04);
  --shadow-2: 0 8px 24px rgba(15,26,30,.10), 0 2px 6px rgba(15,26,30,.06);

  --font-display: 'Unbounded', 'Arial Black', sans-serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --container: 1180px;
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg: #0E1417;
    --bg-raised: #131A1E;
    --surface: #171F23;
    --surface-2: #1E272C;
    --text: #EAEEEF;
    --text-muted: #9AA6AB;
    --text-faint: #6B767B;
    --border: #2A353A;
    --border-strong: #3B484E;

    --brand: #6FB6C8;
    --brand-strong: #8FCADA;
    --brand-tint: #1B2E33;
    --accent: #F0824C;
    --accent-strong: #F79A6C;
    --accent-tint: #33241B;
    --good: #59B992;
    --good-tint: #1B2E27;
    --warn: #D8AF4A;
    --warn-tint: #332C18;
    --bad: #DE6E67;
    --bad-tint: #34201F;

    --shadow-1: 0 1px 2px rgba(0,0,0,.35);
    --shadow-2: 0 12px 30px rgba(0,0,0,.45);
  }
}
:root[data-theme="dark"]{
  --bg: #0E1417;
  --bg-raised: #131A1E;
  --surface: #171F23;
  --surface-2: #1E272C;
  --text: #EAEEEF;
  --text-muted: #9AA6AB;
  --text-faint: #6B767B;
  --border: #2A353A;
  --border-strong: #3B484E;

  --brand: #6FB6C8;
  --brand-strong: #8FCADA;
  --brand-tint: #1B2E33;
  --accent: #F0824C;
  --accent-strong: #F79A6C;
  --accent-tint: #33241B;
  --good: #59B992;
  --good-tint: #1B2E27;
  --warn: #D8AF4A;
  --warn-tint: #332C18;
  --bad: #DE6E67;
  --bad-tint: #34201F;

  --shadow-1: 0 1px 2px rgba(0,0,0,.35);
  --shadow-2: 0 12px 30px rgba(0,0,0,.45);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }
h1,h2,h3,h4{ font-family:var(--font-display); line-height:1.12; margin:0; text-wrap:balance; letter-spacing:.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; border-radius:4px; }
.mono{ font-family:var(--font-mono); font-variant-numeric:tabular-nums; }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.overflow-x{ overflow-x:auto; }

/* ---------- lane divider — dashed road-marking rule ---------- */
.lane-rule{
  height:0; border-top:3px dashed var(--border-strong);
  opacity:.6; margin:0;
}
.eyebrow{
  font-family:var(--font-mono); font-size:12.5px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--accent);
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--accent); display:inline-block; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:700; font-size:15px;
  padding:13px 24px; border-radius:999px; border:2px solid transparent;
  cursor:pointer; transition:transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(.97); }
.btn-accent{ background:var(--accent); color:#fff; }
.btn-accent:hover{ background:var(--accent-strong); }
.btn-outline{ background:transparent; border-color:var(--border-strong); color:var(--text); }
.btn-outline:hover{ border-color:var(--accent); color:var(--accent); }
.btn-brand{ background:var(--brand); color:#fff; }
.btn-brand:hover{ background:var(--brand-strong); }
.btn-ghost{ background:transparent; color:var(--text-muted); padding:10px 14px; }
.btn-ghost:hover{ color:var(--text); }
.btn-danger{ background:var(--bad); color:#fff; }
.btn-sm{ padding:8px 16px; font-size:13.5px; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.45; cursor:not-allowed; }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:40;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; height:78px; gap:20px; }
.brand-mark{ display:flex; align-items:center; gap:12px; }
.brand-mark .logo-svg{ width:44px; height:44px; flex:none; }
.brand-mark .word{ font-family:var(--font-display); font-weight:700; font-size:19px; letter-spacing:.01em; line-height:1.1; }
.brand-mark .word span{ display:block; font-family:var(--font-mono); font-size:10.5px; font-weight:500; letter-spacing:.16em; color:var(--text-muted); text-transform:uppercase; }

.main-nav{ display:flex; align-items:center; gap:4px; }
.main-nav a{
  font-weight:600; font-size:14.5px; padding:10px 14px; border-radius:999px;
  color:var(--text-muted); transition:color .15s, background .15s;
}
.main-nav a:hover{ color:var(--text); }
.main-nav a.active{ color:var(--brand); background:var(--brand-tint); }

.header-actions{ display:flex; align-items:center; gap:10px; }
.lang-switch{ display:flex; gap:2px; background:var(--surface-2); padding:3px; border-radius:999px; }
.lang-switch button{
  border:none; background:transparent; font-family:var(--font-mono); font-weight:600; font-size:12.5px;
  padding:7px 10px; border-radius:999px; color:var(--text-muted); cursor:pointer; letter-spacing:.04em;
}
.lang-switch button.active{ background:var(--surface); color:var(--brand); box-shadow:var(--shadow-1); }

.nav-toggle{ display:none; background:none; border:none; color:var(--text); padding:8px; cursor:pointer; }

/* ---------- footer ---------- */
.site-footer{ border-top:1px solid var(--border); margin-top:96px; padding:56px 0 32px; background:var(--bg-raised); }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; }
.footer-col h4{ font-family:var(--font-mono); font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--text-faint); margin-bottom:14px; font-weight:600; }
.footer-col a, .footer-col p{ color:var(--text-muted); font-size:14.5px; display:block; margin-bottom:9px; }
.footer-col a:hover{ color:var(--accent); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; margin-top:44px; padding-top:24px; border-top:1px solid var(--border); font-size:13px; color:var(--text-faint); flex-wrap:wrap; gap:10px; }

/* ---------- hero ---------- */
.hero{ padding:64px 0 72px; }
.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(34px,4.6vw,58px); margin:18px 0 20px; }
.hero h1 em{ font-style:normal; color:var(--accent); }
.hero .lede{ font-size:18px; color:var(--text-muted); max-width:52ch; margin-bottom:30px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:0; margin-top:40px; border-top:1px solid var(--border); padding-top:24px; }
.hero-stat{ flex:1; padding-right:20px; }
.hero-stat b{ font-family:var(--font-mono); font-size:26px; display:block; color:var(--brand); }
.hero-stat span{ font-size:12.5px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em; }

.hero-panel{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-l);
  padding:26px; box-shadow:var(--shadow-2); position:relative;
}
.hero-panel .tag{
  position:absolute; top:-14px; left:26px; background:var(--accent); color:#fff;
  font-family:var(--font-mono); font-size:11.5px; font-weight:600; letter-spacing:.08em;
  padding:6px 14px; border-radius:999px; text-transform:uppercase;
}
.diag-row{ display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px dashed var(--border); font-size:14.5px; }
.diag-row:last-child{ border-bottom:none; }
.diag-row .ok{ color:var(--good); font-family:var(--font-mono); font-size:13px; font-weight:600; }

/* ---------- section shell ---------- */
.section{ padding:72px 0; }
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:38px; }
.section-head h2{ font-size:clamp(26px,3.2vw,38px); margin-top:12px; }
.section-head .sub{ color:var(--text-muted); font-size:15.5px; max-width:46ch; }

/* ---------- service tickets ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.ticket{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-m);
  padding:26px; display:flex; flex-direction:column; gap:16px; transition:border-color .15s, transform .15s, box-shadow .15s;
}
.ticket:hover{ border-color:var(--border-strong); box-shadow:var(--shadow-1); transform:translateY(-2px); }
.ticket-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.ticket-icon{ width:46px; height:46px; border-radius:12px; background:var(--brand-tint); color:var(--brand); display:flex; align-items:center; justify-content:center; flex:none; }
.ticket-icon svg{ width:24px; height:24px; }
.ticket-num{ font-family:var(--font-mono); font-size:12px; color:var(--text-faint); }
.ticket h3{ font-size:19px; font-family:var(--font-body); font-weight:800; }
.ticket p.desc{ color:var(--text-muted); font-size:14.5px; }
.ticket-tear{ border-top:2px dashed var(--border); position:relative; margin-top:2px; }
.ticket-meta{ display:flex; justify-content:space-between; align-items:center; padding-top:2px; }
.ticket-price{ font-family:var(--font-mono); font-weight:600; font-size:19px; color:var(--brand); }
.ticket-dur{ font-size:12.5px; color:var(--text-faint); }
.ticket-cta{ margin-top:2px; }

/* ---------- product cards ---------- */
.product-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-m); overflow:hidden;
  display:flex; flex-direction:column; transition:transform .15s, box-shadow .15s;
}
.product-card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-1); }
.product-media{ aspect-ratio:4/3; background:var(--surface-2); display:flex; align-items:center; justify-content:center; color:var(--text-faint); position:relative; }
.product-media img{ width:100%; height:100%; object-fit:cover; }
.product-body{ padding:20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-cat{ font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--accent); }
.product-body h3{ font-size:16.5px; font-family:var(--font-body); font-weight:800; }
.product-body p{ color:var(--text-muted); font-size:13.5px; flex:1; }
.product-foot{ display:flex; justify-content:space-between; align-items:center; margin-top:6px; }
.product-price{ font-family:var(--font-mono); font-weight:600; color:var(--brand); }
.stock-badge{ font-size:11.5px; font-family:var(--font-mono); padding:3px 9px; border-radius:999px; }
.stock-badge.in{ background:var(--good-tint); color:var(--good); }
.stock-badge.out{ background:var(--bad-tint); color:var(--bad); }

/* ---------- filter chips ---------- */
.chip-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:28px; }
.chip{
  font-family:var(--font-mono); font-size:12.5px; font-weight:600; padding:8px 14px; border-radius:999px;
  border:1px solid var(--border-strong); background:var(--surface); color:var(--text-muted); cursor:pointer;
}
.chip.active{ background:var(--brand); border-color:var(--brand); color:#fff; }

/* ---------- booking wizard ---------- */
.wizard-head{ display:flex; align-items:center; gap:0; margin-bottom:44px; }
.wizard-step{ display:flex; align-items:center; gap:10px; flex:1; }
.wizard-step .dot{
  width:34px; height:34px; border-radius:50%; border:2px solid var(--border-strong); color:var(--text-faint);
  font-family:var(--font-mono); font-weight:600; font-size:13.5px; display:flex; align-items:center; justify-content:center; flex:none;
  background:var(--surface); transition:all .2s;
}
.wizard-step .label{ font-size:13px; font-weight:600; color:var(--text-faint); white-space:nowrap; }
.wizard-step .line{ height:0; border-top:2px dashed var(--border-strong); flex:1; margin:0 6px; }
.wizard-step:last-child .line{ display:none; }
.wizard-step.done .dot{ background:var(--good); border-color:var(--good); color:#fff; }
.wizard-step.done .label{ color:var(--good); }
.wizard-step.current .dot{ background:var(--accent); border-color:var(--accent); color:#fff; }
.wizard-step.current .label{ color:var(--text); }

.booking-panel{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-l); padding:36px; box-shadow:var(--shadow-1); }
.pick-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; }
.pick-card{
  border:1.5px solid var(--border); border-radius:var(--radius-s); padding:16px; cursor:pointer; text-align:left;
  background:var(--bg-raised); transition:border-color .15s, background .15s;
}
.pick-card:hover{ border-color:var(--border-strong); }
.pick-card.selected{ border-color:var(--accent); background:var(--accent-tint); }
.pick-card h4{ font-size:14.5px; font-family:var(--font-body); font-weight:800; margin-bottom:4px; }
.pick-card .p{ font-family:var(--font-mono); font-size:13px; color:var(--brand); }

.slot-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(84px,1fr)); gap:10px; }
.slot-btn{
  font-family:var(--font-mono); font-weight:600; font-size:14px; padding:10px 6px; text-align:center;
  border:1.5px solid var(--border); border-radius:var(--radius-s); background:var(--bg-raised); cursor:pointer; color:var(--text);
}
.slot-btn:hover{ border-color:var(--border-strong); }
.slot-btn.selected{ background:var(--accent); border-color:var(--accent); color:#fff; }
.slot-btn[disabled]{ opacity:.35; cursor:not-allowed; text-decoration:line-through; }

.date-strip{ display:flex; gap:10px; overflow-x:auto; padding-bottom:6px; }
.date-chip{
  flex:none; width:76px; text-align:center; border:1.5px solid var(--border); border-radius:var(--radius-s);
  padding:12px 6px; cursor:pointer; background:var(--bg-raised);
}
.date-chip .dow{ font-size:11px; text-transform:uppercase; color:var(--text-faint); font-family:var(--font-mono); }
.date-chip .dnum{ font-family:var(--font-display); font-size:19px; margin:4px 0; }
.date-chip.selected{ border-color:var(--accent); background:var(--accent-tint); }
.date-chip[disabled]{ opacity:.3; cursor:not-allowed; }

.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ display:flex; flex-direction:column; gap:6px; }
.field.full{ grid-column:1/-1; }
.field label{ font-size:13px; font-weight:700; color:var(--text-muted); }
.field input, .field select, .field textarea{
  font-family:var(--font-body); font-size:15px; padding:12px 14px; border-radius:var(--radius-s);
  border:1.5px solid var(--border-strong); background:var(--bg-raised); color:var(--text); width:100%;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--brand); }
.field textarea{ resize:vertical; min-height:88px; }
.hint{ font-size:12.5px; color:var(--text-faint); }
.error-text{ font-size:12.5px; color:var(--bad); }

.confirm-box{ text-align:center; padding:40px 20px; }
.confirm-box .check{ width:74px; height:74px; margin:0 auto 20px; border-radius:50%; background:var(--good-tint); color:var(--good); display:flex; align-items:center; justify-content:center; }
.confirm-box .check svg{ width:36px; height:36px; }
.summary-list{ text-align:left; max-width:380px; margin:26px auto 0; background:var(--bg-raised); border-radius:var(--radius-s); padding:18px 20px; }
.summary-list .row{ display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px dashed var(--border); font-size:14.5px; }
.summary-list .row:last-child{ border-bottom:none; }
.summary-list .row span:first-child{ color:var(--text-muted); }

.wizard-nav{ display:flex; justify-content:space-between; margin-top:32px; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.hours-table{ width:100%; border-collapse:collapse; }
.hours-table td{ padding:10px 0; border-bottom:1px dashed var(--border); font-size:14.5px; }
.hours-table td:first-child{ color:var(--text-muted); font-weight:600; }
.hours-table td:last-child{ text-align:right; font-family:var(--font-mono); }
.hours-table tr.today td{ color:var(--accent); font-weight:700; }
.map-frame{ width:100%; aspect-ratio:4/3; border-radius:var(--radius-m); border:1px solid var(--border); overflow:hidden; }
.map-frame iframe{ width:100%; height:100%; border:0; }

/* ---------- status pill (shared with admin) ---------- */
.status-pill{ font-family:var(--font-mono); font-size:11.5px; font-weight:600; padding:4px 10px; border-radius:999px; text-transform:uppercase; letter-spacing:.03em; display:inline-block; }
.status-pending{ background:var(--warn-tint); color:var(--warn); }
.status-confirmed{ background:var(--good-tint); color:var(--good); }
.status-done{ background:var(--brand-tint); color:var(--brand); }
.status-cancelled{ background:var(--bad-tint); color:var(--bad); }

/* ---------- toast ---------- */
.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(0); z-index:200;
  background:var(--text); color:var(--bg); padding:13px 22px; border-radius:999px; font-size:14px; font-weight:600;
  box-shadow:var(--shadow-2); opacity:0; pointer-events:none; transition:opacity .2s, transform .2s;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(-8px); }

/* ---------- admin shell ---------- */
.admin-shell{ display:grid; grid-template-columns:230px 1fr; min-height:100vh; }
.admin-side{ background:var(--brand-strong); color:#EAF3F4; padding:24px 18px; display:flex; flex-direction:column; }
.admin-side .brand-mark .word{ color:#fff; }
.admin-side .brand-mark .word span{ color:#9FC2CA; }
.admin-side nav{ margin-top:32px; display:flex; flex-direction:column; gap:4px; flex:1; }
.admin-side nav a{ padding:11px 14px; border-radius:10px; font-size:14.5px; font-weight:600; color:#BFDADF; display:flex; align-items:center; gap:10px; }
.admin-side nav a:hover{ background:rgba(255,255,255,.06); color:#fff; }
.admin-side nav a.active{ background:rgba(255,255,255,.12); color:#fff; }
.admin-side .foot{ font-size:12.5px; color:#7FA6AE; }
.admin-main{ padding:34px 40px; max-width:1180px; }
.admin-topbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:28px; flex-wrap:wrap; gap:14px;}
.admin-topbar h1{ font-size:26px; }
.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:28px; }
.stat-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-m); padding:18px 20px; }
.stat-card b{ font-family:var(--font-mono); font-size:26px; display:block; color:var(--brand); }
.stat-card span{ font-size:12.5px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.05em; }

.panel{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-m); padding:24px; margin-bottom:24px; }
.panel-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; gap:12px; flex-wrap:wrap; }
.panel-head h2{ font-family:var(--font-body); font-size:18px; font-weight:800; }

table.data-table{ width:100%; border-collapse:collapse; font-size:14px; }
table.data-table th{ text-align:left; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-faint); font-weight:600; padding:0 12px 10px; border-bottom:1px solid var(--border); }
table.data-table td{ padding:12px; border-bottom:1px solid var(--border); vertical-align:middle; }
table.data-table tr:last-child td{ border-bottom:none; }
table.data-table td.actions{ display:flex; gap:6px; justify-content:flex-end; }

.login-screen{ min-height:100vh; display:flex; align-items:center; justify-content:center; background:var(--bg); padding:20px; }
.login-card{ width:100%; max-width:380px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-l); padding:36px; box-shadow:var(--shadow-2); }

.modal-backdrop{ position:fixed; inset:0; background:rgba(10,16,18,.55); display:flex; align-items:center; justify-content:center; z-index:100; padding:20px; }
.modal{ background:var(--surface); border-radius:var(--radius-l); padding:28px; width:100%; max-width:560px; max-height:88vh; overflow-y:auto; box-shadow:var(--shadow-2); }
.modal-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.modal-head h2{ font-size:19px; font-family:var(--font-body); font-weight:800; }
.checkbox-row{ display:flex; align-items:center; gap:8px; font-size:14px; }
.day-row{ display:grid; grid-template-columns:110px 1fr 100px 100px; gap:10px; align-items:center; padding:8px 0; border-bottom:1px dashed var(--border); font-size:14px; }
.day-row:last-child{ border-bottom:none; }
.tag-list{ display:flex; gap:8px; flex-wrap:wrap; }
.tag-item{ display:flex; align-items:center; gap:6px; background:var(--bad-tint); color:var(--bad); font-family:var(--font-mono); font-size:12.5px; padding:5px 8px 5px 12px; border-radius:999px; }
.tag-item button{ background:none; border:none; color:inherit; cursor:pointer; font-weight:700; }

.empty-state{ text-align:center; padding:44px 20px; color:var(--text-faint); }

/* ---------- utility ---------- */
.center{ text-align:center; }
.mt-0{ margin-top:0 !important; }
.loading-dots::after{ content:"\2026"; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .hero-grid{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
  .admin-shell{ grid-template-columns:1fr; }
  .admin-side{ position:sticky; top:0; z-index:30; flex-direction:row; align-items:center; padding:14px 18px; }
  .admin-side nav{ margin-top:0; flex-direction:row; overflow-x:auto; }
  .admin-side .foot{ display:none; }
  .admin-main{ padding:22px 18px; }
}
@media (max-width: 760px){
  .main-nav{ position:fixed; top:78px; left:0; right:0; background:var(--bg); border-bottom:1px solid var(--border);
    flex-direction:column; align-items:stretch; padding:8px 20px 16px; display:none; gap:2px; box-shadow:var(--shadow-2); }
  .main-nav.open{ display:flex; }
  .main-nav a{ padding:12px 14px; }
  .nav-toggle{ display:block; }
  .grid-3, .grid-2{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:28px; }
  .form-grid{ grid-template-columns:1fr; }
  .stat-row{ grid-template-columns:1fr 1fr; }
  .day-row{ grid-template-columns:1fr; gap:4px; padding:12px 0; }
}
