:root {
  --navy: #0f1b33; --navy-2: #182744; --teal: #1f7a68; --teal-soft: #dff1ea; --cream: #f5f3ee; --card: #fff; --line: #e4e0d6;
  --ink: #14203a; --muted: #6b7280; --sand: #fbe9cf; --good: #1f7a68; --warn: #b7791f; --bad: #c0392b; --bad-soft: #fde8e4; --warn-soft: #fdf1dc;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 -apple-system, "Inter", "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); }
a { color: var(--teal); text-decoration: none; } a:hover { text-decoration: underline; }
h1 { font-size: 1.6rem; margin: 0 0 2px; } h2 { margin: 0; font-size: 1.15rem; } h3 { margin: 0; font-size: 1rem; } p { margin: 4px 0; }
code { font: 12px var(--mono); background: #ece9e1; padding: 3px 8px; border-radius: 4px; display: inline-block; margin-top: 6px; }
.label, .section-label { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.section-label { margin: 28px 0 10px; } .muted { color: var(--muted); } .empty { color: var(--muted); padding: 14px 0; } .loading { padding: 60px; color: var(--muted); }
.good-text { color: var(--good); } .warn-text { color: var(--warn); } .bad-text { color: var(--bad); }

.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { background: var(--navy); color: #cfd6e4; padding: 18px 12px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; gap: 10px; align-items: center; color: #fff; padding: 4px 6px 14px; border-bottom: 1px solid var(--navy-2); } .brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--teal); display: grid; place-items: center; font-size: 20px; }
.brand small { display: block; font: 10px var(--mono); letter-spacing: .2em; color: #8d9ab3; }
#nav { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
#nav a { color: #cfd6e4; padding: 8px 10px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; } #nav a:hover { background: var(--navy-2); text-decoration: none; } #nav a.active { background: var(--teal); color: #fff; }
.nav-label { font: 600 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #7e8aa3; margin: 16px 6px 6px; display: flex; justify-content: space-between; align-items: center; }
.nav-label button { background: none; border: 0; color: #cfd6e4; font-size: 18px; cursor: pointer; }
.user-chip { border-top: 1px solid var(--navy-2); padding: 12px 6px 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; } .user-chip small { display: block; font: 10px var(--mono); letter-spacing: .15em; color: #7e8aa3; }
.user-chip a { display: block; margin-top: 6px; font-size: 12px; color: #8d9ab3; } .user-chip a:hover { color: #fff; } .user-chip a[hidden] { display: none; }
.sign-in { min-height: 70vh; display: grid; place-items: center; } .sign-in .card { text-align: center; padding: 36px 40px; max-width: 380px; } .sign-in .brand-mark { color: #fff; margin: 0 auto 14px; width: 40px; height: 40px; font-size: 24px; } .sign-in h1 { font-size: 1.25rem; } .sign-in p { margin-bottom: 18px; }
main { padding: 34px clamp(18px, 5vw, 72px) 80px; max-width: 1320px; width: 100%; min-width: 0; outline: none; } /* min-width 0: a wide table scrolls inside its wrapper instead of widening the page */

.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; } .head-actions { display: flex; gap: 8px; }
.back { display: inline-block; margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.section-row { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; } .section-row .section-label { margin: 0 0 10px; }
.grid { display: grid; gap: 14px; } .grid.two { grid-template-columns: repeat(2, 1fr); } .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.six { grid-template-columns: repeat(6, 1fr); } .grid.tight { gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; color: inherit; } a.card:hover { text-decoration: none; border-color: var(--teal); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 8px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; } .stat strong { font-size: 1.7rem; display: block; line-height: 1.1; } .stat span { font-size: 13px; }
.stat.navy { background: var(--navy); color: #fff; border-color: var(--navy); } .stat.teal { background: var(--teal); color: #fff; border-color: var(--teal); } .stat.sand { background: var(--sand); border-color: var(--sand); }
.progress-row { display: flex; justify-content: space-between; margin-top: 14px; font: 12px var(--mono); } .bar { height: 5px; background: #ece9e1; border-radius: 3px; overflow: hidden; margin: 4px 0 10px; } .bar span { display: block; height: 100%; background: var(--teal); }
.meta { font: 12px var(--mono); color: var(--muted); } .meta b { font-weight: 600; }

.badge { font: 600 10.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: #ece9e1; color: #5b6472; white-space: nowrap; vertical-align: middle; }
.badge.good { background: var(--teal-soft); color: var(--good); } .badge.warn { background: var(--warn-soft); color: var(--warn); } .badge.bad { background: var(--bad-soft); color: var(--bad); }
.btn { font: 600 14px inherit; font-family: inherit; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 7px; padding: 8px 14px; cursor: pointer; display: inline-block; } .btn:hover { border-color: var(--ink); text-decoration: none; }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; } .btn.teal { background: var(--teal); border-color: var(--teal); color: #fff; } .btn:disabled { opacity: .5; cursor: default; }
.link { background: none; border: 0; padding: 0; font: 600 13.5px inherit; font-family: inherit; color: var(--ink); cursor: pointer; } .link:hover { color: var(--teal); }
.banner { border-radius: 8px; padding: 10px 14px; margin: 12px 0; font-size: 14px; } .banner.bad { background: var(--bad-soft); color: #7a2318; } .banner.warn { background: var(--warn-soft); color: #6b4a12; }
.period-switch { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; } .period-switch a { font-size: 18px; color: var(--ink); padding: 0 4px; } .period-switch .link { font-size: 13px; color: var(--teal); }

.audit { display: flex; flex-direction: column; gap: 4px; border-width: 1.5px; } .audit-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; } .audit p { font-size: 13.5px; color: #4b5563; }
.audit footer { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; } .muted-card { opacity: .62; }
.metric { display: flex; flex-direction: column; gap: 2px; position: relative; } .metric strong { font-size: 1.35rem; } .metric .spark { width: 60px; height: 20px; color: var(--teal); margin: 3px 0 1px; flex: none; } .metric span:not(.label) { font: 12px var(--mono); }
.signal { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-left: 4px solid var(--warn); } .signal p { font-size: 13.5px; color: #4b5563; }
.tabs { display: flex; gap: 4px; margin-bottom: 10px; } .tabs button { border: 0; background: none; padding: 5px 12px; border-radius: 6px; font: 600 13px inherit; font-family: inherit; color: var(--muted); cursor: pointer; } .tabs button.active { background: var(--navy); color: #fff; }
.task { display: flex; gap: 12px; align-items: flex-start; } .task input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--teal); } .task.done .task-title { text-decoration: line-through; color: var(--muted); }
.task-title { background: none; border: 0; padding: 0; font: 600 15px inherit; font-family: inherit; color: var(--ink); cursor: pointer; text-align: left; } .insight { color: var(--warn); font-style: italic; font-size: 13.5px; }
.report-row { display: flex; justify-content: space-between; align-items: center; } .report-row small { display: block; }
.report-form { max-width: 860px; } fieldset { border: 0; padding: 0; margin: 0; }
pre#email-preview { background: #f1efe9; border: 1px solid var(--line); border-radius: 8px; padding: 14px; font: 12.5px/1.55 var(--mono); white-space: pre-wrap; max-height: 320px; overflow: auto; }

.field { display: block; margin: 12px 0; } .field > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; } .field small { color: var(--muted); display: block; margin-top: 3px; font-size: 12.5px; }
input, textarea, select { width: 100%; font: 14.5px inherit; font-family: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; } input:focus, textarea:focus, select:focus { outline: 2px solid var(--teal); outline-offset: -1px; } input[type=checkbox] { width: auto; }

dialog { border: 0; border-radius: 12px; padding: 22px 24px; width: min(560px, 94vw); max-height: 92vh; color: var(--ink); box-shadow: 0 30px 80px rgba(10, 18, 40, .35); } dialog.wide { width: min(860px, 96vw); } dialog::backdrop { background: rgba(10, 18, 40, .62); }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; } .x { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--muted); }
.dialog-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); } .dialog-foot div { display: flex; gap: 8px; }
dialog h3.label { margin: 20px 0 8px; display: flex; justify-content: space-between; }
.checklist { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.check-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: start; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; border-left: 3px solid transparent; } .check-row:last-child { border-bottom: 0; }
.check-row.pass { border-left-color: var(--good); } .check-row.fail { border-left-color: var(--bad); background: #fff8f6; } .check-row.na { border-left-color: #c9c4b8; color: var(--muted); } .check-row.look { border-left-color: var(--warn); background: #fffcf5; }
.check-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; } .check-row .answer { padding-top: 1px; }
.note-text { display: block; width: 100%; background: none; border: 0; padding: 0; margin: 0; text-align: left; font: 13.5px/1.45 inherit; font-family: inherit; color: #4b5563; white-space: pre-wrap; word-break: break-word; cursor: text; border-radius: 4px; }
.note-text:hover { background: #f5f3ee; box-shadow: 0 0 0 4px #f5f3ee; } .note-text.empty { color: #a8a39a; font-style: italic; } .check-row.look .note-text { color: #6b4a12; }
.note-edit, .evidence-edit { font-size: 13.5px; padding: 6px 8px; } .note-edit { resize: vertical; }
.check-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 12.5px; } .check-foot .evidence { font-weight: 600; } .evidence-raw { color: var(--muted); word-break: break-all; }
.pencil { background: none; border: 0; padding: 0 4px; font-size: 12px; color: var(--muted); cursor: pointer; margin-left: -8px; } .pencil:hover { color: var(--teal); }
.link.faint { font-size: 12.5px; font-weight: 500; color: var(--muted); } .link.faint:hover { color: var(--teal); }
.check-filters { flex-wrap: wrap; margin: 0 0 8px; } .check-filters button small { font: 600 11px var(--mono); opacity: .7; margin-left: 2px; } .check-filters button.active small { opacity: .85; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; } .seg button { border: 0; background: #fff; padding: 4px 10px; font: 600 12px inherit; font-family: inherit; cursor: pointer; color: var(--muted); border-right: 1px solid var(--line); } .seg button:last-child { border-right: 0; }
.seg button.on[data-value=pass] { background: var(--teal); color: #fff; } .seg button.on[data-value=fail] { background: var(--bad); color: #fff; } .seg button.on[data-value=na] { background: #8b8f98; color: #fff; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; } .metric-grid label { display: grid; grid-template-columns: 1fr 110px; gap: 2px 10px; align-items: center; font-size: 14px; font-weight: 600; } .metric-grid small.muted { grid-column: 1; font-weight: 400; font-size: 12px; } .metric-grid input { grid-column: 2; grid-row: 1 / span 2; }

/* Round 1: sites, runs, intake, rendered reports */
.badge.tier { background: var(--navy); color: #fff; }
.chip { font: 600 10px var(--mono); letter-spacing: .04em; padding: 2px 7px; border-radius: 4px; background: #ece9e1; color: #5b6472; white-space: nowrap; vertical-align: middle; display: inline-block; } a.chip:hover { text-decoration: none; border: 0; background: var(--teal-soft); }
.chip.good, .chip.pass { background: var(--teal-soft); color: var(--good); } .chip.fail { background: var(--bad-soft); color: var(--bad); } .chip.na { color: var(--muted); }
.chip.src-gbp-api, .chip.src-bigquery, .chip.src-crawl, .chip.src-browser, .chip.src-web { background: #e6edf7; color: #35507a; } .chip.src-human { background: var(--sand); color: #6b4a12; }
.chip.last { border: 1px dashed var(--line); background: #fff; } .chip.cadence { background: var(--teal-soft); color: var(--good); }
.carried-note { margin: -4px 0 8px; font-size: 13px; }
.task-group { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; } .task-group .label { margin: 0; } .task-group .muted { font-size: 12.5px; }
.check-text .chip { margin-left: 6px; } .answer { display: inline-flex; align-items: center; gap: 8px; }
.run-form h3.label { margin: 20px 0 8px; display: flex; justify-content: space-between; } .run-form > h3.label:first-child { margin-top: 0; }
.head-actions { flex-wrap: wrap; justify-content: flex-end; }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.notes-panel { margin-top: 14px; padding-top: 12px; } .notes-panel .section-row { margin-top: 0; } .notes-panel .section-label { margin: 0 0 6px; } .notes-panel .empty { padding: 4px 0; margin: 0; }
.notes-text { margin: 0; white-space: pre-wrap; font-size: 14.5px; } .notes-actions { display: flex; gap: 8px; margin-top: 10px; }
.notes-banner { background: var(--sand); color: #4a3a1d; display: flex; gap: 10px; align-items: flex-start; } .notes-banner .link { flex: none; font-size: 13px; color: var(--teal); }
.notes-clamp { flex: 1; min-width: 0; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .notes-banner.open .notes-clamp { display: block; -webkit-line-clamp: unset; overflow: visible; }
.next-due { margin: 0 0 6px; line-height: 1.8; }
.milestone { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.run-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; } .run-row small { display: block; margin-top: 2px; } .run-row .actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
dialog h3.label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.fact .fact-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.chip-select { width: auto; font: 600 11px var(--mono); letter-spacing: .04em; padding: 3px 24px 3px 8px; border-radius: 4px; background: #ece9e1; border: 0; color: #5b6472; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 16px; } .checks label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; } .checks input { width: 16px; height: 16px; accent-color: var(--teal); }
.report-doc { margin: 8px 0; } .audit-block { padding: 14px 0; border-top: 1px solid var(--line); } .audit-block .section-row { margin-top: 0; } .audit-block h3 { margin-bottom: 6px; }
.counts { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.fails { margin: 0; padding-left: 18px; } .fails li { margin: 6px 0; font-size: 14px; } .fails p { color: #4b5563; font-size: 13.5px; }
.swot { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 10px 0; font-size: 13.5px; } .swot dt { font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; } .swot dd { margin: 0; white-space: pre-wrap; }

/* Round 2: per-audit setup (run page) + onboarding strip (site page) */
.setup-block { margin-bottom: 14px; } .setup-block .section-row { margin-top: 0; } .setup-block .section-label { margin: 0 0 6px; } .setup-block .banner { margin: 6px 0 10px; }
.setup-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: start; padding: 8px 0; border-top: 1px solid var(--line); } .setup-row:first-of-type { border-top: 0; } .setup-row .field { margin: 4px 0; }
.setup-row textarea { font-size: 14px; } .field small.inline { display: inline; margin: 0 0 0 6px; font-weight: 400; text-transform: none; }
.setup-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-top: 28px; } .setup-side .chip { white-space: normal; text-align: right; max-width: 260px; } .setup-actions { display: flex; gap: 6px; }
.setup-pointer { margin: 4px 0 6px; font-size: 14px; } .setup-note { font-size: 13px; margin-top: 10px; }
/* The Setup & agent card's footer: last agent run on the left, the Run button on the right. */
.setup-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13.5px; } .setup-foot .agent-last { color: #14513f; } .setup-foot .btn { flex: none; }
.chip.agent { background: var(--teal-soft); color: var(--good); }
.onboarding { margin-top: 14px; } .onboarding .section-row { margin-top: 0; } .onboarding .section-label { margin: 0 0 6px; }
.onboarding-row { display: grid; grid-template-columns: 130px 1fr auto auto; gap: 6px 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; } .onboarding-row:first-child { border-top: 0; }
.onboarding-row code { margin: 0; word-break: break-all; white-space: normal; } .onboarding-row .chip { white-space: normal; } .onboarding-value { min-width: 0; }
.queries { margin: 0; padding-left: 18px; } .queries li { margin: 2px 0; }

/* Admin: data connections + people */
.nav-admin { margin-top: 10px; border-top: 1px solid var(--navy-2); padding-top: 10px !important; border-radius: 0 0 6px 6px !important; }
.admin-panel { margin-bottom: 8px; } .admin-panel > p { font-size: 14px; } .admin-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.gsc-list { margin-top: 10px; } .gsc-list ul { margin: 6px 0 0; padding-left: 18px; } .gsc-list li { margin: 4px 0; font-size: 14px; } .gsc-list code { margin: 0; }
.table-wrap { overflow-x: auto; margin: 10px 0 4px; } table.members { width: 100%; border-collapse: collapse; font-size: 14px; } .members th { text-align: left; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.members td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; } .members tr.disabled td { color: var(--muted); } .members select { width: auto; min-width: 120px; padding: 5px 8px; font-size: 13.5px; } .btn.small { padding: 5px 10px; font-size: 13px; }
.add-member { margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--line); } .add-member .field span { display: block; } .gsc-list .link { font-size: 13px; color: var(--teal); margin-left: 6px; }
@media (max-width: 760px) { .members th:nth-child(4), .members td:nth-child(4) { display: none; } .admin-actions .btn { width: 100%; text-align: center; } }

/* Round 2: API keys, data map, admin sub-nav */
#nav a.nav-sub { font-size: 12.5px; padding: 5px 10px 5px 26px; color: #a9b4c8; } #nav a.nav-sub.active { background: var(--navy-2); color: #fff; }
.key-row input[type=password] { font-family: var(--mono); font-size: 13px; } .key-row .setup-side { padding-top: 30px; }
.setup-main select + input { margin-top: 8px; }
.coverage { margin-bottom: 8px; } .coverage .section-row { margin-top: 0; } .coverage .section-label { margin: 0 0 8px; }
.coverage-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: #ece9e1; margin: 8px 0 10px; } .coverage-bar span { display: block; height: 100%; }
.coverage-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; } .coverage-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.seg-auto { background: var(--teal); } .seg-web { background: #35507a; } .seg-human { background: var(--warn); } .seg-none { background: var(--bad); }
.source-card { display: flex; flex-direction: column; gap: 8px; } .source-card .audit-head h3 { font-size: .98rem; } .source-card .chip { white-space: normal; text-align: right; max-width: 55%; } .source-card .meta { font-size: 12px; }
.source-lines details { margin: 4px 0; } .source-lines summary { cursor: pointer; font-size: 14px; font-weight: 600; } .source-lines ul { margin: 4px 0 8px; padding-left: 18px; } .source-lines li { font-size: 13.5px; margin: 3px 0; } .source-lines li code { margin: 0 4px 0 0; padding: 1px 6px; }
.source-metrics p { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px; } .gaps { margin: 0; padding-left: 18px; } .gaps li { margin: 4px 0; font-size: 14px; }
@media (max-width: 760px) { .source-card .chip { max-width: 100%; text-align: left; } .key-row .setup-side { padding-top: 0; } }

#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px; opacity: 0; transition: .2s; pointer-events: none; z-index: 99; max-width: 80vw; } #toast.show { opacity: 1; transform: translate(-50%, 0); } #toast.bad { background: var(--bad); }

@media (max-width: 1100px) { .grid.six { grid-template-columns: repeat(3, 1fr); } .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; } .sidebar { position: static; height: auto; } #nav { flex-direction: row; flex-wrap: wrap; } .nav-label { width: 100%; margin: 8px 6px 2px; }
  .grid.two, .grid.three, .stats, .metric-grid { grid-template-columns: 1fr; } .grid.six { grid-template-columns: repeat(2, 1fr); } .page-head { flex-direction: column; } .check-row { grid-template-columns: 1fr; } .check-row .answer { justify-content: flex-end; width: 100%; } .signal { flex-direction: column; align-items: flex-start; }
  .section-row { flex-wrap: wrap; gap: 8px; } .head-actions { justify-content: flex-start; } .swot { grid-template-columns: 1fr; }
  .setup-row { grid-template-columns: 1fr; } .setup-side { align-items: flex-start; padding-top: 0; } .onboarding-row { grid-template-columns: 1fr; gap: 4px; }
  .setup-foot { flex-direction: column; align-items: flex-start; } .setup-foot .btn { width: 100%; text-align: center; }
  .run-row .actions { width: 100%; } .milestone { flex-wrap: wrap; } h1 .badge { font-size: 9.5px; } main { padding-left: 16px; padding-right: 16px; } code { white-space: normal; word-break: break-word; } #toast { max-width: calc(100vw - 32px); }
}
