/* DoFronty – vzhled „smalt a karton“
   Smaltované cedulky s domovními čísly, kartonová jízdenka s razítkem,
   trhací kalendář a štít nad obchodem. Písmo Dosis (zaoblené jako nápisy
   ze sedmdesátek) na nadpisy a čísla, Barlow na čtení. */

:root {
  --paper: #ECEAE1;      /* kancelářský papír */
  --paper-2: #DEDBCF;
  --ink: #1A2433;        /* inkoust z razítkovací podušky, tmavomodrý */
  --ink-2: #545E66;
  --line: rgba(26, 36, 51, .2);
  --blue: #1D4F91;       /* smaltovaná cedulka s orientačním číslem */
  --red: #C42F2A;        /* smalt s číslem popisným, automat na lístky */
  --red-ink: #9E221E;
  --green: #2C7A4B;      /* jste na řadě */
  --mustard: #E3A62B;    /* žlutá linka metra, zvýraznění */
  --card: #F2DC92;       /* kartonová jízdenka */
  --violet: #5B3F8C;     /* razítko */
  --white: #FBFAF5;      /* smaltová bílá */

  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-num: "Dosis", "Arial Rounded MT Bold", "Barlow", sans-serif;

  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--font);
  min-height: 100dvh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
h1, h2, h3, p { margin: 0; }
h1 { font: 800 2.25rem/1.02 var(--font-num); letter-spacing: -.01em; }
h2 { font: 700 1.5rem/1.15 var(--font-num); }
h3 { font: 700 1.1875rem/1.25 var(--font-num); }
b, strong { font-weight: 600; }
.muted { color: var(--ink-2); }
.small { font-size: .9375rem; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }

/* ---------- rozvržení ---------- */
.page { width: min(100% - 2rem, 30rem); margin-inline: auto; padding-block: 1.25rem 3rem; }
.page-wide { width: min(100% - 2rem, 72rem); margin-inline: auto; padding-block: 1rem 3rem; }
.stack > * + * { margin-top: var(--stack, 1rem); }
.row { display: flex; align-items: center; gap: .75rem; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.topbar { border-bottom: 2px solid var(--ink); background: var(--paper); }
.topbar .page, .topbar .page-wide { padding-block: .75rem; }
.topbar nav { gap: .25rem 1.25rem !important; }
.topbar nav .btn-text { padding: 0; }

/* logo: dvě slova na smaltovém proužku */
.brand {
  display: inline-flex; align-items: center; gap: .3em; text-decoration: none;
  font: 800 1.25rem/1 var(--font-num); letter-spacing: .01em;
}
.brand::before {
  content: ""; width: 1.15em; height: 1.15em; flex: none;
  background: url("/assets/logo.svg?v=20261019152448") center / contain no-repeat;
}
a.brand { color: inherit; }
a.brand:hover { color: var(--red); }
.brand-small { font: 700 1rem/1 var(--font-num); text-decoration: none; color: var(--ink-2); }

/* štít nad provozovnou (stránka zákazníka) */
.shopsign { background: var(--blue); color: var(--white); }
.shopsign .page { padding-block: .75rem; }
.shopsign-plate { border: 2px solid var(--white); border-radius: 8px; padding: .75rem 1rem .8rem; }
.shopsign h1 { font-size: 1.875rem; }
.shopsign p { color: rgba(251, 250, 245, .85); font-size: .9375rem; margin-top: .2rem; }

/* ---------- tlačítka a pole ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: 0 1.25rem;
  border-radius: var(--r);
  background: var(--red); color: var(--white);
  font: 700 1.1875rem/1 var(--font-num); letter-spacing: .01em; text-decoration: none;
}
.btn:hover { background: var(--red-ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-block { width: 100%; }
.btn-big { min-height: 4.5rem; font-size: 1.5rem; }
.btn-big:disabled { opacity: 1; background: var(--paper-2); color: var(--ink-2); }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: #2A3850; }
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: #163E73; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--paper-2); }
.btn-text {
  appearance: none; border: 0; background: none; padding: .5rem 0; cursor: pointer;
  font: 500 1rem/1.2 var(--font); color: var(--ink); text-decoration: underline; text-underline-offset: .2em;
}

label { display: block; font-weight: 600; margin-bottom: .375rem; }
.hint { display: block; font-weight: 400; color: var(--ink-2); font-size: .9375rem; }
input[type=text], input[type=search], input[type=tel], input[type=email], input[type=password], input[type=number], input[type=url], input[type=time], select {
  width: 100%; min-height: 3.25rem; padding: .5rem .875rem;
  border: 2px solid var(--line); border-radius: 8px;
  background: var(--white); color: var(--ink);
  font: 400 1.125rem/1.2 var(--font);
}
input:focus, select:focus { outline: none; border-color: var(--blue); }
.field + .field { margin-top: 1rem; }
.error { color: var(--red-ink); font-weight: 600; }

/* volba služby: řádky jako v ceníku */
.choices { border-top: 2px solid var(--ink); }
.choice { display: flex; align-items: center; gap: .875rem; padding: .875rem .25rem; border-bottom: 1.5px solid var(--line); cursor: pointer; font-weight: 400; margin: 0; }
.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--red); margin: 0; flex: none; }
.choice .price { margin-left: auto; font: 700 1.125rem/1 var(--font-num); white-space: nowrap; }

