/* Learning overview uses the existing reading layout and shared site colors. */
.route-progress{margin:24px 0}.route-progress progress{width:min(100%,440px);accent-color:var(--green);height:12px}.route-module-nav{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.route-module-nav [aria-current]{border-color:var(--green);color:var(--green)}.route-map-scroll{overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface);max-height:640px}.route-map{position:relative;min-height:180px}.route-map svg{position:absolute;inset:0;pointer-events:none}.route-map path{fill:none;stroke:var(--green);stroke-width:1.5;opacity:.4}.route-map-heading{position:absolute;top:16px;width:248px;font-size:18px;margin:0;overflow-wrap:anywhere}.route-map-node{position:absolute;width:248px;min-height:78px;display:grid;gap:8px;padding:16px;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);cursor:pointer}.route-map-node strong{font-size:17px;overflow-wrap:anywhere}.route-map-node span{font-size:13px;color:var(--muted)}.route-map-node:hover,.route-map-node:focus-visible{border-color:var(--green);outline:2px solid var(--green);outline-offset:2px}.route-map-node.complete{border-left:4px solid var(--green)}.route-node-dialog{width:min(640px,calc(100vw - 48px));max-height:80vh;overflow:auto;box-sizing:border-box;border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:28px;color:var(--ink);line-height:1.8}.route-node-dialog::backdrop{background:rgba(15,30,25,.4)}.route-node-dialog .section-heading{align-items:start}.route-node-dialog h2{overflow-wrap:anywhere}
.route-graph-stage{min-width:0}.route-space{position:relative;height:460px;background:radial-gradient(ellipse at 28% 32%,#20345c88,transparent 52%),radial-gradient(ellipse at 78% 72%,#34255366,transparent 52%),#070e20;border:1px solid #263653;border-radius:12px;overflow:hidden;touch-action:none;user-select:none}.route-space svg{position:absolute;inset:0;width:100%;height:100%}.route-space-caption{position:absolute;inset:20px 22px auto;display:flex;justify-content:space-between;color:#b7cce5;font-size:14px;pointer-events:none;z-index:1}.route-space .route-stars circle{fill:#edf6ff}.route-world path{fill:none;stroke:#8bbdde;stroke-width:1.5;opacity:.7}.route-world [data-route-node]{opacity:var(--depth,1);cursor:pointer;outline:none}.route-world circle{fill:#f6d5cf;filter:drop-shadow(0 0 9px #f6d5cf55)}.route-world .orbit{fill:none;stroke:#f6d5cf59;stroke-width:1;filter:none}.route-world [data-graph-state=completed] circle{fill:#c3e6ac}.route-world [data-graph-state=learning] circle{fill:#f8e8b8}.route-world [data-graph-state=unknown] circle{fill:#b7cce5}.route-world [data-route-node]:focus-visible .orbit,.route-world [data-route-node]:hover .orbit{stroke:#e5ffc9;stroke-width:3}.route-world text{fill:#f0f5ff;stroke:#070e20;stroke-width:4;paint-order:stroke;font-family:inherit;font-size:15px}.route-world .node-state{font-size:12px}.route-space-empty{position:absolute;inset:45% 0 auto;text-align:center;color:#eef4fc}.route-graph-tools{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.route-graph-tools>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center;width:100%}.route-graph-tools [aria-pressed=true]{border-color:var(--green);background:var(--soft);color:var(--green)}.route-graph-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:24px;background:#070e20;color:#eef4fc}.route-graph-dialog .route-graph-stage{display:flex;flex-direction:column;height:100%;min-height:0}.route-graph-dialog .route-space{flex:1;min-height:140px;height:auto}.route-graph-dialog .route-graph-tools .button{background:#263349;border-color:#485972;color:#eef4fc}.route-graph-dialog .route-graph-tools [aria-pressed=true]{background:#d4e7bf;color:#233b35}.route-graph-dialog h2{margin-bottom:8px}.route-graph-dialog p{margin-bottom:14px}
.route-world [data-route-node] circle.orbit{fill:none}
.learning-workspace{--study-muted:var(--muted);--study-line:var(--line)}
.learning-workspace .study-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:26px}
.learning-workspace .study-heading h1{font-size:32px;letter-spacing:-.7px}
.learning-workspace .study-heading p{margin:8px 0 0;color:var(--muted)}
.learning-workspace .study-kicker{font-size:16px;font-weight:600;margin:0 0 12px;color:var(--green)}
.learning-workspace .study-version{font-size:16px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}
.learning-workspace .route-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px;margin:24px 0}
.learning-workspace .study-route{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:26px;display:flex;flex-direction:column;gap:18px;min-width:0}
.learning-workspace .route-number{color:var(--green);font-size:16px;font-weight:600}
.learning-workspace .study-route h2{font-size:22px;margin:0}.learning-workspace .study-route h2 a:hover{text-decoration:underline}
.learning-workspace .study-route .full{margin-top:auto}.learning-workspace .study-route p{overflow-wrap:anywhere}
.learning-workspace .study-counts{display:flex;flex-wrap:wrap;gap:16px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:16px;color:var(--muted)}
.learning-workspace .study-counts b{font-size:22px;font-weight:600;color:var(--ink);margin-right:4px}
.learning-workspace .study-empty{padding:32px 24px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:12px;margin:20px 0}
.learning-workspace .learning-packages,.learning-workspace .pagination{display:flex;flex-wrap:wrap;gap:12px}
.learning-workspace .button{font-size:16px;min-height:44px;white-space:normal;overflow-wrap:anywhere}
.learning-workspace .learning-route-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:24px 0}.learning-workspace .learning-route-filter label{display:grid;gap:8px}.learning-workspace .learning-route-filter [role=alert]{flex-basis:100%;color:var(--warning)}
.learning-workspace .study-guide{padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin-top:32px}
.learning-workspace .study-guide ol{display:grid;gap:18px;padding-left:24px}.learning-workspace .study-guide li span{display:block;margin-top:8px;color:var(--muted)}
@media(max-width:700px){.learning-workspace .study-heading{align-items:start;flex-wrap:wrap;gap:14px}.learning-workspace .study-heading h1{font-size:27px}}
.study-reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.study-reader{min-width:0;background:var(--surface,#fff);padding:28px;border:1px solid var(--border,#e5e9e6);border-radius:16px;line-height:1.8}.study-section{padding:20px 0;border-bottom:1px solid var(--border,#e5e9e6)}.study-section:last-child{border-bottom:0}.study-record-panel{position:sticky;top:20px;min-width:0}.study-record-panel input,.study-record-panel textarea,.study-record-panel select{width:100%;box-sizing:border-box}.study-reader p,.study-reader li,.study-record-panel p{overflow-wrap:anywhere}.study-record-panel .form-actions{display:flex;flex-wrap:wrap;gap:8px}.study-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.study-catalog>article{background:#fff;border:1px solid var(--border,#e5e9e6);border-radius:14px;padding:24px}.study-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.study-filters label{display:grid;gap:6px}.study-filters input,.study-filters select{min-height:42px}@media(max-width:1050px){.study-reading-layout{grid-template-columns:minmax(0,1fr)}.study-record-panel{position:static}.study-catalog{grid-template-columns:minmax(0,1fr)}}
