/* Chaz Edward Local Marketing brand on top of the classic audit styles (same palette and type as /ppc-audit/). Light only. */
:root, [data-theme="light"], [data-theme="dark"] {
    --navy: #0A1A3A; --bright: #0A74FF; --brand-blue: #0046A0; --orange: #FFA824; --coral: #EE5253;
    --head: "Figtree", "Segoe UI", system-ui, sans-serif;
    --body: "Noto Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --bg-primary: #F3F7FD;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F3F7FD;
    --bg-hover: #E8F0FC;
    --text-primary: #0A1A3A;
    --text-secondary: #2B3445;
    --text-muted: #5F6B7D;
    --border: #E1E7F0;
    --border-light: #EDF1F7;
    --accent: #0A74FF;
    --accent-hover: #0062DB;
    --accent-bg: rgba(10, 116, 255, 0.07);
    --success: #178A4C;
    --success-bg: rgba(23, 138, 76, 0.09);
    --warning: #C77700;
    --warning-bg: rgba(255, 168, 36, 0.14);
    --danger: #D23F40;
    --danger-bg: rgba(238, 82, 83, 0.1);
    --info: #0046A0;
    --info-bg: rgba(0, 70, 160, 0.07);
    --shadow: rgba(10, 26, 58, 0.08);
    --score-ring-bg: #E1E7F0;
}

body { font-family: var(--body); background: var(--bg-primary); color: var(--text-secondary); display: flex; flex-direction: column; }
h1, h2, h3, h4, .app-title, .score-grade, .score-number, .advertiser-name, .btn { font-family: var(--head); }
h2, h3, h4 { color: var(--navy); }
#theme-toggle, #watch-btn, #watched-section, #history-section { display: none !important; }
.main-content { flex: 1; }

