:root {
  --bg: #0b1118;
  --bg-soft: #101923;
  --panel: #121c26;
  --panel-strong: #17232f;
  --line: #253544;
  --line-soft: #1b2a38;
  --text: #f4f7f9;
  --muted: #8d9baa;
  --muted-2: #647383;
  --lime: #d9f76a;
  --lime-soft: rgba(217, 247, 106, .13);
  --coral: #ff967a;
  --coral-soft: rgba(255, 150, 122, .13);
  --blue: #8ec9ff;
  --blue-soft: rgba(142, 201, 255, .12);
  --amber: #f1c56d;
  --amber-soft: rgba(241, 197, 109, .12);
  --radius: 8px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
 .auth-screen { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 50% 0%, #17261e 0, var(--bg) 48%); }
.auth-shell { width: min(100%, 420px); }
.auth-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 24px; }
.auth-brand strong, .auth-brand span { display: block; }
.auth-brand strong { color: var(--text); font-size: 15px; }
.auth-brand span { margin-top: 3px; color: var(--muted-2); font: 9px var(--mono); }
.auth-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(18,28,38,.97); box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.auth-card h1 { margin: 13px 0 9px; font-size: 34px; }
.auth-card > p { margin-bottom: 20px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-bottom: 20px; padding: 4px; border-radius: 6px; background: #0d151e; }
.auth-tab { padding: 9px; border-radius: 4px; color: var(--muted); background: transparent; font-size: 11px; }
.auth-tab.active { color: var(--text); background: var(--panel-strong); box-shadow: inset 0 0 0 1px var(--line); }
.auth-card form { display: grid; gap: 13px; }
.auth-submit { width: 100%; margin-top: 3px; }
.auth-hint { margin: 0; color: var(--muted-2); font-size: 10px; line-height: 1.5; }
.auth-error { margin: 0; padding: 9px 10px; border: 1px solid rgba(255,150,122,.38); border-radius: 5px; color: #ffc2b2; background: var(--coral-soft); font-size: 11px; line-height: 1.45; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--sans); font-size: 14px; line-height: 1.5; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 24px 16px 18px; border-right: 1px solid var(--line-soft); background: #0c141c; }
.sidebar > * { flex-shrink: 0; }
.sidebar-backdrop { display: none; }
.brand { display: flex; gap: 11px; align-items: center; padding: 0 10px 25px; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; color: #0b1118; background: var(--lime); font-size: 20px; font-weight: 900; }
.brand strong { display: block; font-size: 14px; letter-spacing: -.01em; }
.brand span { display: block; margin-top: 2px; color: var(--muted-2); font: 10px/1.2 var(--mono); letter-spacing: .02em; }
.eyebrow { display: block; color: var(--muted-2); font: 10px/1.3 var(--mono); letter-spacing: .12em; }
.eyebrow.accent { color: var(--lime); }
.workspace-switcher { padding: 0 6px 23px; }
.workspace-switcher .eyebrow { margin: 0 5px 8px; }
.workspace-button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--panel); text-align: left; }
.workspace-button:hover { border-color: #476175; background: var(--panel-strong); }
.workspace-avatar, .user-chip > span { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border-radius: 50%; color: #0b1118; background: var(--coral); font-size: 11px; font-weight: 800; }
.workspace-button b, .workspace-button small { display: block; }
.workspace-button b { font-size: 12px; }
.workspace-button small { color: var(--muted); font-size: 10px; }
.chevron { margin-left: auto; color: var(--muted); font-size: 18px; }
.main-nav { display: grid; gap: 4px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 6px; color: var(--muted); background: transparent; text-align: left; font-size: 13px; }
.nav-item:hover { color: var(--text); background: #15222e; }
.nav-item.active { color: var(--text); background: #1b2b38; box-shadow: inset 2px 0 0 var(--lime); }
.nav-icon { width: 18px; color: currentColor; font-size: 17px; text-align: center; }
.nav-badge { margin-left: auto; padding: 2px 5px; border-radius: 4px; color: var(--lime); background: var(--lime-soft); font: 9px/1.2 var(--mono); }
.sidebar-bottom { margin-top: auto; }
.system-status { display: flex; align-items: center; gap: 9px; padding: 13px 9px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.system-status b, .system-status small { display: block; }
.system-status b { color: #d5dee5; font-size: 11px; font-weight: 600; }
.system-status small { color: var(--muted-2); font-size: 10px; }
.status-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }
.sidebar-link { display: flex; align-items: center; gap: 8px; padding: 15px 9px; color: var(--muted); font-size: 11px; }
.sidebar-link:hover { color: var(--lime); }
.sidebar-footer { display: flex; justify-content: space-between; padding: 5px 9px; color: var(--muted-2); font: 9px var(--mono); }

.main-content { min-width: 0; overflow: hidden; }
.topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 38px; border-bottom: 1px solid var(--line-soft); background: rgba(11, 17, 24, .92); }
.breadcrumbs { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.breadcrumbs b { color: var(--text); font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 13px; }
.demo-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--amber); font: 9px var(--mono); letter-spacing: .06em; }
.demo-pill i { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: var(--amber); }
.icon-button { width: 30px; height: 30px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--panel); font-size: 17px; }
.icon-button:hover { color: var(--text); border-color: #476175; }
.icon-button.small { width: 28px; height: 28px; font-size: 15px; }
.topbar-link { color: var(--muted); font-size: 11px; }
.topbar-link:hover { color: var(--lime); }
.user-chip { display: flex; align-items: center; gap: 8px; padding-left: 8px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.user-chip { padding-top: 2px; padding-bottom: 2px; background: transparent; }
.user-chip > span { color: var(--bg); background: var(--lime); }
.user-chip > span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font: 10px var(--mono); }
.user-chip:hover b { color: var(--text); }
.mobile-menu { display: none; width: 30px; height: 30px; color: var(--text); background: transparent; font-size: 19px; }

.page-view { max-width: 1450px; margin: 0 auto; padding: 44px 42px 72px; display: none; }
.page-view.active { display: block; }
.hero-row, .section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.hero-row { min-height: 190px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(34px, 4vw, 62px); line-height: 1.03; letter-spacing: -.05em; }
h1 em { color: var(--lime); font-style: normal; }
h2 { margin-bottom: 0; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.hero-copy { max-width: 585px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-bottom: 3px; }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--panel); font-size: 12px; font-weight: 650; }
.button:hover { border-color: #56768b; background: var(--panel-strong); }
.button-primary { border-color: var(--lime); color: #0b1118; background: var(--lime); }
.button-primary:hover { border-color: #efffb5; background: #e5ff82; }
.button-quiet { color: var(--muted); background: transparent; }
.button-quiet:hover { color: var(--text); background: var(--panel); }
.small-button { min-height: 31px; padding: 6px 10px; }
.notice-strip { display: flex; align-items: center; gap: 10px; margin: 26px 0 22px; padding: 10px 13px; border: 1px solid #354b3c; border-radius: 6px; color: #d6e4ca; background: #12231b; font-size: 11px; }
.notice-strip b { color: var(--lime); }
.notice-icon { width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #739052; border-radius: 50%; color: var(--lime); font: 11px var(--mono); }
.notice-close { margin-left: auto; color: #8ea487; background: transparent; font-size: 18px; line-height: 1; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.kpi-card { min-height: 135px; padding: 18px 18px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.kpi-label { color: var(--muted); font-size: 11px; }
.kpi-value-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 13px 0 8px; }
.kpi-value { color: var(--text); font-size: 30px; font-weight: 730; letter-spacing: -.05em; }
.kpi-change { padding: 3px 5px; border-radius: 4px; font: 10px var(--mono); }
.tone-lime .kpi-change { color: var(--lime); background: var(--lime-soft); }
.tone-coral .kpi-change { color: var(--coral); background: var(--coral-soft); }
.tone-blue .kpi-change { color: var(--blue); background: var(--blue-soft); }
.tone-amber .kpi-change { color: var(--amber); background: var(--amber-soft); }
.kpi-detail { color: var(--muted-2); font-size: 10px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .95fr); gap: 12px; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, .9fr); gap: 12px; margin-top: 12px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 0; }
.panel-heading .eyebrow { margin-bottom: 6px; }
.panel-select { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 10px; }
.chart-meta { display: flex; align-items: baseline; gap: 10px; padding: 20px 20px 9px 66px; }
.chart-meta strong { font-size: 29px; letter-spacing: -.05em; }
.positive { color: var(--lime); font: 11px var(--mono); }
.chart-meta small { color: var(--muted-2); font-size: 10px; }
.line-chart { display: flex; height: 224px; padding: 0 18px 0 20px; }
.chart-y { width: 29px; display: flex; flex-direction: column; justify-content: space-between; padding: 1px 0 26px; color: var(--muted-2); font: 9px var(--mono); }
.chart-body { position: relative; flex: 1; min-width: 0; }
.grid-lines { position: absolute; inset: 1px 0 26px; display: flex; flex-direction: column; justify-content: space-between; }
.grid-lines i { border-top: 1px solid var(--line-soft); }
.chart-body svg { position: absolute; inset: 0 0 26px; width: 100%; height: calc(100% - 26px); overflow: visible; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--lime); stroke-width: 3; vector-effect: non-scaling-stroke; }
.chart-point { fill: var(--lime); stroke: #0d171d; stroke-width: 3; }
.chart-x { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; color: var(--muted-2); font: 9px var(--mono); }
.chart-foot { display: flex; align-items: center; gap: 18px; padding: 8px 20px 17px 66px; color: var(--muted-2); font-size: 10px; }
.chart-foot a { margin-left: auto; color: var(--muted); }
.chart-foot a:hover { color: var(--lime); }
.legend-dot { width: 7px; height: 7px; display: inline-block; margin-right: 5px; border-radius: 50%; }
.legend-dot.lime { background: var(--lime); }
.legend-dot.coral { background: var(--coral); }
.platform-list { display: grid; gap: 13px; padding: 22px 20px 18px; }
.platform-item { display: grid; grid-template-columns: 29px 1fr auto; align-items: center; gap: 10px; }
.platform-mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 6px; font: 10px var(--mono); }
.platform-mark.lime { color: var(--lime); background: var(--lime-soft); }
.platform-mark.coral { color: var(--coral); background: var(--coral-soft); }
.platform-mark.blue { color: var(--blue); background: var(--blue-soft); }
.platform-mark.amber { color: var(--amber); background: var(--amber-soft); }
.platform-name { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; font-size: 11px; }
.platform-name span:last-child { color: var(--muted); font: 10px var(--mono); }
.progress-track { height: 5px; overflow: hidden; border-radius: 4px; background: #253442; }
.progress-bar { height: 100%; border-radius: inherit; background: var(--lime); }
.platform-item:nth-child(2) .progress-bar { background: var(--coral); }
.platform-item:nth-child(3) .progress-bar { background: var(--blue); }
.platform-item:nth-child(4) .progress-bar { background: var(--amber); }
.platform-trend { color: var(--lime); font: 10px var(--mono); }
.panel-footnote { padding: 12px 20px 18px; color: var(--muted-2); font-size: 10px; }
.panel-footnote .status-dot { width: 5px; height: 5px; margin-right: 6px; box-shadow: none; }
.empty-panel { display: flex; min-height: 150px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 20px; color: var(--muted); text-align: center; }
.empty-panel.large { min-height: 245px; }
.empty-panel b { color: #c7d2da; font-size: 12px; }
.empty-panel small { max-width: 270px; color: var(--muted-2); font-size: 10px; line-height: 1.5; }
.empty-panel .button { margin-top: 10px; }
.empty-row { padding: 32px 12px; color: var(--muted-2); text-align: center; font-size: 11px; }
.chart-plot-empty { position: absolute; inset: 30px 12px 35px; display: grid; place-items: center; padding: 22px; border: 1px dashed #344655; border-radius: 6px; color: var(--muted-2); text-align: center; font-size: 10px; line-height: 1.6; }

.query-panel, .evidence-panel { min-height: 340px; }
.text-button { color: var(--muted); background: transparent; font-size: 11px; }
.text-button:hover { color: var(--lime); }
.query-table-wrap { overflow-x: auto; padding: 17px 9px 12px; }
.query-table { width: 100%; border-collapse: collapse; text-align: left; }
.query-table th { padding: 0 11px 9px; color: var(--muted-2); font: 9px var(--mono); letter-spacing: .04em; white-space: nowrap; }
.query-table td { padding: 12px 11px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 11px; white-space: nowrap; }
.query-table tbody tr { cursor: pointer; }
.query-table tbody tr:hover td { background: #172630; }
.query-table td:first-child { max-width: 270px; overflow: hidden; color: var(--text); text-overflow: ellipsis; font-weight: 600; }
.intent-tag { display: inline-block; padding: 3px 6px; border-radius: 4px; color: var(--muted); background: #1b2b38; font-size: 10px; }
.table-score { color: var(--lime); font: 11px var(--mono); }
.status-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--lime); font-size: 10px; }
.status-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-tag.stable { color: var(--blue); }
.status-tag.attention { color: var(--amber); }
.evidence-panel { padding-bottom: 15px; }
.source-badge { padding: 4px 6px; border: 1px solid #40512b; border-radius: 4px; color: var(--lime); background: var(--lime-soft); font: 9px var(--mono); }
.latest-evidence { padding: 20px; }
.evidence-query { margin-bottom: 8px; color: var(--text); font-size: 13px; font-weight: 650; line-height: 1.45; }
.evidence-answer { margin: 0 0 15px; padding-left: 11px; border-left: 2px solid var(--coral); color: #b8c4ce; font-size: 11px; line-height: 1.7; }
.evidence-source { display: flex; align-items: flex-start; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 5px; background: #101923; }
.evidence-source-icon { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; border-radius: 4px; color: var(--lime); background: var(--lime-soft); font-size: 12px; }
.evidence-source b, .evidence-source small { display: block; }
.evidence-source b { color: #dfe8ed; font-size: 10px; line-height: 1.4; }
.evidence-source small { margin-top: 3px; color: var(--muted-2); font: 9px var(--mono); }
.evidence-source a { margin-left: auto; color: var(--muted); font-size: 15px; }
.evidence-source a:hover { color: var(--lime); }
.evidence-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; color: var(--muted-2); font-size: 10px; }
.evidence-foot .support-score { color: var(--lime); font: 10px var(--mono); }

.research-strip { margin-top: 31px; padding-top: 25px; border-top: 1px solid var(--line-soft); }
.strip-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.strip-heading a { color: var(--muted); font-size: 11px; }
.strip-heading a:hover { color: var(--lime); }
.research-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.research-card { min-height: 131px; display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.research-card:hover { border-color: #536b3a; background: #17231f; }
.research-card .card-tag { color: var(--lime); font: 9px var(--mono); letter-spacing: .1em; }
.research-card h3 { max-width: 260px; margin: 13px 0 8px; color: var(--text); font-size: 13px; line-height: 1.4; }
.research-card p { margin: auto 0 0; color: var(--muted-2); font-size: 10px; }
.research-card .card-arrow { margin-left: auto; color: var(--muted); font-size: 16px; }

.section-intro { align-items: flex-end; min-height: 135px; margin-bottom: 26px; }
.section-intro h1 { margin: 8px 0 10px; font-size: clamp(34px, 4.2vw, 55px); }
.section-intro p { max-width: 560px; margin: 0; color: var(--muted); }
.filter-row { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.filter-chip { padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: var(--panel); font-size: 11px; }
.filter-chip b { margin-left: 5px; color: var(--muted-2); font: 10px var(--mono); }
.filter-chip.active, .filter-chip:hover { border-color: #4a6332; color: var(--lime); background: var(--lime-soft); }
.filter-spacer { flex: 1; }
.full-panel { min-height: 360px; }
.table-toolbar { display: flex; justify-content: space-between; padding: 18px 20px 0; color: var(--muted); font-size: 11px; }
.muted { color: var(--muted-2); font-size: 10px; }
.query-table.expanded td { padding-top: 14px; padding-bottom: 14px; }
.query-table.expanded td:first-child { max-width: 320px; }
.geo-panel { margin: 18px 0; padding-bottom: 17px; }
.geo-method-note, .geo-baseline-note, .geo-footer-note { margin: 13px 20px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.geo-baseline-note { padding: 11px 13px; border-left: 2px solid var(--amber); background: var(--amber-soft); }
.geo-channel { margin: 16px 20px 0; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.geo-channel-heading, .geo-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.geo-channel-heading h3, .geo-section-heading h3 { margin: 0; color: var(--text); font-size: 13px; }
.geo-channel-heading > span, .geo-section-heading > span { color: var(--muted-2); font-size: 10px; }
.geo-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 11px; }
.geo-metric { min-width: 0; padding: 10px 11px; border: 1px solid var(--line-soft); border-radius: 5px; background: #101923; }
.geo-metric > span, .geo-metric > b, .geo-metric > small { display: block; overflow-wrap: anywhere; }
.geo-metric > span { color: var(--muted-2); font-size: 10px; }
.geo-metric > b { margin-top: 7px; color: var(--text); font: 600 17px var(--mono); }
.geo-metric > small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.geo-platform-table { overflow-x: auto; margin-top: 11px; }
.geo-platform-table table { width: 100%; border-collapse: collapse; text-align: left; }
.geo-platform-table th { padding: 7px 9px; color: var(--muted-2); font: 9px var(--mono); white-space: nowrap; }
.geo-platform-table td { padding: 8px 9px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 10px; white-space: nowrap; }
.geo-platform-table td:first-child { color: var(--text); }
.geo-comparison { margin: 16px 20px 0; padding: 14px 0 0; border-top: 1px solid var(--line-soft); }
.geo-deltas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.geo-deltas > div { display: grid; gap: 5px; min-width: 0; }
.geo-deltas span, .geo-deltas small { color: var(--muted-2); font-size: 9px; }
.geo-deltas b { color: var(--text); font: 600 12px var(--mono); }
.geo-section-heading { margin: 19px 20px 9px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.geo-recommendations { display: grid; margin: 0 20px; }
.geo-recommendation { display: grid; grid-template-columns: 36px minmax(0, 1fr) 30px; gap: 10px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.geo-rec-priority { display: grid; place-items: center; height: 23px; border-radius: 4px; color: var(--blue); background: #172837; font: 10px var(--mono); }
.geo-rec-priority.critical { color: var(--coral); background: var(--coral-soft); }
.geo-rec-copy { min-width: 0; }
.geo-rec-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; color: var(--muted-2); font-size: 9px; }
.geo-rec-meta span:last-child { color: #93b4a2; }
.geo-rec-meta a { color: #93b4a2; text-decoration: underline; text-underline-offset: 2px; }
.geo-rec-copy h4 { margin: 5px 0; color: var(--text); font-size: 12px; line-height: 1.5; }
.geo-rec-copy p, .geo-rec-copy small { display: block; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.geo-rec-copy small { margin-top: 4px; color: #bbc8c4; }
.geo-recommendation .icon-button { color: var(--muted); }
.geo-suggested-queries { display: grid; margin: 0 20px; }
.geo-suggested-query { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); color: var(--text); font-size: 10px; line-height: 1.55; }
.geo-suggested-query > span { min-width: 0; }
.geo-suggested-query .button { flex: 0 0 auto; }
.geo-examples { margin: 14px 20px 0; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 10px; }
.geo-examples summary { padding: 11px 0; cursor: pointer; }
.geo-examples > div { display: grid; gap: 7px; }
.geo-ranking-example { display: grid; gap: 3px; padding: 8px 10px; border-left: 2px solid var(--blue); background: #101923; }
.geo-ranking-example span, .geo-ranking-example small { color: var(--muted-2); font-size: 9px; }
.geo-ranking-example b { color: var(--text); font-size: 10px; }
.geo-footer-note { margin-top: 15px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.row-arrow { color: var(--muted); font-size: 16px; }

.data-confidence { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--lime); font: 10px var(--mono); }
.data-confidence i { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: var(--lime); }
.evidence-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); gap: 12px; }
.evidence-list-panel { min-height: 500px; }
.evidence-list { display: grid; gap: 0; padding: 13px 9px; }
.evidence-list-item { padding: 15px 11px; border-top: 1px solid var(--line-soft); cursor: pointer; }
.evidence-list-item:first-child { border-top: 0; }
.evidence-list-item:hover, .evidence-list-item.active { background: #172630; }
.evidence-list-item .list-meta { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted-2); font: 9px var(--mono); }
.evidence-list-item b { display: block; color: var(--text); font-size: 12px; line-height: 1.45; }
.evidence-list-item p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.evidence-detail-panel { min-height: 500px; }
.evidence-detail { padding: 20px; }
.evidence-detail .detail-label { margin-bottom: 9px; color: var(--muted-2); font: 9px var(--mono); letter-spacing: .08em; }
.evidence-detail h3 { margin: 0 0 14px; font-size: 17px; line-height: 1.4; }
.evidence-detail .answer-box { margin-bottom: 19px; padding: 13px; border: 1px solid #354755; border-radius: 5px; color: #c0ccd4; background: #0e171f; font-size: 12px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.finding-box { margin: 15px 0; padding: 13px; border-left: 2px solid var(--amber); background: var(--amber-soft); }
.finding-box b { display: block; margin-bottom: 5px; color: var(--amber); font-size: 10px; }
.finding-box p { margin: 0; color: #d8c9a8; font-size: 11px; line-height: 1.6; }
.action-box { display: flex; gap: 9px; align-items: center; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.action-box p { flex: 1; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.capture-panel { margin-bottom: 12px; padding-bottom: 18px; }
.capture-grid, .settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; padding: 0 20px; }
.capture-grid .field-label, .settings-grid .field-label { margin: 20px 0 0; }
.field-label input, .field-label select, .field-label textarea { width: 100%; display: block; margin-top: 7px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 5px; outline: 0; color: var(--text); background: #0e171f; font: 11px/1.5 var(--sans); resize: vertical; }
.field-label input, .field-label select { height: 39px; }
.field-label input:focus, .field-label select:focus, .field-label textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 2px var(--lime-soft); }
.capture-answer, .capture-source, .settings-wide { grid-column: 1 / -1; }
.capture-actions, .settings-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 20px 0; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.empty-source { margin-bottom: 10px; padding: 11px; border: 1px dashed var(--line); border-radius: 5px; color: var(--muted-2); font-size: 10px; }
.settings-panel { padding-bottom: 20px; }
.settings-boundary { margin-top: 12px; padding: 20px; }
.settings-boundary .eyebrow { margin-bottom: 7px; }
.settings-boundary h2 { margin-bottom: 17px; }
.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.boundary-grid div { padding: 12px; border: 1px solid var(--line-soft); border-radius: 5px; background: #101923; }
.boundary-grid b, .boundary-grid span { display: block; }
.boundary-grid b { margin-bottom: 6px; color: var(--text); font-size: 11px; }
.boundary-grid span { color: var(--muted); font-size: 10px; line-height: 1.55; }

.audit-summary { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 10px; }
.audit-summary b { color: var(--coral); font: 13px var(--mono); }
.audit-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .8fr); gap: 12px; }
.audit-form-panel, .audit-score-panel { min-height: 480px; }
.field-label { display: block; margin: 24px 20px 8px; color: var(--muted-2); font: 10px var(--mono); }
.input-row { display: flex; gap: 8px; padding: 0 20px; }
.input-row input { min-width: 0; flex: 1; height: 39px; padding: 0 11px; border: 1px solid var(--line); border-radius: 5px; outline: 0; color: var(--text); background: #0e171f; font-size: 11px; }
.input-row input:focus { border-color: var(--lime); box-shadow: 0 0 0 2px var(--lime-soft); }
.audit-rule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 22px 20px 0; }
.audit-rule-grid div { padding: 10px; border: 1px solid var(--line-soft); border-radius: 5px; background: #101923; }
.audit-rule-grid b, .audit-rule-grid span { display: block; }
.audit-rule-grid b { margin-bottom: 4px; color: var(--text); font-size: 10px; }
.audit-rule-grid span { color: var(--muted-2); font-size: 9px; }
.audit-result { min-height: 175px; margin: 22px 20px 20px; padding: 20px; border: 1px solid var(--line); border-radius: 6px; }
.audit-result.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 50%; color: var(--muted); background: var(--line-soft); font-size: 22px; }
.audit-result.empty b { color: var(--muted); font-size: 12px; }
.audit-result.empty small { margin-top: 5px; color: var(--muted-2); font-size: 10px; }
.audit-result.has-result { border-color: #425b36; background: #112017; }
.audit-result-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.audit-result-head strong { color: var(--lime); font-size: 24px; letter-spacing: -.04em; }
.audit-result-head span { color: var(--muted); font-size: 10px; }
.finding-list { display: grid; gap: 7px; }
.finding-row { display: flex; align-items: flex-start; gap: 8px; color: #bdc8cf; font-size: 10px; line-height: 1.45; }
.finding-row i { width: 6px; height: 6px; flex: 0 0 6px; margin-top: 5px; border-radius: 50%; background: var(--lime); }
.finding-row.warn i { background: var(--amber); }
.finding-row.risk i { background: var(--coral); }
.finding-row.info i { background: var(--blue); }
.finding-row small { margin-left: 5px; color: var(--muted-2); font-size: 9px; }
.score-ring { position: relative; width: 174px; height: 174px; display: grid; place-items: center; margin: 39px auto 22px; border-radius: 50%; background: #263442; }
.score-ring::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: var(--panel); }
.score-ring > div { position: relative; text-align: center; }
.score-ring strong { font-size: 48px; letter-spacing: -.08em; }
.score-ring span { color: var(--muted); font: 11px var(--mono); }
.score-caption { max-width: 210px; margin: 0 auto 24px; color: var(--muted); text-align: center; font-size: 11px; }
.score-trend { color: var(--lime); font: 10px var(--mono); }
.audit-metrics { display: grid; gap: 8px; padding: 0 20px 20px; }
.audit-metric { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.audit-metric > div:first-child { display: flex; justify-content: space-between; margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.audit-metric > div:first-child b { color: var(--text); font: 10px var(--mono); }
.audit-metric[data-status="review"] > div:first-child b { color: var(--amber); }
.audit-metric[data-status="fail"] > div:first-child b { color: var(--coral); }
.audit-metric[data-status="info"] > div:first-child b { color: var(--blue); }
.metric-track { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: #253442; }
.metric-track span { display: block; height: 100%; border-radius: inherit; background: var(--lime); }
.audit-metric:nth-child(2) .metric-track span { background: var(--amber); }
.audit-metric:nth-child(3) .metric-track span { background: var(--coral); }
.audit-metric:nth-child(4) .metric-track span { background: var(--blue); }

.research-hero { display: flex; justify-content: space-between; gap: 30px; padding: 25px 26px; border: 1px solid #3d4e31; border-radius: var(--radius); background: #122019; }
.research-mark { color: var(--lime); font: 11px var(--mono); letter-spacing: .14em; }
.research-hero h2 { max-width: 570px; margin: 14px 0 10px; font-size: 26px; line-height: 1.2; }
.research-hero p { max-width: 620px; margin: 0; color: #a7b7a5; font-size: 12px; line-height: 1.7; }
.research-stats { display: flex; gap: 27px; align-items: center; }
.research-stats div { min-width: 77px; }
.research-stats b, .research-stats span { display: block; }
.research-stats b { color: var(--text); font-size: 23px; letter-spacing: -.05em; }
.research-stats span { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.research-grid .research-card { min-height: 165px; }
.license-note { display: flex; gap: 9px; margin-top: 17px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: #101923; font-size: 10px; line-height: 1.55; }
.license-note > span:first-child { color: var(--amber); font-size: 14px; }

.bridge-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bridge-panel { min-width: 0; padding-bottom: 18px; }
.bridge-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 18px 20px 0; }
.bridge-profile-field { min-width: 0; padding: 10px 11px; border: 1px solid var(--line-soft); border-radius: 5px; background: #101923; }
.bridge-profile-field span, .bridge-profile-field b { display: block; overflow-wrap: anywhere; }
.bridge-profile-field span { color: var(--muted-2); font-size: 10px; }
.bridge-profile-field b { margin-top: 4px; color: var(--text); font-size: 12px; font-weight: 600; }
.bridge-note { margin: 13px 20px 0; padding: 12px; border-left: 2px solid var(--amber); color: var(--muted); background: var(--amber-soft); font-size: 11px; line-height: 1.65; }
.bridge-note b { color: var(--amber); font-size: 11px; }
.bridge-note p { margin: 4px 0 0; }
.bridge-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 20px 0; }
.bridge-actions .muted { max-width: 260px; font-size: 10px; }
.bridge-help { margin: 10px 20px 0; line-height: 1.6; }
.bridge-panel > .field-label { margin: 19px 20px 0; }
.bridge-panel input[type="file"] { display: block; width: 100%; margin-top: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: #101923; font-size: 11px; }
.publication-list { display: grid; gap: 8px; margin: 14px 20px 0; }
.publication-row { display: grid; gap: 4px; min-width: 0; padding: 11px 12px; border: 1px solid var(--line-soft); border-radius: 5px; background: #101923; }
.publication-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted-2); font-size: 10px; }
.publication-row b { overflow-wrap: anywhere; color: var(--text); font-size: 12px; }
.publication-row small { color: var(--muted); font-size: 10px; }
.publication-row a { width: fit-content; margin-top: 3px; color: var(--blue); font-size: 10px; }
.publication-row a:hover { color: #cbe7ff; }
.publication-row .receipt-verification { color: var(--amber); }
.bridge-actions { flex-wrap: wrap; }
.button:disabled { cursor: wait; opacity: .6; }

.sampling-panel { margin-top: 20px; padding-bottom: 20px; }
.sampling-description, .admin-description, .admin-help { margin: 13px 20px 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.sampling-controls { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; margin: 20px; }
.sampling-label { margin-bottom: 8px; color: var(--muted-2); font: 10px var(--mono); }
.sampling-query-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 8px; }
.sampling-options { display: grid; gap: 6px; max-height: 260px; overflow: auto; padding-right: 5px; }
.check-option { display: grid; grid-template-columns: 15px minmax(0, 1fr); align-items: center; gap: 7px; min-width: 0; padding: 8px 9px; border: 1px solid var(--line-soft); border-radius: 5px; color: var(--text); background: #101923; font-size: 11px; cursor: pointer; }
.check-option:hover { border-color: #476175; }
.check-option input { margin: 0; accent-color: var(--lime); }
.check-option span { overflow-wrap: anywhere; }
.check-option small { grid-column: 2; overflow: hidden; color: var(--muted-2); font: 9px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.check-option.disabled { color: var(--muted-2); cursor: not-allowed; opacity: .7; }
.sampling-actions, .admin-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 0 20px; }
.sampling-mode { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.sampling-mode select { min-height: 36px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--text); background: #101923; font-size: 11px; }
.sampling-task { min-height: 34px; margin: 14px 20px 0; padding: 9px 11px; border: 1px solid var(--line-soft); border-radius: 5px; background: #101923; }
.sampling-estimate { margin: 10px 20px 0; color: var(--muted-2); font: 10px var(--mono); }
.task-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.task-summary b { color: var(--text); font-size: 11px; }
.sampling-history { margin-top: 12px; padding-bottom: 18px; }
.sampling-task-list { margin: 16px 20px 0; }
.sampling-history-row { display: grid; grid-template-columns: 1fr auto auto; gap: 15px; align-items: center; padding: 10px 11px; border: 1px solid var(--line-soft); border-radius: 5px; background: #101923; color: var(--muted); font-size: 10px; }
.sampling-history-row b, .sampling-history-row small { display: block; }
.sampling-history-row b { color: var(--text); font-size: 11px; }
.sampling-history-row small { margin-top: 3px; color: var(--muted-2); }
.sample-origin { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 12px 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.sample-origin a { color: var(--lime); }
.sampling-errors, .sampling-blocker { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.sampling-errors b { color: var(--coral); }
.sampling-channel-row { margin: 18px 20px 0; display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px 24px; }
.sampling-channel-row p { flex: 1; min-width: 200px; font-size: 11px; line-height: 1.7; margin: 0; }
.sampling-session-panel { margin: 18px 20px 0; padding: 12px; border: 1px solid var(--line-soft); border-radius: 6px; background: #101923; }
.sampling-session-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.sampling-session-help { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.sampling-session-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.sampling-session-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 8px 9px; border: 1px solid var(--line-soft); border-radius: 5px; background: #0d151e; }
.sampling-session-option b, .sampling-session-option small { display: block; }
.sampling-session-option b { color: var(--text); font-size: 11px; }
.sampling-session-option small { margin-top: 3px; color: var(--muted-2); font: 9px var(--mono); }
.sampling-session-option .button { flex: 0 0 auto; }
.sampling-platform-results { display: grid; gap: 10px; margin-top: 12px; }
.sampling-platform-result { padding: 12px; border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.sampling-platform-result > div:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.sampling-platform-result small, .sampling-platform-result p { color: var(--muted); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.sampling-platform-result p { margin: 8px 0; }
.sampling-result-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 8px; }
.sampling-result-actions a { color: var(--lime); font-size: 11px; }
.sampling-history-row { grid-template-columns: minmax(0, 1fr) auto auto auto; margin-bottom: 8px; }
.task-summary { flex-wrap: wrap; }
.source-warning { color: var(--amber); }
@media (max-width: 650px) {
  .sampling-channel-row { flex-direction: column; }
  .sampling-channel-row > label { width: 100%; }
  .sampling-session-heading { flex-direction: column; }
  .sampling-session-options { grid-template-columns: 1fr; }
  .sampling-session-heading > .button { width: 100%; }
  .sampling-history-row { grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
  .sampling-platform-result > div:first-child { align-items: flex-start; }
  .sampling-result-actions .button { white-space: normal; }
}
.status-tag.warning, .source-badge.warning { color: var(--amber); background: var(--amber-soft); }
.admin-sampler-panel { margin-top: 20px; padding-bottom: 22px; }
.admin-form { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; margin: 20px; }
.admin-form .field-label { margin: 0; }
.config-status { min-height: 38px; display: flex; align-items: center; padding: 9px 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: #101923; font-size: 10px; line-height: 1.4; }
.sampler-platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 20px 18px; }
.sampler-platform-grid .field-label { margin: 0; }
.sampler-platform-grid .field-label span { display: block; }
.sampler-platform-grid .field-label small { color: var(--muted-2); font: 9px var(--mono); }
.admin-help { margin-top: 13px; }

.toast-region { position: fixed; right: 23px; bottom: 22px; z-index: 20; display: grid; gap: 8px; }
.toast { max-width: 330px; padding: 11px 13px; border: 1px solid #486531; border-radius: 6px; color: #e2eddb; background: #14251b; box-shadow: 0 12px 30px rgba(0,0,0,.25); font-size: 11px; animation: toast-in .18s ease-out both; }
@keyframes toast-in { from { transform: translateY(5px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 1120px) {
  .page-view { padding-right: 28px; padding-left: 28px; }
  .topbar { padding-right: 28px; padding-left: 28px; }
  .research-stats { gap: 16px; }
  .dashboard-grid, .lower-grid, .bridge-layout { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .9fr); }
  .geo-metrics, .geo-deltas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; z-index: 10; left: -260px; width: 248px; transition: left .2s ease; box-shadow: 15px 0 40px rgba(0,0,0,.3); }
  .sidebar.open { left: 0; }
  .sidebar.open + .sidebar-backdrop { position: fixed; z-index: 9; inset: 0; display: block; background: rgba(0,0,0,.42); }
  .mobile-menu { display: inline-grid; place-items: center; }
  .topbar { height: 62px; padding: 0 18px; }
  .breadcrumbs { margin-right: auto; }
  .topbar-link { display: none; }
  .page-view { padding: 34px 18px 58px; }
  .hero-row { align-items: flex-start; flex-direction: column; min-height: auto; }
  .hero-actions { padding-bottom: 0; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid, .lower-grid, .evidence-layout, .audit-layout, .bridge-layout { grid-template-columns: 1fr; }
  .research-cards, .research-grid { grid-template-columns: repeat(2, 1fr); }
  .research-hero { flex-direction: column; }
  .research-stats { justify-content: space-between; }
}
@media (max-width: 570px) {
  .user-chip b, .demo-pill { display: none; }
  .topbar-actions { gap: 8px; }
  h1 { font-size: 37px; }
  .hero-copy { font-size: 13px; }
  .notice-strip { align-items: flex-start; }
  .notice-close { margin-top: -2px; }
  .chart-meta { padding-left: 49px; flex-wrap: wrap; }
  .chart-meta small { width: 100%; }
  .chart-foot { flex-wrap: wrap; padding-left: 49px; gap: 8px 15px; }
  .chart-foot a { width: 100%; margin-left: 0; }
  .section-intro { align-items: flex-start; flex-direction: column; min-height: auto; }
  .section-intro .button, .section-intro .data-confidence { align-self: stretch; }
  .filter-row { flex-wrap: wrap; }
  .filter-spacer { display: none; }
  .table-toolbar { gap: 10px; flex-direction: column; }
  .input-row { align-items: stretch; flex-direction: column; }
  .input-row input { height: 42px; }
  .audit-rule-grid { grid-template-columns: repeat(2, 1fr); }
  .research-cards, .research-grid { grid-template-columns: 1fr; }
  .research-stats { align-items: flex-start; gap: 10px; }
  .research-stats div { min-width: 0; flex: 1; }
  .research-hero h2 { font-size: 22px; }
  .auth-screen { padding: 18px; }
  .auth-card { padding: 23px 19px; }
  .auth-card h1 { font-size: 30px; }
  .sampling-controls, .admin-form, .sampler-platform-grid { grid-template-columns: 1fr; }
  .sampling-actions { align-items: stretch; flex-direction: column; }
  .sampling-mode { align-items: stretch; flex-direction: column; }
  .sampling-mode select, .sampling-actions .button { width: 100%; }
  .task-summary { align-items: flex-start; flex-direction: column; }
  .geo-metrics, .geo-deltas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-channel-heading, .geo-section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .geo-suggested-query { align-items: flex-start; flex-direction: column; }
  .geo-recommendation { grid-template-columns: 31px minmax(0, 1fr) 28px; gap: 7px; }
  .geo-method-note, .geo-baseline-note, .geo-footer-note { margin-right: 13px; margin-left: 13px; }
  .geo-channel, .geo-comparison, .geo-recommendations, .geo-suggested-queries, .geo-examples { margin-right: 13px; margin-left: 13px; }
  .geo-section-heading { margin-right: 13px; margin-left: 13px; }
}
