:root{color-scheme:dark;--ink:#f2efe9;--muted:#a9b6b6;--line:#34484b;--panel:#101f25;--accent:#ecb873;--cyan:#9edbd1;--ground:#071218;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 22% 4%,#17343b 0,transparent 40%),#071218;color:var(--ink)}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,canvas:focus-visible{outline:2px solid #f0cb8b;outline-offset:3px}.shell{max-width:1690px;margin:auto;padding:0 30px 26px}.site-head{display:flex;align-items:flex-end;justify-content:space-between;padding:26px 2px 24px;border-bottom:1px solid #334249}.eyebrow{font-size:10px;letter-spacing:.19em;font-weight:700;color:var(--accent)}h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(31px,4vw,53px);font-weight:400;letter-spacing:-.035em;margin:7px 0 6px}h1 em{color:var(--accent);font-weight:400}.site-head p{margin:0;color:var(--muted);font-size:13px}.head-mark{height:61px;border-left:1px solid #425355;display:flex;align-items:center;gap:13px;padding-left:22px;color:var(--accent);font-family:Georgia,serif;font-size:35px}.head-mark span{font:700 9px/1.7 system-ui;letter-spacing:.2em;color:#a9b3b0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:24px;padding-top:24px;align-items:start}.stage-panel{min-width:0}.stage{height:min(67vh,730px);min-height:380px;position:relative;isolation:isolate;background:linear-gradient(180deg,#3f6266 0,#b2ada0 50%,#736250 100%);border:1px solid #516368;overflow:hidden;border-radius:7px}#scene{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}.stage:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 90px #10252d55;pointer-events:none}.stage-top,.stage-bottom{pointer-events:none;position:absolute;z-index:3;display:flex;align-items:center;gap:10px;left:16px;right:16px;justify-content:space-between}.stage-top{top:16px}.stage-bottom{bottom:16px}.small-chip{font-size:9px;letter-spacing:.1em;color:#faf4e6;background:#16272ba8;padding:10px 12px;border:1px solid #d6d1bb40;border-radius:2px;font-weight:700;backdrop-filter:blur(5px)}.pulse-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#9edbd1;margin-right:8px;box-shadow:0 0 8px #9edbd1}.stage-instruction{color:#fffaebdf;text-shadow:0 1px 4px #000;font-size:11px;text-align:right}.compass{width:33px;height:33px;border-radius:50%;border:1px solid #f4eed599;display:grid;place-items:center;color:white;position:relative;background:#101f2580}.compass span{position:absolute;top:-16px;font-size:10px;font-weight:bold}.needle{color:#ebbd79;font-size:18px}.hotspot-layer{position:absolute;inset:0;pointer-events:none;z-index:4}.hotspot{position:absolute;pointer-events:auto;width:25px;height:25px;border:1px solid #f7dca9;border-radius:50%;background:#263e42df;color:#ffe7b9;box-shadow:0 0 0 5px #e6bb6b33,0 4px 15px #061116aa;font-size:15px;display:grid;place-items:center}.hotspot:hover,.hotspot:focus-visible{background:#6b522e}.hotspot[aria-expanded="true"]{background:#a37335;color:white}.hotspot-note{position:absolute;pointer-events:auto;min-width:190px;max-width:240px;padding:12px 14px;background:#14252cf5;border:1px solid #b48d55;color:#f0f0e9;font-size:12px;line-height:1.45;border-radius:3px;box-shadow:0 10px 25px #0007}.hotspot-note strong{display:block;color:#f3bd75;margin-bottom:5px}.toast{position:absolute;z-index:5;bottom:55px;left:50%;transform:translateX(-50%);border-radius:3px;background:#173039ec;color:#f2f8ef;font-size:12px;padding:9px 15px;opacity:0;pointer-events:none;transition:opacity .3s}.toast.on{opacity:1}.stage-tools{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 15px}.stage-tools button,.segmented button{background:#152a2f;color:#e1e6e3;border:1px solid #365054;border-radius:3px;padding:9px 13px;font-size:11px;font-weight:700;letter-spacing:.025em}.stage-tools button:hover,.segmented button:hover{border-color:#c9ab79}.stage-tools button[aria-pressed="false"]{color:#cbd1d0}.annotation{border-top:1px solid #33474a;display:flex;gap:22px;padding:14px 4px 0;align-items:center}.annotation p{flex:1;margin:0;display:grid;gap:5px}.annotation strong{font-size:10px;letter-spacing:.055em;color:#a7b9ba}.annotation span{font-size:12px;color:#e7d9c2}.annotation-rule{height:27px;width:2px;background:var(--accent)}.control-stack{display:flex;flex-direction:column;gap:13px;max-height:calc(100vh - 180px);overflow:auto;padding-right:5px;scrollbar-color:#5c6f70 transparent;scrollbar-width:thin}.control-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.control-header h2{font:normal 25px Georgia,serif;margin:6px 0 0}.marker{font-size:9px;color:#b5c3bf;border:1px solid #4a6564;padding:7px;letter-spacing:.1em}.control-card{background:linear-gradient(165deg,#142830,#0f1d23);border:1px solid #314b50;padding:16px 17px;border-radius:4px}.card-heading{display:flex;align-items:center;gap:11px;margin-bottom:14px}.section-index{font-size:11px;color:var(--accent);font-weight:700;border:1px solid #846c49;padding:4px 5px}.card-heading h3{margin:0;font:normal 17px Georgia,serif;color:#f1ebe2}.input-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;font-weight:650;color:#dbe7e3;margin:15px 0 7px}.input-heading output{color:var(--accent);font-weight:700;font-variant-numeric:tabular-nums}.helper{font-size:11px;line-height:1.5;color:#acbfc1;margin:7px 0 12px}.control-card input[type=range]{display:block;width:100%;margin:8px 0 12px;accent-color:#ecb873;cursor:pointer}.phase-labels{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.14em;color:#8dadae;margin-top:-7px}.check-row{display:flex;align-items:center;gap:9px;color:#dce6e2;font-size:11px;margin:15px 0}.check-row input{accent-color:#e7b877;width:15px;height:15px}.segmented{display:grid;grid-template-columns:repeat(4,1fr);gap:3px}.segmented button{padding:8px 4px;font-size:10px}.segmented .selected{color:#1a292b;background:#e9b974;border-color:#e9b974}.readouts{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0}.readouts>div{border:1px solid #415659;background:#0b1c20;padding:11px 10px;min-width:0}.readouts>div:first-child{grid-column:span 2;background:#20373b;border-color:#5f827b}.readouts span{color:#b3c9c7;font-size:10px;display:block;margin-bottom:7px}.readouts strong{color:#f6cd8f;white-space:nowrap;font:normal 25px Georgia,serif}.readouts small{font:normal 11px system-ui;color:#ecdfc9}.equation-check{display:flex;justify-content:space-between;gap:8px;border-top:1px dashed #526568;padding-top:10px;color:#acbfbf;font-size:10px}.equation-check strong{color:#9fe3cf;white-space:nowrap}.arch-sketch{width:100%;height:96px;margin:4px 0 -9px}.solar-label{display:flex;justify-content:space-between;font-size:11px;color:#bacbcc;margin-top:12px}.solar-label strong{color:#f6d198}.control-card select{width:100%;color:#eaf1ed;background:#0b1e22;border:1px solid #466266;padding:9px 8px;border-radius:2px;font-size:11px}.knowledge-panel{border:1px solid #40565a;border-radius:4px;background:#122329}.knowledge-panel summary{padding:14px 15px;cursor:pointer;font-weight:700;font-size:12px;display:flex;justify-content:space-between}.knowledge-panel summary span{color:var(--accent)}.knowledge-body{padding:0 15px 15px;font-size:11px;color:#c2d1cf;line-height:1.7}.knowledge-body p{margin:10px 0}.knowledge-body h4{font-size:12px;color:#edc18e;margin:18px 0 5px}.knowledge-body ol{padding-left:18px}.knowledge-body li{margin:6px 0}.knowledge-body a{color:#aee1cf;overflow-wrap:anywhere}.knowledge-body code{font-size:10px;color:#e8d0a0}.footnote{font-size:10px;line-height:1.5;color:#95a7a8;padding:3px 4px 20px;margin:0}@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:15px}.shell{padding:0 16px}.control-stack{max-height:none;overflow:visible}.stage{height:560px}}@media(max-width:780px){.shell{padding:0 11px}.site-head{padding:17px 3px 14px}.site-head p{font-size:11px}.head-mark{display:none}.workspace{display:grid;grid-template-columns:1fr;gap:10px;padding-top:12px}.stage{height:45dvh;min-height:270px;border-radius:3px}.control-stack{max-height:none;overflow:visible;padding-right:0}.annotation{gap:8px}.annotation p{font-size:10px}.annotation span{font-size:10px}.annotation strong{font-size:9px}.stage-tools button{font-size:10px;padding:9px}.stage-instruction{max-width:200px;font-size:10px}.control-header{padding:5px 2px}.left-marginal{display:none}.small-chip{font-size:8px}.readouts{grid-template-columns:repeat(3,minmax(0,1fr))}.readouts>div:first-child{grid-column:span 1}.readouts strong{font-size:20px}.readouts small{display:block}}body.embed-mode{height:100vh;height:100dvh;overflow:hidden}.embed-mode .site-head{display:none}.embed-mode .shell{height:100%;padding-top:0;padding-bottom:0}.embed-mode .workspace{height:100%;padding-top:8px;grid-template-columns:minmax(0,1fr) 344px;align-items:stretch}.embed-mode .stage-panel{display:flex;flex-direction:column;min-height:0}.embed-mode .stage{height:auto;min-height:0;flex:1}.embed-mode .annotation{display:none}.embed-mode .control-stack{max-height:none;overflow:auto}.embed-mode .footnote{display:none}@media(max-width:780px){.embed-mode .workspace{grid-template-columns:1fr;grid-template-rows:minmax(250px,47dvh) minmax(0,1fr);gap:4px}.embed-mode .stage-tools{margin:4px 0;flex-shrink:0}.embed-mode .stage-tools button{padding:6px 7px}.embed-mode .control-stack{height:100%;overflow-y:auto;padding-bottom:25px}.embed-mode .control-header{margin:0}.embed-mode .stage{height:100%;flex:1}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
