:root {
    --edu-ink: #0f1b3d;
    --edu-navy: #0f2e5c;
    --edu-indigo: #4338ca;
    --edu-iris: #5b7bff;
    --edu-sky: #64c5ff;
    --edu-mint: #0ea5e9;
    --edu-sand: #f4ede1;
    --edu-cream: #fbf7ef;
    --edu-border: #dfe6f2;
    --edu-glow: 0 10px 40px rgba(15, 46, 92, 0.12);
}

body.education-page {
    background: linear-gradient(145deg, #f7fbff 0%, #eef3ff 45%, #fdfbf6 100%);
    color: var(--edu-ink);
    font-family: 'Manrope', var(--font-body), sans-serif;
    line-height: 1.6;
}

.edu-hero {
    padding: 5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(100, 197, 255, 0.2) 0%, transparent 30%),
                radial-gradient(circle at 80% 0%, rgba(91, 123, 255, 0.25) 0%, transparent 32%),
                linear-gradient(135deg, #0f1b3d 0%, #102c6b 40%, #0f213e 100%);
    color: white;
}

.edu-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 65% 65%, rgba(255, 255, 255, 0.08), transparent 38%);
    z-index: 0;
}

.edu-hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.edu-hero h1 {
    font-family: 'Space Grotesk', var(--font-accent), sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin: 1rem 0 1rem;
    letter-spacing: -0.02em;
    color: white;
}

.edu-hero .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.08rem;
    max-width: 720px;
    margin-bottom: 1.5rem;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.95rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--edu-border);
    background: #f7f9ff;
    color: var(--edu-ink);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.25s ease;
}

.ghost-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 43, 92, 0.12);
}

.edu-hero .ghost-btn {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    box-shadow: none;
}

.edu-hero .ghost-btn:hover {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: none;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-text-secondary);
}

.edu-hero .eyebrow {
    color: rgba(255, 255, 255, 0.8);
}

