:root {
  --ink: #17201d;
  --muted: #68716d;
  --paper: #f5f3ee;
  --surface: #fffdf9;
  --surface-2: #eeece5;
  --line: #dcd9d1;
  --green: #1d5b49;
  --green-2: #2f7a62;
  --green-soft: #dfece5;
  --lime: #c8df71;
  --amber: #a56a1b;
  --amber-soft: #f5e8cf;
  --red: #a84939;
  --red-soft: #f3ded8;
  --shadow: 0 22px 60px rgba(29, 42, 37, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; }
p { line-height: 1.65; }

.site-header { height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(28px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid var(--line); background: rgba(245, 243, 238, .92); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 50; }
.brand { border: 0; background: transparent; display: flex; align-items: center; gap: 11px; padding: 0; text-align: left; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px 3px 10px 3px; background: var(--green); color: var(--lime); font-family: Manrope, sans-serif; font-weight: 700; }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font: 700 15px/1 Manrope, sans-serif; letter-spacing: -.02em; }
.brand small { font-size: 10px; color: var(--muted); margin-top: 5px; letter-spacing: .08em; text-transform: uppercase; }
.header-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { border: 0; background: transparent; padding: 10px 14px; color: var(--muted); font-size: 13px; font-weight: 600; }
.nav-link.active { color: var(--green); }
.method-chip { margin-left: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; color: var(--muted); background: rgba(255,255,255,.45); }
.method-chip i, .privacy-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green-2); }

