.stellar-dialog{box-sizing:border-box;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:#08080e;color:#eee4d8;font:13px/1.45 "IBM Plex Sans",system-ui,sans-serif;overflow:hidden}
.stellar-dialog:not([open]){display:none}.stellar-dialog::backdrop{background:#050407f0}.stellar-dialog *{box-sizing:border-box}.stellar-dialog [hidden]{display:none!important}
.stellar-window{display:flex;flex-direction:column;height:100%;width:100%;min-height:0;overflow:hidden;background:#08080e;color:#eee4d8}
.stellar-dialog button,.stellar-dialog input,.stellar-dialog select{font:inherit}.stellar-dialog button,.stellar-dialog select{cursor:pointer}
.stellar-dialog button{border:1px solid #ffffff26;background:#ffffff06;color:inherit;padding:7px 11px;border-radius:7px;min-height:36px}
.stellar-dialog button:hover:not(:disabled){border-color:#ffc17799}.stellar-dialog button:disabled{opacity:.45;cursor:default}
.stellar-dialog :is(button,input,select,a,summary):focus-visible{outline:2px solid #ffc177;outline-offset:3px}
.stellar-dialog button[aria-pressed=true]{border-color:#ffc17799;background:#ffc17716;color:#ffdbb3}
.stellar-dialog header{display:flex;flex:none;justify-content:space-between;align-items:center;gap:18px;padding:13px 20px 11px;border-bottom:1px solid #ffffff16}
.stellar-dialog header>div:first-child{min-width:0;flex:1}.stellar-window-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.stellar-window-actions button{white-space:nowrap;background:#100e16ed}
.stellar-dialog h2{font:400 32px/1.08 "Instrument Serif",Georgia,serif;margin:0}.stellar-dialog header p:not(.stellar-eyebrow){font-size:12px;color:#b6aa9b;margin:6px 0 0}
.stellar-eyebrow{font:10px "IBM Plex Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:#ffc177;margin:0 0 5px}
.stellar-toolbar{display:flex;align-items:center;gap:8px;flex:none;flex-wrap:wrap;padding:8px 16px;border-bottom:1px solid #ffffff14;background:#100e16}
.stellar-mode,.stellar-views{display:flex;gap:4px}.stellar-toolbar button{font-size:11px;min-height:34px}.stellar-mode{margin-right:auto}.stellar-views{padding-right:8px;border-right:1px solid #ffffff20}
.stellar-layout{position:relative;display:grid;grid-template-columns:minmax(0,1fr);flex:1;min-height:0;overflow:hidden}.stellar-dialog.inspector-open .stellar-layout{grid-template-columns:minmax(0,1fr) 320px}
.stellar-stage{padding:12px 16px;display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0}
.stellar-takeaway{border-left:2px solid #ffc177;padding-left:11px;flex:none}.stellar-takeaway h3{font:400 24px/1.1 "Instrument Serif",Georgia,serif;margin:0 0 4px;color:#ffe3bd}.stellar-takeaway p{font-size:12px;color:#b9ae9f;margin:0;max-width:90ch}
.stellar-clock{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;flex:none;font:10px "IBM Plex Mono",monospace;color:#a79886}.stellar-clock strong{font-size:13px;color:#ffd2a0}.stellar-clock span:last-child{margin-left:auto;text-align:right}
.stellar-viewport{position:relative;flex:1;min-height:110px;border:1px solid #ffffff16;border-radius:10px;background:radial-gradient(ellipse at center,#1d1320,#04050a 70%);overflow:hidden}
#stellarMap{width:100%;height:100%;display:block}#stellarScene{position:absolute;inset:0}#stellarScene #gl{position:absolute;inset:0;width:100%;height:100%;touch-action:none}
#stellarOverlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
.stellar-trials{position:absolute;left:9px;right:9px;bottom:9px;display:flex;gap:5px;overflow-x:auto;scrollbar-width:thin;z-index:3}
.stellar-trials button{flex:none;font-size:11px;min-height:34px;background:#08080eec;color:var(--case-color);border-color:color-mix(in srgb,var(--case-color) 50%,transparent);white-space:nowrap}
.stellar-trials button[aria-pressed=true]{background:color-mix(in srgb,var(--case-color) 20%,#08080e);color:var(--case-color);border-color:var(--case-color)}
.stellar-explanation{position:absolute;top:12px;left:12px;right:12px;max-width:430px;z-index:5;padding:16px;background:#100e16f5;border:1px solid #ffc17760;border-radius:10px;box-shadow:0 12px 35px #0009}
.stellar-explanation h4{font:400 25px "Instrument Serif",Georgia,serif;margin:0 0 8px;color:#ffdbb3}.stellar-explanation p{font-size:12px;color:#cdbfad;margin:0 0 12px}.stellar-explanation button{font-size:11px}
.stellar-moments{display:flex;gap:5px;overflow-x:auto;flex:none}.stellar-moments button{white-space:nowrap;font-size:11px;min-height:32px;padding:5px 9px}
.stellar-transport{display:flex;align-items:center;gap:7px;flex:none}.stellar-transport input{flex:1;min-width:40px;accent-color:#ffc177}.stellar-transport output{font:10px "IBM Plex Mono",monospace;min-width:32px;text-align:right}
.stellar-transport select{background:#15121b;border:1px solid #ffffff26;border-radius:5px;color:inherit;min-height:36px;padding:3px;font-size:11px}
#stellarPlay{color:#241109;background:#ffc177;font-weight:600;white-space:nowrap}#stellarReplay{min-width:36px;font-size:17px;padding:3px 8px}.stellar-view-note{font-size:10px;color:#a99b88;line-height:1.35;margin:0;flex:none}
.stellar-controls{min-height:0;padding:16px;border-left:1px solid #ffffff16;background:#121016;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
.stellar-controls h3{font:500 11px "IBM Plex Mono",monospace;color:#ffc177;text-transform:uppercase;letter-spacing:.06em;margin:0 0 10px}
.stellar-controls :is(section,details)>label:not(.stellar-check){display:block;color:#cdbdab;margin:12px 0 4px;font-size:12px}
.stellar-controls select{width:100%;border:1px solid #ffffff26;border-radius:6px;background:#08080e;color:#eee4d8;padding:8px;min-height:38px}
.stellar-numbers{display:flex;gap:8px;margin-top:10px}.stellar-numbers label{flex:1;min-width:0;color:#c5b9a8;font-size:11px}.stellar-numbers input{display:block;width:100%;background:#08080e;color:#eee4d8;border:1px solid #ffffff26;border-radius:5px;padding:6px;margin-top:3px}
.stellar-custom-settings>input[type=range]{width:100%;min-height:30px;accent-color:#ffc177}.stellar-custom-settings>output{font:11px "IBM Plex Mono",monospace;color:#ffc177;display:block}
.stellar-setting-help{font-size:11px;line-height:1.5;color:#ad9e8a;margin:6px 0 12px}.stellar-check{display:flex;align-items:flex-start;gap:8px;font-size:11px;margin:14px 0;color:#cdbdab}.stellar-check input{accent-color:#ffc177;margin-top:2px}
.stellar-case{border:1px solid #ffffff1c;border-left:3px solid var(--case-color);border-radius:8px;padding:10px;margin:9px 0;background:#08080e}
.stellar-case>div{display:flex;align-items:center;gap:6px;justify-content:space-between}.stellar-case label{display:flex;align-items:center;gap:5px;font-size:12px;color:#e5dbce}
.stellar-case b{color:var(--case-color);font:12px "IBM Plex Mono",monospace}.stellar-case input{accent-color:var(--case-color)}
.stellar-case button{font-size:10px;min-height:30px;padding:4px 7px}.stellar-case p{font-size:10px;line-height:1.45;color:#b1a38e;margin:7px 0}.stellar-case output{font:10px/1.4 "IBM Plex Mono",monospace;color:var(--case-color)}
#stellarShowAll,#stellarFollowDebris{width:100%;font-size:11px;margin-top:5px}#stellarFollowDebris{border-color:#ffc17766;color:#ffd2a0}
.stellar-results{border-top:1px solid #ffffff16;border-bottom:1px solid #ffffff16;padding:14px 0;margin:14px 0}.stellar-results h3{letter-spacing:0;text-transform:none;font-size:12px;color:#ffd2a0}
.stellar-results dl{display:grid;grid-template-columns:1fr 1.15fr;gap:7px;font-size:11px;margin:0}.stellar-results dt{color:#a39889}.stellar-results dd{margin:0;color:#e8d7bf;text-align:right}.stellar-results p{font-size:10px;color:#bfb18e;margin:10px 0 0}
.stellar-controls details{border-top:1px solid #ffffff20;padding-top:11px;margin-top:16px;color:#aa9c88;font-size:11px}.stellar-controls summary{cursor:pointer;min-height:32px;color:#e3c89f}.stellar-controls details p{line-height:1.6}.stellar-controls a{color:#a7d4f8}
#stellarKeep{width:100%;font-size:11px}.stellar-pair{display:block;text-align:left;width:100%;margin:7px 0;font-size:11px!important;line-height:1.4}
.stellar-save{display:flex;gap:5px;margin-top:13px}.stellar-save button{flex:1;font-size:10px;padding:6px}#stellarShareURL{width:100%;background:#08080e;color:#eddac2;border:1px solid #ffffff33;border-radius:5px;padding:7px;margin-top:10px}
#stellarStatus{color:#e3c89f;font-size:11px;min-height:16px}#stellarBack{display:none}
.stellar-notice{position:absolute;left:50%;bottom:92px;transform:translateX(-50%);max-width:calc(100% - 32px);z-index:30;margin:0;padding:10px 14px;border:1px solid #ffc17770;border-radius:9px;background:#100e16f5;color:#ffe3bd;font-size:12px;pointer-events:none}
.experiment-links{display:flex;flex-wrap:wrap;gap:10px}.experiment-links .button{white-space:nowrap}
@media(max-width:860px){
 .stellar-dialog header{padding:10px 12px;flex-wrap:wrap;gap:9px;align-items:flex-start}.stellar-dialog h2{font-size:25px}.stellar-dialog header p:not(.stellar-eyebrow){font-size:11px;margin-top:4px}.stellar-eyebrow{font-size:9px}
 .stellar-window-actions{width:100%;justify-content:flex-start}.stellar-window-actions button{font-size:11px;min-height:38px;padding:5px 10px}
 .stellar-toolbar{padding:7px 10px;gap:5px}.stellar-toolbar button{font-size:10px;min-height:34px;padding:5px 8px}.stellar-mode{margin-right:0}.stellar-views{padding-right:5px}
 .stellar-dialog.inspector-open .stellar-layout{grid-template-columns:minmax(0,1fr)}.stellar-stage{padding:9px;gap:6px}
 .stellar-takeaway h3{font-size:21px}.stellar-takeaway p{font-size:11px;line-height:1.35}.stellar-clock{font-size:9px}.stellar-clock strong{font-size:12px}.stellar-clock span:last-child{display:none}
 .stellar-controls{position:absolute;inset:0;z-index:10;border-left:0;overflow:auto;background:#100e16;padding:13px 16px}.stellar-dialog.inspector-open .stellar-stage{visibility:hidden}
 #stellarBack{display:block;position:sticky;top:0;z-index:2;margin-bottom:13px;background:#1c1620;min-height:44px;width:100%}
 .stellar-case button,.stellar-controls button{min-height:40px}.stellar-case input{width:18px;height:18px}
 .stellar-moments button{font-size:10px;padding:5px 8px;min-height:36px}.stellar-transport{gap:5px}.stellar-transport button{min-height:38px;font-size:11px}.stellar-transport select{min-height:38px}
 .stellar-trials{left:6px;right:6px;bottom:6px;gap:4px}.stellar-trials button{min-height:36px;font-size:10px;padding:5px 8px}.stellar-view-note{font-size:9px}
 .stellar-explanation{padding:12px;top:8px;left:8px;right:8px;max-height:calc(100% - 48px);overflow:auto}
}
@media(max-width:450px) and (max-height:730px){
 .stellar-eyebrow,#stellarIntro{display:none}.stellar-dialog h2{font-size:22px}.stellar-dialog header{padding:8px 10px;gap:7px}
 .stellar-takeaway p{font-size:10px}.stellar-takeaway h3{font-size:18px;margin-bottom:3px}.stellar-view-note{display:none}
 .stellar-toolbar{padding:5px 8px}.stellar-stage{gap:5px;padding:7px}.stellar-moments button{min-height:32px}
}
.stellar-dialog.controls-collapsed header{position:absolute;top:0;right:0;z-index:20;border:0;background:none;padding:12px;max-width:100%}
.stellar-dialog.controls-collapsed header>div:first-child{display:none}.stellar-dialog.controls-collapsed .stellar-window-actions{width:auto}
.stellar-dialog.controls-collapsed .stellar-toolbar,.stellar-dialog.controls-collapsed .stellar-stage>:not(.stellar-viewport),.stellar-dialog.controls-collapsed .stellar-trials,.stellar-dialog.controls-collapsed .stellar-explanation{display:none}
.stellar-dialog.controls-collapsed .stellar-layout{grid-template-columns:minmax(0,1fr)}.stellar-dialog.controls-collapsed .stellar-stage{padding:0;gap:0;visibility:visible}.stellar-dialog.controls-collapsed .stellar-viewport{border:0;border-radius:0;min-height:0}
@media(max-height:520px) and (min-width:600px){
 .stellar-dialog header{padding:6px 10px;flex-wrap:nowrap;align-items:center}.stellar-dialog h2{font-size:20px}.stellar-eyebrow,#stellarIntro{display:none}.stellar-window-actions{width:auto;flex-wrap:nowrap}.stellar-window-actions button{font-size:10px;min-height:30px}
 .stellar-toolbar{padding:5px 10px;gap:5px}.stellar-toolbar button{min-height:30px}.stellar-stage{padding:7px;gap:5px}.stellar-takeaway h3{font-size:18px}.stellar-takeaway p,.stellar-view-note{display:none}.stellar-viewport{min-height:70px}.stellar-moments button{min-height:30px}.stellar-transport button,.stellar-transport select{min-height:32px}
}
@media(prefers-reduced-motion:reduce){.stellar-dialog *{scroll-behavior:auto!important}}

/* Keep transient status banners off the four selectable outcomes and replay controls. */
@media(max-width:860px){
 .stellar-notice{bottom:172px;max-width:min(320px,calc(100% - 24px));font-size:11px;line-height:1.35;padding:8px 11px}
 .stellar-trials{scrollbar-width:thin;scrollbar-color:#ffb56399 transparent;padding-bottom:3px}
 .stellar-dialog .stellar-viewport{min-height:160px}
}