/* ---------- ceník s tečkami jako na tabuli v dílně ---------- */
.pricelist { list-style: none; padding: 0; margin: 0; }
.pricelist li { display: flex; align-items: baseline; gap: .5rem; padding: .375rem 0; }
.pricelist li::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted var(--ink-2); transform: translateY(-.3em); }
.pricelist .p { order: 2; white-space: nowrap; font: 700 1.125rem/1 var(--font-num); }

/* ---------- smaltovaná cedulka s číslem ---------- */
.plate, .num {
  --plate: var(--blue);
  position: relative; display: inline-grid; place-items: center;
  min-width: 1.6em; padding: .16em .42em .12em;
  background: var(--plate); color: var(--white);
  border-radius: .14em;
  outline: .045em solid var(--white); outline-offset: -.11em;
  font: 800 1em/1 var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
/* dírky po šroubcích */
.plate::before, .plate::after, .num::before, .num::after {
  content: ""; position: absolute; top: 50%; width: .07em; height: .07em; border-radius: 50%;
  background: rgba(251, 250, 245, .75); transform: translateY(-50%);
}
.plate::before, .num::before { left: .05em; }
.plate::after, .num::after { right: .05em; }
.plate-red, .num { --plate: var(--red); }
.plate-green { --plate: var(--green); }
.num { font-size: clamp(6rem, 34vw, 9.5rem); }
.num-label { font: 700 1.125rem/1 var(--font-num); margin-bottom: .75rem; }

/* pás fronty: malé cedulky před vámi → vaše číslo */
.strip { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.strip span {
  --plate: var(--blue);
  position: relative; display: inline-grid; place-items: center; min-width: 2.75rem; padding: .4rem .5rem .35rem;
  background: var(--plate); color: var(--white); border-radius: 6px;
  outline: 1.5px solid var(--white); outline-offset: -4px;
  font: 800 1.375rem/1 var(--font-num); font-variant-numeric: tabular-nums;
}
.strip .is-called { --plate: var(--green); }
.strip .is-you { --plate: var(--red); font-size: 1.875rem; padding: .45rem .7rem .4rem; }

/* stav „jste na řadě“: celá obrazovka zezelená */
body.is-called { background: var(--green); color: var(--white); }
body.is-called .muted { color: rgba(251, 250, 245, .85); }
body.is-called .num { --plate: var(--white); color: var(--green); outline-color: var(--green); }
body.is-called .num::before, body.is-called .num::after { background: rgba(44, 122, 75, .6); }
body.is-called .shopsign { background: #23623C; }
body.is-called .btn-text, body.is-called a { color: var(--white); }
body.is-called .btn-line { color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }

/* oznámení dole */
.toast {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%);
  background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: 8px;
  max-width: calc(100% - 2rem); font-weight: 500; z-index: 20;
}

/* ---------- přepínač fronta / objednání ---------- */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.tabs button {
  appearance: none; border: 0; cursor: pointer; text-align: left;
  padding: .75rem .875rem .8rem; border-radius: var(--r);
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink);
  font: 700 1.125rem/1.15 var(--font-num);
}
.tabs button span { display: block; font: 400 .875rem/1.3 var(--font); color: var(--ink-2); margin-top: .2rem; }
.tabs button[aria-selected=true] { background: var(--ink); color: var(--white); }
.tabs button[aria-selected=true] span { color: rgba(251, 250, 245, .8); }

/* ---------- trhací kalendář ---------- */
.days { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem 0 .75rem; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.day {
  appearance: none; border: 0; cursor: pointer; flex: none; width: 4.25rem; padding: 0; scroll-snap-align: start;
  background: var(--white); color: var(--ink); border-radius: 6px; overflow: hidden;
  box-shadow: inset 0 0 0 1.5px var(--line); text-align: center;
}
.day .dw { display: block; background: var(--red); color: var(--white); font: 700 .8125rem/1 var(--font-num); padding: .35rem 0 .3rem; }
.day .dn { display: block; font: 800 1.875rem/1 var(--font-num); padding-top: .4rem; }
.day .dm { display: block; font-size: .75rem; color: var(--ink-2); padding: .1rem 0 .45rem; }
.day[aria-pressed=true] { box-shadow: inset 0 0 0 3px var(--blue); }
.day[aria-pressed=true] .dw { background: var(--blue); }
.day:disabled { cursor: default; opacity: .45; }
.day:disabled .dw { background: var(--ink-2); }

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr)); gap: .5rem; }
.times button {
  appearance: none; border: 0; cursor: pointer; min-height: 3rem; border-radius: 8px;
  background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line);
  font: 700 1.1875rem/1 var(--font-num); font-variant-numeric: tabular-nums;
}
.times button:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.times button[aria-pressed=true] { background: var(--blue); color: var(--white); box-shadow: none; outline: 1.5px solid var(--white); outline-offset: -5px; }
.times-group + .times-group { margin-top: 1rem; }
.times-group h3 { font-size: 1rem; color: var(--ink-2); margin-bottom: .5rem; }

