:root {
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft-line: #f5f7fa;
    --panel: #ffffff;
    --bg: #f5f7fa;
    --green: #48d6d6;
    --green-dark: #008f95;
    --purple: #7c3aed;
    --blue: #2563eb;
    --orange: #f97316;
    --yellow: #facc15;
    --red: #f43f5e;
    --success: #10b981;
    --navy: #0f172a;
    --taupe: #facc15;
    --dark-card: #0f172a;
    --shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    background: var(--bg);
    font-weight: 500;
}

.material-symbols-outlined {
    display: inline-block;
    font-family: 'Material Symbols Outlined';
    font-size: 26px;
    font-style: normal;
    font-weight: normal;
    font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24;
    letter-spacing: normal;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 5vw, 72px);
    background: rgba(15, 23, 42, 0.96);
}

.brand img {
    display: block;
    width: 230px;
    height: auto;
}
.brand { text-decoration: none; }
.brand-logo {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    line-height: .9;
    text-transform: uppercase;
}
.brand-logo-main { display: inline-flex; align-items: baseline; gap: 3px; font-size: 22px; letter-spacing: .1em; }
.brand-logo-first { color: #f97316; font-weight: 700; }
.brand-logo-light { color: #fff; font-weight: 800; }
.brand-logo-designs { color: #94a3b8; font-size: 11px; font-weight: 500; letter-spacing: .58em; }
.brand-logo-dot { color: var(--success); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.site-nav a {
    position: relative;
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--green);
}

.site-nav > a[href$="website-review/index.html"],
.site-nav > a[href$="contact.html"] {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border-radius: 8px;
    padding: 0 14px;
}

.site-nav > a[href$="website-review/index.html"] {
    color: var(--navy);
    background: var(--yellow);
}

.site-nav > a[href$="contact.html"] {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), #ff3d1f);
    box-shadow: 0 14px 34px rgba(249,115,22,.22);
}

.site-nav > a[href$="website-review/index.html"]::after,
.site-nav > a[href$="contact.html"]::after {
    display: none;
}

.site-nav > a[href$="website-review/index.html"]:hover,
.site-nav > a[href$="contact.html"]:hover {
    color: #fff;
    transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown > a::before {
    content: "expand_more";
    order: 2;
    font-family: 'Material Symbols Outlined';
    font-size: 18px;
    line-height: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    display: grid;
    min-width: 190px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 8px;
    background: #050b12;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    padding: 10px 12px;
    color: rgba(255,255,255,.78);
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-toggle {
    display: none;
    border: 0;
    color: #fff;
    background: transparent;
    width: auto;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.site-footer { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(190px, .7fr) minmax(280px, .9fr) auto; gap: clamp(22px, 4vw, 48px); align-items: start; padding: 30px clamp(20px,5vw,72px); color: rgba(255,255,255,.58); background: #050b12; border-top: 3px solid var(--green-dark); font-size: 13px; line-height: 1.55; }
.site-footer p, .site-footer address, .site-footer span { margin: 0; }
.site-footer address { color: rgba(255,255,255,.86); font-style: normal; font-weight: 700; }
.footer-main, .footer-links { display: grid; gap: 6px; }
.footer-main p { max-width: 360px; }
.footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; align-content: start; min-width: 0; }
.site-footer a { color: var(--green); font-size: 13px; font-weight: 700; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.footer-links a { min-width: 0; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--green-dark); }
.google-review-widget {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 12px 14px;
    background: rgba(255,255,255,.045);
}
.google-review-label {
    display: block;
    color: rgba(255,255,255,.68);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.google-review-widget strong {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    color: #fff;
    font-size: 20px;
    line-height: 1;
}
.google-stars {
    color: var(--green);
    font-size: 14px;
    letter-spacing: 1px;
}
.google-review-widget small {
    display: block;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    font-weight: 600;
}
.google-review-widget a {
    width: fit-content;
    color: var(--green);
    font-size: 12px;
}
.footer-social { display: flex; gap: 8px; align-items: center; justify-content: end; }
.footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.045); }
.footer-social a:hover { transform: translateY(-2px); background: rgba(16,185,129,.14); }
.footer-social img { width: 17px; height: 17px; object-fit: contain; }

@media (max-width: 980px) {
    .site-header {
        flex-wrap: wrap;
        align-items: center;
    }
    .nav-toggle {
        display: inline-grid;
        place-items: center;
        margin-left: auto;
    }
    .site-nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 0 4px;
    }
    .site-nav.open {
        display: flex;
    }
    .nav-dropdown-menu {
        position: static;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,.05);
    }
    .review-hero,
    .scan-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .brand-logo-main { font-size: 18px; }
    .brand-logo-designs { font-size: 9px; }
    .site-header { padding: 16px 20px; gap: 12px; }
    .scan-logo { max-width: 100%; }
    .scan-logo .brand-logo-main { font-size: 20px; }
    .scan-logo .brand-logo-designs { font-size: 10px; }
    .report-tool {
        width: min(100% - 20px, 1180px);
        padding: 24px 0;
    }
    .review-hero {
        gap: 24px;
        border-radius: 12px;
        padding: 30px 18px;
    }
    .review-hero h1 {
        font-size: clamp(36px, 12vw, 48px);
    }
    .scan-panel {
        padding: 18px;
    }
    .hero-url-form .input-row {
        grid-template-columns: 1fr;
    }
    .hero-url-form button {
        width: 100%;
    }
}

.report-tool {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0;
}

.review-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 860px);
    gap: 28px;
    align-items: start;
    margin-bottom: 34px;
    border-radius: 16px;
    padding: clamp(34px, 6vw, 72px);
    color: rgba(255,255,255,.84);
    background:
        radial-gradient(circle at 86% 28%, rgba(244, 63, 94, .22), transparent 18rem),
        radial-gradient(circle at 76% 70%, rgba(249, 115, 22, .2), transparent 22rem),
        radial-gradient(circle at 48% 44%, rgba(37, 99, 235, .14), transparent 18rem),
        linear-gradient(135deg, #050b12 0%, #07111f 62%, #020617 100%);
    box-shadow: 0 28px 90px rgba(15, 23, 42, .16);
}

.review-hero::before {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -28%;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, rgba(250, 204, 21, .34) 0 2px, transparent 2px 15px);
    opacity: .3;
}

.review-hero > * {
    position: relative;
    z-index: 1;
}

.review-hero h1 {
    max-width: 760px;
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .96;
}

.review-hero-copy > p:not(.eyebrow):not(.hero-form-note) {
    max-width: 680px;
    margin-bottom: 30px;
    color: rgba(255,255,255,.78);
    font-size: 19px;
    line-height: 1.65;
}

.hero-url-form {
    max-width: 720px;
    margin-top: 28px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    padding: 18px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.hero-url-form label,
.hero-url-form .checkbox-field,
.hero-url-form .competitor-fields summary {
    color: rgba(255,255,255,.9);
}

.hero-url-form .input-row {
    gap: 12px;
}

.hero-url-form input,
.hero-url-form select {
    border-color: rgba(255,255,255,.2);
    background-color: rgba(255,255,255,.96);
}

.hero-url-form button {
    min-width: 180px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 18px 38px rgba(249, 115, 22, .24);
}

.hero-url-form button:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.hero-form-note {
    margin: 12px 0 0;
    color: rgba(255,255,255,.68);
    font-weight: 800;
}

.review-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.review-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    border-radius: 8px;
    padding: 14px 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 18px 38px rgba(249, 115, 22, .24);
    transition: transform .2s ease, box-shadow .2s ease;
}

.review-hero-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(244, 63, 94, .28);
}

.review-hero-actions > span {
    color: rgba(255,255,255,.68);
    font-weight: 700;
}

.scan-panel,
.loading-card,
.panel,
.overall-card,
.category-card,
.note-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.scan-panel {
    display: grid;
    grid-template-columns: 1fr minmax(340px, 520px);
    gap: 28px;
    align-items: end;
    padding: 28px;
}

.eyebrow,
.report-kicker {
    margin: 0 0 8px;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow::after,
.report-kicker::after {
    content: ".";
    color: var(--green);
}

.scan-logo {
    display: block;
    width: min(260px, 82%);
    height: auto;
    padding: 14px 18px;
    border-radius: 8px;
    background: var(--navy);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
    object-fit: contain;
    margin: 0 0 22px;
}
.scan-logo-text { display: inline-flex; width: auto; }

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 10px;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.scan-panel h1::after {
    content: ".";
    color: var(--green);
}

h2 {
    margin-bottom: 16px;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 22px;
    letter-spacing: 0;
    text-transform: uppercase;
}

h3 {
    margin-bottom: 8px;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 18px;
}

.intro,
.loading-card p,
.report-summary,
.meaning-panel p,
.review-card p,
.note-panel,
.scan-date {
    color: var(--muted);
    line-height: 1.55;
}

label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}

