/* JASON, FLOATING (owner 2026-11-19): the terminal window and the voice popup stay on screen when Jason's panel closes. */
/* ── terminal (looks like PowerShell, is not) ── */
.jt-win { position: fixed; z-index: 60; display: flex; flex-direction: column; min-width: 340px; min-height: 200px; resize: both; overflow: hidden;
  background: #010805; border: 1px solid rgba(51,255,119,.45); border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 22px rgba(51,255,119,.18); }
.jt-win[hidden] { display: none; }
.jt-title { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 4px 0 10px; flex: none; cursor: move; user-select: none;
  background: linear-gradient(180deg, #0d2416, #08170e); border-bottom: 1px solid rgba(51,255,119,.3); color: #9dffbf; font: 500 12px/1 'Segoe UI', system-ui, sans-serif; }
.jt-ico { font: 700 12px/1 Consolas, 'Cascadia Mono', monospace; color: #33ff77; background: #031a0b; border: 1px solid rgba(51,255,119,.4); padding: 2px 4px; border-radius: 3px; }
.jt-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jt-btns { display: flex; } .jt-b { width: 38px; height: 28px; border: 0; background: transparent; color: #9dffbf; font-size: 13px; cursor: pointer; }
.jt-b:hover { background: rgba(51,255,119,.14); } .jt-x:hover { background: #b3261e; color: #fff; }
.jt-body { flex: 1; overflow: auto; padding: 8px 12px 10px; cursor: text; font: 400 15px/1.45 'Cascadia Mono', Consolas, 'VT323', monospace; color: #33ff77;
  text-shadow: 0 0 6px rgba(51,255,119,.45); background: repeating-linear-gradient(180deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.18) 2px 3px), #010805; }
.jt-l { white-space: pre-wrap; word-break: break-word; min-height: 1.45em; }
.jt-l.sys { color: #1fcc5c; opacity: .85; } .jt-l.me { color: #c8ffd9; } .jt-l.jason { color: #33ff77; }
.jt-l.voice { opacity: .8; } .jt-l.err { color: #ff6b5e; text-shadow: 0 0 6px rgba(255,80,60,.4); }
.jt-l.pending::after { content: '\2588'; animation: jtBlink 1s steps(1) infinite; margin-left: 2px; }
@keyframes jtBlink { 50% { opacity: 0; } }
.jt-line { display: flex; gap: 8px; align-items: baseline; margin-top: 2px; }
.jt-ps { color: #c8ffd9; white-space: nowrap; }
.jt-in { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #c8ffd9; font: inherit; text-shadow: inherit; caret-color: #33ff77; }
.jt-win.jt-mini { height: auto !important; min-height: 0; resize: none; } .jt-win.jt-mini .jt-body { display: none; }
.jt-body::-webkit-scrollbar { width: 10px; } .jt-body::-webkit-scrollbar-thumb { background: rgba(51,255,119,.25); border-radius: 5px; }

/* ── floating voice popup ── */
.jv-pop { position: fixed; right: 24px; top: 88px; z-index: 61; width: 340px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, rgba(3,16,12,.96), rgba(1,8,6,.97)); border: 1px solid rgba(39,230,193,.45);
  box-shadow: 0 20px 60px rgba(0,0,0,.65), 0 0 28px rgba(39,230,193,.18); color: #d7fff4; }
.jv-head { display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 12px; cursor: move; user-select: none; border-bottom: 1px solid rgba(39,230,193,.2); }
.jv-dot { width: 8px; height: 8px; border-radius: 50%; background: #33ff77; box-shadow: 0 0 10px #33ff77; animation: jvPulse 1.6s ease-in-out infinite; }
@keyframes jvPulse { 50% { opacity: .35; } }
.jv-title { flex: 1; font: 600 12px/1 'Chakra Petch', system-ui, sans-serif; letter-spacing: .16em; color: #27e6c1; }
.jv-b { width: 30px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: #9fe; cursor: pointer; font-size: 14px; } .jv-b:hover { background: rgba(39,230,193,.15); }
.jv-stage { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px 4px; }
.jv-face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid rgba(39,230,193,.5);
  box-shadow: 0 0 calc(8px + var(--tv, 0) * 34px) rgba(51,255,119, calc(.25 + var(--tv, 0) * .6)); transform: scale(calc(1 + var(--tv, 0) * .06)); transition: transform .08s; }
.jv-wave { flex: 1; height: 64px; min-width: 0; }
.jv-pop .tk { margin: 0; padding: 6px 12px 12px; border: 0; background: none; }
.jv-pop .tk-start { display: none; }
/* hidden (still talking): a compact pill */
.jv-pop.jv-min { width: 230px; }
.jv-pop.jv-min .jv-stage { padding: 4px 10px 8px; } .jv-pop.jv-min .jv-face { width: 30px; height: 30px; } .jv-pop.jv-min .jv-wave { height: 30px; }
.jv-pop.jv-min .tk-heard, .jv-pop.jv-min .tk-sub, .jv-pop.jv-min .tk-proposal, .jv-pop.jv-min .tk-type, .jv-pop.jv-min .tk-mute { display: none !important; }
.jv-pop.jv-min .tk { padding: 0 10px 10px; }
.tk.tk-ph { padding: 8px 0; }
/* owner 2026-11-19 (speed): while Jason works, the station's background animations pause; Jason's own windows keep moving */
html.scenery-frozen body *:not(.jv-pop, .jv-pop *, .jt-win, .jt-win *, .gp-greet, .gp-greet *),
html.scenery-frozen body *:not(.jv-pop, .jv-pop *, .jt-win, .jt-win *, .gp-greet, .gp-greet *)::before,
html.scenery-frozen body *:not(.jv-pop, .jv-pop *, .jt-win, .jt-win *, .gp-greet, .gp-greet *)::after { animation-play-state: paused !important; }
@media (max-width: 600px) { .jt-win { left: 8px !important; right: 8px; width: auto !important; } .jv-pop { right: 8px; left: 8px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .jv-dot, .jt-l.pending::after { animation: none; } }

/* owner 2026-11-19: terminal working session — live steps and formatted answers */
.jt-l.step { color: #1fcc5c; opacity: .75; font-size: .92em; } .jt-l.step.err { color: #ff8a7a; }
.jt-md .jt-who { color: #33ff77; margin-right: 8px; } .jt-md p { margin: .25em 0; } .jt-md ul, .jt-md ol { margin: .25em 0 .25em 1.4em; padding: 0; }
.jt-md code { background: rgba(51,255,119,.1); padding: 0 4px; border-radius: 3px; } .jt-md pre { background: rgba(51,255,119,.07); padding: 6px 8px; overflow: auto; }
.jt-md table { border-collapse: collapse; margin: .4em 0; } .jt-md th, .jt-md td { border: 1px solid rgba(51,255,119,.3); padding: 2px 8px; text-align: left; } .jt-md th { color: #c8ffd9; }
.jt-md h1, .jt-md h2, .jt-md h3, .jt-md h4 { font-size: 1em; color: #c8ffd9; margin: .5em 0 .2em; } .jt-md a { color: #7dffb0; }
