:root{--ink:#152238;--navy:#111d30;--navy2:#1b2b43;--teal:#61b6b7;--sand:#efeadf;--paper:#fcfaf5;--line:#dbd5ca;--faint:#9d9a94;--gold:#e6ae61;--rose:#db7683;--shadow:0 12px 32px rgba(15,25,41,.065);font-family:'Avenir Next','Segoe UI',Inter,system-ui,-apple-system,sans-serif;color:var(--ink);background:#eeeae1}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:315px;background:radial-gradient(ellipse at 100% 0,#fcf9f0,transparent 38%),#efeae0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,[tabindex]:focus-visible,input:focus-visible{outline:3px solid #db9550;outline-offset:4px}button:disabled{opacity:.44;cursor:not-allowed}kbd{font:600 10px ui-monospace,monospace;background:#e5e0d7;border:1px solid #d1cbc0;padding:2px 5px;border-radius:3px;color:#304256}.site-shell{max-width:1570px;margin:0 auto;padding:0 48px}.masthead{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d8d1c4;gap:18px}.brand-lockup{display:flex;align-items:center;gap:14px}.brand-mark{position:relative;width:31px;height:31px;transform:rotate(-9deg);border:2px solid #233c53;border-radius:3px}.brand-mark span{position:absolute;width:8px;height:8px;background:#233c53}.brand-mark span:nth-child(1){left:3px;top:3px}.brand-mark span:nth-child(2){right:3px;top:3px;background:#c89c5e}.brand-mark span:nth-child(3){left:3px;bottom:3px;background:#6eaeb1}.brand-mark span:nth-child(4){right:3px;bottom:3px}.brand-lockup strong{font-size:15px;letter-spacing:.18em;display:block;font-weight:850}.brand-lockup strong span,.footer span span{font-weight:400}.brand-lockup small{display:block;font-size:8px;letter-spacing:.2em;margin-top:3px;font-weight:700;color:#7d7b75}.masthead-right{display:flex;align-items:center;gap:24px}.edition-pill{border:1px solid #c1b8a8;border-radius:50px;padding:9px 14px;font-size:10px;font-weight:800;letter-spacing:.14em}.header-line{font-size:10px;font-weight:750;letter-spacing:.14em;color:#777a78}.opening{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:43px 0 32px}.overline,.tiny-label{font-size:10px;letter-spacing:.22em;font-weight:850;color:#8a6848}.overline{display:flex;align-items:center;gap:10px}.signal{height:7px;width:7px;border-radius:50%;background:#e0ac61;box-shadow:0 0 0 4px #e0ac6130}.mini-line{width:32px;border-top:1px solid #d2c2ad}.opening h1{font-family:Georgia,'Iowan Old Style',serif;font-size:clamp(50px,5.2vw,83px);letter-spacing:-.065em;font-weight:500;line-height:1.1;margin:13px 0}.opening h1 em{font-weight:400;color:#b77951}.intro{font-size:15px;line-height:1.7;color:#63707b;max-width:645px;margin:12px 0 22px}.objective-strip{display:flex;flex-wrap:wrap;align-items:center;gap:20px;color:#63707b;font-size:11px;letter-spacing:.01em}.objective-strip span:not(:first-child){border-left:1px solid #cdc8bd;padding-left:18px}.objective-strip b{color:#28394f}.objective-prefix{font-size:9px;color:#947a5d;font-weight:850;letter-spacing:.16em}.opening-stamp{height:155px;width:155px;flex-shrink:0;display:grid;place-items:center;position:relative;color:#3d5364}.opening-stamp svg{height:100%;width:100%;transform:rotate(10deg)}.opening-stamp span{position:absolute;bottom:0;font-size:8px;letter-spacing:.16em;color:#847c71;font-weight:800}.workspace{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(305px,.78fr);gap:18px;align-items:start}.museum-panel{border:1px solid #dfd8cc;border-radius:10px;box-shadow:var(--shadow);overflow:hidden;background:var(--paper)}.panel-head{padding:21px 25px;display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-head h2{margin:5px 0 0;font-family:Georgia,serif;font-size:29px;letter-spacing:-.045em;font-weight:500}.live-tag{font:800 9px system-ui,sans-serif;letter-spacing:.1em;color:#2b8674;margin-left:8px;vertical-align:middle}.live-tag i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#57b990;margin-right:4px}.head-actions{display:flex;align-items:center;gap:12px}.board-mode{font-weight:800;font-size:9px;letter-spacing:.12em;color:#8f806c;text-align:right}.quiet-button{border:1px solid #ded8ce;padding:9px 12px;border-radius:5px;background:#fffdf9;font-size:11px;font-weight:750;color:#5b6571}.quiet-button:hover{background:#f0eee6}.graph-stage{aspect-ratio:960/560;position:relative;overflow:hidden;background:radial-gradient(ellipse at 56% 40%,#273b55 0,#192940 55%,#101c30 100%)}.graph-stage:before{content:'';position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#d2d8d808 1px,transparent 1px),linear-gradient(90deg,#d2d8d808 1px,transparent 1px);background-size:32px 32px}.graph-stage:after{content:'';position:absolute;inset:19px;pointer-events:none;border:1px solid #bfd5d41c;border-radius:2px}.graph-stage svg{display:block;width:100%;height:100%;touch-action:none;position:relative;z-index:1;user-select:none}.stage-coordinate{position:absolute;z-index:2;pointer-events:none;color:#ffffff68;font:700 9px ui-monospace,monospace;letter-spacing:.16em}.stage-coordinate.top{top:32px;left:30px}.stage-coordinate.bottom{bottom:20px;right:25px}.stage-help{position:absolute;bottom:33px;left:28px;z-index:2;color:#ffffffb8;font-size:11px;pointer-events:none;max-width:50%}.stage-legend{position:absolute;right:24px;top:29px;z-index:2;display:flex;align-items:center;gap:9px;color:#ecedefae;font-size:10px;pointer-events:none}.legend-dot{height:2px;width:24px;background:#a5ced0}.legend-dash{height:2px;width:24px;background:#ec727b;box-shadow:0 0 10px #ec727b}.edge{stroke:#81aebf9e;stroke-width:4;transition:stroke .14s;pointer-events:stroke}.edge-clash{stroke:#ed717a;stroke-width:6;filter:drop-shadow(0 0 8px #ef647b90);stroke-dasharray:10 6;animation:dash 20s linear infinite}.edge-focus{stroke:#f9d08d;stroke-width:5}.route-hit{stroke:transparent;stroke-width:20;pointer-events:stroke;cursor:crosshair}.route-hit:hover + .edge{stroke:#e2cba6}.node{cursor:crosshair;outline:none}.node-circle{stroke:#eee8d3;stroke-width:3;fill:#32475e;transition:fill .14s,stroke .14s}.node:hover .node-circle,.node:focus-visible .node-circle{stroke:#fff;stroke-width:6}.node-halo{fill:transparent;stroke:#ffffff2b;stroke-width:1.6}.node-focus .node-halo{stroke:#f9da8f;stroke-width:4}.node-letter{font-family:system-ui,sans-serif;fill:#f9f6ec;font-size:20px;font-weight:780;pointer-events:none;dominant-baseline:middle;text-anchor:middle}.node-painted .node-letter{fill:#142238}.node-digit{fill:#d5dbde;font-size:12px;font-weight:800;pointer-events:none;text-anchor:middle;dominant-baseline:middle}.node-painted .node-digit{fill:#253346}.node-degree{fill:#e6e0d08c;font-size:11px;letter-spacing:.03em;pointer-events:none;text-anchor:middle;font-family:ui-monospace,monospace}.graph-footer{padding:12px 22px;display:flex;justify-content:space-between;gap:10px;background:#f6f3ec;color:#6c7780;font-size:11px}.graph-footer span:first-child{color:#41566a;font-weight:800}.metric-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid #e1ded5}.metric{padding:16px 11px 16px 23px;border-right:1px solid #e2ddd4}.metric:last-child{border-right:0}.metric small{display:block;font-size:9px;letter-spacing:.11em;color:#80817a;font-weight:850;white-space:nowrap}.metric strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:34px;letter-spacing:-.05em;margin-top:2px}.metric-special{background:#f1f4ee}.metric-special strong{color:#277f78}.metric-clash strong{color:#b65d66}.tools-panel{background:#f8f6f1}.tools-head{background:#f4efe5;padding:26px 25px 20px;border-bottom:1px solid #ded8cc}.tools-head h2{font-size:32px;margin:8px 0 8px;font-family:Georgia,serif;font-weight:500;letter-spacing:-.05em}.dot-end{color:#c58d5d}.tools-head p{font-size:12px;line-height:1.6;color:#74797b;margin:0}.tool-section{padding:19px 24px;border-bottom:1px solid #e4dfd5}.tool-heading{display:flex;align-items:center;gap:9px;margin-bottom:14px}.tool-heading span{font-size:10px;color:#c18b58;font-weight:900}.tool-heading h3{font-size:13px;letter-spacing:-.01em;font-weight:800;margin:0}.tool-heading small{margin-left:auto;font-size:8px;letter-spacing:.1em;font-weight:850;color:#a49a8a}.palette{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.swatch{border:2px solid transparent;border-radius:8px;background:transparent;padding:5px 1px 3px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;touch-action:none}.swatch .disc{width:31px;height:31px;border-radius:50%;box-shadow:inset 0 2px 3px #ffffff70,0 2px 5px #1b293117;display:grid;place-items:center;font-size:12px;font-weight:850;color:#142438;border:1px solid #0000001a}.swatch .swatch-label{color:#6c7377;font-size:9px;font-weight:800}.swatch.selected{border-color:#b68b63;background:#ede6dc}.swatch:hover{background:#edece6}.swatch.eraser .disc{border:1px dashed #858a8e;background:#fff!important}.tool-note{font-size:10.5px;line-height:1.65;color:#888783;margin:13px 0 0}.tool-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.mode-button{padding:10px 3px;border:1px solid #d7d1c8;border-radius:5px;background:#fffefa;color:#526474;font-size:11px;font-weight:780}.mode-button.active{background:#1c324b;color:#fff;border-color:#1c324b}.mode-button:hover:not(.active){background:#ede9e1}.preset-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.preset{padding:11px 9px;display:flex;flex-direction:column;gap:4px;text-align:left;border:1px solid #dad4ca;border-radius:6px;background:#fffdfa;min-height:57px}.preset strong{font-size:11px;color:#344658}.preset small{font-size:9px;color:#8f8c87}.preset.active{border-color:#ab8f63;background:#f3ede1;box-shadow:inset 3px 0 0 #d2a36a}.preset:hover{border-color:#b69e83}.tool-bottom{margin:20px 23px;display:flex;align-items:flex-start;gap:11px}.tool-bottom-icon{width:25px;height:25px;border:1px solid #bfad91;border-radius:50%;color:#a58862;font-family:Georgia,serif;text-align:center;line-height:23px;flex-shrink:0;font-style:italic}.tool-bottom p{font-size:11px;color:#777e83;line-height:1.65;margin:0}.tool-bottom b{color:#293e52}.analysis-panel{grid-column:1/2}.panel-head-small{padding-bottom:13px}.analysis-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:0;margin:0 23px 17px;border:1px solid #e3ded5;border-radius:7px;overflow:hidden}.analysis-chart,.adjacency-chart{padding:17px 16px;background:#fefdfa}.analysis-chart{border-right:1px solid #e4ded6}.chart-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.chart-header strong{font-size:12px}.chart-header span{font-size:9px;color:#9a988f}.analysis-chart svg{width:100%;height:auto;display:block}.grid-line{stroke:#dce2dd;stroke-width:1;stroke-dasharray:3 4}.trace-line{fill:none;stroke:#bb7c5a;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.trace-area{fill:#ddb28930}.trace-point{fill:#b37859;stroke:#fff9f2;stroke-width:2}.chart-text{fill:#888e91;font:12px ui-monospace,monospace}.axis-footer{display:flex;justify-content:space-between;font-size:8px;font-weight:850;letter-spacing:.1em;color:#9e9d98}.adjacency-grid{display:grid;grid-template-columns:repeat(var(--size,9),1fr);max-width:270px;margin:5px auto 0;gap:3px}.matrix-cell{width:100%;aspect-ratio:1;border-radius:3px;border:1px solid #e6e1d8;background:#ede9df;color:#74818a;font-size:9px;font-weight:850;padding:0;min-width:0}.matrix-cell.connected{background:#5b8290;color:#fff;border-color:#527a86}.matrix-cell.clashing{background:#cf6b78;color:#fff}.matrix-cell.diagonal{background:#ddd8cb;color:#a6a095;cursor:default}.matrix-cell.label-cell{background:transparent;border:0;color:#69737c;cursor:default}.matrix-cell:hover:not(.diagonal):not(.label-cell){outline:2px solid #d7a66b}.interpretation{margin:0 23px 21px;padding:13px 15px;display:flex;gap:13px;align-items:flex-start;background:#f2f0e9;border-left:3px solid #7aa9a5;border-radius:3px}.interpretation-icon{font-size:17px;color:#568a86}.interpretation p{font-size:11px;line-height:1.6;margin:0;color:#626f77}.challenge-panel{grid-column:2/3}.score-chip{display:flex;flex-direction:column;gap:2px;text-align:right;white-space:nowrap}.score-chip span{font-size:9px;letter-spacing:.1em;color:#847c6d;font-weight:900}.score-chip strong{font-family:Georgia,serif;font-size:26px;font-weight:400;color:#ad8055}.score-chip strong small{font:11px system-ui;color:#96918a}.progress-track{display:grid;grid-template-columns:repeat(9,1fr);gap:5px;padding:0 23px 17px}.progress-step{height:5px;border-radius:4px;background:#dedbd4;border:0;padding:0}.progress-step.current{background:#e2b16d}.progress-step.complete{background:#70b5a1}.progress-step:hover{filter:brightness(.9)}.challenge-body{display:flex;flex-direction:column}.challenge-content{padding:0 23px 23px}.challenge-kicker{display:flex;justify-content:space-between;color:#a68760;font-size:9px;letter-spacing:.1em;font-weight:850}.challenge-content h3{font-family:Georgia,serif;font-size:26px;font-weight:500;letter-spacing:-.035em;line-height:1.25;margin:13px 0}.question-instructions{font-size:11px;color:#7b8181;line-height:1.55;min-height:32px}.answer-area{margin:20px 0;min-height:46px}.number-answer{display:flex;gap:9px;align-items:center}.number-answer input{width:140px;max-width:100%;height:46px;border:1px solid #d5cec1;border-radius:5px;background:white;padding:0 13px;font-size:17px;color:#20334a}.answer-unit{font-size:11px;color:#888b88}.options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.option{border:1px solid #d8d3cb;border-radius:5px;background:white;padding:12px;color:#435469;font-size:12px;font-weight:800}.option.chosen{background:#e4f1ee;border-color:#77a9a1;box-shadow:inset 3px 0 #6fb0a2}.live-answer{border:1px dashed #c7bba8;background:#f8f3e9;padding:13px;border-radius:6px;color:#665d51;font-size:11px;line-height:1.6}.live-answer b{color:#233a4d}.feedback{min-height:0;font-size:11px;line-height:1.55;color:#455d74}.feedback:not(:empty){padding:11px 13px;border:1px solid #dad8cd;background:#f1efe8;border-radius:5px;margin-bottom:15px}.feedback.success{background:#e4f3ec;color:#247560;border-color:#b7d9c7}.feedback.error{background:#fff0ec;color:#a55355;border-color:#ecc2ba}.question-actions{display:flex;flex-wrap:wrap;gap:8px}.primary-button{padding:12px 13px;border:0;background:#213a52;color:white;border-radius:4px;font-size:11px;font-weight:850;display:flex;justify-content:space-between;gap:9px}.primary-button:hover{background:#304d68}.secondary-button{padding:11px 9px;border:1px solid #d9d3c9;background:#fffefa;border-radius:4px;color:#5c6b78;font-weight:800;font-size:10px}.secondary-button:hover{background:#f0eae0}.reveal-text{margin-top:11px;background:#f0eadf;border-left:3px solid #d4a76e;padding:12px;font-size:11px;line-height:1.65;color:#5e625f}.challenge-aside{background:#f3f0e9;border-top:1px solid #dfdad0;padding:20px 23px}.challenge-aside-label{font-size:9px;letter-spacing:.13em;font-weight:850;color:#918674}.formula-card{border:1px solid #d7d2c7;background:#fdfaf4;border-radius:5px;margin-top:12px;padding:16px}.formula-card>span{font-size:9px;letter-spacing:.11em;font-weight:850;color:#9a8f80}.formula-card p{font-size:12px;margin:11px 0;color:#676e6e}.formula-card strong{display:block;font-size:17px;color:#386e70;font-family:Georgia,serif;font-weight:600}.challenge-aside>p{font-size:11px;line-height:1.65;color:#6d7475}.deck-navigation{display:flex;gap:9px;margin:19px 0 8px}.deck-navigation button{flex:1;background:#fffdf8;border:1px solid #d2cdc3;padding:10px;border-radius:4px;font-size:11px;font-weight:800;color:#34485d}.new-set-button{width:100%;background:none;border:none;color:#98744d;text-decoration:underline;text-underline-offset:3px;font-size:11px;font-weight:800;padding:12px 0 4px;text-align:center}.session-id{text-align:center;font:9px ui-monospace,monospace;color:#9b948a;margin-top:11px}.lesson-strip{grid-column:1/-1;padding:25px 28px;display:grid;grid-template-columns:1fr 2.8fr;gap:28px;background:#20344b;color:#f4eddf;border-color:#20344b}.lesson-strip .tiny-label{color:#b7b3aa}.lesson-strip h2{font:400 30px Georgia,serif;letter-spacing:-.04em;margin:10px 0}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.lesson-grid p{font-size:11px;line-height:1.8;color:#c4ced1;margin:0}.lesson-grid b{color:#f0c287}.footer{display:flex;justify-content:space-between;padding:30px 0 36px;color:#9a9388;font-size:9px;letter-spacing:.14em;font-weight:800}.drag-ghost{display:none;position:fixed;z-index:100;pointer-events:none;height:35px;width:35px;border-radius:50%;border:2px solid white;box-shadow:0 5px 25px #0b182b80;align-items:center;justify-content:center;font-weight:850;color:#172638}.drag-ghost.visible{display:flex}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}body.dragging,body.dragging *{cursor:grabbing!important;user-select:none!important}
@keyframes dash{to{stroke-dashoffset:-640}}
@media(min-width:1450px){.workspace{grid-template-columns:minmax(0,1.8fr) minmax(340px,.8fr)}.opening{padding:47px 0 37px}}
@media(max-width:1120px){.site-shell{padding:0 27px}.workspace{grid-template-columns:minmax(0,1.35fr) minmax(290px,.82fr)}.metric{padding:14px 8px 14px 12px}.metric small{font-size:8px}.metric strong{font-size:30px}.analysis-grid{grid-template-columns:1fr}.analysis-chart{border-right:0;border-bottom:1px solid #ddd9d0}.opening-stamp{width:110px;height:110px}}
@media(max-width:850px){.site-shell{padding:0 18px}.workspace{grid-template-columns:minmax(0,1fr)}.graph-panel,.tools-panel,.analysis-panel,.challenge-panel,.lesson-strip{grid-column:1}.tools-panel{grid-row:auto}.tools-head{padding:20px}.tool-section{padding:16px 20px}.analysis-grid{grid-template-columns:1.1fr 1fr}.analysis-chart{border-bottom:0;border-right:1px solid #ddd9d0}.challenge-body{display:grid;grid-template-columns:1.35fr 1fr}.challenge-content{padding:0 23px 22px}.challenge-aside{border-top:0;border-left:1px solid #ded9cf}.lesson-strip{grid-template-columns:1fr;gap:10px}.masthead-right .header-line{display:none}.opening h1{font-size:clamp(53px,8vw,76px)}}
@media(max-width:590px){.site-shell{padding:0 11px}.masthead{height:67px}.brand-lockup strong{font-size:12px}.brand-lockup small{font-size:7px;letter-spacing:.1em}.edition-pill{font-size:8px;padding:7px 9px}.opening{padding:31px 5px 25px}.opening-stamp{display:none}.opening h1{font-size:clamp(47px,12vw,72px)}.intro{font-size:13px}.objective-strip{gap:9px;font-size:10px}.objective-strip span:not(:first-child){padding-left:9px}.objective-prefix{width:100%}.workspace{gap:12px}.panel-head{padding:16px}.panel-head h2{font-size:24px}.head-actions{gap:5px}.board-mode{font-size:7px}.quiet-button{font-size:10px;padding:7px}.live-tag{font-size:7px}.stage-coordinate.top{top:15px;left:13px}.stage-coordinate.bottom{bottom:10px;right:9px;font-size:7px}.stage-legend{top:14px;right:13px;font-size:8px;gap:4px}.legend-dot,.legend-dash{width:13px}.stage-help{bottom:12px;left:12px;font-size:9px;max-width:65%}.metric{padding:12px 6px}.metric small{font-size:7px;letter-spacing:0}.metric strong{font-size:27px}.graph-footer{font-size:9px;padding:10px 12px}.analysis-grid{grid-template-columns:1fr;margin:0 14px 14px}.analysis-chart{border-right:0;border-bottom:1px solid #ddd9d0}.interpretation{margin:0 14px 14px}.challenge-body{display:flex;flex-direction:column}.challenge-aside{border-left:0;border-top:1px solid #ddd8cf}.challenge-content{padding:0 16px 20px}.challenge-content h3{font-size:24px}.progress-track{padding:0 16px 18px}.lesson-grid{grid-template-columns:1fr;gap:0}.lesson-strip{padding:22px}.footer{font-size:8px;gap:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:590px){.metric small{white-space:normal;line-height:1.15;min-height:19px;overflow-wrap:break-word}.graph-stage .node{touch-action:none}}