input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--ink);
    font: inherit;
    background: #fff;
}

select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 44px 12px 14px;
    color: var(--ink);
    font: inherit;
    background:
        linear-gradient(45deg, transparent 50%, var(--muted) 50%) right 18px center / 7px 7px no-repeat,
        linear-gradient(135deg, var(--muted) 50%, transparent 50%) right 13px center / 7px 7px no-repeat,
        #fff;
    appearance: none;
    cursor: pointer;
}

.industry-field {
    margin-top: 18px;
    margin-bottom: 8px;
}

.checkbox-field {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.checkbox-field input {
    width: auto;
    min-height: auto;
}

input:focus,
select:focus {
    outline: 3px solid rgba(37, 99, 235, 0.22);
    border-color: var(--green);
}

button,
.cta-button {
    min-height: 48px;
    border: 0;
    border-radius: 6px;
    padding: 12px 18px;
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--green), #1d4ed8);
    cursor: pointer;
}

button:hover,
.cta-button:hover {
    background: linear-gradient(135deg, var(--yellow), var(--green));
    color: var(--ink);
    transform: translateY(-2px);
}

button, .cta-button {
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

a { transition: color .2s ease, border-color .2s ease, opacity .2s ease; }
a:hover { color: var(--green); }

.input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.form-error {
    margin: 12px 0 0;
    color: var(--red);
    font-weight: 800;
}

.form-note {
    margin: 12px 0 0;
    color: var(--green-dark);
    font-weight: 800;
}

.competitor-fields {
    margin-top: 14px;
}

.competitor-fields summary {
    color: var(--green-dark);
    font-weight: 800;
    cursor: pointer;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.search-term-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.search-term-note {
    grid-column: 1 / -1;
}

.search-term-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.search-term-card strong,
.search-term-card span,
.search-term-card small {
    display: block;
}

.search-term-card strong {
    margin-bottom: 8px;
    color: var(--ink);
}

.search-term-card span {
    color: var(--green-dark);
    font-weight: 900;
}

.search-term-card small {
    margin-top: 4px;
    color: var(--muted);
    font-weight: 800;
}

.loading-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px 22px;
    align-items: center;
    margin-top: 24px;
    padding: 28px;
}

.spinner {
    width: 44px;
    height: 44px;
    border: 5px solid #e4f3dd;
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin 900ms linear infinite;
    flex: 0 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.scan-progress {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.scan-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.scan-progress-meta strong {
    color: var(--green-dark);
}

.scan-progress-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5eef1;
}

.scan-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green), var(--green-dark));
    transition: width 500ms ease;
}

.report-shell {
    margin-top: 18px;
    padding: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.report-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
        "title scores";
    gap: 24px 38px;
    align-items: center;
    margin-bottom: 28px;
    border-radius: 8px;
    min-height: 225px;
    padding: 30px 34px 30px 42px;
    color: #fff;
    background:
        radial-gradient(circle at 75% 38%, rgba(72, 214, 214, 0.22), transparent 13rem),
        linear-gradient(135deg, var(--dark-card), #061f2e);
    overflow: visible;
}

.report-header::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 34px;
    bottom: 34px;
    width: 3px;
    border-radius: 999px;
    background: var(--green);
}

.report-header > * {
    position: relative;
}

.report-header > div:first-child {
    grid-area: title;
    min-width: 0;
    max-width: none;
}

.report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.report-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #f4fbfb);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.report-tab {
    position: relative;
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-areas:
        "icon label"
        "icon hint";
    align-items: center;
    gap: 0 8px;
    width: 100%;
    min-width: 0;
    min-height: 64px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 12px;
    color: var(--green-dark);
    text-align: left;
    white-space: normal;
    background: linear-gradient(135deg, #f0ffff, #ffffff);
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 19, 29, 0.05);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.report-tab::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 3px;
    border-radius: 999px;
    background: rgba(72, 214, 214, 0.28);
}

.report-tab .material-symbols-outlined {
    grid-area: icon;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--green-dark);
    background: #eafafa;
    font-size: 20px;
}

.report-tab span:not(.material-symbols-outlined) {
    grid-area: label;
    color: var(--green-dark);
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: clamp(11px, .8vw, 13px);
    line-height: 1.08;
    font-weight: 900;
    text-transform: uppercase;
}

.report-tab small {
    grid-area: hint;
    color: var(--green-dark);
    min-width: 0;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
}

.report-tab:hover,
.report-tab.active {
    color: #fff;
    border-color: rgba(72, 214, 214, 0.55);
    background: linear-gradient(135deg, var(--dark-card), #063242);
    transform: translateY(-1px);
}

.report-tab:hover::after,
.report-tab.active::after {
    background: var(--green);
}

.report-tab:hover span:not(.material-symbols-outlined),
.report-tab.active span:not(.material-symbols-outlined),
.report-tab:hover small,
.report-tab.active small {
    color: #fff;
}

.report-tab:hover .material-symbols-outlined,
.report-tab.active .material-symbols-outlined {
    color: var(--dark-card);
    background: var(--green);
}

.report-tab:focus-visible {
    outline: 3px solid rgba(72, 214, 214, 0.35);
    outline-offset: 3px;
}

.report-tab-panel {
    animation: tabFade 180ms ease;
}

.tab-section-header {
    margin: 0 0 22px;
    padding: 22px 24px;
    border: 1px solid rgba(72, 214, 214, 0.35);
    border-left: 5px solid var(--green);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(72, 214, 214, 0.12), rgba(255, 255, 255, 0.95));
}

.tab-section-header h2 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.1;
    text-transform: uppercase;
}

.tab-section-header p:last-child {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.45;
}

@keyframes tabFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ghost-link {
    min-height: 48px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    padding: 12px 18px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    background: #fff;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 22px;
}

.site-preview {
    overflow: hidden;
    border-radius: 8px;
}

.site-preview img,
.site-preview iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: contain;
    object-position: top center;
    background: #f4f7fb;
}

.site-preview iframe {
    width: 150%;
    height: 315px;
    zoom: 0.67;
}

.site-preview p {
    margin: 10px 0 0;
}

.pagespeed-panel ul {
    margin-bottom: 0;
    padding-left: 18px;
}

.speed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.speed-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.speed-card strong {
    display: block;
    color: var(--green-dark);
    font-size: 30px;
}

.speed-card span {
    color: var(--muted);
}

.estimate-note {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.45;
}

.report-header h2 {
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(28px, 2.65vw, 40px);
    line-height: 1.06;
    overflow-wrap: anywhere;
    word-break: normal;
}

.report-header .report-kicker {
    color: #9ff4f1;
}

.report-header .scan-date,
.report-header .report-summary {
    color: #d7e9ee;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d7e9ee;
    font-size: 13px;
    font-weight: 700;
}

.hero-meta .material-symbols-outlined {
    color: var(--green);
    font-size: 18px;
}

.report-summary {
    max-width: 100%;
    width: 100%;
    justify-self: start;
    border-left: 1px solid rgba(72, 214, 214, 0.35);
    padding-left: 28px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.48;
    overflow-wrap: anywhere;
}

