:root{--bg:#0a1116;--panel:#101b22;--line:#26383e;--text:#f4e9d6;--muted:#aab7b8;--gold:#e9b981;--gold-dark:#684c32;--aqua:#8dc8bf;--display:Georgia,'Times New Roman',serif;font-synthesis:none}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;color:var(--text);font:14px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;background:linear-gradient(145deg,#122127,#081015 48%,#0a1219);min-width:280px}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible,.stage:focus-visible{outline:2px solid var(--gold);outline-offset:3px}a{color:#e9c797}.shell{max-width:1760px;margin:0 auto;padding:0 26px}.masthead{height:98px;display:flex;align-items:center;gap:17px;border-bottom:1px solid #284048;margin-bottom:15px}.mark{display:grid;place-items:center;width:46px;height:46px;border:1px solid #4b6669;color:var(--gold);font-size:28px;transform:rotate(0deg);flex:none}.brand{flex:1;min-width:0}.eyebrow{font-size:10px;letter-spacing:.23em;font-weight:700;color:#e3b88a}.brand h1{font:400 clamp(23px,2.6vw,35px)/1.18 var(--display);margin:3px 0 0}.brand p{font-size:12px;color:var(--muted);margin:3px 0 0}.era{font-size:10px;letter-spacing:.11em;color:#aab5b5;border:1px solid #304047;padding:11px 15px;white-space:nowrap}.era-dot{color:var(--gold);margin:0 5px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:18px;min-height:0}.visual-column{min-width:0}.stage{position:relative;height:min(65vh,780px);min-height:420px;overflow:hidden;background:radial-gradient(ellipse at 65% 28%,#31413c,#080d15 72%);border:1px solid #43504b}.stage canvas{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none}.stage-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 52% 45%,transparent 32%,rgba(0,0,0,.34) 100%)}.stage-label{position:absolute;top:21px;left:23px;display:flex;align-items:center;gap:9px;letter-spacing:.16em;font-size:10px;font-weight:700;color:#fff4dd;text-shadow:0 1px 9px #000;pointer-events:none}.status-dot,.check-dot{height:7px;width:7px;border-radius:50%;background:#8fd8c2;box-shadow:0 0 13px #8fd8c2}.sep{opacity:.45}.compass{position:absolute;right:21px;top:19px;display:flex;flex-direction:column;align-items:center;color:#efb878;font-size:11px;font-weight:700;letter-spacing:.1em;line-height:1}.compass-indicator{font-size:29px;transform:rotate(45deg)}.stage-bottom{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;gap:10px;padding:35px 22px 18px;background:linear-gradient(transparent,rgba(1,8,13,.83));color:#d2d5d0;font-size:11px;pointer-events:none}.watermark{font-size:9px;letter-spacing:.1em;color:#c7b197}.toolbar{border:1px solid #304049;border-top:0;background:#111d23;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:11px 13px}.toolbar-group{display:flex;gap:6px;flex-wrap:wrap}.tool{padding:8px 12px;background:#1c2c33;border:1px solid #32454c;color:#d4dfe0;border-radius:2px;font-size:11px;white-space:nowrap}.tool:hover{background:#2d4349}.tool.active{border-color:#ba8753;background:#4c392b;color:#ffe0af}.tool.gold{background:#a9774a;color:#101519;border-color:#d6a46d;font-weight:700}.context-strip{border:1px solid #26383e;border-top:0;display:flex;justify-content:space-between;gap:10px;padding:14px 16px;flex-wrap:wrap;color:#b2b5aa;font-size:9px;letter-spacing:.12em}.context-strip b{display:block;letter-spacing:normal;font-size:12px;color:#e9d9bd;font-weight:600;margin-top:2px}.sidebar{height:min(65vh + 107px,890px);min-height:527px;display:flex;flex-direction:column;background:linear-gradient(165deg,#18252a,#101a22 85%);border:1px solid #314149;min-width:0}.sidehead{padding:19px 19px 17px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #34464b;gap:8px}.sidehead h2{font:400 24px/1.1 var(--display);margin:4px 0 0}.mode-switch{display:flex;gap:3px;border:1px solid #3d5156;padding:3px;flex:none}.mode-switch button{border:0;background:transparent;color:#b7c3c1;padding:6px 8px;font-size:11px}.mode-switch button.chosen{color:#192025;background:var(--gold)}.side-scroll{overflow:auto;overscroll-behavior:contain;padding:0 18px 12px;scrollbar-width:thin;scrollbar-color:#576467 transparent}.panel{padding:18px 0 21px;border-bottom:1px solid #304149}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.panel-heading>div:first-child{display:flex;gap:8px;align-items:baseline}.panel-index{font-size:10px;color:#dcb58d;letter-spacing:.15em}.panel h3{font:400 18px var(--display);margin:0}.range-label{display:flex;justify-content:space-between;align-items:baseline;gap:8px;color:#d5dddd;font-size:12px;margin:12px 0 9px}.range-label output{color:var(--gold);font-size:11px;text-align:right;font-variant-numeric:tabular-nums}input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:4px;border-radius:4px;display:block;margin:12px 0 6px;background:linear-gradient(90deg,#bb8b59,#315059)}input[type=range]::-webkit-slider-thumb{appearance:none;width:15px;height:15px;border:2px solid #e8c299;border-radius:50%;background:#203137;box-shadow:0 1px 8px #000}input[type=range]::-moz-range-thumb{width:14px;height:14px;border:2px solid #e8c299;border-radius:50%;background:#203137}.range-ends{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.11em;color:#91a3a6;margin-top:7px}.tiny-badge{font-size:9px;letter-spacing:.09em;border:1px solid #62786a;color:#b5d2be;padding:5px 7px}.toggle-label{font-size:10px;color:#c1d2cd;white-space:nowrap;display:flex;align-items:center;gap:4px}.toggle-label input{accent-color:#cba06e}.live-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin-top:18px;border:1px solid #344248;background:#344248}.live-item{padding:13px 12px;background:#101b21}.live-item span{font-size:9px;color:#97adaa;letter-spacing:.12em;display:block;min-height:16px}.live-item strong{display:block;color:#f6e5c9;font-size:19px;font-weight:500;letter-spacing:.01em;font-variant-numeric:tabular-nums;margin-top:4px}.check{display:flex;justify-content:space-between;gap:6px;align-items:center;padding:11px 10px;border:1px solid #3e615c;margin-top:10px;background:#182c2b}.check>span{color:#b8d1c6;font-size:9px;letter-spacing:.08em}.check-dot{display:inline-block;margin-right:6px;height:5px;width:5px}.check strong{white-space:nowrap;font-size:12px;color:#d4ecd9}.panel-footnote{margin:9px 0 0;color:#a2b2b1;font-size:10px;line-height:1.6}.dim-sub{color:#a0b4af;font-size:10px}.panel select{width:100%;padding:10px 12px;color:#f0e2ca;background:#17282e;border:1px solid #496061;border-radius:0}.science{border-bottom:1px solid #3f5156;margin-top:7px}.science summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none;font-size:10px;font-weight:800;letter-spacing:.16em;color:#f0c695;padding:17px 2px}.science summary::-webkit-details-marker{display:none}.science-plus{font-size:20px}.science[open] .science-plus{transform:rotate(45deg)}.science-body{padding:0 1px 18px;color:#b6c6c2;font-size:12px;line-height:1.7}.science-body h3{color:#f4d0a2;font:400 18px var(--display);margin:19px 0 7px}.science-body p{margin:8px 0}.equation{background:#0d171d;border:1px solid #35484d;color:#fff4d7;padding:10px 12px;font:17px var(--display);text-align:center;margin:11px 0}.science-body ol{padding-left:18px;overflow-wrap:anywhere}.science-body li{margin:7px 0}.science-body .disclaimer{border-left:2px solid var(--gold);padding-left:12px;font-style:italic}.keyboard-help{font-size:10px;color:#a1b5b5;margin:17px 2px}.keyboard-help kbd{color:var(--text);font-size:10px}.footer{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#81989c;letter-spacing:.12em;padding:17px 0 25px}.hotspot-layer{position:absolute;inset:0;pointer-events:none}.hotspot{pointer-events:auto;position:absolute;display:grid;place-items:center;height:29px;width:29px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(234,190,133,.9);background:rgba(31,34,31,.79);color:#ffe6c0;font-size:15px;box-shadow:0 0 0 6px rgba(207,166,103,.10),0 0 15px #000}.hotspot:hover,.hotspot:focus-visible{background:#ad8053}.inspect{position:absolute;right:18px;bottom:63px;width:min(320px,calc(100% - 36px));padding:19px 20px;background:rgba(11,23,27,.97);border:1px solid #856947;box-shadow:0 12px 40px #000b;color:#efe5d4;z-index:4}.inspect h2{font:400 23px var(--display);margin:5px 0 7px}.inspect p{font-size:12px;color:#ccdad4;margin:0 0 11px}.inspect-tag,.evidence{font-size:9px;color:#e4b781;letter-spacing:.12em;text-transform:uppercase}.inspect-close{position:absolute;top:4px;right:8px;border:0;background:none;color:#f2d7b6;font-size:23px}.fallback-message{position:absolute;top:68px;left:20px;right:20px;background:#0c1a20e9;border:1px solid #4d6469;color:#e6dfd4;padding:14px;max-width:430px;font-size:12px}.fallback-message[hidden],.inspect[hidden],canvas[hidden]{display:none}.embed-mode{height:100vh;height:100dvh;overflow:hidden}.embed-mode .shell{height:100%;max-width:none;padding:0}.embed-mode .masthead,.embed-mode .footer,.embed-mode .context-strip{display:none}.embed-mode .workspace{height:100%;gap:0;grid-template-columns:minmax(0,1fr) 335px}.embed-mode .visual-column{display:flex;flex-direction:column;min-height:0}.embed-mode .stage{height:100%;min-height:0;flex:1}.embed-mode .toolbar{flex:none}.embed-mode .sidebar{height:100%;min-height:0}.embed-mode .sidehead{padding:12px}.embed-mode .side-scroll{padding:0 12px 10px}@media(max-width:1030px){.shell{padding:0 14px}.workspace{grid-template-columns:minmax(0,1fr) 316px;gap:10px}.sidebar{height:calc(min(65vh,780px) + 105px)}.stage{min-height:390px}.tool{padding:7px}.stage-bottom .watermark{display:none}.era{display:none}}@media(max-width:735px){.shell{padding:0 10px}.masthead{height:auto;min-height:80px;padding:14px 0}.brand h1{font-size:25px}.brand p{font-size:10px}.workspace{display:flex;flex-direction:column;gap:0}.stage{height:56dvh;min-height:260px}.sidebar{height:auto;min-height:0;margin-top:10px}.side-scroll{overflow:visible}.sidehead{padding:15px}.toolbar{padding:9px 8px;gap:4px;flex-wrap:wrap}.toolbar-group{gap:4px}.tool{font-size:10px;padding:7px 9px}.context-strip{padding:10px}.context-strip span{flex-basis:29%;font-size:8px}.context-strip b{font-size:11px}.stage-label{font-size:9px;top:12px;left:12px}.stage-bottom{font-size:10px;padding:20px 11px 11px}.footer{flex-direction:column}.live-item strong{font-size:20px}.embed-mode .workspace{display:flex;flex-direction:column;height:100%}.embed-mode .stage{height:auto;min-height:0;flex:1 1 57%}.embed-mode .toolbar{flex:0 0 auto}.embed-mode .sidebar{margin:0;height:auto;min-height:0;flex:1 1 37%;overflow:hidden;display:flex}.embed-mode .side-scroll{overflow:auto}.embed-mode .sidehead{padding:8px 12px}.embed-mode .sidehead h2{font-size:18px}.embed-mode .panel{padding:11px 0}.embed-mode .brand{display:none}.embed-mode .stage-label{font-size:8px}.embed-mode .toolbar-group{max-width:100%}}@media(max-width:410px){.brand h1{font-size:23px}.stage{height:53dvh}.tool{font-size:9px;padding:7px 7px}.stage-bottom{font-size:9px}.context-strip span{flex-basis:45%}.embed-mode .stage{flex-basis:52%}.embed-mode .sidebar{flex-basis:42%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}
/* Keep the stage visible in a narrow embedded viewport; controls remain below it. */
.hotspot[hidden]{display:none!important}
@media(max-width:735px){.embed-mode .visual-column{height:58%;flex:0 0 58%;min-height:0}.embed-mode .stage{height:auto;min-height:0;flex:1 1 auto}.embed-mode .sidebar{height:42%;flex:1 1 42%;min-height:0}}
@media(max-width:410px){.embed-mode .visual-column{height:57%;flex:0 0 57%}.embed-mode .sidebar{height:43%;flex:1 1 43%}}
