/* GHA-Line design system.
   Layout idea: a quiet green-tinted paper, dense working surfaces, and one loud element,
   the red-gold-green line with its black star, used as the logo's dash and as the page's top rule. */
:root {
  --paper: #F2F5F0; --card: #FFFFFF; --sunken: #E6EBE4; --ink: #111A15; --muted: #55635A; --rule: #D2DAD2;
  --green: #0A6B42; --green-ink: #FFFFFF; --green-soft: #DCEDE3;
  --gold: #F2B617; --gold-soft: #FCF0C8; --gold-ink: #3B2B00;
  --red: #C51D2D; --red-soft: #FAE1E4; --blue: #1D5CA4; --blue-soft: #E0EBF8;
  --flag-red: #CE1126; --flag-gold: #FCD116; --flag-green: #006B3F; --star: #111A15;
  --shadow: 0 1px 2px rgba(17, 26, 21, .06), 0 8px 24px rgba(17, 26, 21, .07);
  --display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r: 12px; --r-sm: 8px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C130F; --card: #141D18; --sunken: #1B2720; --ink: #E8F0EA; --muted: #98AC9F; --rule: #2A3930;
    --green: #3DBE87; --green-ink: #06140D; --green-soft: #153226;
    --gold: #F5C443; --gold-soft: #3A300F; --gold-ink: #FBEEC2;
    --red: #F06571; --red-soft: #3A1A1E; --blue: #82B4EC; --blue-soft: #15273C;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C130F; --card: #141D18; --sunken: #1B2720; --ink: #E8F0EA; --muted: #98AC9F; --rule: #2A3930;
  --green: #3DBE87; --green-ink: #06140D; --green-soft: #153226;
  --gold: #F5C443; --gold-soft: #3A300F; --gold-ink: #FBEEC2;
  --red: #F06571; --red-soft: #3A1A1E; --blue: #82B4EC; --blue-soft: #15273C;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
body::before { content: ''; display: block; height: 5px; background: linear-gradient(90deg, var(--flag-red) 0 33.3%, var(--flag-gold) 33.3% 66.6%, var(--flag-green) 66.6%); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(1.9rem, 5.2vw, 3.3rem); font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--green); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.boot { padding: 48px 16px; text-align: center; color: var(--muted); }
[hidden] { display: none !important; }

/* Shell */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; flex-wrap: wrap; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; }
.top nav a { padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; }
.top nav a:hover, .top nav a.on { color: var(--ink); background: var(--sunken); }
.demo-note { background: var(--gold-soft); color: var(--gold-ink); border-radius: var(--r-sm); padding: 8px 12px; font-size: .875rem; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 14px; }
main { padding: 8px 0 64px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1 1 0; min-width: 0; }
.cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cols.sim { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
@media (max-width: 820px) { .cols, .cols.sim { grid-template-columns: minmax(0, 1fr); } }
.stack > *, .stack-sm > *, .row > .grow { min-width: 0; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .16em; font: 800 1.45rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo .line { color: var(--green); }
.logo svg { height: .5em; width: auto; flex: none; border-radius: .08em; }
.logo.big { font-size: clamp(2.6rem, 9vw, 5rem); }

/* Surfaces */
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px; }
.card.flat { box-shadow: none; }
.card.lift { box-shadow: var(--shadow); border-color: transparent; }
.panel { background: var(--sunken); border-radius: var(--r); padding: 14px; }
.eyebrow { font: 700 .72rem/1.2 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 4px 0; }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; background: var(--green); color: var(--green-ink); font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .08s ease, filter .12s ease; }
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.ghost:hover { background: var(--sunken); filter: none; }
.btn.gold { background: var(--gold); color: #2B2000; }
.btn.danger { background: transparent; color: var(--red); border-color: var(--red); }
.btn.sm { min-height: 32px; padding: 0 10px; font-size: .85rem; border-radius: 8px; }
.btn.block { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--rule); background: var(--card); cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--green); }
.chip.on { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.chip[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; background: var(--sunken); }
.chip.sm { min-height: 32px; padding: 0 10px; font-size: .85rem; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.scroll-x { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.scroll-x .chip { flex: none; flex-direction: column; gap: 0; min-height: 54px; min-width: 68px; justify-content: center; line-height: 1.15; }
.scroll-x .chip small { font-weight: 500; opacity: .8; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-weight: 600; font-size: .9rem; }
.field small { color: var(--muted); }
input[type=text], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search], input[type=password], select, textarea {
  width: 100%; min-height: 44px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--rule); background: var(--card); }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--green); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; }
