:root{--ink:#24483f;--muted:#6b7c70;--green:#305e50;--paper:#f7f6ef;--line:#dce2d5;--amber:#d39746}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}header{max-width:1500px;margin:auto;padding:24px 5%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}a{color:inherit}.brand{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:1.8px;font-weight:750;text-decoration:none}.logo{font-size:35px;line-height:1;color:var(--amber)}.level{font-size:10px;letter-spacing:1.8px}main{max-width:1500px;padding:0 5%;margin:auto}.hero{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:40px 0 32px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#78825e;font-weight:750;margin:0 0 15px}h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(55px,6.2vw,86px);line-height:1;letter-spacing:-3px;margin:0}h1 em{color:#6d895e;font-weight:400}.hero-copy>p:first-child{font-size:21px;line-height:1.45;margin:15px 0 20px}.steps{display:flex;align-items:center;gap:12px;font-size:11px}.steps b{font-weight:400;color:#a6b19d}.tiny{font-size:10px;color:var(--muted);margin-top:10px}button,select,input{font:inherit}button,.button{border:1px solid #cad6c8;border-radius:8px;padding:9px 12px;background:transparent;color:var(--ink);cursor:pointer;text-decoration:none;font-size:12px;display:inline-block}button:hover,.button:hover{background:#e5ecdf}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible,summary:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #cc8c43;outline-offset:3px}input[type=checkbox]{accent-color:var(--green);width:15px;height:15px}.tools{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:22px}.mode-label{font-size:10px;letter-spacing:1px;font-weight:650}.live-dot{display:inline-block;width:7px;height:7px;background:var(--amber);border-radius:50%;margin-right:6px}.actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.actions label{font-size:11px;display:flex;align-items:center;gap:5px;margin-right:8px}.workspace{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(290px,1fr);border:1px solid var(--line);border-radius:18px;background:#fffef9;overflow:hidden;box-shadow:0 10px 30px #36522e06}.circuit-area{min-width:0;background:radial-gradient(ellipse at 45% 40%,#f2f6e9,#e7eddf);display:flex;flex-direction:column;justify-content:space-between}.circuit-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:23px 25px 4px}.circuit-top h2{font:600 13px system-ui;letter-spacing:.2px;margin:0}.state-pill{border-radius:20px;padding:6px 11px;background:#fffffaad;font-size:11px}.circuit-area>svg{display:block;width:100%;height:auto;min-height:0}.svg-label{font:14px system-ui;fill:#294d40}.svg-tiny{font:10px system-ui;letter-spacing:.5px;fill:#6c7f6b}#switchGraphic,#dropZone{cursor:pointer}#switchGraphic:hover #switchKnob{fill:#e1ad68}#dropZone.drag-over #targetBorder{fill:#ffedba;stroke:#ad7a34;stroke-width:4}#targetBorder{transition:fill .15s,stroke .15s}.circuit-bottom{padding:5px 25px 0;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px}.circuit-bottom button{font-size:10px;padding:6px 8px}.flow-key{display:inline-block;width:7px;height:7px;border-radius:50%;background:#d99e40;margin-right:5px}.flow-note{font-size:9px;margin:8px 25px 17px;color:var(--muted)}.observation{border-left:1px solid var(--line);padding:27px}.observation h2{font-family:Georgia,serif;font-size:28px;font-weight:400;line-height:1.2;margin:0 0 12px}.muted{font-size:12px;color:var(--muted)}#selectedExample{min-height:36px;margin-bottom:20px}fieldset{border:0;margin:0 0 15px;padding:0;display:flex;gap:7px}legend{font-size:11px;margin-bottom:8px}fieldset button{flex:1;font-size:11px}fieldset button[aria-pressed=true]{border-color:var(--green);background:#e2ecda}.primary{background:var(--green);color:white;border-color:var(--green);font-weight:600}.primary:hover{background:#244b3e}#toggleSwitch{width:100%}.result{background:#f0f1e8;border-radius:10px;padding:15px;margin-top:17px;font-size:12px;min-height:99px}.result p{margin:5px 0}.result strong{display:block;font-size:17px;line-height:1.4}.result.good{background:#e5eddb}.result.off{background:#eeece2}.result .prediction-note{font-size:10px;color:#5e7354}.comparison{margin-top:20px;padding-top:15px;border-top:1px solid var(--line)}.mini-label{font-size:9px;letter-spacing:1px;font-weight:700;margin:0 0 5px}.index{display:flex;align-items:baseline;gap:10px}.index strong{font-weight:500;font-size:36px;line-height:1.2}.index span{color:var(--muted);font-size:10px}.index-track{height:5px;border-radius:6px;background:#e7eadf;overflow:hidden;margin-top:9px}.index-track span{display:block;height:100%;background:#b48b43;max-width:100%}#indexNote{font-size:10px;color:var(--muted);margin:8px 0 0}.model-note{font-size:10px;color:var(--muted);line-height:1.6;margin:17px 0 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:35px 0 18px}.section-head h2,.lesson h2{font-family:Georgia,serif;font-size:30px;line-height:1.2;font-weight:400;margin:0}.section-head .eyebrow{margin-bottom:10px}.section-head>p{font-size:11px;color:var(--muted);margin:0}.material-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.material{display:flex;flex-direction:column;align-items:start;justify-content:space-between;text-align:left;position:relative;min-height:115px;padding:13px;background:#fffef9;border:1px solid var(--line);border-radius:11px;cursor:grab;touch-action:manipulation}.material:active{cursor:grabbing}.material.selected{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green);background:#e9efdf}.material .chip{height:18px;width:55px;transform:rotate(-8deg);border-radius:3px;border:1px solid #0001;box-shadow:0 3px 4px #293f2a18;background:var(--sample);margin:4px 0 14px}.material.wood .chip{background:repeating-linear-gradient(2deg,#ba955f 0 4px,#987644 4px 5px,#c7a677 5px 8px)}.material.paper .chip{background:repeating-linear-gradient(#ede8d7 0 3px,#d4cdbd 3px 4px)}.material.metal .chip{background:linear-gradient(160deg,#ffffffb0,transparent 40%,#0002),var(--sample)}.material b{font-size:12px;font-weight:650}.material small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.material .tested{position:absolute;right:9px;top:8px;color:#71895d;font-size:10px}.activity{font-size:10px;color:var(--muted);margin:12px 0}.lesson{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:27px;background:#30564b;color:white;padding:30px;border-radius:15px;margin:35px 0}.lesson .eyebrow{color:#c4cfa7}.lesson h2{font-size:28px}.lesson strong{font-weight:550;font-size:16px}.lesson p:not(.eyebrow){font-size:12px;color:#d7e1d2;margin-bottom:0}.lesson .lesson-foot{grid-column:1/-1;border-top:1px solid #6f8a75;padding-top:15px;font-size:10px!important;margin:0}.counter{font-size:11px;border:1px solid var(--line);border-radius:18px;padding:7px 11px;white-space:nowrap}.comparison-caution{font-size:11px;color:#806c43;padding:13px 17px;border-left:3px solid #cca65a;background:#eeeadc;margin:18px 0}.rank-labels{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.7px;color:var(--muted);margin:23px 0 10px;gap:20px}.rank-labels span:last-child{text-align:right}.ranking{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));list-style:none;margin:0;padding:0;gap:10px}.rank-card{background:#fffef8;border:1px solid var(--line);border-radius:10px;padding:13px;cursor:grab;min-width:0}.rank-card.drag-over{border:2px solid #b18a43;background:#f4e9cc}.rank-pos{font-size:10px;color:#8d986f;display:flex;justify-content:space-between;align-items:center}.rank-name{display:block;font-size:13px;margin:9px 0 5px;min-height:40px}.rank-index{font-size:10px;color:var(--muted);min-height:16px}.rank-buttons{display:flex;gap:6px;margin-top:13px}.rank-buttons button{padding:4px 0;flex:1;font-size:13px;line-height:1.3}.challenge-actions{display:flex;align-items:center;gap:8px;margin-top:18px;flex-wrap:wrap}.challenge-actions label{font-size:11px;display:flex;align-items:center;gap:5px;margin-left:6px}.feedback{font-size:12px;min-height:22px;color:#60764f}.insulator-box{border:1px dashed #c7cdb9;border-radius:10px;padding:17px 20px;margin-top:15px}.insulator-box>strong{font-size:10px;letter-spacing:1px}.insulator-box p{font-size:13px;margin:8px 0}.insulator-box small{font-size:10px;color:var(--muted)}.journal-section{margin:35px 0}.empty{border-radius:10px;background:#ebeee3;padding:25px;font-size:12px;color:var(--muted)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;font-size:10px;letter-spacing:.5px;color:var(--muted);font-weight:550;padding:12px;border-bottom:1px solid #bfcdbd}td{padding:12px;border-bottom:1px solid var(--line)}td:nth-child(3){font-weight:650}td:last-child{color:#8e733c;font-variant-numeric:tabular-nums}details{padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}summary{cursor:pointer;color:var(--ink)}.teacher{max-width:1050px;padding:8px 0}.teacher a{color:var(--green)}footer{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted);padding:30px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}html{scroll-behavior:smooth}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr)}.observation{padding:23px}.material-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hero-copy>p:first-child{font-size:18px}.ranking{grid-template-columns:repeat(3,minmax(0,1fr))}.rank-name{min-height:0}.lesson{gap:18px}.circuit-bottom{align-items:start;flex-direction:column;gap:8px}.circuit-area{justify-content:start}.circuit-area>svg{margin:auto 0}.flow-note{margin-top:8px}}@media(max-width:760px){.hero{gap:20px;align-items:start;padding-top:30px}.hero-copy{padding-top:30px}.hero-copy>p:first-child{font-size:16px}.hero-copy .tiny{max-width:170px}.steps{gap:6px;font-size:9px}h1{font-size:60px;letter-spacing:-2px}.workspace{grid-template-columns:1fr}.observation{border-left:0;border-top:1px solid var(--line)}.circuit-top{padding:18px 20px 0}.circuit-bottom{padding:10px 20px 0;flex-direction:row;align-items:center}.flow-note{margin:8px 20px 15px}.material-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.lesson{grid-template-columns:1fr 1fr;padding:24px}.lesson>div:first-child{grid-column:1/-1}.section-head{align-items:start}.section-head>p{max-width:160px}.rank-labels{font-size:8px}.rank-labels span:last-child{max-width:160px}.actions{gap:6px}.actions label{margin:0}.actions button,.actions .button{font-size:10px;padding:8px}.brand{font-size:9px;letter-spacing:1px}.level{font-size:9px;letter-spacing:1px}.logo{font-size:30px}.tools{gap:12px}.eyebrow{font-size:9px;letter-spacing:1px}.section-head h2{font-size:27px}.challenge .section-head{flex-direction:column;gap:12px}.counter{font-size:10px}}@media(max-width:450px){h1{font-size:47px}.hero{gap:12px}.hero-copy{padding-top:22px}.hero-copy>p:first-child{font-size:14px;margin-bottom:12px}.hero-copy .tiny{font-size:9px;max-width:125px}.steps{flex-direction:column;align-items:start;gap:0;font-size:9px}.steps b{display:none}.material-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.material{padding:12px;min-height:105px}.material b{font-size:11px}.material small{font-size:8px}.section-head{flex-direction:column;gap:12px}.section-head>p{max-width:none}.section-head>p br{display:none}.circuit-bottom{flex-direction:column;align-items:start}.circuit-top{gap:8px}.circuit-top h2{font-size:11px}.state-pill{font-size:9px;padding:5px 8px}.ranking{grid-template-columns:repeat(2,minmax(0,1fr))}.challenge-actions label{margin:5px 0 0}.lesson{grid-template-columns:1fr;gap:20px}.lesson>div:first-child{grid-column:auto}.lesson .lesson-foot{grid-column:auto}td,th{padding:9px 6px}th{font-size:9px}td{font-size:10px}footer span{max-width:150px}}@media print{body{background:white;color:black}header,.hero,.tools,.workspace,.material-section,.challenge,details,footer,#print{display:none!important}.lesson{background:white;color:black;border:1px solid #aaa;margin:0 0 25px;padding:15px;gap:15px}.lesson .eyebrow,.lesson p:not(.eyebrow){color:#333}.lesson h2{font-size:23px}.journal-section .section-head{margin-top:0}main{padding:0;max-width:none}table{font-size:11px}.lesson .lesson-foot{border-color:#aaa}td,th{padding:7px}.journal-section{margin-top:20px}.journal-section .eyebrow{color:#333}}

#currentDots,#directionArrows{pointer-events:none}