/* ---------- kartonová jízdenka s razítkem ---------- */
.ticket {
  position: relative; background: var(--card); color: var(--ink);
  border-radius: 8px; padding: 1.25rem 1.5rem 1.4rem;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent .7rem, #000 .75rem) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, transparent .7rem, #000 .75rem) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent .7rem, #000 .75rem) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, transparent .7rem, #000 .75rem) right / 51% 100% no-repeat;
}
.ticket-head { display: flex; justify-content: space-between; gap: 1rem; font: 700 .9375rem/1.2 var(--font-num); padding-bottom: .75rem; border-bottom: 2px dashed rgba(26, 36, 51, .35); }
.ticket-when { font: 800 clamp(2.5rem, 12vw, 3.5rem)/1 var(--font-num); margin-top: .9rem; font-variant-numeric: tabular-nums; }
.ticket-date { font: 700 1.25rem/1.2 var(--font-num); margin-top: .35rem; }
.ticket-meta { margin-top: .9rem; font-size: 1rem; }
.stamp {
  position: absolute; right: 1.25rem; top: 4.25rem; transform: rotate(-9deg);
  color: var(--violet); border: 3px double var(--violet); border-radius: 6px;
  padding: .3rem .55rem .25rem; font: 800 1rem/1 var(--font-num); letter-spacing: .06em;
  opacity: .82; mix-blend-mode: multiply; text-align: center;
}
.stamp small { display: block; font: 700 .6875rem/1.2 var(--font-num); letter-spacing: .02em; }
.stamp-red { color: var(--red-ink); border-color: var(--red-ink); }

/* ---------- obsluha ---------- */
.desk { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .desk { grid-template-columns: 1.1fr 1fr; align-items: start; } }

.serving { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); }
.serving-row { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; padding: 1rem; border-bottom: 1.5px solid var(--line); }
.serving-row:last-child { border-bottom: 0; }
.serving-row .n { grid-row: span 2; align-self: center; }
.serving-row .n .plate { font-size: 2.75rem; }
.serving-row .who { font-weight: 600; font-size: 1.25rem; align-self: end; }
.serving-row .meta { color: var(--ink-2); font-size: .9375rem; }
.serving-row .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.serving-row .actions .btn { min-height: 3rem; flex: 1 1 8rem; }
.empty { padding: 1.25rem 1rem; color: var(--ink-2); }

.waitlist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.waitlist li { display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; gap: .75rem; padding: .625rem 0; border-bottom: 1.5px solid var(--line); }
.waitlist .n .plate { font-size: 1.5rem; }
.waitlist .time { font: 800 1.375rem/1 var(--font-num); font-variant-numeric: tabular-nums; }
.waitlist .who { font-weight: 600; }
.waitlist .meta { color: var(--ink-2); font-size: .9375rem; }
.waitlist .acts { display: flex; gap: .5rem; align-items: center; }
.waitlist .btn { min-height: 2.75rem; font-size: 1.0625rem; padding: 0 1rem; }
.waitlist li.is-past .time { color: var(--red-ink); }
.waitlist li.is-done { opacity: .55; }

.switch { display: inline-flex; align-items: center; gap: .625rem; font-weight: 600; cursor: pointer; margin: 0; }
.switch input { appearance: none; width: 3rem; height: 1.75rem; border-radius: 1rem; background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--line); position: relative; margin: 0; cursor: pointer; flex: none; }
.switch input::after { content: ""; position: absolute; top: .25rem; left: .25rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--ink-2); transition: transform .15s; }
.switch input:checked { background: var(--green); box-shadow: none; }
.switch input:checked::after { transform: translateX(1.25rem); background: var(--white); }

