:root {
  --brand: #2563eb;
  --ink: #0f172a;
  --ink-2: #475569;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --good: #16a34a;
  --ok: #d97706;
  --bad: #dc2626;
  --good-bg: #dcfce7;
  --ok-bg: #fef3c7;
  --bad-bg: #fee2e2;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 460px; padding-top: 48px; padding-bottom: 48px; }
.muted { color: var(--ink-2); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
code, pre { background: #f1f5f9; border-radius: 6px; padding: 2px 6px; font-size: .9em; overflow-x: auto; }
pre { padding: 12px; }

/* top bar */
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo img { height: 34px; display: block; }
.topbar-product { color: var(--ink-2); font-size: .9rem; }

/* hero + form */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: 56px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--good-bg); color: var(--good); font-size: .75rem; display: grid; place-items: center; font-weight: 800; }
.audit-form { display: grid; gap: 14px; }
.audit-form h2 { font-size: 1.3rem; }
.audit-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.audit-form input { font: inherit; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; width: 100%; }
.audit-form input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: .82rem; color: var(--ink-2); margin: 0; text-align: center; }
.alert { background: var(--bad-bg); color: #991b1b; padding: 10px 14px; border-radius: 10px; font-size: .92rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 13px 20px; cursor: pointer; text-decoration: none; transition: filter .15s; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); font-weight: 600; padding: 10px 16px; }

/* loading overlay */
.loading { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: grid; place-items: center; z-index: 50; padding: 16px; }
.loading[hidden] { display: none; }
.loading-box { background: #fff; border-radius: var(--radius); padding: 32px; width: 100%; max-width: 400px; text-align: center; }
.spinner { width: 44px; height: 44px; margin: 0 auto 16px; border: 4px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { text-align: left; padding-left: 0; list-style: none; margin: 16px 0 0; display: grid; gap: 8px; }
.steps li { color: #94a3b8; padding-left: 26px; position: relative; }
.steps li::before { content: "○"; position: absolute; left: 4px; }
.steps li.on { color: var(--ink); font-weight: 600; }
.steps li.on::before { content: "●"; color: var(--brand); }
.steps li.done { color: var(--good); }
.steps li.done::before { content: "✓"; }

/* report */
.report-head { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0; margin-bottom: 28px; }
.report-head-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.report-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; word-break: break-word; }
.report-head .muted a { color: inherit; word-break: break-all; }
.verdict { font-size: 1.1rem; }
.tech { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: #f1f5f9; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: .8rem; font-weight: 500; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.ring { position: relative; width: 170px; height: 170px; }
.ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: var(--line); }
.ring .bar { stroke-linecap: round; transition: stroke-dashoffset 1s; }
.ring.good .bar { stroke: var(--good); } .ring.ok .bar { stroke: var(--ok); } .ring.bad .bar { stroke: var(--bad); }
.ring-num { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; font-size: 2.8rem; font-weight: 800; }
.ring-num small { font-size: .9rem; color: var(--ink-2); font-weight: 600; margin-top: -6px; }

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.cat { display: grid; gap: 6px; text-decoration: none; color: var(--ink); padding: 18px; }
a.cat:hover { border-color: var(--brand); }
.cat-label { font-weight: 600; color: var(--ink-2); font-size: .9rem; }
.cat-score { font-size: 2rem; font-weight: 800; }
.cat-score.small { font-size: .95rem; padding: 2px 10px; border-radius: 999px; vertical-align: middle; }
.cat-score.good { color: var(--good); } .cat-score.ok { color: var(--ok); } .cat-score.bad { color: var(--bad); }
.cat-score.small.good { background: var(--good-bg); } .cat-score.small.ok { background: var(--ok-bg); } .cat-score.small.bad { background: var(--bad-bg); }
.meter { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.meter span { display: block; height: 100%; }
.meter .good { background: var(--good); } .meter .ok { background: var(--ok); } .meter .bad { background: var(--bad); }
.cat-counts { font-size: .8rem; color: var(--ink-2); }

.report .card + .card, .report section.card { margin-bottom: 20px; }
.priorities ol, .checks { list-style: none; padding: 0; margin: 0; }
.priorities li, .checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.priorities li:first-child, .checks li:first-child { border-top: 0; }
.priorities p, .checks p { margin: 4px 0 0; }
.found { color: var(--ink-2); word-break: break-word; }
.fix { background: #f1f5f9; border-left: 3px solid var(--brand); padding: 8px 12px; border-radius: 0 8px 8px 0; font-size: .93rem; }
.badge { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.badge.pass { background: var(--good-bg); color: var(--good); }
.badge.warn { background: var(--ok-bg); color: var(--ok); }
.badge.fail { background: var(--bad-bg); color: var(--bad); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: #fff; border: 0; }
.cta p { color: #cbd5e1; margin: 0; }
.lh { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.lh div { display: grid; }
.small-print { font-size: .82rem; margin: 8px 0 40px; }

/* admin */
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 32px 0 20px; }
.admin-head .actions { margin: 0; }
.table-wrap { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); background: #f8fafc; }

.foot { border-top: 1px solid var(--line); padding: 24px 0; color: var(--ink-2); font-size: .85rem; margin-top: 40px; }

@media (max-width: 820px) {
  .hero { padding: 32px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .report-head-inner { grid-template-columns: 1fr; }
  .ring { width: 140px; height: 140px; order: -1; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .row2 { grid-template-columns: 1fr; }
  .card { padding: 18px; }
}
@media print {
  .no-print, .topbar, .foot { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
  .report-head { border: 0; padding-top: 0; }
}

/* ---- portal ---- */
.subnav { background: #fff; border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 48px; }
.subnav-links { display: flex; gap: 4px; overflow-x: auto; }
.subnav-links a { padding: 13px 12px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav-links a.on { color: var(--ink); border-bottom-color: var(--brand); }
.subnav-user { display: flex; gap: 12px; font-size: .85rem; align-items: center; }
.alert.success { background: var(--good-bg); color: #166534; margin-bottom: 16px; }
main > .alert { margin: 0 0 16px; }
.pipeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 16px; }
.pipeline .cat { padding: 14px; }
.pipeline .cat-score { font-size: 1.5rem; }
.pipeline .sel { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.st-new { color: var(--brand); } .st-contacted { color: #7c3aed; } .st-proposal { color: var(--ok); } .st-won { color: var(--good); } .st-lost { color: #64748b; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f1f5f9; white-space: nowrap; }
.pill.st-new { background: #dbeafe; } .pill.st-contacted { background: #ede9fe; } .pill.st-proposal { background: var(--ok-bg); } .pill.st-won { background: var(--good-bg); } .pill.st-lost { background: #f1f5f9; }
.filters { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.filters input[type=search] { flex: 1; min-width: 200px; font: inherit; padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 10px; }
.chip a { text-decoration: none; margin-left: 4px; }
tr.rowlink { cursor: pointer; } tr.rowlink:hover td { background: #f8fafc; }
tr.inactive td { opacity: .55; }
.share { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.share p { margin: 2px 0 0; }
.copy-row { display: flex; gap: 8px; flex: 1; max-width: 480px; min-width: 240px; }
.copy-row input { flex: 1; font: inherit; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #f8fafc; min-width: 0; }
.crumb { margin: 20px 0 12px; } .crumb a { text-decoration: none; font-weight: 600; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.lead-grid > div > .card, .lead-grid aside > .card { margin-bottom: 20px; }
.lead-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.lead-top h1 { font-size: 1.6rem; margin: 0; }
.facts { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; margin: 20px 0; }
.facts dt { color: var(--ink-2); font-size: .9rem; } .facts dd { margin: 0; word-break: break-word; }
.mini-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 16px; }
.mini-cats div { display: flex; justify-content: space-between; align-items: center; background: #f8fafc; border-radius: 8px; padding: 8px 10px; font-size: .9rem; }
.talk { padding-left: 18px; } .talk li { margin-bottom: 6px; }
h3 { font-size: 1rem; }
.stack { display: grid; gap: 10px; }
select, textarea { font: inherit; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; width: 100%; background: #fff; }
.notes { list-style: none; padding: 0; margin: 16px 0 0; }
.notes li { border-top: 1px solid var(--line); padding: 10px 0; font-size: .9rem; }
.notes p { margin: 0 0 4px; white-space: normal; word-break: break-word; }
.notes .muted { font-size: .8rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; font-size: .88rem; }
.linkbtn.danger { color: var(--bad); }
.row-actions { white-space: nowrap; } .row-actions form { display: inline; margin-left: 10px; }
.creds { margin-bottom: 20px; border-color: var(--good); }
.creds pre { white-space: pre-wrap; background: #f8fafc; }
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; } .pipeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 8px; } .pipeline { grid-template-columns: repeat(2, 1fr); } }
.badge-count { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: .72rem; font-weight: 700; text-align: center; margin-left: 4px; vertical-align: 1px; }

/* ---- client portal ---- */
.stack input { font: inherit; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; width: 100%; }
.cred-list, .checklist { list-style: none; padding: 0; margin: 0; }
.cred { border-top: 1px solid var(--line); padding: 16px 0; }
.cred:first-child { border-top: 0; }
.cred-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.small-link { font-size: .85rem; word-break: break-all; }
.secret-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 4px 14px; margin: 12px 0; }
.facts.tight { margin: 8px 0; grid-template-columns: 90px 1fr; }
.facts code { word-break: break-all; }
.cred-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.inline-status { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; min-width: 0; }
.inline-status select { width: auto; }
.inline-status input { flex: 1; min-width: 160px; font: inherit; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 10px; }
.tiny { font-size: .78rem; margin: 6px 0 0; }
.pill.cs-submitted { background: #dbeafe; color: var(--brand); } .pill.cs-verified { background: var(--good-bg); color: var(--good); } .pill.cs-needs_fix { background: var(--bad-bg); color: var(--bad); }
.checklist li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist p { margin: 2px 0 0; }
.checklist .have { margin-top: 6px; }
.checklist .btn { padding: 8px 16px; }
.warnbox { border-color: #fca5a5; background: #fff7f7; margin-bottom: 20px; }
.warnbox ul { margin: 8px 0 0; }
.tipbox { background: #eff6ff; border-radius: 10px; padding: 10px 14px; font-size: .9rem; color: #1e3a8a; }
.audit-form label.check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.audit-form label.check input { width: auto; }
.pw-row { display: flex; gap: 8px; } .pw-row input { flex: 1; } .pw-row .btn { padding: 10px 14px; }
@media (max-width: 480px) { .checklist li { grid-template-columns: 30px 1fr; } .checklist .btn { grid-column: 2; justify-self: start; } }

/* ---- health checks ---- */
.delta { font-size: .8rem; font-weight: 700; white-space: nowrap; }
.delta.up { color: var(--good); } .delta.down { color: var(--bad); } .delta.same { color: var(--ink-2); }
.trend { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: #f8fafc; border-radius: 12px; padding: 14px 18px; margin: 14px 0; }
.trend > div:not(.trend-line) { display: grid; }
.trend .cat-score { font-size: 1.8rem; }
.trend-line { min-width: 0; } .trend-line svg { width: 100%; height: 48px; }
.trend-line.good { color: var(--good); } .trend-line.ok { color: var(--ok); } .trend-line.bad { color: var(--bad); }
.change-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.change-cols ul { padding-left: 18px; margin: 0; } .change-cols li { margin-bottom: 6px; }
.changes h2 .delta { font-size: 1rem; vertical-align: middle; }
.hist { list-style: none; padding: 0; margin: 0; }
.hist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hist li:first-child { border-top: 0; }
@media (max-width: 640px) { .change-cols { grid-template-columns: 1fr; } .trend { grid-template-columns: 1fr 1fr; } .trend-line { grid-column: 1 / -1; order: 3; } }

/* ---- AI fix plan ---- */
.ai-card { border-color: #c7d2fe; background: linear-gradient(180deg, #f5f7ff 0, #fff 120px); }
.ai-summary { font-size: 1.02rem; }
.ai-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 14px 0; }
.ai-totals div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; }
.ai-totals strong { font-size: 1.3rem; }
.ai-tasks details { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; background: #fff; }
.ai-tasks summary { cursor: pointer; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; list-style: none; }
.ai-tasks summary::-webkit-details-marker { display: none; }
.ai-tasks summary strong { flex: 1; min-width: 160px; }
.ai-tasks details p { margin: 10px 0 6px; color: var(--ink-2); }
.ai-tasks ol { margin: 0; padding-left: 20px; } .ai-tasks li { margin-bottom: 4px; }
.prio { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; }
.p-critical { background: var(--bad-bg); color: var(--bad); } .p-high { background: var(--ok-bg); color: #b45309; } .p-medium { background: #dbeafe; color: var(--brand); } .p-low { background: #f1f5f9; color: var(--ink-2); }
.proposal { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.proposal pre { white-space: pre-wrap; background: none; padding: 0; font-family: inherit; font-size: .93rem; margin: 8px 0 12px; }
@media print { .ai-tasks details { break-inside: avoid; } .ai-tasks details:not([open]) > *:not(summary) { display: block; } }

/* =====================================================================
   Brand theme: warm neutral + terracotta
   Palette: #1A1A1A text · #F5F2ED background · #D97757 primary
            #C9B89B secondary · #6B7280 support · #EDE7DF / #F0EDE9 surfaces
            #B8A98A accent · #8CA3B0 cool accent · #3D4451 muted
   ===================================================================== */
:root {
  --ink: #1A1A1A;
  --ink-2: #6B7280;
  --muted-ink: #3D4451;
  --line: #E4DED5;
  --bg: #F5F2ED;
  --card: #FFFDFA;
  --surface: #EDE7DF;
  --surface-2: #F0EDE9;
  --sand: #C9B89B;
  --sand-2: #B8A98A;
  --sky: #8CA3B0;
  --good: #5E8B6B;
  --ok: #B8862E;
  --bad: #B4472F;
  --good-bg: #E3ECE3;
  --ok-bg: #F3E8CF;
  --bad-bg: #F5DDD5;
  --radius: 12px;
  --display: "Inter Tight", Inter, system-ui, sans-serif;
}
body { background: var(--bg); color: var(--ink); }
h1, h2, h3, .logo, .cat-score, .ring-num, .yard-count { font-family: var(--display); letter-spacing: -.02em; }
.card { background: var(--card); border-color: var(--line); box-shadow: none; }
code, pre { background: var(--surface-2); }
a { color: var(--brand); text-underline-offset: 3px; }

/* top bar */
.topbar { background: var(--bg); border-bottom-color: var(--line); }
.logo { font-weight: 700; font-size: 1.2rem; display: inline-flex; align-items: center; gap: 10px; }
.logo::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); box-shadow: 8px 0 0 -4px var(--sand); flex: none; }
.logo:has(img)::before { display: none; }
.topbar-product { color: var(--ink-2); letter-spacing: .02em; }
.subnav { background: var(--bg); }
.subnav-links a.on { border-bottom-color: var(--brand); }

/* buttons */
.btn { background: var(--brand); border-radius: 8px; font-weight: 600; }
.btn:hover { filter: brightness(.95); }
.btn.ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); filter: none; }

/* hero with line arcs + terracotta sun */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero::before {
  content: ""; position: absolute; right: -120px; top: -80px; width: 560px; height: 560px; pointer-events: none; opacity: .9;
  background:
    radial-gradient(circle at 62% 58%, var(--brand) 0 110px, transparent 111px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 560' fill='none' stroke='%231A1A1A' stroke-width='1.1' opacity='.55'%3E%3Cpath d='M40 520c40-200 180-340 380-380'/%3E%3Cpath d='M70 520c38-180 168-308 350-346'/%3E%3Cpath d='M100 520c36-160 156-276 320-312'/%3E%3Cpath d='M130 520c34-140 144-244 290-278'/%3E%3Cpath d='M160 520c32-120 132-212 260-244'/%3E%3Cpath d='M190 520c30-100 120-180 230-210'/%3E%3Cpath d='M220 520c28-80 108-148 200-176'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.eyebrow { color: var(--brand); letter-spacing: .14em; }
.ticks li::before { background: var(--surface); color: var(--brand); }
.audit-form { background: var(--card); }
.audit-form input, select, textarea, .filters input[type=search], .copy-row input, .stack input, .inline-status input { background: var(--card); border-color: var(--line); }
.audit-form input:focus { outline-color: var(--brand); }
.alert { background: var(--bad-bg); color: #8A2F1C; }
.alert.success { background: var(--good-bg); color: #355F41; }
@media (max-width: 820px) { .hero::before { width: 360px; height: 360px; right: -140px; top: -120px; opacity: .55; } }

/* loading */
.loading { background: rgba(26,26,26,.45); }
.loading-box { background: var(--card); }
.spinner { border-color: var(--surface); border-top-color: var(--brand); }
.steps li.on::before { color: var(--brand); }

/* report */
.report-head { background: var(--bg); position: relative; overflow: hidden; }
.report-head::after {
  content: ""; position: absolute; right: -60px; bottom: -140px; width: 380px; height: 380px; pointer-events: none; opacity: .35;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 380 380' fill='none' stroke='%23C9B89B' stroke-width='1.2'%3E%3Ccircle cx='190' cy='190' r='60'/%3E%3Ccircle cx='190' cy='190' r='90'/%3E%3Ccircle cx='190' cy='190' r='120'/%3E%3Ccircle cx='190' cy='190' r='150'/%3E%3Ccircle cx='190' cy='190' r='180'/%3E%3C/svg%3E") no-repeat center / contain;
}
.report-head-inner { position: relative; z-index: 1; }
.ring .track { stroke: var(--surface); }
.chip { background: var(--surface-2); border-color: var(--line); }
.meter { background: var(--surface); }
.fix { background: var(--surface-2); border-left-color: var(--brand); }
.cta { background: var(--ink); }
.cta .btn { background: var(--brand); }
.cta p { color: #C9C4BC; }
a.cat:hover { border-color: var(--brand); }
.mini-cats div, .trend { background: var(--surface-2); }

/* AI plan */
.ai-card { border-color: #E9C8B8; background: linear-gradient(180deg, #FBEFE8 0, var(--card) 140px); }
.ai-totals div, .ai-tasks details, .proposal { background: var(--card); border-color: var(--line); }
.p-critical { background: var(--bad-bg); color: var(--bad); }
.p-high { background: var(--ok-bg); color: #8E6420; }
.p-medium { background: #E4EBEF; color: #4D6573; }
.p-low { background: var(--surface); color: var(--muted-ink); }

/* pipeline + pills */
.pipeline .sel { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.st-new { color: var(--brand); } .st-contacted { color: #4D6573; } .st-proposal { color: #8E6420; } .st-won { color: var(--good); } .st-lost { color: var(--ink-2); }
.pill { background: var(--surface); }
.pill.st-new { background: #F6E1D8; } .pill.st-contacted { background: #E4EBEF; } .pill.st-proposal { background: var(--ok-bg); } .pill.st-won { background: var(--good-bg); } .pill.st-lost { background: var(--surface); }
.pill.cs-submitted { background: #F6E1D8; color: #A4553A; }
.badge-count { background: var(--brand); }
th { background: var(--surface-2); color: var(--muted-ink); }
tr.rowlink:hover td { background: var(--surface-2); }
.secret-box { background: #FBF3E6; border-color: #E8D6B5; }
.tipbox { background: #E9EEF1; color: #3D4451; }
.warnbox { background: #FBF0EB; border-color: #E9C2B2; }
.creds { border-color: var(--good); }
.share { background: linear-gradient(90deg, #FBEFE8, var(--card)); }

.foot { background: var(--bg); }

/* ===================== Homepage sections ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.center { text-align: center; }
.lead.center { max-width: 620px; margin: 0 auto; }
.eyebrow.light { color: #F0B9A2; }

.feat { padding: clamp(56px, 9vw, 110px) 0; }
.feat.alt { background: var(--surface-2); }
.feat-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feat-inner.flip .feat-copy { order: 2; }
.feat-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1.1; margin-bottom: .5em; }
.feat-copy p { color: var(--ink-2); font-size: 1.08rem; margin: 0 0 22px; max-width: 46ch; }
.feat-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feat-ticks li { padding-left: 28px; position: relative; font-weight: 500; }
.feat-ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .7rem; display: grid; place-items: center; font-weight: 700; }
.feat-visual { position: relative; min-height: 300px; display: grid; place-items: center; }
@media (max-width: 860px) { .feat-inner { grid-template-columns: 1fr; } .feat-inner.flip .feat-copy { order: 0; } .feat-visual { min-height: 0; } }

/* mockups */
.mock { position: relative; z-index: 1; width: 100%; max-width: 460px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(26,26,26,.28); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--sand); }
.mock-bar i:first-child { background: var(--brand); }
.mock-bar span { margin-left: 8px; }
.mock-body { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px; align-items: center; }
.mock-ring { position: relative; width: 120px; height: 120px; }
.mock-ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.mock-ring circle { fill: none; stroke-width: 11; }
.mock-ring .t { stroke: var(--surface); }
.mock-ring .b { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.reveal:not(.in) .mock-ring .b { stroke-dashoffset: 314; }
.mock-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 2.1rem var(--display); }
.mock-cats { display: grid; gap: 9px; }
.mock-cats div { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; font-size: .8rem; color: var(--ink-2); }
.mock-cats em { height: 7px; border-radius: 9px; background: var(--surface); position: relative; overflow: hidden; }
.mock-cats em::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--good); border-radius: 9px; transition: width 1.2s ease .2s; }
.mock-cats em.ok::after { background: var(--ok); }
.reveal:not(.in) .mock-cats em::after { width: 0; }
.mock-list { border-top: 1px solid var(--line); padding: 12px 20px 16px; display: grid; gap: 8px; }
.mock-list p { margin: 0; font-size: .86rem; display: flex; gap: 10px; align-items: center; }
.mock-list i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .66rem; font-weight: 800; }
.mock-list .x { background: var(--bad-bg); color: var(--bad); } .mock-list .w { background: var(--ok-bg); color: var(--ok); }
.deco-sun { position: absolute; width: 170px; height: 170px; border-radius: 50%; background: var(--brand); right: -10px; bottom: -30px; opacity: .9; }
.deco-arcs { position: absolute; inset: -30px -40px auto auto; width: 260px; height: 260px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260' fill='none' stroke='%23C9B89B' stroke-width='1.3'%3E%3Cpath d='M20 250C30 140 120 40 250 20'/%3E%3Cpath d='M45 250C55 155 135 65 250 45'/%3E%3Cpath d='M70 250C80 170 150 90 250 70'/%3E%3Cpath d='M95 250C105 185 165 115 250 95'/%3E%3Cpath d='M120 250C130 200 180 140 250 120'/%3E%3C/svg%3E") no-repeat center / contain; }

.plan-row { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.plan-row:last-child { border-bottom: 0; }
.plan-row b { font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; min-width: 64px; text-align: center; }
.pc { background: var(--bad-bg); color: var(--bad); } .ph { background: var(--ok-bg); color: #8E6420; } .pm { background: #E4EBEF; color: #4D6573; } .pl { background: var(--surface); color: var(--muted-ink); }
.reveal .plan-row { opacity: 0; transform: translateX(16px); transition: all .5s ease; }
.reveal.in .plan-row { opacity: 1; transform: none; }
.reveal.in .plan-row:nth-child(3) { transition-delay: .1s } .reveal.in .plan-row:nth-child(4) { transition-delay: .2s } .reveal.in .plan-row:nth-child(5) { transition-delay: .3s } .reveal.in .plan-row:nth-child(6) { transition-delay: .4s }

.mock-stack { position: relative; width: 100%; max-width: 420px; height: 330px; }
.mock-page { position: absolute; width: 74%; height: 300px; border-radius: 10px; }
.mock-page.p1 { left: 0; top: 30px; z-index: 3; padding: 22px; }
.mock-page.p2 { left: 13%; top: 15px; z-index: 2; background: var(--surface-2); transform: rotate(3deg); }
.mock-page.p3 { left: 26%; top: 0; z-index: 1; background: var(--surface); transform: rotate(6deg); }
.pg-head { display: flex; justify-content: space-between; align-items: center; }
.pg-head span { width: 90px; height: 12px; border-radius: 6px; background: var(--ink); }
.pg-head b { width: 58px; height: 58px; border-radius: 50%; border: 6px solid var(--good); display: grid; place-items: center; font: 700 1.1rem var(--display); }
.pg-lines { display: grid; gap: 9px; margin: 22px 0; }
.pg-lines i { height: 8px; border-radius: 6px; background: var(--surface); }
.pg-lines i.s { width: 60%; }
.pg-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pg-cats i { height: 46px; border-radius: 8px; background: var(--surface-2); border-top: 3px solid var(--brand); }

.mock-trend { padding-bottom: 14px; }
.trend-nums { display: flex; gap: 34px; padding: 18px 20px 4px; }
.trend-nums div { display: grid; }
.trend-nums span { font-size: .78rem; color: var(--ink-2); }
.trend-nums b { font: 700 2.2rem/1 var(--display); }
.trend-nums b.bad { color: var(--bad); } .trend-nums b.good { color: var(--good); }
.trend-nums em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--good); }
.trend-svg { width: 100%; height: auto; padding: 4px 16px 0; color: var(--brand); }
.trend-svg polyline { stroke: currentColor; stroke-dasharray: 400; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease; }
.reveal:not(.in) .trend-svg polyline { stroke-dashoffset: 400; }
.trend-svg circle { fill: currentColor; }
.trend-months { display: flex; justify-content: space-between; padding: 0 20px; font-size: .72rem; color: var(--ink-2); }

/* how it works band */
.how { background: var(--ink); color: #F5F2ED; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.how::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--brand); right: -90px; top: -110px; opacity: .9; }
.how .wrap { position: relative; z-index: 1; }
.how h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; color: #fff; max-width: 18ch; }
.how-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-steps li { border-top: 2px solid #3D4451; padding-top: 18px; }
.how-steps b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 1rem var(--display); }
.how-steps h3 { color: #fff; font-size: 1.25rem; margin: 14px 0 6px; }
.how-steps p { color: #C9C4BC; margin: 0; }
@media (max-width: 760px) { .how-steps { grid-template-columns: 1fr; } }

/* suite grid */
.suite { padding: clamp(56px, 9vw, 110px) 0; }
.suite h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
.suite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.tool { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; transition: border-color .2s, transform .2s; }
.tool:hover { border-color: var(--brand); transform: translateY(-3px); }
.tool .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #F6E1D8; color: var(--brand); font-size: 1.15rem; margin-bottom: 12px; }
.tool h3 { font-size: 1.1rem; margin-bottom: 4px; }
.tool p { margin: 0; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 860px) { .suite-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .suite-grid { grid-template-columns: 1fr; } }

/* who */
.who { padding: 0 0 clamp(56px, 9vw, 110px); }
.who-box { background: var(--surface); border-radius: 20px; padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px); }
.who-box h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.who-grid > div { background: var(--card); border-radius: 12px; padding: 24px; }
.who-ic { font-size: 1.6rem; color: var(--brand); }
.who-grid h3 { font-size: 1.15rem; margin: 10px 0 6px; }
.who-grid p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .who-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { padding: 0 0 clamp(56px, 9vw, 100px); }
.narrow-wide { max-width: 760px; }
.faq h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 10px 0 0; }

/* final cta */
.final-cta { background: var(--ink); color: #fff; text-align: center; padding: clamp(64px, 10vw, 120px) 0; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; left: 50%; bottom: -260px; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; background: var(--brand); opacity: .2; }
.final-cta .wrap { position: relative; }
.final-cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; color: #fff; }
.final-cta p { color: #C9C4BC; margin: 0 0 26px; }
.foot { margin-top: 0; }

@media (prefers-reduced-motion: reduce) { .reveal, .reveal .plan-row { opacity: 1 !important; transform: none !important; transition: none !important; } }
@media print { .feat, .how, .suite, .who, .faq, .final-cta { display: none; } }
.feat { overflow: hidden; }
.mock-bar .ex { margin-left: auto; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); padding: 2px 7px; border-radius: 99px; }
@media (min-width: 1000px) { .suite-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- report v2: grades, recommendations, insights ---- */
.ring-num .grade { font: 800 3rem/1 var(--display); letter-spacing: -.03em; }
.ring-num small { margin-top: 2px; }
.cat-score .cat-num { font-size: .95rem; color: var(--ink-2); font-weight: 600; }
.recs { margin-bottom: 20px; }
.recs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rec-table { width: 100%; }
.rec-table td:first-child a { color: var(--ink); text-decoration: none; }
.rec-table td:first-child a:hover { color: var(--brand); text-decoration: underline; }
.rec-table td:nth-child(2) { white-space: nowrap; }
.rec-table tr.more-rec { display: none; }
.recs .btn { margin-top: 14px; }
.prio-pill { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pr-high { background: var(--bad-bg); color: var(--bad); } .pr-medium { background: var(--ok-bg); color: #8E6420; } .pr-low { background: var(--surface); color: var(--muted-ink); }
.serp { margin: 6px 0 18px; }
.serp-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.serp-box { margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; display: grid; gap: 3px; font-family: Arial, sans-serif; max-width: 620px; }
.serp-url { font-size: .82rem; color: #4d5156; }
.serp-title { font-size: 1.15rem; color: #1a0dab; }
.serp-desc { font-size: .88rem; color: #4d5156; line-height: 1.45; }
.ins-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; margin-bottom: 14px; }
.ins-grid h3 { font-size: .95rem; margin-bottom: 8px; }
.mini-table { width: 100%; font-size: .86rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mini-table th, .mini-table td { padding: 7px 10px; }
.mini-table td.muted { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-table .yes { color: var(--good); font-weight: 700; } .mini-table .no { color: var(--bad); font-weight: 700; }
.phone-wrap { display: grid; justify-items: center; margin: 4px 0 16px; }
.phone { width: 210px; border: 10px solid var(--ink); border-radius: 30px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); background: #fff; }
.phone img { display: block; width: 100%; height: auto; }
.ai-intro { margin: -4px 0 12px; }
@media (max-width: 760px) { .ins-grid { grid-template-columns: 1fr; } .rec-table td:nth-child(2) { white-space: normal; } }
@media print { .rec-table tr.more-rec { display: table-row; } }
.ins-grid > div { min-width: 0; overflow-x: auto; } .ins-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); } @media (max-width: 760px) { .ins-grid { grid-template-columns: minmax(0,1fr); } }
/* authority panel */
.auth-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 4px 0 6px; }
.auth-panel > div { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; }
.auth-panel b { font: 700 1.6rem/1.1 var(--display); }
.auth-panel b small { font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.auth-panel small.muted { font-size: .74rem; }
.auth-trend svg { width: 100%; height: 48px; color: var(--brand); }

/* ---------- Booking ---------- */
.audit-form select, .audit-form textarea { font: inherit; padding: 11px 14px; border: 1px solid #d6d1c4; border-radius: 10px; background: #fff; width: 100%; }
.audit-form textarea { resize: vertical; }
.book-page { padding: 36px 16px 56px; max-width: 760px; }
.book-head h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 8px; }
.book-head p { margin: 0 0 20px; }
.book-form h2 { font-size: 1.05rem; margin: 6px 0 0; }
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.day-btn { flex: 0 0 auto; display: grid; justify-items: center; gap: 2px; min-width: 64px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: .78rem; color: var(--ink-2); cursor: pointer; }
.day-btn b { font-size: 1.25rem; color: var(--ink); font-family: 'Inter Tight', Inter, sans-serif; }
.day-btn.on { border-color: var(--brand); background: var(--brand); color: #fff; }
.day-btn.on b { color: #fff; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.audit-form .slot { position: relative; display: block; gap: 0; cursor: pointer; font-weight: 400; }
.slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot span, .slot small { display: block; text-align: center; }
.slot span { padding: 10px 6px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; font-weight: 600; background: #fff; }
.slot span:last-child { padding-bottom: 10px; border-bottom: 1px solid var(--line); border-radius: 10px; }
.slot small { padding: 0 6px 8px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; font-size: .72rem; color: var(--ink-2); background: #fff; }
.slot input:checked ~ span, .slot input:checked ~ small { background: var(--brand); color: #fff; border-color: var(--brand); }
.slot input:focus-visible ~ span { outline: 2px solid var(--brand); outline-offset: 2px; }
.tz-note { margin: -6px 0 0; font-size: .85rem; }
.book-done { text-align: center; padding: 40px 24px; }
.book-check { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--good-bg); color: var(--good); display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; }
.book-when { font-size: 1.1rem; line-height: 1.5; }
.book-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 10px; }
.book-actions form { margin: 0; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.day-checks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.day-checks .chk { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.day-checks .chk input { width: auto; }
.seg-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface, #f1f5f9); border-radius: 10px; margin: 4px 0 14px; }
.seg-tabs a { padding: 6px 14px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; }
.seg-tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.pill.st-booked { background: #F6E1D8; color: #A4553A; } .pill.st-done { background: var(--good-bg); color: var(--good); } .pill.st-no_show { background: var(--bad-bg); color: var(--bad); } .pill.st-cancelled { background: var(--surface, #f1f5f9); color: var(--ink-2); }
tr.dim td { opacity: .55; }
.inline-status { display: flex; gap: 10px; align-items: center; margin: 0; }
.inline-status select { font: inherit; font-size: .88rem; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.slot-grid[hidden] { display: none; }
.logo img { height: 30px; width: auto; }
@media (max-width: 480px) { .logo img { height: 24px; } }