.hero-score {
    --score: 0;
    --score-color: var(--green);
    display: grid;
    place-items: center;
    align-content: center;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background:
        radial-gradient(circle closest-side, #062232 68%, transparent 69%),
        conic-gradient(var(--score-color) calc(var(--score) * 1%), rgba(255, 255, 255, 0.18) 0);
    box-shadow: 0 0 0 1px rgba(72, 214, 214, 0.12), 0 18px 45px rgba(0, 0, 0, 0.18);
}

.hero-score-stack {
    grid-area: scores;
    justify-self: end;
    display: grid;
    justify-items: center;
    gap: 18px;
    align-content: center;
    width: 100%;
    min-width: 0;
}

.hero-score-visuals {
    display: grid;
    grid-template-columns: 132px minmax(260px, 300px);
    gap: 28px;
    align-items: center;
    justify-content: start;
    width: 100%;
    min-width: 0;
}

.hero-score-breakdown {
    width: 100%;
}

.hero-radar-legend {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    width: min(100%, 300px);
    max-width: 100%;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
    min-width: 0;
}

.hero-radar-legend div {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 34px;
    gap: 12px;
    align-items: center;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-radar-legend div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.hero-radar-legend strong {
    color: #fff;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
}

.hero-radar-legend em {
    color: #9ff4f1;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.hero-radar-legend span {
    min-width: 0;
    color: #d7e9ee;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.hero-radar-legend small {
    color: #9ff4f1;
    font-size: 9px;
    font-weight: 900;
    text-align: right;
    white-space: nowrap;
}

.hero-score strong {
    font-size: 34px;
    line-height: 0.82;
}

.hero-score span {
    margin-top: -3px;
    color: #d7e9ee;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.hero-score small {
    width: 96px;
    margin-top: 6px;
    color: #9ff4f1;
    font-size: 7.5px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.score-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.overall-card {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 235px;
    padding: 22px;
    text-align: center;
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 50% 35%, rgba(72, 214, 214, 0.18), transparent 9rem),
        linear-gradient(135deg, var(--dark-card), #061f2e);
}

.score-ring {
    --score: 0;
    --score-color: var(--green);
    width: 220px;
    height: 220px;
    margin-bottom: 16px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    background:
        radial-gradient(circle closest-side, #061f2e 76%, transparent 77%),
        conic-gradient(var(--score-color) calc(var(--score) * 1%), #e8e8e8 0);
}

.score-ring span {
    font-size: 70px;
    font-weight: 900;
    line-height: 0.92;
}

.score-ring small {
    display: block;
    color: #c6d9de;
    font-size: 24px;
    font-weight: 800;
}

.overall-card h3,
.overall-card p {
    margin-bottom: 0;
}

.overall-card p {
    margin-top: 10px;
    color: #9ff4f1;
    font-weight: 800;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.category-card {
    min-height: 155px;
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), transparent);
}

.category-card.wide {
    grid-column: span 1;
}

.category-icon,
.issue-icon,
.stat-icon {
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
}

.category-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    font-size: 24px;
}

.category-icon .material-symbols-outlined {
    font-size: 30px;
}

.category-card h3 {
    margin-bottom: 8px;
}

.category-score {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-bottom: 8px;
}

.category-score strong {
    color: inherit;
    font-size: 36px;
    line-height: 1;
}

.category-score span {
    color: var(--muted);
    font-weight: 800;
}

.rating {
    margin-bottom: 22px;
    font-weight: 800;
}

.mini-bar {
    height: 7px;
    border-radius: 99px;
    background: #eeeeee;
    overflow: hidden;
}

.mini-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--green-dark);
}

.dashboard-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, .65fr) minmax(300px, .85fr);
    gap: 20px;
    margin-bottom: 22px;
}

.priority-panel,
.potential-panel,
.snapshot-panel,
.strengths-panel,
.confidence-panel,
.internal-panel {
    background: linear-gradient(135deg, #ffffff, #f5fbfb);
}

.priority-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.priority-metric {
    border-right: 1px solid var(--line);
    padding-right: 12px;
}

.priority-metric:last-child {
    border-right: 0;
}

.priority-metric .material-symbols-outlined {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    border-radius: 50%;
    color: #fff;
    font-size: 19px;
}

.priority-metric.critical .material-symbols-outlined { background: var(--red); }
.priority-metric.high .material-symbols-outlined { background: var(--orange); }
.priority-metric.medium .material-symbols-outlined { background: var(--yellow); }
.priority-metric.low .material-symbols-outlined { background: #318ee8; }

.priority-metric strong {
    display: block;
    font-size: 30px;
}

.priority-metric small,
.priority-metric em {
    display: block;
    font-style: normal;
}

.priority-metric em {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.priority-bar {
    display: flex;
    height: 18px;
    margin: 22px 0 12px;
    overflow: hidden;
    border-radius: 99px;
    background: #e7eef2;
}

.priority-bar span.critical { background: var(--red); }
.priority-bar span.high { background: var(--orange); }
.priority-bar span.medium { background: var(--yellow); }
.priority-bar span.low { background: #318ee8; }

.potential-score {
    display: grid;
    justify-items: center;
    gap: 16px;
    text-align: center;
}

.potential-ring {
    --score: 0;
    --score-color: var(--green-dark);
    display: grid;
    place-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background:
        radial-gradient(circle closest-side, #ffffff 72%, transparent 73%),
        conic-gradient(var(--score-color) calc(var(--score) * 1%), #d6dde2 0);
}

.potential-ring strong {
    font-size: 48px;
    line-height: .9;
}

.potential-ring span {
    color: var(--muted);
    font-weight: 800;
}

.potential-copy p {
    margin-bottom: 5px;
}

.potential-copy .score-value {
    font-weight: 900;
}

.potential-copy .muted {
    max-width: 360px;
    font-size: 14px;
    line-height: 1.35;
}

.tab-next {
    display: flex;
    justify-content: flex-end;
    margin: 28px 0 4px;
}

.next-tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    padding: 0 22px;
    color: #00131d;
    font-weight: 900;
    text-transform: uppercase;
    background: var(--green);
    cursor: pointer;
}

.snapshot-panel {
    color: #fff;
    background:
        radial-gradient(circle at 85% 15%, rgba(72, 214, 214, .18), transparent 9rem),
        linear-gradient(135deg, var(--dark-card), #061f2e);
}

.snapshot-panel h2 {
    color: #fff;
}

.snapshot-panel .muted {
    color: #cfe1e6;
}

.snapshot-panel .site-preview img,
.snapshot-panel .site-preview iframe {
    min-height: 210px;
    border-color: rgba(255, 255, 255, .18);
}

.snapshot-issues {
    margin-top: 14px;
}

.snapshot-issues ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.snapshot-issues li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    align-items: center;
    color: #d7e9ee;
    font-size: 13px;
}

.snapshot-issues li span {
    border-radius: 999px;
    padding: 3px 7px;
    color: #061f2e;
    background: var(--green);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    padding: 24px 26px 14px;
    border-bottom: 1px solid var(--line);
}

.issues-panel .section-head h2 {
    padding: 0;
    border-bottom: 0;
}

.issue-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.issue-sort label {
    font-size: 12px;
    text-transform: uppercase;
}

.issue-sort select {
    min-height: 40px;
}

.issue-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 26px;
    border-bottom: 1px solid var(--line);
    background: #f7fbfc;
}

.issue-filters button {
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--muted);
    font-size: 12px;
    background: #fff;
}

.issue-filters button.active {
    color: #fff;
    border-color: var(--green-dark);
    background: var(--green-dark);
}

.impact-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.impact-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d8dee5;
}

.impact-dots i.filled {
    background: var(--orange);
}

.issue-icon .material-symbols-outlined {
    font-size: 24px;
}

.report-main {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 20px;
    margin-bottom: 22px;
}

.panel {
    padding: 24px;
}

.issues-panel {
    padding: 0;
    overflow: hidden;
}

.issues-panel h2 {
    margin: 0;
    padding: 24px 26px;
    border-bottom: 1px solid var(--line);
}

.issue-list {
    display: grid;
}

.issue-card {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 20px;
    align-items: start;
    padding: 20px 26px;
    border-bottom: 1px solid var(--line);
}

.issue-icon {
    width: 50px;
    height: 50px;
    color: var(--red);
    font-size: 24px;
    background: #ffe6e6;
}

.issue-icon.warn {
    color: var(--orange);
    background: #fff0df;
}

.issue-icon.high {
    color: var(--red);
    background: #ffe6e6;
}

.issue-icon.low {
    color: var(--blue);
    background: #eaf4ff;
}

.issue-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.issue-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    background: #f2f5f8;
    text-transform: uppercase;
}

.issue-card h3 {
    margin-bottom: 6px;
    font-size: 17px;
}

.issue-card p {
    margin-bottom: 8px;
    line-height: 1.45;
}

.issue-card p:last-child {
    margin-bottom: 0;
}

.evidence {
    color: var(--muted);
    font-size: 14px;
}

.fix {
    color: var(--ink);
    font-size: 14px;
}

.ghost-button {
    min-height: 38px;
    border: 1px solid #cfd8e3;
    color: var(--ink);
    background: #fff;
    font-size: 12px;
}

.ghost-button:hover {
    background: #f5f8fb;
}

.text-link {
    margin: 18px 26px 22px;
    min-height: auto;
    padding: 0;
    color: var(--green-dark);
    background: transparent;
    text-transform: none;
}

.text-link:hover {
    background: transparent;
}

.side-stack {
    display: grid;
    gap: 14px;
}

.meaning-panel {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 85% 25%, rgba(72, 214, 214, 0.22), transparent 9rem),
        linear-gradient(135deg, var(--dark-card), #07131b);
}

.meaning-panel h2,
.meaning-panel p {
    color: #fff;
}

.meaning-panel p {
    color: #d7e9ee;
}

.quick-box {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #cdebee;
    border-radius: 8px;
    background: rgba(242, 251, 252, 0.1);
}

.quick-box h3 {
    font-size: 16px;
}

.quick-box ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.quick-box li {
    position: relative;
    padding-left: 26px;
}

.quick-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    background: var(--green);
}