.panel { border-top: 2px solid var(--ink); padding-top: 1rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.stats p { font-size: .9375rem; line-height: 1.3; color: var(--ink-2); }
.stats b { display: block; font: 800 2.25rem/1 var(--font-num); color: var(--ink); margin-bottom: .25rem; font-variant-numeric: tabular-nums; }

.demo-note { background: var(--mustard); color: var(--ink); font-size: .9375rem; padding: .5rem 1rem; text-align: center; }
.demo-note a { color: var(--ink); font-weight: 600; }

/* ---------- nastavení ---------- */
.notice { border-left: 6px solid var(--green); background: var(--white); padding: 1rem 1.25rem; margin-bottom: 2rem; border-radius: 0 8px 8px 0; }
.notice h2 { margin-bottom: .25rem; }
.settings { margin-top: 1.5rem; }
.settings-row { display: grid; gap: 1rem 3rem; padding-block: 1.75rem; border-top: 1.5px solid var(--line); }
.settings .settings-row:first-child { border-top: 2px solid var(--ink); }
.settings-head p { margin-top: .375rem; font-size: .9375rem; max-width: 34ch; }
.settings-body { max-width: 34rem; }
@media (min-width: 800px) { .settings-row { grid-template-columns: 18rem 1fr; } }

.hours { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--line); }
.hours li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .5rem 1rem; align-items: center; padding: .6rem 0; border-bottom: 1.5px solid var(--line); }
.hours .switch { font-weight: 600; }
.hours .span { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.hours .grp { display: inline-flex; align-items: center; gap: .375rem; white-space: nowrap; }
.hours input[type=time] { width: 7.75rem; min-height: 2.75rem; font-size: 1rem; padding: .25rem .5rem; }
.hours .closed { color: var(--ink-2); }
.hours .btn-text { font-size: .9375rem; color: var(--ink-2); padding: .25rem 0; }

.svc-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.svc-list li.svc-head { padding: 0 0 .375rem; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.svc-list li { display: grid; grid-template-columns: 1fr 6.5rem 4.5rem; gap: .5rem; align-items: center; padding: .625rem 0; border-bottom: 1.5px solid var(--line); }
.svc-list input { min-height: 2.75rem; font-size: 1rem; }
.svc-list .svc-actions { grid-column: 1 / -1; display: flex; gap: 1.25rem; }
.svc-list .svc-actions .btn-text { padding: 0; font-size: .9375rem; color: var(--ink-2); }
.svc-list li.is-off input { color: var(--ink-2); background: var(--paper-2); }
.svc-add { display: grid; grid-template-columns: 1fr 6.5rem 4.5rem; gap: .5rem; align-items: end; }
.svc-add .field, .svc-add .field + .field { margin: 0; }
.svc-add label { font-size: .9375rem; }
.svc-add .btn { grid-column: 1 / -1; justify-self: start; min-height: 2.75rem; }

/* ---------- cedule A4 na dveře ---------- */
.sheet-wrap { container-type: inline-size; width: min(100%, 42rem); }
.sheet {
  aspect-ratio: 210 / 297; background: var(--white); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
  padding: 6cqw 7cqw 5cqw; display: flex; flex-direction: column;
}
.sheet-sign { background: var(--blue); color: var(--white); border-radius: 1.6cqw; padding: 1.2cqw; }
.sheet-sign div { border: .45cqw solid var(--white); border-radius: 1.1cqw; padding: 2.4cqw 3cqw 2.6cqw; }
.sheet-biz { font: 800 6cqw/1.02 var(--font-num); }
.sheet-linked { font: 600 2.6cqw/1.3 var(--font); margin-top: 1cqw; color: rgba(251, 250, 245, .88); }
.sheet-title { font: 800 7.4cqw/1 var(--font-num); margin-top: 6cqw; letter-spacing: -.01em; }
.sheet-main { display: grid; grid-template-columns: 44cqw 1fr; gap: 5cqw; align-items: center; margin-top: 5cqw; }
.sheet-qr svg { width: 100%; height: auto; }
.sheet-steps { list-style: none; margin: 0; padding: 0; counter-reset: krok; }
.sheet-steps li { counter-increment: krok; display: grid; grid-template-columns: 5.2cqw 1fr; gap: 1.6cqw; font: 500 3cqw/1.28 var(--font); align-items: start; }
.sheet-steps li + li { margin-top: 2.8cqw; }
.sheet-steps li::before {
  content: counter(krok); display: grid; place-items: center; height: 5.2cqw; border-radius: .8cqw;
  background: var(--red); color: var(--white); font: 800 3.4cqw/1 var(--font-num);
  outline: .3cqw solid var(--white); outline-offset: -.8cqw;
}
.sheet-next {
  display: grid; grid-template-columns: 1fr auto; gap: 3cqw; align-items: center;
  margin-top: auto; background: var(--card); border-radius: 1.4cqw; padding: 3.2cqw 3.6cqw;
}
.sheet-next h3 { font: 800 4.6cqw/1.05 var(--font-num); }
.sheet-next p { font: 500 2.75cqw/1.3 var(--font); margin-top: 1cqw; }
.sheet-next .sheet-url { font: 800 3.3cqw/1.1 var(--font-num); margin-top: 1.6cqw; }
.sheet-next .stamp { position: static; font-size: 2.6cqw; border-width: .6cqw; padding: 1cqw 1.4cqw .8cqw; }
.sheet-next .stamp small { font-size: 1.7cqw; }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 3cqw; font: 500 2.3cqw/1.2 var(--font); color: var(--ink-2); }
.sheet-foot .brand { font-size: 3cqw; color: var(--ink); }

@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff; }
  .topbar, .no-print, .demo-note, .toast { display: none !important; }
  #app { width: auto; padding: 0 !important; margin: 0; }
  .sheet-wrap { width: 210mm; }
  .sheet { width: 210mm; height: 297mm; aspect-ratio: auto; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- úvodní stránka ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-block: 3rem 4.5rem; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr) 23rem; gap: 4.5rem; padding-block: 4.5rem 6rem; } }
.hero h1 { font: 800 clamp(2.9rem, 7vw, 5.5rem)/.94 var(--font-num); letter-spacing: -.02em; }
.hero .lead { font-size: 1.25rem; line-height: 1.5; margin-top: 1.5rem; max-width: 36rem; }

.hero-objects { position: relative; justify-self: center; width: min(100%, 22rem); padding-bottom: 1rem; }
.hero-objects .plate { font-size: 7.5rem; }
.hero-objects .ticket { width: min(18.5rem, calc(100% - .75rem)); margin: -1.25rem 0 0 auto; transform: rotate(3deg); }
.hero-objects .hero-caption { font: 700 1rem/1.2 var(--font-num); margin-bottom: .6rem; }

.band { background: var(--white); border-block: 2px solid var(--ink); padding-block: 3.5rem; }
.section-title { font: 800 2.5rem/1 var(--font-num); }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 2rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border-top: 6px solid var(--ink); padding-top: 1rem; }
.steps li.c-blue { border-color: var(--blue); }
.steps li.c-red { border-color: var(--red); }
.steps li.c-green { border-color: var(--green); }
.steps p { margin-top: .5rem; color: var(--ink-2); }

.two-col { display: grid; gap: 1.5rem 3rem; padding-block: 4rem; border-bottom: 1.5px solid var(--line); }
@media (min-width: 900px) { .two-col { grid-template-columns: 22rem minmax(0, 40rem); } }
.plain-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.plain-list li { padding: .75rem 0; border-bottom: 1.5px solid var(--line); }

