/* Purpose:
Styles the route-level analysis-first location brief and demotes the former dossier hero without removing underlying workflows.

Responsibilities:
- Keep the RBO assessment, current intelligence, fit, friction, confidence, freshness, questions, actions, and transient Darrow weather context readable within a phone viewport and one short scroll.

Boundaries:
Presentation changes no intelligence, evidence, persistence, privacy, or review semantics.

Key decisions and invariants:
Qualified dispositions remain visually prominent, source mechanics stay behind deliberate disclosure, Darrow weather remains transient planning context, and mobile layouts never create horizontal overflow or cover bottom navigation.
*/
.main-content-location-brief > .location-dossier-hero {
    display: none;
}

.main-content-location-brief > .darrow-hero {
    width: min(980px, 100%);
    grid-template-columns: 1fr;
    margin: 0 auto 18px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.main-content-location-brief > .darrow-hero > .hero-content,
.main-content-location-brief > .darrow-hero .readiness-card {
    display: none;
}

.main-content-location-brief > .darrow-hero .hero-status-stack {
    display: block;
}

.route-location-intelligence-brief {
    width: min(980px, 100%);
    display: grid;
    gap: 14px;
    margin: 0 auto 18px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(240, 213, 138, 0.34);
    border-radius: 20px;
    background: linear-gradient(145deg, var(--rbo-surface-elevated), var(--rbo-paper));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.route-location-intelligence-loading {
    min-height: 120px;
    align-content: center;
}

.route-location-intelligence-header,
.route-location-section-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.route-location-intelligence-header h1 {
    margin: 2px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 5vw, 2.45rem);
    font-weight: 500;
    letter-spacing: -0.03em;
}

.route-location-disposition {
    max-width: 310px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid rgba(240, 213, 138, 0.36);
    border-radius: 999px;
    color: var(--rbo-gold);
    background: rgba(240, 213, 138, 0.08);
    font-size: 0.75rem;
    font-weight: 850;
    line-height: 1.3;
}

.route-location-intelligence-qualified {
    border-color: rgba(217, 130, 73, 0.68);
}

.route-location-intelligence-qualified .route-location-disposition {
    color: #f5c49e;
    border-color: rgba(217, 130, 73, 0.68);
    background: rgba(111, 55, 34, 0.28);
}

.route-location-assessment,
.route-location-current,
.route-location-decision-grid > article,
.route-location-trust-grid > article,
.route-location-questions {
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid var(--rbo-border);
    border-radius: 15px;
    background: var(--rbo-surface);
}

.route-location-assessment {
    border-color: rgba(240, 213, 138, 0.52);
    background: rgba(240, 213, 138, 0.09);
}

.route-location-assessment h2,
.route-location-current h2,
.route-location-decision-grid h2,
.route-location-trust-grid h2,
.route-location-questions h2 {
    margin: 0 0 7px;
    color: var(--rbo-gold);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.route-location-assessment-copy {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 500;
    line-height: 1.22;
}

.route-location-current p,
.route-location-decision-grid p,
.route-location-trust-grid p,
.route-location-questions p,
.route-location-disclosure p {
    margin: 0;
    color: var(--rbo-muted);
    line-height: 1.48;
}

.route-location-local-state {
    margin-top: 10px !important;
    padding-top: 10px;
    border-top: 1px solid var(--rbo-border);
    font-size: 0.82rem;
}

.route-location-decision-grid,
.route-location-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.route-location-friction {
    border-color: rgba(217, 130, 73, 0.5) !important;
}

.route-location-section-heading span {
    color: var(--rbo-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.route-location-questions ul,
.route-location-disclosure ul {
    margin: 0;
    padding-left: 20px;
}

.route-location-questions li,
.route-location-disclosure li {
    margin: 6px 0;
    overflow-wrap: anywhere;
}

.route-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.route-location-actions .button {
    min-height: 44px;
}

.route-location-disclosure {
    padding: 0 15px;
    border: 1px solid var(--rbo-border);
    border-radius: 14px;
    background: var(--rbo-paper);
}

.route-location-disclosure summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    color: var(--rbo-gold);
    cursor: pointer;
    font-weight: 800;
}

.route-location-disclosure[open] {
    padding-bottom: 15px;
}

.route-location-disclosure section + section,
.route-location-disclosure p + p {
    margin-top: 14px;
}

.route-location-disclosure h3 {
    margin: 0 0 7px;
    font-size: 0.95rem;
}

@media (max-width: 720px) {
    .route-location-intelligence-brief {
        gap: 11px;
        margin-bottom: 12px;
        padding: 15px;
        border-radius: 17px;
    }

    .main-content-location-brief > .darrow-hero {
        margin-bottom: 12px;
    }

    .route-location-intelligence-header {
        display: grid;
        gap: 8px;
    }

    .route-location-disposition {
        max-width: 100%;
        width: fit-content;
    }

    .route-location-assessment,
    .route-location-current,
    .route-location-decision-grid > article,
    .route-location-trust-grid > article,
    .route-location-questions {
        padding: 13px;
    }

    .route-location-decision-grid,
    .route-location-trust-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .route-location-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .route-location-actions .button {
        width: 100%;
    }
}
