/* Shared by the saved report and its public preview. Keep surrounding site/app chrome separate. */
.report{--font-ui:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;--ink:#ffffff;--muted:#a1a1a1;--paper:#000000;--panel:#0d0d0d;--rule:#262626;--green:#a7b9ff;--bad:#ff7a6e;--charcoal:#101210;--accent-soft:rgba(167,185,255,.14);--glass:rgba(255,255,255,.06);--glass-2:rgba(255,255,255,.10);--glass-border:rgba(255,255,255,.14);--glass-border-strong:rgba(255,255,255,.26);--glass-highlight:inset 0 1px 0 rgba(255,255,255,.22);--glow:radial-gradient(640px 420px at 18% 0%,rgba(167,185,255,.16),transparent 70%);--track:rgba(255,255,255,.08);--d-bar:#8a8a8a;--d-hl:#a7b9ff;--d-part:#708bdf;--d-fail:#ff7a6e;--grid:#262626;--comp:#ed9ec0;--other:#4a4a4a;--h0:rgba(255,255,255,.06);--h0t:#a1a1a1;--h1:#304b9f;--h1t:#ffffff;--h2:#849df0;--h2t:#101210;--h3:#a7b9ff;--h3t:#101210;--lv1:#304b9f;--lv1t:#ffffff;--lv2:#708bdf;--lv2t:#101210;--lv3:#849df0;--lv3t:#101210;--lv4:#a7b9ff;--lv4t:#101210;color:var(--ink);font:16px/1.6 var(--font-ui);background:var(--glass);border:1px solid var(--glass-border);border-radius:12px;padding:24px 28px;margin:12px 0 28px}
.ai-label{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;white-space:nowrap}
.ai-label img{display:block;width:24px;height:24px;object-fit:contain;flex:none}
/* The official Perplexity file includes clear space inside its canvas. */
.ai-label img[src="/logos/perplexity.svg"]{width:40px;height:40px;margin:-8px}
.report h2{max-width:none;font:700 21px/1.4 var(--font-ui);letter-spacing:normal;margin:32px 0 16px;padding-top:24px;border-top:1px solid var(--rule)}
.report h3{font:700 19px/1.45 var(--font-ui);letter-spacing:normal;margin:0 0 8px}
.report .report-document-title{display:none}
.report p{max-width:none}
.report a,.report summary{color:var(--green)}
.report a{text-decoration:underline;text-underline-offset:3px}
.report summary{cursor:pointer}
.report .small,.report .chart-note{font-size:14px;color:var(--muted)}
.report .report-brand{font-size:24px;font-weight:700;margin:4px 0}
.report .muted{font-size:15px;font-weight:400;color:var(--muted);overflow-wrap:anywhere}
.report .report-meta{font-size:14px;color:var(--muted);margin:0 0 12px}
.report .headline{font-size:18px;font-weight:600;line-height:1.5;margin:18px 0 0}
.report .kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:20px 0 8px}
.report .kpi{min-width:0;border:1px solid var(--rule);border-radius:10px;padding:14px 16px;background:var(--paper)}
.report .kpi-label,.report .kpi-sub{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
.report .kpi-value{margin:2px 0;font-size:30px;line-height:40px;font-weight:700;font-variant-numeric:tabular-nums}
.report .kpi-value.is-text{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.report .findings{list-style:disc;padding-left:20px;display:grid;gap:6px}
.report .findings li{list-style:disc}
.report .report-findings{border-top:1px solid var(--rule);padding-top:14px;margin-top:18px}
.report .report-findings>summary{font-size:15px;font-weight:600}
.report .chart{margin:8px 0 18px;min-width:0}
.report .chart figcaption{font-weight:600;margin-bottom:6px}
.report .chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.report .chart-note{margin:4px 0}
.report .bars{list-style:none;padding:0;margin:0;display:grid;gap:8px;max-width:760px}
.report .bars li{display:grid;grid-template-columns:minmax(5em,1fr) minmax(40px,1fr) 7em;gap:10px;align-items:center;font-size:14px}
.report .bars.wide li{grid-template-columns:minmax(10em,20em) minmax(40px,1fr) 7em}
.report .bar-label{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.report .bar-label.is-hl{color:var(--ink);font-weight:700}
.report .bar-value{font-variant-numeric:tabular-nums;white-space:nowrap}
.report .bar-svg{width:100%;height:14px;display:block}
.report .rings{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin:12px 0 20px;text-align:center}.report .ring svg{width:132px;height:132px;display:block;margin:0 auto}.report .ring circle{fill:none;stroke-width:11}.report .ring-track{stroke:var(--track)}.report .ring-arc{stroke:var(--d-bar)}.report .ring-hl{stroke:var(--d-hl)}.report .ring-pct{font-size:20px;font-weight:700;text-anchor:middle;fill:currentColor}.report .ring-n{font-size:10px;text-anchor:middle;fill:var(--muted)}.report .ring-label{font-weight:600;margin:6px 0 0}.report .ring-sub{font-size:13px;color:var(--muted);margin:2px 0 0}
.report .bar-track{fill:var(--track)}.report .bar:not([fill]){fill:var(--d-bar)}.report .bar-hl{fill:var(--d-hl)}
.report .table-wrap{overflow-x:auto;margin:10px 0 18px;border:1px solid var(--glass-border);border-radius:8px;background:var(--glass)}
.report table{border-collapse:collapse;width:100%;font-size:15px}
.report th,.report td{text-align:left;padding:9px 12px;border-top:1px solid var(--rule);vertical-align:top}
.report th{background:var(--glass);font-weight:600}
.report table.heat td{text-align:center;font-variant-numeric:tabular-nums;font-weight:600;min-width:4em}
/* One sequential scale for every count grid (heatmap, AI x brand, KPI dots), dark to the brand lime on black:
   #304b9f #708bdf #849df0 #a7b9ff (the heatmap uses 1, 3, 4); print keeps the light ramp #8ca4ee #7d97e2 #3e5cb3 #244cda. */
.report .h0{background:var(--h0);color:var(--h0t)}.report .h1{background:var(--h1);color:var(--h1t)}.report .h2{background:var(--h2);color:var(--h2t)}.report .h3{background:var(--h3);color:var(--h3t)}
.report .heat-legend{display:flex;flex-wrap:wrap;gap:4px;align-items:center;font-size:13px;color:var(--muted)}
.report .heat-legend span{display:inline-block;min-width:32px;text-align:center;border-radius:4px;padding:1px 3px}
.report .tag{display:inline-block;font-size:13px;border:1px solid var(--muted);border-radius:999px;padding:1px 8px;margin-left:6px;font-weight:500}
.report .action-list{list-style:none;padding:0;display:grid;gap:12px}
.report .next-card{min-width:0;border:1px solid var(--rule);border-radius:10px;padding:18px 20px;break-inside:avoid}
.report .next-card.is-first{border-color:var(--green);background:var(--accent-soft)}
.report .next-card>p,.report .next-card>details{max-width:680px;margin:8px 0}
.report .eyebrow,.report .task-q-label{font-size:13px;font-weight:650;color:var(--muted)}
.report .next-card .task-question{font-size:17px;font-weight:500;line-height:1.5}
.report .task-q-label{margin-right:4px}
.report details.how{margin:6px 0}.report details.how summary{font-size:14px}
.report details.how ol{margin:8px 0 0;padding-left:24px;list-style:decimal}.report details.how li{list-style:decimal}
.report .btn,.report .btn-secondary{font:600 15px/1.5 var(--font-ui);letter-spacing:normal;text-transform:none;cursor:pointer;border-radius:8px;padding:10px 18px;text-decoration:none;display:inline-block;max-width:100%;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;text-align:center;color:var(--ink);border:1px solid var(--glass-border-strong);background:rgba(255,255,255,.08);min-height:44px}
.report .btn{background:#a7b9ff;color:var(--charcoal);border-color:#a7b9ff}.report .btn-note{margin-left:12px}
.report [id]{scroll-margin-top:100px}
/* Dashboard (2026-11-02): charcoal header band, KPI tiles with meters, chart cards on a 12-column grid. */
.report .report-head{background:#192133;color:#faf9f5;border-radius:14px;padding:22px 24px;margin:0 0 20px}
.report .report-head .report-brand{color:#fff;font-size:26px}.report .report-head .muted{color:#a9aaa3}
.report .report-head .report-meta{color:#a9aaa3;margin:4px 0 14px}
.report .report-head .btn-secondary{background:transparent;color:#faf9f5;border:1px solid #5f5f58}
.report .report-head .btn-secondary:hover{border-color:#a7b9ff;color:#a7b9ff}
.report .kpi{background:var(--glass);box-shadow:none}
.report .kpi-meter{display:block;width:100%;height:6px;margin:6px 0 8px}
.report .bar-fail{fill:var(--d-fail)}
.report .kpi-dots{display:flex;gap:5px;margin:8px 0}.report .kpi-dots span{width:12px;height:12px;border-radius:50%;background:var(--track);border:1px solid #5e5e5e}
.report .kpi-dots .on{background:var(--d-hl);border-color:var(--d-hl)}.report .kpi-dots .part{background:var(--d-part);border-color:var(--d-part)}
.report .dash{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;margin:28px 0 8px}
.report .card{grid-column:span 12;min-width:0;background:var(--glass);border:1px solid var(--glass-border);border-radius:14px;padding:20px 22px;box-shadow:var(--glass-highlight)}
.report .card.span-5{grid-column:span 5}.report .card.span-7{grid-column:span 7}
.report .card h2{margin:0 0 14px;padding:0;border:0;font-size:17px;text-transform:none}
.report .card h2.card-h-quiet{color:var(--muted)}
.report .card .chart{margin:0}
.report .by-ai{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px;align-items:center}
.report .by-ai .rings{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));margin:0}.report .by-ai .ring svg{width:112px;height:112px}
.report svg.cols{width:100%;height:auto;display:block;max-height:260px}
.report .cols .grid{stroke:var(--grid);stroke-width:1}.report .cols .axis{font-size:11px;fill:var(--muted)}
.report .cols .col-v{font-size:12px;font-weight:700;fill:var(--ink)}.report .cols .col-name{font-size:13px;font-weight:600;fill:var(--ink)}
.report .cols .col:hover rect{opacity:.8}
.report .legend>span{white-space:nowrap}.report .legend{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;font-size:13px;color:var(--muted);margin:0 0 6px}
.report .key{display:inline-block;width:12px;height:12px;border-radius:3px;vertical-align:-1px;margin-right:6px}
.report .key-grey{background:var(--d-bar)}.report .key-green{background:var(--d-hl)}
.report .donut{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.report .donut svg{width:150px;height:150px;flex:none}
.report .donut circle{fill:none;stroke-width:13}
.report .donut .seg-you{stroke:var(--d-hl)}.report .donut .seg-comp{stroke:var(--comp)}.report .donut .seg-other{stroke:var(--other)}
.report .donut circle:hover{stroke-width:16}
.report .donut-legend{list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:14px;min-width:0;flex:1}
.report .donut-legend li{display:flex;align-items:center;gap:0;list-style:none}.report .donut-legend strong{margin-left:auto;padding-left:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.report .key.seg-you{background:var(--d-hl)}.report .key.seg-comp{background:var(--comp)}.report .key.seg-other{background:var(--other)}
.report .card .table-wrap{border-radius:10px}
.report table.heat{border-collapse:separate;border-spacing:4px;background:transparent;table-layout:fixed}.report table.heat thead th:first-child{width:46%}
.report table.heat th,.report table.heat td{border:0;border-radius:6px}
.report table.heat thead th{background:transparent;color:var(--muted);font-size:13px}
.report table.heat tbody th{background:transparent;font-weight:500}
.report .hero{background:var(--glass);border:1px solid var(--glass-border);border-radius:14px;padding:22px 24px;box-shadow:var(--glass-highlight)}
.report .hero .headline{font-size:clamp(22px,2.2vw,30px);font-weight:700;line-height:1.4;letter-spacing:-.02em;margin:0 0 6px}
.report .hero .headline-sub{font-size:16px;color:var(--muted);margin:0 0 4px}
.report .hero .kpis{margin-top:18px}
.report .report-tasks{margin:28px 0 0}.report .report-tasks h2{margin-top:0;border:0;padding-top:0}
@media screen and (max-width:900px){.report .card.span-5,.report .card.span-7{grid-column:span 12}.report .by-ai{grid-template-columns:1fr}}
@media screen and (max-width:720px){.report .hero{padding:16px}.report .report-head{padding:18px 16px;border-radius:12px}.report .card{padding:16px 14px}.report .dash{gap:12px}.report .by-ai .ring svg{width:84px;height:84px}.report .by-ai .rings{grid-template-columns:repeat(3,minmax(0,1fr))}.report .cols .col-v,.report .cols .col-name{font-size:18px}.report .cols .axis{font-size:15px}.report .donut svg{width:120px;height:120px}.report .donut-legend{flex-basis:100%}}
@media screen and (max-width:900px){.report .chart-grid{grid-template-columns:1fr}}
@media screen and (max-width:720px){
  .report .rings{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.report .ring svg{width:84px;height:84px}.report .ring-label{font-size:12px;overflow-wrap:anywhere;hyphens:auto}.report .ring-sub{font-size:11px}
  .report{padding:16px}.report .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report .kpi{padding:12px}.report .kpi-value{font-size:26px}
  .report .kpi:has(.is-text){grid-column:1/-1}.report .kpi-value.is-text{font-size:20px}
  .report .report-brand .muted{display:block}.report .next-card{padding:16px}
  .report .bars li,.report .bars.wide li{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;font-size:13px}
  .report .bar-label{white-space:normal;overflow-wrap:anywhere}.report .bar-value{grid-column:2;grid-row:1}.report .bar-svg{grid-column:1/-1;grid-row:2}
  .report table.heat,.report table.heat thead,.report table.heat tbody{display:block}
  .report table.heat tr{display:grid}.report table.heat.cols-1 tr{grid-template-columns:1fr}.report table.heat.cols-2 tr{grid-template-columns:repeat(2,1fr)}.report table.heat.cols-3 tr{grid-template-columns:repeat(3,1fr)}.report table.heat.cols-4 tr{grid-template-columns:repeat(4,1fr)}
  .report table.heat thead th:first-child{display:none}.report table.heat tbody th{grid-column:1/-1}
  .report table.heat td,.report table.heat thead th{min-width:0;text-align:center;padding:8px 2px}
}
/* A4 document layout is independent of the viewport and the workspace sidebar. */
@media print{.report .report-head .report-brand{color:#192133}.report .report-head .muted,.report .report-head .report-meta{color:#5f5f58}.report .card{box-shadow:none;break-inside:avoid;padding:4mm}.report .dash{display:block}.report .card+.card{margin-top:4mm}}
@page report{
  size:A4;margin:16mm 15mm 18mm;
  @top-left{content:""}@top-right{content:""}
  @bottom-left{content:"FwdLink";font:8pt system-ui,sans-serif;color:#5f5f58}
  @bottom-right{content:counter(page) " / " counter(pages);font:8pt system-ui,sans-serif;color:#5f5f58}
}
@media print{
  html:has(.report){background:#fff;scroll-behavior:auto}
  body:has(.report){display:block!important;min-height:0;background:#fff}
  body:has(.report) :is(.sidebar,.app-header,.app-footer,.site-header,.site-footer,.mobile-sheet,.skip,.skip-link){display:none!important}
  body:has(.report) :is(.shell-main,main,.report-preview){display:block;width:auto;max-width:none;margin:0;padding:0}
  /* Only a page that holds a report prints just the report; the agency client report is a plain table (QA, 2026-11-16). */
  body:has(.report,.result-print) .shell-main main>:not(.report):not(.result-print),.report-preview>:not(.result-print){display:none!important}
  .report{page:report;border:0;border-radius:0;padding:0;margin:0;font-size:10pt;line-height:1.5;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .report .report-head{background:none;color:#192133;border-radius:0;padding:0 0 5mm;border-bottom:2px solid var(--green);padding-bottom:5mm;margin-bottom:5mm;break-inside:avoid}
  .report .report-document-title{display:flex;justify-content:space-between;gap:8mm;align-items:baseline;margin:0 0 6mm;font-size:10pt;color:var(--muted)}
  .report .report-document-title span{display:inline-flex;align-items:center;gap:2mm;font-size:15pt;font-weight:750;color:var(--ink)}
  .report .report-document-title .agency-logo{width:auto;height:auto;max-width:40mm;max-height:12mm;object-fit:contain}
  .report .report-brand{font-size:24pt;line-height:1.3;margin:0 0 2mm}
  .report .report-brand .muted{display:block;font-size:10pt;margin-top:1mm}
  .report .report-meta{font-size:9pt;line-height:1.5;margin:3mm 0 0}
  .report .headline{font-size:12pt;line-height:1.5;margin:4mm 0}
  .report .report-actions,.report .btn,.report .btn-secondary,.report .btn-note,.report .next-card p:has(>.btn),.report .next-card p:has(>.btn-secondary){display:none!important}
  .report .kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5mm;margin:4mm 0 2mm;break-inside:avoid}
  .report .kpi{padding:3mm;border-radius:2mm;grid-column:auto}
  .report .kpi-label,.report .kpi-sub{font-size:8pt;line-height:1.5}
  .report .kpi-value{font-size:20pt;line-height:1.4;margin:1mm 0}
  .report .kpi-value span{font-size:11pt;font-weight:400}
  .report .kpi-value.is-text{font-size:10pt;line-height:1.5;white-space:normal;overflow:visible;overflow-wrap:anywhere}
  .report .small,.report .chart-note{font-size:8.5pt;line-height:1.5}
  .report caption{color:var(--muted)}
  .report h2{font-size:14pt;margin:7mm 0 3mm;padding-top:4mm;break-after:avoid}
  .report h3{font-size:11pt;line-height:1.4;break-after:avoid}
  .report p,.report li{orphans:3;widows:3}
  .report p{margin:2mm 0}
  .report details::details-content{content-visibility:visible}
  .report details>summary{display:block;list-style:none;font-size:11pt;font-weight:700;color:var(--ink);break-after:avoid}
  .report summary::marker,.report summary::-webkit-details-marker{display:none;content:""}
  .report .report-findings{margin-top:4mm;padding-top:4mm}
  .report .findings{display:block;margin:2mm 0 0;padding-left:5mm}
  .report .findings li{margin:1mm 0}
  .report .action-list{display:block;margin:0}
  .report .next-card{padding:4mm;margin:0 0 3mm;border-radius:2mm;break-inside:avoid}
  .report .next-card>p,.report .next-card>details{margin:2mm 0;max-width:none}
  .report .eyebrow,.report .task-q-label{font-size:8pt}
  .report .next-card .task-question{font-size:10pt;line-height:1.5}
  .report details.how>summary{display:none}
  .report details.how ol{padding-left:5mm;margin:2mm 0}
  .report .chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4mm}
  .report .chart{margin:2mm 0 4mm;break-inside:avoid}
  .report .chart figcaption{font-size:10pt;line-height:1.4;break-after:avoid}
  .report .bars li{grid-template-columns:minmax(0,1fr) minmax(12mm,1fr) 20mm;gap:2mm;font-size:8.5pt;break-inside:avoid}
  .report .bars.wide li{grid-template-columns:minmax(30mm,55mm) minmax(12mm,1fr) 22mm}
  .report .bars{gap:2mm}
  .report .bar-label{white-space:normal;overflow:visible;overflow-wrap:anywhere}
  .report .bar-value{grid-column:3;grid-row:auto}
  .report .bar-svg{grid-column:2;grid-row:auto;height:2mm}
  .report .table-wrap{overflow:visible;border-radius:0;margin:2mm 0 4mm}
  .report table.heat{display:table;table-layout:fixed;font-size:8.5pt;break-inside:auto}
  .report table.heat thead{display:table-header-group}.report table.heat tbody{display:table-row-group}
  .report table.heat tr{display:table-row;break-inside:avoid}
  .report table.heat thead th:first-child{display:table-cell;width:48%}
  .report table.heat th,.report table.heat td{display:table-cell;padding:1.5mm 2mm;min-width:0;overflow-wrap:anywhere}
  .report .heat-legend{font-size:8pt;break-after:avoid}
  .report .h0{background:#fff;color:var(--ink)}.report .h1{background:#f3f7ea;color:var(--ink)}.report .h2{background:#e6efda;color:var(--ink)}.report .h3{background:#dce9c3;color:var(--ink)}
  .report .tag{font-size:7.5pt;padding:.5mm 1.5mm}
  .report a{color:inherit;text-decoration:none}
  .report>details.small{border-top:1px solid var(--rule);padding-top:3mm;margin-top:3mm;overflow-wrap:anywhere;break-inside:avoid}
  .report>details.small p{margin:1.5mm 0}
}
/* Result cards (app.js): up to four cards are the whole on-screen result; no full report follows. */
.tour{background:rgba(255,255,255,.04);border:1px solid var(--glass-border);border-radius:16px;padding:20px 28px 28px;margin:8px 0 28px;box-shadow:var(--glass-highlight)}
/* The light report is only the printed PDF (2026-11-08); on screen the result is the cards. */
@media screen{.result-print{display:none}}
.tour-top .link{font-size:14px}.tour-top-links{display:flex;flex-wrap:wrap;gap:4px;align-items:center;color:var(--muted);font-size:14px}
.tour-step{text-align:center;max-width:640px;margin:0 auto;padding:28px 0 12px;min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.tour-step[hidden]{display:none}
.tour-h{margin:6px 0 22px;font-size:28px;line-height:1.35;letter-spacing:-.02em;max-width:100%;text-wrap:balance;overflow-wrap:anywhere}
.tour-h:focus{outline:none}
.tour-viz{margin:0 0 22px;width:100%;display:flex;flex-direction:column;align-items:center}
.tour-say{margin:0;font-size:18px;line-height:1.7;max-width:34em;overflow-wrap:anywhere;text-wrap:pretty}
.tour-big{margin:0;font-size:72px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;color:#fff}
.tour-big small{font-size:22px;font-weight:600;color:var(--muted);margin-left:6px}
.tour-dots{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;margin:0}
.tour-dots span{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:15px;font-weight:600}
.tour-dots i{display:block;width:48px;height:48px;border-radius:50%;background:#3a3a3a}
.tour-dots .on i{background:var(--green)}.tour-dots .part i{background:var(--d-part)}.tour-dots .off i{background:var(--glass);box-shadow:inset 0 0 0 3px #3a3a3a}
.tour-bars{list-style:none;padding:0;margin:0;width:100%;max-width:540px;display:grid;gap:14px}
.tour-bars li{display:grid;grid-template-columns:minmax(0,11em) 1fr 4em;gap:12px;align-items:center;font-size:15px;text-align:left}
.tour-bar-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.tour-bars svg{width:100%;height:12px;display:block}
.tour-bars .bar-track{fill:var(--track)}.tour-bars .bar-fill:not([fill]){fill:var(--d-bar)}
.tour-bar-n{font-variant-numeric:tabular-nums;color:var(--muted);text-align:right}
.tour-check{width:76px;height:76px;border-radius:50%;background:var(--lime);color:var(--charcoal);display:grid;place-items:center;font-size:38px;font-weight:700;margin:0}
.tour-cta{margin:18px 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.tour-cta .btn{min-height:48px;padding-inline:28px;font-size:16px}
/* Cards grow with their contents; the page owns scrolling, including expanded draft sections. */
@media screen{
  .result-view .shell-main main{padding-bottom:16px}
  .result-view .app-footer,.result-view .back-link{display:none}}
.tour-q{margin:0 0 12px;font-size:17px;font-weight:600;color:var(--ink)}
.tour-copy{width:100%;max-width:640px;text-align:left;font-size:15px;line-height:1.6;margin:0}
.tour-step-copy .tour-h{margin-bottom:12px}
.tour-step-pay{text-align:left}.tour-step-pay .tour-h{text-align:center}
.tour-step-pay .tour-viz{align-items:stretch;max-width:640px;margin-inline:auto}.tour-step-pay .paywall{margin:0}.tour-step-pay .paywall>h2{font-size:20px;margin-top:0}
@media (prefers-reduced-motion:reduce){.tour *,.tour-step.is-on,.report-enter{animation:none!important;transition:none!important}}
@media (max-width:640px){.tour{padding:16px 16px 20px}.tour-h{font-size:23px}.tour-say{font-size:16px}.tour-big{font-size:58px}.tour-step{padding-top:20px}.tour-bars li{grid-template-columns:minmax(0,8.5em) 1fr 3.5em;font-size:14px}.tour-dots{gap:16px}}
@media print{.tour{display:none!important}}
/* Detail-page links in the dark report header (the retired overview used to carry them). */
.report .report-head .result-links{color:#a9aaa3;margin:0 0 14px}.report .report-head .result-links a{color:#dff3a3}
@media print{.report .report-head .result-links{display:none}}
/* ECharts (charts.js) draws into .echart; the server-rendered SVG/HTML stays as the fallback (print, no JS). */
.report .echart{display:none;width:100%;max-width:760px}
@media screen{.report .is-drawn>.echart{display:block}.report .is-drawn>.chart-fallback{display:none}}
.report .race-chart{margin:0;min-width:0}
/* Who AI recommended instead: race list and AI x brand grid. Here, not in app.css, so the public report preview
   (styles.css + report.css) draws them like the workspace. Colour fallbacks: styles.css has no --muted/--panel/--bad/--green. */
.versus{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 40px;align-items:start;margin:0 0 20px}.engine-grid{border-collapse:separate;border-spacing:3px;font-size:14px;margin:-3px}.engine-grid caption{text-align:left;padding:0 3px}.engine-grid th,.engine-grid td{border:0;vertical-align:middle}.engine-grid th{background:none;font-weight:600;padding:2px 8px;text-align:left;white-space:nowrap}.engine-grid thead th{text-align:center;font-size:13px;color:var(--muted,#5f5f58)}.engine-grid thead th.is-you{color:var(--bad,#8a2b1d)}.engine-grid td{min-width:4.2em;padding:6px 8px;text-align:center;border-radius:6px;font-weight:700;font-variant-numeric:tabular-nums}.engine-grid td span{font-weight:400;opacity:.7;font-size:12px}.engine-grid .lv0{background:var(--h0,rgba(255,255,255,.06));color:var(--muted,#a1a1a1)}.engine-grid .lv1{background:var(--lv1);color:var(--lv1t)}.engine-grid .lv2{background:var(--lv2);color:var(--lv2t)}.engine-grid .lv3{background:var(--lv3);color:var(--lv3t)}.engine-grid .lv4{background:var(--lv4);color:var(--lv4t)}@media(max-width:900px){.versus{grid-template-columns:1fr}}.versus-label{font-size:13px;font-weight:700;color:var(--muted,#5f5f58);margin:0 0 8px}.race{list-style:none;margin:0;padding:0;display:grid;gap:8px}.race li{display:grid;grid-template-columns:minmax(5em,9em) 1fr 4.5em;gap:12px;align-items:center;font-size:17px}.race-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.race-bar{width:100%;height:14px;display:block}.race-track{fill:var(--track,rgba(255,255,255,.08))}.race-fill{fill:var(--d-hl,#a7b9ff)}.race strong{text-align:right;font-variant-numeric:tabular-nums}.race li.is-you{color:var(--bad,#8a2b1d);font-weight:650}
@media(max-width:720px){.race li{grid-template-columns:minmax(4em,7em) 1fr 4em;font-size:15px}}
/* 2026-11-03: six tiles in two rows of three, not six narrow columns; on a phone three tiles stack full width
   instead of half, full, half. The local/consumer report folds its charts under "See the detailed data". */
.report .kpis:has(>.kpi:nth-child(6)){grid-template-columns:repeat(3,minmax(0,1fr))}
@media screen and (max-width:720px){.report .kpis:has(>.kpi:nth-child(6)){grid-template-columns:repeat(2,minmax(0,1fr))}.report .kpis:has(>.kpi:nth-child(6))>.kpi{grid-column:auto}.report .kpis:has(>.kpi:nth-child(6)) .kpi-value.is-text{white-space:normal;overflow-wrap:anywhere;line-height:1.3;font-size:16px}}
.report .report-more{margin:28px 0 8px}.report .report-more>summary{font-size:15px;font-weight:600;padding:14px 0;border-top:1px solid var(--rule,#e2e1d9);cursor:pointer}
.report .report-more[open]>summary{margin-bottom:14px}
.report .report-data-h{margin:36px 0 14px}
.report .hero .measured{font-size:14px;margin:10px 0 0;padding:8px 12px;border-left:3px solid var(--green);background:var(--accent-soft);border-radius:0 8px 8px 0}
/* ------------------------------------------------------------------------------------------------
   Dashboard (2026-11-05, v3 dark). One black canvas, glass cards with one hairline and a top highlight, one
   gutter (16px), one accent (lime = your brand; blue = competitors; red only for "not named"). A sticky
   section nav on the left from 1040px of report width; below that the nav is a row of chips.
   DOM order is unchanged (findings, tasks, offer, then the charts): CSS grid places the columns. */
section.report{background:var(--paper);border:1px solid var(--rule);border-radius:20px;padding:16px;margin:12px 0 28px}
.report .report-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;background:var(--glow),var(--glass-2);color:var(--ink);border:1px solid var(--glass-border-strong);border-radius:16px;padding:16px 20px;margin:0 0 16px;box-shadow:var(--glass-highlight)}
.report .report-head .report-id{min-width:0}
.report .report-head .report-brand{color:var(--ink);font-size:22px;line-height:1.3;margin:0}
.report .report-head .muted,.report .report-head .report-meta{color:var(--muted)}
.report .report-head .report-meta{margin:2px 0 0;font-size:14px}
.report .report-head .result-links{order:3;flex-basis:100%;margin:0;color:var(--muted)}.report .report-head .result-links a{color:var(--green)}
.report .report-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.report .btn,.report .btn-secondary{border-radius:8px;min-height:40px;padding:8px 18px;font-size:14px}
.report .btn{background:#a7b9ff;color:var(--charcoal);border-color:#a7b9ff}.report .btn:hover{background:#becbff;border-color:#becbff}
.report .btn-secondary,.report .report-head .btn-secondary{background:rgba(255,255,255,.08);color:var(--ink);border:1px solid var(--glass-border-strong)}
.report .btn-secondary:hover,.report .report-head .btn-secondary:hover{background:var(--glass-2);border-color:rgba(255,255,255,.4);color:var(--ink)}
.report .report-nav{margin:0 0 16px}
.report .report-nav ol{list-style:none;margin:0;padding:0;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.report .report-nav li{list-style:none;flex:none}
.report .report-nav a{display:block;padding:7px 12px;border-radius:8px;border:1px solid var(--glass-border);background:var(--glass);color:var(--muted);font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;white-space:nowrap}
.report .report-nav a:hover,.report .report-nav a:focus-visible{background:var(--glass-2);color:var(--ink)}
.report .report-nav a[aria-current]{background:var(--accent-soft);border-color:var(--green);color:var(--ink)}
.report .hero,.report .card,.report .report-tasks>section{background:var(--glass);border:1px solid var(--glass-border);border-radius:16px;box-shadow:var(--glass-highlight)}
.report .hero{padding:20px}
.report .hero .kpis{gap:10px}
.report .kpi{background:var(--glass);border:1px solid var(--glass-border);box-shadow:none;border-radius:12px;padding:14px 16px}
.report .hero .measured{background:var(--accent-soft)}
.report .report-tasks{margin:16px 0 0}
.report .report-tasks>section{padding:18px}
.report .report-tasks h2{font-size:17px;margin:0 0 12px}
.report .next-card{border-radius:12px;padding:16px}
.report .next-card.is-first{background:var(--accent-soft);border-color:var(--green)}
.report .report-data-h{font-size:15px;color:var(--muted);margin:24px 0 0;padding:0;border:0}
.report .dash{gap:16px;margin:12px 0 0}
.report .card{padding:18px 20px;container-type:inline-size}
.report .card h2{font-size:16px;margin:0 0 12px}
.report>details.small{margin:16px 4px 0}
/* Inside a narrow card, charts stack instead of squeezing side by side. */
@container (max-width:620px){.report .by-ai,.report .versus,.report .chart-grid{grid-template-columns:1fr}.report .by-ai .rings{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.report .ring-label{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.report .ring-sub{font-size:12px}}
/* PDF / print: the dashboard becomes the A4 document above; no nav, no canvas. */
@media print{
  section.report{display:block;background:#fff;border:0;padding:0}
  .report .report-nav{display:none!important}
  .report .report-head{display:block;border:0;border-bottom:2px solid var(--green);border-radius:0;box-shadow:none;padding:0 0 5mm}
  .report .hero,.report .card,.report .report-tasks>section{border:1px solid var(--rule);box-shadow:none;border-radius:2mm}
  .report .hero{padding:4mm}.report .report-tasks>section{padding:4mm}
  .report .kpi{background:#f5f5f2}
  .report .report-tasks,.report .report-data-h,.report .report-more{break-before:page}   /* the offer and its buttons never print: only an empty heading was left */
  .report .race li.is-you,.report .engine-grid thead th.is-you{color:var(--green)}
}
/* Print stays light (DARK-TOKENS.md): light tokens and the light data scale, no glass, blur or glow. The SVG
   fills report.py bakes in as attributes (screen colours) map back to today's print colours. */
@media print{
  .report{color-scheme:only light;--ink:#192133;--muted:#5f5f58;--paper:#ffffff;--panel:#f1f1ee;--rule:#e7e7e2;--green:#244cda;--bad:#8a2b1d;--charcoal:#192133;
    --accent-soft:#f3f8e6;--glass:#ffffff;--glass-2:#f5f5f2;--glass-border:#e7e7e2;--glass-border-strong:#d3d3cc;--glass-highlight:0 0 #0000;
    --glow:linear-gradient(#0000,#0000);--track:#f1f1ee;--d-bar:#a1a199;--d-hl:#244cda;--d-part:#7d97e2;--d-fail:#b42318;--grid:#e2e2d8;
    --comp:#9f4673;--other:#a1a199;--h0:#f1f1ee;--h0t:#5f5f58;--h1:#8ca4ee;--h1t:#192133;--h2:#3e5cb3;--h2t:#ffffff;--h3:#244cda;--h3t:#ffffff;
    --lv1:#8ca4ee;--lv1t:#192133;--lv2:#7d97e2;--lv2t:#192133;--lv3:#3e5cb3;--lv3t:#ffffff;--lv4:#244cda;--lv4t:#ffffff;color:var(--ink)}
  .report,.report *{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  .report .report-head{background:none}
  .report .kpi{border:0}
  .report [fill="#a7b9ff"]{fill:#244cda}.report [fill="#6aa6ff"]{fill:#2a78d6}.report [fill="#ff9966"]{fill:#eb6834}
  .report [fill="#c39bff"]{fill:#9b59b6}.report [fill="#8a8a8a"]{fill:#5f6458}.report [fill="#4a4a4a"]{fill:#9a9d90}
  .report [fill="#5eead4"]{fill:#137965}.report [fill="#b59bff"]{fill:#7355b0}
}
/* ================================================================================================
   Calm dashboard (2026-11-05, owner: "데이터가 잘 보이고 직관적이어야 해 … 너무 화려해서 집중도를 해치면 안 돼").
   Screen only (print keeps the light A4 above). One main count, two supporting counts, the first task,
   optional answer data, then optional help. Stageshow: frame the result, keep everything else quiet.
   Lime only on the brand's own data, the primary button and the current nav item; everything else white and grey.
   Solid dark cards, clear borders, 12px corners; motion is limited to the initial result reveal. */
@media screen{
.report{--paper:#181a1b;--panel:#272b2d;--line:#454d50;--line-strong:#708084;--card:#272b2d;--muted:#c4cfcc;--soft:#e4ebe8;--ink:#f3f6f5;font-size:17px;line-height:1.65}
body:has(.report-preview){background:#181a1b}
section.report{background:none;border:0;border-radius:0;padding:0;margin:8px 0 28px;box-shadow:none}
.report h2{font-size:23px;font-weight:650;letter-spacing:-.01em;border:0;padding:0;margin:32px 0 12px}
/* Head: brand, domain and conditions left, the two actions right; no band. */
.report .report-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 16px;margin:0 0 16px;box-shadow:none;min-height:0}
.report .report-head .report-document-title{display:none}
.report .report-head .report-brand{font-size:24px;font-weight:700;line-height:1.3;color:#fff;margin:0}
.report .report-head .report-brand .muted{font-size:15px;font-weight:400;color:var(--muted);margin-left:4px}
.report .report-head .report-meta{font-size:15px;color:var(--muted);margin:12px 0}
.report .report-date{margin:6px 0 0;font-size:15px;color:var(--muted)}
.report .report-check-details{order:3;flex-basis:100%;font-size:16px;color:var(--muted)}
.report .report-check-details>summary{color:var(--muted)}
.report .report-head .result-links{order:3;flex-basis:100%;margin:0;font-size:15px;color:var(--muted)}.report .report-head .result-links a{color:var(--soft)}
.report .report-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;background:none;border:0;box-shadow:none}
.report .btn,.report .btn-secondary{border-radius:8px;min-height:46px;padding:10px 18px;font-size:16px;font-weight:600;box-shadow:none;transform:none;transition:background-color .15s,border-color .15s}
.report .btn{background:#a7b9ff;color:#101210;border:1px solid #a7b9ff}.report .btn:hover{background:#becbff;border-color:#becbff;color:#101210}
.report .btn-secondary,.report .report-head .btn-secondary{background:rgba(255,255,255,.06);color:#fff;border:1px solid var(--line-strong)}
.report .btn-secondary:hover,.report .report-head .btn-secondary:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.4);color:#fff}
.report a{color:var(--soft)}.report a:hover{color:#fff}.report summary{color:#fff}
/* Plain section links wrap on small screens; charts.js marks the current section. */
.report .report-nav{margin:0 0 16px}
.report .report-nav ol{display:flex;flex-wrap:wrap;gap:4px;overflow-x:auto;scrollbar-width:none;padding:0;background:none;border:0;box-shadow:none}
.report .report-nav a{display:block;min-height:46px;padding:10px 14px;border-radius:8px;border:1px solid transparent;background:none;color:var(--soft);font-size:16px;font-weight:600;white-space:nowrap;text-decoration:none}
.report .report-nav a:hover,.report .report-nav a:focus-visible{color:#fff;background:rgba(255,255,255,.06)}
.report .report-nav a[aria-current]{color:#fff;border-color:rgba(167,185,255,.5);background:rgba(167,185,255,.10)}
/* Surfaces */
.report .card,.report .kpi,.report .next-card{background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:none}
.report .hero,.report .report-tasks>section{padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.report .card{padding:20px;overflow:visible;container-type:inline-size}
.report .card h2,.report .report-tasks h2{font-size:22px;font-weight:650;margin:0 0 14px;color:#fff}
/* One large answer count; the two supporting counts sit beside it. */
.report .hero .dashboard-heading{font-size:24px;margin:0 0 20px}
.report .hero .kpis{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:16px;margin:0}
.report .hero .kpis:has(>.kpi:nth-child(2):last-child){grid-template-columns:1.4fr 1fr}
.report .kpi{padding:24px;background:var(--card);border:1px solid var(--line);border-radius:12px}
.report .kpi:first-child{background:#30392b;border-color:var(--line);display:flex;flex-direction:column;justify-content:flex-start;padding:24px}
.report .kpi-label{font-size:18px;font-weight:650;line-height:1.4;color:var(--soft);margin:0}
.report .kpi-value{font-size:44px;line-height:1.2;font-weight:700;letter-spacing:-.04em;color:#fff;margin:8px 0}
.report .kpi:first-child .kpi-value{font-size:76px;color:#a7b9ff;margin:14px 0}
.report .kpi-value span{font-size:22px;font-weight:500;letter-spacing:normal;color:var(--soft)}
.report:lang(ko) .kpi-value span:first-child,.report:lang(en) .kpi-value span{display:block;font-size:18px;line-height:1.5;color:var(--muted)}
.report .kpi.is-zero{background:#352f2a}
.report .kpi.is-zero .kpi-value{color:#f0bf99}
.report .report-providers{display:grid;grid-template-columns:repeat(4,max-content);gap:12px 24px;margin:0 0 20px;font-size:16px;font-weight:600;color:var(--soft)}
.report .hero>.notice{background:#352f2a;border-left-color:#f0bf99}
.report .kpi-sub{font-size:16px;line-height:1.6;color:var(--muted);margin:0}
.report .kpi-meter{display:block;width:100%;height:6px;margin:8px 0 12px}
.report .kpi:not(:first-child) .kpi-meter{display:none}
.report .hero .headline{font-size:17px;line-height:1.5;margin:14px 0 6px}
.report .hero .headline-sub{font-size:16px;color:var(--soft);margin:0}
.report .hero .measured{margin:0;padding:0;border:0;background:none;font-size:16px;color:var(--soft)}
.report .hero>.small{margin:4px 0 0;color:var(--muted)}
.report .report-findings{margin:16px 0 0;padding:12px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:none}
.report .report-findings>summary{min-height:46px;padding:10px 0;font-size:17px;font-weight:600}
.report .report-findings .findings{margin:10px 0 0;color:var(--soft)}
/* The first action gets a whole row; the remaining actions stay compact. */
.report .report-tasks{margin:32px 0 0}
.report .report-tasks .action-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0}
.report .report-tasks .next-card.is-first,.report .report-tasks .next-card:nth-child(2):last-child{grid-column:1/-1}
.report .next-card{display:flex;flex-direction:column;padding:24px;font-size:17px;line-height:1.7;background:var(--card)}
.report .next-card h3{font-size:22px;font-weight:650;line-height:1.4;margin:0 0 12px;color:#fff}
.report .next-card>p,.report .next-card>details{max-width:62ch;margin:10px 0;color:var(--soft)}
.report .next-card>p:not(:last-child)>a{display:inline-block}
.report .next-card>p:last-child{display:flex;align-items:center;flex-wrap:wrap;gap:12px;max-width:none;margin-top:auto;padding-top:12px;border-top:1px solid var(--line)}
.report .next-card .task-question{max-width:62ch;padding:16px 20px;border-left:3px solid #708084;background:#2b3032;font-size:18px;line-height:1.65;color:#fff}
.report .next-card .task-q-label{display:block;margin:0 0 6px;font-size:15px;font-weight:500}
.report .next-card.is-first{border-color:var(--line-strong);background:#32383a}
.report .next-card .small{font-size:15px;line-height:1.6}
.report details.how>summary{min-height:44px;padding:10px 0;font-size:16px;font-weight:600;line-height:1.5}
.report details.how ol{margin:8px 0 0;padding:0 0 0 20px;border:0;background:none}
/* Offer inside the report: flat cards, no turning border or gradient price. */
.report .offer-card,.report .offer-card.offer-plan{background:rgba(255,255,255,.03);border:1px solid var(--line-strong);border-radius:12px;box-shadow:none;animation:none}
.report .offer-card .offer-price{background:none;color:#fff;-webkit-text-fill-color:currentColor}
.report .offer-card::before,.report .offer-card::after{display:none}
/* Charts: the two that explain the headline side by side, then the detailed data on the same 12-column grid. */
.report .dash{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;margin:16px 0 0}
.report .dash-key{margin-top:32px}
.report .report-data-h{font-size:20px;color:#fff;margin:40px 0 0;padding:16px 0 0;border-top:1px solid var(--line);text-transform:none;letter-spacing:-.01em}
.report .report-data-h::after{display:none}
.report .report-more{margin:16px 0 0}
.report .report-more>summary{padding:16px 20px;border:1px solid var(--line);border-radius:12px;background:var(--card);font-size:17px;font-weight:600}
.report .report-more[open]>summary{margin-bottom:0}
.report .chart figcaption,.report .versus-label{font-size:16px;font-weight:600;color:var(--soft)}
.report .chart-note,.report .small{font-size:15px;line-height:1.65;color:var(--muted)}
.report .bar-track,.report .race-track{fill:rgba(255,255,255,.08)}
.report .bar-hl,.report .race-fill{fill:#a7b9ff}
.report .race li{font-size:16px}.report .race li.is-you,.report .engine-grid thead th.is-you{color:#a7b9ff}
.report .table-wrap{border-color:var(--line);background:none}
.report th{background:rgba(255,255,255,.03)}
.report table.heat thead th,.report table.heat tbody th{background:none}
.report .h0{background:rgba(255,255,255,.05);color:var(--muted)}
/* A quieter count scale on screen: dark green to mid lime, so a column of 100% cells does not shout. */
.report{--h1:#2f4019;--h1t:#fff;--h2:#506b26;--h2t:#fff;--h3:#8db347;--h3t:#101210;--lv1:#2f4019;--lv1t:#fff;--lv2:#506b26;--lv2t:#fff;--lv3:#6f8f35;--lv3t:#fff;--lv4:#8db347;--lv4t:#101210}
/* AI x brand grid: lime only in the "You" column (the last); competitors' counts on a grey ramp. */
.report .engine-grid td:not(:last-child).lv1{background:#2a2a2a;color:#fff}.report .engine-grid td:not(:last-child).lv2{background:#3d3d3d;color:#fff}
.report .engine-grid td:not(:last-child).lv3{background:#575757;color:#fff}.report .engine-grid td:not(:last-child).lv4{background:#767676;color:#fff}
.report .notice{background:rgba(255,255,255,.04);border:1px solid var(--line);border-left:3px solid var(--line-strong);border-radius:8px;color:var(--soft)}
.report>details.small{margin:24px 0 0;padding:12px 0 0;border-top:1px solid var(--line)}
body.shell:has(.report) :is(.paid-guide,main>details.more){background:#272b2d;border-color:#454d50;box-shadow:none}
body.shell:has(.report) .paid-guide .steps{font-size:16px;line-height:1.65;color:#c4cfcc}
body.shell:has(.report) .paid-guide .eyebrow{font-size:15px}
body.shell:has(.report) :is(.paid-guide,.run-actions) :is(.btn,.btn-secondary){font-size:16px;min-height:46px;box-shadow:none}

}
@media screen and (max-width:1100px){
  .report .hero .kpis,.report .hero .kpis:has(>.kpi:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
  .report .hero .kpis>.kpi:first-child,.report .hero .kpis>.kpi:nth-child(2):last-child{grid-column:1/-1}
}
@media screen and (max-width:900px){.report .card.span-5,.report .card.span-7{grid-column:span 12}}
@media screen and (max-width:720px){
  .report .report-head .report-brand{font-size:21px}.report .report-head .report-brand .muted{display:block;margin:0}
  .report .hero,.report .report-tasks>section{padding:0}.report .card{padding:18px}
  .report .report-providers{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .report .hero .kpis{grid-template-columns:1fr;gap:12px}
  .report .kpi{padding:20px}.report .kpi-label{font-size:17px}
  .report .hero .kpis>.kpi:first-child{grid-column:1/-1;grid-row:auto;padding:20px}
  .report .kpi:first-child .kpi-value{font-size:64px;margin:10px 0}
  .report .kpi-value{font-size:36px}.report .kpi-value span{font-size:20px}
  .report .kpi:not(:first-child){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:center}
  .report .kpi:not(:first-child) .kpi-label,.report .kpi:not(:first-child) .kpi-sub{grid-column:1}
  .report .kpi:not(:first-child) .kpi-value{grid-column:2;grid-row:1/span 2;margin:0;text-align:right}
  .report .kpi:not(:first-child) .kpi-value span{font-size:16px}
  .report .next-card{padding:20px}.report .next-card .task-question{font-size:17px}
  .report .hero .dashboard-heading{font-size:22px}
  .report .report-tasks .action-list{grid-template-columns:1fr}
  .report .dash{gap:12px}
}
/* Phone: the AI x brand grid keeps its "You" column inside the card. */
@container (max-width:460px){.report .engine-grid{font-size:13px;border-spacing:2px}.report .engine-grid td{min-width:0;padding:6px 4px}.report .engine-grid th{padding:2px 4px;white-space:normal}.report .engine-grid thead th{font-size:12px}}
@media screen{.report .versus{overflow-x:auto}}

@media print{.report-providers{display:none}.ai-label{display:inline;white-space:normal}.ai-label img{display:none}}

/* One result page: data and improvement stay visible together; only evidence lives in dialogs. */
:is(body.shell,body.report-demo) .tour[data-result-dashboard]{padding:0;margin:8px 0 28px;border:0;background:none;box-shadow:none}
.dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 24px}
.dashboard-brand{margin:0 0 6px;color:#c4cec0;font-size:15px;overflow-wrap:anywhere}
.dashboard-head h1{margin:0;font-size:clamp(26px,2.6vw,38px);line-height:1.2;letter-spacing:-.035em;color:#fff;background:none;-webkit-text-fill-color:currentColor}
.dashboard-head .btn-secondary{flex:none;min-height:44px}
.dashboard-layout{display:grid;gap:22px;align-items:start}
.dashboard-panels{display:grid;gap:22px;min-width:0}
:is(body.shell,body.report-demo) [data-result-dashboard] .tour-step{min-width:0;min-height:0;max-width:none;width:100%;margin:0;padding:22px;align-items:stretch;justify-content:flex-start;text-align:left;border:1px solid color-mix(in srgb,var(--ta) 22%,rgba(255,255,255,.12));border-radius:20px;background:radial-gradient(100% 80% at 0 0,color-mix(in srgb,var(--ta) 18%,transparent),transparent 70%),linear-gradient(145deg,#20272a,#14191b);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 16px 42px rgba(0,0,0,.22);scroll-margin-top:24px}
:is(body.shell,body.report-demo) [data-result-dashboard] .tour-h{margin:0 0 20px;font-size:21px;line-height:1.35;background:none;color:#fff;-webkit-text-fill-color:currentColor;letter-spacing:-.025em;text-align:left}
:is(body.shell,body.report-demo) [data-result-dashboard] .tour-viz{max-width:none;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;align-items:stretch;text-align:left}
:is(body.shell,body.report-demo) [data-result-dashboard] .tour-say{margin:16px 0 0;font-size:15px}
[data-result-dashboard] .tour-score{flex-wrap:wrap;gap:8px 16px}
[data-result-dashboard] .tour-big-label{max-width:none;min-width:8em}
[data-result-dashboard] .tour-ai li{grid-template-columns:minmax(0,8em) minmax(24px,1fr) 3.4em;gap:6px 10px}
[data-result-dashboard] .tour-evidence{margin-top:12px}
.tour-step-competition{--ta:#75b6ff;--tb:#a98bff}.tour-step-questions{--ta:#ffc46b;--tb:#5ee6c4}.tour-step-change{--ta:#5ee6c4;--tb:#75b6ff}
.dashboard-coverage{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0 6px;font-size:14px}
.dashboard-coverage th,.dashboard-coverage td{padding:10px 6px;text-align:center;border:0;vertical-align:middle;overflow-wrap:anywhere}
.dashboard-coverage th:first-child{width:40%;text-align:left;padding-left:0;font-weight:500;line-height:1.5}
.dashboard-coverage thead th{font-size:12px;color:#c4cec0;vertical-align:bottom}.dashboard-coverage thead .ai-label{display:inline-flex;flex-direction:column;align-items:center;gap:4px;font-size:11.5px;line-height:1.2;white-space:nowrap}.dashboard-coverage thead img{display:none}
.dashboard-coverage td{background:rgba(255,255,255,.04);border:3px solid transparent;background-clip:padding-box;border-radius:10px;font-variant-numeric:tabular-nums}
.dashboard-coverage td.is-absent{color:#ffffff;background-color:transparent;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}.dashboard-coverage td.is-mentioned{color:#101210;background-color:#a7b9ff}.dashboard-coverage td.is-partial-mention{color:#101210;background-color:#9cd54f}.dashboard-coverage td.is-missing{color:#b2b9b1}
.dashboard-coverage :is(.is-mentioned,.is-partial-mention) .coverage-engine{color:#243414}
.coverage-engine{display:none}.dashboard-detail{margin:14px 0 0;font-size:14px}
.dashboard-task-title{margin:0 0 14px;font-size:18px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.dashboard-task-question{margin:0 0 16px;padding:12px 16px;border:1px solid var(--dashboard-border);background:rgba(0,0,0,.15);border-radius:10px;color:#dbe0d8;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.dashboard-task-question .task-q-label{display:block;margin-bottom:4px;font-size:12px;font-weight:600;color:var(--muted)}
[data-result-dashboard] .effect{margin:0;border:0;padding:0;background:none;box-shadow:none}
.dashboard-purchase{min-width:0}.dashboard-purchase .purchase-choices{grid-template-columns:1fr;gap:14px}
[data-result-dashboard] .purchase-choices.is-compact .offer-card{padding:18px;gap:10px 12px}
[data-result-dashboard] .purchase-choices.is-compact .offer-price{font-size:34px}
[data-result-dashboard] .purchase-choices.is-compact h3{font-size:17px}
[data-result-dashboard] .purchase-choices.is-compact .btn{min-height:44px}
@media(min-width:960px){.dashboard-panels{grid-template-columns:repeat(2,minmax(0,1fr))}.tour-step-questions,.tour-step-change,.tour-step-recovery,.tour-step-robots{grid-column:1/-1}}
@media(max-width:640px){
  .dashboard-head{align-items:flex-start;gap:12px;margin-bottom:20px}.dashboard-head .btn-secondary{padding:8px 10px;font-size:13px}.dashboard-head h1{font-size:25px}
  :is(body.shell,body.report-demo) [data-result-dashboard] .tour-step{padding:18px}
  [data-result-dashboard] .tour-ai li{grid-template-columns:minmax(0,7.3em) minmax(20px,1fr) 3.2em;font-size:14px}
  .dashboard-coverage,.dashboard-coverage tbody{display:block}.dashboard-coverage thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .dashboard-coverage tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:16px}
  .dashboard-coverage th:first-child{grid-column:1/-1;width:auto;padding:0 0 8px;font-size:15px}
  .chart-values .dashboard-coverage td{padding:8px 1px;border:0;font-size:14px}.coverage-engine{display:block;font-size:12px;font-weight:400;color:#c4cec0;margin-bottom:4px}
}
@media print{[data-result-dashboard]{display:none!important}}
.tour-step-history{grid-column:1/-1;--ta:#87caba;--tb:#75b6ff}
.dashboard-history{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.dashboard-history li{display:grid;gap:5px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.1);overflow-wrap:anywhere}
.dashboard-history time,.dashboard-history span{font-size:13px;color:#c4cec0}.dashboard-history strong{font-size:16px;font-weight:600}

/* Analytics frame: navigation stays left, metrics and chart slots keep the same grid for every plan. */
body.shell:has([data-result-dashboard]) .stage-bg{opacity:.1}
body.shell:has([data-result-dashboard]) .shell-main{background:#111616}
body.shell:has([data-result-dashboard]) .shell-main main{max-width:none;padding:28px 32px 48px}
[data-result-dashboard]{--track:rgba(255,255,255,.07);--d-bar:#6aa6ff;--d-hl:#a7b9ff;--grid:#303937;--dashboard-surface:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));--dashboard-border:rgba(221,236,228,.13)}
:is(body.shell,body.report-demo):has([data-result-dashboard])::after{display:none}
:is(body.shell,body.report-demo):has([data-result-dashboard]) .sidebar{background:linear-gradient(160deg,#1b211f,#141a18);border:1px solid var(--dashboard-border,rgba(221,236,228,.13));border-radius:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);backdrop-filter:none;-webkit-backdrop-filter:none}
:is(body.shell,body.report-demo) [data-result-dashboard] .btn-secondary{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.22);box-shadow:none}
[data-result-dashboard] .dashboard-nav-action .btn{box-shadow:none}
[data-result-dashboard] .dashboard-content{min-width:0}
.dashboard-section-nav{display:grid;gap:4px;padding:2px 0}
body.shell:has([data-result-dashboard]) .side-body>*,[data-dashboard-public] .side-body>*{flex-shrink:0}
.dashboard-section-nav a,.side-nav a:has(.nav-icon){display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 12px;border-radius:9px;text-decoration:none;color:#bfc8c9;font-size:14px;line-height:1.5}
.nav-icon{width:19px;height:19px;flex:none}
.dashboard-section-nav a:hover{background:rgba(255,255,255,.04);color:#fff}
.dashboard-section-nav a[aria-current=location]{color:#c5d1ff;background:rgba(167,185,255,.1);font-weight:650;box-shadow:inset 3px 0 #c9ea91}
.dashboard-head{min-height:76px;margin:0 0 24px;align-items:center;flex-wrap:wrap;scroll-margin-top:24px}
.dashboard-head>div:first-child{flex:1 1 220px;min-width:0}.dashboard-head-actions{display:flex;gap:12px;flex-wrap:wrap}
.dashboard-head h1{font-size:28px;font-weight:650;letter-spacing:-.035em}.dashboard-brand{font-size:13px;margin-bottom:7px;color:#98a8ad}
[data-result-dashboard] .dashboard-back{display:none}
.result-view [data-result-dashboard]:has([data-result-section]:not([data-result-view~="overview"]):not([hidden])) .dashboard-back{display:inline-flex;align-items:center}
.dashboard-accuracy{margin:0 0 16px;padding:clamp(18px,3vw,26px);border:1px solid var(--dashboard-border);border-radius:16px;background:var(--dashboard-surface);color:var(--ink);text-align:left}
.dashboard-accuracy h2{margin:0;font-size:clamp(19px,2.4vw,24px);line-height:1.35;letter-spacing:-.025em;text-wrap:balance}
.dashboard-accuracy .small{margin:14px 0 0;color:var(--muted)}
.fact-list{margin:16px 0 0;padding:0;list-style:none;display:grid;gap:10px;font-size:14.5px;line-height:1.5}
.fact-list li{display:grid;gap:6px;padding:12px 14px;border:1px solid var(--dashboard-border);border-radius:10px;background:rgba(255,255,255,.02)}
.fact-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;font-size:13px}
.fact-meta b{margin:0;font-weight:650;color:var(--ink)}
.fact-engine{color:var(--muted);font-weight:500}
.fact-compare{display:grid;gap:4px}
.fact-ai{margin:0;color:var(--ink);font-size:14.5px;line-height:1.5;overflow-wrap:anywhere}
.fact-official{display:block;margin:0;color:var(--muted);font-size:13.5px;line-height:1.45;overflow-wrap:anywhere}
.fact-official span{font-weight:600;margin-right:4px}
@media(min-width:760px){.fact-compare:has(.fact-official){grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 20px;align-items:baseline}}
.buyer-list{margin:16px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px}
.buyer-list li{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--dashboard-border);border-radius:12px;min-width:0}
.buyer-head{display:flex;align-items:flex-start;gap:10px}
.buyer-who{flex:1 1 0;min-width:0;display:grid;gap:2px}
.buyer-who strong{font-size:15.5px;line-height:1.3;color:var(--ink)}
.buyer-who .muted{font-size:13px;line-height:1.35}
.buyer-status{flex:none;padding:3px 8px;border-radius:6px;font-size:12px;font-weight:650;line-height:1.3;white-space:nowrap}
.buyer-list li.is-lost .buyer-status{background:#fdecec;color:#b42318}
.buyer-list li.is-won .buyer-status{background:#e6f5f0;color:#137965}
.buyer-body{display:grid;gap:7px}
.buyer-list .persona-face{width:40px;height:40px;font-size:16px;flex:none}
.buyer-list p{margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.buyer-list p b{margin-right:6px;color:var(--muted);font-weight:650}
.buyer-list .persona-gap{margin-top:auto;padding:10px 12px;border-radius:8px;background:rgba(167,185,255,.1);color:#a7b9ff;font-size:13.5px;line-height:1.5}
.buyer-list .persona-gap b{display:block;margin:0 0 2px;font-size:12px}
.dashboard-buyers .persona-panel{margin-top:14px}
.dashboard-head h1:focus{outline:none}
.fact-badge{display:inline-block;padding:2px 7px;border-radius:6px;font-size:12px;font-weight:700;line-height:1.35}
.fact-conflicts .fact-badge{background:#fdecec;color:#b42318}.fact-not_on_site .fact-badge{background:#fef5e6;color:#9a6300}.fact-matches .fact-badge{background:#e6f5f0;color:#137965}
.dashboard-summary{display:grid;gap:18px 32px;margin:0 0 16px;padding:clamp(20px,3vw,28px);border:1px solid var(--dashboard-border);border-radius:16px;background:var(--dashboard-surface);color:var(--ink);text-align:left}
@media(min-width:900px){.dashboard-summary:has(.dashboard-summary-details){grid-template-columns:minmax(250px,320px) minmax(0,1fr);align-items:center}}
.dashboard-summary-lead{display:flex;flex-direction:column;min-width:0}
.dashboard-summary-details{min-width:0}
@media(min-width:900px){.dashboard-summary-details{padding-left:32px;border-left:1px solid var(--dashboard-border)}}
.dashboard-summary h2{margin:0;font-size:clamp(16px,2vw,18px);font-weight:600;line-height:1.35;letter-spacing:-.015em;color:var(--muted)}
.dashboard-summary p{margin:8px 0 0;color:var(--muted);line-height:1.55}
.dashboard-summary .visibility-score{margin:6px 0 10px;color:var(--ink);font-size:clamp(36px,5.5vw,54px);font-weight:750;line-height:1.05;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.dashboard-summary .kpi-meter{display:block;width:100%;max-width:240px;height:6px;margin:0 0 10px}
.dashboard-summary .kpi-meter .bar-track{fill:var(--track)}
.dashboard-summary .kpi-meter .bar-hl{fill:var(--d-hl)}
.report .visibility-scope,.dashboard-summary .visibility-scope{margin:0;color:var(--muted);font-size:.875rem}
.visibility-findings a{font-weight:600;font-variant-numeric:tabular-nums;text-underline-offset:.18em}
#accuracy-h{scroll-margin-top:24px}
.visibility-score small{font-size:.42em;letter-spacing:0;color:var(--muted);font-weight:500}
.visibility-findings{display:grid;gap:0;margin:0;padding:0;list-style:none}
.visibility-findings li{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 16px;padding:10px 0;border-bottom:1px solid var(--dashboard-border);line-height:1.45;font-size:15px}
.visibility-findings li:first-child{padding-top:2px}
.visibility-findings li:last-child{padding-bottom:2px;border-bottom:0}
.visibility-findings li strong{font-weight:600;color:var(--ink)}
.visibility-findings li>span{color:var(--muted);font-variant-numeric:tabular-nums}
.dashboard-summary .dashboard-task-question{margin:14px 0 0}
.dashboard-summary .tour-warning+.inline{display:inline-block;margin-top:8px}
.tour-step-recovery .dashboard-buttons{margin-bottom:20px}
.dashboard-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0 0}
.dashboard-buttons>:is(.btn,.btn-secondary){display:inline-flex;align-items:center;min-height:44px;max-width:100%;white-space:normal}
@media(max-width:480px){
  .dashboard-head>div:first-child{flex-basis:0}
  .dashboard-head-actions{gap:8px}
  .dashboard-head:has(.dashboard-head-actions>:nth-child(3))>div:first-child{flex-basis:100%}   /* PDF and CSV downloads: buttons get their own row */
  .dashboard-summary .dashboard-buttons>:is(.btn,.btn-secondary){padding-inline:12px}
}
.dashboard-explore{margin:0 0 24px;padding:0 18px;border:1px solid var(--dashboard-border);border-radius:12px;background:var(--dashboard-surface);text-align:left}
.dashboard-explore>summary{min-height:44px;padding:10px 0;font-weight:600;color:var(--ink);cursor:pointer}
.dashboard-explore ul{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;margin:0;padding:0 0 12px}
.dashboard-explore a{display:inline-flex;align-items:center;min-height:44px}
@media(min-width:861px){.result-view .dashboard-explore{display:none}}   /* the sidebar shows the same links */
.dashboard-shop-entry{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px;padding:14px 18px;border:1px solid var(--dashboard-border);border-radius:12px;background:var(--dashboard-surface);text-align:left}
.dashboard-layout + .dashboard-shop-entry{margin-top:20px}
.dashboard-shop-entry h2{margin:0;font-size:16px}
.dashboard-shop-entry p{margin:3px 0 0;color:var(--muted);font-size:14px}
.dashboard-shop-entry .btn-secondary{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
.dashboard-answer-example{margin:0 0 20px;padding:16px;border:1px solid var(--rule);border-radius:12px}
.dashboard-answer-example h3{margin:0 0 8px;font-size:14px;color:var(--muted)}
.dashboard-answer-example blockquote{margin:0;font-size:18px;line-height:1.55;overflow-wrap:anywhere}
.dashboard-answer-example .dashboard-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(108px,1fr));gap:8px;margin-top:14px}
.dashboard-answer-example .dashboard-buttons .btn-secondary{justify-content:center;margin:0}
.dashboard-evidence-fold{border-top:1px solid var(--rule)}
.dashboard-evidence-fold>summary{min-height:44px;padding:10px 0;color:var(--ink);font-weight:600;cursor:pointer}
.dashboard-quiet{margin:16px 0 0;color:#c0cac5;font-size:14px;line-height:1.55}
@media(max-width:1100px){:is(body.shell,body.report-demo) [data-result-dashboard] :is(.dashboard-head,.tour-step){scroll-margin-top:96px}}
/* Customer personas (2026-11-15): who asked, who AI picked for them, why. Calm cards, one lime accent. */
.dashboard-personas{margin:20px 0 0;padding:clamp(12px,3vw,20px);border:1px solid var(--dashboard-border);border-radius:12px;background:var(--dashboard-surface)}
.dashboard-personas>h3{margin:0 0 6px;font-size:19px;letter-spacing:-.02em;color:var(--ink)}.dashboard-personas>p{margin:0 0 14px;color:var(--muted);font-size:14px;line-height:1.55}
.persona-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}
.persona-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px;border-radius:10px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}
.persona-card header{display:flex;align-items:center;gap:12px}.persona-card h3{margin:0;font-size:16px;color:#f6f8f5}.persona-card header p{margin:2px 0 0;color:#98aaae;font-size:13px;line-height:1.4}
.persona-wants{margin:0;color:#c0cac5;font-size:14px;line-height:1.5}
.persona-card blockquote{margin:0;padding:10px 12px;border-radius:8px;background:rgba(255,255,255,.05);color:#f6f8f5;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.persona-card blockquote small{color:#98aaae}
.persona-card dl{display:grid;gap:12px;margin:0}.persona-card dt{margin:0 0 4px;color:#98aaae;font-size:12px}
.persona-card dd{margin:0;font-size:14px;line-height:1.55;color:#c0cac5;overflow-wrap:anywhere}.persona-card dd strong{display:block;color:#f6f8f5;font-size:15px}.persona-card dd p{margin:4px 0 0}
.persona-card .is-you{padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}.persona-card.is-won .is-you strong{color:#a7b9ff}
.persona-quote{font-size:13px;color:#98aaae}.persona-quote q{font-style:italic}.persona-quote a{color:#a7b9ff;white-space:nowrap}
.persona-panel{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:18px 0 0;padding-top:16px;border-top:1px solid var(--dashboard-border)}.persona-panel>div,.persona-panel p{margin:0;flex:1 1 320px;max-width:68ch}.persona-panel-sample{margin-top:6px!important;color:var(--muted)}.persona-panel h3{flex:1 1 100%;margin:0}.persona-panel-result{white-space:pre-wrap;max-width:none!important}
.first-fix-question h3{margin:0 0 6px;font-size:14px;color:var(--muted)}
.first-fix-question blockquote{margin:0;padding:0;font-size:18px;line-height:1.5}
.first-fix-evidence{margin:14px 0 20px}
.dashboard-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.dashboard-metric{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:128px;padding:18px 20px;border:1px solid var(--dashboard-border);border-radius:12px;background:var(--dashboard-surface);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.dashboard-metric:first-child{border-color:rgba(167,185,255,.26);background:linear-gradient(130deg,rgba(167,185,255,.09),rgba(255,255,255,.025))}.dashboard-metric:first-child strong{color:#a7b9ff}
.dashboard-metric p{margin:0;color:#c0cac5;font-size:13px;font-weight:500}
.dashboard-metric strong{font-size:32px;line-height:1.25;letter-spacing:-.04em;color:#f6f8f5;font-variant-numeric:tabular-nums}
.dashboard-metric small{font-size:19px;color:#98aaae;font-weight:500}
.dashboard-metric span{font-size:12px;color:#a3b2aa;overflow-wrap:anywhere}
.dashboard-layout{display:block}.dashboard-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
[data-result-dashboard] [data-result-view][hidden]{display:none!important}
:is(body.shell,body.report-demo) [data-result-dashboard] .tour-step{min-height:0;padding:20px 22px;border-radius:14px;background:var(--dashboard-surface);border:1px solid var(--dashboard-border);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
:is(body.shell,body.report-demo) [data-result-dashboard] .tour-h{font-size:17px;font-weight:600;letter-spacing:-.02em;margin:0 0 22px;color:#fff}
.tour-step-questions,.tour-step-sources{grid-column:auto}
.tour-step-change,.tour-step-history,.tour-step-copy,.tour-step-recovery,.tour-step-robots{grid-column:1/-1}
[data-result-dashboard] figure.chart{margin:0;width:100%;min-width:0}
[data-result-dashboard] figure.chart>figcaption{display:none}
[data-result-dashboard] .echart{display:none;width:100%;min-height:250px}
[data-result-dashboard] .is-drawn>.echart{display:block}
[data-result-dashboard] .is-drawn>.chart-fallback{display:none}
/* The chart is the only visual; exact data remains available to screen readers and when drawing fails. */
@media screen{[data-result-dashboard] .is-drawn>:is(.chart-values,.donut).chart-fallback{display:block;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}
[data-result-dashboard] svg.cols{display:block;width:100%;height:auto;min-height:240px;max-height:310px}
[data-result-dashboard] .cols .grid{stroke:#354044;stroke-width:1}
[data-result-dashboard] .cols .axis,[data-result-dashboard] .cols .col-name{fill:#afbdc2;font-size:14px}
[data-result-dashboard] .cols .col-v{fill:#e5efed;font-size:14px}
[data-result-dashboard] .cols .bar{fill:#5eead4}[data-result-dashboard] .cols .bar-hl{fill:#a7b9ff}
[data-result-dashboard] .cols-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#b4c2c6}
[data-result-dashboard] .key{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:5px}
[data-result-dashboard] .key-grey{background:#5eead4}[data-result-dashboard] .key-green{background:#a7b9ff}
[data-result-dashboard] .donut{display:flex;align-items:center;flex-wrap:wrap;gap:20px;min-height:260px}
[data-result-dashboard] .donut svg{width:150px;height:150px;flex:none}
[data-result-dashboard] .ring-track{fill:none;stroke:#354044;stroke-width:11}
[data-result-dashboard] .donut circle{fill:none;stroke-width:11}
[data-result-dashboard] .donut .seg-you{stroke:#67e8f9}[data-result-dashboard] .donut .seg-comp{stroke:#6aa6ff}[data-result-dashboard] .donut .seg-other{stroke:#b59bff}
[data-result-dashboard] .key.seg-you{background:#67e8f9}[data-result-dashboard] .key.seg-comp{background:#6aa6ff}[data-result-dashboard] .key.seg-other{background:#b59bff}
[data-result-dashboard] .ring-pct{fill:#edf4ee;text-anchor:middle;font-size:21px;font-weight:700}
[data-result-dashboard] .ring-n{fill:#a2b6bd;text-anchor:middle;font-size:9px}
[data-result-dashboard] .donut-legend{padding:0;list-style:none;font-size:13px;display:grid;gap:12px;flex:1}
[data-result-dashboard] .donut-legend li{display:flex;gap:10px;justify-content:space-between}
[data-result-dashboard] .chart-note{font-size:12px;color:#a9b6b0;margin:10px 0 0}
.chart-values{font-size:13px;margin-top:14px;color:#bac9c0}
.chart-values summary{cursor:pointer;padding:8px 0;min-height:36px}
.chart-values table{width:100%;border-collapse:collapse;margin-top:10px;font-size:13px}
.chart-values th,.chart-values td{padding:8px 5px;border-bottom:1px solid #354044;text-align:left}
.chart-values th{font-weight:500;color:#a9bcc4}.chart-values td{color:#dde6e5;font-variant-numeric:tabular-nums}
.dashboard-empty{display:grid;place-items:center;min-height:310px;color:#91a4ab;font-size:14px;text-align:center}
.dashboard-purchase{position:static;margin-top:20px}
.dashboard-purchase .purchase-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-result-dashboard] .tour-step-copy .tour-copy{padding:24px;font-size:16px;max-width:none}
body.report-demo:has([data-dashboard-public]) .site-header{display:none}
body.report-demo:has([data-dashboard-public]) main{display:block;max-width:none;padding:0}
body.report-demo:has([data-dashboard-public]) .report-preview{display:block;width:100%;max-width:none;margin:0;padding:0}
body.report-demo .tour[data-dashboard-public]{display:block;margin:0;min-height:100dvh;background:#f8faff}
[data-dashboard-public]>.dashboard-content{max-width:1280px;margin:0 auto;padding:22px clamp(16px,3vw,32px) 56px}
.dashboard-preview-back{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:14px;color:var(--muted);text-decoration:none}
.dashboard-preview-back:hover{color:var(--ink)}
.pipeline-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;padding:10px clamp(16px,3vw,32px);background:rgba(255,255,255,.96);border-bottom:1px solid #dbe2f1}
.pipeline-topbar-left,.pipeline-topbar-right{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;min-width:0}
.pipeline-topbar .wordmark{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:17px;color:var(--ink);text-decoration:none}
.pipeline-topbar .report-sample{display:inline-flex;align-items:center;padding:3px 9px;border-radius:6px;background:#edf2ff;color:#244cda;font-size:12px;font-weight:650}
.pipeline-topbar .pipeline-lang{font-size:14px;color:var(--muted);text-decoration:none;min-height:40px;display:inline-flex;align-items:center;padding:0 4px}
.pipeline-topbar .pipeline-lang:hover{color:var(--ink)}
.pipeline-topbar .btn{min-height:40px;padding:8px 16px;font-size:14px}
@media(max-width:640px){.pipeline-topbar{padding:10px 14px;gap:8px}.pipeline-topbar .dashboard-preview-back{display:none}.pipeline-topbar .btn{padding:8px 12px;font-size:13px}}

/* Signed-in result dashboard: collapse left sidebar into a clean top bar so the pipeline owns full width. */
body.shell:has([data-result-dashboard]){display:block}
body.shell:has([data-result-dashboard]) .sidebar{position:sticky;top:0;z-index:20;width:100%;height:auto;max-height:none;margin:0;padding:10px clamp(16px,3vw,32px);border:0;border-bottom:1px solid #dbe2f1;border-radius:0;box-shadow:none;background:rgba(255,255,255,.96);overflow:visible}
body.shell:has([data-result-dashboard]) .side-top{max-width:1216px;width:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.side-top-lead{display:flex;align-items:center;gap:12px;min-width:0}
.side-top-brand{font-size:14px;font-weight:600;color:var(--muted);padding-left:12px;border-left:1px solid #dbe2f1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.shell:has([data-result-dashboard]) .menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:7px 14px;border:1px solid #c4cfe8;border-radius:10px;background:#fff;color:var(--ink);font-size:14px;font-weight:600;cursor:pointer}
body.shell:has([data-result-dashboard]) .menu-toggle{width:auto;flex:none;min-height:44px;white-space:nowrap}
body.shell:has([data-result-dashboard]) .menu-toggle::before,body.shell:has([data-result-dashboard]) .menu-toggle::after{content:none}
body.shell:has([data-result-dashboard]) .menu-toggle:hover{background:#edf1fb}
html.js body.shell:has([data-result-dashboard]) .side-body{display:none}
html.js body.shell:has([data-result-dashboard]) .side-body.open{display:flex;flex-direction:column;gap:14px;position:absolute;right:clamp(16px,3vw,32px);top:calc(100% + 6px);width:min(320px,calc(100vw - 32px));max-height:calc(100dvh - 80px);overflow-y:auto;padding:16px;background:#fff;border:1px solid #dbe2f1;border-radius:16px;box-shadow:0 18px 48px rgba(15,23,42,.14);z-index:30}
body.shell:has([data-result-dashboard]) .shell-main main{max-width:1280px;margin:0 auto;padding:22px clamp(16px,3vw,32px) 56px}
@media(max-width:1100px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-metric:first-child{grid-column:1/-1}.dashboard-panels{grid-template-columns:minmax(0,1fr)}}
@media(max-width:860px){
  body.shell:has([data-result-dashboard]) .shell-main main{padding:22px 18px 36px}
  body.report-demo .tour[data-dashboard-public]{display:block}
  [data-dashboard-public]>.sidebar{margin:0;border-radius:0;top:0}
  [data-dashboard-public]>.dashboard-content{padding:22px 18px 36px}
  .dashboard-head{min-height:64px}.dashboard-head h1{font-size:25px}
}
@media(max-width:480px){
 .dashboard-metrics{gap:10px;margin-bottom:18px}.dashboard-metric{padding:15px;min-height:112px}.dashboard-metric strong{font-size:29px}.dashboard-metric span{font-size:11px}
 .dashboard-panels{gap:16px}:is(body.shell,body.report-demo) [data-result-dashboard] .tour-step{padding:18px 15px}
 .dashboard-purchase .purchase-choices{grid-template-columns:1fr}
}

/* Provider identity, metric colours and readable source evidence share the existing analysis grid. */
.dashboard-metric:nth-child(2) strong{color:#8dd9ee}
.dashboard-providers{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0 0 14px}
.dashboard-providers li{display:inline-flex;align-items:center;gap:6px;min-width:0;padding:5px 10px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:rgba(255,255,255,.025);font-size:12px}
.dashboard-providers .ai-label{font-size:12px;font-weight:600;gap:5px;white-space:nowrap;color:#eff4f2}
.dashboard-providers .ai-label img{width:16px;height:16px;object-fit:contain}
.provider-state{display:flex;align-items:center;gap:4px;font-size:12px;color:#a9b9be;white-space:nowrap}.provider-state b{font-size:12px;font-weight:500;margin-left:auto}
.provider-state i{width:5px;height:5px;background:#98d7b1;border-radius:50%;flex:none}.provider-state.is-partial i{background:#f0ba74}.provider-state.is-missing i{background:#9ba4ad}
[data-result-dashboard] .cols .bar-cite{fill:#67e8f9}[data-result-dashboard] .key-cite{background:#67e8f9}
[data-result-dashboard] .chart-note{line-height:1.5}
.tour-step-domains{grid-column:1/-1}
.dashboard-source-rank{list-style:none;padding:0;margin:0;display:grid;gap:18px}
.dashboard-source-rank li{display:grid;grid-template-columns:26px minmax(180px,1fr) minmax(80px,1.3fr) 65px;gap:16px;align-items:center}
.source-rank{font-size:13px;color:#8f9da6;font-variant-numeric:tabular-nums}.source-domain{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px;overflow-wrap:anywhere;min-width:0}
.source-tag{font-size:12px;font-weight:500;font-style:normal;line-height:1.6;padding:2px 7px;border:1px solid #45545d;border-radius:5px;color:#b9cbd3}
.source-tag.is-brand{color:#8dd9ee;border-color:#39616b;background:rgba(105,201,233,.06)}.source-tag.is-comp{color:#acbeff;border-color:#586a9c;background:rgba(106,166,255,.06)}
.source-track{display:block;width:100%;height:10px}.source-track-bg{fill:rgba(255,255,255,.06)}
.dashboard-source-rank strong{font-size:16px;text-align:right;font-variant-numeric:tabular-nums}.dashboard-source-rank small{font-size:12px;font-weight:400;color:#98abb1;margin-left:2px}
.dashboard-change-chart{min-width:0}
.dashboard-change-analysis{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center}
.dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 26px;padding:0 0 20px;border-bottom:1px solid var(--dashboard-border)}
.dashboard-stats>div{min-width:0}.dashboard-stats dt{font-size:12px;color:#a9b6b0;margin-bottom:7px;line-height:1.4}.dashboard-stats dd{margin:0;color:#fff;font-size:23px;font-weight:650;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.dashboard-analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;align-items:start}
.dashboard-analysis{min-width:0}.dashboard-analysis:only-child{grid-column:1/-1}.dashboard-analysis h3{font-size:14px;font-weight:550;color:#c7d4cd;margin:0 0 18px;line-height:1.5}
.dashboard-analysis .chart-values small{display:block;font-size:11px;line-height:1.5;color:#a9b6b0}.dashboard-analysis .chart-values th,.dashboard-analysis .chart-values td{overflow-wrap:anywhere}
.chart-values .dashboard-pages,.chart-values .dashboard-mixed{table-layout:fixed}.chart-values .dashboard-pages th:first-child{width:58%}.chart-values .dashboard-pages th:nth-child(2){width:25%}.chart-values .dashboard-pages td,.chart-values .dashboard-mixed td{min-width:0}.chart-values .dashboard-mixed th:first-child{width:60%}
.dashboard-change-analysis{align-items:start}.dashboard-change-analysis>.effect{grid-column:1/-1;border-top:1px solid var(--dashboard-border);padding-top:20px}
.dashboard-change-analysis .effect-counts{display:none}
[data-result-dashboard] .tour-step:is(.tour-step-result,.tour-step-consistency,.tour-step-competition,.tour-step-sources,.tour-step-questions,.tour-step-domains){grid-column:1/-1}
.dashboard-analysis-grid .dashboard-source-rank li{grid-template-columns:24px minmax(0,1fr) 62px;gap:8px 10px}.dashboard-analysis-grid .dashboard-source-rank .source-track{grid-column:2;grid-row:auto}.dashboard-analysis-grid .dashboard-source-rank strong{grid-column:3;grid-row:span 2}
@media(max-width:1100px){.dashboard-analysis-grid,.dashboard-change-analysis{grid-template-columns:1fr;gap:28px}.dashboard-stats{gap:10px}.dashboard-stats dd{font-size:20px}}
[data-result-dashboard] .dashboard-coverage thead img{display:inline-block;width:18px;height:18px}
@media(max-width:640px){
 .dashboard-source-rank li{grid-template-columns:24px minmax(0,1fr) 54px;gap:8px 10px}.source-domain{font-size:13px;gap:6px}.source-track{grid-column:2;grid-row:auto}.dashboard-source-rank strong{grid-column:3;grid-row:span 2;align-self:end}.source-rank{align-self:start}
 .dashboard-change-analysis{grid-template-columns:1fr;gap:20px}
}

/* Shared document: no screen-only dashboard styles leak into the light PDF. */
.report .bar-cite{fill:#69c9e9}.report .key-cite{background:#69c9e9}
.report .donut .seg-you{stroke:#69c9e9}.report .key.seg-you{background:#69c9e9}
.report .document-data{margin:10px 0 14px;font-variant-numeric:tabular-nums}
.report .document-data td,.report .document-data th{overflow-wrap:anywhere}
@media print{
  .report .document-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3mm;margin:3mm 0 4mm}
  .report .document-metrics .kpi{display:block;padding:3mm;border:1px solid #dce2d5;border-radius:2mm;background:#f6f8f2}
  .report .document-metrics .kpi-value{font-size:22pt;line-height:1.3;margin:2mm 0;color:#192133}
  .report .document-metrics .kpi:first-child .kpi-value{color:#244cda}
  .report .document-metrics .kpi:nth-child(2) .kpi-value{color:#246c82}
  .report .document-metrics .kpi-value span{font-size:11pt}
  .report .document-metrics .kpi-label,.report .document-metrics .kpi-sub{font-size:8pt;line-height:1.5}
  .report .document-overview{padding:0 0 4mm;border:0;border-bottom:1px solid #dce2d5;background:none}
  .report .document-overview .dashboard-heading{font-size:13pt;margin:0 0 3mm}
  .report .document-overview .headline{font-size:11pt;margin:3mm 0 1mm}
  .report .document-overview .headline-sub{font-size:9pt;margin:1mm 0}
  .report .document-ai{margin-top:5mm;padding:0;border:0}
  .report .document-ai svg.cols{max-height:57mm;width:100%}
  .report .document-ai .chart{margin:1mm 0 2mm}
  .report .document-ai .chart figcaption{display:none}
  .report .document-data{font-size:8.5pt;margin:3mm 0;table-layout:fixed;border-collapse:collapse}
  .report .document-data th,.report .document-data td{padding:2mm;border-bottom:1px solid #dce2d5;line-height:1.45}
  .report .document-data th{background:#f5f7f1;font-weight:600}
  .report .document-data tbody th{background:none}
  .report .document-data thead{display:table-header-group}
  .report .document-data tr{break-inside:avoid}
  /* No forced page breaks (owner, 2026-11-15: page 1 was half empty): sections flow, a whole block moves on when it does not fit. */
  .report .document-evidence .card.document-questions,.report .document-followup .next-card,.report .document-followup .card{break-inside:avoid}
  .report .document-sources-page table{break-inside:auto}   /* long competitor/source tables split by row (app.css keeps other tables whole) */
  .report .document-evidence .card{padding:0;border:0;margin:0 0 6mm;break-inside:auto}
  .report .document-evidence .card h2,.report .document-followup .card h2{font-size:14pt;margin:0 0 4mm}
  .report .document-evidence .chart{break-inside:auto}
  .report .document-evidence .chart figcaption{font-size:9pt}
  .report .document-evidence .donut{min-height:0;gap:7mm;flex-wrap:nowrap;margin:3mm 0 5mm}
  .report .document-evidence .donut svg{width:34mm;height:34mm}
  .report .document-evidence .donut-legend{font-size:9pt;gap:2mm}
  .report .document-sources th:nth-child(1){width:6%}.report .document-sources th:nth-child(2){width:43%}
  .report .document-sources th:nth-child(3){width:20%}.report .document-sources th:nth-child(4){width:31%}
  .report .document-questions .table-wrap{border:0;margin:2mm 0 5mm}
  .report .document-questions .chart{margin:0 0 5mm}
  .report .document-questions .heat-legend{margin-top:0}
  .report .document-followup .report-tasks{break-before:auto;margin:0}
  .report .document-followup .report-tasks>section{padding:0;border:0;background:none}
  .report .document-followup .card{padding:0;border:0;margin:0 0 6mm}
  .report .document-followup .next-card{padding:4mm;margin:0 0 4mm;border:1px solid #dce2d5;background:#fff}
  .report .document-followup .next-card.is-first{border-left:3px solid #244cda;background:#f5f8ef}
  .report .document-method{border-top:1px solid #dce2d5;padding-top:3mm;margin-top:5mm;font-size:9pt;break-inside:avoid}
  .report .document-method h2{font-size:11pt;margin:0;padding:0;border:0}
  .report .bar-cite,.report [fill="#69c9e9"]{fill:#246c82}.report .key-cite,.report .key.seg-you{background:#246c82}.report .donut .seg-you{stroke:#246c82}
}

@media print{
 .report .document-competitors th:first-child{width:36%}.report .document-competitors th:nth-child(2){width:37%}.report .document-competitors th:last-child{width:27%}
 .report .document-competitors .bar-svg{height:2mm;width:100%;margin:1.5mm 0}
 .report .document-competitors td:nth-child(2){vertical-align:middle}
 .report .document-sources-page .document-data th,.report .document-sources-page .document-data td{padding:1.7mm 2mm}
}
@media print{

 body.shell:has([data-result-dashboard]) .shell-main{background:#fff!important}
 body.shell:has([data-result-dashboard]) .shell-main main{padding:0!important}
 .report .report-date,.report .report-check-details>summary{display:none!important}
 .report .cols .col-v{font-size:10px}
}
.persona-misses{margin:0 0 18px}.persona-misses h3{margin:0 0 10px;font-size:15px}
.persona-misses ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.persona-misses li{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:8px;background:rgba(255,255,255,.04)}
.persona-misses .persona-face{width:40px;height:40px;font-size:16px}
.persona-misses p{margin:4px 0 0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.persona-misses .persona-gap{color:#a7b9ff}

/* Screen report surfaces and chart colors. */
@media screen{
[data-theme=light] .report{color-scheme:only light;--ink:#192133;--muted:#53617b;--soft:#40516e;--paper:#f8faff;--panel:#ffffff;--card:#ffffff;--rule:#dbe2f1;--line:#dbe2f1;--line-strong:#c4cfe8;--green:#244cda;--bad:#c4211a;
  --accent-soft:rgba(66,100,199,.12);--glass:#ffffff;--glass-2:#edf1fb;--glass-border:#dbe2f1;--glass-border-strong:#c4cfe8;--glass-highlight:0 0 #0000;--glow:linear-gradient(#0000,#0000);
  --track:#ecece6;--d-bar:#9a9d90;--d-hl:#4264c7;--d-part:#8fa8ea;--d-fail:#c4211a;--grid:#dbe2f1;--comp:#9f4673;--other:#b5b6ad;
  --h0:#f0efe8;--h0t:#53617b;--h1:#cfe0a8;--h1t:#192133;--h2:#9bb86a;--h2t:#192133;--h3:#5f8226;--h3t:#ffffff;
  --lv1:#dbe5ff;--lv1t:#192133;--lv2:#b4cd84;--lv2t:#192133;--lv3:#8db347;--lv3t:#192133;--lv4:#5f8226;--lv4t:#ffffff}
[data-theme=light] body:has(.report-preview){background:#f8faff}
[data-theme=light] .report{box-shadow:none}
[data-theme=light] .report a{color:#244cda}[data-theme=light] .report a:hover{color:#192133}[data-theme=light] .report summary{color:var(--ink)}
[data-theme=light] .report .btn{background:#a7b9ff;color:#101210;border-color:#b9d86a}[data-theme=light] .report .btn:hover{background:#9aaff9;border-color:#a8cc55;color:#101210}
[data-theme=light] .report .btn-secondary,[data-theme=light] .report .report-head .btn-secondary{background:#fff;color:var(--ink);border:1px solid #c4cfe8}
[data-theme=light] .report .btn-secondary:hover,[data-theme=light] .report .report-head .btn-secondary:hover{background:#edf1fb;border-color:#b5b5ac;color:var(--ink)}
[data-theme=light] .report .report-head .report-brand,[data-theme=light] .report .card h2,[data-theme=light] .report .report-tasks h2,[data-theme=light] .report .next-card h3,[data-theme=light] .report .report-data-h,
[data-theme=light] .report .kpi-value,[data-theme=light] .report .next-card .task-question,[data-theme=light] .report .offer-card .offer-price{color:var(--ink)}
[data-theme=light] .report .report-nav a{color:#40516e}
[data-theme=light] .report .report-nav a:hover,[data-theme=light] .report .report-nav a:focus-visible{color:var(--ink);background:#edf1fb}
[data-theme=light] .report .report-nav a[aria-current]{color:var(--ink);border-color:#4264c7;background:rgba(66,100,199,.12)}
[data-theme=light] .report .kpi:first-child{background:#edf2ff;border-color:#c4d3f8}
[data-theme=light] .report .kpi:first-child .kpi-value{color:#244cda}
[data-theme=light] .report .kpi.is-zero{background:#fff4d6}[data-theme=light] .report .kpi.is-zero .kpi-value{color:#8a5a00}
[data-theme=light] .report .hero>.notice{background:#fff4d6;border-left-color:#c98a00}
[data-theme=light] .report .next-card .task-question{background:#edf1fb;border-left-color:#9a9d90}
[data-theme=light] .report .next-card.is-first{border-color:#4264c7;background:#edf2ff}
[data-theme=light] .report .offer-card,[data-theme=light] .report .offer-card.offer-plan{background:#fff;border-color:#c4cfe8}
[data-theme=light] .report .bar-track,[data-theme=light] .report .race-track{fill:#ecece6}
[data-theme=light] .report .bar-hl,[data-theme=light] .report .race-fill{fill:#4264c7}
[data-theme=light] .report .race li.is-you,[data-theme=light] .report .engine-grid thead th.is-you{color:#244cda}
[data-theme=light] .report th{background:#edf1fb}
[data-theme=light] .report .h0{background:#f0efe8;color:#53617b}
[data-theme=light] .report .engine-grid td:not(:last-child).lv1{background:#eeeee8;color:#192133}[data-theme=light] .report .engine-grid td:not(:last-child).lv2{background:#d8d9d0;color:#192133}
[data-theme=light] .report .engine-grid td:not(:last-child).lv3{background:#b5b6ad;color:#192133}[data-theme=light] .report .engine-grid td:not(:last-child).lv4{background:#8a8b82;color:#fff}
[data-theme=light] .report .notice{background:#fff;border-color:#dbe2f1;border-left-color:#c4cfe8;color:var(--soft)}
[data-theme=light] body.shell:has(.report) :is(.paid-guide,main>details.more){background:#fff;border-color:#dbe2f1}
[data-theme=light] body.shell:has(.report) .paid-guide .steps{color:#40516e}
[data-theme=light] .report .kpi-dots span{border-color:#9a9d90}
[data-theme=light] .report .tag{border-color:var(--muted)}
/* Result dashboard */
[data-theme=light] body.shell:has([data-result-dashboard]) .shell-main{background:transparent}
[data-theme=light] [data-result-dashboard]{--track:#e5ebf8;--d-bar:#2a78d6;--d-hl:#244cda;--grid:#dbe2f1;--dashboard-surface:#ffffff;--dashboard-border:#dbe2f1}
[data-theme=light] :is(body.shell,body.report-demo):has([data-result-dashboard]) .sidebar{background:#fff;border-color:#dbe2f1;box-shadow:0 1px 2px rgba(0,0,0,.06),0 8px 24px rgba(0,0,0,.06)}
[data-theme=light] :is(body.shell,body.report-demo) [data-result-dashboard] .btn-secondary{background:#fff;border-color:#c4cfe8}
[data-theme=light] .dashboard-brand,[data-theme=light] .dashboard-head h1,[data-theme=light] :is(body.shell,body.report-demo) [data-result-dashboard] .tour-h,
[data-theme=light] .persona-card h3,[data-theme=light] .persona-card dd strong,[data-theme=light] .persona-card blockquote,
[data-theme=light] .dashboard-metric strong,[data-theme=light] .dashboard-stats dd{color:var(--ink)}
[data-theme=light] .dashboard-brand{color:#53617b}
[data-theme=light] :is(body.shell,body.report-demo) [data-result-dashboard] .tour-step{background:#fff;border:1px solid #dbe2f1;box-shadow:0 1px 2px rgba(0,0,0,.06),0 8px 24px rgba(0,0,0,.04)}
[data-theme=light] .dashboard-summary{background:var(--ui-panel);border-color:#dbe2f1;box-shadow:0 1px 2px rgba(0,0,0,.04),0 6px 20px rgba(25,33,51,.03)}
[data-theme=light] .dashboard-accuracy{background:#fff;border-color:#dbe2f1;box-shadow:0 1px 2px rgba(0,0,0,.04),0 6px 20px rgba(25,33,51,.03)}
[data-theme=light] .visibility-findings a{color:#b42318}
[data-theme=light] .buyer-list li{background:#f8faff;border-color:#dbe2f1}
[data-theme=light] .buyer-list p{color:#40516e}
[data-theme=light] .buyer-list p b{color:var(--ink)}
[data-theme=light] .buyer-list .persona-gap{background:#edf2ff;color:#1e3a8a}
[data-theme=light] .buyer-list .persona-gap b{color:#244cda}
[data-theme=light] .fact-list li{background:#fff;border-color:#dbe2f1}
[data-theme=light] .fact-list li.fact-conflicts{background:#fff8f8;border-color:#f3c8c6}
[data-theme=light] .fact-list li.fact-not_on_site{background:#fffcf4;border-color:#eed9aa}
[data-theme=light] .fact-official{color:#40516e}
[data-theme=light] .dashboard-metric{background:#fff;border-color:#dbe2f1;box-shadow:none}
[data-theme=light] .dashboard-metric:first-child{background:#edf2ff;border-color:#c4d3f8}
[data-theme=light] .dashboard-metric:first-child strong,[data-theme=light] .persona-card.is-won .is-you strong{color:#244cda}
[data-theme=light] .dashboard-metric:nth-child(2) strong{color:#0e7490}
[data-theme=light] .dashboard-instead li,[data-theme=light] .persona-card{background:#f8faff;border-color:#dbe2f1}
[data-theme=light] .persona-card blockquote{background:#fff}
[data-theme=light] .persona-card header p,[data-theme=light] .persona-card blockquote small,[data-theme=light] .persona-card dt,[data-theme=light] .persona-quote,
[data-theme=light] .dashboard-metric small,[data-theme=light] .dashboard-metric span,[data-theme=light] .dashboard-stats dt,[data-theme=light] .dashboard-analysis .chart-values small,
[data-theme=light] [data-result-dashboard] .chart-note,[data-theme=light] .chart-values th,[data-theme=light] .dashboard-empty,[data-theme=light] .provider-state,[data-theme=light] .source-rank,[data-theme=light] .dashboard-source-rank small,
[data-theme=light] .dashboard-preview-sidebar .report-sample,[data-theme=light] .dashboard-coverage thead th,[data-theme=light] .coverage-engine,[data-theme=light] .dashboard-history time,[data-theme=light] .dashboard-history span{color:#53617b}
[data-theme=light] .dashboard-quiet,[data-theme=light] .persona-wants,[data-theme=light] .persona-card dd,[data-theme=light] .dashboard-metric p,
[data-theme=light] .chart-values,[data-theme=light] .chart-values td,[data-theme=light] .dashboard-analysis h3,[data-theme=light] .dashboard-task-question{color:#40516e}
[data-theme=light] .persona-quote a{color:#244cda}
[data-theme=light] .persona-card .is-you{border-top-color:#dbe2f1}
[data-theme=light] .dashboard-task-question{background:#f8faff;border-color:#dbe2f1}
[data-theme=light] .dashboard-coverage td{background:#f8faff}
[data-theme=light] .dashboard-coverage td.is-absent{color:#53617b;background-color:#ffffff;box-shadow:inset 0 0 0 1px #cbd5e1}
[data-theme=light] .dashboard-coverage td.is-mentioned{color:#ffffff;background-color:#244cda}[data-theme=light] .dashboard-coverage td.is-partial-mention{color:#192133;background-color:#dbe5ff}
[data-theme=light] .dashboard-coverage td.is-mentioned .coverage-engine{color:rgba(255,255,255,.85)}
[data-theme=light] .dashboard-coverage td.is-partial-mention .coverage-engine{color:#35476e}
[data-theme=light] .dashboard-coverage td.is-missing{color:#53617b}
[data-theme=light] .dashboard-history li{border-bottom-color:#dbe2f1}
[data-theme=light] .chart-values th,[data-theme=light] .chart-values td{border-bottom-color:#dbe2f1}
[data-theme=light] .dashboard-providers li{background:#f8faff;border-color:#dbe2f1}
[data-theme=light] .dashboard-providers .ai-label{color:var(--ink)}
[data-theme=light] .source-tag{border-color:#c4cfe8;color:#40516e}
[data-theme=light] .source-tag.is-brand{color:#0e5a70;border-color:#8fc9d8;background:#eaf6fa}[data-theme=light] .source-tag.is-comp{color:#2c4aa8;border-color:#a9b9e8;background:#edf1fd}
[data-theme=light] .source-track-bg{fill:#ecece6}
[data-theme=light] [data-result-dashboard] .cols .grid{stroke:#dbe2f1}
[data-theme=light] [data-result-dashboard] .cols .axis,[data-theme=light] [data-result-dashboard] .cols .col-name{fill:#53617b}
[data-theme=light] [data-result-dashboard] .cols .col-v{fill:#192133}
[data-theme=light] [data-result-dashboard] .cols .bar{fill:#137965}[data-theme=light] [data-result-dashboard] .cols .bar-hl,[data-theme=light] [data-result-dashboard] .key-green{background:#4264c7;fill:#4264c7}
[data-theme=light] [data-result-dashboard] .key-grey{background:#137965}
[data-theme=light] [data-result-dashboard] .cols-legend{color:#53617b}
[data-theme=light] [data-result-dashboard] .ring-track{stroke:#dbe2f1}
[data-theme=light] [data-result-dashboard] .ring-pct{fill:#192133}[data-theme=light] [data-result-dashboard] .ring-n{fill:#53617b}
[data-theme=light] [data-result-dashboard] .donut .seg-you{stroke:#0e7490}[data-theme=light] [data-result-dashboard] .key.seg-you{background:#0e7490}
[data-theme=light] [data-result-dashboard] .donut .seg-comp{stroke:#2a78d6}[data-theme=light] [data-result-dashboard] .key.seg-comp{background:#2a78d6}
[data-theme=light] [data-result-dashboard] .donut .seg-other{stroke:#7355b0}[data-theme=light] [data-result-dashboard] .key.seg-other{background:#7355b0}
[data-theme=light] [data-result-dashboard] .cols .bar-cite,[data-theme=light] .report .bar-cite{fill:#0e7490}[data-theme=light] [data-result-dashboard] .key-cite,[data-theme=light] .report .key-cite{background:#0e7490}
[data-theme=light] .dashboard-section-nav a,[data-theme=light] .side-nav a:has(.nav-icon){color:#40516e}
[data-theme=light] .dashboard-section-nav a:hover{background:#edf1fb;color:var(--ink)}
[data-theme=light] .dashboard-section-nav a[aria-current=location]{color:#193bb5;background:#eaf0ff;font-weight:650;box-shadow:none}
[data-theme=light] body.report-demo .tour[data-dashboard-public]{background:#f8faff}
/* Light screens: an AA-dark accent for the persona's fix line, and the page capture on a light frame (it was the
   dark #171d1a and showed as a black block until the lazy image arrived). */
[data-theme=light] .persona-misses li{background:#f8faff}[data-theme=light] .persona-misses .persona-gap{color:#244cda}
[data-theme=light] .capture-surface{background:#f8faff;border-color:#c4cfe8}
[data-theme=light] .tour-step-competition{--ta:#2c4aa8;--tb:#5b3fb0}[data-theme=light] .tour-step-questions{--ta:#8a5a00;--tb:#137965}[data-theme=light] .tour-step-change{--ta:#137965;--tb:#2c4aa8}[data-theme=light] .tour-step-history{--ta:#137965;--tb:#2c4aa8}
}

/* AI answers dialog (2026-11-30, owner: "too ugly"): the question once, then one flat row per AI, no cards in the dialog. */
.answer-sheet-q{margin:0 0 8px;padding:12px 16px;border:1px solid var(--ui-line);border-radius:0 8px 8px 0;background:#f8faff;color:#1d2433;font-size:15px;font-weight:600;line-height:1.5}
.answer-sheet-q>span{display:block;margin-bottom:2px;color:#6b778c;font-size:12.5px;font-weight:600}
.answer-item{padding:18px 0 16px;border-bottom:1px solid #e3e7f0}
.answer-item-head{display:flex;align-items:center;gap:8px;font-size:16px;line-height:1.3}
.answer-item-head img{flex:none;width:20px;height:20px}
.answer-item-miss{margin-left:auto;padding:3px 8px;border-radius:6px;background:#fdecec;color:#b42318;font-size:12.5px;font-weight:650;white-space:nowrap}
.answer-item-lead{margin:8px 0 10px;color:#40516e;font-size:15px;line-height:1.55}
.answer-item-picks{display:grid;gap:8px;margin:0;padding:0;list-style:none;counter-reset:pick}
.answer-item-picks li{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:2px 10px;align-items:baseline;color:#53617b;font-size:14.5px;line-height:1.45}
.answer-item-picks li::before{content:counter(pick);counter-increment:pick;color:#8a94a6;font-size:12.5px;font-variant-numeric:tabular-nums}
.answer-item-picks strong{color:#1d2433;font-weight:650}
.answer-pick-src{color:#2c4aa8;font-size:12.5px;white-space:nowrap}
.answer-pick-src.is-none{color:#8a94a6}
.answer-item+.small{margin-top:14px}
@media(max-width:600px){.answer-item-picks li{grid-template-columns:18px minmax(0,1fr)}.answer-pick-src{grid-column:2}}

/* A saved question and its answer lead into the evidence for a proposed change. */
.question-story {
  margin: 0 0 16px;
  padding: clamp(18px, 2.3vw, 30px);
  border: 1px solid #c4d3f1;
  border-radius: 16px;
  background: linear-gradient(110deg, #fff 15%, #f0f5ff);
  color: #192133;
}
.question-story header {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.question-story h2 {margin:0;font-size:clamp(18px, 2vw, 23px);letter-spacing:-.035em;color:#192133}
.question-story [data-story-replay] {display:none;border:0;background:none;color:#385690;font:inherit;font-size:13px;cursor:pointer;min-height:44px}
.question-story ol {--track-gap:32px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--track-gap);list-style:none;padding:0;margin:0}
.question-story li {position:relative;min-width:0}
.question-story li:not(:last-child)::before,
.question-story li:not(:last-child)::after {
  content:"";position:absolute;left:45px;right:calc(6px - var(--track-gap));top:19px;height:2px;
  background:#bdcdf0;transform-origin:left;
}
.question-story li:not(:last-child)::after {background:#3764df;transform:scaleX(0)}
.story-icon {display:grid;place-items:center;width:38px;height:38px;border:1px solid #bfceef;border-radius:50%;background:#fff;color:#244cda}
.story-icon .persona-face {width:36px;height:36px;font-size:18px}
.story-icon img[src$="/openai.svg"],.story-icon img[src$="/perplexity.svg"] {filter:invert(1)}
.story-icon .nav-icon {width:22px;height:22px}
.question-story li:last-child .story-icon {background:#244cda;border-color:#244cda;color:white}
.story-text {margin-top:10px;overflow-wrap:anywhere}
.story-text h3 {margin:0 0 5px;font-size:14px;color:#455d88}
.story-text p {margin:0;font-size:clamp(16px,1.3vw,19px);line-height:1.45;letter-spacing:-.025em;font-weight:600;color:#192133}
.story-text a,.story-offer a {display:inline-flex;align-items:center;gap:.35em;min-height:44px;font-size:14px;color:#244cda;font-weight:650}
.story-offer {margin:18px 0 0;border-top:1px solid #dce5f6;padding-top:8px}
@media (max-width:720px) {
  .question-story header {margin-bottom:12px}
  .question-story ol {--track-gap:12px;grid-template-columns:minmax(0,1fr)}
  .question-story li {display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px}
  .question-story li:not(:last-child)::before,.question-story li:not(:last-child)::after {
    left:18px;right:auto;top:43px;bottom:calc(5px - var(--track-gap));width:2px;height:auto;transform-origin:top;
  }
  .question-story li:not(:last-child)::after {transform:scaleY(0)}
  .story-text {margin:0}
  .story-text p {font-size:16px}
}
@media screen and (prefers-reduced-motion:no-preference) {
  .question-story [data-story-replay]:not([hidden]) {display:inline-flex;align-items:center;gap:4px;flex:none}
  .question-story.is-playing li:not(:last-child)::after {animation:story-travel-x .7s .35s ease-in-out both}
  .question-story.is-playing li:nth-child(2)::after {animation-delay:1.15s}
  .question-story.is-playing .story-icon {animation:story-arrival .45s ease-out}
  .question-story.is-playing li:nth-child(2) .story-icon {animation-delay:.95s}
  .question-story.is-playing li:nth-child(3) .story-icon {animation-delay:1.75s}
}
@media screen and (max-width:720px) and (prefers-reduced-motion:no-preference) {
  .question-story.is-playing li:not(:last-child)::after {animation-name:story-travel-y}
}
@keyframes story-travel-x {from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes story-travel-y {from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes story-arrival {50%{transform:scale(1.1);box-shadow:0 0 0 5px #dce6ff}}

/* The toast already shows the sign-in acknowledgement. Keep the source available to screen readers. */
main:has(.pipeline-board,.collection,.collection-ready) > .signin-announced {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;
}
body.shell:has(.pipeline-board) .dashboard-head {min-height:52px;margin-bottom:12px}
body.shell:has(.pipeline-board) .dashboard-brand {display:none}
@media(max-width:640px) {
  html[data-astryx-theme] main:has(.pipeline-board,.collection) > .steps {gap:4px;margin-block:0 12px}
  html[data-astryx-theme] main:has(.pipeline-board,.collection) > .steps li {display:flex;align-items:center;justify-content:center;gap:4px;padding:4px 2px;font-size:11px}
  html[data-astryx-theme] main:has(.pipeline-board,.collection) > .steps li::before {margin:0}
}
.collection-ready {margin:12px 0 20px;padding:18px;border:1px solid #bfcedd;border-radius:14px;background:#fff}
.collection-ready h2 {margin:0 0 12px}
.collection-queue {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:16px 0;padding:14px 0;border:1px solid #cfdae3;border-radius:10px;background:#f8faff}
.collection-queue li {display:grid;align-content:start;gap:4px;padding:0 8px;text-align:center;font-size:14px;color:#233953}
.collection-queue li + li {border-inline-start:1px solid #d6dfeb}
.queue-count {font-size:12px;color:#4c627b}
.collection-queue .is-working strong {color:#1a47b6}
.collection .ai-window:has(.is-running,.is-waiting) .ai-window-body::after {content:none;animation:none}
.pipeline-board {margin:0 0 20px;padding:clamp(14px,2vw,24px);border:1px solid #ccd7e6;border-radius:16px;background:#fff;color:#19283b}
.pipeline-board h2 {margin:0;font-size:clamp(20px,2vw,27px);line-height:1.2;letter-spacing:-.035em}
.pipeline-question {margin:12px 0;padding-inline-start:12px;border-inline-start:3px solid #ccd9ef}
.pipeline-question strong {font-size:12px;color:#586a80}
.pipeline-question p {margin:2px 0 0;font-weight:600;font-size:15px;line-height:1.45;overflow-wrap:anywhere}
.pipeline-track {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px;list-style:none;margin:16px 0 0;padding:0}
.pipeline-track > li {display:flex;min-width:0}
.pipeline-node {display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;padding:12px;border:1px solid #ced8e6;border-radius:9px;background:#f8faff;color:#1c304a;text-decoration:none}
.pipeline-node:hover,.pipeline-node:focus-visible {border-color:#365dca;background:#f0f4ff}
.pipeline-step {color:#566b83;font-size:11px;line-height:1.2;font-weight:650}
.pipeline-node-title {display:block;font-size:clamp(14px,1.15vw,17px);line-height:1.3;font-weight:720;letter-spacing:-.025em;overflow-wrap:anywhere}
.pipeline-chevron {display:inline-block;vertical-align:middle;color:#36539d;width:10px;height:12px}
.pipeline-badge {display:inline-block;border-radius:4px;padding:2px 5px;background:#ebeffc;color:#254699;font-size:12px;line-height:1.4;font-weight:650;overflow-wrap:anywhere}
.is-ok .pipeline-badge {background:#e2f4ed;color:#14674d}
.is-bottleneck .pipeline-badge {background:#fbe8e5;color:#a13125}
.is-warn .pipeline-badge {background:#fff1cd;color:#76530c}
.pipeline-node-metric {font-size:12px;color:#475b73;line-height:1.4;overflow-wrap:anywhere}
.pipeline-node-metric strong {color:#233953;font-weight:730;font-variant-numeric:tabular-nums}
.pipeline-node-note {font-size:12px;color:#57697e;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:640px) {
  .pipeline-track {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .pipeline-node {padding:10px}
}
@media (min-width:1100px) {
  .dashboard-opening {display:grid;grid-template-columns:minmax(0,2.4fr) minmax(310px,1fr);gap:16px;margin-bottom:20px}
  .dashboard-opening > section {min-width:0;margin:0}
  .dashboard-opening .dashboard-summary {display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:8px;padding:20px}
  .dashboard-opening .dashboard-summary-details {padding:0;border:0}
  .dashboard-opening .visibility-findings li {padding:6px 0;font-size:13px}
  .dashboard-opening .visibility-score {font-size:38px}
  .dashboard-opening .kpi-meter {width:110px;margin-bottom:4px}
  .dashboard-opening .question-story ol {--track-gap:20px}
}
/* Right-hand slide drawer */
dialog.pipeline-drawer{margin:0 0 0 auto;padding:0;border:0;width:min(94vw,980px);max-width:980px;height:100dvh;max-height:100dvh;border-radius:20px 0 0 20px;background:#f8faff;color:var(--ink);box-shadow:-12px 0 48px rgba(15,23,42,.18);overflow:hidden}
dialog.pipeline-drawer[open]{display:flex;flex-direction:column}
dialog.pipeline-drawer::backdrop{background:rgba(15,23,42,.38)}
@media(prefers-reduced-motion:no-preference){
  dialog.pipeline-drawer[open]{animation:drawer-in 240ms cubic-bezier(.22,1,.36,1) both}
  dialog.pipeline-drawer::backdrop{animation:drawer-fade 180ms ease-out both}
}
@keyframes drawer-in{from{opacity:0;transform:translateX(36px)}to{opacity:1;transform:none}}
@keyframes drawer-up{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes drawer-fade{from{opacity:0}to{opacity:1}}
.pipeline-drawer-shell{display:flex;flex-direction:column;height:100%;min-height:0}
.pipeline-drawer-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px;background:#ffffff;border-bottom:1px solid #dbe2f1}
.pipeline-drawer-meta{display:flex;align-items:center;gap:10px;min-width:0}
.pipeline-drawer-step{flex:none;padding:3px 9px;border-radius:6px;background:#edf2ff;color:#244cda;font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums}
.pipeline-drawer-meta h2{margin:0;font-size:19px;font-weight:700;letter-spacing:-.02em;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pipeline-drawer-meta h2:focus{outline:none}
.pipeline-drawer-controls{display:flex;align-items:center;gap:8px;flex:none}
.pipeline-drawer-nav{min-height:44px;padding:6px 12px;font-size:13.5px;font-weight:600;border-radius:9px;cursor:pointer}
.pipeline-drawer-nav:disabled{opacity:.42;cursor:default}
.pipeline-drawer-close{position:static;flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border:1px solid #dbe2f1;border-radius:10px;background:#f8faff;color:var(--ink);font-size:22px;line-height:1;cursor:pointer}
.pipeline-drawer-close:hover{background:#edf1fb}
.pipeline-drawer-body{position:relative;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 24px 40px}
.pipeline-drawer-body .dashboard-panels{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.pipeline-drawer-body .dashboard-accuracy{margin:0}
.pipeline-drawer-body .dashboard-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
@media(max-width:860px){
  dialog.pipeline-drawer{margin:0;width:100vw;max-width:100vw;border-radius:0}
  @media(prefers-reduced-motion:no-preference){dialog.pipeline-drawer[open]{animation:drawer-up 220ms cubic-bezier(.22,1,.36,1) both}}
  .pipeline-drawer-head{padding:12px 14px;gap:8px}
  .pipeline-drawer-meta h2{font-size:16.5px}
  .pipeline-drawer-nav{padding:6px 9px;font-size:12.5px}
  .pipeline-drawer-body{padding:16px 14px 32px}
  .pipeline-drawer-body .dashboard-analysis-grid{grid-template-columns:minmax(0,1fr);gap:20px}
}
@media(max-width:460px){
  .pipeline-drawer-meta{flex-wrap:wrap;gap:3px 6px}
  .pipeline-drawer-step{font-size:12px;padding:2px 6px}
  .pipeline-drawer-nav{padding:6px 8px;font-size:12px}
}
/* Executive top verdict: score summary + highlight conflict side-by-side on desktop, conflict-first on mobile */
.dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:0 0 18px}
.dashboard-hero > .dashboard-opening{margin:0;min-width:0}
.dashboard-hero > .dashboard-opening > .dashboard-summary{margin:0;height:100%}
@media(min-width:960px){
  .dashboard-hero:has(.mobile-finding){grid-template-columns:minmax(0,1.25fr) minmax(320px,.95fr);align-items:stretch}
  .dashboard-hero .dashboard-summary-lead{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:start}
  .dashboard-hero .dashboard-summary-lead h2,
  .dashboard-hero .dashboard-summary-lead .visibility-score,
  .dashboard-hero .dashboard-summary-lead .kpi-meter,
  .dashboard-hero .dashboard-summary-lead .visibility-scope{grid-column:1}
  .dashboard-hero .dashboard-summary-lead .dashboard-buttons{grid-column:2;grid-row:1 / span 3;margin:0;align-self:center}
}
@media(max-width:959px){
  .dashboard-hero .mobile-finding{order:-1}
}
.mobile-finding:not([hidden]){display:flex;flex-direction:column;gap:10px;margin:0;padding:clamp(18px,2.4vw,24px);border:1px solid #d7dfef;border-radius:16px;background:#f7f9ff;color:#192133;overflow-wrap:anywhere}
.mobile-finding.is-conflict{border-color:#e9c7c3;background:linear-gradient(180deg,#fff7f6 0%,#ffffff 100%)}
.mobile-finding.is-warn{border-color:#ead9b3;background:linear-gradient(180deg,#fffbf2 0%,#ffffff 100%)}
.finding-kicker{margin:0;display:inline-flex;align-self:flex-start;padding:3px 9px;border-radius:999px;background:#ebeffc;color:#244cda;font-size:12px;font-weight:700;letter-spacing:-.01em}
.mobile-finding.is-conflict .finding-kicker{background:#fbe8e5;color:#a13125}
.mobile-finding.is-warn .finding-kicker{background:#fff1cd;color:#76530c}
.mobile-finding.is-ok .finding-kicker{background:#e2f4ed;color:#14674d}
.mobile-finding h2{margin:0;font-size:clamp(19px,1.8vw,22px);line-height:1.3;letter-spacing:-.025em;color:#172133}
.mobile-finding p,.mobile-finding .fact-official{margin:0;font-size:14.5px;line-height:1.5}
.mobile-finding-quote{padding:10px 12px;border-radius:10px;background:#fff;border:1px solid rgba(25,33,51,.09);color:#172133}
.mobile-finding.is-conflict .mobile-finding-quote{border-color:#efd3cf}
.mobile-finding-quote strong{margin-right:4px}
.mobile-finding .fact-official{padding:9px 12px;border-radius:10px;background:#f2f6ff;color:#243554}
.finding-proof{margin:2px 0 0;padding-top:10px;border-top:1px solid rgba(25,33,51,.08);font-size:13px;color:#4a5e78}
.finding-proof a{color:#244cda;font-weight:650;text-decoration:none}
.finding-proof a:hover{text-decoration:underline}
.mobile-finding-action{margin-top:auto;align-self:flex-start;display:inline-flex;gap:6px;align-items:center;min-height:44px;color:#244cda;font-size:14px;font-weight:650;text-decoration:underline;text-underline-offset:3px}
/* Collapsible classification audit details inside summary */
.visibility-breakdown{margin-top:8px;border-top:1px solid var(--dashboard-border);padding-top:6px}
.visibility-breakdown summary{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:12.5px;font-weight:600;color:#52657f;cursor:pointer;list-style:none}
.visibility-breakdown summary::-webkit-details-marker{display:none}
.visibility-breakdown summary::before{content:"▸";font-size:11px;transition:transform .15s ease}
.visibility-breakdown[open] summary::before{transform:rotate(90deg)}
.visibility-breakdown .visibility-findings{margin-top:4px}
.visibility-breakdown .visibility-findings li{font-size:12.5px;padding:5px 0}
/* Drawer next-step CTA & additional copy tasks */
.drawer-next-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #dbe2f1}
.drawer-next-cta > a:not(.btn-secondary):not(.btn){color:#244cda;font-weight:650;font-size:14px;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.drawer-next-cta > a:not(.btn-secondary):not(.btn):hover{text-decoration:underline}
.copy-more-tasks{margin:18px 0 0;padding:16px 18px;border:1px solid #dbe2f1;border-radius:12px;background:#f8faff}
.copy-more-tasks h3{margin:0 0 10px;font-size:14.5px;font-weight:700;color:#1b2940}
.copy-more-tasks ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.copy-more-tasks li{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:9px;background:#fff;border:1px solid #e1e8f5}
.copy-more-tasks li strong{font-size:13.5px;font-weight:680;color:#1b2940}
.copy-more-tasks li span{font-size:12.5px;color:#52657f;line-height:1.45}
.story-offer{margin:18px 0 0;padding-top:16px;border-top:1px solid #dbe2f1;display:flex;justify-content:flex-start}
.story-offer .btn{text-decoration:none}
/* Purchase cards clarity */
.purchase-scope{margin:0 0 16px;font-size:14px;font-weight:550;color:#3d506b;line-height:1.5}
.offer-kicker{grid-column:1/-1;margin:0;font-size:12.5px;font-weight:680;color:#244cda}
.offer-done .offer-kicker{color:#415572}
.purchase-choices.is-compact .offer-card h3{grid-column:1;align-self:center}
.purchase-choices.is-compact .offer-card .offer-price{grid-column:2;text-align:right;justify-self:end}
/* Without JS, detail panels sit cleanly below the pipeline board */
html:not(.js) .dashboard-layout{margin-top:22px}
html.js .has-pipeline-drawer .dashboard-layout{display:none}
.has-pipeline-drawer .dashboard-purchase{margin-top:0}
@media print{dialog.pipeline-drawer,.pipeline-topbar{display:none!important}}
/* One collected answer: the answer dialog (app.js) and the answer page share .answer-view */
.answer-dialog{width:min(760px,calc(100vw - 24px))}
.answer-dialog>.modal-close{z-index:2;color:#192133}
.answer-dialog .result-dialog-body{padding:0}
.answer-dialog[aria-busy=true] .answer-view{opacity:.55;transition:opacity .15s}
.answer-view{display:grid;gap:18px;max-width:820px;color:#192133}
.answer-dialog .answer-view{padding:0 24px 24px}
.answer-head{display:grid;gap:10px}
.answer-dialog .answer-head{position:sticky;top:0;z-index:1;margin:0 -24px;padding:20px 72px 14px 24px;background:#fff;border-bottom:1px solid #dbe2f1}
.answer-kicker{margin:0;color:#53617b;font-size:12.5px;font-weight:650}
.answer-head h2{margin:0;padding:0;border:0;background:none;font-size:19px;line-height:1.4;letter-spacing:-.02em;font-weight:700;color:#192133;-webkit-text-fill-color:currentColor}
.answer-head h2:focus{outline:none}
.answer-tabs{display:flex;flex-wrap:wrap;gap:6px}
.answer-tabs a{display:inline-flex;align-items:center;min-height:40px;padding:4px 12px 4px 9px;border:1px solid #dbe2f1;border-radius:8px;background:#f8faff;color:#192133;font-size:14px;font-weight:600;text-decoration:none}
.answer-tabs a:hover{background:#edf1fb}
.answer-tabs a[aria-current]{border-color:#244cda;background:#eaf0ff;color:#193bb5;box-shadow:inset 0 0 0 1px #244cda}
.answer-tabs .ai-label{gap:6px}
.answer-repeats{display:flex;flex-wrap:wrap;gap:4px;font-size:13px}
.answer-repeats a{padding:4px 10px;border-radius:6px;color:#53617b;text-decoration:none}
.answer-repeats a:hover{background:#f3f6ff}
.answer-repeats a[aria-current]{background:#edf1fb;color:#192133;font-weight:650}
.answer-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.answer-verdict,.answer-chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:6px;font-size:13px;font-weight:650;line-height:1.35}
.answer-chip{background:#edf1fb;color:#334063;font-weight:600}
.answer-verdict.is-no{background:#fdecec;color:#b42318}
.answer-verdict.is-yes{background:#e6f5f0;color:#137965}
.answer-verdict.is-named,.answer-verdict.is-warn{background:#fff4dc;color:#8a5a00}
.answer-quote{margin:0;padding:12px 16px;border-left:3px solid #244cda;border-radius:0 10px 10px 0;background:#f3f6ff}
.answer-quote figcaption{margin:0 0 4px;color:#53617b;font-size:12.5px;font-weight:650}
.answer-quote blockquote{margin:0;padding:0;border:0;font-size:15px;line-height:1.6;color:#192133}
.answer-text{padding:18px 20px;border:1px solid #dbe2f1;border-radius:14px;background:#fff;font-size:15.5px;line-height:1.75;overflow-wrap:anywhere}
.answer-text>:first-child{margin-top:0}.answer-text>:last-child{margin-bottom:0}
.answer-text p,.answer-text ul,.answer-text ol{margin:0 0 12px}
.answer-text ul,.answer-text ol{padding-left:22px}
.answer-text li{margin:3px 0}
.answer-text h4{margin:18px 0 8px;font-size:16px;line-height:1.45}
.answer-table{margin:0 0 12px;overflow-x:auto;border:1px solid #dbe2f1;border-radius:10px}
.answer-table table{width:100%;margin:0;border-collapse:collapse;font-size:14px;line-height:1.5}
.answer-table th,.answer-table td{padding:8px 12px;border:0;border-bottom:1px solid #e6ebf5;text-align:left;vertical-align:top}
.answer-table th{background:#f3f6ff;font-weight:650}
.answer-table tr:last-child td{border-bottom:0}
.answer-locked{position:relative;margin-top:8px;padding:14px;border-radius:10px;background:#f3f6ff;cursor:pointer;overflow:hidden}
.answer-locked p{margin:0;filter:blur(5px);user-select:none;color:#53617b}
.answer-locked span{position:absolute;inset:0;display:grid;place-items:center;font-weight:700;color:#244cda}
.answer-locked:focus-visible{outline:2px solid #244cda;outline-offset:2px}
.answer-section{display:grid;gap:8px}
.answer-section h3,.answer-section summary{margin:0;font-size:14.5px;font-weight:700;color:#192133}
.answer-section summary{cursor:pointer}
.answer-section small{margin-left:4px;color:#53617b;font-weight:600}
.answer-sources{margin:0;padding-left:22px;font-size:14px;line-height:1.55;color:#53617b}
.answer-sources li{margin:3px 0;overflow-wrap:anywhere}
.answer-sources a{color:#244cda}
.answer-meta{margin:0;padding-top:12px;border-top:1px solid #e6ebf5;color:#53617b;font-size:12.5px}
.answer-empty{margin:0;color:#53617b}
@media(max-width:600px){
  .answer-dialog .answer-view{padding:0 16px 20px}
  .answer-dialog .answer-head{margin:0 -16px;padding:16px 60px 12px 16px}
  .answer-head h2{font-size:17px}
  .answer-text{padding:14px;font-size:15px}
}
@media print{.answer-dialog{display:none!important}}