.page, .result-page { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 370px; display: grid; grid-template-columns: 1.65fr .75fr; gap: 84px; align-items: center; padding: 66px 0 54px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 14px; color: var(--green-2); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .result-head h1, .tab-intro h1 { margin: 0; font: 600 clamp(42px, 5.4vw, 70px)/1.03 Manrope, sans-serif; letter-spacing: -.055em; max-width: 850px; }
.hero h1 em { color: var(--green-2); font-style: normal; }
.lead { max-width: 710px; margin: 24px 0 30px; color: var(--muted); font-size: 17px; }
.principles { display: flex; gap: 30px; flex-wrap: wrap; }
.principles span { font-size: 12px; font-weight: 600; }
.principles b { color: var(--green-2); margin-right: 7px; }
.hero-note { align-self: end; margin-bottom: 24px; padding: 22px 22px 20px; background: var(--green); color: white; border-radius: 3px 18px 3px 18px; box-shadow: var(--shadow); position: relative; }
.hero-note p { margin: 0; font: 500 14px/1.6 Manrope, sans-serif; }
.note-icon { display: block; color: var(--lime); font-size: 24px; margin-bottom: 20px; }

.workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding: 52px 0 90px; align-items: start; }
.analysis-form, .scope-card, .panel, .summary-banner, .question-table, .action-table { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(34, 45, 40, .04); }
.analysis-form { padding: 38px; border-radius: 3px 20px 3px 20px; }
.section-heading { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 32px; }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 700; }
.section-heading h2, .tab-intro h2 { margin: 0; font: 600 27px/1.2 Manrope, sans-serif; letter-spacing: -.035em; }
.section-heading p, .tab-intro > p, .tab-intro > div > p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: grid; gap: 8px; }
label.wide { grid-column: 1 / -1; }
label > span { color: #4f5955; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
input, select, textarea { width: 100%; min-height: 48px; border: 1px solid #d6d4cd; border-radius: 8px; background: #fbfaf6; padding: 0 14px; outline: none; transition: .2s ease; }
textarea { min-height: 132px; padding: 14px; resize: vertical; font: inherit; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(47, 122, 98, .1); background: white; }
input::placeholder, textarea::placeholder { color: #a0a49f; }
.context-field { margin-top: 4px; }
.context-field > span { display: flex; align-items: center; gap: 8px; }
.context-field > span i { padding: 3px 6px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 8px; font-style: normal; font-weight: 600; }
.context-field > small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.audience-field { display: grid; gap: 8px; }
.audience-field.wide { grid-column: 1 / -1; }
.audience-field > label { color: #4f5955; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.audience-field > small { color: var(--muted); font-size: 9px; }
.audience-select { border: 1px solid #d6d4cd; border-radius: 8px; background: #fbfaf6; }
.audience-select summary { min-height: 48px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.audience-select summary::-webkit-details-marker { display: none; }
.audience-select summary span { color: var(--ink); font-size: 12px; font-weight: 600; }
.audience-select summary small { color: var(--green-2); font-size: 9px; }
.audience-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 12px; border-top: 1px solid var(--line); }
.audience-options label { position: relative; cursor: pointer; }
.audience-options input { position: absolute; opacity: 0; pointer-events: none; }
.audience-options span { min-height: 36px; display: flex; align-items: center; justify-content: center; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--muted); font-size: 9px; font-weight: 600; text-align: center; }
.audience-options input:checked + span { border-color: var(--green-2); background: var(--green-soft); color: var(--green); }
.audience-options input:focus-visible + span { box-shadow: 0 0 0 3px rgba(47, 122, 98, .14); }
.audience-fit-panel { margin: 16px 0; border-left: 4px solid var(--green-2); }
.audience-fit-panel.partial { border-left-color: var(--amber); }
.audience-fit-panel.missing { border-left-color: var(--red); }
.audience-fit-panel .panel-head p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.audience-fit-state { padding: 6px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.audience-fit-panel.partial .audience-fit-state { background: var(--amber-soft); color: var(--amber); }
.audience-fit-panel.missing .audience-fit-state { background: var(--red-soft); color: var(--red); }
.audience-fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.audience-fit-grid > div { display: grid; align-content: start; gap: 8px; padding-top: 11px; border-top: 1px solid var(--line); }
.audience-fit-grid b { font-size: 9px; text-transform: uppercase; color: var(--muted); }
.audience-fit-grid p { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.audience-fit-grid p span { padding: 5px 7px; border-radius: 999px; background: var(--surface-2); color: var(--green); font-size: 8px; }
.audience-fit-grid a { color: var(--green-2); font-size: 10px; font-weight: 700; text-decoration: none; }
.audience-fit-grid small, .audience-fit-grid em { color: var(--muted); font-size: 8px; line-height: 1.45; font-style: normal; }
.competitor-box { margin-top: 22px; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.competitor-box summary { list-style: none; padding: 17px 2px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.competitor-box summary::-webkit-details-marker { display: none; }
.competitor-box summary span { font-size: 13px; font-weight: 600; }
.competitor-box summary b { color: var(--green-2); font-size: 18px; margin-right: 8px; }
.competitor-box summary small { color: var(--muted); }
.competitor-fields { display: grid; gap: 10px; padding-bottom: 18px; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 28px; }
.form-footer p { color: var(--muted); font-size: 11px; }
.form-actions { display: flex; align-items: center; gap: 9px; }
.primary-button, .secondary-button { border: 0; border-radius: 8px; min-height: 48px; padding: 0 22px; font-weight: 700; font-size: 13px; }
.primary-button { background: var(--green); color: white; box-shadow: 0 10px 24px rgba(29, 91, 73, .18); }
.primary-button:hover { background: #154b3c; transform: translateY(-1px); }
.primary-button span { margin-left: 22px; color: var(--lime); }
.primary-button.small { min-height: 42px; padding: 0 17px; }
.secondary-button { background: transparent; border: 1px solid #c8cbc5; color: var(--green); }
.scope-card { padding: 30px; border-radius: 3px 20px 3px 20px; position: sticky; top: 96px; }
.scope-card h3 { margin: 0 0 24px; font: 600 22px/1.2 Manrope, sans-serif; }
.scope-card ul { list-style: none; margin: 0; padding: 0; }
.scope-card li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.scope-card li > span { color: var(--green-2); font-size: 10px; font-weight: 700; padding-top: 3px; }
.scope-card li div { display: grid; gap: 4px; }
.scope-card li b { font-size: 13px; }
.scope-card li small { color: var(--muted); line-height: 1.4; }
.scope-warning { margin-top: 22px; padding: 17px; background: var(--green-soft); border-radius: 2px 12px 2px 12px; }
.scope-warning b { color: var(--green); font-size: 12px; }
.scope-warning p { margin: 5px 0 0; color: #4b655b; font-size: 11px; }
.error-box { padding: 13px 16px; margin: -10px 0 24px; border-left: 3px solid var(--red); background: var(--red-soft); color: #7c3328; font-size: 13px; }

.loading-page { min-height: calc(100vh - 74px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 24px; text-align: center; }
.loading-page h1 { max-width: 750px; margin: 0; font: 600 clamp(32px, 5vw, 52px)/1.1 Manrope, sans-serif; letter-spacing: -.045em; }
.loading-page > p:not(.eyebrow) { color: var(--muted); }
.scan-visual { width: 78px; height: 78px; margin-bottom: 28px; border: 1px solid #aabbb5; border-radius: 50%; position: relative; display: grid; place-items: center; }
.scan-visual span { width: 44px; height: 44px; border: 1px solid var(--green-2); border-radius: 50%; }
.scan-visual i { position: absolute; width: 1px; height: 37px; top: 2px; background: var(--lime); transform-origin: bottom; animation: scan 1.5s linear infinite; }
@keyframes scan { to { transform: rotate(360deg); } }
.progress-track { width: min(600px, 80vw); height: 5px; margin-top: 24px; background: #deddd7; overflow: hidden; border-radius: 999px; }
.progress-track i { display: block; height: 100%; background: var(--green-2); transition: width .35s ease; }
.progress-meta { width: min(600px, 80vw); display: flex; justify-content: space-between; padding-top: 10px; font-size: 11px; color: var(--muted); }
.progress-meta strong { color: var(--green); }
.scan-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; width: min(660px, 90vw); margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; text-align: left; }
.scan-steps li { display: flex; align-items: center; gap: 8px; color: #a4a7a2; font-size: 12px; }
.scan-steps li span { width: 18px; height: 18px; border: 1px solid #c9cbc7; border-radius: 50%; display: grid; place-items: center; }
.scan-steps li.done { color: var(--green); }
.scan-steps li.done span { background: var(--green-soft); border-color: transparent; font-size: 10px; }

.result-page { padding-bottom: 70px; }
.result-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 46px 0 34px; }
.result-head h1 { font-size: clamp(38px, 5vw, 60px); }
.result-head .eyebrow { margin: 18px 0 7px; }
.result-head a { display: inline-block; margin-top: 10px; color: var(--muted); font-size: 13px; text-decoration: none; }
.back-link, .text-button { border: 0; background: transparent; padding: 0; color: var(--green-2); font-size: 12px; font-weight: 600; }
.result-actions { display: flex; gap: 9px; }
.tab-nav { display: flex; gap: 5px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-nav button { border: 0; background: transparent; padding: 15px 18px; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; position: relative; }
.tab-nav button.active { color: var(--green); }
.tab-nav button.active::after { content: ""; height: 2px; left: 16px; right: 16px; bottom: -1px; background: var(--green); position: absolute; }
.tab-content { padding-top: 30px; }
.summary-banner { display: grid; grid-template-columns: 1fr 190px; gap: 30px; padding: 34px; border-radius: 3px 18px 3px 18px; }
.summary-banner h2 { margin: 0; max-width: 680px; font: 600 30px/1.2 Manrope, sans-serif; letter-spacing: -.04em; }
.summary-banner > div > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; max-width: 780px; }
.summary-banner aside { border-left: 1px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; justify-content: center; }
.summary-banner aside span, .summary-banner aside small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.summary-banner aside strong { margin: 8px 0; font: 600 26px Manrope, sans-serif; }
.readiness-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0; }
.readiness-card { min-height: 170px; padding: 21px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.readiness-card > div { display: flex; align-items: center; justify-content: space-between; }
.metric-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--green); }
.readiness-card small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.readiness-card strong { display: block; margin-top: 26px; font: 600 18px Manrope, sans-serif; }
.readiness-card p { margin: 6px 0 20px; color: var(--muted); font-size: 11px; }
.readiness-card > i { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--level); background: var(--green-2); }
.readiness-card.medium > i { background: #c49542; }
.readiness-card.bad > i { background: var(--red); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { padding: 28px; }
.panel-head, .tab-intro.split { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.panel-head h3 { margin: 0; font: 600 21px Manrope, sans-serif; }
.opportunity-list { margin: 22px 0 0; padding: 0; list-style: none; }
.opportunity-list li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 17px 0; border-top: 1px solid var(--line); }
.opportunity-list li > span { color: var(--green-2); font-size: 10px; font-weight: 700; }
.opportunity-list b { font-size: 13px; }
.opportunity-list p { margin: 4px 0; color: var(--muted); font-size: 11px; }
.opportunity-list small { color: var(--green-2); font-size: 10px; }
.timeline { margin-top: 22px; border-left: 1px solid #bfcac5; }
.timeline > div { padding: 0 0 22px 22px; position: relative; }
.timeline > div::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--green-2); position: absolute; left: -6px; top: 4px; }
.timeline b { font-size: 12px; }
.timeline span { margin-left: 10px; color: var(--green-2); font-size: 10px; text-transform: uppercase; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }

.tab-intro { padding: 14px 0 30px; }
.tab-intro h2 { font-size: 34px; }
.tab-intro.split > div > p:last-child { max-width: 680px; }
.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.check-grid article { min-height: 105px; display: flex; gap: 12px; padding: 17px; background: var(--surface); border: 1px solid var(--line); }
.check-icon { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700; }
.check-icon.ok { color: var(--green); background: var(--green-soft); }
.check-icon.warn { color: var(--red); background: var(--red-soft); }
.check-grid b { font-size: 12px; }
.check-grid p { margin: 5px 0 0; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.findings-table { margin-top: 20px; }
.crawler-panel { margin: 16px 0; }
.crawler-panel .panel-head p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.crawler-panel code { padding: 2px 5px; border-radius: 4px; background: var(--surface-2); color: var(--green); }
.crawler-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 20px; }
.technical-depth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
.technical-depth-grid .panel { padding: 21px; }
.technical-depth-grid h3 { margin: 0; font: 600 19px Manrope, sans-serif; }
.technical-depth-grid > article > p:not(.eyebrow) { margin: 8px 0 14px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.technical-depth-grid ul { margin: 0; padding: 0; list-style: none; }
.technical-depth-grid li { display: grid; gap: 3px; padding: 9px 0; border-top: 1px solid var(--line); }
.technical-depth-grid li b, .technical-depth-grid li a { color: var(--ink); font-size: 10px; font-weight: 700; text-decoration: none; }
.technical-depth-grid li span { color: var(--muted); font-size: 9px; line-height: 1.45; }
.schema-valid { margin-top: 16px; padding: 12px 14px; background: var(--green-soft); color: var(--green); font-size: 10px; font-weight: 700; }
.schema-issue-list li span { color: var(--red); }
.technical-audit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 14px 0; }
.audit-panel .panel-head { align-items: start; }
.audit-panel h3 { margin-top: 2px; font: 600 21px Manrope, sans-serif; }
.audit-state { padding: 6px 9px; border-radius: 999px; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.audit-state.good { color: var(--green); background: var(--green-soft); }
.audit-state.attention { color: var(--amber); background: var(--amber-soft); }
.method-note { max-width: 650px; margin: 8px 0 18px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.audit-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.audit-metrics.mobile { grid-template-columns: repeat(2, 1fr); }
.audit-metrics > div { display: grid; gap: 4px; min-height: 76px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audit-metrics strong { color: var(--ink); font: 600 18px Manrope, sans-serif; }
.audit-metrics strong small { font-size: 9px; }
.audit-metrics span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .04em; }
.audit-summary { margin: 14px 0 0; color: var(--muted); font-size: 9px; }
.pagespeed-panel { margin: 14px 0; }
.pagespeed-panel .panel-head p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.source-badge { padding: 6px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.pagespeed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.pagespeed-run { padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.pagespeed-run-head { display: flex; justify-content: space-between; align-items: start; }
.pagespeed-run-head > div { display: flex; align-items: center; gap: 12px; }
.pagespeed-run-head span, .pagespeed-run.unavailable > span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.pagespeed-run-head small { color: var(--muted); font-size: 8px; }
.score { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; font: 700 16px Manrope, sans-serif; }
.score.good { color: var(--green); background: var(--green-soft); }
.score.average { color: var(--amber); background: var(--amber-soft); }
.score.poor { color: var(--red); background: var(--red-soft); }
.category-scores { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0; border: 1px solid var(--line); }
.category-scores > div { display: grid; gap: 3px; padding: 10px; border-right: 1px solid var(--line); }
.category-scores > div:last-child { border-right: 0; }
.category-scores b { font-size: 14px; }
.category-scores span { color: var(--muted); font-size: 7px; text-transform: uppercase; }
.psi-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.psi-metrics span { display: grid; gap: 3px; padding: 9px; background: var(--surface-2); color: var(--muted); font-size: 7px; text-transform: uppercase; }
.psi-metrics b { color: var(--ink); font-size: 10px; text-transform: none; }
.field-data { display: grid; gap: 4px; margin-top: 12px; padding: 11px; border-left: 3px solid var(--green-2); background: #fbfcf9; }
.field-data b { font-size: 9px; }
.field-data span { color: var(--muted); font-size: 8px; }
.psi-opportunities { margin: 13px 0 0; padding: 0; list-style: none; }
.psi-opportunities li { display: grid; gap: 3px; padding: 8px 0; border-top: 1px solid var(--line); }
.psi-opportunities b { font-size: 9px; }
.psi-opportunities span, .pagespeed-run.unavailable p { color: var(--muted); font-size: 8px; }
.pagespeed-run.unavailable { display: grid; gap: 8px; align-content: start; }
.crawler-card { min-height: 125px; padding: 15px; border: 1px solid var(--line); border-top: 3px solid var(--green-2); background: #fbfcf9; }
.crawler-card.limited { border-top-color: #c49542; background: #fffcf6; }
.crawler-card.blocked { border-top-color: var(--red); background: #fff9f7; }
.crawler-card > div { display: grid; gap: 7px; }
.crawler-card b { font-size: 11px; }
.crawler-card span { justify-self: start; padding: 4px 7px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 8px; font-weight: 700; }
.crawler-card.limited span { background: var(--amber-soft); color: var(--amber); }
.crawler-card.blocked span { background: var(--red-soft); color: var(--red); }
.crawler-card p { min-height: 33px; margin: 12px 0 7px; color: var(--muted); font-size: 9px; line-height: 1.4; overflow-wrap: anywhere; }
.crawler-card small { color: #929994; font-size: 8px; }
.findings-table > div { display: grid; grid-template-columns: 75px 1.25fr 1fr; gap: 18px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.priority { justify-self: start; padding: 5px 8px; border-radius: 999px; color: var(--amber); background: var(--amber-soft); font-size: 9px; text-transform: uppercase; }
.priority.hoch { color: var(--red); background: var(--red-soft); }
.findings-table b { display: block; font-size: 12px; }
.findings-table small, .findings-table em { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; font-style: normal; }
.findings-table a { display: inline-block; margin-top: 4px; color: var(--green-2); font-size: 9px; text-decoration: none; }
.findings-table p { margin: 0; color: var(--muted); font-size: 11px; }
.findings-table p b { margin-bottom: 5px; color: var(--text); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.legend { display: flex; gap: 24px; margin: -10px 0 16px; color: var(--muted); font-size: 10px; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.legend .good { background: var(--green-2); }.legend .medium { background: #c49542; }.legend .bad { background: var(--red); }
.question-table { overflow: hidden; }
.action-table { overflow-x: auto; }
.action-header, .action-card { min-width: 960px; }
.table-header, .table-row { display: grid; grid-template-columns: 1fr 150px 110px; align-items: center; }
.table-header { padding: 13px 22px 13px 64px; color: var(--muted); background: var(--surface-2); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.table-row { grid-template-columns: 42px 1fr 150px 110px; min-height: 61px; padding: 0 22px; border-top: 1px solid var(--line); }
.evidence-row { min-height: 96px; padding-top: 13px; padding-bottom: 13px; }
.table-row b { font-size: 12px; }
.question-copy { min-width: 0; padding-right: 18px; }
.question-copy > b { display: block; }
.question-copy p { margin: 6px 0 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.question-copy p.no-evidence { color: var(--red); }
.question-copy a { color: var(--green-2); font-size: 9px; text-decoration: none; }
.question-index { color: #a0a59f; font: 600 10px Manrope, sans-serif; }
.phase-pill { justify-self: start; padding: 5px 9px; background: var(--surface-2); border-radius: 999px; font-size: 9px; }
.coverage { font-size: 10px; font-weight: 700; }
.coverage::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; }
.coverage.good { color: var(--green); }.coverage.good::before { background: var(--green-2); }
.coverage.medium { color: var(--amber); }.coverage.medium::before { background: #c49542; }
.coverage.bad { color: var(--red); }.coverage.bad::before { background: var(--red); }
.action-header, .action-row { display: grid; grid-template-columns: minmax(260px, 1fr) 90px 90px 90px 100px 105px 95px; gap: 10px; align-items: center; }
.action-header { padding: 13px 20px; background: var(--surface-2); color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.action-card { border-top: 1px solid var(--line); }
.action-row { min-height: 82px; padding: 12px 20px; }
.action-row > div:first-child { display: grid; grid-template-columns: 34px 1fr; }
.action-row b { font-size: 12px; }
.action-row small { grid-column: 2; margin-top: 3px; color: var(--muted); font-size: 10px; }
.action-number { grid-row: 1 / 3; color: var(--green-2); font-size: 10px; }
.action-row select { min-height: 36px; padding: 0 9px; font-size: 10px; }
.timing { justify-self: start; padding: 6px 9px; color: var(--green); background: var(--green-soft); border-radius: 999px; font-size: 9px; font-weight: 700; }
.action-save-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--green); font-size: 9px; font-weight: 700; }
.action-save-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); }
.action-save-status.saving { color: var(--amber); }
.action-save-status.saving::before { background: var(--amber); animation: pulse 1s infinite; }
.action-save-status.error { color: var(--red); }
.action-save-status.error::before { background: var(--red); }
.action-save-status.temporary { color: var(--muted); }
.action-save-status.temporary::before { background: #a8ada9; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
.implementation-guide { border-top: 1px dashed var(--line); background: #fbfcf9; }
.implementation-guide summary { display: flex; justify-content: space-between; gap: 20px; padding: 13px 20px; color: var(--green-2); font-size: 10px; font-weight: 700; cursor: pointer; }
.implementation-guide summary span { color: var(--muted); font-weight: 500; }
.guide-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; padding: 6px 20px 22px; }
.guide-grid section { padding: 17px; border: 1px solid var(--line); background: white; }
.guide-grid small, .presentation-change small, .presentation-boundary small { color: var(--green-2); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.guide-grid p { margin: 7px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.guide-grid a { color: var(--green-2); font-size: 9px; text-decoration: none; }
.guide-grid ol { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.before-after > div:last-child { padding-left: 13px; border-left: 2px solid var(--green-2); }
.competitor-results, .history-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.competitor-results article { padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.competitor-results article > div { display: flex; align-items: center; gap: 12px; }
.site-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: var(--green); color: var(--lime); font-weight: 700; }
.competitor-results article > div > div { display: grid; }
.competitor-results small { color: var(--muted); font-size: 10px; }
.competitor-results ul { margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.competitor-results li { padding: 6px 0; color: var(--muted); font-size: 11px; }
.empty-state { min-height: 310px; display: grid; place-items: center; align-content: center; text-align: center; background: var(--surface); border: 1px solid var(--line); }
.empty-state > span { color: var(--green-2); font-size: 30px; }
.empty-state h3 { margin: 14px 0 0; }
.empty-state p { margin: 7px 0 20px; color: var(--muted); font-size: 12px; }
.beta-chip { display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 999px; background: #ece7ff; color: #6550a8; font-size: 8px; vertical-align: middle; }
.beta-notice { display: flex; gap: 18px; align-items: baseline; margin-bottom: 14px; padding: 15px 18px; border-left: 3px solid #806ac4; background: #f5f2ff; }
.beta-notice.warning { border-left-color: var(--amber); background: var(--amber-soft); }
.beta-notice b { flex: 0 0 auto; font-size: 11px; }
.beta-notice p { margin: 0; color: var(--muted); font-size: 10px; }
.visibility-question-panel { margin-bottom: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.visibility-question-panel h3 { margin: 0 0 18px; font: 600 20px Manrope, sans-serif; }
.visibility-question-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.visibility-question-grid label { display: flex; gap: 10px; align-items: flex-start; min-height: 78px; padding: 13px; border: 1px solid var(--line); background: #fbfcf9; cursor: pointer; }
.visibility-question-grid input { margin-top: 3px; accent-color: var(--green); }
.visibility-question-grid span { display: grid; gap: 5px; }
.visibility-question-grid small { color: var(--green-2); font-size: 8px; text-transform: uppercase; }
.visibility-question-grid b { font-size: 10px; line-height: 1.4; }
.visibility-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.visibility-metrics article { padding: 20px; background: var(--green); color: white; }
.visibility-metrics small { color: #b7c9c1; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.visibility-metrics strong { display: block; margin: 7px 0 2px; font: 600 30px Manrope, sans-serif; color: var(--lime); }
.visibility-metrics p { margin: 0; color: #d7e2dd; font-size: 9px; }
.observation-list { display: grid; gap: 10px; }
.observation-list > article { padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.observation-list header { display: flex; justify-content: space-between; gap: 20px; }
.observation-list header > div:first-child { display: grid; gap: 5px; }
.observation-list header span { color: var(--green-2); font-size: 8px; text-transform: uppercase; }
.observation-list header b { font-size: 12px; }
.observation-list > article > p { white-space: pre-line; margin: 17px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.observation-flags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.observation-flags i { align-self: flex-start; padding: 5px 8px; border-radius: 999px; font-size: 8px; font-style: normal; }
.observation-flags .yes { color: var(--green); background: var(--green-soft); }
.observation-flags .no { color: var(--red); background: var(--red-soft); }
.observation-list footer { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 12px; border-top: 1px solid var(--line); }
.observation-list footer a, .observation-list footer span { color: var(--green-2); font-size: 9px; text-decoration: none; }
.visibility-empty { min-height: 230px; }
.context-status { align-self: flex-start; padding: 8px 11px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 9px; font-weight: 700; }
.context-status.active { background: var(--green-soft); color: var(--green); }
.work-context-summary { display: grid; grid-template-columns: 1fr 210px; gap: 28px; margin-bottom: 14px; padding: 28px; border-radius: 3px 16px 3px 16px; background: var(--green); color: white; }
.work-context-summary small, .work-context-summary span { color: #bcd0c7; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.work-context-summary h3 { max-width: 850px; margin: 8px 0 0; font: 500 22px/1.4 Manrope, sans-serif; }
.work-context-summary aside { display: flex; flex-direction: column; justify-content: center; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.work-context-summary aside b { margin: 7px 0; color: var(--lime); font-size: 12px; }
.work-grid, .work-two-column { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.work-two-column { grid-template-columns: 1fr 1fr; }
.work-list, .work-angle, .work-questions { min-height: 150px; padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.work-list > small, .work-angle > small, .work-questions > small { color: var(--green-2); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.work-list ul, .work-questions ol { margin: 13px 0 0; padding-left: 18px; }
.work-list li, .work-questions li { margin: 7px 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.work-list p { color: var(--muted); font-size: 10px; }
.work-approach { margin-bottom: 14px; }
.work-approach > ol { margin: 20px 0 0; padding: 0; list-style: none; }
.work-approach > ol > li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.work-approach > ol > li > span { color: var(--green-2); font-size: 9px; font-weight: 700; }
.work-approach b { font-size: 12px; }
.work-approach p { margin: 4px 0; color: var(--muted); font-size: 10px; }
.work-approach small { color: var(--green-2); font-size: 9px; }
.work-angle blockquote { margin: 18px 0 0; color: var(--green); font: 500 20px/1.45 Manrope, sans-serif; }
.work-source-note { margin: 16px 0 0; color: var(--muted); font-size: 9px; }
.report-footer { display: flex; justify-content: space-between; gap: 30px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.report-footer p { max-width: 800px; margin: 0; }

.presentation-page { width: 100%; min-height: 100vh; padding: 0 5vw; background: #f5f4ef; color: var(--text); display: grid; grid-template-rows: 76px 1fr 76px; }
.presentation-page > header, .presentation-page > footer { display: flex; align-items: center; justify-content: space-between; }
.presentation-page > header { border-bottom: 1px solid var(--line); }
.presentation-page > header button, .presentation-page > footer button { border: 0; background: transparent; color: var(--green); font-size: 11px; font-weight: 700; }
.presentation-page > footer { gap: 30px; border-top: 1px solid var(--line); }
.presentation-page > footer nav { display: flex; gap: 12px; }
.presentation-page > footer button { padding: 10px 12px; }
.presentation-page > footer button:disabled { color: #a8aca8; }
.presentation-brand { display: flex; align-items: center; gap: 10px; }
.presentation-brand span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--green); color: var(--lime); }
.presentation-brand b { font: 600 14px Manrope, sans-serif; }
.presentation-slide { width: min(1120px, 100%); margin: auto; padding: 5vh 0; }
.presentation-slide h1, .presentation-slide h2 { margin: 10px 0 24px; max-width: 960px; font: 600 clamp(44px, 6vw, 82px)/1.02 Manrope, sans-serif; letter-spacing: -.055em; }
.presentation-slide h2 { font-size: clamp(36px, 4.7vw, 66px); }
.presentation-kicker { color: var(--green-2); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.presentation-kicker i { margin-left: 5px; padding: 3px 7px; border-radius: 999px; background: #ece7ff; color: #6550a8; font-style: normal; }
.presentation-lead { max-width: 780px; color: var(--muted); font-size: clamp(18px, 2vw, 26px); line-height: 1.45; }
.presentation-context { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 35px; }
.presentation-context span { padding: 9px 13px; border: 1px solid var(--line); background: white; color: var(--muted); font-size: 10px; }
.presentation-columns, .presentation-findings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.presentation-columns > div, .presentation-findings article { min-height: 150px; padding: 25px; border: 1px solid var(--line); background: white; display: flex; flex-direction: column; justify-content: flex-end; }
.presentation-columns strong, .presentation-findings span { color: var(--green); font: 600 44px Manrope, sans-serif; }
.presentation-columns span, .presentation-findings p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.presentation-note { max-width: 850px; margin: 28px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.presentation-opportunities { margin: 30px 0 0; padding: 0; list-style: none; }
.presentation-opportunities li { display: grid; grid-template-columns: 50px 1fr; gap: 15px; padding: 19px 0; border-top: 1px solid var(--line); }
.presentation-opportunities li > span { color: var(--green-2); font-size: 11px; font-weight: 700; }
.presentation-opportunities b { font-size: 17px; }
.presentation-opportunities p { margin: 5px 0; color: var(--muted); font-size: 12px; }
.presentation-opportunities small { color: var(--green-2); font-size: 9px; }
.presentation-change { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; margin-top: 12px; padding: 22px; border: 1px solid var(--line); background: white; }
.presentation-change b { display: block; margin-top: 6px; font-size: 15px; }
.presentation-change p { margin: 7px 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.presentation-change > div:last-child { padding-left: 20px; border-left: 3px solid var(--green-2); }
.presentation-change span { color: var(--green-2); font-size: 9px; }
.presentation-roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 35px; }
.presentation-roadmap article { min-height: 210px; padding: 25px; background: var(--green); color: white; }
.presentation-roadmap span { color: var(--lime); font-size: 10px; text-transform: uppercase; }
.presentation-roadmap b { display: block; margin-top: 45px; font: 600 22px Manrope, sans-serif; }
.presentation-roadmap p { color: #c9d8d2; font-size: 11px; line-height: 1.55; }
.presentation-beta, .presentation-boundary { padding: 25px; border: 1px solid var(--line); background: white; }
.presentation-beta b { font-size: 20px; }
.presentation-beta p { max-width: 750px; color: var(--muted); line-height: 1.6; }
.presentation-boundary { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.presentation-boundary article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.presentation-boundary p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.presentation-slide blockquote { max-width: 900px; margin: 25px 0 0; color: var(--green); font: 500 24px/1.45 Manrope, sans-serif; }
.presentation-progress { display: flex; align-items: center; gap: 15px; min-width: 240px; }
.presentation-progress::before { content: ""; width: 180px; height: 3px; background: linear-gradient(to right, var(--green-2) var(--progress, 0%), #d9ddd9 var(--progress, 0%)); }
.presentation-progress span { color: var(--muted); font-size: 9px; }

/* High-contrast presenter view: designed to be read from a distance. */
.presentation-page { background: #10271f; color: #f8f7ef; }
.presentation-page > header { border-bottom-color: rgba(255,255,255,.16); }
.presentation-page > footer { border-top-color: rgba(255,255,255,.16); }
.presentation-page > header button { min-height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #f8f7ef; font-size: 12px; }
.presentation-tools { display: flex; gap: 8px; }
.presentation-brand span { background: var(--lime); color: #10271f; }
.presentation-brand b { color: white; font-size: 16px; }
.presentation-slide { max-height: calc(100vh - 152px); padding: 3vh 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.presentation-slide h1, .presentation-slide h2 { color: #fffdf5; }
.presentation-slide h1 { font-size: clamp(52px, 7vw, 90px); }
.presentation-slide h2 { font-size: clamp(42px, 5.2vw, 72px); }
.presentation-kicker { color: var(--lime); font-size: 12px; }
.presentation-lead { color: #d6e4dd; font-size: clamp(21px, 2.4vw, 30px); }
.presentation-context span { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); color: #eef5f1; font-size: 13px; }
.presentation-columns > div, .presentation-findings article { border: 0; border-radius: 8px; background: #f8f7ef; }
.presentation-columns strong, .presentation-findings span { color: #19624b; font-size: 52px; }
.presentation-columns span, .presentation-findings p { color: #43524c; font-size: 15px; line-height: 1.45; }
.presentation-note { color: #d6e4dd; font-size: 17px; line-height: 1.55; }
.presentation-opportunities li { border-top-color: rgba(255,255,255,.2); }
.presentation-opportunities li > span { color: var(--lime); font-size: 13px; }
.presentation-opportunities b { color: white; font-size: 21px; }
.presentation-opportunities p { color: #d6e4dd; font-size: 16px; line-height: 1.45; }
.presentation-opportunities small { color: var(--lime); font-size: 12px; }
.presentation-change { border: 0; border-radius: 8px; background: #f8f7ef; color: #17251f; }
.presentation-change small, .presentation-boundary small { color: #19624b; font-size: 10px; }
.presentation-change b { font-size: 18px; }
.presentation-change p { color: #43524c; font-size: 15px; line-height: 1.55; }
.presentation-change span { color: #19624b; font-size: 12px; }
.presentation-roadmap article { border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: #183e31; }
.presentation-roadmap span { font-size: 12px; }
.presentation-roadmap p { color: #e0ebe6; font-size: 15px; }
.presentation-beta, .presentation-boundary { border: 0; border-radius: 8px; background: #f8f7ef; color: #17251f; }
.presentation-beta p, .presentation-boundary p { color: #43524c; font-size: 16px; }
.presentation-boundary article + article { border-left-color: #c8d2cd; }
.presentation-slide blockquote { color: var(--lime); font-size: clamp(24px, 3vw, 34px); }
.presentation-progress { color: #f8f7ef; }
.presentation-progress::before { height: 5px; border-radius: 999px; background: linear-gradient(to right, var(--lime) var(--progress, 0%), rgba(255,255,255,.2) var(--progress, 0%)); }
.presentation-progress span { color: #d6e4dd; font-size: 11px; }
.presentation-page > footer nav { gap: 8px; }
.presentation-page > footer button { min-width: 118px; min-height: 46px; padding: 0 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; color: white; font-size: 13px; }
.presentation-page > footer .presentation-next { border-color: var(--lime); background: var(--lime); color: #10271f; }
.presentation-page > footer button:disabled { border-color: rgba(255,255,255,.1); background: transparent; color: rgba(255,255,255,.28); }
.history-page { padding-top: 55px; }
.history-page .tab-intro h1 { font-size: 50px; }
.history-grid button { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); background: var(--surface); padding: 20px; text-align: left; }
.history-grid button:hover { border-color: #aab8b2; transform: translateY(-2px); box-shadow: var(--shadow); }
.history-grid button div { display: grid; gap: 3px; min-width: 0; }
.history-grid button b { font-size: 13px; }
.history-grid button small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.history-grid button p { margin: 5px 0 0; font-size: 10px; color: var(--green-2); }

.project-cockpit { padding-bottom: 80px; }
.project-overview { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 18px; border: 1px solid var(--line); background: var(--green); color: white; }
.project-overview article { padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.16); }
.project-overview article:last-child { border-right: 0; }
.project-overview strong { display: block; color: var(--lime); font: 600 31px Manrope, sans-serif; }
.project-overview span { color: #dce8e2; font-size: 10px; }
.project-list { display: grid; gap: 16px; }
.project-card { border: 1px solid var(--line); background: var(--surface); box-shadow: 0 12px 34px rgba(34,45,40,.04); }
.project-card > header { display: flex; justify-content: space-between; gap: 24px; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.project-identity { display: flex; gap: 15px; align-items: flex-start; }
.project-identity .site-avatar { margin-top: 2px; }
.project-identity .eyebrow { margin-bottom: 5px; }
.project-identity h2 { margin: 0; font: 600 25px Manrope, sans-serif; letter-spacing: -.035em; }
.project-identity a { color: var(--muted); font-size: 10px; text-decoration: none; }
.project-meta { display: grid; justify-items: end; align-content: center; gap: 4px; }
.project-meta b { color: var(--green); font-size: 11px; }
.project-meta span { color: var(--muted); font-size: 9px; }
.project-body { display: grid; grid-template-columns: .75fr 1.15fr 1fr; }
.project-body > section { min-width: 0; padding: 24px 26px; border-right: 1px solid var(--line); }
.project-body > section:last-child { border-right: 0; }
.project-status label > span, .project-notes label > span { font-size: 9px; }
.project-status select { min-height: 40px; font-size: 11px; }
.project-progress { margin-top: 22px; }
.project-progress > div { display: flex; justify-content: space-between; gap: 10px; }
.project-progress b, .project-versions > b { font-size: 10px; }
.project-progress span { color: var(--muted); font-size: 9px; }
.project-progress > i { display: block; height: 5px; margin-top: 9px; border-radius: 999px; background: #e3e5e1; overflow: hidden; }
.project-progress > i span { display: block; height: 100%; background: var(--green-2); }
.project-versions { margin-top: 21px; }
.project-versions > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.project-versions button { min-width: 34px; min-height: 29px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--green); font-size: 9px; font-weight: 700; }
.project-versions button:first-child { border-color: var(--green-2); background: var(--green-soft); }
.project-next .eyebrow { margin-bottom: 6px; }
.project-next ol { margin: 0; padding: 0; list-style: none; }
.project-next li { display: grid; grid-template-columns: 62px 1fr auto; gap: 9px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.project-next li > span { padding: 4px 6px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-size: 8px; text-align: center; }
.project-next li b { font-size: 10px; line-height: 1.35; }
.project-next li small { color: var(--muted); font-size: 8px; }
.project-complete { display: flex; align-items: center; gap: 10px; padding: 18px; background: var(--green-soft); color: var(--green); font-size: 11px; }
.project-notes textarea { min-height: 112px; font-size: 11px; }
.project-notes > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.project-notes [data-project-save-status] { color: var(--muted); font-size: 8px; }
.project-card > footer { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 26px; border-top: 1px solid var(--line); background: #faf9f5; }
.project-card > footer button { min-height: 38px; padding: 0 14px; font-size: 10px; }

.version-badge { display: inline-flex; margin-left: 8px; padding: 4px 8px; border-radius: 999px; background: #e8eee9; color: var(--green); font-size: 9px; letter-spacing: .03em; vertical-align: middle; }
.comparison-loading { min-height: 320px; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; }
.comparison-loading span { width: 34px; height: 34px; border: 3px solid #d9e0dc; border-top-color: var(--green-2); border-radius: 50%; animation: spin .8s linear infinite; }
.comparison-loading h2, .comparison-loading p { margin: 0; }
.comparison-loading p { color: var(--muted); }
.comparison-empty { margin-top: 20px; }
.comparison-intro { padding-bottom: 24px; }
.version-path { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.version-path > span { display: grid; gap: 3px; min-width: 150px; padding: 12px 15px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 12px; font-weight: 700; }
.version-path > span.current { border-color: var(--green-2); background: #edf5f0; }
.version-path small { color: var(--muted); font-size: 9px; font-weight: 500; }
.version-path i { color: var(--green-2); font-style: normal; }
.comparison-score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.comparison-score-card { padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.comparison-score-card > small { display: block; min-height: 28px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.comparison-score-card > div { display: flex; align-items: baseline; gap: 10px; margin: 12px 0; }
.comparison-score-card > div span { color: var(--muted); font: 500 24px Manrope, sans-serif; }
.comparison-score-card > div strong { color: var(--green); font: 600 38px Manrope, sans-serif; }
.comparison-score-card > div i { color: #a5afa9; font-style: normal; }
.score-delta { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 9px; }
.score-delta.positive { background: #e2f3e7; color: #23763f; }
.score-delta.negative { background: #fbe8e4; color: #a34433; }
.score-delta.neutral { background: #ecefed; color: var(--muted); }
.comparison-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px 0; border: 1px solid var(--line); background: var(--green); color: white; }
.comparison-summary article { padding: 18px 20px; border-right: 1px solid rgba(255,255,255,.16); }
.comparison-summary article:last-child { border-right: 0; }
.comparison-summary strong { display: block; color: var(--lime); font: 600 27px Manrope, sans-serif; }
.comparison-summary span { color: #d8e5df; font-size: 10px; }
.comparison-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.question-change-list, .change-list { margin: 0; padding: 0; list-style: none; }
.question-change-list li, .change-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.question-change-list b, .change-list b { font-size: 11px; line-height: 1.45; }
.question-change-list span, .change-list span { flex: 0 0 auto; color: var(--muted); font-size: 9px; }
.question-change-list li.improved span { color: #23763f; }
.question-change-list li.regressed span { color: #a34433; }
.comparison-resolved { border-top: 3px solid #72a982; }
.comparison-new { border-top: 3px solid #c87966; }
.comparison-none { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.comparison-method-note { margin: 18px 0 0; padding: 15px 18px; border-left: 3px solid #aeb8b2; background: #ecefed; color: var(--muted); font-size: 10px; line-height: 1.55; }
.quality-verdict { min-width: 150px; padding: 16px 20px; border-left: 3px solid var(--amber); background: var(--amber-soft); }
.quality-verdict.ready { border-color: var(--green-2); background: var(--green-soft); }
.quality-verdict.warning { border-color: var(--red); background: var(--red-soft); }
.quality-verdict strong { display: block; color: var(--green); font: 600 28px Manrope, sans-serif; }
.quality-verdict span { color: var(--muted); font-size: 9px; }
.quality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quality-grid article { display: grid; grid-template-columns: 30px 1fr; gap: 12px; min-height: 145px; padding: 19px; border: 1px solid var(--line); background: var(--surface); }
.quality-grid article > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 10px; font-weight: 700; }
.quality-grid article.attention > span { background: var(--amber-soft); color: var(--amber); }
.quality-grid small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.quality-grid b { display: block; margin-top: 5px; font-size: 15px; }
.quality-grid p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.quality-details ul { margin: 0; padding-left: 17px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.quality-details li + li { margin-top: 7px; }
.presentation-editor-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.presentation-editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.presentation-copy { display: grid; gap: 18px; }
.presentation-editor-note { padding: 16px 18px; background: var(--green-soft); }
.presentation-editor-note b { color: var(--green); font-size: 11px; }
.presentation-editor-note p { margin: 5px 0 0; color: #4b655b; font-size: 10px; }
.slide-selector { display: grid; gap: 7px; }
.slide-selector label { display: block; }
.slide-selector input, .presentation-action-selector input { position: absolute; opacity: 0; pointer-events: none; }
.slide-selector label > span { display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 0 13px; border: 1px solid var(--line); background: #fbfaf6; color: var(--muted); font-size: 10px; text-transform: none; letter-spacing: 0; cursor: pointer; }
.slide-selector label > span i { color: var(--green-2); font-size: 9px; font-style: normal; }
.slide-selector input:checked + span { border-color: var(--green-2); background: var(--green-soft); color: var(--green); font-weight: 700; }
.slide-selector input:disabled + span { cursor: default; }
.presentation-action-selector { margin-top: 14px; }
.presentation-action-selector > div:last-child { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.presentation-action-selector label > span { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 14px; border: 1px solid var(--line); background: #fbfaf6; cursor: pointer; }
.presentation-action-selector label > span i { color: var(--green-2); font-size: 9px; font-style: normal; }
.presentation-action-selector label > span b { font-size: 10px; }
.presentation-action-selector label > span small { color: var(--muted); font-size: 8px; }
.presentation-action-selector input:checked + span { border-color: var(--green-2); background: var(--green-soft); }
.client-editor-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.client-preview-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.logout-link { color: #7d3c32; }
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.2fr); background: #17392e; }
.auth-brand { display: flex; align-items: flex-start; gap: 12px; padding: 42px; color: white; }
.auth-brand > div { display: grid; }
.auth-brand b { font: 600 16px Manrope, sans-serif; }
.auth-brand small { margin-top: 3px; color: #a9bdb6; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.auth-card { width: 100%; max-width: 700px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(45px, 8vw, 110px); background: #f4f2eb; }
.auth-card h1 { margin: 4px 0 12px; font: 600 clamp(38px, 5vw, 62px)/1.04 Manrope, sans-serif; letter-spacing: -.05em; }
.auth-card > p { max-width: 520px; margin: 0 0 34px; color: #667069; line-height: 1.65; }
.auth-card form { display: grid; gap: 17px; }
.auth-card label { display: grid; gap: 7px; }
.auth-card label span { color: #58645e; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.auth-card input { min-height: 52px; padding: 0 15px; border: 1px solid #cbcfc9; background: white; font: 500 14px DM Sans, sans-serif; }
.auth-card .primary-button { margin-top: 8px; }
.auth-error { padding: 13px 15px; border-left: 3px solid #a74f40; background: #f2dfdb; color: #7d3026; font-size: 11px; }
.auth-success { padding: 13px 15px; border-left: 3px solid #4f9d83; background: #dfeee8; color: #245848; font-size: 11px; }
.auth-security { margin-top: 25px; color: #858d88; font-size: 9px; }
.password-page { min-height: calc(100vh - 78px); display: grid; place-items: center; background: #f4f2eb; }
.password-page .auth-card { min-height: auto; max-width: 720px; }
.password-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.client-account-panel { margin-bottom: 14px; }
.client-account-panel .panel-head p { max-width: 620px; }
.client-account-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.client-account-grid label { display: grid; gap: 7px; }
.client-account-grid label > span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.client-account-grid input:not([type="checkbox"]) { min-height: 43px; padding: 0 12px; border: 1px solid var(--line); background: #fbfaf6; }
.client-account-grid .client-active { min-height: 43px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); background: #fbfaf6; }
.client-login-address { display: grid; grid-template-columns: 110px 1fr; gap: 12px; margin-top: 16px; padding: 12px 14px; background: var(--green-soft); }
.client-login-address span { color: var(--green); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.client-login-address code { overflow-wrap: anywhere; color: #31594c; font-size: 10px; }
.client-account-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.client-management { padding-bottom: 80px; }
.client-management-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; background: var(--green); color: white; }
.client-management-summary article { padding: 23px 26px; border-right: 1px solid rgba(255,255,255,.14); }
.client-management-summary article:last-child { border-right: 0; }
.client-management-summary strong { display: block; font: 600 28px Manrope, sans-serif; }
.client-management-summary span { color: #afc5bd; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.managed-client-list { display: grid; gap: 12px; }
.managed-client-card { padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.managed-client-card > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.managed-client-card > header > div { display: flex; align-items: center; gap: 12px; }
.managed-client-card h3 { margin: 2px 0 0; font: 600 18px Manrope, sans-serif; }
.managed-client-card > header a { color: var(--green); font-size: 10px; font-weight: 700; text-decoration: none; }
.client-status-dot { width: 10px; height: 10px; border-radius: 50%; background: #61b397; box-shadow: 0 0 0 5px var(--green-soft); }
.client-status-dot.inactive { background: #9d928d; box-shadow: 0 0 0 5px #eceae6; }
.managed-client-fields { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1fr; gap: 10px; }
.managed-client-fields label { display: grid; gap: 6px; }
.managed-client-fields label > span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.managed-client-fields input, .managed-client-fields select { min-width: 0; min-height: 42px; padding: 0 11px; border: 1px solid var(--line); background: #fbfaf6; color: var(--ink); }
.managed-client-card > footer { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.managed-client-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 9px; }
.managed-client-meta b { color: var(--ink); }
.managed-client-active { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }
.managed-client-active input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
.managed-client-message { min-height: 14px; margin-top: 8px; color: var(--red); font-size: 9px; }
.managed-invite { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: -12px; padding: 18px 24px; border: 1px solid #bdd5cc; border-top: 0; background: var(--green-soft); }
.managed-invite b { color: var(--green); font-size: 11px; }
.managed-invite p { margin: 4px 0 0; color: #587067; font-size: 9px; }
.managed-invite code { display: block; max-width: 760px; margin-top: 10px; overflow-wrap: anywhere; color: #255647; font-size: 10px; }
.managed-invite small { display: block; margin-top: 4px; color: #6e8179; font-size: 8px; }
.client-logout { position: fixed; z-index: 20; right: 20px; bottom: 20px; padding: 10px 14px; border: 1px solid #c6c9c4; background: rgba(250,249,245,.94); color: #4e5c55; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.client-password { position: fixed; z-index: 20; right: 116px; bottom: 20px; padding: 10px 14px; border: 1px solid #c6c9c4; background: rgba(250,249,245,.94); color: #4e5c55; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }

.client-portal { min-height: 100vh; padding-bottom: 70px; background: #f4f2eb; color: #14261f; }
.client-portal > header, .client-portal > section, .client-portal > footer { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.client-portal > header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d9d7cf; }
.client-portal > header > div, .client-portal > footer > div { display: flex; align-items: center; gap: 10px; }
.client-portal > header > div > b, .client-portal > footer b { font-family: Manrope, sans-serif; font-size: 15px; }
.client-portal > header > span { color: #6c756f; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.client-logo { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; background: #183c30; color: #9fe5cf; font: 700 12px Manrope, sans-serif; }
.client-hero { padding: 82px 0 68px; }
.client-hero > p, .client-section-head > p, .client-summary > p, .client-progress p { margin: 0 0 12px; color: #447666; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.client-hero h1 { max-width: 820px; margin: 0; font: 600 clamp(42px, 6vw, 72px)/1.02 Manrope, sans-serif; letter-spacing: -.055em; }
.client-hero > div { max-width: 680px; margin-top: 25px; color: #5c6761; font-size: 16px; line-height: 1.7; }
.client-hero small { display: block; margin-top: 26px; color: #7c847f; font-size: 10px; }
.client-summary { padding: 46px 52px; background: #17392e; color: white; }
.client-summary > p { color: #92d9c2; }
.client-summary h2 { max-width: 800px; margin: 0; font: 600 clamp(27px, 4vw, 42px)/1.12 Manrope, sans-serif; letter-spacing: -.035em; }
.client-summary > div { max-width: 760px; margin-top: 18px; color: #d3ded9; font-size: 14px; line-height: 1.7; }
.client-section { padding-top: 74px; }
.client-section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.client-section-head h2 { max-width: 720px; margin: 0; font: 600 32px/1.15 Manrope, sans-serif; letter-spacing: -.03em; }
.client-readiness { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #d8d7d0; background: #faf9f5; }
.client-readiness article { min-width: 0; padding: 26px; border-right: 1px solid #d8d7d0; }
.client-readiness article:last-child { border-right: 0; }
.client-readiness span { display: block; color: #6d7771; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.client-readiness strong { display: block; margin-top: 12px; font: 600 36px Manrope, sans-serif; }
.client-readiness i, .client-progress > i { height: 4px; display: block; margin-top: 18px; overflow: hidden; background: #dfdfda; }
.client-readiness i b, .client-progress > i b { height: 100%; display: block; background: #6dbda4; }
.client-progress { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 22px; margin-top: 74px; padding: 34px 38px; border: 1px solid #d8d7d0; background: #faf9f5; }
.client-progress h2 { margin: 0; font: 600 24px Manrope, sans-serif; }
.client-progress > strong { font: 600 38px Manrope, sans-serif; }
.client-progress > i { grid-column: 1 / -1; margin-top: 5px; }
.client-actions { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cbcfc9; }
.client-actions li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 22px; align-items: start; padding: 25px 0; border-bottom: 1px solid #cbcfc9; }
.client-actions li > span { color: #5e9d89; font-size: 11px; }
.client-actions li b { font: 600 17px Manrope, sans-serif; }
.client-actions li p { max-width: 720px; margin: 8px 0; color: #647069; font-size: 12px; line-height: 1.6; }
.client-actions li small { color: #89908c; font-size: 9px; }
.client-actions em { padding: 7px 10px; background: #ebeae4; color: #68716c; font-size: 9px; font-style: normal; text-transform: uppercase; letter-spacing: .08em; }
.client-actions em.in_progress { background: #f6e9cb; color: #835d15; }
.client-actions em.done { background: #dceee8; color: #285f4e; }
.client-portal > footer { display: flex; align-items: center; justify-content: space-between; margin-top: 80px; padding-top: 26px; border-top: 1px solid #d3d3cc; }
.client-portal > footer p { color: #7a827d; font-size: 9px; }

/* Readability pass: analysis results are designed to be presented on large screens. */
.result-page { font-size: 16px; }
.result-page .eyebrow { font-size: 13px; }
.result-page .tab-nav button,
.result-page .back-link,
.result-page .text-button { font-size: 14px; }
.result-page .panel-head h3 { font-size: 25px; line-height: 1.25; }
.result-page .panel-head p:last-child,
.result-page .summary-banner > div > p:last-child,
.result-page .tab-intro > p,
.result-page .tab-intro > div > p:last-child { font-size: 15px; }
.result-page .readiness-card small { font-size: 12px; }
.result-page .readiness-card strong { font-size: 21px; }
.result-page .readiness-card p { font-size: 14px; line-height: 1.55; }
.result-page .audience-fit-state { padding: 7px 11px; font-size: 10px; }
.result-page .audience-fit-grid b { font-size: 11px; }
.result-page .audience-fit-grid p span { padding: 7px 10px; font-size: 11px; }
.result-page .audience-fit-grid a { font-size: 13px; }
.result-page .audience-fit-grid small,
.result-page .audience-fit-grid em { font-size: 11px; line-height: 1.55; }
.result-page .opportunity-list li { grid-template-columns: 42px 1fr; gap: 16px; padding: 21px 0; }
.result-page .opportunity-list li > span { font-size: 12px; }
.result-page .opportunity-list b { font-size: 16px; }
.result-page .opportunity-list p { font-size: 14px; line-height: 1.55; }
.result-page .opportunity-list small { font-size: 12px; }
.result-page .timeline b { font-size: 15px; }
.result-page .timeline span { font-size: 12px; }
.result-page .timeline p { font-size: 14px; line-height: 1.55; }
.result-page .check-grid b,
.result-page .findings-table b,
.result-page .table-row b,
.result-page .action-row b { font-size: 14px; }
.result-page .check-grid p,
.result-page .findings-table p,
.result-page .question-copy p,
.result-page .action-row small { font-size: 12px; line-height: 1.5; }
.result-page .table-header,
.result-page .action-header { font-size: 11px; }
.result-page .question-index,
.result-page .phase-pill,
.result-page .coverage,
.result-page .action-number,
.result-page .timing,
.result-page .action-row select { font-size: 12px; }
.result-page .implementation-guide summary { font-size: 13px; }
.result-page .guide-grid small { font-size: 10px; }
.result-page .guide-grid p,
.result-page .guide-grid ol { font-size: 12px; }
.result-page .technical-depth-grid > article > p:not(.eyebrow),
.result-page .crawler-panel .panel-head p:last-child,
.result-page .pagespeed-panel .panel-head p:last-child { font-size: 12px; }
.result-page .technical-depth-grid li b,
.result-page .technical-depth-grid li a,
.result-page .crawler-card b,
.result-page .field-data b,
.result-page .psi-opportunities b { font-size: 12px; }
.result-page .technical-depth-grid li span,
.result-page .crawler-card p,
.result-page .crawler-card small,
.result-page .field-data span,
.result-page .psi-opportunities span,
.result-page .pagespeed-run.unavailable p { font-size: 10px; }
.result-page .audit-state,
.result-page .source-badge,
.result-page .crawler-card span,
.result-page .pagespeed-run-head span,
.result-page .pagespeed-run.unavailable > span { font-size: 10px; }
.result-page .audit-metrics span,
.result-page .category-scores span,
.result-page .psi-metrics span { font-size: 9px; }
.result-page .audit-summary,
.result-page .method-note { font-size: 11px; }
.client-portal.loading, .client-portal.error { display: grid; place-items: center; padding: 40px; text-align: center; }
.client-portal.error section { max-width: 560px; }
.client-portal.error h1 { margin: 20px 0 10px; font: 600 36px Manrope, sans-serif; }
.client-portal.error p, .client-portal.loading p { color: #68736d; }

@media (max-width: 980px) {
  .hero, .workspace-grid, .project-body, .technical-depth-grid, .technical-audit-grid { grid-template-columns: 1fr; gap: 30px; }
  .pagespeed-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .hero-note { max-width: 520px; }
  .scope-card { position: static; }
  .readiness-grid, .check-grid { grid-template-columns: repeat(2, 1fr); }
  .crawler-grid { grid-template-columns: repeat(3, 1fr); }
  .two-column { grid-template-columns: 1fr; }
  .action-header { display: none; }
  .action-row { grid-template-columns: 1fr 1fr; }
  .action-row > div:first-child { grid-column: 1 / -1; }
  .competitor-results, .history-grid, .comparison-score-grid, .quality-grid { grid-template-columns: 1fr 1fr; }
  .project-body { gap: 0; }
  .project-body > section { border-right: 0; border-bottom: 1px solid var(--line); }
  .project-body > section:last-child { border-bottom: 0; }
  .client-readiness { grid-template-columns: repeat(2, 1fr); }
  .client-readiness article:nth-child(2) { border-right: 0; }
  .client-readiness article:nth-child(-n+2) { border-bottom: 1px solid #d8d7d0; }
  .client-account-grid { grid-template-columns: 1fr 1fr; }
  .managed-client-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 660px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand { padding: 24px; }
  .auth-card { min-height: calc(100vh - 92px); padding: 42px 22px; }
  .site-header { padding: 0 16px; }
  .method-chip, .nav-link:first-child { display: none; }
  .page, .result-page { width: min(100% - 28px, 1240px); }
  .hero { min-height: 0; padding: 38px 0; }
  .hero h1 { font-size: 42px; }
  .principles { display: grid; gap: 10px; }
  .workspace-grid { padding-top: 28px; }
  .analysis-form, .scope-card { padding: 24px 19px; }
  .field-grid { grid-template-columns: 1fr; }
  .audience-options, .audience-fit-grid { grid-template-columns: 1fr; }
  label.wide { grid-column: auto; }
  .form-footer, .result-head, .tab-intro.split, .panel-head { align-items: stretch; flex-direction: column; }
  .form-actions { display: grid; grid-template-columns: 1fr; }
  .primary-button { width: 100%; }
  .scan-steps { grid-template-columns: 1fr 1fr; }
  .result-head { padding: 28px 0 22px; }
  .result-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .summary-banner { grid-template-columns: 1fr; padding: 24px; }
  .summary-banner aside { border: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .readiness-grid, .check-grid, .competitor-results, .history-grid, .crawler-grid, .visibility-question-grid, .visibility-metrics { grid-template-columns: 1fr; }
  .work-context-summary, .work-grid, .work-two-column, .comparison-score-grid, .comparison-summary, .comparison-columns, .project-overview, .quality-grid, .presentation-editor-grid, .presentation-action-selector > div:last-child { grid-template-columns: 1fr; }
  .presentation-editor-actions { justify-content: stretch; }
  .presentation-editor-actions button { width: 100%; }
  .client-editor-actions { display: grid; justify-content: stretch; }
  .client-account-grid { grid-template-columns: 1fr; }
  .client-management-summary, .managed-client-fields { grid-template-columns: 1fr; }
  .client-management-summary article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .managed-client-card > header, .managed-client-card > footer { align-items: stretch; grid-template-columns: 1fr; flex-direction: column; }
  .managed-client-card > header { gap: 12px; }
  .managed-client-card > footer { display: grid; }
  .managed-invite { align-items: stretch; flex-direction: column; }
  .password-actions { grid-template-columns: 1fr; }
  .client-password { right: 20px; bottom: 62px; }
  .client-account-footer { align-items: stretch; flex-direction: column; gap: 12px; }
  .client-login-address { grid-template-columns: 1fr; }
  .client-preview-link { width: 100%; }
  .project-overview article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .project-card > header, .project-card > footer { align-items: stretch; flex-direction: column; }
  .project-meta { justify-items: start; }
  .project-card > footer { display: grid; grid-template-columns: 1fr; }
  .comparison-summary article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .version-path { align-items: stretch; flex-direction: column; }
  .version-path i { transform: rotate(90deg); align-self: flex-start; }
  .work-context-summary aside { padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .beta-notice, .observation-list header { align-items: stretch; flex-direction: column; }
  .observation-flags { justify-content: flex-start; }
  .table-header { display: none; }
  .table-row { grid-template-columns: 32px 1fr auto; padding: 12px 14px; gap: 8px; }
  .table-row .phase-pill { grid-column: 2; }
  .table-row .coverage { grid-column: 3; grid-row: 1 / 3; }
  .findings-table > div { grid-template-columns: 70px 1fr; }
  .findings-table p { grid-column: 2; }
  .action-row { grid-template-columns: 1fr; }
  .action-row > div:first-child { grid-column: auto; }
  .action-header { display: none; }
  .action-card { min-width: 0; }
  .guide-grid, .before-after { grid-template-columns: 1fr; }
  .implementation-guide summary { flex-direction: column; }
  .presentation-page { padding: 0 20px; grid-template-rows: 62px 1fr 68px; }
  .presentation-slide { padding: 28px 0; }
  .presentation-slide h1 { font-size: 44px; }
  .presentation-slide h2 { font-size: 35px; }
  .presentation-columns, .presentation-findings, .presentation-roadmap, .presentation-boundary, .presentation-change { grid-template-columns: 1fr; }
  .presentation-columns > div, .presentation-findings article { min-height: 105px; }
  .presentation-change > div:last-child, .presentation-boundary article + article { padding: 15px 0 0; border-left: 0; border-top: 2px solid var(--green-2); }
  .presentation-roadmap article { min-height: 155px; }
  .presentation-roadmap b { margin-top: 25px; }
  .presentation-progress { min-width: 105px; }
  .presentation-progress::before { width: 65px; }
  .report-footer { display: block; }
  .client-portal > header, .client-portal > section, .client-portal > footer { width: min(100% - 30px, 1120px); }
  .client-portal > header > span { display: none; }
  .client-hero { padding: 54px 0 45px; }
  .client-hero h1 { font-size: 41px; }
  .client-summary { width: 100% !important; padding: 34px 24px; }
  .client-section { padding-top: 55px; }
  .client-section-head { display: block; }
  .client-section-head h2 { font-size: 27px; }
  .client-readiness { grid-template-columns: 1fr; }
  .client-readiness article { border-right: 0; border-bottom: 1px solid #d8d7d0; }
  .client-readiness article:last-child { border-bottom: 0; }
  .client-progress { grid-template-columns: 1fr; padding: 27px 23px; }
  .client-progress > strong { font-size: 32px; }
  .client-actions li { grid-template-columns: 30px 1fr; gap: 12px; }
  .client-actions em { grid-column: 2; justify-self: start; }
  .client-portal > footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media print {
  body { background: white; }
  .site-header, .result-actions, .back-link, .tab-nav, .text-button, .secondary-button { display: none !important; }
  .result-page { width: 100%; padding: 0; }
  .result-head { padding-top: 0; }
  .tab-content { padding-top: 10px; }
  .summary-banner, .panel, .readiness-card { box-shadow: none; break-inside: avoid; }
  .two-column { grid-template-columns: 1fr 1fr; }
}