.review-card {
    padding: 26px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), #07131b);
    box-shadow: var(--shadow);
}

.review-icon {
    color: var(--green);
    font-size: 42px;
}

.review-card p {
    color: #edf6ff;
}

.review-card .cta-button {
    width: 100%;
    margin-top: 8px;
}

.stats-panel {
    margin-bottom: 22px;
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 90% 20%, rgba(72, 214, 214, .15), transparent 14rem),
        linear-gradient(135deg, var(--dark-card), #061f2e);
}

.stats-panel h2 {
    color: #fff;
}

.competitor-panel {
    margin-bottom: 22px;
    background: linear-gradient(135deg, #ffffff, #f2fbfc);
}

.full-analysis-panel {
    margin-bottom: 22px;
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 88% 20%, rgba(72, 214, 214, 0.18), transparent 14rem),
        linear-gradient(135deg, var(--dark-card), #07131b);
}

.full-analysis-panel h2 {
    color: #fff;
}

.growth-panel {
    margin-bottom: 22px;
    border-color: #cdebee;
    background:
        radial-gradient(circle at 92% 12%, rgba(72, 214, 214, .14), transparent 15rem),
        linear-gradient(135deg, #ffffff, #f4fbfb);
}

.growth-intro {
    max-width: 780px;
    color: var(--muted);
    line-height: 1.5;
}

.growth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.growth-card {
    border: 1px solid var(--line);
    border-left: 5px solid var(--score-color, var(--green-dark));
    border-radius: 8px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(0, 19, 29, 0.05);
}

.growth-card.needs-focus {
    border-left-color: var(--score-color, var(--orange));
}

.growth-card.needs-focus .mini-bar span {
    background: var(--score-color, var(--orange));
}

.growth-card.developing {
    border-left-color: var(--score-color, var(--yellow));
}

.growth-card.developing .mini-bar span {
    background: var(--score-color, var(--yellow));
}

.growth-card.strong {
    border-left-color: var(--score-color, var(--green));
}

.growth-card.strong .mini-bar span {
    background: var(--score-color, var(--green-dark));
}

.growth-card-head {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: start;
    margin-bottom: 14px;
}

.growth-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--green-dark);
    background: #eafafa;
}

.growth-card h3 {
    margin-bottom: 5px;
}

.growth-card-head > strong {
    color: var(--score-color, var(--green-dark));
    font-size: 25px;
}

.growth-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    background: #eef4f6;
}

.growth-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.growth-card h4 {
    margin: 0 0 8px;
    color: var(--green-dark);
    font-size: 12px;
    text-transform: uppercase;
}

.growth-card ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 18px;
    color: var(--ink);
    line-height: 1.4;
}

.growth-evidence {
    margin-top: 14px;
    border-radius: 8px;
    padding: 12px;
    background: #f5fafb;
}

.business-dashboard,
.growth-dashboard,
.evidence-dashboard {
    display: grid;
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1fr);
    grid-template-areas:
        "score dashboard"
        "notes dashboard";
    gap: 20px;
    align-items: start;
    margin-bottom: 22px;
}

.business-score-card,
.growth-score-card,
.evidence-score-card {
    grid-area: score;
    border-radius: 8px;
    padding: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 18%, rgba(72, 214, 214, .2), transparent 10rem),
        linear-gradient(135deg, var(--dark-card), #061f2e);
    box-shadow: var(--shadow);
}

.business-focus-panel,
.growth-focus-panel {
    grid-area: dashboard;
}

.score-notes-card {
    grid-area: notes;
    margin: 0;
    background: linear-gradient(135deg, #fff, #f4fbfb);
}

.score-notes-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    text-transform: uppercase;
}

.score-notes-card p {
    margin-bottom: 12px;
    color: var(--muted);
    line-height: 1.45;
}

.score-notes-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
}

