/* Footfall. Colour means attention: red = act now, amber = soon or needs checking,
   blue = planned, green = done. Everything else stays neutral so colour always signals something. */
:root {
  color-scheme: light;
  --page:#f3f5f9; --surface:#ffffff; --surface-2:#f8fafc; --line:#e2e7ef; --line-strong:#c5cedb;
  --text:#18202b; --muted:#5a6576;
  --brand:#2b44a8; --brand-dark:#1f3384; --brand-wash:#e7ecfb;
  --now:#c8331f; --now-wash:#fdeae6; --now-line:#f3b3a8;
  --soon:#9a5b00; --soon-fill:#f5a524; --soon-wash:#fff3d9; --soon-line:#f4cf87;
  --done:#11784a; --done-fill:#1f9d63; --done-wash:#e3f5ea; --done-line:#a6dcbd;
  --missed:#5f6b7a; --missed-wash:#eef0f3;
  --dec:#8b3a83; --dec-wash:#f6e7f3;
  --imp-low:#2f9e8f; --imp-medium:#f0a202; --imp-high:#e0492f;
  --font:"Schibsted Grotesk",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --radius:10px; --shadow:0 1px 2px #18202b0d,0 2px 8px #18202b0a;
}
* { box-sizing:border-box; }
html { -webkit-tap-highlight-color:#2b44a826; }
body { margin:0; background:var(--page); color:var(--text); font:400 16px/1.55 var(--font); touch-action:manipulation; }
a { color:var(--brand); text-underline-offset:3px; }
a:hover { color:var(--brand-dark); }
:focus-visible { outline:3px solid var(--brand); outline-offset:2px; border-radius:4px; }
h1,h2,h3 { margin:0; font-weight:800; letter-spacing:-.02em; text-wrap:balance; }
h1 { font-size:clamp(28px,4vw,40px); line-height:1.08; }
h2 { font-size:20px; line-height:1.25; margin-bottom:14px; scroll-margin-top:16px; }
h3 { font-size:18px; line-height:1.3; }
p { margin:0; }
[class^="ri-"],[class*=" ri-"] { line-height:1; }
.small,.hint { font-size:14px; color:var(--muted); }
.muted { color:var(--muted); }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip { position:absolute; left:12px; top:-60px; z-index:10; padding:10px 14px; background:var(--brand); color:#fff; border-radius:6px; }
.skip:focus { top:12px; }

/* ---------- Header ---------- */
.top { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px max(24px,calc((100vw - 1120px)/2)); background:var(--surface); border-bottom:1px solid var(--line); }
.wordmark { display:inline-flex; align-items:center; gap:9px; white-space:nowrap; font-size:22px; font-weight:800; letter-spacing:-.03em; color:var(--text); text-decoration:none; }
.wordmark img { flex:none; border-radius:8px; }
.top-right { display:flex; align-items:center; gap:10px; min-width:0; }
.status { display:flex; align-items:center; gap:8px; padding:4px 4px 4px 12px; border:1px solid var(--line); border-radius:999px; background:var(--surface-2); font-size:14px; min-width:0; }
.status form { display:flex; }
.status-dot { width:9px; height:9px; border-radius:50%; background:var(--missed); flex:none; }
.status-ok .status-dot { background:var(--done-fill); box-shadow:0 0 0 3px var(--done-wash); }
.status-partial .status-dot { background:var(--soon-fill); box-shadow:0 0 0 3px var(--soon-wash); }
.status-error .status-dot { background:var(--now); box-shadow:0 0 0 3px var(--now-wash); }
.status-text { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.icon-btn { display:grid; place-items:center; flex:none; width:30px; height:30px; min-height:0; padding:0; border:0; border-radius:50%; background:var(--brand); color:#fff; font-size:16px; cursor:pointer; transition:background-color .15s; }
.icon-btn:hover { background:var(--brand-dark); }
.is-busy i { animation:spin 1s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.biz-link { display:flex; align-items:center; gap:7px; padding:8px 12px; border-radius:999px; color:var(--text); text-decoration:none; font-weight:500; white-space:nowrap; }
.biz-link i { font-size:18px; color:var(--brand); }
.biz-link:hover,.biz-link.is-current { background:var(--brand-wash); color:var(--text); }

main { max-width:1120px; margin:auto; padding:28px 24px 96px; }
.flash { display:flex; align-items:center; gap:8px; margin:0 0 20px; padding:10px 14px; border-radius:8px; background:var(--brand-wash); color:var(--brand-dark); font-size:15px; }
.back { margin:0 0 16px; font-size:15px; }
.back a { display:inline-flex; align-items:center; gap:6px; text-decoration:none; font-weight:500; }
.back a:hover { text-decoration:underline; }

/* ---------- Buttons ---------- */
.btn,button { display:inline-flex; align-items:center; justify-content:center; gap:8px; font:700 15px/1 var(--font); color:#fff; background:var(--brand); border:2px solid var(--brand); border-radius:8px; padding:11px 16px; min-height:44px; cursor:pointer; text-decoration:none; white-space:nowrap; transition:background-color .15s,border-color .15s,color .15s; }
.btn i,button i { font-size:18px; }
.btn:hover:not(:disabled),button:hover:not(:disabled) { background:var(--brand-dark); border-color:var(--brand-dark); color:#fff; }
.btn-ghost { background:var(--surface); color:var(--brand); border-color:var(--line-strong); }
.btn-ghost:hover:not(:disabled) { background:var(--brand-wash); color:var(--brand-dark); border-color:var(--brand); }
.btn-lg { min-height:52px; padding:14px 20px; font-size:16px; }
.btn-sm { min-height:36px; padding:7px 12px; font-size:14px; }
.btn:disabled,button:disabled { background:var(--line); border-color:var(--line); color:var(--muted); cursor:not-allowed; }

/* ---------- Chips, meters, attention ---------- */
.chip { display:inline-flex; align-items:center; gap:6px; padding:5px 10px; border-radius:999px; font-size:14px; font-weight:600; white-space:nowrap; }
.chip i { font-size:16px; }
.eff-increase { background:var(--brand-wash); color:var(--brand-dark); }
.eff-decrease { background:var(--dec-wash); color:var(--dec); }
.conf { background:var(--surface-2); color:var(--muted); border:1px solid var(--line); }
.conf-high { color:var(--done); }
.impact { display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; white-space:nowrap; }
.meter { display:inline-flex; gap:3px; }
.meter i { width:14px; height:8px; border-radius:2px; background:var(--line); }
.imp-low .meter i:nth-child(1) { background:var(--imp-low); }
.imp-medium .meter i:nth-child(-n+2) { background:var(--imp-medium); }
.imp-high .meter i { background:var(--imp-high); }
.att { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:8px; }
.att > i { font-size:24px; }
.att > span { display:flex; flex-direction:column; line-height:1.25; }
.att strong { font-size:15px; }
.att span span { font-size:13px; opacity:.85; }
.lvl-now { --lvl:var(--now); --lvl-wash:var(--now-wash); --lvl-line:var(--now-line); }
.lvl-soon,.lvl-check { --lvl:var(--soon); --lvl-wash:var(--soon-wash); --lvl-line:var(--soon-line); }
.lvl-later { --lvl:var(--brand); --lvl-wash:var(--brand-wash); --lvl-line:#c4cff3; }
.lvl-done { --lvl:var(--done); --lvl-wash:var(--done-wash); --lvl-line:var(--done-line); }
.lvl-missed,.lvl-none { --lvl:var(--missed); --lvl-wash:var(--missed-wash); --lvl-line:var(--line-strong); }
.att { background:var(--lvl-wash); color:var(--lvl); }
.warn { display:flex; align-items:flex-start; gap:6px; color:var(--now); font-size:14px; font-weight:500; }
.warn i { font-size:16px; margin-top:2px; }

/* ---------- Home: hero ---------- */
.hero { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:24px; align-items:stretch; margin-bottom:24px; }
.hero-main { display:flex; flex-direction:column; justify-content:flex-start; gap:24px; }
.hero-dates { display:flex; align-items:center; gap:6px; margin-top:6px; color:var(--muted); font-size:17px; font-weight:500; }
.stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; list-style:none; margin:0; padding:0; }
.stat { display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto; column-gap:10px; align-items:center; padding:14px 16px; border-radius:var(--radius); background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); }
.stat i { grid-row:span 2; display:grid; place-items:center; width:40px; height:40px; border-radius:10px; font-size:22px; }
.stat strong { font-size:26px; line-height:1; }
.stat span { font-size:13px; color:var(--muted); }
.stat-events i { background:var(--brand-wash); color:var(--brand); }
.stat-warn i { background:var(--soon-wash); color:var(--soon); }
.stat-ok i { background:var(--done-wash); color:var(--done); }
.biz-card { padding:18px 18px 8px; border-radius:var(--radius); background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); }
.biz-head { display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.biz-head strong { font-size:18px; }
.biz-avatar,.avatar { display:grid; place-items:center; width:44px; height:44px; flex:none; border-radius:12px; background:var(--brand); color:#fff; font-size:22px; font-weight:800; }
.biz-card dl { margin:0; }
.biz-row { display:grid; grid-template-columns:28px 1fr auto; gap:8px; align-items:start; padding:10px 0; border-top:1px solid var(--line); }
.biz-row dt { color:var(--brand); font-size:20px; padding-top:1px; }
.biz-row dd { margin:0; font-weight:600; min-width:0; overflow-wrap:anywhere; }
.biz-row dd span { display:block; font-size:13px; font-weight:400; color:var(--muted); }
.biz-row dd .biz-line { font-size:15px; font-weight:500; color:var(--text); }
.biz-row dd .biz-line b { font-weight:700; }
.biz-row dd .biz-special { display:flex; align-items:center; gap:4px; margin-top:4px; color:var(--soon); font-weight:600; }
.biz-row a { font-size:14px; font-weight:600; }
.biz-locs { list-style:none; margin:0; padding:0; }
.biz-loc { display:grid; grid-template-columns:36px 1fr; gap:10px; padding:12px 0; border-top:1px solid var(--line); }
.biz-pin { position:relative; display:grid; place-items:center; width:32px; height:32px; border-radius:10px; background:var(--now-wash); color:var(--now); font-size:18px; }
.biz-pin b { position:absolute; right:-6px; top:-6px; display:grid; place-items:center; min-width:18px; height:18px; padding:0 4px; border-radius:999px; background:var(--text); color:#fff; font-size:11px; }
.biz-loc strong { display:block; font-size:16px; line-height:1.3; }
.biz-addr { display:block; font-size:13px; color:var(--muted); }
.biz-hours { list-style:none; margin:6px 0 0; padding:0; display:grid; gap:1px; font-size:14px; }
.biz-hours li { display:flex; align-items:center; gap:5px; }
.biz-hours i { color:var(--muted); font-size:13px; }
.biz-special { display:flex; align-items:center; gap:4px; margin-top:4px; font-size:13px; color:var(--soon); font-weight:600; }
.biz-foot { display:flex; justify-content:space-between; gap:10px; padding:10px 0 4px; border-top:1px solid var(--line); font-size:13px; color:var(--muted); }
.biz-foot a { font-size:14px; font-weight:600; }
.notice { display:flex; align-items:center; gap:8px; margin:0 0 20px; padding:12px 14px; border-radius:8px; font-size:15px; }
details.notice { display:block; }
details.notice summary { display:flex; align-items:center; gap:8px; cursor:pointer; font-weight:600; }
.notice-warn { background:var(--soon-wash); color:var(--soon); border:1px solid var(--soon-line); }
.notice-error { background:var(--now-wash); color:var(--now); border:1px solid var(--now-line); }

/* ---------- Timeline ---------- */
.tl { margin:0 0 40px; padding:16px 18px 12px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); }
.tl-caption { font-size:14px; color:var(--muted); margin-bottom:8px; }
.tl-hint { display:none; align-items:center; gap:6px; margin:0 0 8px; font-size:13px; color:var(--muted); }
.tl-scroll { overflow-x:auto; overscroll-behavior-x:contain; border-radius:6px; }
.tl-body { min-width:720px; }
.tl-row { display:grid; grid-template-columns:76px 1fr; border-top:1px solid var(--line); }
.tl-axis { border-top:0; height:26px; }
.tl-axis span { position:absolute; top:4px; transform:translateX(-50%); font-size:12px; color:var(--muted); }
.tl-axis span:first-child { transform:none; } .tl-axis span:last-child { transform:translateX(-100%); }
.tl-day { display:flex; flex-direction:column; justify-content:center; padding:8px 0; line-height:1.2; }
.tl-day strong { font-size:15px; }
.tl-day span { font-size:12px; color:var(--muted); }
.is-today .tl-day strong { color:var(--brand); }
.tl-day .tl-special { color:var(--soon); font-weight:600; }
.tl-track { position:relative; --lane-h:30px; min-height:calc(var(--lanes,1) * var(--lane-h) + 16px); }
.has-cutoff .tl-track { min-height:calc(var(--lanes,1) * var(--lane-h) + 42px); }
.tl-tick { position:absolute; top:0; bottom:0; border-left:1px dotted var(--line); }
.tl-hours { position:absolute; top:0; bottom:0; background:#eef2fb; }
.is-closed .tl-track { background:repeating-linear-gradient(135deg,transparent 0 7px,var(--line) 7px 8px); }
.is-closed .tl-day strong { color:var(--muted); font-weight:500; }
.tl-bar { position:absolute; top:calc(8px + var(--lane) * var(--lane-h)); height:24px; display:flex; align-items:center; gap:4px; padding:0 8px; border-radius:6px; font-size:13px; font-weight:700; white-space:nowrap; overflow:hidden; text-decoration:none; }
.tl-bar i { font-size:14px; flex:none; }
.has-cutoff .tl-bar { top:calc(34px + var(--lane) * var(--lane-h)); }
.tl-bar > span { overflow:hidden; text-overflow:ellipsis; min-width:0; }
a.tl-bar { color:#fff; transition:filter .15s; }
a.tl-bar:hover { color:#fff; filter:brightness(1.12); }
.tl-increase.tl-bar { background:var(--brand); }
.tl-decrease.tl-bar { background:var(--dec); }
.tl-bar.is-current { box-shadow:0 0 0 3px var(--soon-fill); }
.tl-ghost { color:var(--muted); border:1.5px dashed var(--line-strong); background:var(--surface-2); font-weight:500; }
.tl-why { font-weight:400; }
.tl-cutoff { position:absolute; top:0; bottom:0; border-left:3px solid var(--lvl); }
.tl-cutoff > span { position:absolute; top:4px; left:4px; display:flex; align-items:center; gap:4px; padding:1px 7px 1px 5px; border-radius:0 6px 6px 0; background:var(--lvl-wash); color:var(--lvl); font-size:12px; font-weight:700; white-space:nowrap; }
.tl-key { display:flex; flex-wrap:wrap; gap:6px 18px; list-style:none; margin:10px 0 0; padding:10px 0 0; border-top:1px solid var(--line); font-size:13px; color:var(--muted); }
.tl-key li { display:flex; align-items:center; gap:7px; }
.tl-key i { display:inline-block; width:18px; height:11px; border-radius:3px; }
.key-hours { background:#eef2fb; } .key-increase { background:var(--brand); } .key-decrease { background:var(--dec); }
.key-ghost { border:1.5px dashed var(--line-strong); } .key-cutoff { background:var(--brand-wash); border-left:3px solid var(--brand); border-radius:0 !important; }

/* ---------- Decisions ---------- */
.decisions { display:grid; gap:12px; }
.decisions h2 { margin-bottom:2px; }
.dcard { position:relative; display:grid; grid-template-columns:230px minmax(0,1fr) auto 20px; gap:20px; align-items:center; padding:14px 16px 14px 14px; background:var(--surface); border:1px solid var(--line); border-left:5px solid var(--lvl-line, var(--line)); border-radius:var(--radius); box-shadow:var(--shadow); transition:border-color .15s,box-shadow .15s; }
.dcard:hover { border-color:var(--line-strong); border-left-color:var(--lvl); box-shadow:0 4px 16px #18202b14; }
.dcard:focus-within { border-left-color:var(--lvl); }
.dcard-body { display:grid; gap:5px; min-width:0; }
.dcard h3 { display:flex; align-items:center; gap:8px; }
.dcard h3 i { color:var(--muted); font-size:20px; }
.dcard h3 a { color:var(--text); text-decoration:none; overflow-wrap:anywhere; }
.stretch::after { content:""; position:absolute; inset:0; border-radius:var(--radius); }
.stretch:focus-visible { outline:none; }
.stretch:focus-visible::after { outline:3px solid var(--brand); outline-offset:2px; }
.dcard:hover h3 a { text-decoration:underline; text-underline-offset:3px; }
.meta { display:flex; flex-wrap:wrap; gap:4px 16px; color:var(--muted); font-size:14px; }
.meta span { display:inline-flex; align-items:center; gap:5px; }
.dcard-measures { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.dcard-go { color:var(--line-strong); font-size:22px; }
.dcard:hover .dcard-go { color:var(--brand); }
.lvl-check { border-left-style:dashed; }
.empty { display:flex; align-items:center; gap:10px; padding:18px; background:var(--surface); border:1px dashed var(--line-strong); border-radius:var(--radius); color:var(--muted); }

/* ---------- Insight ---------- */
.ihead { display:flex; align-items:flex-start; gap:16px; margin-bottom:24px; }
.cat-badge { display:grid; place-items:center; width:56px; height:56px; flex:none; border-radius:14px; background:var(--brand-wash); color:var(--brand); font-size:28px; }
.meta-chips { display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:12px 0 0; padding:0; }
.meta-chips > li { display:inline-flex; align-items:center; gap:6px; font-size:15px; font-weight:500; }
.meta-chips > li:not(:last-child) { padding:5px 10px; border-radius:999px; background:var(--surface); border:1px solid var(--line); }
.igrid { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:20px; margin-bottom:24px; align-items:stretch; }
.map-card { display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.map { position:relative; flex:1; min-height:280px; background:#e9eef5; z-index:0; }
.map-fallback { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; gap:8px; color:var(--muted); }
.map-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; border-top:1px solid var(--line); }
.map-foot strong { display:flex; align-items:center; gap:6px; }
.map-foot strong i { color:var(--now); }
.map-foot span { font-size:14px; color:var(--muted); }
.pin { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; border:3px solid #fff; box-shadow:0 2px 6px #18202b40; color:#fff; font-size:18px; }
.pin-cafe { background:var(--text); }
.pin-event.pin-increase { background:var(--brand); }
.pin-event.pin-decrease { background:var(--dec); }
.action { display:flex; flex-direction:column; gap:10px; padding:18px; border-radius:var(--radius); background:var(--surface); border:1px solid var(--lvl-line); border-top:6px solid var(--lvl); box-shadow:var(--shadow); }
.action-head { display:flex; align-items:center; gap:8px; color:var(--lvl); font-weight:800; font-size:18px; }
.action-head i { font-size:24px; }
.action-time { display:flex; flex-direction:column; font-size:28px; font-weight:800; letter-spacing:-.02em; line-height:1.1; }
.action-time span { font-size:13px; font-weight:500; letter-spacing:0; color:var(--muted); }
.action-line { display:flex; align-items:center; gap:6px; font-size:15px; }
.action-suggest { padding:10px 12px; border-radius:8px; background:var(--lvl-wash); font-size:15px; }
.action form { margin-top:auto; } .action button { width:100%; }
.action-draft { display:flex; align-items:center; gap:6px; font-size:14px; font-weight:600; }
.lvl-done .action-draft { color:var(--done); }
.tiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:28px; }
.tile { display:flex; flex-direction:column; gap:10px; padding:18px; border-radius:var(--radius); background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); }
.tile-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; font-size:24px; background:var(--brand-wash); color:var(--brand); flex:none; }
.tile-decrease .tile-icon { background:var(--dec-wash); color:var(--dec); }
.tile p { color:var(--muted); font-size:15px; }
.tile .impact { font-size:18px; }
.tile .impact .meter i { width:22px; height:10px; }
.tile .chip { align-self:flex-start; font-size:16px; }
.tile-note { font-size:13px !important; }
.factors { display:grid; gap:8px; list-style:none; margin:0; padding:0; font-size:14px; }
.factors li { display:grid; grid-template-columns:18px 1fr auto; gap:8px; align-items:center; }
.factors li > i { color:var(--muted); }
.factor { display:inline-flex; gap:3px; }
.factor i { width:18px; height:8px; border-radius:2px; background:var(--line); }
.factor.f1 i:first-child,.factor.f2 i { background:var(--text); }
.icon-list { display:grid; gap:8px; list-style:none; margin:0; padding:0; font-size:15px; }
.icon-list li { display:grid; grid-template-columns:20px 1fr; gap:8px; }
.icon-list i { color:var(--muted); font-size:18px; margin-top:1px; }
.why { margin-bottom:14px; }
.revenue { margin-bottom:28px; padding:20px; border-radius:var(--radius); background:linear-gradient(135deg,var(--done-wash),#f4fbf7); border:1px solid var(--done-line); --rev:var(--done); --rev-fill:var(--done-fill); }
.rev-decrease { background:linear-gradient(135deg,var(--dec-wash),#fbf4fa); border-color:#e3c2dd; --rev:var(--dec); --rev-fill:var(--dec); }
.revenue-head { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.revenue-head h2 { margin:0 auto 0 0; }
.revenue .tile-icon { background:var(--rev-fill); color:#fff; }
.metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.metric { display:flex; flex-direction:column; gap:2px; padding:14px 16px; border-radius:8px; background:#ffffffcc; border:1px solid #ffffff; }
.metric strong { font-size:28px; font-weight:800; letter-spacing:-.02em; line-height:1.1; color:var(--rev); }
.metric span { font-size:14px; color:var(--muted); }
.metric-lead strong { font-size:40px; }
.metric-add { flex-direction:row; align-items:center; gap:10px; border:1.5px dashed var(--line-strong); text-decoration:none; }
.metric-add i { font-size:24px; color:var(--brand); }
.metric-add span { color:var(--brand); font-weight:600; }
.revenue-note { display:flex; align-items:center; gap:6px; margin-top:12px; font-size:14px; color:var(--muted); }
.panel-intro { margin:-6px 0 14px; }
.uplift-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.uplift { display:grid; gap:8px; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--surface-2); }
.uplift-input { display:flex; align-items:center; gap:6px; font-weight:700; }
.uplift-input input { width:100%; }
.source { margin:0; padding:14px 16px; background:var(--surface); border:1px solid var(--line); border-left:4px solid var(--line-strong); border-radius:8px; }
.source blockquote { margin:0 0 8px; font-size:17px; }
.source figcaption { display:flex; flex-wrap:wrap; gap:6px 14px; font-size:14px; color:var(--muted); }
.source a { display:inline-flex; align-items:center; gap:4px; }
.badge-stale { display:inline-flex; align-items:center; gap:4px; color:var(--now); font-weight:600; }

/* ---------- Draft ---------- */
.dhead { display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
.dhead > div { flex:1; min-width:240px; }
.dhead-sub { color:var(--muted); margin-top:4px; }
.avatar { width:52px; height:52px; font-size:24px; border-radius:50%; }
.avatar-biz { border-radius:14px; }
.pill { display:inline-flex; align-items:center; gap:6px; padding:7px 12px; border-radius:999px; font-weight:700; font-size:14px; }
.pill i { font-size:18px; }
.pill-wait { background:var(--soon-wash); color:var(--soon); }
.pill-done { background:var(--done-wash); color:var(--done); }
.stepper { display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0 0 20px; padding:0; }
.stepper li { display:flex; align-items:center; gap:8px; padding:8px 14px 8px 8px; border-radius:999px; background:var(--surface); border:1px solid var(--line); color:var(--muted); font-size:14px; font-weight:600; }
.stepper i { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:var(--line); color:var(--muted); font-size:15px; }
.stepper .is-done { color:var(--done); border-color:var(--done-line); }
.stepper .is-done i { background:var(--done-fill); color:#fff; }
.stepper .is-current { color:var(--brand); border-color:var(--brand); }
.stepper .is-current i { background:var(--brand); color:#fff; }
.dgrid { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:20px; align-items:start; }
.composer { background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.composer:focus-within { border-color:var(--brand); }
.composer-bar { display:flex; align-items:center; gap:12px; padding:10px 12px 10px 16px; border-bottom:1px solid var(--line); background:var(--surface-2); }
.to { display:flex; align-items:center; gap:6px; font-weight:700; }
.via { display:flex; gap:6px; margin-right:auto; color:var(--muted); font-size:18px; }
textarea { display:block; width:100%; min-height:220px; margin:0; padding:16px; border:0; resize:vertical; color:var(--text); background:var(--surface); font:400 17px/1.6 var(--font); }
textarea:focus-visible { outline:none; }
.composer-foot { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:10px 12px 10px 16px; border-top:1px solid var(--line); }
.count { font-size:13px; color:var(--muted); }
.composer-foot .small { margin-right:auto; }
.context { display:grid; gap:10px; padding:16px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); }
.context-link { display:flex; align-items:center; gap:8px; font-weight:700; color:var(--text); }
.decide { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:20px; }
#copied { display:flex; align-items:center; gap:6px; width:100%; color:var(--done); font-weight:600; min-height:1.5em; }

/* ---------- Business ---------- */
.settings { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; margin-bottom:16px; }
.panel,.range,.day-ranges { min-width:0; }
.panel { padding:20px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); scroll-margin-top:16px; }
.panel + .panel { margin-top:16px; }
.panel h2 { display:flex; align-items:center; gap:8px; }
.panel h2 i { color:var(--brand); }
.field { display:grid; gap:6px; margin:0 0 14px; border:0; padding:0; min-width:0; }
.field label,.field legend { font-weight:600; font-size:15px; padding:0; }
.field-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
input:not([type=checkbox]):not([type=range]) { width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--line-strong); border-radius:8px; background:var(--surface); color:var(--text); font:inherit; }
input:focus-visible { outline:3px solid var(--brand-wash); border-color:var(--brand); }
input[aria-invalid="true"],fieldset[aria-invalid="true"] .day span { border-color:var(--now); }
.field-error { display:flex; align-items:center; gap:6px; color:var(--now); font-size:14px; font-weight:500; }
.range-row { display:grid; grid-template-columns:1fr 130px; gap:12px; align-items:center; }
input[type=range] { width:100%; accent-color:var(--brand); }
.day-toggles { display:flex; flex-wrap:wrap; gap:8px; }
.day { position:relative; }
.day input { position:absolute; opacity:0; inset:0; margin:0; cursor:pointer; }
.day span { display:grid; place-items:center; min-width:56px; min-height:44px; padding:0 12px; border:1px solid var(--line-strong); border-radius:8px; font-weight:600; color:var(--muted); background:var(--surface); }
.day input:checked + span { background:var(--brand); border-color:var(--brand); color:#fff; }
.day input:focus-visible + span { outline:3px solid var(--brand); outline-offset:2px; }
.settings-save { display:flex; justify-content:flex-end; }
select { min-height:44px; padding:10px 12px; border:1px solid var(--line-strong); border-radius:8px; background-color:var(--surface); color:var(--text); font:inherit; }
.rows { display:grid; gap:10px; margin-bottom:12px; }
.special-row .field { margin:0; }
.icon-ghost { width:44px; min-height:44px; padding:0; background:transparent; border:1px solid transparent; color:var(--muted); }
.icon-ghost:hover:not(:disabled) { background:var(--now-wash); border-color:var(--now-line); color:var(--now); }
.radius { margin-top:18px; }
.locs { display:grid; gap:16px; margin-bottom:14px; counter-reset:loc; }
.loc-card { counter-increment:loc; border:1px solid var(--line-strong); border-radius:var(--radius); background:var(--surface); overflow:hidden; }
.loc-head { display:grid; grid-template-columns:44px minmax(140px,220px) minmax(0,1fr) 44px; gap:12px; align-items:end; padding:14px; background:var(--surface-2); border-bottom:1px solid var(--line); }
.loc-head .field { margin:0; }
.loc-badge { position:relative; display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:var(--now); color:#fff; font-size:22px; }
.loc-num::before { content:counter(loc); position:absolute; right:-6px; top:-6px; display:grid; place-items:center; min-width:20px; height:20px; padding:0 5px; border-radius:999px; background:var(--text); color:#fff; font-size:12px; font-weight:800; }
.loc-section { padding:14px; }
.loc-section + .loc-section { border-top:1px solid var(--line); }
.loc-sub { display:flex; align-items:center; gap:6px; margin:0 0 10px; font-size:16px; }
.loc-sub i { color:var(--brand); }
.week { display:grid; gap:0; border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.day-row { display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:12px; align-items:center; padding:10px 12px; border-top:1px solid var(--line); background:var(--surface); }
.day-row:first-child { border-top:0; }
.day-row .field-error { grid-column:2 / -1; }
.day-name { font-weight:700; }
.day-ranges { display:flex; flex-wrap:wrap; gap:8px; align-items:center; min-width:0; }
.range { display:inline-flex; align-items:center; gap:6px; padding:4px 4px 4px 8px; border:1px solid var(--line); border-radius:8px; background:var(--surface-2); }
.range input[type=time] { width:auto; min-height:36px; padding:6px 8px; }
.range .icon-ghost { width:36px; min-height:36px; }
.closed-note { display:none; color:var(--muted); font-weight:500; }
.is-closed { background:var(--surface-2); }
.is-closed .closed-note { display:inline; }
.is-closed .day-name { color:var(--muted); }
.special-row { display:grid; grid-template-columns:170px minmax(0,1fr) 200px auto 44px; gap:12px; align-items:end; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--surface-2); }
.special-row .special-hours { align-self:end; }
.special-row .special-hours[hidden] { display:none; }
.special-row .field-error { grid-column:1 / -1; }
.table-wrap { overflow-x:auto; }
.table { width:100%; border-collapse:collapse; font-size:15px; }
.table th { text-align:left; font-size:13px; color:var(--muted); font-weight:600; padding:8px 10px; border-bottom:1px solid var(--line-strong); }
.table td { padding:10px; border-bottom:1px solid var(--line); }
.facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; margin:0 0 16px; }
.facts div { padding:12px; border-radius:8px; background:var(--surface-2); border:1px solid var(--line); }
.facts dt { font-size:13px; color:var(--muted); }
.facts dd { margin:2px 0 0; font-weight:700; }
.data-actions { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:8px; }

/* ---------- Signed-in user ---------- */
.user { display:flex; align-items:center; gap:4px; padding-left:6px; border-left:1px solid var(--line); }
.user-avatar { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--brand-wash); color:var(--brand-dark); font-weight:800; font-size:15px; }
.icon-btn-quiet { background:transparent; color:var(--muted); font-size:18px; }
.icon-btn-quiet:hover:not(:disabled) { background:var(--now-wash); border-color:transparent; color:var(--now); }

/* ---------- Landing ---------- */
.site { background:var(--surface); }
.site-nav { position:sticky; top:0; z-index:5; display:flex; align-items:center; gap:28px; padding:14px max(24px,calc((100vw - 1120px)/2)); background:#ffffffe6; backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.site-nav nav { display:flex; gap:22px; margin-right:auto; }
.site-nav nav a,.site-signin { color:var(--muted); font-weight:500; text-decoration:none; white-space:nowrap; }
.site-nav nav a:hover,.site-signin:hover { color:var(--text); }
.site-nav-cta { display:flex; align-items:center; gap:16px; margin-left:auto; }
.site-main { max-width:none; padding:0; }
.site-main > .flash,.site-main > div[aria-live] { max-width:1120px; margin:20px auto 0; padding-inline:24px; }
.site-main > div[aria-live] .flash { margin:0; }
.eyebrow { display:inline-flex; align-items:center; gap:6px; margin-bottom:12px; color:var(--brand); font-size:14px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.eyebrow i { font-size:16px; }
.lp-hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:56px; align-items:center; max-width:1120px; margin:auto; padding:72px 24px 80px; }
.lp-hero h1 { font-size:clamp(36px,5.2vw,60px); line-height:1.02; letter-spacing:-.035em; }
.lp-hero h1 span { color:var(--brand); }
.lp-lead { margin-top:20px; max-width:34em; color:var(--muted); font-size:clamp(17px,1.6vw,19px); line-height:1.55; }
.lp-ctas { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.lp-fine { display:flex; align-items:center; gap:6px; margin-top:16px; color:var(--muted); font-size:14px; }
.lp-fine i { color:var(--done); font-size:16px; }

.mock { position:relative; margin:0; border-radius:16px; background:var(--page); border:1px solid var(--line); box-shadow:0 2px 4px #18202b0d,0 24px 60px -12px #2b44a833; overflow:hidden; }
.mock-bar { display:flex; align-items:center; gap:6px; padding:10px 14px; background:var(--surface); border-bottom:1px solid var(--line); }
.mock-bar i { width:10px; height:10px; border-radius:50%; background:var(--line-strong); }
.mock-bar span { margin-left:10px; color:var(--muted); font-size:12px; }
.mock-body { display:grid; gap:10px; padding:16px; }
.mock-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.mock-head strong { font-size:20px; font-weight:800; letter-spacing:-.02em; }
.mock-head span { display:flex; align-items:center; gap:4px; color:var(--muted); font-size:13px; }
.mock-week { display:grid; gap:0; list-style:none; margin:0; padding:6px 12px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.mock-week li { display:grid; grid-template-columns:36px 1fr; align-items:center; height:18px; font-size:11px; color:var(--muted); }
.mock-track { position:relative; height:100%; border-top:1px solid var(--line); background:linear-gradient(90deg,transparent 20%,#eef2fb 20% 80%,transparent 80%); }
.mock-week li:first-child .mock-track { border-top:0; }
.mock-week .is-closed .mock-track { background:repeating-linear-gradient(135deg,transparent 0 5px,var(--line) 5px 6px); }
.mock-track i { position:absolute; top:3px; height:11px; border-radius:3px; }
.mock-up { left:30%; width:24%; background:var(--brand); }
.mock-down { left:45%; width:32%; background:var(--dec); }
.mock-cut { left:58%; top:0 !important; bottom:0; height:auto !important; border-left:3px solid var(--soon-fill); border-radius:0 !important; }
.mock-card { display:grid; grid-template-columns:184px minmax(0,1fr); gap:14px; align-items:center; padding:10px; background:var(--surface); border:1px solid var(--line); border-left:5px solid var(--lvl-line); border-radius:var(--radius); box-shadow:var(--shadow); }
.mock-card h3 { display:flex; align-items:center; gap:6px; font-size:15px; }
.mock-card h3 i { color:var(--muted); }
.mock-card .meta { font-size:12px; margin-top:2px; }
.mock-chips { display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center; margin-top:6px; }
.mock-chips .chip { padding:3px 8px; font-size:12px; }
.mock-chips .impact { font-size:12px; }
.mock-card .att { padding:8px 10px; }
.mock-card .att > i { font-size:20px; }
.mock-card .att strong { font-size:14px; white-space:nowrap; }
.mock-card .att span span { font-size:12px; }
.mock-filtered { display:flex; align-items:center; gap:6px; padding:8px 12px; border:1.5px dashed var(--line-strong); border-radius:8px; background:var(--surface-2); color:var(--muted); font-size:13px; }
.mock figcaption { position:absolute; right:12px; top:8px; padding:2px 8px; border-radius:999px; background:var(--soon-wash); color:var(--soon); font-size:11px; font-weight:700; }

.lp-section { max-width:1120px; margin:auto; padding:72px 24px; border-top:1px solid var(--line); }
.lp-section h2,.lp-cta h2 { max-width:22em; font-size:clamp(26px,3.4vw,38px); line-height:1.12; letter-spacing:-.03em; margin-bottom:0; }
.lp-sub { margin-top:12px; color:var(--muted); font-size:17px; }
.lp-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; list-style:none; margin:36px 0 0; padding:0; }
.lp-cards li { padding:24px; border-radius:14px; background:var(--page); }
.lp-cards li > i { display:grid; place-items:center; width:48px; height:48px; margin-bottom:16px; border-radius:12px; background:var(--surface); color:var(--brand); font-size:24px; box-shadow:var(--shadow); }
.lp-cards p,.lp-steps p,.lp-list p { margin-top:6px; color:var(--muted); }
.lp-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; list-style:none; margin:40px 0 0; padding:0; counter-reset:step; }
.lp-steps li { counter-increment:step; display:grid; gap:16px; align-content:start; }
.lp-step-icon { position:relative; display:grid; place-items:center; width:52px; height:52px; border-radius:50%; background:var(--brand); color:#fff; font-size:24px; }
.lp-step-icon::after { content:counter(step); position:absolute; right:-6px; top:-4px; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--surface); border:2px solid var(--brand); color:var(--brand); font-size:12px; font-weight:800; }
.lp-trust { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:56px; align-items:start; }
.lp-list { display:grid; gap:26px; list-style:none; margin:0; padding:0; }
.lp-list li { display:grid; grid-template-columns:44px 1fr; gap:16px; }
.lp-list li > i { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:var(--done-wash); color:var(--done); font-size:22px; }
.lp-who { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:36px; }
.lp-panel { display:grid; gap:14px; align-content:start; padding:26px; border:1px solid var(--line); border-radius:14px; background:var(--surface); box-shadow:var(--shadow); }
.lp-panel .chip { justify-self:start; }
.lp-panel h3 { font-size:22px; }
.lp-chip-now { background:var(--done-wash); color:var(--done); }
.lp-panel-next { background:var(--surface-2); border-style:dashed; box-shadow:none; }
.lp-cta { display:grid; justify-items:center; gap:14px; margin:0 24px 72px; padding:56px 24px; border-radius:20px; background:var(--brand); color:#fff; text-align:center; }
.lp-cta h2 { color:#fff; }
.lp-cta p { max-width:34em; color:#dfe6ff; font-size:17px; }
.lp-cta .btn { margin-top:8px; background:#fff; border-color:#fff; color:var(--brand-dark); }
.lp-cta .btn:hover { background:var(--brand-wash); border-color:var(--brand-wash); color:var(--brand-dark); }
@media (min-width:1168px) { .lp-cta { max-width:1072px; margin-inline:auto; } }
.site-foot { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:24px 40px; align-items:center; padding:28px max(24px,calc((100vw - 1120px)/2)); border-top:1px solid var(--line); background:var(--page); font-size:14px; color:var(--muted); }
.site-foot .wordmark { font-size:18px; }
.site-foot nav { display:flex; gap:18px; }
.site-foot nav a { display:inline-flex; align-items:center; gap:6px; font-weight:600; text-decoration:none; }

/* ---------- Sign in ---------- */
.auth { background:var(--page); }
.auth-main { max-width:none; min-height:100vh; min-height:100dvh; padding:0; }
.auth-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); min-height:inherit; }
.auth-card { display:flex; flex-direction:column; justify-content:center; gap:22px; width:100%; max-width:440px; margin:auto; padding:48px 24px; }
.auth-card > .wordmark { align-self:flex-start; margin-bottom:12px; }
.auth-card h1 { font-size:32px; margin-bottom:6px; }
.auth-card .flash,.auth-card .notice { margin:0; }
.auth-form { display:grid; gap:4px; }
.auth-form .field { margin-bottom:12px; }
.label-row { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.label-row a { font-size:14px; font-weight:600; }
.pw { position:relative; }
.pw input { padding-right:92px !important; }
.pw-toggle { position:absolute; right:4px; top:50%; transform:translateY(-50%); min-height:36px; padding:6px 10px; gap:5px; border:0; background:transparent; color:var(--muted); font-size:14px; font-weight:600; }
.pw-toggle i { font-size:17px; }
.pw-toggle:hover:not(:disabled) { background:var(--surface-2); border-color:transparent; color:var(--text); }
.field-error[hidden] { display:none; }
.check { display:flex; align-items:center; gap:10px; margin:0 0 18px; font-size:15px; cursor:pointer; }
.check input { width:18px; height:18px; margin:0; accent-color:var(--brand); }
.auth-submit { width:100%; }
.auth-submit.is-busy { opacity:.8; }
.auth-or { display:flex; align-items:center; gap:12px; margin:10px 0; color:var(--muted); font-size:13px; }
.auth-or::before,.auth-or::after { content:""; flex:1; border-top:1px solid var(--line); }
.notice-info { background:var(--brand-wash); color:var(--brand-dark); border:1px solid #c4cff3; align-items:flex-start; }
.notice-info i { margin-top:3px; }
.demo-note { display:flex; align-items:flex-start; gap:8px; padding:12px 14px; border-radius:8px; background:var(--soon-wash); color:var(--soon); font-size:14px; }
.demo-note i { font-size:18px; }
.auth-side { display:flex; flex-direction:column; justify-content:center; gap:20px; padding:64px max(48px,6vw); background:radial-gradient(circle at 85% 15%,#4a63c9 0,transparent 45%),var(--brand); color:#fff; }
.auth-side .eyebrow { color:#c7d2ff; }
.auth-side h2 { max-width:14em; font-size:clamp(28px,3vw,40px); line-height:1.1; letter-spacing:-.03em; }
.auth-side ul { display:grid; gap:16px; list-style:none; margin:8px 0 0; padding:0; max-width:28em; }
.auth-side li { display:grid; grid-template-columns:40px 1fr; gap:12px; align-items:center; color:#dfe6ff; }
.auth-side li i { display:grid; place-items:center; width:40px; height:40px; border-radius:10px; background:#ffffff1f; color:#fff; font-size:20px; }
.auth-side b { color:#fff; }

/* ---------- Business types, pricing teaser ---------- */
.lp-types { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; list-style:none; margin:32px 0 0; padding:0; }
.lp-types li { display:grid; grid-template-columns:44px 1fr; column-gap:14px; align-items:center; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.lp-types i { grid-row:span 2; display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:var(--brand-wash); color:var(--brand); font-size:22px; }
.lp-types span { font-size:14px; color:var(--muted); }
.lp-price-teaser { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.lp-price-teaser h2 { max-width:18em; }
.btn-on-brand { background:transparent; border-color:#ffffff80; color:#fff; }
.btn-on-brand:hover:not(:disabled) { background:#ffffff1a; border-color:#fff; color:#fff; }
.lp-cta .lp-ctas { justify-content:center; margin-top:8px; }
.lp-cta .lp-ctas .btn { margin-top:0; }

/* ---------- Pricing ---------- */
.pr-hero { display:grid; justify-items:center; gap:4px; max-width:760px; margin:auto; padding:64px 24px 36px; text-align:center; }
.pr-hero h1 { font-size:clamp(34px,4.6vw,52px); letter-spacing:-.035em; }
.pr-hero .lp-lead { margin-top:12px; }
.billing { display:inline-flex; gap:4px; margin:28px 0 0; padding:4px; border:1px solid var(--line); border-radius:999px; background:var(--page); }
.billing label { position:relative; cursor:pointer; }
.billing input { position:absolute; opacity:0; inset:0; margin:0; cursor:pointer; }
.billing span { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:999px; font-weight:600; color:var(--muted); }
.billing b { padding:2px 7px; border-radius:999px; background:var(--done-wash); color:var(--done); font-size:12px; }
.billing input:checked + span { background:var(--surface); color:var(--text); box-shadow:var(--shadow); }
.billing input:focus-visible + span { outline:3px solid var(--brand); outline-offset:2px; }
.plans { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; max-width:1120px; margin:auto; padding:0 24px; align-items:stretch; }
.plan { position:relative; display:flex; flex-direction:column; gap:14px; padding:24px 20px; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:var(--shadow); }
.plan h2 { margin:0; font-size:20px; }
.plan-for { min-height:3.1em; color:var(--muted); font-size:15px; }
.price { display:flex; flex-direction:column; gap:2px; }
.price strong { font-size:40px; font-weight:800; letter-spacing:-.03em; line-height:1; }
.price > span { min-height:2.6em; color:var(--muted); font-size:14px; }
.plan .btn { width:100%; }
.plan-featured { border:2px solid var(--brand); box-shadow:0 2px 4px #18202b0d,0 18px 44px -14px #2b44a859; }
.plan-badge { position:absolute; top:-13px; left:20px; padding:4px 10px; border-radius:999px; background:var(--brand); color:#fff; font-size:12px; font-weight:700; }
.plan-list { display:grid; gap:10px; list-style:none; margin:4px 0 0; padding:14px 0 0; border-top:1px solid var(--line); font-size:15px; }
.plan-list li { display:grid; grid-template-columns:20px 1fr; gap:8px; }
.plan-list i { color:var(--done); font-size:18px; }
.plan-list .is-planned { color:var(--muted); }
.plan-list .is-planned i { color:var(--muted); }
.plan-list em,.pr-note em { font-style:normal; margin-left:4px; padding:1px 6px; border-radius:999px; background:var(--soon-wash); color:var(--soon); font-size:12px; font-weight:700; }
.pr-note em { margin:0; }
.pr-note { display:flex; align-items:flex-start; gap:8px; max-width:1072px; margin:20px auto 0; padding:12px 16px; border-radius:10px; background:var(--surface-2); color:var(--muted); font-size:14px; }
.pr-note i { font-size:18px; color:var(--brand); }
@media (min-width:1168px) { .pr-note { margin-inline:auto; } }
.pr-why { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:48px; align-items:start; margin-top:56px; }
.pr-value { display:grid; grid-template-columns:40px 1fr; gap:12px; margin-top:24px; padding:16px; border-radius:12px; background:var(--done-wash); color:var(--text); font-size:15px; }
.pr-value i { display:grid; place-items:center; width:40px; height:40px; border-radius:10px; background:var(--done-fill); color:#fff; font-size:20px; }
.pr-table th[scope=row] { font-weight:700; text-align:left; white-space:nowrap; }
.pr-table td:nth-child(2) { min-width:180px; }
.pr-table td:last-child { min-width:150px; }
.pr-table .pr-us th,.pr-table .pr-us td { background:var(--brand-wash); color:var(--brand-dark); }
.pr-table + .small { margin-top:10px; }
.faq { display:grid; gap:10px; max-width:780px; margin-top:28px; }
.faq details { padding:14px 18px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.faq summary { cursor:pointer; font-weight:700; }
.faq details p { margin-top:8px; color:var(--muted); }

/* ---------- Sign up ---------- */
.plan-pill { display:flex; align-items:center; gap:8px; padding:10px 14px; border:1px solid var(--line); border-radius:10px; background:var(--surface); font-size:14px; }
.plan-pill i { color:var(--brand); font-size:18px; }
.plan-pill a { margin-left:auto; font-weight:600; }
.auth-form select { width:100%; }
select[aria-invalid="true"] { border-color:var(--now); }
.auth-form .hint { margin-top:-2px; }

/* ---------- Responsive ---------- */
@media (max-width:900px) {
  .hero,.igrid,.dgrid { grid-template-columns:1fr; }
  .lp-hero,.lp-trust { grid-template-columns:1fr; gap:40px; }
  .lp-hero { padding-top:48px; }
  .lp-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .site-nav nav { display:none; }
  .auth-grid { grid-template-columns:1fr; }
  .auth-side { display:none; }
  .site-foot { grid-template-columns:1fr; }
  .lp-types { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .plans { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:28px; }
  .pr-why { grid-template-columns:1fr; gap:28px; }
  .lp-price-teaser { flex-direction:column; align-items:flex-start; }
  .tiles { grid-template-columns:1fr; }
  .dcard { grid-template-columns:1fr; gap:12px; }
  .dcard-measures { flex-direction:row; flex-wrap:wrap; }
  .dcard-go { display:none; }
}
@media (max-width:640px) {
  .top { padding:10px 16px; display:grid; grid-template-columns:1fr auto; gap:8px; }
  .top-right { display:contents; }
  .top .status { grid-column:1 / -1; grid-row:2; justify-self:start; }
  .top { grid-template-columns:1fr auto auto; }
  .top .biz-link { grid-column:2; grid-row:1; }
  .top .user { grid-column:3; grid-row:1; }
  .biz-link span { display:none; }
  .status-verb.is-ok { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .status-text { overflow:visible; }
  .status { padding-left:10px; font-size:13px; }
  main { padding:20px 16px 64px; }
  .tl { padding:12px 10px 10px; }
  .tl-hint { display:flex; }
  .stats { grid-template-columns:1fr 1fr; }
  .field-row { grid-template-columns:1fr; }
  .loc-head { grid-template-columns:44px minmax(0,1fr) 44px; }
  .loc-head .field { grid-column:2; }
  .loc-head .loc-badge { grid-row:1 / span 2; align-self:start; }
  .loc-head .icon-ghost { grid-column:3; grid-row:1; align-self:start; }
  .loc-section { padding:12px; }
  .day-row { grid-template-columns:minmax(0,1fr); gap:8px; }
  .day-row > .btn { justify-self:start; }
  .day-row .field-error { grid-column:1; }
  .special-row { grid-template-columns:1fr 44px; }
  .special-row > *:not(.icon-ghost) { grid-column:1; }
  .special-row .icon-ghost { grid-column:2; grid-row:1; }
  .day-ranges { display:grid; grid-template-columns:minmax(0,1fr); }
  .range { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 36px; width:100%; }
  .special-row .range { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
  .range input[type=time] { width:100%; min-width:0; padding:6px; }
  .range input[type=time]::-webkit-calendar-picker-indicator { display:none; }
  .special-row .field { width:100%; min-width:0; }
  .decide,.decide form,.decide button,.data-actions form,.data-actions button,.settings-save button { width:100%; }
  .map { min-height:220px; }
  .metrics,.uplift-row { grid-template-columns:1fr; }
  .revenue-head { flex-wrap:wrap; }
  .site-nav { gap:12px; padding:10px 16px; }
  .site-nav-cta { gap:12px; }
  .lp-hero { padding:36px 16px 56px; }
  .lp-section { padding:56px 16px; }
  .lp-cards,.lp-steps,.lp-who { grid-template-columns:1fr; }
  .lp-ctas .btn { flex:1 1 100%; }
  .lp-cta { margin:0 16px 56px; padding:40px 20px; }
  .lp-cta .btn { width:100%; }
  .mock-card { grid-template-columns:1fr; gap:8px; }
  .mock-body { padding:12px; }
  .site-foot { padding:24px 16px; }
  .auth-card { padding:32px 16px; }
  .lp-types,.plans { grid-template-columns:1fr; }
  .plans { padding:0 16px; }
  .plan-for,.price > span { min-height:0; }
  .pr-hero { padding:40px 16px 28px; }
  .pr-note { margin:20px 16px 0; }
  .lp-price-teaser .btn { width:100%; }
  .mock-bar span { visibility:hidden; }
  .site-nav .wordmark { font-size:20px; gap:7px; }
  .site-nav .wordmark img { width:26px; height:26px; }
  .site-nav-cta .btn-sm { padding:7px 10px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none !important; animation:none !important; } }
@media (pointer:fine) { html { overscroll-behavior:none; } }

.workspace-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: .75rem max(1rem, calc((100% - 1200px) / 2)); border-bottom: 1px solid #e5e7eb; }
.workspace-nav a { color: inherit; font-weight: 500; }
.workspace-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