/* top bar = the product site's navy nav */
.top-bar { background: rgba(10, 26, 58, .96); border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 10px 20px; gap: 16px; flex-wrap: wrap; }
.brand-logo { background: #fff; border-radius: 10px; padding: 6px 10px; display: inline-flex; }
.brand-logo img { height: 28px; display: block; }
.top-bar .app-title { color: #DCE5F5; font-weight: 700; font-size: 15px; }
.top-bar .btn-icon { color: #DCE5F5; }
.top-bar .btn-icon:hover:not(:disabled) { background: rgba(255, 255, 255, .08); color: #fff; }
.lookup-group { flex-wrap: wrap; justify-content: center; }
.top-bar .domain-input { background: #fff; color: var(--navy); border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; padding: 10px 14px; font: 15px var(--body); }
.top-bar .domain-input::placeholder { color: #7A869A; }
.email-input { min-width: 240px !important; }
.domain-input:focus, .btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* buttons like the product site */
.btn { border-radius: 10px; font-weight: 800; }
.btn-primary { background: var(--bright); color: #fff; box-shadow: 0 8px 20px rgba(10, 116, 255, .28); }
.btn-primary:hover:not(:disabled) { background: #0062DB; }
.top-bar .btn { padding: 10px 18px; font-size: 14px; }
.top-bar .btn-secondary { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.top-bar .btn-secondary:hover:not(:disabled) { border-color: #fff; background: transparent; }
#run-audit-btn { background: var(--orange); color: var(--navy); box-shadow: 0 8px 20px rgba(255, 168, 36, .3); }

/* welcome */
.welcome-state { padding: 56px 16px 24px; }
.welcome-card { max-width: 720px; }
.welcome-eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 800 12px/1 var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 14px; }
.welcome-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.welcome-card h2 { font: 900 clamp(28px, 4.4vw, 42px)/1.1 var(--head); letter-spacing: -.02em; color: var(--navy); margin-bottom: 14px; }
.welcome-card p { font-size: 17px; line-height: 1.6; color: var(--text-secondary); }
.check-preview-item { border-radius: 10px; font: 600 14px var(--body); color: var(--navy); box-shadow: 0 2px 8px var(--shadow); }
.welcome-note { color: var(--text-muted); font-weight: 600; }

/* results */
.advertiser-banner { background: #fff; border-bottom: 1px solid var(--border); }
.advertiser-name { color: var(--navy); font-size: 17px; }
.score-banner, .audit-card, .ai-summary-card, .priority-actions-card, .gallery-section, .lp-section, .counter-ads-section, .history-section, .loading-card, .suggestions-card {
    background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 6px 22px var(--shadow);
}
.score-banner { border-top: 4px solid var(--orange); }
.analyzed-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.analyzed-strip span { background: var(--accent-bg); color: var(--navy); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.analyzed-strip b { font-family: var(--head); }
.priority-action .rank { background: var(--navy); color: #fff; font-family: var(--head); }
.action-evidence { margin-top: 4px; font-size: 13px; color: var(--text-muted); font-style: italic; }
.ai-summary-content strong, #ai-summary-content strong { color: var(--navy); }

/* footer like the product site */
.brand-footer { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 32px 16px; color: var(--text-muted); font-size: 14px; border-top: 1px solid var(--border); background: #fff; margin-top: 32px; }
.brand-footer img { height: 26px; }
.brand-footer a { color: var(--bright); }

@media (max-width: 760px) {
    .top-bar { justify-content: center; }
    .top-bar-center { flex: 1 1 100%; width: 100%; order: 3; }
    .lookup-group { width: 100%; }
    .top-bar .domain-input, .email-input { min-width: 0 !important; width: 100%; flex: 1 1 100%; }
    .lookup-group .btn { flex: 1 1 auto; }
    .top-bar-right { margin-left: auto; }
    .top-bar .app-title { display: none; }
}

/* full audit upgrade + locked rewrites (2026-11-10) */
.upsell-card { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--navy); color: #DCE5F5; border-radius: 14px; padding: 26px 28px; margin: 20px 0; box-shadow: 0 10px 30px rgba(10, 26, 58, .25); }
.upsell-text { flex: 1 1 420px; }
.upsell-kick { font: 800 12px/1 var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.upsell-card h3 { color: #fff; font: 900 22px/1.2 var(--head); margin: 0 0 8px; }
.upsell-card p { margin: 0 0 10px; color: #C9D4EA; }
.upsell-card ul { margin: 6px 0 0 18px; padding: 0; }
.upsell-card li { margin: 4px 0; }
#upsell-questions li { color: #fff; font-weight: 600; }
#upsell-questions:empty { display: none; }
.upsell-list li::marker { color: var(--orange); }
.upsell-cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.upsell-btn { background: var(--orange) !important; color: var(--navy) !important; padding: 14px 22px; font-size: 16px; text-decoration: none; }
.upsell-cta small { color: #9FB0D0; }
.locked-panel { text-align: center; padding: 26px 16px; }
.locked-icon { font-size: 34px; }
.locked-panel h4 { font: 900 20px var(--head); margin: 8px 0; }
.locked-panel p { max-width: 560px; margin: 0 auto 16px; color: var(--text-secondary); }
.locked-preview { max-width: 420px; margin: 0 auto 18px; filter: blur(1.5px); opacity: .7; }
.locked-preview div { display: flex; gap: 10px; align-items: center; margin: 8px 0; }
.locked-preview span { width: 90px; text-align: right; font-size: 12px; color: var(--text-muted); }
.locked-preview i { display: block; height: 12px; border-radius: 6px; background: #C9D6EA; width: 100%; }
.locked-panel .btn { text-decoration: none; display: inline-flex; padding: 12px 20px; }

/* clearer flow (2026-11-10): ready screen, picker cards, roomy progress card, ads at their real shape */
.ready-state, .loading-state { display: flex; justify-content: center; padding: 48px 16px 24px; }
.ready-card, .loading-card, .suggestions-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 14px 40px rgba(10, 26, 58, .10); padding: 36px 36px 30px; width: 100%; max-width: 560px; }
.ready-card { text-align: left; }
.ready-kick { display: inline-block; font: 800 12px/1 var(--head); letter-spacing: 1.6px; text-transform: uppercase; color: var(--success); background: var(--success-bg); padding: 7px 12px; border-radius: 999px; margin-bottom: 14px; }
.ready-card h2 { font: 900 30px/1.15 var(--head); color: var(--navy); margin: 0 0 6px; }
.ready-meta { color: var(--text-muted); font-size: 15px; margin: 0 0 22px; min-height: 1em; }
.ready-label { display: block; font: 800 14px var(--head); color: var(--navy); margin-bottom: 6px; }
.ready-input { width: 100%; font: 16px var(--body); padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px; color: var(--navy); background: #fff; }
.ready-input:focus { outline: 3px solid rgba(255, 168, 36, .5); border-color: var(--orange); }
.ready-btn { width: 100%; margin-top: 14px; padding: 16px 20px !important; font-size: 17px !important; border-radius: 12px; background: var(--orange) !important; color: var(--navy) !important; box-shadow: 0 10px 24px rgba(255, 168, 36, .32) !important; }
.ready-btn:hover:not(:disabled) { filter: brightness(.97); transform: translateY(-1px); }
.ready-change { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--bright); font: 600 14px var(--body); cursor: pointer; text-decoration: underline; }
.ready-list { list-style: none; padding: 18px 0 0; margin: 20px 0 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; color: var(--text-muted); font-size: 13.5px; }
.ready-list li::before { content: "✓"; color: var(--success); font-weight: 900; margin-right: 6px; }

.suggestions-card { margin: 0 auto; }
#suggestions-state { justify-content: center; padding: 48px 16px 24px; }
.suggestions-card h3 { font: 900 26px/1.2 var(--head); color: var(--navy); margin: 0 0 6px; }
.suggestions-sub { color: var(--text-muted); font-size: 15px; margin: 0 0 18px; }
.suggestions-card .ready-kick { color: var(--brand-blue); background: var(--accent-bg); }
.suggestion-item { padding: 16px 18px; border-radius: 12px; background: #fff; border: 1.5px solid var(--border); gap: 12px; }
.suggestion-item:hover { border-color: var(--bright); background: #F7FAFF; }
.suggestion-text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.suggestion-name { font: 800 16px var(--head); color: var(--navy); }
.suggestion-pick { flex: none; font: 800 13px var(--head); color: #fff; background: var(--bright); padding: 9px 14px; border-radius: 10px; }

.loading-card { text-align: center; }
.loading-card h2 { font: 900 24px/1.2 var(--head); color: var(--navy); margin: 18px 0 4px; }
.loading-spinner { width: 54px; height: 54px; border-width: 5px; border-color: var(--border); border-top-color: var(--orange); }
.progress-bar-container { height: 8px; background: var(--border); border-radius: 99px; margin: 20px 0 6px; }
.progress-bar-fill { background: linear-gradient(90deg, var(--bright), #4F9BFF); border-radius: 99px; }
.loading-steps { list-style: none; padding: 0; margin: 18px auto 6px; text-align: left; max-width: 380px; }
.loading-steps li { position: relative; padding: 10px 0 10px 34px; color: var(--text-muted); font-size: 15px; border-bottom: 1px solid var(--border-light); }
.loading-steps li:last-child { border-bottom: 0; }
.loading-steps li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); box-sizing: border-box; }
.loading-steps li.active { color: var(--navy); font-weight: 700; }
.loading-steps li.active::before { border-color: var(--orange); border-top-color: transparent; animation: spin .8s linear infinite; }
.loading-steps li.done { color: var(--navy); }
.loading-steps li.done::before { content: "✓"; background: var(--success); border-color: var(--success); color: #fff; font: 900 12px/16px var(--body); text-align: center; }
.loading-detail { color: var(--text-muted); font-size: 13.5px; margin-top: 12px; }
#loading-status:empty { display: none; }

/* ads at their real shape (search ads are wide): no square crop */
.gallery-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; gap: 16px; }
.gallery-item { aspect-ratio: auto; background: #fff; border: 1px solid var(--border); padding: 8px; }
.gallery-item img { width: 100%; height: auto; max-height: 420px; object-fit: contain; display: block; border-radius: 6px; }
.gallery-overlay { position: static; opacity: 1; background: none; padding: 8px 2px 2px; }
.gallery-overlay .gallery-title { display: none; }
.gallery-badge { background: var(--accent-bg) !important; color: var(--brand-blue) !important; }

@media (max-width: 600px) { .ready-card, .loading-card, .suggestions-card { padding: 26px 20px; } .ready-card h2 { font-size: 24px; } .suggestion-item { flex-wrap: wrap; } }

/* how the score works (2026-11-10) */
.how-scored { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 6px 22px var(--shadow); margin: 16px 0; padding: 0 20px; }
.how-scored summary { cursor: pointer; font: 800 16px var(--head); color: var(--navy); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; }
.how-scored summary::after { content: "+"; color: var(--bright); font-size: 22px; line-height: 1; }
.how-scored[open] summary::after { content: "–"; }
#how-scored-body { padding-bottom: 18px; }
#how-scored-body p { color: var(--text-secondary); margin: 0 0 12px; }
#how-scored-body td { vertical-align: top; }
.how-note { font-size: 13px; color: var(--text-muted) !important; margin-top: 10px !important; }
.audit-how { margin-top: 10px; padding: 10px 12px; background: var(--bg-tertiary); border-radius: 8px; font-size: 13px; color: var(--text-muted); }

/* results: bottom line, ads vs website, checks header (2026-11-10) */
.bottom-line { background: var(--navy); color: #fff; border-radius: 14px; padding: 22px 26px; margin: 16px 0; border-left: 6px solid var(--orange); box-shadow: 0 10px 30px rgba(10, 26, 58, .2); }
.bottom-kick { font: 800 12px/1 var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.bottom-text { font: 800 20px/1.35 var(--head); }
.bottom-evidence { color: #C9D4EA; font-size: 14px; margin-top: 8px; font-style: italic; }
.site-panel { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 6px 22px var(--shadow); padding: 18px 22px; margin: 16px 0; }
.site-panel h4 { font: 800 15px var(--head); color: var(--navy); margin: 18px 0 8px; }
.site-page { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; }
.site-label { font: 800 12px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.site-page a { font: 800 16px var(--head); color: var(--bright); }
.site-why { color: var(--text-muted); font-size: 13.5px; }
.site-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; }
.chip.yes { background: var(--success-bg); color: var(--success); }
.chip.no { background: var(--danger-bg); color: var(--danger); }
.site-panel .ok { color: var(--success); font-weight: 700; }
.site-panel .bad { color: var(--danger); font-weight: 700; }
.site-note { color: var(--text-muted); font-size: 13px; margin: 14px 0 0; }
.checks-header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 22px 0 10px; }
.checks-header h3 { margin: 0; }
.checks-sub { color: var(--text-muted); font-size: 13.5px; }
.score-banner { background: #fff; }
.score-grade { font-family: var(--head); }
.priority-actions-card, .ai-summary-card { padding: 20px 24px; }

.lp-review-tag { font: 800 11px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); background: var(--bg-tertiary); padding: 4px 10px; border-radius: 999px; }

/* locked in the free audit: landing pages (2026-11-10) */
.locked-card { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff; border: 1.5px dashed #C6D1E2; border-radius: 14px; padding: 20px 24px; margin: 16px 0; }
.locked-card-icon { font-size: 30px; flex: none; }
.locked-card-text { flex: 1 1 380px; }
.locked-card h3 { font: 800 17px var(--head); color: var(--navy); margin: 0 0 6px; }
.locked-card p { margin: 0; color: var(--text-secondary); font-size: 14.5px; }
.locked-card .btn { text-decoration: none; padding: 12px 18px; background: var(--orange) !important; color: var(--navy) !important; flex: none; }
.locked-card.pulse { animation: lockpulse 1.2s ease 1; }
@keyframes lockpulse { 0% { box-shadow: 0 0 0 0 rgba(255, 168, 36, .6); } 100% { box-shadow: 0 0 0 18px rgba(255, 168, 36, 0); } }
.score-actions { display: flex; flex-direction: column; gap: 8px; }

/* ---------------- report layer (2026-11-10): verdict, scorecard, mockups, tiers, sample, heat, timeline, blind spots */
.verdict { background: linear-gradient(135deg, #0A1A3A 0%, #13306B 100%); color: #fff; border-radius: 16px; padding: 26px 30px; margin: 16px 0; box-shadow: 0 12px 34px rgba(10, 26, 58, .22); }
.verdict-kick { font: 800 12px/1 var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.verdict-head { font: 900 28px/1.2 var(--head); }
.verdict-ev { margin-top: 10px; color: #DCE5F5; font-size: 16px; }
.verdict-meta { margin-top: 10px; color: #9FB0D0; font-size: 13.5px; }
.report-sec { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 6px 22px var(--shadow); padding: 18px 22px; margin: 16px 0; }
.report-sec .section-header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.report-sec .section-header h3 { margin: 0; }
.rep-sub { color: var(--text-secondary); margin: 0 0 12px; font-size: 14.5px; }
.scorecard { display: flex; flex-direction: column; }
.sc-row { display: grid; grid-template-columns: 18px 190px 1fr 46px; grid-template-areas: "l n b s" ". e e e"; gap: 4px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.sc-row:last-child { border-bottom: 0; }
.sc-light { grid-area: l; width: 14px; height: 14px; border-radius: 50%; }
.sc-light.green, .sc-bar i.green { background: #22A55E; } .sc-light.amber, .sc-bar i.amber { background: #F2A01E; } .sc-light.red, .sc-bar i.red { background: #E5484D; }
.sc-name { grid-area: n; font: 800 15px var(--head); color: var(--navy); display: flex; flex-direction: column; }
.sc-name small { font: 500 12px var(--body); color: var(--text-muted); }
.sc-bar { grid-area: b; height: 10px; background: var(--border); border-radius: 99px; overflow: hidden; }
.sc-bar i { display: block; height: 100%; border-radius: 99px; }
.sc-score { grid-area: s; font: 900 20px var(--head); text-align: right; }
.sc-score.green { color: #178A4C; } .sc-score.amber { color: #B76E00; } .sc-score.red { color: #C93A3F; }
.sc-ev { grid-area: e; color: var(--text-muted); font-size: 13.5px; }
.scorecard + .how-scored { margin-top: 12px; box-shadow: none; }
.mockups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.mock { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: #FBFCFE; }
.mock.strong { border-color: #BFE5CF; background: #F5FBF7; }
.mock-tag { display: inline-block; font: 800 11px var(--head); letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.mock-tag.weak { background: var(--danger-bg); color: var(--danger); } .mock-tag.strong { background: var(--success-bg); color: var(--success); }
.serp { background: #fff; border: 1px solid #E3E6EA; border-radius: 10px; padding: 12px 14px; font-family: Arial, sans-serif; }
.serp-sp { font: 700 12px Arial, sans-serif; color: #202124; }
.serp-url { font-size: 12.5px; color: #4D5156; margin: 2px 0 4px; }
.serp-title { color: #1A0DAB; font-size: 18px; line-height: 1.3; }
.serp-desc { color: #4D5156; font-size: 13.5px; line-height: 1.45; margin-top: 4px; }
.pins { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 5px; }
.pins li { font-size: 13.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px; }
.pins li.ok { background: var(--success-bg); color: var(--success); } .pins li.bad { background: var(--danger-bg); color: var(--danger); }
.fix-layout { display: grid; grid-template-columns: 1fr 300px; gap: 18px; align-items: start; }
@media (max-width: 900px) { .fix-layout { grid-template-columns: 1fr; } }
.tier { margin-bottom: 14px; }
.tier-head { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 8px; }
.tier-head span { font: 900 13px var(--head); letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tier-head small { color: var(--text-muted); }
.tier-critical .tier-head span { background: var(--danger-bg); color: var(--danger); }
.tier-important .tier-head span { background: var(--warning-bg); color: #B76E00; }
.tier-quick_win .tier-head span { background: var(--success-bg); color: var(--success); }
.fix-matrix { background: var(--bg-tertiary); border-radius: 12px; padding: 14px; position: sticky; top: 90px; }
.mx-title { font: 800 13px var(--head); color: var(--navy); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.mx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mx-cell { background: #fff; border-radius: 10px; padding: 10px; min-height: 92px; border: 1px solid var(--border); }
.mx-cell span { font: 800 14px var(--head); color: var(--navy); }
.mx-cell small { display: block; color: var(--text-muted); font-size: 11.5px; margin-top: 6px; }
.mx-cell div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; min-height: 24px; }
.mx-cell b { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 12px/24px var(--head); text-align: center; }
.mx-cell.do { border-color: var(--orange); background: #FFF8EC; } .mx-cell.do b { background: var(--orange); color: var(--navy); }
.sample-tag { font: 800 11px var(--head); letter-spacing: 1px; text-transform: uppercase; background: var(--accent-bg); color: var(--brand-blue); padding: 4px 10px; border-radius: 999px; }
.sample-pair { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center; gap: 8px; }
@media (max-width: 760px) { .sample-pair { grid-template-columns: 1fr; } .sample-arrow { transform: rotate(90deg); } }
.sample-label { font: 800 12px var(--head); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; color: var(--text-muted); }
.sample-card.after .sample-label { color: var(--success); }
.sample-card.after .serp { border-color: #9ED9B6; box-shadow: 0 0 0 3px rgba(34, 165, 94, .12); }
.sample-arrow { font: 900 26px var(--head); color: var(--orange); text-align: center; }
.sample-why { margin: 12px 0 6px; color: var(--text-secondary); }
.sample-uses { font-size: 13.5px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sample-uses span { background: var(--accent-bg); color: var(--brand-blue); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.sample-lock { margin-top: 12px; padding: 10px 12px; border: 1.5px dashed #C6D1E2; border-radius: 10px; font-size: 14px; color: var(--text-secondary); }
.sample-lock a { color: var(--bright); font-weight: 700; }
.report-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.report-two .report-sec { margin: 16px 0 0; }
@media (max-width: 900px) { .report-two { grid-template-columns: 1fr; } }
.heat-row { display: grid; grid-template-columns: 1fr 120px 74px; gap: 10px; align-items: center; padding: 5px 0; font-size: 13.5px; }
.heat-name { color: var(--navy); font-weight: 600; }
.heat-bar { height: 10px; background: var(--border); border-radius: 99px; overflow: hidden; }
.heat-bar i { display: block; height: 100%; border-radius: 99px; }
.heat-bar i.hi { background: #22A55E; } .heat-bar i.mid { background: #7CC79A; } .heat-bar i.lo { background: #F2A01E; }
.heat-n { text-align: right; font-weight: 700; } .heat-n.none { color: var(--danger); } .heat-n.hi, .heat-n.mid { color: var(--success); } .heat-n.lo { color: #B76E00; }
.tl-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: center; padding: 3px 0; }
.tl-name { font-size: 12.5px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-track { position: relative; height: 10px; background: var(--bg-tertiary); border-radius: 99px; }
.tl-track i { position: absolute; top: 0; height: 100%; background: var(--bright); border-radius: 99px; }
.tl-axis { display: flex; justify-content: space-between; margin-left: 160px; color: var(--text-muted); font-size: 12px; margin-top: 4px; }
.blind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.blind { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; padding: 12px; }
.blind-t { font: 800 14px var(--head); color: #fff; margin-bottom: 4px; }
.blind-x { color: #C9D4EA; font-size: 13px; }
.blind-source { color: #9FB0D0 !important; font-size: 12px; margin-top: 10px !important; }
.blind-source a { color: #7FB1FF; }
.upsell-card { align-items: flex-start; }
@media (max-width: 600px) { .sc-row { grid-template-columns: 16px 1fr 40px; grid-template-areas: "l n s" ". b b" ". e e"; } .verdict-head { font-size: 22px; } .tl-row { grid-template-columns: 100px 1fr; } .tl-axis { margin-left: 110px; } .heat-row { grid-template-columns: 1fr 70px 64px; } }

.upsell-card .blind-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .upsell-card .blind-grid { grid-template-columns: 1fr; } }

.reading-note { margin: 0 0 14px; padding: 10px 14px; background: var(--accent-bg); border-radius: 10px; color: var(--text-secondary); font-size: 13.5px; }
.reading-note:empty { display: none; }
.mock-versions { display: inline-block; margin: 0 0 10px 8px; font-size: 12px; color: var(--text-muted); }

/* spelling proof (2026-11-10) */
.spelling { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.sp-card { border: 1.5px solid #F5C2C3; background: #FFF8F8; border-radius: 12px; padding: 14px; }
.sp-shot { display: block; max-width: 100%; max-height: 420px; margin: 0 auto 12px; border-radius: 8px; border: 1px solid var(--border); background: #fff; }
.sp-fix { display: flex; align-items: center; gap: 10px; font: 800 18px var(--head); margin-bottom: 8px; flex-wrap: wrap; }
.sp-wrong { color: var(--danger); text-decoration: line-through; }
.sp-arrow { color: var(--text-muted); }
.sp-right { color: var(--success); }
.sp-text { font-size: 14px; color: var(--text-secondary); }
.sp-text mark { background: #FFD9DA; color: var(--danger); padding: 0 3px; border-radius: 3px; font-weight: 800; }
.sp-meta { margin-top: 8px; font-size: 12.5px; color: var(--text-muted); }

/* testing cadence panel (2026-11-10) */
.cad-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.cad-stat { background: var(--bg-tertiary); border-radius: 10px; padding: 12px; }
.cad-stat b { display: block; font: 900 22px/1.15 var(--head); color: var(--navy); }
.cad-stat span { font-size: 12.5px; color: var(--text-muted); }
.cad-stat.warn { background: var(--danger-bg); } .cad-stat.warn b { color: var(--danger); }
.cad-label { font: 800 12px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin: 14px 0 8px; }
.cad-chart { display: grid; grid-template-columns: repeat(18, 1fr); gap: 4px; align-items: end; height: 130px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.cad-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.cad-col i { display: block; width: 100%; max-width: 22px; background: #9DB6DC; border-radius: 4px 4px 0 0; }
.cad-col.recent i { background: var(--orange); }
.cad-n { font: 800 11px var(--head); color: var(--navy); margin-bottom: 2px; }
.cad-m { position: absolute; bottom: -20px; font-size: 10px; color: var(--text-muted); white-space: nowrap; }
.cad-chart + .cad-note, .cad-chart + .cad-label { margin-top: 28px; }
.cad-note { font-size: 12.5px; color: var(--text-muted); margin: 26px 0 0; }
.cad-age-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--border); }
.cad-age-bar i { display: block; height: 100%; }
.cad-age-bar i.new, .cad-legend .new::before { background: #22A55E; }
.cad-age-bar i.mid, .cad-legend .mid::before { background: #F2A01E; }
.cad-age-bar i.old, .cad-legend .old::before { background: #E5484D; }
.cad-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 13px; color: var(--text-secondary); }
.cad-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.cad-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cad-lists ul { list-style: none; margin: 0; padding: 0; }
.cad-lists li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; }
.cad-ad { color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cad-age { flex: none; font-weight: 700; color: var(--navy); }
.cad-lists li.o .cad-age { color: var(--danger); }
.cad-lists li.n .cad-age { color: var(--success); }
@media (max-width: 600px) { .cad-stats { grid-template-columns: 1fr; } .cad-lists { grid-template-columns: 1fr; } .cad-m { display: none; } .cad-col:nth-child(3n+1) .cad-m { display: block; } }

.report-two { grid-template-columns: 1fr; gap: 0; }

/* ready screen extras (the chat button and panel were removed from the page 2026-11-25) */
.ready-fine { margin: 6px 0 0; font-size: 12.5px; color: var(--text-muted); }

/* 2026-11-10 review: nothing may push the report wider than the phone screen */
.main-content, #results-state, .report-sec, .priority-actions-card, .ai-summary-card, .upsell-card, .score-banner { min-width: 0; max-width: 100%; }
.report-two { grid-template-columns: minmax(0, 1fr); }
.cad-lists { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cad-lists li, .cad-ad, .sc-ev, .sc-name, .serp, .mock, .sp-card, .action-text { min-width: 0; }
.serp-url, .serp-title, .serp-desc, .sp-text, .verdict-ev, .bottom-text, .bottom-evidence { overflow-wrap: anywhere; }
@media (max-width: 900px) { .fix-layout { grid-template-columns: minmax(0, 1fr); } .fix-matrix { position: static; } }
@media (max-width: 600px) {
  .cad-lists { grid-template-columns: minmax(0, 1fr); }
  .main-content { padding-left: 12px; padding-right: 12px; }
  .score-banner { padding: 18px 14px; }
  .score-actions { width: 100%; } .score-actions .btn { width: 100%; justify-content: center; }
  .mockups, .spelling { grid-template-columns: minmax(0, 1fr); }
  .verdict { padding: 20px 18px; }
  .heat-row { grid-template-columns: minmax(0, 1fr) 60px 62px; }
  .priority-action { flex-wrap: wrap; }
  .upsell-card { padding: 20px 16px; }
  .blind-grid, .upsell-card .blind-grid { grid-template-columns: minmax(0, 1fr); }
}
html, body { max-width: 100%; overflow-x: hidden; }

@media (max-width: 600px) { .priority-action .action-text { flex: 1 1 calc(100% - 52px); } .priority-action .effort-badge { margin-left: 44px; } }

/* 2026-11-11: the search box sits in the middle of the page, under the headline (it was off-centre in the header) */
.hero-search { display: flex; gap: 10px; justify-content: center; align-items: stretch; max-width: 640px; margin: 26px auto 22px; flex-wrap: nowrap; }
.hero-search .domain-input { flex: 1 1 auto; min-width: 0; background: #fff; color: var(--navy); border: 2px solid #C6D1E2; border-radius: 12px; padding: 16px 18px; font: 17px var(--body); box-shadow: 0 10px 30px rgba(10, 26, 58, .08); }
.hero-search .domain-input:focus { border-color: var(--bright, #0A74FF); outline: none; box-shadow: 0 0 0 4px rgba(10, 116, 255, .15); }
.hero-search .btn { flex: none; background: #FFA824; color: #0A1A3A; border: 0; border-radius: 12px; padding: 0 26px; font: 800 17px "Figtree", sans-serif; cursor: pointer; }
.hero-search .btn:hover { background: #FFB84D; }
@media (max-width: 640px) { .hero-search { flex-wrap: wrap; } .hero-search .domain-input { flex: 1 1 100%; } .hero-search .btn { flex: 1 1 100%; padding: 15px; } }
