/* Site Snapshot — all styles are local. No font, image or tracking requests. */
:root {
  color-scheme: light;
  --canvas: #f3f6fa;
  --paper: #ffffff;
  --ink: #132d49;
  --muted: #52657a;
  --subtle: #64758a;
  --blue: #245be5;
  --blue-dark: #1946b8;
  --blue-soft: #edf3ff;
  --line: #dce4ed;
  --line-soft: #e8edf3;
  --good: #16705b;
  --good-soft: #e8f5ef;
  --warn: #94600b;
  --warn-soft: #fff5df;
  --bad: #b33f38;
  --bad-soft: #fff0ed;
  --na: #68788c;
  --na-soft: #edf1f5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --page-width: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
button, summary { cursor: pointer; }
button { border: 0; }
button:disabled { cursor: wait; }
svg { display: block; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
p:last-child { margin-bottom: 0; }
::selection { background: #d8e5ff; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: absolute; left: 16px; top: 10px; z-index: 5; transform: translateY(-200%); padding: 10px 16px; background: var(--paper); border: 1px solid var(--blue); border-radius: 4px; }
.skip-link:focus { transform: none; }

/* The tool's quiet, editorial shell. */
.site-header-inner, .tool { width: min(calc(100% - 48px), var(--page-width)); margin-inline: auto; }
.site-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d1dce8; gap: 20px; }
.wordmark { display: flex; align-items: center; gap: 13px; color: var(--ink); font: 700 24px/1.2 var(--serif); letter-spacing: -.6px; }
.wordmark b { font-weight: inherit; }
.tool { padding: 35px 0 0; }
.intro { margin: 0 24px 22px; }
.intro h1 { font: 600 clamp(42px, 5.3vw, 66px)/1.05 var(--serif); letter-spacing: -2.5px; margin: 0 0 12px; }
.lead { font: 400 22px/1.4 var(--serif); color: var(--muted); margin: 0; }
.input-area { margin: 0 24px; }
.input-row { display: flex; gap: 12px; }
.input-wrap { position: relative; display: flex; flex: 1; min-width: 0; align-items: center; border: 1px solid #c6d2e1; border-radius: 8px; background: var(--paper); transition: box-shadow .18s, border-color .18s; }
.input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #245be51a; }
.input-wrap > svg { position: absolute; left: 18px; color: var(--subtle); pointer-events: none; }
.input-wrap input { width: 100%; min-width: 0; height: 57px; border: 0; background: transparent; padding: 15px 18px 15px 51px; color: var(--ink); border-radius: inherit; font-size: 17px; outline: none; }
.input-wrap input::placeholder { color: #78879a; opacity: 1; }
.input-wrap input:disabled { color: var(--muted); -webkit-text-fill-color: var(--muted); opacity: 1; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border-radius: 7px; font: 600 13px/1.3 var(--sans); text-decoration: none; transition: color .16s, background .16s, border-color .16s, box-shadow .16s; }
.button-primary { padding: 15px 24px; min-width: 230px; font-size: 15px; color: white; background: var(--blue); box-shadow: 0 3px 6px #1640b011; }
.button-primary:hover:not(:disabled) { background: var(--blue-dark); box-shadow: 0 4px 12px #1640b024; }
.button-primary:disabled { background: #557bdb; }
.button-outline { color: var(--blue); background: var(--paper); border: 1px solid #aec1ec; padding: 10px 15px; }
.button-outline:hover { border-color: var(--blue); background: #eef3ff; }
.button-quiet { padding: 10px 12px; color: var(--muted); background: transparent; }
.button-quiet:hover { color: var(--blue); background: #e8eef8; }
.input-notes { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 9px; color: var(--muted); font-size: 11.5px; }
.input-notes > p { margin: 0; }
.limits { position: relative; max-width: 360px; flex: 0 0 auto; }
.limits summary { display: flex; align-items: center; justify-content: flex-end; gap: 7px; min-height: 24px; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.limits summary::-webkit-details-marker { display: none; }
.limits[open] summary svg { transform: rotate(180deg); }
.limits > p { position: absolute; right: 0; width: 300px; max-width: calc(100vw - 48px); padding: 15px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 35px #132d491a; z-index: 3; margin: 7px 0 0; font-size: 12px; line-height: 1.6; }

/* Loading communicates activity without inventing backend completion. */
.loading { margin-top: 32px; padding: 34px 36px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 36px #132d4905; }
.loading-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.loading-heading { display: flex; align-items: center; gap: 18px; min-width: 0; }
.loading h2 { font: 400 29px/1.2 var(--serif); letter-spacing: -.5px; margin-bottom: 5px; }
.loading-site { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.loading-orbit { position: relative; display: grid; place-items: center; width: 50px; height: 50px; flex-shrink: 0; color: var(--blue); }
.loading-orbit svg { width: 44px; height: 44px; animation: orbit 1.8s linear infinite; }
.loading-orbit > span { position: absolute; width: 9px; height: 9px; border-radius: 2px; background: var(--blue); }
.elapsed { color: var(--muted); white-space: nowrap; font: 500 11px/1.5 var(--sans); font-variant-numeric: tabular-nums; }
.loading-track { height: 3px; background: #eaf0f9; margin: 26px 0; border-radius: 4px; overflow: hidden; }
.loading-track > span { display: block; width: 34%; height: 100%; background: var(--blue); border-radius: inherit; animation: scan 2.4s ease-in-out infinite; }
.loading-steps { padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; }
.loading-steps li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); transition: color .2s; }
.step-number { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; color: var(--subtle); font-size: 10px; line-height: 1; font-weight: 600; flex: 0 0 auto; }
.loading-steps b { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin: 3px 0 4px; line-height: 1.3; }
.loading-steps small { display: block; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.loading-steps .is-active b { color: var(--ink); }
.loading-steps .is-active .step-number { background: var(--blue-soft); border-color: #adc3ff; color: var(--blue); box-shadow: 0 0 0 4px #edf3ff; }
.loading-bottom { margin-top: 28px; display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line-soft); padding-top: 14px; font-size: 11px; color: var(--muted); }
.loading-bottom p { margin: 0; }
.error-panel { display: flex; align-items: flex-start; gap: 16px; border: 1px solid #eac8c5; border-radius: 10px; background: #fff8f7; margin: 30px 0 0; padding: 23px 26px; }
.error-icon { display: grid; place-items: center; flex: 0 0 26px; height: 26px; background: var(--bad); color: white; font-weight: 700; border-radius: 50%; }
.error-panel h2 { margin: 0 0 6px; font: 500 23px/1.2 var(--serif); }
.error-panel p { font-size: 13px; margin: 0 0 5px; overflow-wrap: anywhere; }
.error-hint { color: var(--muted); }

/* Report: one paper surface, open sections, and an explicit reading order. */
.report-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 30px 24px 13px; }
.report-ready { display: flex; align-items: center; gap: 9px; font: 600 21px/1.2 var(--serif); margin: 0; }
.ready-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.tool[data-outcome="blocked"] .ready-dot { background: var(--warn); }
.tool[data-outcome="unreachable"] .ready-dot { background: var(--bad); }
.toolbar-actions { display: flex; gap: 11px; align-items: center; }
.report { padding: 32px 36px 22px; background: var(--paper); border: 1px solid #d6e0eb; border-radius: 12px; box-shadow: 0 9px 40px #132d4905; font-size: 13px; animation: report-in .4s ease-out both; }
.report-header { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 0 0 25px; border-bottom: 1px solid var(--line); }
.report-header > :first-child { min-width: 0; }
.report-brand { color: var(--blue); font: 600 10px/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 9px; }
.report-brand span { color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; margin-left: 5px; }
.report-brand span:first-child { color: var(--blue); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-left: 0; }
.report-title { font: 600 clamp(27px, 3.2vw, 43px)/1.15 var(--serif); letter-spacing: -1.3px; margin: 0 0 9px; overflow-wrap: break-word; }
.report-title:focus { outline: none; }
.report-meta { color: var(--muted); font-size: 11.5px; line-height: 1.75; overflow-wrap: anywhere; }
.report-meta p { margin: 0; }
.report-meta > span:not(.report-host) + span::before { content: " · "; white-space: pre; }
.report-host { display: block; color: var(--blue); font-size: 16px; font-weight: 500; margin-bottom: 5px; overflow-wrap: anywhere; text-decoration: none; }
.score-summary { display: flex; flex-direction: column; align-items: center; flex: 0 0 150px; text-align: center; }
.gauge { position: relative; width: 124px; height: 124px; display: grid; place-items: center; flex: 0 0 auto; color: var(--na); }
.gauge-svg { position: absolute; width: 100%; height: 100%; inset: 0; overflow: visible; transform: rotate(-90deg); }
.gauge-track { stroke: #e8edf3; fill: none; stroke-width: 8; }
.gauge-progress { fill: none; stroke: currentColor; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100; animation: gauge-fill 1s cubic-bezier(.2, .7, .2, 1) both; }
.gauge-reading { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-caption { display: contents; }
.score-summary > .gauge { order: 0; }
.score-caption .score-label { order: -1; }
.score-caption .score-verdict { order: 1; }
.score-caption .score-note { order: 2; }
.score-value { display: block; color: var(--ink); font: 500 46px/1 var(--serif); letter-spacing: -1.8px; font-variant-numeric: tabular-nums; }
.score-denominator { display: block; color: var(--muted); font: 400 12px/1.5 var(--sans); margin-top: 4px; }
.score-label { color: var(--muted); font: 500 11px/1.4 var(--sans); margin: 0 0 7px; }
.score-verdict { color: var(--muted); font: 500 11px/1.5 var(--sans); margin-top: 7px; }
.score-note { display: block; max-width: 170px; color: var(--muted); font-size: 10px; line-height: 1.5; margin: 6px 0 0; }
.good { --status-color: var(--good); --status-soft: var(--good-soft); }
.warn { --status-color: var(--warn); --status-soft: var(--warn-soft); }
.bad { --status-color: var(--bad); --status-soft: var(--bad-soft); }
.na { --status-color: var(--na); --status-soft: var(--na-soft); }
.gauge.good, .gauge.warn, .gauge.bad, .gauge.na { color: var(--status-color); }
.priorities { padding: 24px 0 5px; }
.priorities > h2, .audit-heading > h2 { font: 500 27px/1.2 var(--serif); letter-spacing: -.6px; margin: 0 0 13px; }
.priority-list { list-style: none; padding: 0; margin: 0; }
.priority-item { display: flex; gap: 17px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.priority-number { flex: 0 0 39px; height: 41px; display: grid; place-items: center; border-radius: 7px; background: var(--blue-soft); color: var(--blue); font: 400 19px/1 var(--serif); font-variant-numeric: tabular-nums; }
.priority-copy { min-width: 0; }
.priority-copy h3 { display: inline; font: 600 18px/1.45 var(--serif); letter-spacing: -.25px; margin: 0; }
.priority-copy .tag { margin-left: 9px; vertical-align: 2px; }
.priority-copy p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.tag { display: inline-block; border-radius: 5px; padding: 2px 7px; white-space: nowrap; font: 600 10.5px/1.5 var(--sans); letter-spacing: .005em; vertical-align: 1px; }
.tag-quick { background: var(--good-soft); color: #12634d; }
.tag-refresh { background: var(--blue-soft); color: #254ca4; }
.priority-empty { display: flex; gap: 12px; padding: 15px 0; color: var(--muted); }
.audit { padding-top: 22px; }
.audit-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 22px; }
.audit-heading > h2 { margin: 0; }
.severity-key { display: flex; flex-wrap: wrap; gap: 6px 13px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 11px; }
.severity-key > span, .severity-key > li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.severity-key .check-icon { width: 15px; height: 15px; font-size: 9px; }
.severity-key svg { width: 9px; height: 9px; }
.audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 27px 34px; }
.audit-section { min-width: 0; }
.audit-section:nth-child(even) { border-left: 1px solid var(--line-soft); padding-left: 28px; }
.audit-section > h3, .section-heading h3 { font: 500 22px/1.2 var(--serif); margin: 0 0 15px; letter-spacing: -.4px; }
.section-heading { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.check-list { padding: 0; margin: 0; list-style: none; }
.check-row { display: grid; grid-template-columns: 19px minmax(0, 1fr) minmax(0, 1.12fr); column-gap: 8px; row-gap: 6px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; line-height: 1.5; }
.check-icon { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--status-color, var(--na)); color: white; font: 700 10px/1 var(--sans); align-self: start; margin-top: 1px; }
.check-icon svg { width: 12px; height: 12px; }
.check-label { color: var(--ink); overflow-wrap: anywhere; }
.check-detail { text-align: right; color: var(--muted); overflow-wrap: anywhere; min-width: 0; font-variant-numeric: tabular-nums; }
.hours-group { white-space: nowrap; }
.check-row.bad .check-detail { color: var(--bad); }
.check-row.warn .check-detail { color: #80570d; }
.check-row.na .check-detail { color: var(--na); }
.fix-line { grid-column: 2 / -1; padding: 5px 0 5px 11px; margin: 3px 0 0; border-left: 2px solid var(--blue); color: var(--ink); font-size: 11.5px; line-height: 1.6; }
.fix-line b, .fix-line strong { font-weight: 650; }
.fix-line .tag { margin-left: 4px; font-size: 10px; }
.speed-summary { display: flex; align-items: center; gap: 17px; margin: 0 0 10px; }
.gauge-speed { width: 86px; height: 86px; }
.gauge-speed .score-value { font-size: 31px; letter-spacing: -.9px; }
.gauge-speed .score-denominator { font-size: 9px; margin-top: 1px; }
.speed-context { min-width: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.speed-context strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 4px; }
.speed-context p { margin: 0 0 4px; }
.speed-label { color: var(--ink); font-size: 11px; font-weight: 500; }
.speed-verdict { color: var(--status-color, var(--muted)); font-size: 10px; }
.speed-measured { display: grid; grid-template-columns: 91px minmax(0, 1fr); column-gap: 16px; align-content: start; }
.speed-measured > h3 { grid-column: 1 / -1; }
.speed-measured > .speed-summary { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; }
.speed-measured .speed-context { text-align: center; }
.speed-measured > .check-list { grid-column: 2; grid-row: 2; }
.speed-measured > .method-note, .speed-measured > .field-data, .speed-measured > .fix-line { grid-column: 1 / -1; }
.speed-measured .check-row { grid-template-columns: 19px minmax(0, 1fr) auto; }
.speed-measured .check-detail { max-width: 75px; }
.speed-context .score-verdict { color: var(--status-color, var(--muted)); font-size: 12px; margin: 0 0 4px; }
.speed-section > .fix-line, .audit-section > .fix-line { margin-top: 10px; }
.method-note, .field-data { font-size: 10px; color: var(--muted); line-height: 1.6; margin: 10px 0 0; overflow-wrap: anywhere; }
.field-data { color: var(--ink); }
.report-footer { border-top: 1px solid var(--line); margin-top: 21px; padding-top: 13px; color: var(--muted); font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; }
.report-footer p { margin: 0 0 4px; }
.report-footer a { color: inherit; }

/* Advice and contact have a clear finish, without an inflated sales promise. */
.help { margin-top: 28px; padding: 27px 28px 24px; border-radius: 10px; background: var(--ink); color: white; }
.help > h2 { margin: 0 0 12px; color: #d8e5f4; font: 600 10px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.help-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.help-copy { min-width: 0; }
.help-title { color: white; font: 400 28px/1.18 var(--serif); letter-spacing: -.6px; margin: 0 0 12px; max-width: 490px; }
.help-copy > p { color: #d9e3ee; font-size: 11.5px; line-height: 1.65; margin: 0; max-width: 500px; }
.help-scope { border-left: 1px solid #ffffff26; padding-left: 26px; display: flex; align-items: center; }
.help-list { list-style: none; padding: 0; margin: 0; font-size: 11px; line-height: 1.6; }
.help-list li { display: flex; gap: 8px; padding: 4px 0; }
.help-list svg { width: 14px; height: 14px; margin-top: 2px; }
.help-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 12px 17px; border-radius: 6px; background: var(--blue); color: white; font: 600 12px/1.4 var(--sans); text-decoration: none; min-height: 44px; transition: background .18s, box-shadow .18s; }
.cta:hover { background: #366ef6; color: white; box-shadow: 0 4px 16px #0002; }
.cta:focus-visible { outline-color: white; }
.cta svg { width: 16px; height: 16px; }
.help-contact { color: #e1ebf5; font-size: 11px; overflow-wrap: anywhere; }
.help-contact a { color: white; }
.help-note { margin: 10px 0 0; color: #c1d1e2; font-size: 9.5px; }

/* Incomplete reports never display an overall score. */
.incomplete .report-header { align-items: center; }
.incomplete-message { margin: 23px 0; padding: 22px 24px; border-left: 3px solid var(--status-color, var(--warn)); background: var(--status-soft, var(--warn-soft)); border-radius: 0 7px 7px 0; }
.alert-heading { display: flex; align-items: baseline; gap: 10px; }
.alert-heading .check-icon { flex: 0 0 17px; align-self: center; margin: -10px 0 0; }
.incomplete-message h2 { font: 500 24px/1.3 var(--serif); margin: 0 0 11px; }
.incomplete-message p { color: var(--ink); font-size: 12px; line-height: 1.7; }
.incomplete-message .fix-line { font-size: 11px; border-left: 0; border-top: 1px solid #132d4920; padding: 12px 0 0; }
.incomplete-score-note { font-weight: 600; }
.incomplete .audit-grid { margin-top: 20px; }

.overview { border-top: 1px solid #d3dfea; padding: 32px 24px 0; margin-top: 39px; }
.overview-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; }
.overview h2 { font: 500 24px/1.25 var(--serif); letter-spacing: -.45px; max-width: 340px; margin-bottom: 18px; }
.overview-heading > p { max-width: 420px; font-size: 12px; color: var(--muted); }
.overview-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; margin-top: 12px; }
.overview-topics > div { border-top: 1px solid var(--line); padding-top: 16px; }
.overview-topics span { font: 400 17px/1.3 var(--serif); color: var(--blue); }
.overview h3 { font-size: 12px; font-weight: 600; margin: 9px 0 6px; }
.overview-topics p { color: var(--muted); font-size: 11.5px; line-height: 1.7; margin: 0; }
.overview-note { font-size: 10.5px; line-height: 1.6; color: var(--muted); margin: 28px 0 0; }
.page-footer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin: 24px 24px 0; padding: 0 0 30px; color: var(--muted); font-size: 10px; }
.page-footer p { margin: 0; }
.page-footer a { color: var(--muted); }
.page-footer .footer-tagline { margin-left: auto; }

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes scan { 0% { transform: translateX(-110%); } 100% { transform: translateX(400%); } }
@keyframes report-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes gauge-fill { from { stroke-dashoffset: 100; } }

@media (max-width: 1000px) {
  .audit-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .severity-key { font-size: 11px; }
  .report { padding-inline: 28px; }
  .audit-grid { column-gap: 24px; }
  .audit-section:nth-child(even) { padding-left: 22px; }
  .check-row { font-size: 11px; grid-template-columns: 17px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
  .loading-steps { gap: 12px; }
  .loading-steps li { flex-direction: column; }
}

@media (max-width: 720px) {
  .site-header-inner, .tool { width: min(calc(100% - 32px), var(--page-width)); }
  .site-header-inner { min-height: 66px; }
  .wordmark { font-size: 21px; gap: 10px; }
  .brand-mark { width: 23px; height: 27px; }
  .tool { padding-top: 28px; }
  .intro { margin: 0 0 21px; }
  .intro h1 { font-size: clamp(40px, 8vw, 55px); letter-spacing: -1.8px; margin-bottom: 10px; }
  .lead { max-width: 430px; font-size: 18px; line-height: 1.45; }
  .input-area { margin: 0; }
  .input-row { gap: 8px; }
  .input-wrap input { height: 52px; font-size: 16px; padding-left: 43px; padding-right: 10px; }
  .input-wrap > svg { left: 14px; width: 18px; height: 18px; }
  .button-primary { padding: 12px 16px; min-width: auto; font-size: 13px; }
  .button-primary > svg { display: none; }
  .input-notes { flex-direction: column; gap: 1px; padding-top: 9px; font-size: 10.5px; }
  .limits summary { justify-content: flex-start; min-height: 32px; }
  .limits > p { left: 0; right: auto; }
  .report-toolbar { margin: 18px 0 12px; gap: 9px; }
  .report-ready { font-size: 18px; }
  .toolbar-actions { gap: 4px; }
  .button-quiet { padding-inline: 8px; font-size: 10px; }
  .button-outline { padding: 9px 10px; font-size: 10px; gap: 6px; }
  .button-outline > svg { width: 14px; height: 14px; }
  .report { padding: 25px 23px 20px; border-radius: 10px; }
  .report-header { gap: 17px; padding-bottom: 22px; }
  .report-title { font-size: clamp(26px, 5vw, 34px); letter-spacing: -.8px; }
  .report-brand { font-size: 8px; line-height: 1.7; margin-bottom: 8px; }
  .report-brand span { display: block; margin-left: 0; }
  .report-host { font-size: 12px; }
  .report-meta { font-size: 10px; }
  .score-summary { flex-basis: 103px; }
  .gauge-overall { width: 100px; height: 100px; }
  .gauge-overall .score-value { font-size: 37px; }
  .score-label { font-size: 10px; }
  .score-verdict { font-size: 9px; }
  .score-note { font-size: 8.5px; }
  .priorities { padding-top: 21px; }
  .priorities > h2, .audit-heading > h2 { font-size: 24px; }
  .priority-item { gap: 12px; padding: 16px 0; }
  .priority-number { flex-basis: 32px; height: 34px; font-size: 16px; border-radius: 5px; }
  .priority-copy h3 { font-size: 17px; line-height: 1.45; }
  .priority-copy .tag { margin: 5px 0 0; display: table; }
  .priority-copy p { font-size: 13px; line-height: 1.65; margin-top: 7px; }
  .audit { padding-top: 21px; }
  .audit-heading { gap: 13px; margin-bottom: 24px; }
  .severity-key { font-size: 11px; gap: 9px 12px; }
  .audit-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .audit-section:nth-child(even) { border: 0; padding-left: 0; }
  .audit-section > h3, .section-heading h3 { font-size: 22px; margin-bottom: 13px; }
  .check-row { font-size: 13px; grid-template-columns: 19px minmax(0, 1fr) minmax(0, 1.1fr); gap: 7px; padding: 11px 0; }
  .fix-line { font-size: 12px; line-height: 1.65; padding-top: 6px; padding-bottom: 6px; }
  .fix-line .tag { font-size: 10px; }
  .speed-summary { gap: 19px; }
  .speed-context { font-size: 11px; }
  .method-note, .field-data { font-size: 10px; }
  .help { margin-top: 28px; padding: 25px 22px; }
  .help-layout { grid-template-columns: 1fr; gap: 20px; }
  .help-title { font-size: 28px; }
  .help-copy > p { font-size: 12px; }
  .help-scope { padding: 15px 0 0; border-left: 0; border-top: 1px solid #ffffff26; }
  .help-list { font-size: 11.5px; }
  .help-actions { gap: 14px; margin-top: 20px; }
  .cta { padding: 13px 16px; font-size: 12px; }
  .help-contact { font-size: 10.5px; }
  .help-note { font-size: 9px; }
  .report-footer { font-size: 9px; line-height: 1.7; }
  .loading { padding: 25px 23px 20px; margin-top: 25px; }
  .loading-top { align-items: flex-start; }
  .loading-heading { gap: 10px; }
  .loading h2 { font-size: 25px; }
  .loading-orbit { width: 39px; height: 39px; }
  .loading-orbit svg { width: 38px; height: 38px; }
  .elapsed { font-size: 9px; }
  .loading-steps { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .loading-steps li { flex-direction: row; }
  .loading-steps b { font-size: 11px; }
  .loading-steps small { font-size: 9px; }
  .loading-bottom { flex-direction: column; gap: 5px; font-size: 10px; }
  .overview { margin-top: 28px; padding: 25px 0 0; }
  .overview-heading { display: block; }
  .overview h2 { font-size: 25px; margin-bottom: 10px; }
  .overview-heading > p { font-size: 12px; }
  .overview-topics { grid-template-columns: 1fr; gap: 20px; margin-top: 25px; }
  .overview-topics > div { display: grid; grid-template-columns: 27px 1fr; column-gap: 12px; padding-top: 18px; }
  .overview-topics span { grid-column: 1; grid-row: 1 / 3; }
  .overview h3 { grid-column: 2; margin: 0 0 5px; font-size: 13px; }
  .overview-topics p { grid-column: 2; font-size: 12px; }
  .page-footer { margin: 22px 0 0; font-size: 10px; gap: 7px 14px; }
  .page-footer .footer-tagline { display: none; }
}

@media (max-width: 410px) {
  .input-row { flex-direction: column; }
  .button-primary { min-height: 48px; font-size: 14px; }
  .button-primary > svg { display: block; }
  .report-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .toolbar-actions { width: 100%; justify-content: space-between; }
  .button-quiet, .button-outline { font-size: 11px; }
  .report { padding: 22px 17px 18px; }
  .report-header { flex-wrap: wrap; gap: 18px; }
  .report-header > :first-child { flex: 1 1 100%; } /* score wraps below so long domains don't break mid-word */
  .score-summary { align-items: flex-start; text-align: left; }
  .report-title { font-size: 26px; }
  .score-summary { flex-basis: 90px; }
  .gauge-overall { width: 86px; height: 86px; }
  .gauge-overall .score-value { font-size: 32px; }
  .score-denominator { font-size: 10px; }
  .score-label { font-size: 9px; }
  .priority-copy h3 { font-size: 16px; }
  .check-row { font-size: 12px; grid-template-columns: 17px minmax(0, 1fr) minmax(0, 1fr); }
  .help { margin-inline: -4px; padding: 23px 17px; }
  .help-title { font-size: 26px; }
  .cta { width: 100%; font-size: 11.5px; justify-content: space-between; }
  .help-contact { font-size: 10px; }
  .loading-top { flex-direction: column; gap: 10px; }
  .elapsed { margin-left: 49px; }
  .loading-steps { gap: 20px 12px; }
  .loading-steps li { gap: 8px; }
  .step-number { width: 25px; height: 25px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loading-track > span { width: 100%; opacity: .45; }
}

/* Visual evidence: numbered boxes on screenshots of the owner's own page. */
.evidence { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 26px; }
.evidence-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.evidence-heading h2 { font: 500 27px/1.2 var(--serif); letter-spacing: -.5px; margin: 0; }
.evidence-heading p { margin: 0; max-width: 360px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.evidence-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.evidence-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ev-first, .ev-shot { margin: 0; min-width: 0; }
.ev-frame { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--na-soft); }
.ev-first .ev-frame { border: 5px solid var(--ink); border-radius: 14px; }
.ev-frame img { position: absolute; left: 0; top: 0; width: 100%; height: auto; display: block; }
.ev-first .ev-frame img { height: 100%; object-fit: cover; object-position: top; }
.ev-box { position: absolute; box-sizing: border-box; border: 2px solid var(--bad); border-radius: 3px; background: #b33f3814; }
.ev-box-main { border-color: var(--blue); background: #245be514; }
.ev-box > .ev-badge { position: absolute; top: -1px; left: -1px; border-radius: 0 0 5px 0; }
.ev-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: var(--ink); color: white; font: 700 10.5px/1 var(--sans); }
.ev-box-main > .ev-badge { background: var(--blue-dark); }
.ev-box:not(.ev-box-main) > .ev-badge { background: var(--bad); }
.ev-first figcaption, .ev-shot figcaption { margin-top: 6px; color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.evidence-legend { list-style: none; margin: 0; padding: 0; }
.evidence-legend li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.evidence-legend li:first-child { padding-top: 0; }
.evidence-legend .ev-badge { flex: 0 0 auto; margin-top: 1px; }
/* legend numbers use the same colour as their box on the screenshot (blue = main content, red = photo/other) */
.evidence-legend .ev-badge-main { background: var(--blue-dark); }
.evidence-legend .ev-badge-issue { background: var(--bad); }
.evidence-legend p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--ink); }
.evidence-legend .ev-goes { margin-top: 2px; color: var(--muted); font-size: 10.5px; }
.ev-see { white-space: nowrap; color: var(--muted); font-size: .92em; margin-left: 4px; }
.ev-see.ev-see-note { white-space: normal; }
.ev-see-badges { white-space: nowrap; }
.ev-see .ev-badge { min-width: 15px; height: 15px; font-size: 9px; margin: 0 2px; vertical-align: 1px; }
@media (max-width: 720px) {
  .evidence-heading { display: block; }
  .evidence-heading h2 { font-size: 24px; margin-bottom: 6px; }
  .evidence-layout { grid-template-columns: 1fr; gap: 18px; }
  .evidence-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ev-first, .ev-shot { width: auto; }
  .ev-see { white-space: normal; }
}

/* A separate, ink-friendly Letter composition. All findings remain printable. */
@media print {
  @page { size: letter; margin: .36in .4in; }
  html { font-size: 11px; scroll-behavior: auto; }
  body { background: white; color: #132d49; }
  .no-print, .skip-link, noscript { display: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; text-shadow: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tool { display: block; width: 100%; max-width: none; padding: 0; margin: 0; }
  .report { border: 0; padding: 0; margin: 0; border-radius: 0; font-size: 8pt; line-height: 1.28; animation: none; }
  .report-header { display: flex; flex-wrap: nowrap; align-items: center; gap: 14pt; padding-bottom: 5pt; break-inside: avoid; }
  .report-header > :first-child { flex: 1 1 auto; min-width: 0; }
  .report-brand { font-size: 6.5pt; margin-bottom: 3pt; line-height: 1.3; }
  .report-brand span { display: inline; margin-left: 3pt; }
  .report-title { font-size: 23pt; line-height: 1.08; margin-bottom: 4pt; letter-spacing: -.6pt; }
  .report-meta { font-size: 6.7pt; line-height: 1.5; }
  .report-host { font-size: 9pt; margin: 0 0 2pt; }
  .score-summary { flex: 0 0 78pt; }
  .gauge-overall { width: 47pt; height: 47pt; }
  .gauge-overall .score-value { font-size: 23pt; }
  .score-denominator { font-size: 7pt; margin-top: 1pt; }
  .score-label { font-size: 6.6pt; margin-bottom: 2pt; }
  .score-verdict { font-size: 6.5pt; margin-top: 3pt; }
  .score-note { font-size: 5.8pt; margin-top: 2pt; line-height: 1.25; }
  .priorities { padding: 5pt 0 0; }
  .priorities > h2, .audit-heading > h2 { font-size: 13pt; margin-bottom: 3pt; line-height: 1.15; letter-spacing: -.3pt; }
  .priority-item { padding: 3pt 0; gap: 9pt; break-inside: avoid; }
  .priority-number { flex: 0 0 21pt; height: 23pt; border-radius: 3pt; font-size: 11pt; }
  .priority-copy h3 { display: inline; font-size: 9.4pt; line-height: 1.3; letter-spacing: 0; }
  .priority-copy .tag { display: inline-block; margin: 0 0 0 5pt; vertical-align: 1pt; }
  .priority-copy p { margin: 2pt 0 0; font-size: 8.2pt; line-height: 1.3; }
  .tag { font-size: 6.2pt; padding: 1pt 4pt; border-radius: 2pt; line-height: 1.4; }
  .audit { padding-top: 5pt; }
  .audit-heading { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 9pt; padding-bottom: 3pt; margin-bottom: 5pt; break-after: avoid; }
  .audit-heading > h2 { margin: 0; }
  .severity-key { display: flex; font-size: 6pt; gap: 5pt; }
  .severity-key > span, .severity-key > li { gap: 2pt; }
  .severity-key .check-icon { width: 8pt; height: 8pt; font-size: 5.5pt; }
  .severity-key svg { width: 6pt; height: 6pt; }
  .audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5pt 15pt; }
  .audit-section:nth-child(even) { border-left: 1px solid #e0e5ec; padding-left: 13pt; }
  .audit-section > h3, .section-heading h3 { font-size: 12pt; margin: 0 0 5pt; line-height: 1.15; letter-spacing: -.2pt; break-after: avoid; }
  .check-row { grid-template-columns: 10pt minmax(0, 1fr) minmax(0, 1.08fr); column-gap: 3pt; row-gap: 2pt; padding: 1.6pt 0; font-size: 8.2pt; line-height: 1.3; break-inside: avoid; }
  .check-icon { width: 9pt; height: 9pt; font-size: 6pt; margin-top: .5pt; }
  .check-icon svg { width: 6pt; height: 6pt; }
  .check-detail { text-align: right; }
  .fix-line { padding: 2pt 0 2pt 5pt; margin: 1pt 0 0; border-left-width: 1.5pt; font-size: 7.5pt; line-height: 1.3; }
  .fix-line .tag { font-size: 6.2pt; margin-left: 2pt; }
  .speed-summary { display: flex; gap: 10pt; margin: 0 0 4pt; }
  .gauge-speed { width: 44pt; height: 44pt; }
  .gauge-speed .score-value { font-size: 19pt; letter-spacing: -.4pt; }
  .gauge-speed .score-denominator { font-size: 5.8pt; }
  .speed-context { font-size: 6.5pt; line-height: 1.35; }
  .speed-context strong { font-size: 7.5pt; margin-bottom: 2pt; }
  .speed-context .score-verdict { font-size: 7pt; margin: 0 0 2pt; }
  .speed-context p { margin-bottom: 2pt; }
  .speed-label { font-size: 6.7pt; }
  .speed-verdict { font-size: 6pt; }
  .speed-measured { grid-template-columns: 47pt minmax(0, 1fr); column-gap: 8pt; }
  .speed-measured > .speed-summary { gap: 4pt; }
  .speed-measured .speed-label { display: none; }
  .speed-measured .check-row { grid-template-columns: 10pt minmax(0, 1fr) auto; }
  .speed-section > .fix-line, .audit-section > .fix-line { margin-top: 4pt; }
  .method-note, .field-data { font-size: 7pt; margin-top: 4pt; line-height: 1.3; }
  .help { background: white; color: var(--ink); border: 1px solid #aabbd1; border-top: 2pt solid var(--ink); border-radius: 4pt; padding: 7pt 10pt; margin: 6pt 0 0; break-inside: avoid; }
  .help > h2 { color: var(--blue-dark); font-size: 6.5pt; letter-spacing: .08em; margin-bottom: 4pt; }
  .help-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14pt; }
  .help-title { color: var(--ink); font-size: 13pt; line-height: 1.15; margin: 0 0 3pt; letter-spacing: -.25pt; max-width: none; }
  .help-copy > p { color: var(--muted); font-size: 7.8pt; line-height: 1.35; }
  .help-scope { border-left: 1px solid var(--line); border-top: 0; padding: 0 0 0 12pt; }
  .help-list { color: var(--ink); font-size: 7.3pt; line-height: 1.35; }
  .help-list li { padding: 1.5pt 0; gap: 4pt; }
  .help-list svg { width: 8pt; height: 8pt; }
  .help-actions { gap: 10pt; margin-top: 4pt; }
  .cta { background: white; color: var(--ink); border: 1px solid #aabbd1; padding: 4pt 8pt; min-height: 0; width: auto; border-radius: 3pt; gap: 8pt; font-size: 7.3pt; }
  .cta svg { width: 9pt; height: 9pt; }
  .help-contact, .help-contact a { color: var(--ink); font-size: 6.8pt; }
  .help-note { color: var(--muted); font-size: 6.8pt; margin-top: 4pt; }
  .report-footer { margin-top: 4pt; padding-top: 3pt; font-size: 7pt; line-height: 1.35; }
  .report-footer p { margin: 0 0 2pt; }
  .incomplete-message { margin: 11pt 0; padding: 10pt 12pt; break-inside: avoid; }
  .incomplete-message h2 { font-size: 15pt; margin-bottom: 6pt; }
  .incomplete-message p { font-size: 8pt; line-height: 1.4; }
  .incomplete-message .fix-line { font-size: 7.5pt; padding-top: 6pt; }
  .incomplete .audit-grid { margin-top: 10pt; }
  a { color: inherit; }
  h2, h3 { break-after: avoid; }
}

/* Evidence prints after the report, kept whole, so page one keeps its layout. */
@media print {
  .report.has-evidence { display: flex; flex-direction: column; }
  .report.has-evidence > * { flex: 0 0 auto; }
  .report.has-evidence > .evidence { order: 10; break-inside: avoid; page-break-inside: avoid; margin-top: 10pt; padding-top: 8pt; }
  .evidence-heading { display: flex; margin-bottom: 8pt; }
  .evidence-heading h2 { font-size: 16pt; letter-spacing: -.3pt; }
  .evidence-heading p { font-size: 8pt; max-width: 260pt; }
  .evidence-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14pt; }
  .evidence-shots { gap: 9pt; }
  .evidence-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ev-first, .ev-shot { break-inside: avoid; }
  .ev-frame { border-radius: 4pt; }
  .ev-first .ev-frame { border-width: 3pt; border-radius: 8pt; }
  .ev-first figcaption, .ev-shot figcaption { font-size: 7pt; margin-top: 3pt; }
  .ev-box { border-width: 1.5pt; }
  .ev-badge { min-width: 12pt; height: 12pt; font-size: 7pt; padding: 0 2.5pt; border-radius: 6pt; }
  .evidence-legend li { padding: 4pt 0; gap: 6pt; break-inside: avoid; }
  .evidence-legend p { font-size: 8pt; line-height: 1.35; }
  .evidence-legend .ev-goes { font-size: 7pt; }
  .ev-see { font-size: 7pt; }
  .check-row .ev-see, .speed-section .ev-see { display: none; } /* page one keeps its length; the top fixes still point to the boxes */
  .ev-see .ev-badge { min-width: 9pt; height: 9pt; font-size: 5.6pt; margin: 0 1pt; padding: 0 1.5pt; }
  .evidence .method-note { font-size: 7pt; margin-top: 8pt; }
}

/* Add-on 2 (preview): "Since your last check" */
.history { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.history-first p { margin: 0; color: var(--muted); font-size: 13px; }
.history-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.history-heading h2 { font: 500 24px/1.2 var(--serif); letter-spacing: -.4px; margin: 0; }
.history-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.hist-scores { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hist-score { display: flex; align-items: baseline; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 13px; }
.hist-score b { font-variant-numeric: tabular-nums; }
.hist-delta { font-weight: 700; font-size: 12px; }
.hist-score.up .hist-delta { color: var(--good, #1f7a4d); } .hist-score.down .hist-delta { color: var(--bad); } .hist-score.flat .hist-delta { color: var(--muted); }
.hist-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.hist-group h3 { font-size: 13px; margin: 0 0 6px; }
.hist-group.better h3 { color: var(--good, #1f7a4d); } .hist-group.worse h3 { color: var(--bad); } .hist-group.changed h3 { color: var(--ink); }
.hist-group ul { list-style: none; margin: 0; padding: 0; }
.hist-group li { padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px; line-height: 1.45; }
.hist-label { display: block; font-weight: 600; }
.hist-from { color: var(--muted); text-decoration: line-through; text-decoration-color: #9aa3ad; }
.hist-checker { display: block; margin-top: 2px; color: var(--warn); font-size: 11px; font-style: italic; }
.hist-none { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .history-heading { display: block; } .history-heading p { margin-top: 4px; } }
@media print { .history { break-inside: avoid; margin-top: 8pt; padding-top: 6pt; } .history-heading h2 { font-size: 14pt; } .hist-group li, .hist-score { font-size: 8pt; } }

/* logo v3 */
.wordmark .brand-mark { width: 26px; height: 26px; flex: none; }
@media (max-width: 640px) { .wordmark .brand-mark { width: 22px; height: 22px; } }

:root { --ss-build: "85504cc886"; }