.pricelist-big li { font-size: 1.25rem; padding: .75rem 0 .125rem; }
.pricelist-big li span:first-child { font: 700 1.375rem/1.1 var(--font-num); }
.pricelist-big .p { font-size: 1.375rem; }
.pricelist-big li.desc { display: block; font-size: 1rem; color: var(--ink-2); padding: 0 0 .75rem; border-bottom: 1.5px solid var(--line); }
.pricelist-big li.desc::after { content: none; }
.offer { margin-top: 1.5rem; padding: .9rem 1rem; background: var(--card); border-radius: 8px; font-weight: 600; }

.footer { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; padding-block: 2rem 3rem; }
.footer a:last-child { margin-left: auto; }
@media (max-width: 480px) { .hide-narrow { display: none; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.waitlist .meta a { white-space: nowrap; }
.choice input[type=checkbox] { border-radius: 4px; }
.svc-total { margin-top: .625rem; font: 700 1.0625rem/1.3 var(--font-num); min-height: 1.3em; }

/* ---------- objednávka: obsazenost dnů, nejbližší termín, spodní lišta ---------- */
.day .dm { padding-bottom: .3rem; }
.day .dl { display: block; height: 5px; margin: 0 .5rem .45rem; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.day .dl i { display: block; height: 100%; border-radius: 3px; }
.l-free { background: var(--green); }
.l-few { background: var(--mustard); }
.l-full { background: #B8B4A6; }
.load-legend { display: flex; gap: .75rem; font-size: .8125rem; color: var(--ink-2); }
.load-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.load-legend i { display: inline-block; width: .875rem; height: 5px; border-radius: 3px; }
@media (max-width: 360px) { .load-legend { gap: .5rem; font-size: .75rem; } }

.soonest {
  appearance: none; border: 0; cursor: pointer; width: 100%; text-align: left; color: var(--ink);
  display: flex; align-items: center; gap: .875rem; padding: .875rem 1rem; border-radius: var(--r);
  background: var(--card); box-shadow: inset 0 0 0 1.5px rgba(26, 36, 51, .25);
}
.soonest:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.soonest > span { display: block; line-height: 1.25; }
.soonest-label { display: block; font-size: .875rem; }
.soonest-when { display: block; font: 800 1.25rem/1.2 var(--font-num); }

#bservice-total { display: none; }
.book-form { padding-bottom: .5rem; }
.book-bar {
  position: sticky; bottom: 0; z-index: 5; margin-inline: -1rem;
  padding: .75rem 1rem calc(.875rem + env(safe-area-inset-bottom));
  background: var(--white); border-top: 2px solid var(--ink);
}
.book-bar-sum { display: flex; justify-content: space-between; gap: 1rem; font: 800 1.125rem/1.25 var(--font-num); }
.book-bar-sum span:last-child { white-space: nowrap; }
.book-bar-row { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; }
.book-bar-row p { flex: 1; font-size: .9375rem; line-height: 1.3; }
.book-bar-row .btn { flex: none; }
.book-bar-row .btn:disabled { background: #B8B4A6; opacity: 1; }
.book-bar .error { margin-top: .5rem; }

/* ---------- pult: táhnutí řádku, Vrátit zpět, držené tlačítko, graf hodin ---------- */
.serving .lane { position: relative; overflow: hidden; }
.serving .lane + .lane { border-top: 1.5px solid var(--line); }
.serving .lane:first-child { border-radius: calc(var(--r) - 2px) calc(var(--r) - 2px) 0 0; }
.serving .lane:last-child { border-radius: 0 0 calc(var(--r) - 2px) calc(var(--r) - 2px); }
.serving-row { border-bottom: 0; position: relative; background: var(--white); touch-action: pan-y; transition: transform .25s cubic-bezier(.3, .7, .35, 1); }
.serving-row.is-dragging { transition: none; cursor: grabbing; box-shadow: 0 6px 18px rgba(26, 36, 51, .18); }
.lane-under { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 1.5rem;
  font: 800 1.375rem/1 var(--font-num); color: var(--white); background: var(--paper-2); }
.lane[data-dir=right] .lane-under { background: #8DB89E; }
.lane[data-dir=left] .lane-under { background: #D99A97; }
.lane[data-dir=right].is-armed .lane-under { background: var(--green); }
.lane[data-dir=left].is-armed .lane-under { background: var(--red); }
.lane[data-dir=right] .lane-under span:last-child, .lane[data-dir=left] .lane-under span:first-child { visibility: hidden; }

.undo-toast {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 21; overflow: hidden;
  display: flex; align-items: center; gap: 1.25rem; min-width: min(26rem, calc(100% - 2rem)); max-width: calc(100% - 2rem);
  background: var(--ink); color: var(--white); padding: .75rem .75rem .9rem 1rem; border-radius: 8px; font-weight: 500;
}
.undo-toast span { flex: 1; }
.undo-toast .btn-text { color: var(--card); font-weight: 700; padding: .5rem .75rem; min-height: 2.75rem; }
.undo-toast i { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--mustard); animation: undo-left 6s linear forwards; }
@keyframes undo-left { from { width: 100%; } to { width: 0; } }

.hold { position: relative; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.hold:hover { background: var(--red); }
.hold .hold-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--red-ink); transition: width .15s ease-out; }
.hold.is-holding .hold-fill { width: 100%; transition: width .7s linear; }
.hold .hold-text { position: relative; }

.stats .hours-chart, .stats .hours-empty { grid-column: 1 / -1; margin: .25rem 0 0; }
.hours-empty { font-size: .875rem; }
.hb-row { display: flex; align-items: flex-end; gap: .3rem; height: 4.5rem; }
.hb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: .2rem; }
.hb i { display: block; width: 100%; max-width: 1.75rem; background: var(--blue); border-radius: 3px 3px 0 0; }
.hb small { font-size: .6875rem; color: var(--ink-2); line-height: 1; }
.hb.is-now i { background: var(--mustard); }
.hb.is-now small { color: var(--ink); font-weight: 700; }
.hours-chart figcaption { font-size: .8125rem; color: var(--ink-2); margin-top: .375rem; }
@media (prefers-reduced-motion: reduce) { .serving-row, .hold .hold-fill, .hold.is-holding .hold-fill { transition: none; } .undo-toast i { animation: none; } }

/* ---------- přepínač pohledu a časová osa dne ---------- */
.view-tabs { margin: -.5rem 0 1.5rem; max-width: 34rem; }
.tl-scroll { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); }
.tl { min-width: calc(3.5rem + var(--lanes) * 10rem); }
.tl-head, .tl-body { display: grid; grid-template-columns: 3.5rem repeat(var(--lanes), minmax(10rem, 1fr)); }
.tl-head { border-bottom: 2px solid var(--ink); position: sticky; top: 0; background: var(--white); z-index: 3; }
.tl-head span { padding: .6rem .75rem; font: 700 1.0625rem/1.2 var(--font-num); }
.tl-head span + span { border-left: 1.5px solid var(--line); }
.tl-body { position: relative; background-image: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 72px); }
.tl-hours { position: relative; }
.tl-hour { position: absolute; right: .5rem; transform: translateY(-50%); font: 700 .8125rem/1 var(--font-num); color: var(--ink-2); background: var(--white); padding: 2px 0; }
.tl-hour:first-child { transform: none; top: 4px !important; }
.tl-lane { position: relative; border-left: 1.5px solid var(--line); }
.tl-closed { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(-45deg, rgba(26, 36, 51, .08) 0 6px, transparent 6px 12px); }
.tl-block {
  appearance: none; border: 0; position: absolute; left: .375rem; right: .375rem; z-index: 1; overflow: hidden; text-align: left;
  border-radius: 8px; padding: .3rem .6rem; font: 400 .875rem/1.25 var(--font); cursor: pointer;
  background: var(--blue); color: var(--white); touch-action: pan-x;
}
.tl-block.is-movable { cursor: grab; touch-action: none; }
.tl-block.is-arrived { background: var(--green); }
.tl-block.is-no_show { background: var(--paper-2); color: var(--ink-2); text-decoration: line-through; }
.tl-block.is-past { opacity: .6; }
.tl-block.is-selected { outline: 3px solid var(--mustard); outline-offset: 1px; }
.tl-block.is-dragging { z-index: 4; cursor: grabbing; box-shadow: 0 10px 24px rgba(11, 17, 26, .3); opacity: .95; }
.tl-block:focus-visible { outline: 3px solid var(--mustard); outline-offset: 1px; }
.tl-when { font-weight: 700; }
.tl-who { font-weight: 600; }
.tl-svc { display: block; opacity: .85; font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-drop { position: absolute; right: .4rem; top: .3rem; background: var(--mustard); color: var(--ink); border-radius: 4px; padding: 1px 6px; font: 800 .8125rem/1.3 var(--font-num); }
.tl-drop:empty { display: none; }
.tl-now { position: absolute; left: 3.5rem; right: 0; height: 2px; background: var(--red); z-index: 2; pointer-events: none; }
.tl-now span { position: absolute; left: -3.4rem; top: -.6rem; background: var(--red); color: var(--white); border-radius: 4px; padding: 1px 5px; font: 800 .75rem/1.3 var(--font-num); }
.tl-card { border-left: 6px solid var(--mustard); background: var(--white); border-radius: 0 8px 8px 0; padding: 1rem 1.25rem; }
.tl-card-time { font: 800 1.375rem/1.2 var(--font-num); }

/* ---------- logo provozovny ---------- */
.shopsign-plate { display: flex; align-items: center; gap: .875rem; }
.shopsign-plate > div { min-width: 0; }
.biz-logo { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 6px; object-fit: cover; background: var(--white); box-shadow: 0 0 0 2px var(--white); }
.sheet-sign .has-logo { display: flex; align-items: center; gap: 3cqw; }
.sheet-logo { flex: none; width: 14cqw; height: 14cqw; border-radius: 1cqw; object-fit: cover; background: var(--white); }
.logo-row { flex-wrap: wrap; gap: .75rem 1rem; margin-top: .5rem; }
.logo-preview, .logo-empty { width: 5rem; height: 5rem; border-radius: 8px; flex: none; }
.logo-preview { object-fit: cover; background: var(--white); box-shadow: 0 0 0 1.5px var(--line); }
.logo-empty { display: grid; place-items: center; text-align: center; font-size: .8125rem; color: var(--ink-2); border: 2px dashed var(--line); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo-row:has(#logo-file:focus-visible) label { outline: 3px solid var(--mustard); outline-offset: 2px; }

/* ---------- vyhledávání provozoven na úvodní stránce ---------- */
.find { background: var(--blue); color: var(--white); padding-block: 1.25rem 1.5rem; }
.find-form label { display: block; font: 700 1.25rem/1.2 var(--font-num); margin-bottom: .625rem; }
.find-row { display: flex; gap: .5rem; max-width: 40rem; }
.find-row input { flex: 1; min-width: 0; }
.find-row .btn { flex: none; background: var(--ink); }
.find-row .btn:hover { background: #2A3850; }
.find-note { margin-top: .75rem; color: rgba(251, 250, 245, .85) !important; max-width: 40rem; }
.find .error.find-note { color: var(--card) !important; }
.find-results { list-style: none; margin: .875rem 0 0; padding: 0; max-width: 40rem; display: grid; gap: .5rem; }
.find-results a { display: flex; align-items: center; gap: .875rem; padding: .625rem .875rem; border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; }
.find-results a:hover { box-shadow: inset 0 0 0 2px var(--mustard); }
.find-results b { display: block; font: 700 1.125rem/1.2 var(--font-num); }
.find-results .muted { display: block; font-size: .875rem; }
.find-logo { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 6px; object-fit: cover; }
.find-initial { display: grid; place-items: center; background: var(--red); color: var(--white); font: 800 1.375rem/1 var(--font-num); outline: 1.5px solid var(--white); outline-offset: -4px; }
.pay-box { border-top: 1.5px solid var(--line); padding-top: 1.25rem; }

/* ---------- platba předem QR kódem ---------- */
.pay { background: var(--white); border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line); padding: 1rem 1.125rem 1.125rem; }
.pay h2 { font-size: 1.375rem; }
.pay > p { margin-top: .375rem; }
.pay-row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin: 1rem 0 .75rem; }
.pay-qr { width: 9.5rem; height: 9.5rem; flex: none; background: var(--white); }
.pay-qr svg { width: 100%; height: 100%; }
.pay-data { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .25rem .875rem; }
.pay-data dt { color: var(--ink-2); font-size: .9375rem; }
.pay-data dd { margin: 0; font: 700 1.0625rem/1.4 var(--font-num); }
.paid-note { font: 700 1.125rem/1.3 var(--font-num); color: var(--green); }
.find-row input { border-color: var(--white); }
.find-row input:focus { border-color: var(--mustard); }

/* ---------- patička s údaji provozovatele ---------- */
.legal { padding-block: 2rem 2.5rem; border-top: 1.5px solid var(--line); margin-top: 2rem; }
.legal-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.legal nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.legal p { margin-top: .875rem; max-width: 60ch; }
.brand-sub { font: 600 .875rem/1 var(--font); color: var(--ink-2); margin-left: .15rem; }
@media (max-width: 480px) { .brand-sub { display: none; } }

/* ---------- úvodní stránka pro zákazníky ---------- */
.c-main { padding-top: 2.5rem; min-height: 60vh; }
.c-title { font: 800 clamp(2.25rem, 9vw, 3rem)/1 var(--font-num); letter-spacing: -.01em; }
.c-find { margin-top: 1.5rem; display: grid; gap: .75rem; }
.c-search { position: relative; }
.c-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.c-search input { min-height: 3.75rem; padding-left: 3rem; font-size: 1.1875rem; border: 2px solid var(--ink); border-radius: var(--r); }
.c-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 79, 145, .2); }
.c-near { gap: .5rem; }
.c-status { margin-top: 1rem; color: var(--ink-2); }
.c-status:empty { display: none; }
.c-results { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .625rem; }
.c-results a { display: flex; align-items: center; gap: .875rem; padding: .75rem .875rem; border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--line); }
.c-results a:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.c-card { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.c-card b { font: 700 1.1875rem/1.2 var(--font-num); }
.c-card .muted { font-size: .875rem; }
.c-free { font-size: .9375rem; font-weight: 600; color: var(--green); }
.c-km { flex: none; font: 700 1rem/1 var(--font-num); color: var(--ink-2); }
.c-mine { margin-top: 2.5rem; }
.c-mine h2 { font-size: 1.375rem; }

/* přidat na plochu */
.c-install { margin-top: 3rem; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .75rem 1rem; padding: 1rem; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.c-install img { border-radius: 12px; }
.c-install h2 { font-size: 1.1875rem; }
.c-install p { font-size: .9375rem; margin-top: .2rem; }
.c-install .btn { grid-column: 1 / -1; }
@media (min-width: 560px) { .c-install { grid-template-columns: auto minmax(0, 1fr) auto; } .c-install .btn { grid-column: auto; } }
.c-dialog { width: min(32rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); border: 2px solid var(--ink); border-radius: var(--r); padding: 1.25rem; background: var(--paper); color: var(--ink); }
.c-dialog::backdrop { background: rgba(26, 36, 51, .55); }
.c-dialog h2 { font-size: 1.375rem; }
.c-dialog .tabs { margin-top: 1rem; }
.tabs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tabs-3 button { text-align: center; font-size: 1rem; padding-inline: .5rem; }
.c-steps { margin: 1.125rem 0 0; padding-left: 1.4rem; display: grid; gap: .625rem; }
.c-steps li { padding-left: .25rem; line-height: 1.45; }
.c-dialog .small { margin-top: .875rem; }
.c-ico { display: inline-block; vertical-align: -3px; }
.c-close { font-weight: 600; }
kbd { font: 600 .875em/1 var(--font); padding: .15em .4em; border-radius: 4px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 var(--line); }

/* přihlášení provozovny: modrá smaltovaná cedulka, ať je vidět na první pohled */
.login-pill {
  display: inline-flex; align-items: center; gap: .4rem; flex: none;
  min-height: 2.5rem; padding: .45rem .8rem .5rem; border-radius: var(--r);
  background: var(--blue); color: var(--white); text-decoration: none;
  font: 700 .9375rem/1 var(--font-num); white-space: nowrap;
  box-shadow: inset 0 0 0 2px var(--blue), inset 0 0 0 3.5px rgba(251, 250, 245, .85);
}
.login-pill:hover { background: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 3.5px rgba(251, 250, 245, .85); color: var(--white); }
.login-pill:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.legal .login-pill { font-size: .875rem; min-height: 2.25rem; }
@media (max-width: 370px) { .topbar .login-pill svg { display: none; } .topbar .login-pill { font-size: .875rem; padding-inline: .65rem; } }

/* ---------- správa předplatného ---------- */
.adm-stats { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 1.25rem 0 0; }
.adm-stats dt { color: var(--ink-2); font-size: .9375rem; }
.adm-stats dd { margin: 0; font: 800 1.5rem/1.2 var(--font-num); }
.adm-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .75rem; }
.adm-order { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1rem; padding: 1rem; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.adm-vs { display: grid; place-content: center; text-align: center; min-width: 5.5rem; padding: .5rem; border-radius: 8px; background: var(--card); }
.adm-vs b { font: 800 1.5rem/1 var(--font-num); letter-spacing: .02em; }
.adm-main { display: grid; gap: .2rem; }
.adm-amount { font: 800 1.375rem/1.1 var(--font-num); }
.adm-late { color: var(--red); }
.adm-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
@media (min-width: 640px) { .adm-order { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; } .adm-actions { grid-column: auto; flex-direction: column; align-items: stretch; } }
.adm-done { list-style: none; margin: .75rem 0 0; padding: 0; }
.adm-done li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .625rem 0; border-bottom: 1px solid var(--line); }

/* ---------- faktura ---------- */
.invoice { background: #fff; color: #111; padding: 2rem; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line); font-size: .9375rem; }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: 1rem; }
.inv-title { text-align: right; }
.inv-title h1 { font-size: 1.75rem; }
.inv-title p { font: 700 1.125rem/1.2 var(--font-num); }
.inv-parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.inv-parties h2 { font: 600 .8125rem/1 var(--font); color: var(--ink-2); margin-bottom: .5rem; }
.inv-parties p + p { margin-top: .5rem; }
.inv-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .75rem 1.5rem; margin: 1.5rem 0 0; padding: 1rem 0; border-block: 1px solid var(--line); }
.inv-meta dt { color: var(--ink-2); font-size: .8125rem; }
.inv-meta dd { margin: .15rem 0 0; font-weight: 600; }
.inv-items { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.inv-items th, .inv-items td { text-align: left; padding: .625rem .25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.inv-items thead th { font-size: .8125rem; color: var(--ink-2); font-weight: 600; }
.inv-items .inv-num { text-align: right; white-space: nowrap; }
.inv-items tfoot th, .inv-items tfoot td { border-bottom: 0; padding-top: 1rem; font-size: 1.0625rem; }
.inv-paid { margin-top: 1.5rem; font-weight: 600; }
@media print {
  .no-print, .topbar, .toast, .undo-toast { display: none !important; }
  body { background: #fff; }
  #app { padding: 0 !important; max-width: none; }
  .invoice { box-shadow: none; padding: 0; border-radius: 0; }
  @page { size: A4; margin: 18mm; }
}

/* otevírací doba na úzkém telefonu: den nad časy, políčka se roztáhnou na šířku */
@media (max-width: 480px) {
  .hours li { grid-template-columns: 5.25rem minmax(0, 1fr); gap: .5rem .5rem; }
  .hours .span { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hours .grp { display: flex; width: 100%; }
  .hours input[type=time] { width: auto; flex: 1 1 0; min-width: 0; }
}
/* cedulka s časem objednávky (provoz jen na objednávky, bez fronty) */
.serving-row .n .plate-time { font-size: 1.625rem; letter-spacing: 0; padding: .5em .55em; }

/* Obchodní podmínky a ochrana údajů */
.doc { width: min(100% - 2rem, 40rem); }
.doc h1 { margin-bottom: .375rem; }
.doc h2 { font-size: 1.3125rem; margin: 2.25rem 0 .625rem; scroll-margin-top: 1rem; }
.doc p, .doc li, .doc dd { line-height: 1.6; max-width: 68ch; }
.doc p + p { margin-top: .75rem; }
.doc ol, .doc ul { padding-left: 1.25rem; margin: .5rem 0 0; display: grid; gap: .5rem; }
.doc-lead { margin-top: 1.5rem; padding: 1rem 1.125rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; }
.doc-dl { margin: .75rem 0 1rem; display: grid; gap: .875rem; }
.doc-dl dt { font-weight: 700; }
.doc-dl dd { margin: .125rem 0 0; }

/* objednávky zrušené zákazníkem na pultu */
.waitlist li.is-cancelled { opacity: .7; }
.waitlist li.is-cancelled .meta { color: var(--red-ink); }
.tl-cancelled { margin-top: .75rem; }
.tl-cancelled:empty { display: none; }
