:root {
  color-scheme: light dark;
  --bg: #f7f6f3;
  --card: #ffffff;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #c9563a;
  --line: #e4e1db;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #17181a; --card: #202124; --ink: #f2f2f2; --muted: #a0a0a0; --line: #33353a; }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: clip;
}
main { max-width: 56rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
h1 { font-size: 1.6rem; margin: 0 0 1rem; }
h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
p { margin: 0 0 .75rem; }
.muted { color: var(--muted); font-size: .9rem; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .75rem;
  padding: 1.25rem;
  margin: 0 0 1rem;
}
.centered { max-width: 30rem; margin: 3rem auto; text-align: center; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 1rem;
  border-bottom: 1px solid var(--line); background: var(--card);
}
.brand { font-weight: 700; text-decoration: none; color: var(--ink); }
/* Ниже 44 px по кнопкам трудно попасть пальцем. Та же величина, что и в меню. */
.button, .link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0 1.25rem;
  border-radius: .5rem; border: 1px solid transparent;
  font: inherit; cursor: pointer; text-decoration: none;
}
.button { background: var(--accent); color: #fff; }
.link { background: none; color: var(--muted); border-color: var(--line); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.locations { list-style: none; margin: 0; padding: 0; }
.locations li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  min-height: 2.75rem; border-top: 1px solid var(--line); }
.locations li:first-child { border-top: 0; }
.locations a { color: var(--ink); }
.row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.row input { min-height: 2.75rem; padding: 0 .5rem; border: 1px solid var(--line);
  border-radius: .5rem; background: var(--bg); color: var(--ink); font: inherit; }
.row input[name="price"] { max-width: 8rem; }
.nav-actions { display: flex; gap: .5rem; align-items: center; }
.funnel { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.funnel b { font-size: 1.4rem; display: block; }
.clients { width: 100%; border-collapse: collapse; }
.clients-wrap { overflow-x: auto; }
.clients th, .clients td { text-align: left; padding: .5rem; border-top: 1px solid var(--line); vertical-align: top; }
.clients th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.clients form { display: flex; gap: .5rem; flex-wrap: wrap; }
.clients input { min-height: 2.75rem; padding: 0 .5rem; border: 1px solid var(--line);
  border-radius: .5rem; background: var(--bg); color: var(--ink); font: inherit; }
.badge { display: inline-block; padding: .1rem .5rem; border-radius: .3rem;
  background: var(--accent); color: #fff; font-size: .8rem; }
.field { display: block; margin: 0 0 1rem; }
.field > span { display: block; margin-bottom: .25rem; }
.field input, .field select {
  width: 100%; min-height: 2.75rem; padding: 0 .75rem;
  border: 1px solid var(--line); border-radius: .5rem;
  background: var(--bg); color: var(--ink); font: inherit;
}
.error {
  border-left: 4px solid var(--accent); padding: .5rem .75rem;
  background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: .25rem;
}
/* Флажок стоит рядом с подписью, а не над ней. */
.field.checkbox { display: flex; align-items: center; gap: .5rem; }
.field.checkbox input { width: 1.25rem; height: 1.25rem; min-height: 0; }
.field.checkbox > span { margin: 0; }
details > summary { cursor: pointer; min-height: 2.75rem; display: inline-flex; align-items: center; }
/* Гости по дням. Столбики — обычные блоки, без библиотеки графиков. */
.days { list-style: none; margin: 0; padding: 0; }
.days li { display: flex; align-items: center; gap: .5rem; min-height: 1.9rem; }
.days .day { flex: 0 0 4.5rem; color: var(--muted); font-size: .85rem; }
.days .bar { height: .75rem; border-radius: .375rem; background: var(--accent); min-width: 2px; }
.days .value { font-variant-numeric: tabular-nums; }
/* Ширина задаётся классом, а не атрибутом style: правило CSP
   style-src 'self' запрещает стили прямо в разметке, и полоски
   молча схлопнулись бы в точки. Шаг 5% — глазу этого достаточно. */
.w0 { width: 0 } .w5 { width: 5% } .w10 { width: 10% } .w15 { width: 15% }
.w20 { width: 20% } .w25 { width: 25% } .w30 { width: 30% } .w35 { width: 35% }
.w40 { width: 40% } .w45 { width: 45% } .w50 { width: 50% } .w55 { width: 55% }
.w60 { width: 60% } .w65 { width: 65% } .w70 { width: 70% } .w75 { width: 75% }
.w80 { width: 80% } .w85 { width: 85% } .w90 { width: 90% } .w95 { width: 95% }
.w100 { width: 100% }
/* Фотография блюда в списке. Небольшая: список должен оставаться списком. */
.photo { align-items: center; margin: .25rem 0; }
.thumb { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: .5rem;
  background: var(--bg); border: 1px solid var(--line); }
.photo input[type="file"] { max-width: 100%; font: inherit; color: var(--muted); }
/* Лист наклеек. На экране — сетка, на бумаге — то же самое без обвязки. */
.sheet { display: flex; flex-wrap: wrap; gap: 8mm; }
.qr { margin: 0; background: #fff; padding: 2mm; border: 1px dashed var(--line); }
/* Картинка не растягивается: в SVG уже задан размер в миллиметрах,
   и на печати наклейка должна выйти ровно такой, как задумано. */
.qr img { display: block; max-width: 100%; height: auto; }
@media print {
  /* Шапка, ссылки и подсказки на бумаге не нужны: они съедают лист
     и попадают на наклейку. */
  .top, .sheet-tools { display: none; }
  body { background: #fff; }
  main { max-width: none; padding: 0; }
  /* Разрезать лист удобнее по сплошной линии, чем по пунктиру. */
  .qr { border: 1px solid #bbb; break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (forced-colors: active) { .card { border: 1px solid CanvasText; } }
:root {
  color-scheme: light;
  --bg: #f5f3ee; --card: #fff; --soft: #faf9f6; --ink: #191a17;
  --muted: #6c7068; --accent: #d65335; --accent-dark: #a93720;
  --accent-soft: #fff0ea; --success: #267451; --success-soft: #eaf6ef;
  --line: #e5e2da; --line-strong: #d4d0c5;
  --shadow: 0 20px 55px rgba(32,28,20,.08); --shadow-sm: 0 8px 24px rgba(32,28,20,.06);
}
body { min-height: 100vh; color: var(--ink); background: radial-gradient(circle at 8% -5%,rgba(214,83,53,.08),transparent 25rem),var(--bg); font: 16px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
main { max-width: 74rem; padding: 2.25rem 1.25rem 6rem; }
h1 { font-size: clamp(1.9rem,4vw,2.75rem); letter-spacing: -.045em; line-height: 1.08; margin-bottom: .65rem; }
h2 { font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.25; }
h3 { margin: 0; font-size: 1rem; } p { max-width: 68ch; } a { text-underline-offset: .18em; }
.top { position: sticky; top: 0; z-index: 20; min-height: 4.5rem; padding: .75rem max(1rem,calc((100vw - 74rem)/2)); border-color: rgba(229,226,218,.88); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.08rem; letter-spacing: -.025em; }
.brand::before { content: "K"; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .7rem; background: var(--ink); color: #fff; font-weight: 800; }
.nav-actions { gap: .35rem; }
.card { border-color: var(--line); border-radius: 1.15rem; padding: clamp(1.15rem,2.5vw,1.75rem); box-shadow: var(--shadow-sm); margin-bottom: 1.15rem; }
.centered { max-width: 32rem; margin: min(12vh,6rem) auto; padding: clamp(1.5rem,5vw,2.5rem); }
.button,.link { min-height: 2.9rem; border-radius: .72rem; font-weight: 650; transition: transform .16s ease,box-shadow .16s ease,background .16s ease; }
.button { background: var(--accent); box-shadow: 0 7px 18px rgba(214,83,53,.2); }
.button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line-strong); box-shadow: none; }
.button.ghost { color: var(--accent-dark); background: var(--accent-soft); box-shadow: none; }
.link { min-height: 2.65rem; color: var(--ink); background: transparent; }
.link:hover { background: var(--soft); border-color: var(--line-strong); }
.muted { color: var(--muted); } .badge { padding: .3rem .62rem; border-radius: 999px; background: var(--success-soft); color: var(--success); font-weight: 700; }
.field > span:first-child { font-size: .9rem; font-weight: 700; color: #3f423d; margin-bottom: .4rem; }
.field input,.field select,.row input { min-height: 3rem; background: #fff; border-color: var(--line-strong); border-radius: .72rem; transition: border .15s ease,box-shadow .15s ease; }
.field input:focus,.field select:focus,.row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.page-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin: .5rem 0 1.7rem; }
.page-head p { margin: 0; } .eyebrow { display: block; margin-bottom: .45rem; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(17rem,.75fr); gap: 1.15rem; align-items: start; }
.dashboard-main,.dashboard-side { min-width: 0; } .dashboard-side { position: sticky; top: 5.7rem; }
.venue-hero { position: relative; overflow: hidden; color: #fff; background: #20211e; border: 0; box-shadow: var(--shadow); }
.venue-hero::after { content: ""; position: absolute; width: 19rem; height: 19rem; border-radius: 50%; right: -7rem; top: -10rem; background: rgba(214,83,53,.48); }
.venue-hero > * { position: relative; z-index: 1; } .venue-hero .muted { color: #c6c8c1; } .venue-hero a { color: #fff; }
.venue-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.15rem; }
.venue-actions .button.secondary { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; margin-bottom: 1.2rem; } .section-head p { margin: .3rem 0 0; }
.quick-nav { display: grid; gap: .4rem; padding: .4rem; }
.quick-nav a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .82rem .9rem; border-radius: .75rem; color: var(--ink); text-decoration: none; font-weight: 650; }
.quick-nav a:hover { background: var(--soft); } .quick-nav a::after { content: "→"; color: var(--muted); }
.progress-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.progress-list li { position: relative; padding-left: 2rem; color: var(--muted); }
.progress-list li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; }
.progress-list li.done { color: var(--ink); } .progress-list li.done::before { content: "✓"; display: grid; place-items: center; color: #fff; background: var(--success); border-color: var(--success); font-size: .72rem; font-weight: 900; }
.helper { display: flex; gap: .8rem; padding: .9rem 1rem; margin: .8rem 0 1rem; border-radius: .85rem; background: var(--soft); color: var(--muted); font-size: .9rem; }
.helper::before { content: "i"; flex: 0 0 auto; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--ink); color: #fff; font: 800 .75rem/1 sans-serif; }
.menu-category { border: 1px solid var(--line); border-radius: .9rem; padding: 1rem; margin-bottom: .8rem; background: var(--soft); }
.menu-category-head { display: flex; gap: .6rem; justify-content: space-between; align-items: center; margin-bottom: .6rem; } .menu-category-head form:first-child { flex: 1; }
.dish-list { display: grid; gap: .55rem; list-style: none; padding: 0; margin: 0; }
.dish-row { display: grid; grid-template-columns: minmax(13rem,1fr) auto; gap: .75rem; align-items: center; padding: .75rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; }
.dish-edit { display: grid; grid-template-columns: minmax(9rem,1fr) 7rem auto; gap: .5rem; } .dish-actions { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: end; }
.compact-form { display: grid; grid-template-columns: 1fr 1fr .65fr auto; gap: .7rem; align-items: end; } .compact-form .field { margin: 0; }
.design-studio { overflow: hidden; padding: 0; } .design-copy { padding: 1.5rem 1.5rem 0; }
.design-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(18rem,.72fr); gap: 1.25rem; padding: 1.25rem 1.5rem 1.5rem; }
.template-browser { min-width: 0; } .template-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .7rem; }
.template-controls { display: flex; gap: .4rem; } .round-control { width: 2.65rem; height: 2.65rem; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; font-size: 1.15rem; }
.template-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(13.5rem,46%); gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: .2rem .2rem .8rem; overscroll-behavior-inline: contain; }
.template-card { position: relative; display: block; scroll-snap-align: center; border: 2px solid transparent; border-radius: 1rem; background: var(--soft); padding: .55rem; cursor: pointer; transition: border .15s ease,transform .15s ease,box-shadow .15s ease; }
.template-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); } .template-card.is-selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(214,83,53,.08); }
.template-card input { position: absolute; opacity: 0; pointer-events: none; } .template-meta { display: grid; gap: .15rem; padding: .7rem .45rem .35rem; } .template-meta small { color: var(--muted); } .template-fit { color: var(--accent-dark)!important; font-weight: 700; }
.template-mini { height: 12.5rem; overflow: hidden; padding: .75rem; border-radius: .7rem; background: #f2efe8; color: #222; }
.template-mini-head { height: 4.6rem; border-radius: .45rem; padding: .65rem; background: #272824; color: #fff; } .template-mini-head b { display: block; max-width: 8rem; font-size: 1.05rem; line-height: 1.05; } .template-mini-head span { font-size: .55rem; opacity: .7; }
.template-mini-nav { height: .45rem; width: 65%; border-radius: 1rem; background: currentColor; opacity: .15; margin: .65rem 0; }
.template-mini-item { display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .42rem 0; border-top: 1px solid rgba(0,0,0,.12); font-size: .62rem; } .template-mini-item i { width: 1.55rem; height: 1.15rem; grid-row: span 2; border-radius: .25rem; background: currentColor; opacity: .12; }
.template-mini[data-template="noir-editorial"],.template-demo[data-template="noir-editorial"] { background:#171714;color:#f7f1e8 } .template-mini[data-template="noir-editorial"] .template-mini-head{background:#171714;border:1px solid #625d54;font-family:Georgia,serif}
.template-mini[data-template="warm-bistro"],.template-demo[data-template="warm-bistro"]{background:#f4dfc2;color:#492e20}.template-mini[data-template="warm-bistro"] .template-mini-head{background:#8d3f28;border-radius:1rem}
.template-mini[data-template="nordic-minimal"],.template-demo[data-template="nordic-minimal"]{background:#f8f8f5;color:#22312e}.template-mini[data-template="nordic-minimal"] .template-mini-head{background:#dce5df;color:#22312e}
.template-mini[data-template="tokyo-grid"],.template-demo[data-template="tokyo-grid"]{background:#eee9df;color:#171717}.template-mini[data-template="tokyo-grid"] .template-mini-head{background:#e3412f;border-radius:0}
.template-mini[data-template="italian-cinema"],.template-demo[data-template="italian-cinema"]{background:#ead5b8;color:#4b251f}.template-mini[data-template="italian-cinema"] .template-mini-head{background:#6d1717;font-family:Georgia,serif}
.template-mini[data-template="botanical"],.template-demo[data-template="botanical"]{background:#e8eee4;color:#24452f}.template-mini[data-template="botanical"] .template-mini-head{background:#4f7655;border-radius:2rem 2rem .5rem .5rem}
.template-mini[data-template="street-bold"],.template-demo[data-template="street-bold"]{background:#ffcb29;color:#121212}.template-mini[data-template="street-bold"] .template-mini-head{background:#ee3d23;border:3px solid #121212;border-radius:0;transform:rotate(-1deg)}
.template-mini[data-template="patisserie"],.template-demo[data-template="patisserie"]{background:#faedf0;color:#5d3b47}.template-mini[data-template="patisserie"] .template-mini-head{background:#d9a5b4;font-family:Georgia,serif}
.template-mini[data-template="night-bar"],.template-demo[data-template="night-bar"]{background:#11131d;color:#e9ddff}.template-mini[data-template="night-bar"] .template-mini-head{background:#4c2c76;box-shadow:0 0 20px #7849b5}
.template-mini[data-template="chefs-table"],.template-demo[data-template="chefs-table"]{background:#ece7df;color:#28231f}.template-mini[data-template="chefs-table"] .template-mini-head{background:#28231f;font-family:Georgia,serif;border-radius:0}
.template-save { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: 1rem; }
.device-panel { display: grid; justify-items: center; align-content: start; gap: .65rem; min-width: 0; } .device-label { width: 100%; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .82rem; }
.device { width: min(100%,20rem); aspect-ratio: 9/18; padding: .55rem; border-radius: 2rem; background: #171816; box-shadow: 0 22px 45px rgba(20,20,17,.22); } .device::before { content:""; display:block; width:4rem; height:.28rem; margin:.1rem auto .45rem; border-radius:1rem; background:#444640; }
.device iframe,.template-demo { width:100%; height:calc(100% - .8rem); border:0; border-radius:1.35rem; background:#fff; } .template-demo { overflow:hidden; padding:1.2rem 1rem; }
.template-demo .demo-kicker { font-size:.65rem; opacity:.6; text-transform:uppercase; letter-spacing:.12em; } .template-demo h3 { margin:.3rem 0 1.2rem; font:700 1.55rem/1.05 Georgia,serif; } .demo-category{margin:.9rem 0 .35rem;font-weight:800}.demo-dish{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;border-top:1px solid currentColor;font-size:.8rem}
.bespoke-wrap { padding: 1.6rem; border-top: 1px solid var(--line); background: #20211e; color: #fff; }
.bespoke-head { display: grid; grid-template-columns: minmax(0,1fr); max-width: 47rem; }
.bespoke-head .eyebrow { color: #f3a18e; } .bespoke-head .muted { color: #bfc1bb; }
.service-plans { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.2rem; }
.service-plan { position: relative; display: grid; align-content: start; gap: .45rem; min-height: 19rem; padding: 1.25rem; border: 1px solid #3d3f39; border-radius: 1rem; background: #292a27; }
.service-plan.featured { background: #f1eee7; color: var(--ink); border-color: #f1eee7; }
.service-plan p { color: #bfc1bb; } .service-plan.featured p { color: var(--muted); }
.service-plan small { color: #bfc1bb; } .service-plan.featured small { color: var(--muted); }
.service-plan form { margin-top: auto; padding-top: 1rem; } .service-plan .button { width: 100%; }
.service-plan:not(.featured) .button.secondary { color: #fff; background: transparent; border-color: #555850; }
.plan-mark { color: #888b83; font: 700 .72rem/1 ui-monospace,monospace; } .plan-price { display: block; margin-top: .6rem; font-size: 1.55rem; letter-spacing: -.04em; }
.plan-badge { position: absolute; right: 1rem; top: 1rem; padding: .25rem .55rem; border-radius: 999px; color: var(--accent-dark); background: var(--accent-soft); font-size: .72rem; font-weight: 800; }
.request-success { max-width: none; margin: 1rem 0 0; padding: .8rem 1rem; border-radius: .75rem; color: #c9f2d9; background: rgba(38,116,81,.25); }
.venue-list { display:grid; gap:.8rem; list-style:none; padding:0; margin:1rem 0 0; } .venue-list li { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1rem; border:1px solid var(--line); border-radius:.9rem; background:var(--soft); } .venue-list a { color:var(--ink); font-weight:750; text-decoration:none; } .venue-list a::after { content:"Открыть →"; display:block; margin-top:.2rem; color:var(--accent-dark); font-size:.78rem; }
.empty-state { text-align:center; padding:clamp(2rem,8vw,4.5rem); } .empty-state .empty-icon { display:grid; place-items:center; width:4rem; height:4rem; margin:0 auto 1.2rem; border-radius:1.25rem; background:var(--accent-soft); color:var(--accent); font-size:1.8rem; }
.clients th,.clients td { padding:.75rem; }
@media(max-width:850px){main{padding:1.5rem .85rem 5rem}.dashboard-grid,.design-grid{grid-template-columns:1fr}.dashboard-side{position:static}.device-panel{order:-1}.device{width:min(72vw,20rem)}.compact-form{grid-template-columns:1fr 1fr}.dish-row{grid-template-columns:1fr}.dish-actions{justify-content:start}}
@media(max-width:560px){.top{min-height:4rem}.nav-actions .link{padding:0 .7rem}.page-head{display:block}.card{border-radius:.95rem;padding:1.1rem}.design-studio{padding:0}.design-copy{padding:1.15rem 1.15rem 0}.design-grid{padding:1rem 0 1.15rem}.template-browser{padding-left:1.15rem}.template-toolbar,.template-save{padding-right:1.15rem}.template-rail{grid-auto-columns:82%;padding-right:1.15rem}.device-panel{padding:0 1.15rem}.device{width:min(82vw,19rem)}.compact-form,.dish-edit,.service-plans{grid-template-columns:1fr}.compact-form .button{width:100%}.venue-actions{display:grid}.venue-actions>*{width:100%}.bespoke-wrap{padding:1.2rem}.template-save{display:grid}.template-save .button{width:100%}}

/* 2026 studio-quality refresh: quiet workspace, one dominant preview. */
:root {
  --bg: #f1f1ee; --card: #fff; --soft: #f7f7f4; --ink: #101112;
  --muted: #6e716f; --accent: #ef4b2f; --accent-dark: #c92f18;
  --accent-soft: #fff0ec; --success: #1f7652; --success-soft: #eaf4ef;
  --line: #dcded9; --line-strong: #bfc2bd;
  --shadow: none; --shadow-sm: none;
}
body { background: var(--bg); font-size: 15px; letter-spacing: -.008em; }
main { max-width: 92rem; padding: 2.8rem 2rem 8rem; }
h1 { font-size: clamp(2.35rem,5vw,4.7rem); font-weight: 620; letter-spacing: -.065em; }
h2 { font-size: clamp(1.35rem,2.2vw,2rem); letter-spacing: -.045em; }
.top { min-height: 4.25rem; padding-inline: max(1.5rem,calc((100vw - 92rem)/2)); border-bottom: 1px solid #d6d8d3; background: rgba(241,241,238,.94); }
.brand::before { width: 1.75rem; height: 1.75rem; border-radius: .35rem; font-size: .8rem; }
.button,.link { min-height: 2.75rem; border-radius: .48rem; box-shadow: none; font-weight: 650; }
.button { background: #141516; }
.button:hover { background: #000; box-shadow: none; }
.button.secondary { background: transparent; }
.button.ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.card { border: 1px solid var(--line); border-radius: .8rem; padding: 1.65rem; box-shadow: none; }
.eyebrow { margin-bottom: .75rem; color: var(--muted); font: 650 .68rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .16em; }
.page-head { min-height: 9rem; align-items: end; margin-bottom: 2rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line-strong); }
.page-head p { font-size: 1rem; }
.dashboard-grid { grid-template-columns: minmax(13rem,.32fr) minmax(0,1.68fr); grid-template-areas: "side main"; gap: 2.25rem; }
.dashboard-main { grid-area: main; }
.dashboard-side { grid-area: side; top: 5.25rem; }
.dashboard-side .card { padding: 0 0 1.5rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.dashboard-side .eyebrow { color: var(--muted); }
.dashboard-side h2 { font-size: 1.05rem; letter-spacing: -.025em; }
.progress-list { gap: .8rem; }
.progress-list li { padding-left: 1.65rem; font-size: .87rem; }
.progress-list li::before { width: .9rem; height: .9rem; top: .22rem; border-width: 1px; }
.progress-list li.done::before { font-size: .58rem; }
.quick-nav { gap: 0; padding: 0; }
.quick-nav a { padding: .72rem 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: .9rem; }
.quick-nav a:hover { padding-left: .35rem; background: transparent; }
.venue-hero { padding: 2rem; border-radius: .8rem; color: #fff; background: #121313; }
.venue-hero::after { display: none; }
.venue-hero .eyebrow { color: #9b9e9a; }
.venue-hero h2 { font-size: clamp(1.9rem,4vw,3.3rem); font-weight: 520; }
.venue-actions { gap: .5rem; }
.venue-hero .venue-actions .button:not(.secondary) { border-color: #fff; color: #111; background: #fff; }
.venue-hero .venue-actions .button:not(.secondary):hover { border-color: #e7e7e2; background: #e7e7e2; }
.venue-actions .button.secondary { background: transparent; border-color: #4b4d4a; }
.helper { border: 1px solid var(--line); border-radius: .4rem; background: #f7f7f4; }
.menu-category { border-radius: .5rem; background: #f8f8f6; }
.dish-row { border-radius: .4rem; }
.field input,.field select,.row input { border-radius: .4rem; }

.design-studio { border-color: #171819; border-radius: .65rem; background: #f5f5f2; }
.design-copy { display: grid; grid-template-columns: minmax(12rem,.4fr) minmax(20rem,1fr); gap: 2rem; padding: 2rem 2rem 1.5rem; border-bottom: 1px solid #171819; }
.design-copy .eyebrow { grid-row: 1 / span 2; color: #4e514e; }
.design-copy h2 { margin: 0; font-size: clamp(2rem,4vw,3.7rem); font-weight: 560; line-height: .98; }
.design-copy p { margin: .35rem 0 0; max-width: 52rem; font-size: .95rem; }
.design-grid { grid-template-columns: minmax(24rem,1fr) minmax(19rem,.42fr); gap: 0; padding: 0; border-bottom: 1px solid #171819; }
.device-panel { display: block; padding: 1.25rem; background: #dfe0dc; border-right: 1px solid #171819; }
.device-label { padding: 0 .1rem .75rem; color: #50534f; font: 600 .68rem/1.3 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .08em; text-transform: uppercase; }
.device { width: 100%; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; border: 1px solid #171819; border-radius: 0; background: #fff; box-shadow: none; }
.device::before { display: none; }
.device iframe,.template-demo { width: 100%; height: 100%; border-radius: 0; }
.template-browser { display: grid; grid-template-rows: auto minmax(0,1fr) auto; min-height: 0; padding: 1.4rem; color: #f3f3ef; background: #111213; }
.template-toolbar { align-items: start; margin: 0 0 1.2rem; }
.template-current { display: grid; gap: .45rem; min-width: 0; }
.template-current > .muted { color: #858985; font: 600 .68rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .13em; }
.template-current strong { font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 520; line-height: 1; letter-spacing: -.055em; }
.template-current p { margin: .25rem 0 0; color: #adafac; line-height: 1.4; }
.template-current small { width: max-content; margin-top: .3rem; padding: .28rem .48rem; border: 1px solid #444744; color: #d7d9d5; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.template-controls { flex: none; }
.round-control { width: 2.45rem; height: 2.45rem; border-color: #4a4d49; border-radius: 0; color: #fff; background: transparent; }
.round-control:hover { color: #111; background: #fff; }
.template-rail { display: block; max-height: 31rem; overflow-x: hidden; overflow-y: auto; padding: 0; border-top: 1px solid #343634; scrollbar-color: #61645f transparent; }
.template-card { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; align-items: center; min-height: 4.25rem; padding: .7rem .2rem; border: 0; border-bottom: 1px solid #343634; border-radius: 0; color: #898c88; background: transparent; }
.template-card:hover { transform: none; color: #fff; background: transparent; box-shadow: none; }
.template-card.is-selected { padding-inline: .75rem; color: #111; background: #f1f1ed; box-shadow: none; }
.template-index { font: 600 .68rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.template-meta { gap: .08rem; padding: 0; }
.template-meta strong { font-size: .94rem; font-weight: 620; }
.template-meta small { color: inherit; font-size: .73rem; opacity: .72; }
.template-save { display: grid; gap: .8rem; margin-top: 1rem; }
.template-save .muted { color: #8f928e; font-size: .76rem; }
.template-save .button { width: 100%; color: #111; background: #f2f2ee; }
.template-save .button:hover { background: #fff; }

.template-demo { position: relative; padding: 2rem; color: #161616; background: #f4f0e8; }
.demo-mast { display: flex; justify-content: space-between; gap: 1rem; font: 600 .65rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .08em; text-transform: uppercase; }
.demo-mast b { font-weight: 600; }
.demo-art { position: relative; height: 42%; margin: 1.5rem 0; overflow: hidden; background: #222; }
.demo-art i { position: absolute; display: block; border: 1px solid currentColor; border-radius: 50%; }
.demo-art i:nth-child(1) { width: 15rem; height: 15rem; left: 10%; top: -25%; }
.demo-art i:nth-child(2) { width: 9rem; height: 9rem; right: 5%; bottom: -15%; }
.demo-art i:nth-child(3) { width: 4rem; height: 4rem; left: 42%; top: 36%; }
.template-demo .demo-number { display: block; margin-bottom: .45rem; font: 600 .7rem/1 ui-monospace,SFMono-Regular,Menlo,monospace; }
.template-demo h3 { margin: 0 0 1.5rem; max-width: 12ch; font: 520 clamp(2.2rem,5vw,4.6rem)/.88 Georgia,serif; letter-spacing: -.055em; }
.demo-category,.demo-dish { display: grid; grid-template-columns: 1fr auto; gap: 1rem; border-top: 1px solid currentColor; }
.demo-category { margin: 0; padding: .45rem 0; font: 600 .62rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .1em; text-transform: uppercase; }
.demo-dish { padding: .65rem 0; font-size: .8rem; }
.template-demo[data-template="noir-editorial"] { color:#f2eee5; background:#0b0c0c; }.template-demo[data-template="noir-editorial"] .demo-art{background:repeating-linear-gradient(90deg,#171818 0 11%,#252626 11% 12%)}
.template-demo[data-template="warm-bistro"] { color:#271b14; background:#d8b68d; }.template-demo[data-template="warm-bistro"] .demo-art{background:#8d361f}.template-demo[data-template="warm-bistro"] h3{font-style:italic}
.template-demo[data-template="nordic-minimal"] { color:#17211e; background:#eceee9; }.template-demo[data-template="nordic-minimal"] .demo-art{height:18%;background:#b9c7c0}.template-demo[data-template="nordic-minimal"] h3{font-family:Arial,sans-serif;font-weight:400}
.template-demo[data-template="tokyo-grid"] { color:#0b0b0b; background:#e7e4dc; }.template-demo[data-template="tokyo-grid"] .demo-art{background:linear-gradient(90deg,#ff3c20 50%,#111 50%)}.template-demo[data-template="tokyo-grid"] h3{font-family:Arial,sans-serif;font-weight:800;text-transform:uppercase}
.template-demo[data-template="italian-cinema"] { color:#f4dfbd; background:#351713; }.template-demo[data-template="italian-cinema"] .demo-art{background:linear-gradient(135deg,#b16f39,#311714 70%)}
.template-demo[data-template="botanical"] { color:#183222; background:#dfe6d8; }.template-demo[data-template="botanical"] .demo-art{background:radial-gradient(ellipse at 30% 80%,#6e8e6d 0 18%,transparent 19%),radial-gradient(ellipse at 70% 30%,#2d5b3a 0 24%,transparent 25%),#b7c9af}
.template-demo[data-template="street-bold"] { color:#0d0d0d; background:#f2d92c; }.template-demo[data-template="street-bold"] .demo-art{background:#ef3f24}.template-demo[data-template="street-bold"] h3{font-family:Impact,Arial Black,sans-serif;text-transform:uppercase}
.template-demo[data-template="patisserie"] { color:#4b303a; background:#f2e4e8; }.template-demo[data-template="patisserie"] .demo-art{border-radius:50% 50% 0 0;background:#c58b9c}
.template-demo[data-template="night-bar"] { color:#d8ff4e; background:#090b0e; }.template-demo[data-template="night-bar"] .demo-art{background:radial-gradient(circle at 50%,#5f2dff,transparent 55%),#11131b}.template-demo[data-template="night-bar"] h3{font-family:Arial,sans-serif;font-weight:300;text-transform:uppercase}
.template-demo[data-template="chefs-table"] { color:#262421; background:#e8e3d9; }.template-demo[data-template="chefs-table"] .demo-art{height:1px;margin-block:3rem;background:#262421}.template-demo[data-template="chefs-table"] h3{text-align:center;margin-inline:auto;font-weight:400}

.bespoke-wrap { padding: 3rem 2rem; border-top: 0; background: #171819; }
.bespoke-head { max-width: 58rem; }
.bespoke-head h2 { max-width: 18ch; font-size: clamp(2rem,4.2vw,4rem); font-weight: 520; line-height: .98; }
.bespoke-head .eyebrow { color: #8f938e; }
.service-plans { gap: 1px; margin-top: 2.5rem; background: #4a4d49; }
.service-plan { min-height: 22rem; padding: 1.7rem; border: 0; border-radius: 0; background: #222423; }
.service-plan.featured { background: #e8e6df; }
.service-plan h3 { margin-top: .8rem; font-size: 1.5rem; letter-spacing: -.04em; }
.service-plan form { display: block; width: 100%; margin: auto 0 0; padding-top: 1.25rem; }
.service-plan .button { position: static; display: inline-flex; width: 100%; margin: 0; }
.plan-badge { border-radius: 0; }

@media(max-width:1050px){
  main{padding-inline:1.25rem}.dashboard-grid{grid-template-columns:11rem minmax(0,1fr);gap:1.25rem}.design-grid{grid-template-columns:minmax(20rem,1fr) minmax(17rem,.48fr)}
}
@media(max-width:850px){
  main{padding:1.5rem .85rem 5rem}.dashboard-grid{grid-template-columns:1fr;grid-template-areas:"main" "side"}.dashboard-side{position:static}.design-copy{grid-template-columns:1fr;gap:.75rem}.design-copy .eyebrow{grid-row:auto}.design-grid{grid-template-columns:1fr}.device-panel{order:0;border-right:0;border-bottom:1px solid #171819}.device{aspect-ratio:4/5}.template-browser{min-height:32rem}.template-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(13rem,68%);gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory}.template-card{scroll-snap-align:start;padding-inline:.7rem;border-right:1px solid #343634}.template-card.is-selected{padding-inline:.7rem}.service-plans{grid-template-columns:1fr}.service-plan{min-height:19rem}
}
@media(max-width:560px){
  h1{font-size:2.65rem}.page-head{min-height:7rem}.card{padding:1rem}.venue-hero{padding:1.35rem}.venue-actions{display:grid}.venue-actions>*{width:100%}.design-studio{padding:0}.design-copy{padding:1.35rem}.design-copy h2{font-size:2.35rem}.design-grid{padding:0}.device-panel{padding:.75rem}.device{width:100%;aspect-ratio:3/4}.template-browser{padding:1.15rem}.template-toolbar{display:grid}.template-controls{margin-top:.5rem}.template-rail{grid-auto-columns:82%}.template-save{padding:0}.template-save .button{width:100%}.bespoke-wrap{padding:2rem 1.2rem}.service-plans{grid-template-columns:1fr}.compact-form,.dish-edit{grid-template-columns:1fr}.menu-category-head{align-items:stretch;flex-direction:column}.menu-category-head .row{display:grid}.service-plan{min-height:0}.service-plan form{margin-top:1.5rem}
}