/* Layout: two unrelated company sites over one engine. Each site owns its tokens and markup; shared components read only --w-*. */
:root {
  --bg: #EEF3F7; --surface: #FFFFFF; --fg: #0F1C2B; --muted: #4C5C6D; --line: #C8D4DE;
  --accent: #C2410C; --on-accent: #FFFFFF;
  --w-radius: 0px; --w-btn-radius: 0px; --w-btn-transform: uppercase; --w-btn-weight: 800;
  --display: Impact, "HelveticaNeue-CondensedBlack", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  --gl: max(16px, env(safe-area-inset-left, 0px)); --gr: max(16px, env(safe-area-inset-right, 0px));
}
:root[data-site="nord"] { --cta: #FF7A1F; --cta-fg: #1C0C02; --w-radius: 8px; --w-btn-radius: 10px; --w-btn-transform: none; --w-btn-weight: 700; --bg: #EEF3F7; --surface: #FFFFFF; --fg: #0F1C2B; --muted: #4C5C6D; --line: #C8D4DE; --accent: #C2410C; --on-accent: #FFFFFF; --band: #0E1E33; --band-fg: #EAF1F7; --band-muted: #A9BACB; }
:root[data-site="garage"] { --bg: #F2F5F8; --surface: #FFFFFF; --fg: #12161C; --muted: #525C68; --line: #CCD4DD; --accent: #0B55B8; --on-accent: #FFFFFF; --sign: #0B55B8; --road: #2B3038; --w-radius: 12px; --w-btn-radius: 12px; --w-btn-transform: none; --w-btn-weight: 700; --body: "Helvetica Neue", Arial, Roboto, sans-serif; --display: "Helvetica Neue", Arial, Roboto, sans-serif; }
@media (prefers-color-scheme: dark) {
  :root[data-site="nord"]:not([data-theme="light"]) { --bg: #0B1420; --surface: #13202F; --fg: #E6EDF3; --muted: #93A4B5; --line: #26384A; --accent: #FF8A3D; --on-accent: #1C0C02; --band: #07101B; color-scheme: dark; }
  :root[data-site="garage"]:not([data-theme="light"]) { --bg: #12161C; --surface: #1C232C; --fg: #EAEEF2; --muted: #9AA6B2; --line: #333E4A; --accent: #6CB0FF; --on-accent: #06162B; --road: #0A0D11; color-scheme: dark; }
}
:root[data-site="nord"][data-theme="dark"] { --bg: #0B1420; --surface: #13202F; --fg: #E6EDF3; --muted: #93A4B5; --line: #26384A; --accent: #FF8A3D; --on-accent: #1C0C02; --band: #07101B; color-scheme: dark; }
:root[data-site="garage"][data-theme="dark"] { --bg: #12161C; --surface: #1C232C; --fg: #EAEEF2; --muted: #9AA6B2; --line: #333E4A; --accent: #6CB0FF; --on-accent: #06162B; --road: #0A0D11; color-scheme: dark; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.5 var(--body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: #05090B; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.num { font-variant-numeric: tabular-nums; }

/* demo chrome */
.demobar { background: #05090B; color: #DDE5EA; font: 400 .8125rem/1.3 system-ui, -apple-system, Arial, sans-serif; }
.demobar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-block: 6px; }
.demobar button { min-height: 34px; padding: 0 10px; background: none; border: 1px solid transparent; color: inherit; font-size: .8125rem; }
.demobar button[aria-pressed="true"] { border-color: #DDE5EA; }
.demobar .gap { flex: 1; }

/* shared: booking widget */
.bk { background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: var(--w-radius); padding: 16px; display: grid; gap: 16px; min-width: 0; }
.bk-prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bk-prog i { height: 4px; border-radius: 4px; background: var(--line); }
.bk-prog i[data-on="true"] { background: var(--accent); }
.bk-q { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.bk-list { display: grid; gap: 8px; }
.bk-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 14px; background: transparent; border: 1px solid var(--line); border-radius: var(--w-radius); text-align: left; }
.bk-cat { margin-top: 6px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.bk-opt:hover { border-color: var(--accent); }
.bk-unsure { border-style: dashed; font-weight: 600; }
.bk-r { flex: 0 0 auto; text-align: right; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.bk-hint { color: var(--muted); font-size: .875rem; }
[data-component="booking"] { scroll-margin-top: 66px; }
.bk-picked { display: grid; gap: 6px; padding: 10px 12px; background: var(--bg); border-radius: var(--w-radius); font-size: .9375rem; }
.bk-picked > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.bk-picked small { color: var(--muted); font-size: inherit; }
.bk-soon { display: grid; gap: 2px; width: 100%; min-height: 64px; padding: 12px 16px; background: var(--bg); border: 2px solid var(--accent); border-radius: var(--w-radius); text-align: left; }
.bk-soon span { color: var(--muted); font-size: .875rem; }
.bk-soon b { font-size: 1.25rem; line-height: 1.25; }
.bk-link { padding: 0; min-height: 24px; background: none; border: 0; color: var(--accent); text-decoration: underline; font-size: .9375rem; }
.bk-dates { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; }
.bk-date { flex: 0 0 auto; min-width: 66px; min-height: 60px; padding: 6px; background: transparent; border: 1px solid var(--line); border-radius: var(--w-radius); line-height: 1.2; font-variant-numeric: tabular-nums; }
.bk-date small { display: block; color: var(--muted); font-size: .75rem; }
.bk-date:disabled { opacity: .4; cursor: not-allowed; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.bk-time { min-height: 48px; background: transparent; border: 1px solid var(--line); border-radius: var(--w-radius); font-variant-numeric: tabular-nums; font-weight: 600; }
.bk-time:hover:not(:disabled) { border-color: var(--accent); }
.bk-time:disabled { color: var(--muted); font-weight: 400; text-decoration: line-through; border-style: dashed; cursor: not-allowed; }
.bk-date[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.bk-date[aria-pressed="true"] small { color: inherit; }
.bk-f { display: grid; gap: 5px; }
.bk-f label { font-size: .875rem; font-weight: 600; }
.bk-f label small { color: var(--muted); font-weight: 400; font-size: inherit; }
.bk-f input[type="text"], .bk-f input[type="tel"] { width: 100%; min-height: 48px; padding: 0 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--w-radius); }
.bk-f [aria-invalid="true"] { border-color: #C81E1E; }
.bk-err { color: #C81E1E; font-size: .875rem; }
:root[data-theme="dark"] .bk-err { color: #FF9C9C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bk-err { color: #FF9C9C; } }
.bk-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: .9375rem; }
.bk-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.bk-check input[aria-invalid="true"] { outline: 2px solid #C81E1E; outline-offset: 1px; }
.bk-hp { position: absolute; left: -9999px; }
.bk-go { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 0 18px; background: var(--accent); color: var(--on-accent); border: 0; border-radius: var(--w-btn-radius); font-weight: var(--w-btn-weight); text-transform: var(--w-btn-transform); text-decoration: none; text-align: center; }
.bk-go:hover { filter: brightness(1.08); }
.bk-go.alt { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--fg); }
.bk-done { display: grid; gap: 10px; }
.bk-done h3 { font-size: 1.625rem; line-height: 1.15; }
.bk-done .bk-no { color: var(--muted); font-size: .875rem; }

/* shared: footer + phone bar + legal + toast */
.shared-foot { padding-block: 24px 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.shared-foot .wrap { display: grid; gap: 6px; }
.shared-foot button { padding: 0; background: none; border: 0; color: inherit; text-decoration: underline; font-size: .875rem; text-align: left; }
.bar[hidden] { display: none; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px var(--gr) calc(8px + env(safe-area-inset-bottom, 0px)) var(--gl); background: var(--bg); border-top: 1px solid var(--line); }
dialog { max-width: min(640px, calc(100vw - 32px)); padding: 20px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: var(--w-radius); }
dialog::backdrop { background: rgba(5, 9, 11, .6); }
dialog h2 { font-size: 1.25rem; margin-bottom: 12px; }
dialog p { margin-bottom: 10px; }
.flag { padding: 8px 10px; border: 1px solid currentColor; font-size: .875rem; }
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 20; max-width: calc(100vw - 32px); padding: 10px 16px; background: var(--fg); color: var(--bg); font-size: .875rem; }
.show-shared [data-shared] { outline: 3px dashed #E5007D; outline-offset: 3px; }

/* ---------- site 1: Северный бокс ---------- */
.ph { display: grid; place-items: center; padding: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--line) 65%, var(--surface)), var(--line)); color: var(--muted); font-size: .8125rem; line-height: 1.3; text-align: center; }
.n-tag { display: inline-block; padding: 1px 6px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); border-radius: 4px; font-size: .6875rem; font-weight: 500; vertical-align: 1px; }
.n-top { display: none; background: var(--band); color: var(--band-fg); font-size: .8125rem; }
.n-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.n-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; }
.n-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.125rem; line-height: 1.05; letter-spacing: -.01em; text-decoration: none; }
.n-logo svg { width: 28px; height: 28px; flex: none; }
.n-logo small { display: none; font-size: .75rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.n-nav { display: none; gap: 20px; font-size: .9375rem; font-weight: 500; }
.n-nav a { text-decoration: none; }
.n-nav a:hover { color: var(--accent); }
.n-tel { font-weight: 700; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.n-headbtn { display: none; }
.n-hero { background: var(--band); color: var(--band-fg); }
.n-hero-in { display: grid; gap: 20px; padding-block: 22px 0; }
.n-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .9375rem; color: var(--band-muted); }
.n-rating b { color: #FFC24D; font-size: 1.0625rem; }
.n-rating .n-tag { background: transparent; color: var(--band-muted); border-color: currentColor; }
.n-hero h1 { margin-top: 8px; font-weight: 800; font-size: clamp(2rem, 8.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.n-hero .sub { margin-top: 12px; max-width: 34em; color: var(--band-muted); font-size: 1.0625rem; }
.n-cta { display: grid; gap: 10px; margin-top: 18px; }
.n-cta .bk-go { background: var(--cta); color: var(--cta-fg); text-transform: none; font-size: 1.0625rem; border-radius: 10px; }
.n-cta .alt { display: none; background: transparent; color: var(--band-fg); box-shadow: inset 0 0 0 2px var(--band-muted); }
.n-visual { position: relative; }
.n-photo { height: 200px; border-radius: 12px 12px 0 0; background: linear-gradient(135deg, #24384F, #33506E); color: var(--band-muted); }
.n-slots { position: relative; margin: -34px 12px 0; padding: 12px 14px 14px; background: var(--surface); color: var(--fg); border-radius: 12px; border: 1px solid var(--line); display: grid; gap: 8px; }
.n-slots-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: .875rem; }
.n-slots-h b { font-weight: 700; }
.n-slots-h span { color: var(--muted); }
.n-slots .bk-go { min-height: 48px; text-transform: none; border-radius: 10px; }
.n-open::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #16A34A; }
.n-open[data-open="false"]::before { background: #EAB308; }
.n-trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.n-trust ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding-block: 20px; }
.n-trust b { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.n-trust span { color: var(--muted); font-size: .875rem; line-height: 1.3; display: block; }
.n-sec { padding-block: 36px; scroll-margin-top: 58px; }
.n-sec.alt { background: var(--surface); }
.n-sec h2 { font-weight: 800; font-size: clamp(1.625rem, 5.4vw, 2.375rem); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.n-lead { margin-top: 6px; max-width: 42em; color: var(--muted); }
.n-body { margin-top: 18px; }
.n-sym { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.n-sym button { min-height: 66px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-align: left; font-weight: 600; line-height: 1.25; }
.n-sym button:hover { border-color: var(--accent); }
.n-sym button[aria-pressed="true"] { background: var(--band); border-color: var(--band); color: var(--band-fg); }
.n-sym-res { display: grid; gap: 10px; margin-top: 10px; padding: 14px; background: var(--surface); border: 2px solid var(--accent); border-radius: 10px; }
.n-sym-res p b { font-weight: 700; }
.n-sym-res .bk-go { text-transform: none; border-radius: 10px; }
.n-cats { display: grid; gap: 24px; }
.n-cats h3 { padding-bottom: 6px; font-size: 1.125rem; font-weight: 700; border-bottom: 2px solid var(--fg); }
.n-row { border-bottom: 1px solid var(--line); }
.n-row summary { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: baseline; min-height: 50px; padding-block: 10px; cursor: pointer; list-style: none; }
.n-row summary::-webkit-details-marker { display: none; }
.n-row .nm { font-weight: 600; }
.n-row .pr { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.n-row .tm { grid-column: 1 / -1; font-size: .875rem; color: var(--muted); }
.n-row[open] .nm { color: var(--accent); }
.n-row-b { display: grid; gap: 10px; padding-bottom: 14px; font-size: .9375rem; }
.n-row-b ul { display: grid; gap: 3px; }
.n-row-b li::before { content: "— "; color: var(--muted); }
.n-row-b .bk-go { min-height: 46px; text-transform: none; border-radius: 8px; }
.n-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.n-brands li { padding: 7px 12px; background: var(--bg); border-radius: 8px; font-weight: 600; font-size: .9375rem; }
.n-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.n-card { display: grid; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 0; }
.n-sec.alt .n-card { background: var(--bg); }
.n-card .ph { aspect-ratio: 16 / 10; max-width: 100%; }
.n-card-b { display: grid; gap: 4px; padding: 12px 14px 14px; }
.n-card-b b { font-weight: 700; }
.n-card-b p { font-size: .9375rem; color: var(--muted); }
.n-facts-l { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .875rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.n-master { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 12px; background: var(--bg); border-radius: 12px; }
.n-master .ph { width: 76px; height: 76px; border-radius: 50%; padding: 4px; font-size: .625rem; }
.n-master b { display: block; font-weight: 700; }
.n-master span { font-size: .875rem; color: var(--muted); display: block; line-height: 1.3; }
.n-team { display: grid; gap: 10px; }
.n-rev { display: grid; gap: 8px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; align-content: start; }
.n-rev .st { color: #E09A00; letter-spacing: 1px; }
.n-rev p { font-size: .9375rem; }
.n-rev small { color: var(--muted); }
.n-how { display: grid; gap: 12px; counter-reset: s; }
.n-how li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; counter-increment: s; }
.n-how li::before { content: counter(s); display: grid; place-content: center; width: 34px; height: 34px; background: var(--band); color: var(--band-fg); border-radius: 50%; font-weight: 700; }
.n-how b { display: block; font-weight: 700; }
.n-how span { color: var(--muted); font-size: .9375rem; }
.n-book { display: grid; gap: 18px; }
.n-book .bk { border-radius: 12px; }
.n-side { display: grid; gap: 10px; align-content: start; color: var(--muted); }
.n-clips { display: grid; gap: 8px; }
.n-clip { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-align: left; font-weight: 600; }
.n-clip svg { flex: none; width: 30px; height: 30px; }
.n-faq details { border-bottom: 1px solid var(--line); }
.n-faq summary { min-height: 50px; padding-block: 12px; font-weight: 600; cursor: pointer; }
.n-faq p { padding-bottom: 14px; color: var(--muted); }
.n-contacts { display: grid; gap: 18px; }
.n-contacts dt { font-size: .8125rem; color: var(--muted); }
.n-contacts dd { font-weight: 600; font-size: 1.0625rem; }
.n-contacts dl { display: grid; gap: 12px; }
.n-hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; font-variant-numeric: tabular-nums; }
.n-map { min-height: 180px; border-radius: 12px; }
@media (min-width: 768px) {
  .n-top { display: block; }
  .n-top .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 6px; }
  .n-logo small { display: block; }
  .n-nav { display: flex; }
  .n-headbtn { display: inline-flex; width: auto; min-height: 42px; text-transform: none; border-radius: 8px; font-size: .9375rem; }
  .n-right { display: flex; align-items: center; gap: 16px; }
  .n-hero-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 36px; padding-block: 44px 40px; align-items: stretch; }
  .n-cta { display: flex; flex-wrap: wrap; }
  .n-cta .bk-go { width: auto; }
  .n-cta .alt { display: inline-flex; }
  .n-visual { display: flex; flex-direction: column; }
  .n-photo { flex: 1; height: auto; min-height: 300px; border-radius: 14px; }
  .n-slots { margin: -56px 20px 0; }
  .n-trust ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 24px; }
  .n-sec { padding-block: 56px; }
  .n-sym { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .n-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; align-items: start; }
  .n-scroll { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .n-team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .n-how { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .n-book { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: start; }
  .n-clips { grid-template-columns: 1fr; }
  .n-contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .n-faq { max-width: 760px; }
}

/* ---------- owner cabinet ---------- */
:root[data-site="nord"][data-pal="blue"] { --accent: #1D5FD1; --on-accent: #FFFFFF; }
:root[data-site="nord"][data-pal="green"] { --accent: #17693F; --on-accent: #FFFFFF; }
@media (prefers-color-scheme: dark) {
  :root[data-site="nord"][data-pal="blue"]:not([data-theme="light"]) { --accent: #7DB2FF; --on-accent: #071A36; }
  :root[data-site="nord"][data-pal="green"]:not([data-theme="light"]) { --accent: #6FD6A0; --on-accent: #06281A; }
}
:root[data-site="nord"][data-pal="blue"][data-theme="dark"] { --accent: #7DB2FF; --on-accent: #071A36; }
:root[data-site="nord"][data-pal="green"][data-theme="dark"] { --accent: #6FD6A0; --on-accent: #06281A; }
.n-photobox { position: relative; display: flex; flex: 1; min-height: 0; }
.n-photobox .n-photo { width: 100%; }
.n-stock { position: absolute; left: 8px; top: 8px; padding: 2px 8px; background: rgba(5, 9, 11, .72); color: #FFF; border-radius: 4px; font-size: .75rem; }
.n-logoimg { width: 30px; height: 30px; object-fit: contain; flex: none; border-radius: 4px; }
img.n-photo { display: block; width: 100%; object-fit: cover; }
.n-card img { display: block; width: 100%; aspect-ratio: 16 / 10; max-width: 100%; object-fit: cover; }
img.n-map { display: block; width: 100%; height: 240px; object-fit: cover; }
.n-master .av { display: grid; place-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--band); color: var(--band-fg); font-size: 1.375rem; font-weight: 700; }
.n-master { grid-template-columns: 60px 1fr; }
.n-more { display: inline-flex; margin-top: 14px; }
.n-more .bk-go { width: auto; min-height: 46px; border-radius: 8px; text-transform: none; }
.n-credit { padding-block: 8px; color: var(--muted); font-size: .75rem; }
.c-prev { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 7; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px var(--gr) 8px var(--gl); background: #7A4F00; color: #FFF8E8; font-size: .875rem; }
.c-prev div { display: flex; gap: 8px; }
.c-prev button { min-height: 36px; padding: 0 12px; background: #FFF8E8; color: #3A2500; border: 0; border-radius: 6px; font-weight: 600; }
.cab { padding-block: 14px 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.c-site, #c-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
#c-sec { scroll-margin-top: 8px; }
.c-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.c-head h1 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.c-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.c-tabs button { flex: 0 0 auto; min-height: 46px; padding: 0 12px; background: none; border: 0; color: var(--muted); font-weight: 500; }
.c-tabs button[aria-selected="true"] { color: var(--fg); box-shadow: inset 0 -3px 0 var(--accent); }
.c-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.c-stats div { padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.c-stats b { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.c-stats span { color: var(--muted); font-size: .875rem; }
.c-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.c-chip { flex: 0 0 auto; min-height: 40px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; font-weight: 500; }
.c-chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.c-chip.bad { border-color: #C81E1E; }
.c-lead { display: grid; gap: 6px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.c-lead-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.c-lead .ph-l { font-weight: 700; font-variant-numeric: tabular-nums; }
.c-lead small { color: var(--muted); font-size: .875rem; }
.c-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.c-acts .bk-go { width: auto; min-height: 42px; padding: 0 14px; border-radius: 8px; text-transform: none; font-size: .9375rem; }
.c-empty { padding: 24px 14px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
.c-pub { position: sticky; bottom: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.c-pub .st { font-size: .875rem; font-weight: 600; }
.c-pub .st.dirty { color: var(--accent); }
.c-form { display: grid; gap: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.c-form h2 { font-size: 1.125rem; font-weight: 700; }
.c-form .hint, .c-hint { color: var(--muted); font-size: .875rem; }
.c-form textarea, .c-form select, .c-form input[type="text"], .c-form input[type="date"], .c-form input[type="number"], .c-form input[type="time"] { width: 100%; min-height: 46px; padding: 8px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font: inherit; color: inherit; }
.c-form textarea { min-height: 84px; resize: vertical; }
.c-form [aria-invalid="true"] { border-color: #C81E1E; }
.c-count { justify-self: end; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.c-img { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.c-img img, .c-img .ph { width: 88px; height: 64px; object-fit: cover; border-radius: 8px; padding: 4px; }
.c-img img { padding: 0; background: var(--bg); }
.c-img.logo img { object-fit: contain; }
.c-file { position: relative; width: auto; min-height: 42px; border-radius: 8px; text-transform: none; font-size: .9375rem; cursor: pointer; }
.c-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.c-file:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.c-fav { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); }
.c-fav img { width: 32px; height: 32px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; }
.c-pal { display: flex; gap: 8px; flex-wrap: wrap; }
.c-pal button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: transparent; border: 2px solid var(--line); border-radius: 8px; }
.c-pal button[aria-pressed="true"] { border-color: var(--fg); }
.c-pal i { width: 18px; height: 18px; border-radius: 50%; }
.c-svc { display: grid; grid-template-columns: 1fr 104px; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.c-svc .tools { grid-column: 1 / -1; display: flex; gap: 6px; }
.c-ico { min-width: 44px; min-height: 40px; padding: 0 10px; background: none; border: 1px solid var(--line); border-radius: 8px; }
.c-ico:disabled { opacity: .35; cursor: not-allowed; }
.c-err { padding: 10px 12px; border: 1px solid #C81E1E; border-radius: 8px; color: #C81E1E; font-size: .9375rem; }
:root[data-theme="dark"] .c-err { color: #FF9C9C; border-color: #FF9C9C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-err { color: #FF9C9C; border-color: #FF9C9C; } }
.c-dns { overflow-x: auto; }
.c-dns table { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
.c-dns th, .c-dns td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.c-state { display: inline-flex; width: fit-content; padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: .8125rem; font-weight: 600; }
.c-state.ok { color: #1F8A52; } .c-state.wait { color: #B27A00; }
.c-ver li { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.c-day { display: grid; grid-template-columns: 30px 104px 1fr; gap: 8px; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); }
.c-day .t { display: flex; gap: 6px; align-items: center; min-width: 0; }
.c-chan { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; min-height: 54px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.c-chan input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.c-code { font-size: 1.75rem; font-weight: 800; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.c-msg { padding: 10px 12px; background: var(--bg); border-radius: 8px; font-size: .9375rem; }
@media (min-width: 768px) {
  .c-site { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start; }
  .c-site .c-chips { flex-direction: column; overflow: visible; position: sticky; top: 12px; }
  .c-site .c-chip { width: 100%; border-radius: 8px; text-align: left; }
  .c-narrow { max-width: 680px; }
}

.n-block { position: relative; }
.c-edit { position: absolute; top: 8px; right: var(--gr); z-index: 3; min-height: 36px; padding: 0 12px; background: #7A4F00; color: #FFF8E8; border: 0; border-radius: 6px; font-size: .8125rem; font-weight: 600; }
.c-site[data-open="true"] .c-side { display: none; }
.c-site[data-open="false"] #c-sec { display: none; }
.c-group { margin: 8px 0 6px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.c-bls { display: grid; gap: 6px; }
.c-bl { display: flex; align-items: center; gap: 6px; min-height: 56px; padding: 6px 8px 6px 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.c-bl.off { background: transparent; border-style: dashed; }
.c-bl.bad { border-color: #C81E1E; }
.c-bl.on { border-color: var(--accent); }
.c-bl-name { flex: 1; min-width: 0; min-height: 44px; padding: 2px 8px; background: none; border: 0; text-align: left; }
.c-bl-name b { display: block; font-weight: 600; line-height: 1.2; }
.c-bl-name small { color: var(--muted); font-size: .75rem; }
.c-bl .c-ico { min-width: 36px; padding: 0; flex: none; }
.c-sw { position: relative; flex: none; width: 44px; height: 26px; cursor: pointer; }
.c-sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.c-sw i { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: background .15s; }
.c-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #FFF; border-radius: 50%; transition: transform .15s; }
.c-sw input:checked + i { background: var(--accent); }
.c-sw input:checked + i::after { transform: translateX(18px); }
.c-sw input:focus-visible + i { outline: 3px solid var(--accent); outline-offset: 2px; }
.c-list { display: grid; gap: 12px; }
.c-item { display: grid; gap: 10px; padding: 12px; background: var(--bg); border-radius: 10px; min-width: 0; }
.c-item .tools { display: flex; flex-wrap: wrap; gap: 6px; }
.c-item.c-svc { grid-template-columns: minmax(0, 1fr) 104px; border-bottom: 0; }
.c-item .tools { grid-column: 1 / -1; }
.c-item input, .c-item textarea, .c-item select { background: var(--surface) !important; }
.c-checks { display: grid; gap: 8px; }
.c-checks legend { margin-bottom: 4px; font-size: .875rem; font-weight: 600; }
@keyframes c-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes c-fade { from { opacity: 0; } to { opacity: 1; } }
.c-rise { animation: c-rise .28s cubic-bezier(0.16, 1, 0.3, 1); }
.c-fade { animation: c-fade .24s ease-out; }
@media (prefers-reduced-motion: reduce) { .c-rise, .c-fade { animation: none; } }
.c-slug { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; font-variant-numeric: tabular-nums; }
.c-slug span { color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.c-lbl { font-size: .875rem; font-weight: 600; }
.c-off { padding: 8px 10px; border: 1px dashed var(--muted); border-radius: 8px; color: var(--muted); font-size: .875rem; }
.c-back { justify-self: start; }
.c-pickhint { display: none; }
@media (min-width: 768px) {
  .c-site { grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
  .c-site[data-open="true"] .c-side, .c-site[data-open="false"] #c-sec { display: block; }
  .c-side { position: sticky; top: 8px; max-height: calc(100vh - 16px); overflow-y: auto; padding-right: 4px; }
  .c-back { display: none; }
  .c-pickhint { display: block; }
  .c-narrow { max-width: none; }
}

/* ---------- site 2: Гараж 14 ---------- */
.g-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.g-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.plate { display: inline-flex; align-items: stretch; background: #FFF; color: #000; border: 2px solid #000; border-radius: 6px; text-decoration: none; font: 700 1.1875rem/1 var(--mono); }
.plate span { display: flex; align-items: center; padding: 6px 9px; letter-spacing: .04em; }
.plate small { display: grid; place-content: center; padding: 2px 7px; border-left: 2px solid #000; font: 700 .875rem/1 var(--mono); text-align: center; }
.plate small em { font: 700 .5rem/1 var(--mono); letter-spacing: .05em; }
.g-tel { font-weight: 700; text-decoration: none; white-space: nowrap; }
.g-open { display: none; font-size: .875rem; color: var(--muted); }
.g-hero { padding-block: 16px 24px; display: grid; gap: 16px; }
.sign { position: relative; background: var(--sign); color: #FFF; border-radius: 16px; padding: 20px 20px 22px; outline: 3px solid #FFF; outline-offset: -9px; display: grid; gap: 10px; box-shadow: 0 0 0 1px var(--line); }
.sign-top { display: flex; align-items: center; gap: 14px; }
.sign-pic { flex: none; width: 66px; height: 66px; background: #FFF; color: #000; border-radius: 6px; padding: 8px; }
.sign-top b { font: 800 2.625rem/1 var(--display); letter-spacing: .01em; }
.sign h1 { font: 800 clamp(1.875rem, 7.4vw, 3.25rem)/1.08 var(--display); letter-spacing: -.01em; }
.sign p { font-size: 1.0625rem; }
.g-state { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 10px; background: #FFF; color: #0B3F88; border-radius: 6px; font-weight: 700; font-size: .875rem; }
.g-sec-title { font: 800 clamp(1.5rem, 5vw, 2.25rem)/1.15 var(--display); letter-spacing: -.01em; }
.g-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.g-tile { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; min-height: 164px; padding: 12px; background: var(--surface); border: 2px solid var(--line); border-radius: 14px; text-align: left; }
.g-tile:hover { border-color: var(--accent); }
.g-tile svg { width: 34px; height: 34px; color: var(--accent); }
.g-tile strong { font-size: 1rem; line-height: 1.2; font-weight: 700; }
.g-tile .row { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: .8125rem; color: var(--muted); }
.limit { flex: none; display: grid; place-content: center; width: 60px; height: 60px; background: #FFF; color: #000; border: 7px solid #D3151D; border-radius: 50%; font: 800 .9375rem/1 var(--body); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.road { height: 40px; background: var(--road) repeating-linear-gradient(90deg, #E9EDF1 0 44px, transparent 44px 84px) center / 100% 5px no-repeat; }
.g-sec { padding-block: 32px; scroll-margin-top: 8px; }
.g-why { display: grid; gap: 14px; margin-top: 16px; }
.g-why li { display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: center; }
.g-why svg { width: 62px; height: 62px; }
.g-why h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.25; }
.g-why p { color: var(--muted); font-size: .9375rem; }
.g-clips { display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 10px; overflow-x: auto; padding: 12px 2px 6px; }
.g-clip { aspect-ratio: 4 / 3; max-width: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 14px; background: var(--road); color: #FFF; border: 0; border-radius: 14px; text-align: left; font-weight: 700; }
.g-clip small { font-weight: 400; color: #C6CFD8; }
.g-book-grid { display: grid; gap: 16px; margin-top: 14px; }
.g-route { background: var(--sign); color: #FFF; border-radius: 14px; padding: 16px 18px; outline: 2px solid #FFF; outline-offset: -7px; display: grid; gap: 8px; }
.g-route li { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; font-weight: 700; }
.g-route li span:last-child { font-variant-numeric: tabular-nums; }
.g-plate-hours { background: var(--surface); color: var(--fg); border: 2px solid var(--fg); border-radius: 8px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; font-variant-numeric: tabular-nums; }
.g-contact { display: grid; gap: 14px; margin-top: 14px; }

@media (min-width: 768px) {
  .bk { padding: 24px; }
  .bar { display: none; }
  .shared-foot { padding-block: 28px; }
  .toast { bottom: 24px; }
  .g-open { display: block; }
  .g-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding-block: 28px 36px; align-items: start; }
  .sign { padding: 32px; position: sticky; top: 16px; }
  .g-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-sec { padding-block: 48px; }
  .g-why { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .g-clips { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .g-book-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; gap: 24px; }
  .g-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.demobar { display: none; }
