#v4-results {
    max-width: 1150px;
    margin: 30px auto 60px;
    padding: 30px;
    border: 1px solid var(--line,#dce2eb);
    border-radius: 18px;
    background: var(--surface,#fff);
}

#v4-results[hidden] {
    display: none;
}

.v4-kicker {
    color: #3977df;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

#v4-results h2 {
    font-size: 30px;
    font-weight: 500;
    margin: 14px 0;
}

#v4-results h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
}

.v4-muted {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted,#657083);
}

.v4-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin: 25px 0;
}

.v4-metric {
    border: 1px solid var(--line,#dce2eb);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v4-metric span {
    font-size: 12px;
    color: var(--muted,#657083);
}

.v4-metric strong {
    color: #3977df;
    font-size: 24px;
    font-weight: 500;
}

.v4-data-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--line,#dce2eb);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
}

.v4-data-row span {
    overflow-wrap: anywhere;
    min-width: 0;
}

.v4-hash {
    overflow-wrap: anywhere;
    font-family: monospace;
    font-size: 13px;
    padding: 15px;
    background: #7897c312;
    border-radius: 8px;
}

.v4-notice {
    padding: 18px;
    border-left: 3px solid #c99a49;
    background: #c99a4912;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.8;
}

.v4-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.v4-panel {
    padding: 24px;
    border: 1px solid var(--line,#dce2eb);
    border-radius: 14px;
}

.v4-panel textarea {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    color: inherit;
    border: 1px solid var(--line,#dce2eb);
    border-radius: 10px;
    padding: 14px;
    font: inherit;
    font-size: 14px;
    line-height: 1.8;
    resize: vertical;
}

.v4-button,
.v4-secondary {
    border: 0;
    border-radius: 24px;
    padding: 13px 20px;
    cursor: pointer;
    margin: 14px 0;
    font: inherit;
    font-size: 13px;
}

.v4-button {
    background: #2868df;
    color: white;
}

.v4-secondary {
    background: #2868df12;
    color: #3977df;
    border: 1px solid #2868df30;
}

.v4-button:disabled,
.v4-secondary:disabled {
    opacity: .5;
    cursor: wait;
}

.v4-quick-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 12px auto 25px;
}

.v4-pricing {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.v4-price {
    display: block;
    font-size: 25px;
    color: #3977df;
    margin: 20px 0;
}

html[data-theme="dark"] #v4-results {
    background: var(--surface,#171e29);
}

html[data-theme="dark"] .v4-kicker,
html[data-theme="dark"] .v4-metric strong,
html[data-theme="dark"] .v4-price {
    color: #91baff;
}

@media(max-width:750px) {

    #v4-results {
        margin: 20px 15px;
        padding: 18px;
    }

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

    .v4-comparison,
    .v4-pricing {
        grid-template-columns: 1fr;
    }

    .v4-data-row {
        flex-direction: column;
        gap: 8px;
    }
}
/* AIScans V5 classifier findings */

.v5-score-label {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 15px 0 8px;
    font-size: 13px;
}

.v5-score {
    width: 100%;
    height: 10px;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    accent-color: #2868df;
}

.v5-score::-webkit-progress-bar {
    background: #7897c322;
    border-radius: 20px;
}

.v5-score::-webkit-progress-value {
    background: #2868df;
    border-radius: 20px;
}

.v5-tool-links {
    max-width: 1050px;
    margin: 50px auto;
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}

.v5-tool-links a {
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--line,#dce2eb);
    border-radius: 12px;
    padding: 20px;
    font-size: 14px;
}

.v5-tool-links a:hover {
    border-color: #2868df;
}

@media(max-width:750px) {

    .v5-tool-links {
        grid-template-columns: repeat(2,1fr);
    }
}

/* AIScans V5.2 premium dark palette */

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #10141d;
    --background: #10141d;
    --surface: #171e29;
    --surface-2: #1c2533;
    --card: #171e29;
    --text: #edf2fa;
    --text-primary: #edf2fa;
    --muted: #9ba9bf;
    --text-secondary: #9ba9bf;
    --line: #2b3749;
    --border: #2b3749;
    --blue: #80aaff;
    --accent: #80aaff;
}

html[data-theme="dark"] body {
    background: #10141d;
    color: #edf2fa;
}

html[data-theme="dark"] .scan-headline-content {
    color: #edf2fa !important;
}

html[data-theme="dark"] .scan-headline .blue {
    color: #80aaff !important;
}

html[data-theme="dark"] #v4-results,
html[data-theme="dark"] #live-analysis,
html[data-theme="dark"] #website-results {
    background: #171e29;
    border-color: #2b3749;
}

html[data-theme="dark"] .v4-panel,
html[data-theme="dark"] .v4-metric,
html[data-theme="dark"] .v5-tool-links a {
    background: #19212e;
    border-color: #2b3749;
}

html[data-theme="light"] {
    color-scheme: light;
}
