.nav-item[data-view="plan"] .nav-asset{flex:none;color:#1865c9}
.plan-shell{--plan-ink:#102244;--plan-muted:#4c607c;--plan-blue:#1267d6;--plan-line:#c9d8eb;max-width:1220px;margin:0 auto;color:var(--plan-ink);font-family:"Golos Text",sans-serif}
.plan-shell *{box-sizing:border-box}
.plan-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:180px;padding:30px 36px;margin-bottom:18px;border:1px solid #d7e5f3;border-radius:22px;background:linear-gradient(110deg,#fff 16%,#e5f3ff);box-shadow:0 10px 30px rgba(22,71,127,.06);overflow:hidden}
.plan-hero h2{font-size:clamp(27px,3vw,40px);letter-spacing:-.035em;margin:10px 0 3px;line-height:1.1;color:#0b1d3f}
.plan-hero p{max-width:650px;margin:8px 0 0;line-height:1.5;color:#344865;font-weight:500}
.plan-hero .plan-ru{font-size:16px;color:#425673;margin:0}
.plan-hero img{width:175px;height:175px;object-fit:contain;flex:none;mix-blend-mode:multiply}
.plan-eyebrow{font-weight:800;letter-spacing:.13em;font-size:10px;color:#245388}
.plan-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);align-items:start;gap:18px}
.plan-stepper{display:flex;gap:8px;padding:12px 16px;margin-bottom:12px;border:1px solid #dbe6f2;background:#fff;border-radius:16px;box-shadow:0 6px 18px rgba(22,71,127,.04)}
.plan-stepper span{display:flex;gap:8px;align-items:center;flex:1;color:#52647d;font-size:12px;font-weight:650;min-width:0}
.plan-stepper b{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#e9f0f8;color:#365c87;font-size:13px}
.plan-stepper .is-current{color:#0e3f85}.plan-stepper .is-current b{background:#1267d6;color:#fff}
.plan-panel{padding:24px;border:1px solid #d6e2f0;border-radius:20px;background:#fff;box-shadow:0 10px 26px rgba(18,69,127,.07)}
.plan-panel h2{margin:0 0 17px;color:#102244;font-size:21px;letter-spacing:-.025em}
.plan-label{display:block;font-weight:750;color:#182d4b;margin:18px 0 9px}
.plan-label small{display:block;font-size:12px;font-weight:500;color:#52617a;margin-top:2px}
.plan-options{display:flex;gap:9px;flex-wrap:wrap}
.plan-choice,.plan-level,.plan-day{font:inherit;border:1.5px solid var(--plan-line);background:#fff;color:#1b3150;border-radius:13px;padding:12px 14px;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.plan-choice:hover:not(:disabled),.plan-level:hover:not(:disabled),.plan-day:hover:not(:disabled){border-color:#3482dc;background:#f4f9ff}
.plan-choice:focus-visible,.plan-level:focus-visible,.plan-day:focus-visible,.plan-button:focus-visible{outline:3px solid #174ea6;outline-offset:3px}
.plan-choice.is-selected,.plan-level.is-selected,.plan-day.is-selected{border-color:#1267d6;background:#edf6ff;box-shadow:0 0 0 2px rgba(18,103,214,.13);color:#0a3e8a}
.plan-choice strong{display:block;font-size:15px}
.plan-languages .plan-choice{flex:1 1 145px;min-width:145px;min-height:142px;text-align:left}
.plan-languages .plan-language-flag{display:block;width:56px;height:56px;max-width:100%;object-fit:contain;margin-bottom:8px}
.plan-languages .plan-choice strong{font-size:16px;font-weight:800;color:#0b1d2f}
.plan-languages .plan-choice.is-selected strong{color:#0a3e8a}
.plan-languages .plan-choice small{display:block;margin-top:3px;font-size:12px;color:#435773}
@media(max-width:650px){.plan-languages .plan-language-flag{width:46px;height:46px}.plan-languages .plan-choice{min-height:128px}}
.plan-levels .plan-level{flex:1;min-width:90px;min-height:72px;text-align:left}
.plan-level strong{display:block;font-size:17px}.plan-level small{display:block;color:#4e617b;font-size:11px;margin-top:3px}
.plan-level:disabled{cursor:not-allowed;background:#f4f6f9;color:#66778f;border-color:#e0e6ee;opacity:.78}
.plan-level:disabled small{color:#617189}
.plan-help{color:#465b77;line-height:1.45;font-size:13px;margin:14px 0}
.plan-paces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.plan-paces .plan-choice{min-height:138px;text-align:left}
.plan-paces .plan-choice small,.plan-paces .plan-choice em{display:block;color:#4b5f79;font-size:12px;font-style:normal;line-height:1.4;margin-top:4px}
.plan-pace-symbol{display:grid;place-items:center;width:29px;height:29px;margin-bottom:11px;border-radius:8px;background:#e2efff;color:#0b61d1;font-weight:900;font-size:19px}
.plan-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.plan-day{padding:13px 4px;text-align:center;font-weight:700}
.plan-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:21px;border-top:1px solid #e6edf5;padding-top:18px}
.plan-button{font:inherit;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:10px 20px;border-radius:11px;border:1px solid #1267d6;background:#1267d6;color:#fff;font-size:13px;font-weight:750;cursor:pointer}
.plan-button:hover:not(:disabled){background:#0859c4}.plan-button:disabled{cursor:not-allowed;opacity:.53}
.plan-button-secondary{background:#eef5fc;color:#11457f;border-color:#d4e2f1}
.plan-button-secondary:hover:not(:disabled){background:#dfeeff}
.plan-error{color:#9a2232;font-size:13px;font-weight:600;margin:0;min-height:1.3em}
.plan-login-link{display:inline-block;color:#0a57b6;margin-left:8px;font-weight:750;text-decoration:underline}
.plan-summary{position:sticky;top:18px;background:#f5faff}
.plan-summary-head{display:flex;gap:12px;align-items:center;margin-bottom:17px}
.plan-summary-head h2{margin:0}.plan-summary-head small{color:#52617a;font-size:12px}
.plan-summary-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#1267d6;color:#fff;font-size:23px}
.plan-summary-list{margin:0;background:#fff;border:1px solid #d9e4f1;border-radius:14px;padding:4px 15px}
.plan-summary-list div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #e4ebf3}
.plan-summary-list div:last-child{border-bottom:0}
.plan-summary-list dt{color:#445a77;font-size:12px;font-weight:600}
.plan-summary-list dd{margin:0;color:#112b50;font-size:13px;font-weight:750;text-align:right;overflow-wrap:anywhere}
.plan-estimate,.plan-empty{color:#485d78;font-size:12px;line-height:1.5}
.plan-existing{padding:12px;background:#e7f2ff;color:#143f77;border-radius:10px;font-size:13px;line-height:1.5}
.plan-existing button{display:block;border:0;background:transparent;padding:6px 0 0;color:#0a57b6;text-decoration:underline;font-weight:750;cursor:pointer}
.plan-result{text-align:left;min-height:230px}
.plan-result p{line-height:1.5;color:#465b77;font-size:14px}
.plan-result-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:21px}
.plan-check{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e1f5ec;color:#14744c;font-weight:800;margin-bottom:16px}
.plan-dashboard{display:grid;gap:18px}
.plan-dashboard h3{margin:0 0 15px;color:#102244;font-size:19px}
.plan-dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#f6faff}
.plan-dashboard-hero h2{font-size:clamp(27px,3vw,38px);margin:8px 0 4px;color:#102244}
.plan-dashboard-hero p{margin:0;color:#405875}
.plan-dashboard-route{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:23px 0 17px;color:#15365f}
.plan-dashboard-route span,.plan-dashboard-route strong{padding:7px 12px;border:1px solid #d7e4f2;border-radius:9px;background:#fff;font-size:13px}
.plan-dashboard-route strong{color:#0b58ae}
.plan-dashboard-hero .plan-dashboard-end{font-size:13px}
.plan-dashboard-percent{display:grid;place-items:center;flex:none;min-width:150px;padding:20px;border:1px solid #c9def3;border-radius:16px;background:#fff;text-align:center;color:#144a8b}
.plan-dashboard-percent strong{font-size:38px;line-height:1.1}.plan-dashboard-percent span{font-size:12px;font-weight:650}
.plan-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr);gap:18px}
.plan-dashboard-bar{height:9px;border-radius:9px;background:#e2ecf8;overflow:hidden;margin-bottom:22px}
.plan-dashboard-bar span{display:block;height:100%;border-radius:9px;background:#1267d6}
.plan-dashboard-next{background:#f7fbff}
.plan-dashboard-next h3{font-size:24px;margin:10px 0}
.plan-dashboard-status{color:#365374;font-size:13px;font-weight:700}
.plan-dashboard-facts{display:flex;gap:15px;color:#334f70;font-size:13px;margin:18px 0}
.plan-dashboard-readonly{color:#52617a;font-size:12px;margin:12px 0 0}
.plan-dashboard-details .plan-summary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px}
.plan-dashboard-details .plan-summary-list div:nth-last-child(2){border-bottom:0}
@media(max-width:800px){.plan-dashboard-grid{grid-template-columns:1fr}.plan-dashboard-hero{align-items:flex-start}.plan-dashboard-percent{min-width:110px}}
@media(max-width:650px){.plan-dashboard-hero{display:block}.plan-dashboard-percent{margin-top:20px}.plan-dashboard-details .plan-summary-list{grid-template-columns:1fr}}
.plan-today{display:grid;gap:18px}.plan-today h2{font-size:clamp(25px,3vw,34px);margin:10px 0;color:#102244}
.plan-today .plan-dashboard-bar{max-width:600px;margin:16px 0}.plan-today-list{display:grid;gap:12px}
.plan-today-task{display:flex;justify-content:space-between;align-items:center;gap:20px}
.plan-today-task h3{margin:8px 0;color:#102244;font-size:18px}.plan-today-task p,.plan-today header p{color:#405875}
.plan-today-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.plan-today-actions .plan-button{white-space:nowrap}
.plan-today-return{position:fixed;right:24px;bottom:24px;z-index:1000;box-shadow:0 8px 22px #17376340}
@media(max-width:700px){.plan-today-task{align-items:flex-start;flex-direction:column}.plan-today-actions{justify-content:flex-start}}
@media(max-width:1020px){.plan-layout{grid-template-columns:1fr}.plan-summary{position:static}.plan-hero img{width:125px;height:125px}}
@media(max-width:650px){.plan-hero{padding:22px;min-height:0}.plan-hero img{display:none}.plan-panel{padding:18px}.plan-stepper span{font-size:0}.plan-stepper b{font-size:13px}.plan-paces{grid-template-columns:1fr}.plan-paces .plan-choice{min-height:75px}.plan-weekdays{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Phase 9 notes integration */
.plan-note-workspace{display:grid;gap:16px}.plan-note-head{display:grid;gap:10px}.plan-note-head .plan-button{justify-self:start}
.plan-note-badges{display:flex;flex-wrap:wrap;gap:8px}.plan-note-badges span{display:inline-flex;align-items:center;border:1px solid #d8e1ef;background:#f5f8fc;color:#34506f;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}
.plan-note-editor{display:grid;gap:8px}.plan-note-editor textarea{width:100%;min-height:320px;resize:vertical;border:1px solid #d8e1ef;border-radius:14px;padding:18px;font:15px/1.65 "Golos Text",system-ui;background:#fff;color:#102244;outline:0}
.plan-note-editor textarea:focus{border-color:#7598cc;box-shadow:0 0 0 3px #7598cc1f}.plan-note-editor [role=status]{min-height:18px;color:#397057;font-size:12px}
.linked-learning-notes{margin-top:18px;padding:22px}.linked-learning-notes-head h3{margin:7px 0 16px;color:#102244}.linked-learning-notes-list{display:grid;gap:10px}
.linked-learning-note{border:1px solid #e1e7f0;border-radius:14px;padding:14px;background:#fff}.linked-learning-note p{margin:10px 0 0;color:#52617a;line-height:1.5}


/* Phase 11: restrained Review integration. */
.plan-dashboard-reviews { margin-top: 18px; }
.plan-review-list .plan-today-list,
.plan-review-session .plan-today-actions { margin-top: 14px; }
.plan-review-session .plan-today-actions { display: flex; flex-wrap: wrap; gap: 10px; }


/* Phase 13: functional Reading/Writing task workspace. */
.plan-rw-workspace { max-width: 980px; margin: 0 auto; }
.plan-rw-head { margin-bottom: 16px; }
.plan-reading-text p { font-size: 1.04rem; line-height: 1.72; margin: 0 0 1em; }
.plan-reading-questions fieldset { border: 0; padding: 14px 0; margin: 0; border-top: 1px solid var(--line, #e7e9ee); }
.plan-reading-questions legend { font-weight: 700; margin-bottom: 10px; }
.plan-reading-questions label { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; cursor: pointer; }
.plan-rw-result { margin-top: 16px; font-size: 1rem; }
.plan-rw-hint { margin: 12px 0; color: var(--muted, #667085); }
.plan-writing-brief ul, .plan-writing-brief ol { margin: 8px 0 18px; padding-left: 22px; }
.plan-writing-editor textarea { width: 100%; min-height: 320px; resize: vertical; }
.plan-writing-meta { display: flex; justify-content: space-between; gap: 16px; margin: 9px 0 14px; color: var(--muted, #667085); font-size: .9rem; }
@media (max-width: 700px) {
  .plan-writing-meta { flex-direction: column; gap: 4px; }
}
