:root{--bg:#071b19;--panel:#102925;--panel2:#112e2a;--line:#35534b;--line-soft:#25433c;--ink:#f0eed9;--ink-muted:#a4baae;--mint:#c1f2bc;--mint-bright:#a6ffc9;--honey:#f7cc82;--coral:#ffab8a;--black:#081713;--shadow:0 18px 60px #010c0c50}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 'Trebuchet MS',Arial,sans-serif;min-height:100vh}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #f8da90;outline-offset:3px}a{color:inherit}h1,h2,h3,p{margin:0}.shell{max-width:1590px;margin:0 auto;padding:0 30px;position:relative}.background-veins{position:fixed;inset:0;pointer-events:none;opacity:.23;background-image:radial-gradient(circle at 10% 8%,#1b5b4a 0,transparent 32%),radial-gradient(circle at 96% 26%,#264638 0,transparent 25%),repeating-linear-gradient(133deg,transparent 0,transparent 114px,#82bca00b 115px,#82bca00b 116px);z-index:-1}.topbar{height:75px;border-bottom:1px solid #34504a;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:13px;text-decoration:none;align-items:center}.brand-mark{color:#f9d696;font-size:34px;line-height:1}.brand strong{display:block;font-size:16px;letter-spacing:.18em}.brand-soft{color:#bce6bb}.brand small{display:block;font-size:9px;letter-spacing:.32em;color:#8da89a;margin-top:2px}.top-right{display:flex;gap:18px;align-items:center}.edition{color:#bad1c1;font-size:10px;letter-spacing:.19em;font-weight:700}.edition b{font-weight:300;color:#6b897a;margin:0 9px}.edition-icon{font-size:24px;color:#eac789}.intro{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:35px 0 30px}.intro-copy{max-width:950px}.overline,.side-eyebrow,.small-heading{letter-spacing:.23em;font-weight:800;font-size:10px;color:#a8dbb5}.overline{display:flex;align-items:center;gap:10px}.overline-line{height:1px;width:30px;background:#bee8b2}.overline .number{color:#e8c88b}h1{font:clamp(38px,5vw,76px)/1.03 Georgia,'Times New Roman',serif;letter-spacing:-.055em;margin-top:12px}h1 em,.learning-lead em{font-weight:400;color:var(--mint);font-style:italic}.intro p{margin-top:14px;color:#b9c8b9;max-width:790px;font-size:15px}.intro p strong{color:#edf2dc;font-weight:700}.formula-card{border:1px solid #4d6757;min-width:300px;padding:18px 20px;position:relative;background:linear-gradient(125deg,#22443870,#142d2870);box-shadow:var(--shadow);transform:rotate(1deg)}.formula-top{font-size:9px;letter-spacing:.25em;color:#dfca93;display:flex;justify-content:space-between}.formula-top span{font-size:18px;line-height:1}.formula-main{font:23px Georgia,serif;letter-spacing:-.03em;margin:13px 0;color:#f1e9c4;white-space:nowrap}.formula-bottom{font-size:11px;color:#b4c6b6}.formula-bottom em{color:#f5ca7d}.workspace{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(340px,.95fr);gap:18px;align-items:start}.panel{background:linear-gradient(148deg,#17372e,#0e2825 58%,#102a26);border:1px solid #34534a;border-radius:5px;box-shadow:var(--shadow)}.stage{padding:19px 19px 0}.stage-head,.side-title-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.stage h2,.sidebar h2{font:26px Georgia,serif;letter-spacing:-.02em;margin-top:5px}.mode-indicator{font-size:9px;font-weight:800;letter-spacing:.16em;color:#e1d2a3;border:1px solid #5d7054;padding:6px 9px;white-space:nowrap}.controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:17px 0 14px}.tool{border:1px solid #446156;background:#1a3c33;color:#d0decd;border-radius:3px;padding:9px 11px;display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:700;transition:background .15s,transform .15s}.tool:hover,.preset:hover,.secondary:hover{background:#2b5244}.tool.active{color:#10261e;background:#d2ebae;border-color:#d2ebae}.tool>span{font-size:19px;line-height:.65}.tool kbd{font-size:9px;border:1px solid currentColor;border-radius:2px;opacity:.58;padding:0px 4px}.icon-tool{font-size:22px;min-width:39px;height:38px;padding:0;justify-content:center}.tool:disabled{opacity:.35;cursor:not-allowed}.graphic-shell{position:relative;overflow:hidden;border:1px solid #476357;border-radius:3px;background:radial-gradient(ellipse at center,#244237 0,#142d27 47%,#0c201d 100%)}.graphic-shell:before{position:absolute;inset:0;content:"";pointer-events:none;background:repeating-radial-gradient(ellipse at center,#e9ecb20a 0,#e9ecb20a 1px,transparent 1px,transparent 34px);z-index:0}.graphic-top{display:flex;align-items:center;justify-content:space-between;position:absolute;inset:13px 17px auto 17px;z-index:1;font-size:10px;letter-spacing:.15em;color:#9eafa5}.graphic-top strong{color:#e3d4a1}.mini-led{display:inline-block;width:5px;height:5px;border-radius:50%;background:#a6e6b4;margin-right:7px;box-shadow:0 0 10px #a6e6b4}.graphic-shell svg{display:block;position:relative;width:100%;height:auto;aspect-ratio:1000/670;touch-action:manipulation;user-select:none}.graphic-shell .graphic-overlay{position:absolute;bottom:15px;left:15px;display:flex;gap:16px;flex-wrap:wrap;pointer-events:none}.legend-piece{font-size:10px;color:#bac9b8;display:flex;align-items:center;gap:7px}.legend-dot{width:9px;height:9px;border-radius:50%;border:2px solid #d6f1ba}.legend-dot.odd{background:#f9b18f;border-color:#f9b18f}.legend-line{width:19px;height:4px;border-radius:5px;background:#d5dc91;box-shadow:0 0 12px #dbeb87}.instrument-label{font:10px/1.4 'Trebuchet MS',sans-serif;position:absolute;right:17px;bottom:13px;text-align:right;color:#778e7d;letter-spacing:.16em}.stage-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:17px 0;border-bottom:1px solid #3d564d}.instruction-copy{font-size:12px;color:#cbd6b6;max-width:620px}.journey-meter{flex:none;font-size:14px;color:#f2d79b;font-weight:800;text-align:right;white-space:nowrap}.meter-caption{font-size:9px;letter-spacing:.1em;color:#8caa9c}.meter-track{height:4px;margin-top:7px;background:#315248;border-radius:4px;width:112px;overflow:hidden;margin-left:auto}.meter-track>div{height:100%;width:0;background:#bfe5a2;transition:width .3s}.preset-band{padding:16px 0 14px}.band-label,.ledger-heading{font-size:10px;letter-spacing:.17em;font-weight:800;color:#e2d3a3}.band-label span{font-weight:400;color:#87a395}.preset-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}.preset{background:#18372f;color:#bdd4c2;border:1px solid #476054;border-radius:3px;padding:9px 10px;font-size:11px;font-weight:700}.preset.active{border-color:#dddb9c;background:#324c39;color:#f3e8ae}.preset-icon{font-size:14px;color:#ebd7a4;margin-right:4px}.preset-random{margin-left:auto;color:#e6d4aa}.animation-band{margin:0 -19px;padding:12px 19px;display:flex;align-items:center;gap:15px;flex-wrap:wrap;background:#0a221e;border-top:1px solid #315247}.guide-text{font-size:11px;color:#9bb5a1;flex:1}.text-button{padding:3px 0;background:transparent;border:0;color:#eddaa0;font-size:11px;font-weight:800;white-space:nowrap}.text-button.muted{color:#9eb8ab}.text-button:hover{text-decoration:underline}.sidebar{display:grid;gap:18px}.readout,.challenge{padding:19px}.side-title-row{margin-bottom:15px}.sidebar h2{font-size:24px}.live-dot{font-size:9px;letter-spacing:.14em;color:#a9e1b2;display:flex;align-items:center;gap:6px}.live-dot i{width:6px;height:6px;background:#a4eaae;display:inline-block;border-radius:50%;box-shadow:0 0 9px #8adcad}.verdict{display:flex;gap:13px;padding:14px;background:#224337;border-left:3px solid #c0f0b3;margin-bottom:13px}.verdict.warning{border-left-color:var(--coral);background:#42362e}.verdict.open{border-left-color:var(--honey);background:#413d2e}.verdict>span{font-size:25px;line-height:1;color:#ccefbb}.verdict.warning>span{color:var(--coral)}.verdict.open>span{color:var(--honey)}.verdict strong{display:block;font:17px Georgia,serif}.verdict small{display:block;margin-top:3px;color:#b9c8b6;font-size:11px;line-height:1.5}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:18px}.metrics>div{background:#0b231e;padding:11px 12px;border:1px solid #345247}.metrics span{display:block;font-size:9px;color:#99b0a0;letter-spacing:.12em}.metrics strong{display:block;color:#e9efca;font:28px Georgia,serif;line-height:1.4}.ledger-heading{display:flex;justify-content:space-between;gap:8px;color:#afc1aa;font-size:9px;padding-bottom:10px;border-bottom:1px solid #38554a}.degree-ledger{display:grid;gap:7px;margin-top:10px;min-height:120px}.degree-row{display:grid;grid-template-columns:30px 1fr 30px;align-items:center;gap:10px;font-size:11px}.degree-name{color:#dae3c9;font-weight:800}.degree-name.odd{color:#ffb396}.degree-bar{height:7px;background:#315043;overflow:hidden;border-radius:8px}.degree-bar>i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#699b7e,#d0eaae)}.degree-bar>i.odd{background:linear-gradient(90deg,#9b7258,#fbb59a)}.degree-count{text-align:right;color:#bfd5be}.scan-note{color:#c7d7b7;background:#193830;font-size:10px;padding:10px 11px;margin-top:14px;font-weight:700;letter-spacing:.1em}.score{color:#f2d699;font:22px Georgia,serif;white-space:nowrap}.chapter-progress{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin:13px 0 18px}.chapter-progress button{height:27px;border:1px solid #476055;background:#1c3b33;color:#b4c9b5;border-radius:2px;font-size:11px;font-weight:800;padding:0}.chapter-progress button.active{border-color:#f2db9a;color:#0c2a20;background:#e9db9c}.chapter-progress button.solved:not(.active){color:#0d2e20;background:#b2e5b0}.chapter-progress button:hover{border-color:#e5d8a2}.challenge-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:#9ab5a6;letter-spacing:.16em}.difficulty{background:#345641;color:#ddf2c2;padding:4px 7px;font-weight:800}.difficulty.intermediate{background:#625533;color:#f4dfad}.difficulty.advanced{background:#694739;color:#f9cbb0}.challenge h3{font:21px/1.25 Georgia,serif;margin:12px 0 6px;min-height:50px}.challenge-subtitle{font-size:11px;color:#a6bdad;margin-bottom:13px}.answer-input{display:block;background:#0b211e;border:1px solid #5a7566;color:#f1eac9;border-radius:2px;width:100%;min-height:43px;padding:8px 13px;font-size:19px}.answer-input::placeholder{font-size:13px;color:#93ab9c}.answer-radio{display:grid;gap:7px}.radio-option{display:flex;gap:8px;align-items:start;border:1px solid #456254;padding:9px 10px;background:#112b25;font-size:11px;cursor:pointer}.radio-option:hover{background:#1c3b31}.radio-option input{accent-color:#e6d991;flex:none;margin-top:2px}.map-answer{padding:11px 12px;border:1px dashed #677c64;background:#19372e;color:#dfdbb5;font-size:12px}.map-answer strong{color:#f5dba0}.action-row{display:grid;grid-template-columns:1.55fr 1fr;gap:8px;margin-top:11px}.primary,.secondary{border-radius:3px;padding:11px 9px;font-size:12px;font-weight:800;transition:background .15s}.primary{border:1px solid #e1dea0;background:#dce9aa;color:#11291d;display:flex;justify-content:space-between}.primary:hover{background:#f0f5c8}.secondary{background:#23463a;border:1px solid #5d795f;color:#e1e3bf}.feedback{font-size:11px;line-height:1.45;min-height:29px;padding-top:9px;color:#d6dcb7}.feedback.success{color:#c0f4b4}.feedback.error{color:#ffbc99}.reveal-box{padding:10px;background:#132b24;border-left:2px solid #f0d28c;color:#d4d9c5;font-size:11px;margin-top:4px}.challenge-tools{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;padding:13px 0;border-top:1px solid #3d574c;margin-top:6px}.challenge-tools button,.reset-set{background:transparent;border:0;padding:0;color:#c7d8b5;text-decoration:underline;text-decoration-color:#6b8b6b;text-underline-offset:3px;font-size:11px}.challenge-tools button:hover,.reset-set:hover{color:#f3dc9f}.deck-footer{display:flex;align-items:center;gap:12px;justify-content:space-between}.next-btn{padding:9px 12px;background:#2f5141;border:1px solid #7c926c;color:#f3ead2;font-size:11px;font-weight:800}.next-btn:hover{background:#3c6550}.next-btn span{margin-left:9px}.reset-set{text-align:right}.learning-band{margin:34px 0 14px;border-top:1px solid #436052;border-bottom:1px solid #436052;padding:30px 0;display:grid;grid-template-columns:310px 1fr;gap:40px}.learning-lead h2{font:32px/1.12 Georgia,serif;margin:12px 0}.learning-lead p{font-size:12px;color:#aec4b3}.learning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.learning-grid article{padding:9px 0 0 18px;border-left:1px solid #466252}.learning-num{font:28px Georgia,serif;color:#e7cb8f}.learning-grid h3{font:18px Georgia,serif;margin:8px 0}.learning-grid p{font-size:12px;color:#adc0b2}.notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;color:#a5b9ab;font-size:11px;padding:12px 0 27px}.notes strong{display:block;font-size:9px;letter-spacing:.14em;color:#decf9b;margin-bottom:7px}.footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0 22px;border-top:1px solid #355448;font-size:9px;letter-spacing:.13em;color:#86a594;flex-wrap:wrap}
/* The visual is an exact picture of the graph data, not a physics animation. */
.svg-garden-lines{fill:none;stroke:#799b8060;stroke-width:1}.svg-seed{fill:#9fba9a;opacity:.19}.edge-shadow{stroke:#091b18;stroke-width:15;stroke-linecap:round}.edge-body{stroke:#718c79;stroke-width:7;stroke-linecap:round;opacity:.88}.edge-core{stroke:#c9cba6;stroke-width:1.3;stroke-linecap:round;stroke-dasharray:4 12;opacity:.55}.edge-used .edge-body{stroke:#d6e5a0;stroke-width:8;filter:url(#pathGlow)}.edge-used .edge-core{stroke:#f9efba;opacity:1}.node-click{cursor:pointer}.node-click .node-target{fill:transparent}.node-click:hover .node-halo,.node-click:focus .node-halo{stroke:#faf5c6;stroke-width:5;opacity:.85}.node-halo{fill:#0f3028;stroke:#6f9982;stroke-width:3}.node-halo.odd{stroke:#ffaf8d}.node-centre{fill:#c8eeb4}.node-centre.odd{fill:#ffc4a4}.node-inside{fill:#173c30}.node-select .node-halo{stroke:#fff2c0;stroke-width:6;filter:url(#pathGlow)}.node-label{fill:#f6f0d0;font:700 23px 'Trebuchet MS',sans-serif;text-anchor:middle;dominant-baseline:middle;pointer-events:none}.node-degree{fill:#f1ddb1;font:700 15px 'Trebuchet MS',sans-serif;text-anchor:middle;dominant-baseline:middle;pointer-events:none}.route-count{font:11px 'Trebuchet MS',sans-serif;fill:#9fb6a3}.fly-wing{fill:#faf5ce;opacity:.92;filter:url(#pathGlow)}.fly-core{fill:#ffd889}.node-accessible:focus{outline:none}.node-accessible:focus .node-halo{stroke:#fff4b4;stroke-width:6}
@media(max-width:1140px){.workspace{grid-template-columns:minmax(0,1.45fr) minmax(310px,1fr)}.formula-card{min-width:255px}.formula-main{font-size:20px}.intro{padding:25px 0}.shell{padding:0 20px}.stage{padding:15px 15px 0}.animation-band{margin:0 -15px;padding:12px 15px}}
@media(max-width:900px){.workspace{grid-template-columns:1fr}.sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-band{grid-template-columns:1fr}.intro{align-items:start}.formula-card{min-width:240px}.stage h2{font-size:25px}.readout,.challenge{padding:16px}}
@media(max-width:630px){.shell{padding:0 11px}.topbar{height:65px}.brand strong{font-size:12px}.brand small{font-size:7px}.brand-mark{font-size:25px}.edition{font-size:8px;max-width:130px;line-height:1.6;text-align:right}.edition-icon{display:none}.intro{display:block;padding:24px 4px 20px}.intro h1{font-size:clamp(37px,11.2vw,64px)}.intro p{font-size:13px}.overline{font-size:8px;letter-spacing:.16em}.formula-card{margin-top:23px;max-width:370px;transform:none}.workspace{gap:12px}.stage{padding:12px 12px 0}.stage-head{align-items:start}.mode-indicator{font-size:8px}.stage h2{font-size:22px}.controls{gap:5px}.tool{font-size:10px;padding:9px 7px}.tool kbd{display:none}.graphic-top{font-size:8px;inset:8px 8px auto 8px}.graphic-shell svg{min-height:300px}.graphic-shell .graphic-overlay{bottom:7px;left:8px;gap:7px}.legend-piece{font-size:8px}.instrument-label{display:none}.stage-bottom{align-items:start}.instruction-copy{font-size:11px}.journey-meter{font-size:12px}.preset-buttons{gap:5px}.preset{font-size:10px;padding:8px 7px}.preset-random{margin-left:0}.sidebar{grid-template-columns:1fr;gap:12px}.learning-band{margin-top:25px;padding:21px 4px;gap:20px}.learning-grid{grid-template-columns:1fr;gap:8px}.learning-grid article{padding:7px 0 7px 12px}.learning-grid h3{margin:3px 0}.notes{grid-template-columns:1fr;gap:13px}.footer{font-size:8px}.graph-shell .graphic-overlay{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
