.detector-v2 .v2-hero {
    padding-bottom: 46px;
}

.detector-v2 main {
    display: flex;
    flex-direction: column;
}

.detector-v2.has-result .detector-result {
    order: 1;
}

.detector-v2.has-result .v2-hero {
    order: 2;
    padding-top: 20px;
}

.detector-v2.has-result .detector-recent {
    order: 3;
}

.detector-v2.has-result .detector-personas {
    order: 4;
}

.detector-v2.has-result .v2-hero h1 {
    font-size: 38px;
}

.detector-result {
    padding: 36px 0 52px;
}

.detector-result-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, .95fr) minmax(320px, .55fr);
}

.detector-result-main,
.detector-side-panel,
.detector-empty {
    background: var(--v2-panel);
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    box-shadow: var(--v2-shadow);
}

.detector-result-main {
    overflow: hidden;
}

.detector-result-header {
    background: #203033;
    color: #fff;
    padding: 22px;
}

.detector-result-header h1,
.detector-result-header h2,
.detector-result-header h3,
.detector-result-header .v2-kicker {
    color: #f6fbfa;
}

.detector-site {
    align-items: center;
    display: flex;
    gap: 12px;
}

.detector-site img,
.detector-platform-logo {
    border-radius: 8px;
    height: 46px;
    width: 46px;
}

.detector-platform-logo {
    background: #fff;
    object-fit: contain;
    padding: 7px;
}

.detector-site span {
    color: #bac7ca;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.detector-result-title {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.detector-result-title h1 {
    color: #fff;
    font-size: 42px;
    line-height: 1.05;
    margin: 0;
    text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

.detector-result-body {
    padding: 22px;
}

.detector-summary {
    color: #405053;
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 18px;
}

.detector-v2 .detector-result-main p,
.detector-v2 .detector-side-panel p,
.detector-v2 .detector-empty p,
.detector-v2 .detector-list span,
.detector-v2 .detector-fact strong {
    font-size: 16px;
}

.detector-v2 .detector-summary {
    font-size: 18px;
}

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

.detector-fact {
    background: #f7f4ed;
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    padding: 12px;
}

.detector-fact span {
    color: var(--v2-muted);
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.detector-fact strong {
    display: block;
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.detector-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.detector-actions .v2-button {
    flex: 0 1 auto;
    min-width: 0;
}

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

.detector-next-card {
    background: #f7f4ed;
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    padding: 16px;
}

.detector-next-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.detector-next-card p {
    color: var(--v2-muted);
    line-height: 1.45;
    margin: 0 0 12px;
}

.detector-next-card.highlight {
    background: #203033;
    border-color: #203033;
    color: #fff;
}

.detector-next-card.highlight strong {
    color: #f6fbfa;
}

.detector-next-card.highlight p {
    color: #c9d5d7;
}

.detector-next-card.highlight .v2-card-link {
    color: #8ee6da;
}

.detector-side-panel {
    padding: 18px;
}

.detector-side-panel + .detector-side-panel {
    margin-top: 14px;
}

.detector-side-panel h2 {
    font-size: 21px;
    margin: 0 0 12px;
}

.detector-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
}

.detector-list a,
.detector-list div {
    background: #f7f4ed;
    border: 1px solid var(--v2-line);
    border-radius: 6px;
    padding: 10px;
}

.detector-list strong {
    display: block;
}

.detector-list span {
    color: var(--v2-muted);
    display: block;
    font-size: 13px;
    margin-top: 3px;
}

.detector-empty {
    padding: 28px;
    text-align: center;
}

.detector-empty h1 {
    font-size: 36px;
    margin: 0 0 10px;
}

.detector-empty p {
    color: var(--v2-muted);
    font-size: 18px;
    line-height: 1.5;
    margin: 0 auto 18px;
    max-width: 680px;
}

.detector-recent {
    padding: 26px 0 42px;
}

.detector-recent .v2-card {
    box-shadow: none;
}

.detector-recent .v2-section-head {
    margin-bottom: 12px;
}

.detector-recent .v2-section-head h2 {
    font-size: 28px;
}

.detector-recent .v2-section-head p {
    max-width: 620px;
}

@media (max-width: 900px) {
    .detector-result-grid,
    .detector-facts {
        grid-template-columns: 1fr;
    }

    .detector-result-title h1 {
        font-size: 32px;
    }

    .detector-next-grid {
        grid-template-columns: 1fr;
    }
}
