/* education-portal.css — ACC EduBrain (Trust · Focus · Growth) */

:root {
    --edu-primary: #2F80ED;
    --edu-primary-dark: #1B6FD4;
    --edu-primary-light: #EBF4FF;
    --edu-secondary: #27AE60;
    --edu-secondary-light: #E8F8EF;
    --edu-accent: #F2994A;
    --edu-accent-dark: #E07B24;
    --edu-bg: #F8FAFC;
    --edu-surface: #FFFFFF;
    --edu-text: #1F2D3D;
    --edu-text-muted: #64748B;
    --edu-border: #E2E8F0;
    --edu-border-strong: #CBD5E1;
    --edu-shadow: 0 1px 3px rgba(31, 45, 61, 0.08), 0 4px 12px rgba(31, 45, 61, 0.04);
    --edu-radius: 12px;
    --edu-radius-lg: 16px;
}

.edu-body { margin: 0; background: var(--edu-bg); font-family: 'IRANSans', system-ui, sans-serif; color: var(--edu-text); }
.edu-app *, .edu-app *::before, .edu-app *::after { box-sizing: border-box; }
.edu-app { min-height: 100vh; color: var(--edu-text); }

/* ── Header ── */
.edu-header {
    display: flex; align-items: center; gap: 12px; padding: 0 24px; height: 60px;
    background: var(--edu-surface); border-bottom: 1px solid var(--edu-border);
    position: sticky; top: 0; z-index: 50; box-shadow: var(--edu-shadow);
}
.edu-brand { color: var(--edu-primary); font-weight: 800; font-size: 16px; text-decoration: none; }
.edu-header__nav { display: flex; gap: 6px; margin-right: auto; flex-wrap: wrap; }
.edu-header__nav a, .edu-header__nav button {
    color: var(--edu-text-muted); font-size: 13px; text-decoration: none; padding: 6px 12px; border-radius: 8px;
    background: none; border: none; cursor: pointer; font-family: inherit; transition: .15s;
}
.edu-header__nav a:hover, .edu-header__nav button:hover { color: var(--edu-primary); background: var(--edu-primary-light); }
.edu-header__nav .active { background: var(--edu-primary); color: #fff; }
.edu-header__nav--scroll { overflow-x: auto; max-width: 55vw; flex-wrap: nowrap; scrollbar-width: thin; }
.edu-header__role {
    font-size: .72rem; background: var(--edu-secondary-light); color: var(--edu-secondary);
    padding: 4px 10px; border-radius: 99px; font-weight: 600;
}
.edu-header__btn {
    padding: 6px 14px; border: 1px solid var(--edu-border); background: var(--edu-surface);
    color: var(--edu-text-muted); border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 13px;
}
.edu-header__btn:hover { border-color: var(--edu-primary); color: var(--edu-primary); }

/* ── Landing ── */
.edu-landing {
    min-height: 100vh;
    background: linear-gradient(165deg, var(--edu-bg) 0%, var(--edu-primary-light) 40%, var(--edu-bg) 100%);
    padding: 32px 24px 80px;
}
.edu-hero { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.edu-hero h1 { margin: 0 0 12px; font-size: 2rem; color: var(--edu-text); }
.edu-hero p { color: var(--edu-text-muted); margin: 0; line-height: 1.8; font-size: 1.05rem; }
.edu-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.edu-pill {
    background: var(--edu-surface); border: 1px solid var(--edu-border);
    color: var(--edu-primary); padding: 4px 14px; border-radius: 99px; font-size: .82rem; font-weight: 500;
}
.edu-pill--green { border-color: #A7F3D0; color: var(--edu-secondary); background: var(--edu-secondary-light); }
.edu-pill--orange { border-color: #FED7AA; color: var(--edu-accent-dark); background: #FFF7ED; }

.edu-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 960px; margin: 0 auto; }
.edu-card {
    background: var(--edu-surface); border: 1px solid var(--edu-border); border-radius: var(--edu-radius-lg);
    padding: 24px; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; text-align: center;
    box-shadow: var(--edu-shadow);
}
.edu-card:hover { transform: translateY(-3px); border-color: var(--edu-primary); box-shadow: 0 8px 24px rgba(47,128,237,.12); }
.edu-card__icon { font-size: 2.2rem; margin-bottom: 10px; }
.edu-card h3 { margin: 0 0 8px; color: var(--edu-text); font-size: 1.05rem; }
.edu-card p { margin: 0; color: var(--edu-text-muted); font-size: .85rem; line-height: 1.55; }

.edu-login {
    max-width: 400px; margin: 32px auto 0; background: var(--edu-surface); border: 1px solid var(--edu-border);
    border-radius: var(--edu-radius-lg); padding: 28px; box-shadow: var(--edu-shadow);
}
.edu-login h3 { margin: 0 0 16px; text-align: center; color: var(--edu-text); }

/* ── Form fields ── */
.edu-field { margin-bottom: 14px; }
.edu-field--full { grid-column: 1 / -1; }
.edu-field label { display: block; font-size: .85rem; color: var(--edu-text); font-weight: 600; margin-bottom: 6px; }
.edu-field input, .edu-field select, .edu-field textarea {
    width: 100%; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--edu-border-strong);
    background: var(--edu-surface); color: var(--edu-text); font-family: inherit; font-size: .92rem;
    transition: border-color .15s, box-shadow .15s;
}
.edu-field input:focus, .edu-field select:focus, .edu-field textarea:focus {
    outline: none; border-color: var(--edu-primary); box-shadow: 0 0 0 3px rgba(47,128,237,.15);
}

/* ── Buttons ── */
.edu-btn {
    width: 100%; padding: 12px 20px; border: none; border-radius: 10px;
    background: var(--edu-primary); color: #fff; font-weight: 700; cursor: pointer;
    font-family: inherit; font-size: .95rem; transition: background .15s, transform .1s;
}
.edu-btn:hover { background: var(--edu-primary-dark); }
.edu-btn--primary { background: var(--edu-primary); }
.edu-btn--secondary { background: var(--edu-secondary); }
.edu-btn--secondary:hover { background: #219653; }
.edu-btn--accent { background: var(--edu-accent); color: #fff; }
.edu-btn--accent:hover { background: var(--edu-accent-dark); }
.edu-btn--ghost { background: transparent; border: 1px solid var(--edu-border-strong); color: var(--edu-text-muted); width: auto; }
.edu-btn--ghost:hover { border-color: var(--edu-primary); color: var(--edu-primary); background: var(--edu-primary-light); }
.edu-btn--sm { width: auto; padding: 7px 16px; font-size: .85rem; }

.edu-err { color: #DC2626; font-size: .88rem; margin-top: 8px; text-align: center; background: #FEF2F2; padding: 10px; border-radius: 8px; }
.edu-success { color: var(--edu-secondary); font-size: .88rem; }
.edu-muted { color: var(--edu-text-muted); font-size: .88rem; }
.edu-loading { text-align: center; padding: 48px; color: var(--edu-primary); }

/* ── Main / Panels ── */
.edu-main { padding: 24px; max-width: 900px; margin: 0 auto; }
.edu-panel {
    background: var(--edu-surface); border: 1px solid var(--edu-border); border-radius: var(--edu-radius-lg);
    padding: 24px; margin-bottom: 20px; box-shadow: var(--edu-shadow);
}
.edu-panel h2 { margin: 0 0 16px; font-size: 1.15rem; color: var(--edu-text); }
.edu-panel--inner { background: var(--edu-bg); border-color: var(--edu-border); box-shadow: none; }
.edu-panel--flat { box-shadow: none; }
.edu-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.edu-grid-2--wide { grid-template-columns: 1fr 1fr; }
.edu-grid-2--mt { margin-top: 16px; }
.edu-subtitle { margin: 0 0 10px; font-size: .95rem; color: var(--edu-text); font-weight: 600; }
.edu-link { color: var(--edu-primary); text-decoration: none; font-weight: 500; }
.edu-link:hover { text-decoration: underline; }

.edu-stat-row { display: flex; flex-wrap: wrap; gap: 12px; }
.edu-stat {
    flex: 1; min-width: 120px; background: var(--edu-bg); border-radius: var(--edu-radius);
    padding: 16px; text-align: center; border: 1px solid var(--edu-border);
}
.edu-stat strong { display: block; font-size: 1.35rem; color: var(--edu-primary); }
.edu-stat span { font-size: .78rem; color: var(--edu-text-muted); }

.edu-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.edu-table th, .edu-table td { padding: 10px 8px; border-bottom: 1px solid var(--edu-border); text-align: right; }
.edu-table th { color: var(--edu-text-muted); font-weight: 600; font-size: .8rem; }
.edu-badge {
    display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .75rem; font-weight: 500;
    background: var(--edu-primary-light); color: var(--edu-primary);
}
.edu-badge--ok { background: var(--edu-secondary-light); color: var(--edu-secondary); }
.edu-badge--warn { background: #FFF7ED; color: var(--edu-accent-dark); }

.edu-quote-lines { background: var(--edu-bg); border-radius: var(--edu-radius); padding: 14px; margin-top: 12px; border: 1px solid var(--edu-border); }
.edu-quote-lines div { display: flex; justify-content: space-between; padding: 5px 0; font-size: .88rem; }
.edu-quote-lines .total { border-top: 1px solid var(--edu-border); margin-top: 8px; padding-top: 10px; font-weight: 700; color: var(--edu-primary); }

.edu-plan-week {
    background: var(--edu-bg); border-radius: var(--edu-radius); padding: 14px; margin-bottom: 10px;
    border-right: 4px solid var(--edu-secondary);
}
.edu-plan-week h4 { margin: 0 0 6px; color: var(--edu-text); font-size: .95rem; }
.edu-plan-week ul { margin: 0; padding-right: 18px; color: var(--edu-text-muted); font-size: .85rem; }
.edu-plan-goal { margin: 0 0 6px; color: var(--edu-secondary); font-size: .82rem; }

.edu-footer-links { text-align: center; margin-top: 24px; font-size: .85rem; }
.edu-footer-links a { color: var(--edu-primary); margin: 0 8px; }

/* ── Demo panel ── */
.edu-landing-top { max-width: 960px; margin: 0 auto 12px; padding: 0 24px; text-align: left; }
.edu-demo-toggle {
    padding: 8px 16px; border-radius: 8px; border: 1px solid var(--edu-border);
    background: var(--edu-surface); color: var(--edu-text-muted); cursor: pointer; font-family: inherit; box-shadow: var(--edu-shadow);
}
.edu-demo-toggle:hover { border-color: var(--edu-primary); color: var(--edu-primary); }
.edu-demo-panel { max-width: 960px; margin: 0 auto 20px; padding: 0 24px; }
.edu-demo-panel__inner { background: var(--edu-surface); border: 1px solid var(--edu-border); border-radius: var(--edu-radius-lg); overflow: hidden; box-shadow: var(--edu-shadow); }
.edu-demo-panel__head {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    background: var(--edu-primary-light); font-size: .88rem; color: var(--edu-text);
}
.edu-demo-panel__head code { background: var(--edu-surface); padding: 2px 8px; border-radius: 4px; border: 1px solid var(--edu-border); }
.edu-demo-close { background: none; border: none; color: var(--edu-text-muted); font-size: 1.1rem; cursor: pointer; }
.edu-demo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; padding: 12px; }
.edu-demo-row {
    display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center;
    padding: 10px 12px; border: 1px solid var(--edu-border); border-radius: 10px; background: var(--edu-bg);
    cursor: pointer; text-align: right; font-family: inherit; color: var(--edu-text);
}
.edu-demo-row:hover { border-color: var(--edu-primary); background: var(--edu-primary-light); }
.edu-demo-row--loading { opacity: .7; pointer-events: none; }
.edu-demo-row__icon { font-size: 1.3rem; }
.edu-demo-row__name { font-size: .88rem; font-weight: 600; }
.edu-demo-row__user { font-size: .72rem; color: var(--edu-primary); grid-column: 2; }
.edu-demo-row__badge { font-size: .72rem; color: var(--edu-text-muted); grid-column: 1 / -1; text-align: center; }

/* ── Request flow ── */
.edu-flow { max-width: 820px; margin: 0 auto; }
.edu-flow-hero { text-align: center; margin-bottom: 24px; }
.edu-flow-hero h2 { margin: 0 0 8px; font-size: 1.5rem; color: var(--edu-text); }

.edu-stepper {
    display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; flex-wrap: wrap;
}
.edu-stepper__item {
    display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px;
    background: var(--edu-surface); border: 1px solid var(--edu-border); font-size: .85rem; color: var(--edu-text-muted);
}
.edu-stepper__item--done { border-color: var(--edu-secondary); color: var(--edu-secondary); background: var(--edu-secondary-light); }
.edu-stepper__item--active { border-color: var(--edu-primary); color: #fff; background: var(--edu-primary); font-weight: 600; }
.edu-stepper__icon { font-size: 1.1rem; }

.edu-form-section {
    background: var(--edu-surface); border: 1px solid var(--edu-border); border-radius: var(--edu-radius-lg);
    padding: 20px; margin-bottom: 16px; box-shadow: var(--edu-shadow);
}
.edu-form-section__title {
    display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 1rem; color: var(--edu-text);
}
.edu-form-section__num {
    width: 28px; height: 28px; border-radius: 50%; background: var(--edu-primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700;
}
.edu-form-section--consent { background: var(--edu-primary-light); border-color: #BFDBFE; }
.edu-form-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.edu-form-actions .edu-btn { width: auto; min-width: 200px; }

.edu-choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.edu-choice-card {
    display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 16px;
    border: 2px solid var(--edu-border); border-radius: var(--edu-radius-lg); cursor: pointer; transition: .15s;
    background: var(--edu-bg);
}
.edu-choice-card input { display: none; }
.edu-choice-card--active, .edu-choice-card:has(input:checked) {
    border-color: var(--edu-primary); background: var(--edu-primary-light); box-shadow: 0 0 0 3px rgba(47,128,237,.12);
}
.edu-choice-card__icon { font-size: 2rem; margin-bottom: 8px; }
.edu-choice-card strong { display: block; margin-bottom: 4px; color: var(--edu-text); }
.edu-choice-card span:last-child { font-size: .8rem; color: var(--edu-text-muted); }

.edu-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.edu-check { display: flex; align-items: center; gap: 8px; font-size: .88rem; cursor: pointer; padding: 8px; border-radius: 8px; }
.edu-check:hover { background: var(--edu-bg); }
.edu-check--consent { font-size: .88rem; line-height: 1.6; }

.edu-alert { padding: 14px 16px; border-radius: var(--edu-radius); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.edu-alert--warn { background: #FFF7ED; border: 1px solid #FED7AA; color: var(--edu-accent-dark); }

/* ── Online test ── */
.edu-test-panel { background: var(--edu-surface); border: 1px solid var(--edu-border); border-radius: var(--edu-radius-lg); padding: 24px; box-shadow: var(--edu-shadow); }
.edu-test-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--edu-border); }
.edu-test-timer { font-size: .88rem; color: var(--edu-accent-dark); font-weight: 600; }
.edu-phase-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.edu-phase-tab { padding: 6px 14px; border-radius: 99px; font-size: .82rem; background: var(--edu-bg); color: var(--edu-text-muted); border: 1px solid var(--edu-border); }
.edu-phase-tab.active { background: var(--edu-secondary-light); color: var(--edu-secondary); border-color: #A7F3D0; }

.edu-q-list { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.edu-q-card {
    background: var(--edu-bg); border: 1px solid var(--edu-border); border-radius: var(--edu-radius);
    padding: 16px; position: relative;
}
.edu-q-card__num {
    position: absolute; top: 12px; left: 12px; width: 28px; height: 28px; border-radius: 50%;
    background: var(--edu-primary); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: .82rem; font-weight: 700;
}
.edu-q-card__stem { margin: 0 0 14px; padding-right: 8px; font-size: .95rem; line-height: 1.6; color: var(--edu-text); }
.edu-mcq { display: flex; flex-direction: column; gap: 8px; }
.edu-mcq__opt {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px;
    border: 1px solid var(--edu-border); cursor: pointer; transition: .12s; background: var(--edu-surface);
}
.edu-mcq__opt:hover { border-color: var(--edu-primary); background: var(--edu-primary-light); }
.edu-mcq__opt:has(input:checked) { border-color: var(--edu-primary); background: var(--edu-primary-light); font-weight: 600; }
.edu-mcq__opt input { accent-color: var(--edu-primary); }

.edu-likert { display: flex; gap: 8px; justify-content: center; margin: 12px 0 4px; }
.edu-likert__opt { cursor: pointer; }
.edu-likert__opt input { display: none; }
.edu-likert__opt span {
    display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border-radius: 50%; border: 2px solid var(--edu-border); font-weight: 600; transition: .12s;
}
.edu-likert__opt input:checked + span { background: var(--edu-secondary); border-color: var(--edu-secondary); color: #fff; }
.edu-likert-labels { display: flex; justify-content: space-between; font-size: .75rem; color: var(--edu-text-muted); padding: 0 20px; }

/* ── Results ── */
.edu-result-panel { text-align: center; }
.edu-result-hero { margin-bottom: 24px; }
.edu-result-hero__icon { font-size: 3rem; display: block; margin-bottom: 8px; }
.edu-result-hero h2 { margin: 0 0 8px; color: var(--edu-text); }
.edu-result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; text-align: center; }
.edu-result-card { padding: 24px 16px; border-radius: var(--edu-radius-lg); border: 1px solid var(--edu-border); }
.edu-result-card--primary { background: var(--edu-primary-light); border-color: #BFDBFE; }
.edu-result-card--secondary { background: var(--edu-secondary-light); border-color: #A7F3D0; }
.edu-result-card--accent { background: #FFF7ED; border-color: #FED7AA; }
.edu-result-score { font-size: 2.5rem; font-weight: 800; color: var(--edu-primary); line-height: 1.2; }
.edu-result-card--secondary .edu-result-score { color: var(--edu-secondary); }
.edu-result-card--accent .edu-result-score { color: var(--edu-accent-dark); }

/* ── EduBrain mastery ── */
.edu-framework-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.edu-mastery-grid { display: flex; flex-direction: column; gap: 10px; }
.edu-mastery-row__head { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 4px; }
.edu-mastery-bar { height: 10px; background: var(--edu-border); border-radius: 99px; overflow: hidden; }
.edu-mastery-bar__fill { height: 100%; border-radius: 99px; transition: width .3s; }
.edu-history-list { display: flex; flex-direction: column; gap: 8px; }
.edu-history-item {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 10px 12px; background: var(--edu-bg); border-radius: 8px; font-size: .85rem; border: 1px solid var(--edu-border);
}

/* ── Timeline ── */
.edu-timeline { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; }
.edu-timeline-item {
    display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 12px;
    background: var(--edu-bg); border-radius: 8px; border-right: 4px solid var(--edu-primary);
}
.edu-timeline-item--skill { border-right-color: var(--edu-secondary); }
.edu-timeline-item__date { font-size: .78rem; color: var(--edu-text-muted); }
.edu-timeline-item__body { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; }

/* ── AI Chat ── */
.edu-ai-panel { display: flex; flex-direction: column; min-height: 480px; }
.edu-ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.edu-ai-chip {
    padding: 6px 14px; border-radius: 99px; border: 1px solid var(--edu-border);
    background: var(--edu-surface); color: var(--edu-text-muted); cursor: pointer; font-family: inherit; font-size: .82rem;
}
.edu-ai-chip:hover { border-color: var(--edu-primary); color: var(--edu-primary); background: var(--edu-primary-light); }
.edu-ai-messages {
    flex: 1; min-height: 280px; max-height: 400px; overflow-y: auto;
    background: var(--edu-bg); border-radius: var(--edu-radius); padding: 14px; margin-bottom: 12px; border: 1px solid var(--edu-border);
}
.edu-ai-msg { padding: 10px 14px; border-radius: 12px; margin-bottom: 8px; font-size: .88rem; max-width: 85%; line-height: 1.55; }
.edu-ai-msg--user { background: var(--edu-primary); color: #fff; margin-right: auto; }
.edu-ai-msg--bot { background: var(--edu-surface); border: 1px solid var(--edu-border); margin-left: auto; }
.edu-ai-input-row { display: flex; gap: 8px; }
.edu-ai-input-row input {
    flex: 1; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--edu-border-strong);
    background: var(--edu-surface); color: var(--edu-text); font-family: inherit;
}

/* ── Marketplace ── */
.edu-market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.edu-market-card {
    background: var(--edu-bg); border: 1px solid var(--edu-border); border-radius: var(--edu-radius); padding: 16px;
}
.edu-market-card h4 { margin: 0 0 8px; color: var(--edu-text); font-size: .95rem; }
.edu-cv-list { margin: 0; padding-right: 20px; color: var(--edu-text-muted); font-size: .88rem; }
.edu-pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.edu-session-detail { margin-top: 16px; }

/* ── Map ── */
.edu-map-wrap { position: relative; }
.edu-map { height: 420px; border-radius: var(--edu-radius); border: 1px solid var(--edu-border); z-index: 1; }
.edu-map-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: .82rem; color: var(--edu-text-muted); }
.edu-map-legend__item { display: flex; align-items: center; gap: 6px; }
.edu-map-legend__item i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.edu-map-pin span { display: block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }

/* ── Life companion ── */
.edu-companion-hero { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 16px; }
.edu-companion-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.edu-companion-nav__btn {
    padding: 8px 14px; border-radius: 99px; border: 1px solid var(--edu-border);
    background: var(--edu-surface); cursor: pointer; font-family: inherit; font-size: .82rem; color: var(--edu-text-muted);
}
.edu-companion-nav__btn.active, .edu-companion-nav__btn:hover { border-color: var(--edu-primary); color: var(--edu-primary); background: var(--edu-primary-light); }
.edu-ring { width: 72px; height: 72px; }
.edu-ring__bg { fill: none; stroke: var(--edu-border); stroke-width: 3; }
.edu-ring__fill { fill: none; stroke: var(--edu-secondary); stroke-width: 3; stroke-linecap: round; }
.edu-ring__text { fill: var(--edu-text); font-size: .45rem; font-weight: 700; text-anchor: middle; }
.edu-history-row { background: var(--edu-bg); border: 1px solid var(--edu-border); border-radius: var(--edu-radius); padding: 14px; margin-bottom: 12px; }
.edu-lifepath-phase { background: var(--edu-surface); border: 1px solid var(--edu-border); border-radius: var(--edu-radius); padding: 16px; margin-bottom: 12px; }
.edu-lifepath-phase--short { border-right: 4px solid var(--edu-accent); }
.edu-lifepath-phase--mid { border-right: 4px solid var(--edu-primary); }
.edu-lifepath-phase--long { border-right: 4px solid var(--edu-secondary); }
.edu-lifepath-phase ul { margin: 8px 0 0; padding-right: 20px; color: var(--edu-text-muted); font-size: .88rem; }
.edu-cv-row, .edu-work-row { display: grid; grid-template-columns: 1fr 1fr 80px 1fr; gap: 8px; margin-bottom: 8px; }
.edu-cv-row input, .edu-work-row input { padding: 8px; border: 1px solid var(--edu-border); border-radius: 6px; font-family: inherit; }
.edu-check-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ── Phase 2: chart · matching · report upload ── */
.edu-chart-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.edu-chart { display: flex; align-items: flex-end; gap: 12px; min-height: 180px; padding: 16px 8px; background: var(--edu-bg); border-radius: var(--edu-radius); border: 1px solid var(--edu-border); }
.edu-chart-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 36px; }
.edu-chart-bar__col { width: 100%; height: 120px; display: flex; align-items: flex-end; background: var(--edu-surface); border-radius: 6px 6px 0 0; border: 1px solid var(--edu-border); }
.edu-chart-bar__fill { width: 100%; background: linear-gradient(180deg, var(--edu-primary), var(--edu-secondary)); border-radius: 6px 6px 0 0; min-height: 4px; transition: height .3s; }
.edu-chart-bar__val { font-size: .78rem; font-weight: 700; color: var(--edu-text); }
.edu-chart-bar__lbl { font-size: .72rem; color: var(--edu-text-muted); text-align: center; }
.edu-match-list { display: flex; flex-direction: column; gap: 10px; }
.edu-match-card { background: var(--edu-bg); border: 1px solid var(--edu-border); border-radius: var(--edu-radius); padding: 12px 14px; }
.edu-match-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.edu-match-score { font-weight: 700; color: var(--edu-secondary); font-size: .9rem; }
.edu-match-bar { height: 6px; background: var(--edu-border); border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.edu-match-bar__fill { height: 100%; background: var(--edu-primary); border-radius: 99px; }
.edu-match-bar__fill--accent { background: var(--edu-accent); }
.edu-select-sm { padding: 6px 10px; border: 1px solid var(--edu-border); border-radius: 6px; font-family: inherit; font-size: .82rem; }
.edu-subtitle--sm { font-size: .9rem; margin: 0 0 10px; }
.edu-upload-zone { margin-top: 12px; }
.edu-report-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.edu-report-item { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; background: var(--edu-bg); border: 1px solid var(--edu-border); border-radius: var(--edu-radius); }
.edu-report-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1; }
.edu-pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .75rem; font-weight: 600; }
.edu-pill--ok { background: #d1fae5; color: #065f46; }
.edu-pill--warn { background: #fef3c7; color: #92400e; }
.edu-pill--info { background: var(--edu-primary-light); color: var(--edu-primary); }
.edu-parent-dash .edu-panel { margin-bottom: 16px; }

@media (max-width: 768px) {
    .edu-header__nav--scroll { max-width: 100%; }
    .edu-grid-2, .edu-grid-2--wide, .edu-choice-cards, .edu-check-grid { grid-template-columns: 1fr; }
    .edu-timeline-item { grid-template-columns: 1fr; }
    .edu-main { padding: 16px; }
    .edu-form-actions .edu-btn { width: 100%; }
    .edu-cv-row, .edu-work-row { grid-template-columns: 1fr; }
    .edu-check-grid--3 { grid-template-columns: 1fr; }
}