.hero-card h3 {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-number {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    margin: 0.35rem 0 1rem;
}

.hero-subgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.edu-hero .label {
    color: rgba(255, 255, 255, 0.7);
}

.hero-subnumber {
    font-family: 'Space Grotesk', var(--font-accent), sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.hero-meta {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.floating-steps {
    position: relative;
    margin: 12px auto 18px;
    max-width: 1080px;
    padding: 0.9rem 1.1rem;
    background: #0f172a;
    color: white;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    z-index: 10;
}

.steps-title {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.steps-title i {
    color: var(--edu-sky);
    font-size: 1.1rem;
}

.steps-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.small-ghost {
    padding: 0.6rem 0.8rem;
}

/* Planner */
.planner-shell {
    padding: 4rem 0 3rem;
    margin-top: -2rem;
}

.planner-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.9fr;
    gap: 1.5rem;
    align-items: start;
}

.edu-card {
    background: white;
    border: 1px solid var(--edu-border);
    border-radius: 16px;
    box-shadow: var(--edu-glow);
    padding: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-header h2 {
    margin: 0.25rem 0;
    font-size: 1.4rem;
    letter-spacing: -0.01em;
}

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

.scenario-tabs {
    display: inline-flex;
    gap: 0.5rem;
    background: var(--edu-cream);
    border-radius: 999px;
    padding: 0.3rem;
    border: 1px solid #e7ddca;
}

.scenario-tab {
    border: none;
    background: transparent;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    color: var(--edu-ink);
    cursor: pointer;
    transition: all 0.2s ease;
}

.scenario-tab.active {
    background: white;
    box-shadow: 0 10px 30px rgba(15, 43, 92, 0.1);
    border: 1px solid var(--edu-border);
}

.preset-bar,
.template-bar,
.what-if {
    margin: 0.5rem 0 1rem;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.chip-btn {
    border: 1px solid var(--edu-border);
    background: #f8fbff;
    border-radius: 12px;
    padding: 0.55rem 0.8rem;
    font-weight: 700;
    color: var(--edu-ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.chip-btn:hover {
    background: white;
    box-shadow: 0 6px 14px rgba(15, 43, 92, 0.08);
}

.tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #eef2ff;
    color: #312e81;
    font-size: 0.8rem;
    position: relative;
    cursor: help;
}

.tip::before {
    content: '?';
}

.tip::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 130%;
    white-space: nowrap;
    background: #0f172a;
    color: white;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
}

.tip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.assumption-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.25rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.field label {
    font-weight: 700;
    color: var(--edu-ink);
}

.field small {
    color: var(--color-text-secondary);
}

.input-affix {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--edu-border);
    border-radius: 12px;
    padding: 0.35rem 0.5rem;
    background: #f8fbff;
}

.input-affix input {
    border: none;
    background: transparent;
    width: 100%;
    font-weight: 700;
    color: var(--edu-ink);
    padding: 0.35rem 0.25rem;
}

.input-affix input:focus {
    outline: none;
}

.two-up .dual-input {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.stage-table {
    margin-top: 0.75rem;
    border: 1px solid var(--edu-border);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #fdfdfd 0%, #faf5ec 100%);
}

.stage-table__header {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: #f4ede1;
    border-bottom: 1px solid #e6dbc5;
    font-weight: 700;
}

.hint {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.stage-rows {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.5rem 0.5rem 0.8rem;
}

.stage-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.75rem;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.stage-row:hover {
    background: rgba(15, 43, 92, 0.04);
}

.stage-title {
    font-weight: 700;
    margin: 0;
}

.stage-subtitle {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.children-list {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0;
}

.child-card {
    border: 1px solid var(--edu-border);
    border-radius: 14px;
    padding: 1rem;
    background: linear-gradient(145deg, #ffffff 0%, #f6f8ff 100%);
    box-shadow: 0 6px 16px rgba(15, 43, 92, 0.05);
}

.child-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.child-name {
    flex: 1;
    border: 1px solid var(--edu-border);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font-weight: 700;
}

.icon-btn {
    border: none;
    background: #f5f7fb;
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    cursor: pointer;
    color: var(--edu-ink);
}

.child-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #312e81;
    font-weight: 700;
    font-size: 0.95rem;
}

.switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--edu-ink);
}

.switch input {
    display: none;
}

.switch span.slider {
    width: 46px;
    height: 24px;
    background: #d1d5db;
    border-radius: 999px;
    position: relative;
    transition: all 0.2s ease;
}

.switch span.slider::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.switch input:checked + span.slider {
    background: linear-gradient(135deg, var(--edu-indigo), var(--edu-sky));
}

.switch input:checked + span.slider::after {
    transform: translateX(20px);
}

.add-btn {
    width: 100%;
    border: 1px dashed var(--edu-border);
    background: #f8fbff;
    color: var(--edu-ink);
    padding: 0.9rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-btn:hover {
    background: white;
    border-style: solid;
    box-shadow: 0 6px 16px rgba(15, 43, 92, 0.08);
}

.stage-toggle-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.75rem;
}

.pill-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--edu-border);
    background: #f8fbff;
    font-weight: 700;
    cursor: pointer;
}

.pill-toggle input {
    accent-color: var(--edu-indigo);
}

/* Summary */
.summary-card {
    position: sticky;
    top: 90px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    background: #eef2ff;
    color: #312e81;
    border-radius: 10px;
    font-weight: 700;
    border: 1px solid #e0e7ff;
}

.summary-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}

.metric {
    padding: 0.9rem 1rem;
    border: 1px solid var(--edu-border);
    border-radius: 12px;
    background: #f7f9ff;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0.2rem 0;
    font-family: 'Space Grotesk', var(--font-accent), sans-serif;
}

.progress-area {
    margin: 1rem 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.stage-breakdown {
    display: grid;
    gap: 0.6rem;
}

.stage-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stage-label {
    min-width: 170px;
    font-weight: 700;
}

.bar {
    flex: 1;
    background: #edf2f7;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--edu-indigo), var(--edu-sky));
}

.stage-value {
    font-weight: 700;
    min-width: 120px;
    text-align: right;
}

.child-breakdown {
    margin: 1.2rem 0;
    border-top: 1px solid var(--edu-border);
    padding-top: 1rem;
}

.section-title {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.child-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #e5e7eb;
}

.child-row:last-child {
    border-bottom: none;
}

.strong-label {
    color: var(--edu-ink);
    font-weight: 800;
}

.summary-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.what-if .chip-btn {
    background: #eef2ff;
    border-color: #e0e7ff;
}

.horizon-control {
    margin: 0.75rem 0 1rem;
    padding: 0.75rem;
    border: 1px dashed var(--edu-border);
    border-radius: 10px;
    background: rgba(247, 249, 255, 0.6);
}

.horizon-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

/* Comparison */
.comparison {
    padding: 2rem 0 4rem;
}

.comparison-header h3 {
    margin: 0.25rem 0;
    font-size: 1.4rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.compare-card {
    border: 1px solid var(--edu-border);
    border-radius: 14px;
    padding: 1rem;
    background: white;
    box-shadow: 0 12px 30px rgba(15, 43, 92, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.compare-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 43, 92, 0.12);
}

.compare-card.active {
    border: 1.5px solid var(--edu-indigo);
    box-shadow: 0 20px 40px rgba(91, 123, 255, 0.25);
}

.compare-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.badge {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #312e81;
    font-weight: 700;
    font-size: 0.85rem;
}

.compare-metric {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0.15rem 0;
}

.small {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Guidance */
.guidance {
    padding: 1rem 0 4rem;
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.guidance-list {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.guidance-list li strong {
    color: var(--edu-ink);
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .floating-steps {
        position: static;
        margin: 0 auto 1rem;
    }

    .planner-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .card-header {
        flex-direction: column;
    }

    .scenario-tabs {
        align-self: flex-start;
    }

    .child-fields {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .steps-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* Dark mode support for better contrast - only when user hasn't manually set light mode */
@media (prefers-color-scheme: dark) {
    body.education-page:not(.light-mode) {
        background: radial-gradient(circle at 20% 20%, rgba(100, 197, 255, 0.08) 0%, transparent 30%),
                    radial-gradient(circle at 80% 0%, rgba(91, 123, 255, 0.12) 0%, transparent 32%),
                    linear-gradient(160deg, #0a0f1f 0%, #0b132b 40%, #0b1226 100%);
        color: #e5e7eb;
    }

    body.education-page:not(.light-mode) .edu-card,
    body.education-page:not(.light-mode) .compare-card,
    body.education-page:not(.light-mode) .metric,
    body.education-page:not(.light-mode) .child-card,
    body.education-page:not(.light-mode) .summary-card {
        background: #0f172a;
        border-color: #1f2937;
        box-shadow: none;
        color: #e5e7eb;
    }

    body.education-page:not(.light-mode) .planner-shell {
        margin-top: -1.5rem;
    }

    body.education-page:not(.light-mode) .muted,
    body.education-page:not(.light-mode) .hint,
    body.education-page:not(.light-mode) .small,
    body.education-page:not(.light-mode) .label,
    body.education-page:not(.light-mode) .stage-title,
    body.education-page:not(.light-mode) .stage-subtitle,
    body.education-page:not(.light-mode) .chip-btn,
    body.education-page:not(.light-mode) .tip::after {
        color: #e5e7eb;
    }

    body.education-page:not(.light-mode) .input-affix {
        background: #0b132b;
        border-color: #1f2937;
        color: #e5e7eb;
    }

    body.education-page:not(.light-mode) .input-affix input {
        color: #e5e7eb;
    }

    body.education-page:not(.light-mode) .add-btn,
    body.education-page:not(.light-mode) .ghost-btn {
        background: #0b132b;
        border-color: #1f2937;
        color: #e5e7eb;
    }

    body.education-page:not(.light-mode) .chip-btn {
        background: #0b132b;
        border-color: #1f2937;
        color: #e5e7eb;
    }

    body.education-page:not(.light-mode) .what-if .chip-btn {
        background: #111827;
        border-color: #1f2937;
    }

    body.education-page:not(.light-mode) .compare-card.active {
        border-color: #5b7bff;
        box-shadow: 0 14px 32px rgba(91, 123, 255, 0.25);
    }

    body.education-page:not(.light-mode) .tag {
        background: #1f2937;
        color: #c7d2fe;
        border-color: #1f2937;
    }

    body.education-page:not(.light-mode) .stage-table {
        background: #0b132b;
        border-color: #1f2937;
    }

    body.education-page:not(.light-mode) .stage-table__header {
        background: #0f172a;
        border-bottom-color: #1f2937;
        color: #e5e7eb;
    }

    body.education-page:not(.light-mode) .bar {
        background: #1f2937;
    }

    body.education-page:not(.light-mode) .bar span {
        background: linear-gradient(90deg, #5b7bff, #64c5ff);
    }

    body.education-page:not(.light-mode) .child-row {
        border-bottom-color: #1f2937;
    }

    body.education-page:not(.light-mode) .hero-card {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.15);
    }

    body.education-page:not(.light-mode) .hero-subnumber,
    body.education-page:not(.light-mode) .hero-number,
    body.education-page:not(.light-mode) .hero-meta {
        color: white;
    }

    body.education-page:not(.light-mode) .comparison,
    body.education-page:not(.light-mode) .guidance {
        background: #0b132b;
    }

    body.education-page:not(.light-mode) .floating-steps {
        background: #0b132b;
        border-color: #1f2937;
    }
}

body.education-page.dark-mode {
    background: radial-gradient(circle at 20% 20%, rgba(100, 197, 255, 0.08) 0%, transparent 30%),
                radial-gradient(circle at 80% 0%, rgba(91, 123, 255, 0.12) 0%, transparent 32%),
                linear-gradient(160deg, #0a0f1f 0%, #0b132b 40%, #0b1226 100%);
    color: #e5e7eb;
}

body.education-page.dark-mode .edu-card,
body.education-page.dark-mode .compare-card,
body.education-page.dark-mode .metric,
body.education-page.dark-mode .child-card,
body.education-page.dark-mode .summary-card {
    background: #0f172a;
    border-color: #1f2937;
    color: #e5e7eb;
}

body.education-page.dark-mode .muted,
body.education-page.dark-mode .hint,
body.education-page.dark-mode .small,
body.education-page.dark-mode .label,
body.education-page.dark-mode .stage-title,
body.education-page.dark-mode .stage-subtitle,
body.education-page.dark-mode .chip-btn,
body.education-page.dark-mode .tip::after,
body.education-page.dark-mode .field label,
body.education-page.dark-mode h1,
body.education-page.dark-mode h2,
body.education-page.dark-mode h3,
body.education-page.dark-mode p,
body.education-page.dark-mode .strong-label,
body.education-page.dark-mode .guidance,
body.education-page.dark-mode .guidance-list li,
body.education-page.dark-mode .guidance-list li strong {
    color: #e5e7eb;
}

body.education-page.dark-mode .input-affix {
    background: #0b132b;
    border-color: #1f2937;
    color: #e5e7eb;
}

body.education-page.dark-mode .input-affix input {
    color: #e5e7eb;
}

body.education-page.dark-mode .add-btn,
body.education-page.dark-mode .ghost-btn,
body.education-page.dark-mode .chip-btn {
    background: #0b132b;
    border-color: #1f2937;
    color: #e5e7eb;
}

body.education-page.dark-mode .what-if .chip-btn {
    background: #111827;
    border-color: #1f2937;
}

body.education-page.dark-mode .compare-card.active {
    border-color: #5b7bff;
    box-shadow: 0 14px 32px rgba(91, 123, 255, 0.25);
}

body.education-page.dark-mode .tag {
    background: #1f2937;
    color: #c7d2fe;
    border-color: #1f2937;
}

body.education-page.dark-mode .stage-table {
    background: #0b132b;
    border-color: #1f2937;
}

body.education-page.dark-mode .stage-table__header {
    background: #0f172a;
    border-bottom-color: #1f2937;
    color: #e5e7eb;
}

body.education-page.dark-mode .bar {
    background: #1f2937;
}

body.education-page.dark-mode .bar span {
    background: linear-gradient(90deg, #5b7bff, #64c5ff);
}

body.education-page.dark-mode .child-row {
    border-bottom-color: #1f2937;
}

body.education-page.dark-mode .hero-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

body.education-page.dark-mode .hero-subnumber,
body.education-page.dark-mode .hero-number,
body.education-page.dark-mode .hero-meta {
    color: white;
}

body.education-page.dark-mode .guidance-list li strong {
    color: #fff;
}

body.education-page.dark-mode .switch,
body.education-page.dark-mode .child-card label {
    color: #e5e7eb;
}

body.education-page.dark-mode .badge {
    background: #e5e7eb;
    color: #0f172a;
}

body.education-page.dark-mode input::placeholder {
    color: #d1d5db;
}

body.education-page.dark-mode .comparison,
body.education-page.dark-mode .guidance {
    background: #0b132b;
}

body.education-page.dark-mode .floating-steps {
    background: #0b132b;
    border-color: #1f2937;
}

body.education-page.dark-mode .pill-toggle {
    background: #0b132b;
    border-color: #1f2937;
    color: #e5e7eb;
}

body.education-page.dark-mode .horizon-control {
    background: rgba(31, 41, 55, 0.7);
    border-color: #1f2937;
}
