
body{font-family:system-ui,-apple-system,"Segoe UI",sans-serif}:is(.font-mono,.fm),:is(.formula-highlight,.fx){font-family:ui-monospace,"Consolas",monospace}:is(.font-hand,.fh),.notebook-paper{font-family:"Architects Daughter","Comic Sans MS","Segoe Print",cursive}.notebook-paper{font-size:18px;font-weight:600}.notebook-paper table{font-size:16px}.notebook-paper .math{font-family:ui-monospace,monospace;font-size:.92em}.math{display:inline;overflow-wrap:anywhere}button,[role=button],summary{min-height:44px}input[type=text],select{min-height:44px}input,select,textarea{min-width:0}button:disabled{opacity:.5;cursor:not-allowed}:is(.offline-icon,.oi){display:inline-block;min-width:1em;text-align:center;font-family:system-ui,sans-serif}.gate-label{color:#fbbf24;border:1px dashed #64748b;border-radius:8px;padding:10px;margin-bottom:16px;font-size:14px;font-weight:600}:is(.mapping-chip,.mc){border:1px solid #0e7490;border-radius:999px;padding:5px 10px;color:#cffafe}.locked{filter:grayscale(.9)}section{scroll-margin-top:180px}.solved>:not(:first-child):not([id$="feedback"]){display:none}.solved{box-shadow:0 0 12px #10b98155;border-color:#10b981}#teach-canvas{touch-action:none;border:2px solid #475569}svg{display:block;max-width:100%;height:auto}header svg{width:40px;height:40px}.notebook-paper table{table-layout:fixed}.notebook-paper th,.notebook-paper td{overflow-wrap:anywhere;padding:6px}#level-8 .drop-zone{text-align:left;color:#cbd5e1}#rank-badge{max-width:100%;overflow-wrap:anywhere}h1,h2,h3,p{overflow-wrap:anywhere}.shake{animation:shake .35s}@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@media(max-width:480px){.flip-card{height:320px}.notebook-paper{padding-left:54px;font-size:18px}.notebook-paper table{font-size:14px}.notebook-paper h2{font-size:1.5em!important}header :is(.flex,.fl){min-width:0}header .whitespace-nowrap{white-space:normal}#rank-badge{font-size:11px}#l6-q3>:is(.flex,.fl),#l6-q4>:is(.flex,.fl){flex-wrap:wrap}.notebook-paper :is(.flex,.fl){flex-wrap:wrap}}@media print{header{position:static!important}body{background:white!important;color:#111!important;padding:0!important}.locked{opacity:1;filter:none}.gate-label,button,input,select,textarea{display:none!important}section{break-inside:auto;box-shadow:none!important;margin:8px 0!important;padding:12px!important}#vault-content{display:block!important}.notebook-paper{box-shadow:none;color:#173769;break-inside:auto}.flip-card{height:340px}.flip-card-inner{transform:none!important}.flip-card-face{position:static;backface-visibility:visible}.flip-card-face:not(.flip-card-back){display:none}.flip-card-back{transform:none!important}.solved>*{display:block!important}.solved button{display:none!important}canvas{max-height:200px;width:auto!important}:is(.bg-slate-900,.bg9),:is(.bg-slate-950,.bg5){background:#f1f5f9!important}main{max-width:100%!important}}@media print{body:where(p,li,h1,h2,h3,h4,span,th,td){color:#111!important}main [class*=bg-]{background:#fff!important}}.flip-card{height:350px}.flip-card-back{overflow-y:auto;justify-content:flex-start;padding:16px}.equation-box{border:3px solid #c2185b;border-radius:8px;background:#fff59d;padding:12px;margin:16px 0}.equation-box p{margin-top:8px}input[type=range]{min-height:44px;background:transparent}input[type=range]::-webkit-slider-runnable-track{height:8px;background:linear-gradient(to right,#0e7490,#10b981);border-radius:5px}input[type=range]::-webkit-slider-thumb{margin-top:-9px}input[type=range]::-moz-range-track{height:8px;background:linear-gradient(to right,#0e7490,#10b981);border-radius:5px}#level-3 [id^=readout]{text-align:right;margin-left:8px;overflow-wrap:anywhere}#readout-components{text-align:left!important;margin-left:0!important}#sim-equation,#sim-working{overflow-wrap:anywhere}@media(max-width:480px){.flip-card{height:350px}.notebook-paper{background-image:linear-gradient(to right,transparent 44px,#d32f2f 44px,#d32f2f 46px,transparent 46px),repeating-linear-gradient(to bottom,transparent 0,transparent 31px,#6fa8dc 32px)}.notebook-paper th,.notebook-paper td{padding:3px;font-size:12px;line-height:1.7}#level-3 [id^=readout]{font-size:12px}#teach-draw-panel{padding:8px}}@media print{.flip-card{height:auto}.flip-card-back{height:auto;overflow:visible}.equation-box{break-inside:avoid}main div{background-color:white!important}.bg9,.bg5{background:white!important}body *,body [class]{color:#111!important}svg text{fill:#111!important}body header{background:#fff!important}h2,h3{break-after:avoid}}@media(max-width:480px){#level-7{padding-left:12px;padding-right:12px}#practice-panels{padding:8px}#c1-panel,#c2-panel,#c3-panel{padding:12px}#practice-panels svg text{font-size:24px}}@media(max-width:480px){#level-3{padding-left:12px;padding-right:12px}#level-3>div:last-child{padding:8px}}