.forecast-guide {
    --wr-bg: linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(247, 239, 220, 0.96));
    --wr-surface: rgba(255, 255, 255, 0.96);
    --wr-card: rgba(255, 253, 248, 0.98);
    --wr-border: rgba(184, 134, 11, 0.16);
    --wr-shadow: 0 20px 50px rgba(125, 94, 31, 0.08);
    --wr-text: #2f2516;
    --wr-muted: #6f6355;
    --wr-kicker: #a87917;
    --wr-stat-bg: rgba(184, 134, 11, 0.06);
    --wr-stat-border: rgba(184, 134, 11, 0.1);
    display: grid;
    gap: 32px;
    max-width: 880px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    overflow-x: clip;
}

.forecast-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.forecast-breadcrumb a {
    color: var(--gold-dark);
    font-weight: 700;
    text-decoration: none;
}

.forecast-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .7fr);
    gap: 28px;
    align-items: stretch;
    padding: 8px 0 4px;
}

.forecast-hero-copy,
.forecast-hero-panel,
.forecast-section,
.forecast-card-grid,
.forecast-factor-grid,
.forecast-links-grid {
    min-width: 0;
}

.forecast-hero-panel {
    align-self: center;
    display: grid;
    gap: 12px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(184, 134, 11, .16);
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .9), transparent 34%),
        linear-gradient(145deg, #fbf4df, #f7fbf4);
    box-shadow: 0 20px 38px rgba(0, 0, 0, .06);
}

.forecast-panel-label,
.forecast-stat-card span,
.forecast-factor-tag,
.forecast-final-cta span {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
}

.forecast-hero-panel strong {
    color: var(--text);
    font-size: 26px;
    line-height: 1.35;
}

.forecast-hero-panel p,
.forecast-note p,
.forecast-source-card p,
.forecast-prose p,
.forecast-step-list span,
.forecast-faq p,
.forecast-final-cta p,
.forecast-sources li {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.95;
}

.forecast-toc {
    position: sticky;
    top: 12px;
    z-index: 4;
}

.forecast-section {
    scroll-margin-top: 96px;
}

.forecast-note,
.forecast-source-card {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(184, 134, 11, .14);
    background: rgba(184, 134, 11, .06);
}

.forecast-note strong {
    display: block;
    color: var(--gold-dark);
    margin-bottom: 6px;
}

.forecast-note a {
    color: var(--gold-dark);
    font-weight: 800;
    text-decoration: none;
}

.forecast-note p,
.forecast-source-card p {
    margin: 0;
}

.forecast-table-card {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: var(--bg2);
}

.forecast-table-card table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.forecast-table-card th,
.forecast-table-card td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    text-align: right;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.8;
}

.forecast-table-card th {
    color: var(--gold-dark);
    background: rgba(184, 134, 11, .06);
    font-weight: 900;
}

.forecast-table-card td {
    color: var(--text);
}

.forecast-table-card tr:last-child td {
    border-bottom: 0;
}

.forecast-lead {
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 2.05;
}

.forecast-verdict,
.forecast-card-grid,
.forecast-factor-grid,
.forecast-opinion-grid {
    display: grid;
    gap: 16px;
}

.forecast-verdict {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.forecast-verdict > div,
.forecast-stat-card,
.forecast-factor {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: var(--bg2);
}

.forecast-verdict span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.forecast-verdict strong,
.forecast-stat-card strong {
    display: block;
    color: var(--gold-dark);
    font-weight: 900;
}

.forecast-verdict strong {
    font-size: 24px;
}

.forecast-verdict p {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.85;
}

.forecast-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.forecast-stat-card {
    display: grid;
    gap: 8px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.forecast-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(184, 134, 11, .28);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .05);
}

.forecast-stat-card strong {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 30px;
    letter-spacing: -.03em;
}

