@font-face{font-family:Courier Prime;src:url(fonts/courier-prime-400.woff2) format("woff2");font-display:swap}
:root{color-scheme:dark;--terminal-max:54rem;--page-inset:clamp(.75rem,4vw,2.25rem);--shell-inset:max(var(--page-inset),calc((100% - var(--terminal-max))/2));--screen-inset:clamp(.65rem,2.8vw,1.65rem);--glow:#c1ed9e;--faint:#a9bca0;--rim:#485642;--type:"Courier Prime","Courier New",monospace,system-ui}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 78% 0,#302922,transparent 62%),#191816;color:#ece0c8;font:1rem/1.55 var(--type)}
button,input{font:inherit}
a{color:inherit;text-underline-offset:.22em}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--glow);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:3.5rem;padding:0 var(--shell-inset);border-bottom:1px solid #85715c58;font-size:.82rem}
.bar a{min-height:44px;display:inline-flex;align-items:center}
main{width:min(var(--terminal-max),calc(100% - 2 * var(--page-inset)));margin:clamp(1.2rem,4vh,3rem) auto 2rem}
.intro p{font-size:.76rem;letter-spacing:.15em;color:#dac4a1;margin:0}
h1{margin:.25em 0 .48em;font-size:clamp(2.25rem,7vw,4.2rem);font-weight:400;line-height:1}
.cabinet{
 position:relative;isolation:isolate;
 --crt-air-top:60px;--crt-air-right:83px;--crt-air-bottom:36px;--crt-air-left:31px;
 padding:clamp(.65rem,2.4vw,1.45rem);margin-block-start:14px;
 border:1px solid transparent;border-radius:1.15rem;
}
.crt-particles{
 display:block;position:absolute;inset-block-start:calc(-1 * var(--crt-air-top));inset-inline-start:calc(-1 * var(--crt-air-left));z-index:-1;
 inline-size:calc(100% + var(--crt-air-left) + var(--crt-air-right));
 block-size:calc(100% + var(--crt-air-top) + var(--crt-air-bottom));
 pointer-events:none;
}
@media(max-width:1030px){
 .cabinet{--crt-air-top:47px;--crt-air-right:min(64px,var(--page-inset));--crt-air-bottom:25px;--crt-air-left:min(22px,var(--page-inset))}
}
@media(max-width:650px){
 .cabinet{
  --crt-air-top:35px;--crt-air-right:min(20px,var(--page-inset));--crt-air-left:min(12px,var(--page-inset));--crt-air-bottom:18px;
  margin-block-start:10px;padding-inline-end:clamp(1rem,5.2vw,1.65rem)
 }
}
body{overflow-x:clip;background:radial-gradient(ellipse at 50% 32%,#162520 0%,#151819 44%,#101113 82%)}
.glass{position:relative;isolation:isolate;border:clamp(3px,1vw,8px) solid #182622;border-radius:clamp(.8rem,3vw,1.6rem) / clamp(.8rem,2.6vw,1.25rem);padding:var(--screen-inset);background:radial-gradient(ellipse at 49% 42%,#1a2e25 4%,#14251e 62%,#101d17 86%,#080f0c 100%);color:var(--glow);box-shadow:inset 0 0 1.4rem #080e0a,inset 0 0 0 1px #68826a61,0 0 0 1px #1a3a3250;text-shadow:0 0 .28em #9cee6142}
/* Keep distortion on the glass, never on glyphs or native controls. */
.glass::before,.glass::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit}
.glass::before{background:radial-gradient(ellipse at 50% 44%,transparent 56%,#09110d4d 84%,#050a06b0 100%);box-shadow:inset 0 1px 1px #b6d5ac26,inset 0 -2px 2px #04070480}
.glass::after{background:repeating-linear-gradient(0deg,#08180d40 0 1px,transparent 1px 4px);opacity:.53}
.screen-head{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:.45rem 1rem;border-bottom:1px solid var(--rim);padding-bottom:.66rem}
.screen-head h2{font:inherit;letter-spacing:.11em;margin:0}
.screen-head span{font-size:.79rem;color:var(--faint)}
.transcript{min-height:12rem;height:clamp(13rem,36svh,23rem);overflow:auto;scrollbar-color:#738f66 #18241a;overflow-wrap:anywhere;padding:.8rem .35rem .6rem 0}
.transcript p{margin:0;white-space:pre-line}
.transcript .speaker{font-size:.8rem;color:var(--faint);margin-bottom:.25rem}
.reply + .reply{margin-top:.9rem}
.reply--question{border-left:2px solid var(--rim);padding-left:.65rem}
.reply--new{animation:print .22s ease-out}
@keyframes print{from{opacity:.5;transform:translateY(.17em)}to{opacity:1;transform:none}}
form{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem;border-block-start:1px solid var(--rim);padding-block:.45rem}
.prompt-mark{display:inline-flex;align-items:center;gap:.25rem}
.wait-caret{inline-size:.46em;block-size:.98em;background:currentColor;opacity:.9;visibility:hidden}
form:has(input:placeholder-shown:not(:focus)) .wait-caret{visibility:visible;animation:terminal-caret 1.1s step-end infinite}
@keyframes terminal-caret{50%{opacity:0}}
form input{min-width:0;background:transparent;color:var(--glow);border:0;min-height:44px;border-radius:0;padding:0 .15rem}
form input::placeholder{color:var(--faint)}
button{cursor:pointer;min-height:44px;touch-action:manipulation}
.glass button{color:inherit;border:1px solid #698564;background:#19271c;padding:.22rem .55rem}
.glass button:hover,.glass button:focus-visible{background:var(--glow);color:#18261a;text-shadow:none}
.prompts{display:flex;flex-wrap:wrap;gap:.35rem;padding-top:.4rem}
.prompts button{font-size:.87rem}
.panel{display:flex;gap:.45rem;align-items:center;justify-content:space-between;margin:.25rem .15rem 0;color:#d7eadd;font-size:.73rem;letter-spacing:.08em}
.terminal-language{display:inline-flex;align-items:center;gap:.13rem}
.terminal-lamp{display:inline-block;width:.4rem;height:.4rem;flex:none;margin-inline-end:.35rem;border-radius:50%;background:#dbac60;box-shadow:0 0 .45em #f4bc738a;animation:terminal-lamp-blink 1.65s step-end infinite}
@keyframes terminal-lamp-blink{68%{opacity:.3}}
.terminal-language span{opacity:.5}
.panel .terminal-language button{opacity:.68;text-decoration:none;min-width:2.5rem}
.panel .terminal-language button[aria-pressed=true]{opacity:1;text-decoration:underline}
.panel .terminal-language button:hover,.panel .terminal-language button:focus-visible{opacity:1}
@media(prefers-reduced-motion:reduce){.terminal-lamp{animation:none}}
.panel button{background:none;color:inherit;border:0;text-decoration:underline;text-underline-offset:.18em;padding-inline:.35rem}
@media(max-width:410px){.bar{font-size:.75rem}.intro p{font-size:.7rem}.prompts button{font-size:.78rem}.screen-head h2{font-size:.93rem}}
@media(prefers-reduced-motion:reduce){.reply--new,form:has(input:placeholder-shown:not(:focus)) .wait-caret{animation:none}}
@media(max-width:650px){.transcript{height:clamp(12rem,36svh,20rem)}.intro h1{margin-block-end:.38em}}
.bar .clock-link{display:inline-flex;width:44px;align-items:center;justify-content:flex-start}
.bar .clock-link svg{width:36px;overflow:visible;rotate:-10deg;transition:rotate .2s}
.bar .clock-link:hover svg,.bar .clock-link:focus-visible svg{rotate:7deg}
.bar .clock-face{fill:#ffcd34;stroke:#11182a;stroke-width:5}
.reply--busy .copy{color:var(--faint)}
.reply--typing .copy::after{content:"";display:inline-block;inline-size:.43em;block-size:.9em;margin-inline-start:.19em;vertical-align:-.06em;background:currentColor}
form[data-busy] .wait-caret{visibility:hidden!important}
.glass button[aria-disabled=true]{opacity:.62;cursor:default}
@media(prefers-reduced-motion:reduce){.bar .clock-link svg{transition:none}}

/* Phosphor on the actual readable glyphs; the canvas is only their short
   emitting edge, never a replacement for text, caret, or native controls. */
.phosphor-output{
 position:absolute;display:block;inset:0;inline-size:100%;block-size:100%;
 z-index:2;pointer-events:none;border-radius:inherit
}
.glass{
 color:var(--phosphor-body);text-shadow:0 0 .28em #8ae68a55;
}
.glass :is(.speaker,.screen-head>span){color:var(--phosphor-dim)}
.glass :is(.screen-head h2,.reply--question .copy){color:var(--phosphor-key)}
.glass input{
 color:var(--phosphor-key);caret-color:var(--phosphor-key);
 text-shadow:0 0 .25em #8ae68a66;
}
.glass input::placeholder{color:#afcca4}
.glass .prompts button:not(:hover,:focus-visible){
 background:repeating-linear-gradient(0deg,#1a3024 0 1px,#192a21 1px 3px)
}
.glass .prompt-mark .wait-caret,.glass .reply--typing .copy::after{
 background:repeating-linear-gradient(0deg,#d2fbb7 0 2px,#559f75 2px 3px);
 box-shadow:0 0 .27em #a8f9a17d
}
@supports ((background-clip:text) or (-webkit-background-clip:text)) and (color:color-mix(in srgb,white,black)){
 .glass :is(.screen-head h2,.screen-head>span,.reply>p){
  --phosphor-ink:var(--phosphor-body);
  background-image:repeating-linear-gradient(0deg,var(--phosphor-ink) 0 2px,color-mix(in srgb,var(--phosphor-ink) 75%,#446151) 2px 3px);
  background-clip:text;-webkit-background-clip:text;color:transparent;
 }
 .glass :is(.screen-head>span,.reply>.speaker,.reply--busy>.copy){--phosphor-ink:var(--phosphor-dim)}
 .glass :is(.screen-head h2,.reply--question>.copy){--phosphor-ink:var(--phosphor-key)}
 .glass ::selection{background:#b9f59d;color:#142419;text-shadow:none}
}
@media(forced-colors:active),print{
 .phosphor-output{display:none}
 .glass :is(.screen-head h2,.screen-head>span,.reply>p){color:CanvasText;background:none;text-shadow:none}
}

/* The character-rendered shell and the real terminal share the same register.
   Keep the screen copy native; only the divider and onscreen effects are marks. */
.glass .screen-head,.glass form{
 border-color:transparent;
 background-image:repeating-linear-gradient(90deg,#7ba87970 0 5px,transparent 5px 9px);
 background-repeat:no-repeat;background-size:100% 1px;
}
.glass .screen-head{background-position:left bottom}
.glass form{background-position:left top}
@media(forced-colors:active){
 .glass .screen-head,.glass form{background-image:none;border-color:CanvasText}
}

/* A local bitmap face for the entire device UI, including static text.
   Unicode outside the compact Chinese subset still uses native fallback. */
.cabinet{
 --crt-face:"CRT Dot Latin","CRT Dot CJK","Courier Prime",ui-monospace,monospace;
 font-family:var(--crt-face);font-synthesis:none
}
.glass{perspective:900px;letter-spacing:.01em;text-shadow:0 0 6px #a5f89465}
.screen-plane{position:relative;transform-origin:50% 50%;min-inline-size:0}
.glass .screen-head h2{font-size:1.02rem}
.glass .screen-head span,.glass .speaker{font-size:.84rem}
.glass .prompts button{font-size:.9rem}
.glass input{font-size:1rem}
.glass :is(.screen-head h2,.screen-head>span,.reply>p){
 background:none;color:var(--phosphor-ink,var(--phosphor-body))
}
.glass :is(.screen-head h2,.reply--question>.copy){color:var(--phosphor-key)}
.glass :is(.screen-head>span,.reply>.speaker,.reply--busy>.copy){color:var(--phosphor-dim)}
@media(max-width:420px){
 .glass .screen-head h2{font-size:.94rem;letter-spacing:.07em}
 .glass .screen-head span,.glass .speaker{font-size:.8rem}
 .glass .prompts button{font-size:.82rem}
}
@media(forced-colors:active),print{
 .glass :is(.screen-head h2,.screen-head>span,.reply>p){color:CanvasText;text-shadow:none}
}

/* This case is one CRT scene, including the editorial title above the glass. */
body{--crt-face:"CRT Dot Latin","CRT Dot CJK","Courier Prime",ui-monospace,monospace;font-family:var(--crt-face);font-synthesis:none}
.intro h1{line-height:1.12;text-wrap:balance}

/* Draw the inset glass rim and command keys from the same local ASCII bevel.
   Nine slices keep a fixed glyph pitch rather than stretching the corner marks. */
.cabinet{--crt-edge:url("assets/superset-character-edge.svg")}
.cabinet .glass{
 border-color:#213830;
 border-image:var(--crt-edge) 12 / 9px / 0 round;
 border-radius:10px;
 background-clip:padding-box;
 box-shadow:inset 0 0 1.4rem #080e0a,inset 0 0 0 1px #60827032;
}
.glass .screen-head{min-block-size:2.15rem;column-gap:1rem}
.glass .screen-head span{white-space:nowrap;text-align:end;margin-inline-start:auto}
.glass .prompts{gap:6px}
.glass .prompts button{
 border-color:#395f4e;border-image:var(--crt-edge) 12 / 5px / 0 round;
 background-clip:padding-box;
}
@media(max-width:420px){
 .cabinet .glass{border-image-width:6px}
 .glass .screen-head{column-gap:.5rem}
}
@media(forced-colors:active){
 .cabinet .glass,.glass .prompts button{border-image:none;border-color:CanvasText}
}

/* On desktop budget the whole terminal against the browser's usable height,
   not device DPI or inches. Only the transcript yields and scrolls. */
@media(min-width:720px) and (min-height:540px){
 body{
  display:grid;grid-template-rows:auto minmax(0,1fr);
  block-size:100vh;block-size:100dvh;min-block-size:0
 }
 main{
  display:grid;grid-template-rows:auto minmax(0,1fr);
  min-block-size:0;max-block-size:65rem;margin:0 auto;
  padding-block:clamp(.85rem,3dvh,2.1rem) max(36px,3dvh)
 }
 .intro h1{margin:.22em 0 .28em;font-size:clamp(2.35rem,7dvh,4.2rem)}
 .cabinet{
  display:grid;grid-template-rows:minmax(0,1fr) auto;min-block-size:0;
  margin-block-start:clamp(9px,1.8dvh,19px)
 }
 .cabinet .glass{
  display:grid;grid-template-rows:minmax(0,1fr);min-block-size:0;
  padding-block:clamp(.65rem,2.5dvh,1.65rem)
 }
 .screen-plane{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;min-block-size:0}
 .transcript{height:auto;min-block-size:0;overscroll-behavior-y:contain}
}
@media(min-width:720px) and (min-height:540px) and (max-height:700px){
 .bar{min-height:46px}
 main{padding-block-start:12px;padding-block-end:28px}
 .cabinet{--crt-air-bottom:24px;padding-block:10px;margin-block-start:6px}
 .intro h1{font-size:clamp(2rem,6.6dvh,2.85rem);margin-block-end:.18em}
 .cabinet .glass{padding-block:10px}
 .screen-head{padding-block-end:.45rem}
 .glass form{padding-block:.25rem}
}
@media(min-width:1600px) and (min-height:850px){
 :root{--terminal-max:clamp(54rem,52vw,61rem)}
}

/* Both native CRT scrollbars use the same phosphor track and thumb. Rotate
   the pattern for the axis instead of styling the suggestions separately. */
.transcript{overflow-anchor:none;scrollbar-gutter:stable}
.glass :is(.transcript,.prompts){
 --scroll-rail:#0c2113;--scroll-mark:#173e21;--scroll-ink:#6dba66;
 scrollbar-color:var(--scroll-ink) var(--scroll-rail)
}
.glass :is(.transcript,.prompts):is(:hover,:focus-visible,:focus-within){--scroll-ink:#93e284}
@supports selector(::-webkit-scrollbar-thumb){
 @media(pointer:fine) and (forced-colors:none){
  .glass :is(.transcript,.prompts){scrollbar-color:auto}
  .glass :is(.transcript,.prompts)::-webkit-scrollbar{width:11px;height:11px}
  .glass :is(.transcript,.prompts)::-webkit-scrollbar-track{
   --scroll-angle:0deg;
   background:repeating-linear-gradient(var(--scroll-angle),var(--scroll-mark) 0 2px,var(--scroll-rail) 2px 5px)
  }
  .glass :is(.transcript,.prompts)::-webkit-scrollbar-thumb{
   --scroll-angle:0deg;
   border:2px solid var(--scroll-rail);border-radius:0;
   background:repeating-linear-gradient(var(--scroll-angle),var(--scroll-ink) 0 3px,#2d6537 3px 4px)
  }
  .glass :is(.transcript,.prompts)::-webkit-scrollbar-track:horizontal,
  .glass :is(.transcript,.prompts)::-webkit-scrollbar-thumb:horizontal{--scroll-angle:90deg}
  .glass :is(.transcript,.prompts)::-webkit-scrollbar-thumb:hover,
  .glass :is(.transcript,.prompts)::-webkit-scrollbar-thumb:active{--scroll-ink:#a6ed91}
 }
}
@media(forced-colors:active){.glass :is(.transcript,.prompts){scrollbar-color:auto}}

/* Convex CRT optics. The phosphor is brighter toward the viewer at center
   and drops away around all four edges. Only paint layers are shaped; every
   input hit target, the transcript's selection, and native scroll stay live. */
body{
 background:radial-gradient(ellipse at 50% 41%,#102519 0%,#090e0b 48%,#050706 83%);
 color:#d5e9d9
}
.intro p{color:#9bab91}
.intro h1{color:#d2e8d0}
.cabinet{--crt-air-left:var(--crt-air-right)}
.cabinet .glass{
 --glow:#a1ed84;--rim:#2c673d;
 border-color:transparent;border-image:none;border-radius:0;
 background:none;box-shadow:none;perspective:1000px;
 color:var(--phosphor-body);text-shadow:var(--crt-glow)
}
/* The phosphor is visually curved by its light falloff, not a second
   outline: the glass plane follows the housing's concentric corner radius. */
.cabinet .glass,.glass::before,.glass::after{border-radius:clamp(8px,calc(var(--monitor-width) * .028),21px)}
.glass::before{
 background:
  var(--crt-glass-fill);
 box-shadow:inset 0 0 24px #010602,inset 0 0 1px 1px #22452a
}
.glass::after{
 background:
  var(--crt-glass-scan);
 opacity:.76
}
.glass :is(.screen-head h2,.screen-head>span,.reply>p){
 text-shadow:inherit
}
.glass .screen-head,.glass form{
 background-image:repeating-linear-gradient(90deg,#4ab65751 0 4px,transparent 4px 8px)
}
.glass input{
 text-shadow:0 0 1.5px #8aff608c,0 0 7px #1df41f52
}
.glass input::placeholder{color:var(--phosphor-dim)}
.glass .prompts button{
 border-image:none;border-color:#37733f;
 color:#8ee67e;text-shadow:0 0 4px #3ce84e55
}
.glass .prompts button:not(:hover,:focus-visible){
 background:repeating-linear-gradient(0deg,#0e2415 0 1px,#0b1c11 1px 3px)
}
.glass .prompts button:is(:hover,:focus-visible){
 color:#05140a;background:#a7f590;text-shadow:none
}
.glass .prompt-mark .wait-caret,.glass .reply--typing .copy::after{
 background:repeating-linear-gradient(0deg,#a0fc87 0 2px,#438d47 2px 3px);
 box-shadow:0 0 6px #73ef647a
}
.glass .screen-plane{
 /* Lens vignetting stays away from type. This extra horizontal safe area
    prevents the bowed corners cutting off mobile buttons or focus rings. */
 padding-inline:clamp(.28rem,1.1vw,.95rem)
}
@media(max-width:650px){
 .cabinet{padding-inline:clamp(.65rem,3vw,.9rem)}
 .glass .screen-plane{padding-inline:.16rem}
 .glass .screen-head{column-gap:.35rem}
}
@media(forced-colors:active),print{
 .cabinet .glass{
  background:Canvas;color:CanvasText;text-shadow:none;border-color:CanvasText
 }
 .glass::before,.glass::after{background:none;box-shadow:none}
 .glass :is(.screen-head h2,.screen-head>span,.reply>p,input,input::placeholder,.prompts button){color:CanvasText;text-shadow:none}
}

@media(min-width:900px){
 .glass .prompts button{font-size:.85rem;padding-inline:.42rem}
}

/* The original terminal controls occupy the front of the ASCII base. */
.cabinet:has([data-lang]) .panel{
 margin-block-start:1rem;
 padding-inline:clamp(.4rem,1.4vw,.9rem);
}
@media(max-width:650px),(max-height:700px){
 .cabinet:has([data-lang]) .panel{margin-block-start:.7rem}
}

.cabinet .glass,.cabinet .panel{transform-origin:0 0}
.cabinet .glass{perspective:none}
@media(forced-colors:active),print{
 .cabinet .glass,.cabinet .panel{transform:none!important}
 .cabinet .crt-particles{visibility:hidden}
}

/* The reference hardware is a 1.24:1 upright monitor sitting on a separate
   horizontal computer, not a widescreen terminal stretched to fill the page. */
.cabinet{
 --monitor-width:min(46rem,calc((100vw - 2 * var(--page-inset)) / 1.25));
 --bezel:clamp(6px,calc(var(--monitor-width) * .021),14px);
 --crt-air-top:4px;--crt-air-left:calc(var(--monitor-width) * .12);
 --crt-air-right:calc(var(--monitor-width) * .15);--crt-air-bottom:5px;
 display:block;inline-size:var(--monitor-width);block-size:auto;align-self:start;
 margin:clamp(6px,1.2vh,12px) auto 0;padding:var(--bezel);
 border-radius:0
}
.cabinet .glass{
 display:grid;grid-template-rows:minmax(0,1fr);min-block-size:0;
 block-size:calc(var(--monitor-width) / 1.24 - 2 * var(--bezel));
 border-width:0;padding:clamp(.65rem,calc(var(--monitor-width) * .044),1.4rem)
}
.cabinet .screen-plane{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;min-block-size:0}
.cabinet .transcript{height:auto;min-block-size:0;overscroll-behavior-y:contain}
.cabinet:has([data-lang]) .panel{
 margin:calc(var(--monitor-width) * .078) 0 0;
 min-block-size:calc(var(--monitor-width) * .172);padding:0 .4rem;
}
@media(min-width:720px) and (min-height:540px){
 .cabinet{--monitor-width:min(46rem,calc((100vw - 2 * var(--page-inset)) / 1.25),calc((100dvh - clamp(138px,26dvh,236px)) * .943))}
}
@media(max-width:650px){
 .cabinet .glass{padding:clamp(.6rem,3.6vw,.95rem)}
 .cabinet .screen-plane{padding-inline:.08rem}
 .cabinet .screen-head h2,.cabinet .glass input{font-size:.86rem}
 .cabinet .screen-head span,.cabinet .transcript{font-size:.76rem}
}
@media(max-width:340px){
 /* Leave a useful native scroll area when translated suggestions wrap. */
 .cabinet .glass{min-block-size:14.3rem}
}
@media(min-width:720px) and (min-height:540px) and (max-height:700px){
 main{padding-block-end:20px}
}
@media(max-width:650px){
 .cabinet .glass{min-block-size:15rem}
 .cabinet .screen-head{padding-block-end:.35rem}
}

/* Keep the three starter questions visible side by side, even on the
   narrow CRT. Wrap their labels instead of sizing down the conversation. */
.glass .prompts{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:clamp(3px,.5vw,6px);padding-block:.4rem .125rem
}
.glass .prompts button{
 min-inline-size:0;min-block-size:44px;
 font-size:clamp(.67rem,1.2vw,.82rem);line-height:1.16;
 padding:.2rem .3rem;white-space:normal;overflow-wrap:anywhere
}
.glass .prompts button:focus-visible{outline-offset:-2px}

/* Keep the CRT cabinet. Use native terminal document layout for the final result. */
.glass .reply-body{color:var(--phosphor-ink,var(--phosphor-key));white-space:pre-line}
.glass .reply--busy .reply-body{color:var(--phosphor-dim)}
.terminal-report{
 --report-edge:color-mix(in srgb,var(--phosphor-key) 52%,transparent);
 min-inline-size:0;max-inline-size:70ch;
 font: .91em/1.54 var(--crt-face);
 font-synthesis:weight style;white-space:normal;color:var(--phosphor-key);text-shadow:none
}
.terminal-report section{margin-block-start:1.02em}
.terminal-report h3{font:inherit;font-weight:700;margin:0 0 .42em}
.terminal-report .terminal-finding{font-size:1.1em;margin-block-end:.24em}
.terminal-finding::before{content:"●";font-size:.74em;margin-inline-end:.68em}
.terminal-report ul,.terminal-report ol{margin:0;padding-inline-start:1.4em}
.terminal-report li+li{margin-block-start:.35em}
.terminal-report p{white-space:normal}
.terminal-report table{
 border-collapse:collapse;font:inherit;text-align:start;inline-size:min(100%,35em);
 font-variant-numeric:tabular-nums;table-layout:fixed
}
.terminal-report :is(th,td){
 border:1px solid var(--report-edge);padding:.36em .55em;text-align:start;vertical-align:top
}
.terminal-report tbody th{font-weight:400}
.terminal-report :is(th,td):first-child{inline-size:28%}
.terminal-report .terminal-table-note{color:var(--phosphor-dim);margin-block:.45em}
.terminal-report .terminal-change{margin-block-start:.6em}
.terminal-report footer{color:var(--phosphor-dim);margin-block-start:1.22em}
.terminal-report footer p+p{font-style:italic;margin-block-start:.33em}
@media(max-width:550px){
 .terminal-report{font-size:max(.76rem,.95em);line-height:1.52}
 .terminal-report :is(th,td){padding-inline:.32em}
}
@media(forced-colors:active){
 .glass .reply-body,.terminal-report,.terminal-report .terminal-table-note,.terminal-report footer{color:CanvasText;text-shadow:none}
 .terminal-report{--report-edge:CanvasText}
}

.superset-run{font:.91em/1.45 var(--crt-face)}
.superset-run summary{color:var(--phosphor-dim);cursor:pointer}
.superset-run-log{list-style:none;padding:0 0 0 .65em;border-inline-start:1px solid var(--rim);margin:.5em 0 1em}
.superset-run-log li+li,.superset-run-result:not(:empty){margin-block-start:.68em}
.superset-run-log li:not(.superset-run-working) strong::before{content:"▸";margin-inline-end:.45em}
.superset-run-actions{display:flex;flex-wrap:wrap;gap:.4em;margin-block-start:.42em}
.superset-run-actions button{color:var(--phosphor-key);max-inline-size:100%}
.superset-run-actions .superset-run-primary{border-color:currentColor}

.superset-run-spinner{display:inline-grid;inline-size:1ch;margin-inline-end:.55em;text-align:center}
.superset-run-spinner>span{grid-area:1/1;opacity:0;animation:terminal-spinner-tick .64s step-end infinite}
.superset-run-spinner>span:nth-child(2){animation-delay:.16s}
.superset-run-spinner>span:nth-child(3){animation-delay:.32s}
.superset-run-spinner>span:nth-child(4){animation-delay:.48s}
@keyframes terminal-spinner-tick{0%{opacity:1}25%,100%{opacity:0}}
@media(prefers-reduced-motion:reduce){
 .superset-run-spinner>span{animation:none}
 .superset-run-spinner>span:first-child{opacity:1}
}

.superset-run-typing::after{content:"";display:inline-block;inline-size:.55em;block-size:.86em;margin-inline-start:.2em;background:currentColor}