.business-score-card .report-kicker,
.growth-score-card .report-kicker,
.evidence-score-card .report-kicker {
    color: var(--score-color, #9ff4f1);
}

.business-score-summary,
.growth-score-summary,
.evidence-score-summary {
    display: grid;
    justify-items: center;
    gap: 18px;
    text-align: center;
}

.business-score-summary h2,
.growth-score-summary h2,
.evidence-score-summary h2 {
    margin-bottom: 10px;
    color: var(--score-color, #fff);
}

.score-notes-card h3 {
    color: var(--score-color, var(--ink));
}

.business-score-summary p,
.business-score-summary li,
.growth-score-summary p,
.growth-score-summary li,
.evidence-score-summary p,
.evidence-score-summary li {
    color: #d7e9ee;
    line-height: 1.45;
}

.business-score-summary ul,
.growth-score-summary ul,
.evidence-score-summary ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 18px;
}

.business-ring,
.growth-ring,
.evidence-ring {
    --score: 0;
    --score-color: var(--green);
    display: grid;
    place-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background:
        radial-gradient(circle closest-side, #061f2e 70%, transparent 71%),
        conic-gradient(var(--score-color) calc(var(--score) * 1%), rgba(255, 255, 255, 0.18) 0);
}

.business-ring strong,
.growth-ring strong,
.evidence-ring strong {
    color: var(--score-color, #fff);
    font-size: 46px;
    line-height: .9;
}

.business-ring span,
.growth-ring span,
.evidence-ring span {
    color: #d7e9ee;
    font-weight: 800;
}

.business-focus-panel,
.growth-focus-panel {
    background: linear-gradient(135deg, #fff, #f4fbfb);
}

.evidence-dashboard {
    grid-template-areas: "score notes";
}

.evidence-dashboard .score-notes-card {
    grid-area: notes;
}

.business-category-summary,
.growth-category-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.business-mini-card,
.growth-mini-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
    border: 1px solid var(--line);
    border-left: 5px solid var(--score-color, var(--green-dark));
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.business-mini-card h3,
.growth-mini-card h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.business-mini-card span,
.growth-mini-card span {
    color: var(--score-color, var(--muted));
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.business-mini-card > strong,
.growth-mini-card > strong {
    color: var(--score-color, var(--green-dark));
    font-size: 20px;
}

.business-mini-card .mini-bar,
.growth-mini-card .mini-bar {
    grid-column: 1 / -1;
}

.business-mini-card .mini-bar span,
.growth-mini-card .mini-bar span {
    background: var(--score-color, var(--green-dark));
}

.business-mini-card.good,
.growth-mini-card.good {
    border-left-color: var(--score-color, var(--yellow));
}

.business-mini-card.good .mini-bar span,
.growth-mini-card.good .mini-bar span {
    background: var(--score-color, var(--yellow));
}

.business-mini-card.needs-work,
.growth-mini-card.needs-work {
    border-left-color: var(--score-color, var(--orange));
}

.business-mini-card.needs-work .mini-bar span,
.growth-mini-card.needs-work .mini-bar span {
    background: var(--score-color, var(--orange));
}

.business-mini-card.priority,
.growth-mini-card.priority {
    border-left-color: var(--score-color, var(--red));
}

.business-mini-card.priority .mini-bar span,
.growth-mini-card.priority .mini-bar span {
    background: var(--score-color, var(--red));
}

.growth-card .analysis-block {
    border: 1px solid var(--line);
    color: var(--ink);
}

.growth-card .analysis-findings {
    background: #f0fbfb;
    border-left-color: var(--green);
}

.growth-card .analysis-actions {
    background: #f3faee;
    border-left-color: #7fdc4a;
}

.growth-card .analysis-findings h4 {
    color: var(--green-dark);
}

.growth-card .analysis-actions h4 {
    color: #4f981c;
}

.full-analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.analysis-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.analysis-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
}

.analysis-head h3 {
    margin-bottom: 8px;
}

.analysis-head strong {
    color: var(--score-color, var(--green));
    font-size: 22px;
}

.analysis-status {
    display: inline-flex;
    margin-bottom: 14px;
    border-radius: 999px;
    padding: 5px 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    background: var(--score-color, var(--green));
}

.analysis-status.needs-work {
    background: var(--orange);
}

.analysis-status.priority {
    background: var(--red);
}

.analysis-card h4 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.analysis-card h4 .material-symbols-outlined {
    font-size: 18px;
}

.analysis-block {
    margin-top: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 14px;
}

.analysis-findings {
    background: rgba(72, 214, 214, 0.08);
    border-left: 4px solid var(--green);
}

.analysis-actions {
    background: rgba(74, 163, 24, 0.12);
    border-left: 4px solid #7fdc4a;
}

.analysis-findings h4 {
    color: #7de8e8;
}

.analysis-actions h4 {
    color: #a9f081;
}

.analysis-card ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 18px;
    color: #d7e9ee;
    line-height: 1.45;
}

.competitor-list {
    display: grid;
    gap: 10px;
}

.competitor-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.competitor-summary article {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.competitor-summary span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.competitor-summary strong {
    color: var(--score-color, var(--navy));
    font-size: 26px;
}

.competitor-search-note {
    border: 1px solid #cdebee;
    border-radius: 8px;
    padding: 14px;
    color: var(--muted);
    background: linear-gradient(135deg, #f2fbfc, #f8fbff);
}

.competitor-search-note p {
    margin: 6px 0 0;
}

.competitor-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.competitor-row > span {
    color: var(--score-color, var(--navy));
    font-weight: 800;
}

.competitor-row.own {
    border-color: #cdebee;
    background: linear-gradient(135deg, #f2fbfc, #ffffff);
}

.competitor-row.unavailable {
    background: #fbfcfe;
}

.competitor-row small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.competitor-bar {
    height: 7px;
    margin-top: 10px;
    border-radius: 999px;
    background: #edf1f5;
    overflow: hidden;
}

.competitor-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--score-color, var(--cyan));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.word-cloud-panel {
    margin-bottom: 22px;
}

.site-word-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 18px;
    background: linear-gradient(135deg, #f0ffff, #ffffff);
}

.site-word-cloud span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    border: 1px solid rgba(72, 214, 214, 0.35);
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--green-dark);
    background: #fff;
    font-weight: 900;
}

.site-word-cloud small {
    color: var(--muted);
    font-size: 11px;
}

.word-level-1 { font-size: 13px; }
.word-level-2 { font-size: 15px; }
.word-level-3 { font-size: 18px; }
.word-level-4 { font-size: 22px; }
.word-level-5 { font-size: 27px; }

.technical-audit-panel {
    margin: 22px 0;
}

.technical-audit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.technical-audit-card {
    display: grid;
    gap: 14px;
    border: 1px solid var(--score-color-soft, var(--line));
    border-radius: 8px;
    padding: 18px;
    background: linear-gradient(145deg, #ffffff, #f7fbfb);
}

.technical-audit-card.priority {
    border-color: var(--score-color-soft, rgba(226, 77, 77, .35));
}

.technical-audit-card.needs-work {
    border-color: var(--score-color-soft, rgba(255, 139, 26, .38));
}

.technical-audit-card.good {
    border-color: var(--score-color-soft, rgba(72, 214, 214, .45));
}

.technical-audit-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.technical-audit-head h3 {
    margin-bottom: 6px;
    text-transform: uppercase;
}

.technical-audit-head span {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--score-color, var(--green-dark));
    background: var(--score-color-soft, #e8fbfb);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.technical-audit-head strong {
    color: var(--score-color, var(--green-dark));
    font-size: 25px;
}

.technical-check-list {
    display: grid;
    gap: 8px;
}

.technical-check {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: start;
    border-top: 1px solid var(--soft-line);
    padding-top: 9px;
}

.technical-check:first-child {
    border-top: 0;
    padding-top: 0;
}

.technical-check .material-symbols-outlined {
    margin-top: 1px;
    font-size: 22px;
}

.technical-check.pass .material-symbols-outlined {
    color: var(--green-dark);
}

.technical-check.warn .material-symbols-outlined {
    color: var(--orange);
}

.technical-check.fail .material-symbols-outlined {
    color: var(--red);
}

.technical-check strong {
    display: block;
    margin-bottom: 3px;
}

.technical-check p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.technical-evidence {
    display: grid;
    gap: 10px;
    border-radius: 8px;
    padding: 12px;
    background: #eef8f8;
}

.serp-preview {
    display: grid;
    gap: 4px;
}

.serp-preview small {
    color: var(--green-dark);
    font-weight: 900;
    text-transform: uppercase;
}

.serp-preview strong {
    color: #174ea6;
}

.serp-preview span {
    color: #188038;
    font-size: 13px;
}

.serp-preview p {
    margin: 0;
    color: #3c4043;
    font-size: 13px;
}

.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.keyword-cloud span {
    border-radius: 999px;
    padding: 6px 9px;
    color: var(--ink);
    background: #fff;
    font-size: 12px;
    font-weight: 800;
}

.keyword-cloud small {
    color: var(--muted);
}

.resource-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.resource-mini-grid span {
    border-radius: 8px;
    padding: 9px;
    color: var(--muted);
    background: #fff;
    font-size: 12px;
}

.resource-mini-grid strong {
    display: block;
    color: var(--ink);
    font-size: 18px;
}

.stat-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 82px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.07);
}

.stat-card.attention {
    border-color: rgba(226, 77, 77, .45);
    background: rgba(226, 77, 77, .12);
}

.stat-icon {
    width: 44px;
    height: 44px;
    color: var(--green-dark);
    background: #eafafa;
}

.stat-icon .material-symbols-outlined {
    font-size: 23px;
}

.stat-card strong {
    display: block;
    color: #fff;
    font-size: 23px;
}

.stat-card span {
    color: #cfe1e6;
    font-size: 13px;
}

.note-panel {
    padding: 18px 22px;
    border-color: #bdd7ff;
    background: #f2f7ff;
}

.insight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 22px;
}

.score-detail-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    margin-bottom: 22px;
    align-items: start;
}

.health-score-explain-panel {
    margin-bottom: 22px;
}

.insight-list,
.action-plan,
.email-copy-list {
    display: grid;
    gap: 14px;
}

.strength-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 14px;
}