.forecast-stat-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.forecast-stat-card--base {
    background: linear-gradient(145deg, #fff9e8, #fffdf9);
}

.forecast-stat-card--up {
    background: linear-gradient(145deg, #f4f9ef, #fffdf9);
}

.forecast-stat-card--support {
    background: linear-gradient(145deg, #f8f5ee, #f6fbff);
}

.forecast-stat-card--risk {
    background: linear-gradient(145deg, #fff8ed, #fffdf9);
}

.forecast-opinion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.forecast-opinion-card {
    display: grid;
    gap: 9px;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: var(--bg2);
}

.forecast-opinion-card span {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
}

.forecast-opinion-card strong {
    color: var(--gold-dark);
    font-size: 22px;
    line-height: 1.35;
}

.forecast-opinion-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.45;
}

.forecast-opinion-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.9;
}

.forecast-opinion-card--bull {
    background: linear-gradient(145deg, #fff9e8, #fffdf9);
}

.forecast-opinion-card--base {
    background: linear-gradient(145deg, #f8f5ee, #f6fbff);
}

.forecast-opinion-card--risk {
    background: linear-gradient(145deg, #fff8ed, #fffdf9);
}

.forecast-factor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.forecast-factor {
    display: grid;
    gap: 10px;
}

.forecast-factor h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
}

.forecast-factor p {
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.9;
}

.forecast-factor--support .forecast-factor-tag {
    color: #44633a;
}

.forecast-factor--risk .forecast-factor-tag {
    color: #865a17;
}

.forecast-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.forecast-step-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: forecast-step;
}

.forecast-step-list li {
    counter-increment: forecast-step;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 14px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: var(--bg2);
}

.forecast-step-list li::before {
    content: counter(forecast-step, decimal-leading-zero);
    grid-row: span 2;
    color: var(--gold-dark);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 900;
}

.forecast-step-list strong {
    color: var(--text);
    font-size: 18px;
}

.forecast-faq {
    display: grid;
    gap: 12px;
}

.forecast-glossary {
    display: grid;
    gap: 12px;
    margin: 0;
}

.forecast-glossary > div {
    display: grid;
    grid-template-columns: minmax(150px, .7fr) minmax(0, 1.6fr);
    gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: var(--bg2);
}

.forecast-glossary dt {
    color: var(--gold-dark);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.6;
}

.forecast-glossary dd {
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.95;
}

.forecast-term-example {
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-weight: 700;
}

.forecast-faq details {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: var(--bg2);
}

.forecast-faq summary {
    cursor: pointer;
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.forecast-faq p {
    margin: 12px 0 0;
}

.forecast-final-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 26px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, .24), transparent 30%),
        linear-gradient(135deg, #3d2f16, #8f6810);
}

.forecast-final-cta h2 {
    margin: 6px 0 8px;
    font-size: 30px;
    line-height: 1.25;
}

.forecast-final-cta p,
.forecast-final-cta span {
    color: rgba(255, 255, 255, .82);
}

.forecast-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.forecast-primary-link,
.forecast-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.forecast-primary-link {
    color: #3d2f16;
    background: #fff;
}

.forecast-secondary-link {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .34);
}

.forecast-sources {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: var(--bg2);
}

.forecast-sources h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.forecast-sources ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-right: 18px;
}

.forecast-sources a {
    color: var(--gold-dark);
    font-weight: 700;
    text-decoration: none;
}

html[data-theme="night"] .forecast-hero-panel,
html[data-theme="night"] .forecast-stat-card--base,
html[data-theme="night"] .forecast-stat-card--up,
html[data-theme="night"] .forecast-stat-card--risk,
html[data-theme="night"] .forecast-stat-card--support,
html[data-theme="night"] .forecast-opinion-card--bull,
html[data-theme="night"] .forecast-opinion-card--base,
html[data-theme="night"] .forecast-opinion-card--risk {
    background: #151b28;
}

html[data-theme="night"] .forecast-guide {
    --wr-bg: linear-gradient(180deg, rgba(16, 16, 16, 0.96), rgba(23, 23, 23, 0.9));
    --wr-surface: rgba(22, 22, 22, 0.95);
    --wr-card: rgba(17, 17, 17, 0.95);
    --wr-border: rgba(211, 171, 86, 0.18);
    --wr-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
    --wr-text: #efe6da;
    --wr-muted: #aaaeb6;
    --wr-kicker: #d3ab56;
    --wr-stat-bg: rgba(255, 255, 255, 0.04);
    --wr-stat-border: rgba(255, 255, 255, 0.06);
}

html[data-theme="night"] .forecast-note,
html[data-theme="night"] .forecast-source-card {
    background: rgba(212, 169, 75, .08);
}

html[data-theme="night"] .forecast-final-cta {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, .12), transparent 30%),
        linear-gradient(135deg, #151b28, #5c4210);
}

@media (max-width: 980px) {
    .forecast-hero,
    .forecast-verdict,
    .forecast-card-grid {
        grid-template-columns: 1fr;
    }

    .forecast-hero-panel {
        align-self: stretch;
    }
}

@media (max-width: 760px) {
    .forecast-guide {
        gap: 24px;
    }

    .forecast-factor-grid,
    .forecast-links-grid,
    .forecast-opinion-grid {
        grid-template-columns: 1fr;
    }

    .forecast-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .forecast-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .forecast-hero-panel,
    .forecast-verdict > div,
    .forecast-stat-card,
    .forecast-opinion-card,
    .forecast-factor,
    .forecast-final-cta,
    .forecast-sources {
        padding: 18px;
    }

    .forecast-glossary > div {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .forecast-hero-panel strong,
    .forecast-final-cta h2 {
        font-size: 24px;
    }
}