.stepper button:hover { background: var(--sunken); }
.stepper output { min-width: 44px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; align-self: flex-start; max-width: 100%; background: var(--sunken); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button, .seg a { border: 0; background: transparent; padding: 7px 13px; border-radius: 8px; font-weight: 600; cursor: pointer; color: var(--muted); text-decoration: none; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.seg .on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.badge { background: var(--red); color: #fff; border-radius: 999px; font-size: .7rem; font-weight: 700; padding: 1px 6px; min-width: 18px; text-align: center; }

/* Status */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; background: var(--sunken); color: var(--muted); }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.booked { background: var(--blue-soft); color: var(--blue); }
.pill.confirmed, .pill.ready, .pill.preparing { background: var(--green-soft); color: var(--green); }
.pill.seated, .pill.notified, .pill.out_for_delivery { background: var(--gold-soft); color: var(--gold-ink); }
.pill.pending_deposit, .pill.waiting, .pill.new { background: transparent; color: var(--gold-ink); box-shadow: inset 0 0 0 1px var(--gold); }
.pill.no_show { background: var(--red); color: #fff; }
.pill.cancelled, .pill.expired { background: var(--red-soft); color: var(--red); }
.note { border-left: 4px solid var(--gold); background: var(--gold-soft); color: var(--gold-ink); padding: 10px 12px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .92rem; }
.note.info { border-color: var(--blue); background: var(--blue-soft); color: var(--ink); }
.note.bad { border-color: var(--red); background: var(--red-soft); color: var(--ink); }
.note.good { border-color: var(--green); background: var(--green-soft); color: var(--ink); }
.tag { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--sunken); font-size: .78rem; font-weight: 600; color: var(--muted); }
.tag.vip { background: var(--gold); color: #2B2000; }

/* Lists and tables */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th { text-align: left; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
table.data td { padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr.clickable { cursor: pointer; }
table.data tr.clickable:hover td { background: var(--sunken); }

/* Home */
.hero { padding: 28px 0 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lede { max-width: 62ch; font-size: 1.08rem; color: var(--muted); }
.ask { display: flex; gap: 8px; flex-wrap: wrap; }
.ask input { flex: 1 1 260px; min-height: 52px; font-size: 1.05rem; }
.ask .btn { min-height: 52px; }
.rest { display: flex; flex-direction: column; gap: 12px; }
.rest .meta { color: var(--muted); font-size: .92rem; }
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.door { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--door, var(--green)); }
.door:hover { box-shadow: var(--shadow); }
.door b { font: 700 1.1rem var(--display); }

/* Booking */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slots .chip { justify-content: center; }
.map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--r-sm); background: var(--sunken); display: block; }
.mapcard { aspect-ratio: 16 / 10; border-radius: var(--r-sm); display: grid; place-items: center; text-align: center; padding: 16px; color: var(--ink);
  background: linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 100% 28px, linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 28px 100%, var(--sunken); }
.pinmark { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; background: var(--flag-red); transform: rotate(-45deg); margin: 0 auto 10px; box-shadow: 0 6px 10px rgba(0, 0, 0, .25); position: relative; }
.pinmark::after { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.status-hero { border-radius: var(--r); padding: 20px; background: var(--green); color: var(--green-ink); }
.status-hero.warn { background: var(--gold); color: #2B2000; }
.status-hero.bad { background: var(--red-soft); color: var(--ink); }
.status-hero.done { background: var(--sunken); color: var(--ink); }
.status-hero h1 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); }

/* Queue ticket and TV board */
.ticket { text-align: center; padding: 26px 18px; }
.ticket .big { font: 800 clamp(4.5rem, 24vw, 9rem)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ticket .bar { height: 8px; border-radius: 4px; margin: 14px auto; max-width: 280px; background: linear-gradient(90deg, var(--flag-red) 0 33.3%, var(--flag-gold) 33.3% 66.6%, var(--flag-green) 66.6%); }
.board { background: #08110C; color: #F2F7F3; border-radius: var(--r); padding: clamp(18px, 4vw, 44px); display: grid; gap: 28px; }
.board h2 { color: #9FB5A8; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }
.board .calling { display: flex; flex-wrap: wrap; gap: 16px; }
.board .calling span { font: 800 clamp(3rem, 12vw, 7rem)/1 var(--display); color: #FCD116; font-variant-numeric: tabular-nums; }
.board .waiting { display: flex; flex-wrap: wrap; gap: 10px 22px; font: 700 clamp(1.2rem, 4vw, 2rem) var(--display); font-variant-numeric: tabular-nums; }

/* WhatsApp simulator */
.phone { max-width: 420px; width: 100%; margin: 0 auto; border-radius: 28px; border: 8px solid #1B2420; background: #E9E4DA; overflow: hidden; display: flex; flex-direction: column; height: min(720px, 78vh); box-shadow: var(--shadow); }
.phone header { background: #0B5D4B; color: #fff; padding: 10px 14px; display: flex; gap: 10px; align-items: center; }
.phone header .ava { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.phone header b { display: block; line-height: 1.2; }
.phone header small { opacity: .85; }
.thread { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; color: #1B2420; }
.bub { max-width: 86%; padding: 8px 10px; border-radius: 10px; background: #fff; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .93rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.bub.me { align-self: flex-end; background: #D5F5C8; }
.bub.sms { background: #E3E9F7; }
.bub .meta { display: block; font-size: .68rem; color: #6B756F; margin-top: 4px; text-align: right; }
.bub .acts { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
.bub .acts button, .bub .acts a { border: 0; border-top: 1px solid #E3E6E3; background: transparent; color: #0B6BD8; font-weight: 600; padding: 8px 4px 2px; cursor: pointer; text-align: center; text-decoration: none; font-size: .9rem; }
.bub .acts .opt { text-align: left; color: #1B2420; border: 1px solid #DDE2DD; border-radius: 8px; padding: 7px 10px; }
.bub .acts .opt small { display: block; color: #6B756F; font-weight: 400; }
.bub .loc { display: flex; gap: 8px; align-items: center; background: #F0F3F0; border-radius: 8px; padding: 8px; margin-top: 8px; text-decoration: none; color: #1B2420; }
.bub .loc i { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: #CE1126; transform: rotate(-45deg); flex: none; margin: 0 4px; }
.composer { display: flex; gap: 8px; padding: 8px; background: #F3F0EA; }
.composer input { border-radius: 999px; background: #fff; color: #1B2420; border-color: #D6D9D4; }
.composer button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #0B5D4B; color: #fff; cursor: pointer; flex: none; font-size: 1.1rem; }

/* Dashboard */
.dash-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.tile { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 10px 12px; }
.tile b { display: block; font: 800 1.6rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.tile span { font-size: .8rem; color: var(--muted); }
.tile.alert { border-color: var(--gold); background: var(--gold-soft); }
.tile.alert span { color: var(--gold-ink); }
.resv { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; padding: 12px; border-bottom: 1px solid var(--rule); align-items: start; }
.resv:last-child { border-bottom: 0; }
.resv .time { font: 700 1.05rem var(--display); font-variant-numeric: tabular-nums; }
.resv .who { font-weight: 700; }
.resv .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 300px; }
.resv.dim { opacity: .6; }
.resv .line2 { color: var(--muted); font-size: .88rem; display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 640px) { .resv { grid-template-columns: 62px minmax(0, 1fr); } .resv .acts { grid-column: 1 / -1; justify-content: flex-start; max-width: none; } }
.service-h { padding: 8px 12px; background: var(--sunken); font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.floor { position: relative; background: var(--sunken); border-radius: var(--r); padding: 12px; overflow-x: auto; }
.floor .canvas { position: relative; min-width: 560px; }
.tbl { position: absolute; border-radius: 10px; border: 2px solid var(--rule); background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; cursor: pointer; padding: 2px; line-height: 1.15; font-size: .8rem; }
.tbl b { font: 700 .95rem var(--display); }
.tbl.seated { background: var(--gold); border-color: var(--gold); color: #2B2000; }
.tbl.soon { border-color: var(--blue); background: var(--blue-soft); }
.tbl.booked { border-style: dashed; border-color: var(--blue); }
.tbl.off::after { content: 'walk-in'; position: absolute; top: -9px; right: 4px; font-size: .62rem; background: var(--ink); color: var(--paper); padding: 0 5px; border-radius: 4px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; border: 2px solid var(--rule); background: var(--card); }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 76px; gap: 10px; align-items: center; font-size: .9rem; }
.bar-row .track { height: 14px; background: var(--sunken); border-radius: 7px; overflow: hidden; }
.bar-row .fill { height: 100%; background: var(--green); border-radius: 7px; }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.spark div { flex: 1; background: var(--green); border-radius: 3px 3px 0 0; min-height: 2px; opacity: .55; }
.spark div:last-child { opacity: 1; }
.threads { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 14px; }
@media (max-width: 760px) { .threads { grid-template-columns: minmax(0, 1fr); } }
.thread-item { display: block; width: 100%; text-align: left; padding: 10px; border: 0; border-bottom: 1px solid var(--rule); background: transparent; cursor: pointer; }
.thread-item.on { background: var(--sunken); }
.thread-item small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; padding: 4px; }
.log .bub { box-shadow: none; border: 1px solid var(--rule); background: var(--card); color: var(--ink); }
.log .bub.me { background: var(--green-soft); border-color: transparent; align-self: flex-end; }
.log .bub.in { align-self: flex-start; }
.qr { background: #fff; padding: 10px; border-radius: 10px; display: inline-block; line-height: 0; }
.qr svg { width: 148px; height: 148px; }
.copyline { display: flex; gap: 8px; align-items: center; }
.copyline code { flex: 1; min-width: 0; overflow-wrap: anywhere; background: var(--sunken); padding: 8px 10px; border-radius: 8px; font-size: .82rem; }

/* Dialog and toast */
.scrim { position: fixed; inset: 0; background: rgba(8, 14, 10, .55); display: grid; place-items: center; padding: 16px; z-index: 50; overflow-y: auto; }
.dialog { background: var(--card); border-radius: 16px; padding: 20px; width: min(540px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.dialog .foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; z-index: 60; font-weight: 600; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.toast.bad { background: var(--red); color: #fff; }

/* Comparison page */
.cmp td:nth-child(2), .cmp td:nth-child(3) { width: 26%; }
.yes { color: var(--green); font-weight: 700; }
.part { color: var(--gold-ink); font-weight: 700; }
.no { color: var(--muted); }
.steps { display: flex; gap: 6px; flex-wrap: wrap; }
.steps span { flex: 1 1 90px; text-align: center; padding: 8px 6px; border-radius: 8px; background: var(--sunken); font-size: .82rem; font-weight: 600; color: var(--muted); }
.steps span.done { background: var(--green-soft); color: var(--green); }
.steps span.now { background: var(--green); color: var(--green-ink); }

@media print {
  body::before, .top, .demo-note, .noprint, .seg { display: none !important; }
  body { background: #fff; color: #000; }
  .card { border: 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Pills sitting on a coloured banner need their own neutral chip to stay readable. */
.status-hero .pill { background: rgba(255, 255, 255, .9); color: #111A15; box-shadow: none; }