.score-explanation {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.insight-card,
.strength-card,
.action-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: linear-gradient(135deg, #ffffff, #fbfdff);
}

.explain-card {
    border: 1px solid rgba(72, 214, 214, 0.55);
    border-radius: 8px;
    padding: 14px;
    background: linear-gradient(135deg, #f0ffff, #ffffff);
}

.explain-card summary {
    position: relative;
    display: grid;
    gap: 8px;
    padding-right: 34px;
    cursor: pointer;
    list-style: none;
}

.explain-card summary::after {
    content: "expand_more";
    position: absolute;
    right: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--dark-card);
    background: var(--green);
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' 0, 'opsz' 24;
    transition: transform 160ms ease;
}

.explain-card[open] summary::after {
    transform: rotate(180deg);
}

.explain-card summary::-webkit-details-marker {
    display: none;
}

.explain-card .mini-bar {
    margin-bottom: 4px;
}

.explain-card .mini-bar span {
    background: var(--green-dark);
}

.score-row-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.explain-card ul,
.lead-score-panel ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.explain-card li {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    border-top: 1px solid var(--soft-line);
}

.explain-card li > span {
    font-family: 'Material Symbols Outlined';
    font-size: 18px;
}

.explain-card li strong {
    font-size: 12px;
}

.lead-quality-card {
    margin-bottom: 22px;
    border-radius: 8px;
    padding: 20px;
    color: var(--ink);
    background: linear-gradient(135deg, #ffffff, #f4fbfb);
}

.lead-quality-card h2 {
    margin-bottom: 14px;
    color: var(--ink);
}

.explain-card li.pass {
    color: var(--green-dark);
}

.explain-card li.fail {
    color: var(--red);
}

.lead-score {
    display: grid;
    place-items: center;
    align-content: center;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.lead-score strong {
    font-size: 25px;
    line-height: 1;
}

.lead-score span {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.lead-score.hot {
    background: var(--red);
}

.lead-score.warm {
    background: var(--orange);
}

.lead-score-layout {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    background: #fff;
}

.lead-score-block {
    display: grid;
    place-items: center;
    border-right: 1px solid var(--line);
    padding-right: 18px;
}

.lead-score-copy {
    display: grid;
    align-content: center;
    gap: 12px;
}

.lead-score-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.lead-score-panel ul li {
    position: relative;
    padding-left: 22px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.lead-score-panel ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.email-copy {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
}

.email-copy pre {
    white-space: pre-wrap;
    margin: 0;
    color: var(--muted);
    font: inherit;
    line-height: 1.5;
}

.insight-card h3,
.strength-card h3,
.action-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.insight-card p,
.strength-card p,
.action-card p {
    margin-bottom: 12px;
    color: var(--muted);
    line-height: 1.5;
}

.insight-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
}

.insight-card li {
    line-height: 1.45;
}

.strength-card {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 160px;
    padding: 18px;
    border-left: 0;
    background:
        radial-gradient(circle at 88% 16%, rgba(72, 214, 214, 0.22), transparent 4.5rem),
        linear-gradient(135deg, #ffffff, #f2fbfc);
}

.strength-card .card-icon {
    position: static;
    margin-bottom: 18px;
}

.strength-card h3 {
    margin-bottom: 7px;
}

.strength-card p {
    margin-bottom: 0;
    font-size: 14px;
}

.insight-card {
    position: relative;
}

.insight-card:not(.recommendation-card) {
    padding-left: 70px;
}

.insight-card.rag-red {
    border-left: 5px solid var(--red);
    background: linear-gradient(135deg, #fff7f7, #ffffff);
}

.insight-card.rag-amber {
    border-left: 5px solid var(--orange);
    background: linear-gradient(135deg, #fff8ef, #ffffff);
}

.insight-card.rag-green {
    border-left: 5px solid var(--green-dark);
    background: linear-gradient(135deg, #f0ffff, #ffffff);
}

.insight-status {
    position: absolute;
    right: 18px;
    top: 18px;
    border-radius: 999px;
    padding: 4px 8px;
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    background: #eafafa;
}

.insight-status.red {
    color: var(--red);
    background: #ffe9e9;
}

.insight-status.amber {
    color: #b75d00;
    background: #fff0dd;
}

.insight-status.green {
    color: var(--green-dark);
    background: #eafafa;
}

.card-icon {
    position: absolute;
    left: 18px;
    top: 18px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--blue);
    background: #eaf4ff;
}

.card-icon.success {
    color: var(--green-dark);
    background: #eafafa;
}

.card-icon.red {
    color: var(--red);
    background: #ffe9e9;
}

.card-icon.amber {
    color: #b75d00;
    background: #fff0dd;
}

.card-icon.green {
    color: var(--green-dark);
    background: #eafafa;
}

.card-icon .material-symbols-outlined {
    font-size: 21px;
}

.recommendation-card {
    border-left: 5px solid var(--orange);
}

.recommendation-card.found {
    border-left-color: var(--green);
    background: linear-gradient(135deg, #ffffff, #f2fbfc);
}

.recommendation-card .issue-meta span {
    color: var(--green-dark);
    background: #eafafa;
}

.action-plan-panel {
    margin-bottom: 22px;
}

.action-plan {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.roadmap-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: linear-gradient(135deg, #fff, #f7fbfc);
}

.roadmap-number {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--dark-card);
    font-size: 15px;
    font-weight: 900;
    background: var(--green);
}

.roadmap-item h3 {
    margin-bottom: 4px;
    font-size: 15px;
}

.roadmap-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.analysis-notes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.confidence-list {
    display: grid;
    gap: 10px;
}

.confidence-list div {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
}

.confidence-list span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.confidence-list strong {
    font-weight: 800;
}

.lead-panel {
    margin-bottom: 22px;
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--dark-card), #061f2e);
}

.lead-panel h2 {
    color: #fff;
}

.lead-panel input {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.96);
}

.lead-form .field-grid {
    margin-bottom: 18px;
}

.lead-form button {
    margin-top: 2px;
}

.muted {
    color: var(--muted);
}

.admin-table {
    margin-top: 18px;
    overflow-x: auto;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px;
    text-align: left;
}

.admin-table th {
    font-size: 13px;
    text-transform: uppercase;
}

[hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    .report-header,
    .score-grid,
    .report-main,
    .insight-grid,
    .score-detail-panel,
    .visual-grid,
    .dashboard-overview,
    .analysis-notes-grid,
    .growth-grid,
    .business-dashboard,
    .growth-dashboard,
    .evidence-dashboard,
    .technical-audit-grid {
        grid-template-columns: 1fr;
    }

    .business-dashboard,
    .growth-dashboard,
    .evidence-dashboard {
        grid-template-areas:
            "score"
            "notes"
            "dashboard";
    }

    .report-header {
        grid-template-areas:
            "title"
            "scores";
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .action-plan {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .stat-card {
        border-right: 0;
        padding: 14px;
    }

    .report-summary {
        border-left: 0;
        border-top: 1px solid rgba(72, 214, 214, 0.35);
        padding: 18px 0 0;
    }

    .hero-score-stack {
        justify-self: start;
        width: 100%;
    }

    .hero-score-visuals,
    .hero-score-breakdown {
        grid-template-columns: 1fr;
        justify-items: start;
    }
}

@media (max-width: 720px) {
    .hero-score-visuals {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .hero-radar-legend {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .report-tool {
        width: min(100% - 20px, 1180px);
        padding: 18px 0;
    }

    .site-header,
    .site-footer,
    .review-hero,
    .scan-panel,
    .report-shell,
    .panel {
        padding: 18px;
    }

    .loading-card {
        grid-template-columns: 44px 1fr;
        padding: 22px;
    }

    .input-row,
    .category-grid,
    .stats-grid,
    .issue-card,
    .field-grid,
    .full-analysis-grid,
    .priority-metrics,
    .action-plan,
    .competitor-summary,
    .growth-columns,
    .business-score-summary,
    .evidence-score-summary,
    .business-category-summary,
    .growth-score-summary,
    .growth-category-summary {
        grid-template-columns: 1fr;
    }

    .resource-mini-grid {
        grid-template-columns: 1fr;
    }

    .technical-audit-head {
        display: grid;
    }

    .lead-score-layout {
        grid-template-columns: 1fr;
    }

    .lead-score-block {
        border-right: 0;
        border-bottom: 1px solid rgba(72, 214, 214, 0.28);
        padding: 0 0 16px;
    }

    .strength-list {
        grid-template-columns: 1fr;
    }

    .section-head,
    .confidence-list div {
        grid-template-columns: 1fr;
    }

    .section-head {
        display: grid;
    }

    .issue-sort {
        align-items: stretch;
        flex-direction: column;
    }

    .priority-metric {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 0 0 12px;
    }

    .issue-card {
        align-items: start;
    }

    button,
    .cta-button {
        width: 100%;
    }

    .issue-filters button {
        width: auto;
    }

    .report-tabs {
        display: flex;
        margin-inline: -2px;
    }

    .report-tab {
        width: 230px;
        flex: 0 0 230px;
    }
}

@media print {
    @page {
        size: A4;
        margin: 6mm;
    }

    * {
        box-shadow: none !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    body {
        color: #07111f;
        background: #fff;
        font-size: 7.8pt;
        line-height: 1.25;
    }

    p,
    li {
        line-height: 1.25;
    }

    .site-header,
    .site-footer,
    .review-hero,
    .scan-panel,
    .loading-card,
    .report-actions,
    .report-tabs,
    .tab-next,
    .issue-filters,
    .issue-sort,
    .visual-grid,
    .lead-panel,
    .review-card,
    .note-panel,
    .ghost-link {
        display: none !important;
    }

    .report-tab-panel[hidden] {
        display: block !important;
    }

    .report-tab-panel {
        break-before: page;
        page-break-before: always;
    }

    .report-tab-panel[data-panel="health"] {
        break-before: auto;
        page-break-before: auto;
    }

    .tab-section-header {
        margin: 0 0 3mm;
        padding: 3mm 4mm;
        border: 1px solid #bfecee;
        border-left: 4px solid var(--green);
        border-radius: 6px;
        background: #f2ffff !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .tab-section-header .report-kicker {
        color: var(--green-dark);
        font-size: 6.4pt;
    }

    .tab-section-header h2 {
        margin: 0 0 1mm;
        color: #07131b;
        font-size: 11.5pt;
        line-height: 1.1;
    }

    .tab-section-header p:last-child {
        max-width: none;
        color: #405465;
        font-size: 7pt;
        line-height: 1.3;
    }

    .report-tool {
        width: 100%;
        padding: 0;
    }

    .report-shell {
        margin: 0;
        padding: 0;
        background: #fff;
    }

    .report-shell,
    .panel,
    .overall-card,
    .category-card,
    .analysis-card,
    .growth-card,
    .roadmap-item,
    .insight-card,
    .strength-card,
    .technical-audit-card,
    .business-mini-card,
    .growth-mini-card,
    .competitor-row,
    .stat-card {
        box-shadow: none;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    details:not([open]) > *:not(summary) {
        display: block;
    }

    .report-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 94mm;
        grid-template-areas: "title scores";
        gap: 5mm;
        margin-bottom: 3mm;
        min-height: 0;
        padding: 4mm 5mm;
        color: #fff;
        border: 0;
        border-radius: 8px;
        background: linear-gradient(135deg, var(--dark-card), #063242) !important;
    }

    .report-title-block {
        grid-area: title;
    }

    .hero-score-stack {
        grid-area: scores;
        align-self: stretch;
        justify-self: stretch;
    }

    .report-kicker {
        color: #9ff4f1;
        margin-bottom: 2px;
        font-size: 6.3pt;
    }

    .report-header h2 {
        color: #fff;
        margin-bottom: 3px;
        font-size: 12.2pt;
        line-height: 1.15;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .scan-date,
    .report-summary {
        color: #d7e9ee;
        margin-bottom: 0;
        font-size: 7.2pt;
        line-height: 1.25;
    }

    .report-summary {
        max-width: none;
        border-left: 1px solid rgba(72, 214, 214, 0.55);
        padding-left: 7px;
    }

    .hero-score {
        width: 28mm;
        height: 28mm;
        color: #fff;
    }

    .hero-score-stack {
        width: 100%;
        gap: 2mm;
    }

    .hero-score-visuals {
        grid-template-columns: 28mm 1fr;
        gap: 3mm;
        justify-items: start;
        align-items: center;
        width: 100%;
    }

    .hero-radar-legend {
        grid-template-columns: 1fr;
        gap: 1mm;
        width: 70mm;
        max-width: 100%;
        margin-top: 0;
        padding: 0;
    }

    .hero-radar-legend div {
        grid-template-columns: 13mm minmax(0, 1fr) 7mm;
        gap: 1.5mm;
        padding-bottom: .8mm;
    }

    .hero-radar-legend strong {
        font-size: 5.9pt;
    }

    .hero-radar-legend em {
        font-size: 4pt;
    }

    .hero-radar-legend span {
        font-size: 5.4pt;
    }

    .hero-radar-legend small {
        font-size: 4.4pt;
    }

    .hero-score strong {
        font-size: 16pt;
        line-height: .88;
    }

    .hero-score span {
        font-size: 6.2pt;
        line-height: .95;
    }

    .hero-score small {
        width: 18mm;
        margin-top: .8mm;
        font-size: 3.6pt;
        line-height: 1.05;
    }

    .score-grid {
        display: grid;
        grid-template-columns: 24mm 1fr;
        gap: 4px;
        margin: 4px 0;
        align-items: stretch;
    }

    .overall-card,
    .category-card,
    .panel {
        border: 1px solid #d9e1ea;
        border-radius: 6px;
        background: #fff;
    }

    .overall-card {
        min-height: 0;
        padding: 5px;
    }

    .score-ring {
        width: 24mm;
        height: 24mm;
        margin-bottom: 6px;
        border-radius: 50%;
        background:
            radial-gradient(circle closest-side, #fff 68%, transparent 69%),
            conic-gradient(var(--score-color) calc(var(--score) * 1%), #e8e8e8 0) !important;
    }

    .score-ring span {
        font-size: 19pt;
    }

    .score-ring small {
        font-size: 7.5pt;
    }

    .overall-card h3 {
        font-size: 8.5pt;
        color: #07131b;
    }

    .overall-card p {
        margin-top: 4px;
        font-size: 7.2pt;
        line-height: 1.2;
        color: var(--green-dark);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .category-card {
        min-height: 0;
        padding: 5px;
    }

    .category-icon {
        display: none;
    }

    .category-card h3 {
        font-size: 7.2pt;
        line-height: 1.15;
    }

    .category-score strong {
        font-size: 13.5pt;
    }

    .category-score span,
    .rating {
        font-size: 6.7pt;
    }

    .report-main,
    .insight-grid,
    .business-dashboard,
    .growth-dashboard,
    .evidence-dashboard {
        display: block;
    }

    .dashboard-overview {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        margin-bottom: 6px;
    }

    .snapshot-panel.live-preview {
        display: none !important;
    }

    .site-preview iframe,
    #previewFallback {
        display: none !important;
    }

    .snapshot-panel .site-preview img {
        max-height: 55mm;
        object-fit: contain;
    }

    .panel {
        margin-bottom: 4px;
        padding: 6px;
    }

    .stats-panel,
    .health-score-explain-panel,
    .issues-panel,
    .strengths-panel,
    .competitor-panel,
    .business-dashboard,
    .full-analysis-panel,
    .growth-dashboard,
    .evidence-dashboard,
    .growth-panel,
    .action-plan-panel,
    .lead-quality-card,
    .technical-audit-panel,
    .analysis-notes-grid {
        break-before: auto;
        page-break-before: auto;
    }

    .health-score-explain-panel,
    .full-analysis-panel,
    .growth-panel,
    .technical-audit-panel {
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    .full-analysis-panel,
    .growth-panel,
    .technical-audit-panel {
        border: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .full-analysis-panel > h2,
    .growth-panel > h2,
    .technical-audit-panel .section-head {
        padding: 6px;
        border: 1px solid #d9e1ea;
        border-radius: 6px;
        background: #fff;
    }

    h2 {
        margin-bottom: 5px;
        font-size: 10pt;
    }

    h3 {
        font-size: 8pt;
    }

    .issue-list,
    .insight-list,
    .strength-list,
    .action-plan,
    .score-explanation,
    .full-analysis-grid,
    .technical-audit-grid,
    .business-category-summary,
    .growth-category-summary {
        gap: 6px;
    }

    .issue-card {
        grid-template-columns: 24px 1fr;
        gap: 7px;
        padding: 7px;
        break-inside: avoid;
    }

    .issue-icon {
        width: 24px;
        height: 24px;
    }

    .issue-card p,
    .insight-card p,
    .action-card p,
    .analysis-card li {
        font-size: 7.2pt;
        line-height: 1.25;
    }

    .side-stack {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .stat-card {
        min-height: 0;
        padding: 5px;
        border: 1px solid var(--line);
        border-radius: 6px;
    }

    .stat-icon {
        width: 20px;
        height: 20px;
    }

    .stat-card strong {
        font-size: 9.5pt;
    }

    .full-analysis-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .technical-audit-grid,
    .business-category-summary,
    .growth-category-summary,
    .strength-list,
    .action-plan {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-score-layout,
    .business-score-summary,
    .growth-score-summary,
    .evidence-score-summary {
        grid-template-columns: 24mm 1fr;
    }

    .business-score-card,
    .growth-score-card,
    .evidence-score-card {
        border: 1px solid #d9e1ea;
        background: #fff;
    }

    .business-score-card,
    .business-score-card .report-kicker,
    .business-score-summary h2,
    .business-score-summary p,
    .business-score-summary li,
    .growth-score-card,
    .growth-score-card .report-kicker,
    .growth-score-summary h2,
    .growth-score-summary p,
    .growth-score-summary li,
    .evidence-score-card,
    .evidence-score-card .report-kicker,
    .evidence-score-summary h2,
    .evidence-score-summary p,
    .evidence-score-summary li {
        color: #07111f;
    }

    .business-ring,
    .growth-ring,
    .evidence-ring {
        width: 22mm;
        height: 22mm;
        border-radius: 50%;
        background:
            radial-gradient(circle closest-side, #fff 68%, transparent 69%),
            conic-gradient(var(--score-color) calc(var(--score) * 1%), #e8e8e8 0) !important;
    }

    .business-ring strong,
    .growth-ring strong,
    .evidence-ring strong,
    .lead-score strong {
        font-size: 18pt;
    }

    .business-score-summary h2,
    .growth-score-summary h2,
    .evidence-score-summary h2 {
        font-size: 10pt;
        line-height: 1.1;
    }

    .business-score-summary p,
    .business-score-summary li,
    .growth-score-summary p,
    .growth-score-summary li,
    .evidence-score-summary p,
    .evidence-score-summary li {
        font-size: 7.2pt;
        line-height: 1.25;
    }

    .analysis-card,
    .insight-card,
    .strength-card,
    .action-card,
    .explain-card,
    .technical-audit-card {
        padding: 6px;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .explain-card summary::after {
        display: none;
    }

    .explain-card summary {
        padding-right: 0;
    }

    .explain-card ul {
        display: grid !important;
        margin-top: 8px;
    }

    .analysis-actions {
        border: 1px solid #bfe6b4;
        border-left: 4px solid #4aa318;
        background: #eef9ea !important;
        color: #28780d;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .analysis-actions h4,
    .analysis-actions li {
        color: #28780d !important;
    }

    .analysis-findings {
        border-left: 4px solid var(--green);
        background: #f0fbfb !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .analysis-head strong {
        font-size: 9.5pt;
    }

    .analysis-status,
    .issue-meta {
        font-size: 6.8pt;
    }

    .overall-card,
    .score-ring span {
        color: #07131b;
    }

    .score-ring small,
    .potential-ring span,
    .lead-score span,
    .business-ring span,
    .growth-ring span,
    .evidence-ring span {
        color: #526471;
    }

    .potential-score {
        gap: 6px;
    }

    .potential-ring {
        width: 22mm;
        height: 22mm;
        border-radius: 50%;
        background:
            radial-gradient(circle closest-side, #fff 68%, transparent 69%),
            conic-gradient(var(--score-color) calc(var(--score) * 1%), #e8e8e8 0) !important;
    }

    .potential-ring strong {
        font-size: 20pt;
    }

    .potential-copy p {
        font-size: 7.2pt;
        line-height: 1.25;
    }

    .issue-list {
        display: block;
    }

    .issue-card {
        margin-bottom: 0;
    }

    .issue-card + .issue-card {
        border-top: 1px solid #d9e1ea;
    }

    .stats-panel,
    .word-cloud-panel,
    .health-score-explain-panel {
        break-before: auto;
        page-break-before: auto;
    }

    .site-word-cloud {
        padding: 5px;
        gap: 3px;
    }

    .site-word-cloud span {
        padding: 2px 5px;
    }

    .word-level-4 { font-size: 10.5pt; }
    .word-level-5 { font-size: 12pt; }

    .stat-card strong {
        color: #07131b;
    }

    .stat-card span {
        color: #526471;
    }

    .stat-icon {
        color: var(--green-dark);
        background: #eafafa;
    }

    .strength-card {
        min-height: 0;
        padding: 5px;
    }

    .strength-card .card-icon {
        width: 22px;
        height: 22px;
        margin-bottom: 5px;
    }

    .strength-card h3 {
        margin-bottom: 3px;
        font-size: 8pt;
    }

    .strength-card p {
        font-size: 7pt;
        line-height: 1.25;
    }

    .full-analysis-grid,
    .growth-grid,
    .technical-audit-grid {
        display: block;
    }

    .analysis-card,
    .growth-card,
    .technical-audit-card {
        margin-bottom: 4px;
        border: 1px solid #d9e1ea;
        background: #fff !important;
        color: #07131b;
    }

    .analysis-card ul,
    .growth-card ul,
    .technical-audit-card ul {
        margin-top: 3px;
        margin-bottom: 0;
        padding-left: 14px;
    }

    .analysis-head {
        margin-bottom: 5px;
    }

    .analysis-head h3,
    .analysis-head strong,
    .analysis-card li,
    .analysis-card p,
    .growth-card li,
    .growth-card p {
        color: #07131b !important;
    }

    .analysis-findings,
    .growth-card .analysis-findings {
        border: 1px solid #bce8ea;
        border-left: 4px solid var(--green);
        background: #eefafa !important;
        color: #064b4d !important;
    }

    .analysis-findings h4,
    .analysis-findings li,
    .growth-card .analysis-findings h4,
    .growth-card .analysis-findings li {
        color: #064b4d !important;
    }

    .analysis-block {
        margin-top: 4px;
        padding: 5px;
    }

    .technical-audit-card {
        display: block;
    }

    .technical-check {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .technical-check,
    .business-mini-card,
    .growth-mini-card,
    .competitor-row,
    .search-term-card {
        padding: 5px;
    }

    .search-term-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .competitor-panel {
        break-before: auto;
        page-break-before: auto;
    }
}

@media (max-width: 860px) {
    .site-footer { grid-template-columns: 1fr; align-items: flex-start; }
    .footer-links { grid-template-columns: 1fr; }
    .review-hero,
    .scan-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .review-hero {
        gap: 24px;
        padding: 28px 18px;
    }
    .review-hero h1 {
        font-size: clamp(34px, 10.5vw, 42px);
        line-height: 1;
    }
    .review-hero-copy > p:not(.eyebrow) {
        font-size: 16px;
    }
}

@media screen and (max-width: 640px) {
    .report-tool {
        width: min(100% - 14px, 1180px);
        padding: 12px 0 24px;
    }

    .review-hero,
    .scan-panel,
    .report-shell,
    .panel {
        border-radius: 8px;
    }

    .review-hero {
        padding: 22px 16px;
    }

    .review-hero h1 {
        font-size: clamp(31px, 10vw, 40px);
        line-height: .98;
    }

    .hero-url-form {
        padding: 14px;
    }

    .hero-url-form input,
    .hero-url-form select {
        min-height: 46px;
        font-size: 14px;
    }

    .report-shell {
        margin-top: 12px;
        padding: 10px;
    }

    .report-header {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "scores";
        gap: 16px;
        min-height: 0;
        margin-bottom: 14px;
        padding: 20px 16px 20px 20px;
        overflow: hidden;
    }

    .report-header::before {
        left: 10px;
        top: 22px;
        bottom: 22px;
        width: 2px;
    }

    .report-header h2 {
        font-size: clamp(25px, 9vw, 36px);
        line-height: 1;
    }

    .hero-meta {
        gap: 8px 12px;
        margin-top: 14px;
    }

    .hero-meta span {
        font-size: 12px;
    }

    .hero-score-stack {
        justify-items: stretch;
        gap: 12px;
    }

    .hero-score-visuals {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
    }

    .hero-score {
        width: 96px;
        height: 96px;
    }

    .hero-score strong {
        font-size: 28px;
    }

    .hero-score span {
        font-size: 13px;
    }

    .hero-score small {
        width: 66px;
        font-size: 6px;
        line-height: 1.05;
    }

    .hero-radar-legend div {
        grid-template-columns: 38px minmax(0, 1fr) 30px;
        gap: 7px;
        padding-bottom: 4px;
    }

    .hero-radar-legend strong {
        font-size: 13px;
    }

    .hero-radar-legend span,
    .hero-radar-legend small {
        font-size: 8px;
    }

    .report-summary {
        border-left: 2px solid rgba(72, 214, 214, 0.45);
        border-top: 0;
        padding: 0 0 0 12px;
        font-size: 13px;
        line-height: 1.38;
    }

    .report-actions {
        gap: 8px;
        margin-bottom: 12px;
    }

    .report-tabs {
        gap: 8px;
        margin-bottom: 14px;
        padding: 8px;
    }

    .report-tab {
        flex-basis: 190px;
        width: 190px;
        min-height: 56px;
        padding: 10px;
    }

    .tab-section-header {
        margin-bottom: 12px;
        padding: 14px;
    }

    .tab-section-header h2 {
        font-size: 25px;
    }

    .score-grid {
        gap: 12px;
        margin-bottom: 14px;
    }

    .overall-card {
        min-height: 0;
        padding: 18px;
    }

    .score-ring {
        width: 142px;
        height: 142px;
        margin-bottom: 10px;
    }

    .score-ring span {
        font-size: 46px;
    }

    .score-ring small {
        font-size: 16px;
    }

    .category-grid {
        gap: 10px;
    }

    .category-card {
        min-height: 0;
        padding: 14px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .category-icon .material-symbols-outlined {
        font-size: 24px;
    }

    .category-card h3 {
        margin-bottom: 6px;
        font-size: 16px;
    }

    .category-score strong {
        font-size: 30px;
    }

    .rating {
        margin-bottom: 12px;
    }

    .dashboard-overview {
        gap: 12px;
        margin-bottom: 12px;
    }

    .priority-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .priority-metric {
        border-right: 0;
        border-bottom: 0;
        padding: 0;
    }

    .priority-metric strong {
        font-size: 24px;
    }

    .priority-bar {
        height: 12px;
        margin: 14px 0 8px;
    }

    .potential-ring {
        width: 128px;
        height: 128px;
    }

    .potential-ring strong {
        font-size: 40px;
    }

    .snapshot-panel .site-preview img {
        max-height: 220px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .stat-card {
        grid-template-columns: 28px 1fr;
        gap: 9px;
        min-height: 0;
        padding: 10px;
    }

    .stat-icon {
        width: 28px;
        height: 28px;
    }

    .stat-icon .material-symbols-outlined {
        font-size: 18px;
    }

    .stat-card strong {
        font-size: 17px;
    }

    .stat-card span {
        font-size: 11px;
        line-height: 1.2;
    }

    .health-score-explain-panel details,
    .issue-card,
    .competitor-row,
    .business-mini-card,
    .growth-mini-card,
    .technical-audit-card,
    .analysis-card {
        padding: 12px;
    }

    .business-mini-card,
    .growth-mini-card {
        gap: 8px;
    }

    .business-mini-card h3,
    .growth-mini-card h3 {
        font-size: 15px;
    }

    .business-mini-card > strong,
    .growth-mini-card > strong {
        font-size: 18px;
    }
}
