/* Visual system from the supplied ThoxBeam setup and compute references. */
:root{--black:#020605;--desktop:#030807;--window:#040908;--surface:#080e0d;--surface-2:#0b1411;--surface-3:#102019;--line:rgba(140,178,157,.14);--line-strong:rgba(140,178,157,.24);--line-green:rgba(0,211,132,.3);--text:#f4f7f5;--text-soft:#c3cec8;--muted:#929f97;--dim:#859189;--emerald:#00c77e;--emerald-bright:#2de6a1;--radius:9px;--radius-lg:12px}
body{padding-top:60px;background:radial-gradient(ellipse at 80% 10%,rgba(0,88,58,.08),transparent 55%),#020605}
body::before,.ambient{display:none}
.system-bar{height:60px;gap:24px;padding:0 30px;background:#050b09;border-bottom:1px solid var(--line);font-size:.875rem}
.system-brand{gap:10px;flex:none}.system-brand img{width:28px;height:28px}.system-brand strong{font-size:1.6rem;letter-spacing:-.05em}.system-brand strong span,.workspace-footer strong>span{color:var(--emerald)}
.top-nav{display:flex;align-items:stretch;gap:8px;height:100%;flex:1;min-width:0}
.top-nav button{position:relative;padding:0 12px;border:0;color:var(--muted);background:transparent;font-size:.875rem;cursor:pointer}
.top-nav button.is-active{color:var(--text);background:linear-gradient(0deg,rgba(0,199,126,.08),transparent 70%)}
.top-nav button.is-active::after{content:"";position:absolute;left:12px;right:12px;bottom:9px;height:2px;border-radius:2px;background:var(--emerald);box-shadow:0 0 9px rgba(0,199,126,.3)}
.top-nav button:hover{color:var(--text)}
.header-profile{display:flex;align-items:center;gap:10px;flex:none;font-size:.875rem}.header-profile .avatar{border-radius:50%;font-size:.75rem}
.preview-state{font-size:.75rem;letter-spacing:0}.state-warning{box-shadow:none}
.desktop-shell{height:calc(100dvh - 164px - env(safe-area-inset-bottom));min-height:610px;padding:16px 24px 10px}
.app-window{width:min(1600px,100%);min-height:570px;background:#040908;border-radius:10px;box-shadow:0 18px 60px rgba(0,0,0,.3);backdrop-filter:none}
.window-bar,.content-bar{display:none}
.app-grid{height:100%;grid-template-columns:198px minmax(0,1fr)}
.app-window[data-current-view="overview"] .app-grid{grid-template-columns:1fr}
.app-window[data-current-view="overview"] .sidebar{display:none}
.sidebar{background:#050b09;padding:20px 10px 14px}.product-lockup{gap:8px;padding-left:6px}.product-name{font-size:.9rem}.product-sub{font-size:.65rem;letter-spacing:.06em}.beam-mark{border:0;background:transparent;box-shadow:none}
.nav-label{font:.875rem/1.4 var(--font-ui);letter-spacing:0;text-transform:none;color:var(--muted)}
.nav-button{border-radius:5px;min-height:46px}.nav-button.is-active{border-color:rgba(0,199,126,.2);box-shadow:inset 3px 0 var(--emerald);background:rgba(0,199,126,.09)}
.nav-button em{font-size:.65rem}.drive-card{border-radius:7px}.drive-card strong{font-size:.875rem}.drive-card small,.drive-card p,.drive-card dt,.drive-card dd{font-size:.75rem}.profile strong{font-size:.75rem}.profile span{font-size:.7rem}
.content-shell{background:radial-gradient(ellipse at 85% 0,rgba(0,110,68,.04),transparent 45%),#040908}
.view{padding:26px 28px}.eyebrow{font-size:.75rem;line-height:1.5;letter-spacing:.13em;color:#4eb488}
.setup-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:0 8px 22px}
.setup-intro h2{margin:8px 0 10px;font-size:clamp(1.85rem,3.2vw,2.7rem);line-height:1.12;letter-spacing:-.045em}.setup-intro>div>p:not(.eyebrow){margin:0;color:var(--muted);font-size:1rem;line-height:1.6}.setup-intro .setup-motto{margin-top:4px!important;color:var(--text-soft)!important}
.device-signature{display:flex;align-items:center;gap:12px;flex:none}.device-signature>p{margin:0;color:#94a59b;font:.75rem/1.8 var(--font-mono);letter-spacing:.18em}
.device-peek{position:relative;width:260px;height:158px;overflow:hidden;mask-image:radial-gradient(ellipse 72% 90%,black 60%,transparent 99%)}
.device-peek img{position:absolute;top:50%;left:0;width:285%;max-width:none;height:auto;transform:translateY(-50%)}
.setup-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));list-style:none;margin:0 0 20px;padding:20px 12px 17px;border:1px solid var(--line);border-radius:9px;background:linear-gradient(180deg,rgba(14,33,24,.2),transparent)}
.setup-steps li{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 6px;gap:6px}
.setup-steps li:not(:last-child)::after{content:"";position:absolute;top:18px;left:calc(50% + 20px);width:calc(100% - 40px);height:1px;background:#254234}
.setup-steps li>span{position:relative;z-index:1;display:grid;place-items:center;width:37px;height:37px;margin-bottom:6px;border:1px solid #355043;border-radius:50%;color:#8aa898;background:#09140f;font:.875rem/1 var(--font-mono)}
.setup-steps strong{color:var(--text-soft);font-size:.875rem;font-weight:400}.setup-steps small{font-size:.75rem;color:var(--muted)}
.setup-steps li.is-ready>span{color:#022013;background:var(--emerald);border-color:var(--emerald);box-shadow:0 0 16px rgba(0,199,126,.2)}
.setup-steps li.is-running>span{border-color:var(--emerald-bright);color:var(--emerald-bright)}
.setup-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.setup-card{min-width:0;display:flex;flex-direction:column;align-items:center;padding:22px 16px 17px;border:1px solid var(--line);border-radius:9px;background:linear-gradient(145deg,#0a1110,#050b09)}
.setup-card>.app-glyph{width:29px;height:29px;margin-bottom:13px;color:var(--emerald)}
.setup-card h3{margin:0 0 17px;font-size:1rem;font-weight:600;text-align:center;letter-spacing:-.025em}
.setup-card ul{align-self:stretch;list-style:none;margin:0 0 18px;padding:0;display:grid;gap:12px;flex:1}
.setup-card li{position:relative;padding-left:16px;color:var(--muted);font-size:.875rem;line-height:1.55}
.setup-card li::before{content:"";position:absolute;left:0;top:.5em;width:5px;height:5px;border:1px solid #577363;border-radius:50%}
.setup-card .privacy-checks li::before{background:#0a6640;border-color:#199b63}
.card-state{align-self:stretch;font:400 .75rem/1.4 var(--font-mono);color:var(--muted);text-align:center;letter-spacing:.025em}
.setup-card .text-button{font-size:.875rem;color:var(--emerald-bright);min-height:32px}
.setup-card.is-ready{border-color:rgba(0,199,126,.4)}
.setup-action-band{display:flex;align-items:center;gap:20px;margin-top:18px;padding:21px 24px;border:1px solid rgba(35,166,105,.5);border-radius:9px;background:linear-gradient(100deg,rgba(0,125,76,.07),transparent)}
.setup-action-band>.app-glyph{width:38px;height:38px;flex:none;color:var(--emerald);filter:drop-shadow(0 0 8px rgba(0,199,126,.15))}
.setup-action-band>div{flex:1}.setup-action-band h3{margin:0 0 5px;font-size:1.05rem;letter-spacing:-.015em}.setup-action-band p{margin:0;color:var(--muted);font-size:.875rem;line-height:1.6}.setup-action-band .button{flex:none}
.button{min-height:44px;font-size:.875rem;border-radius:6px}.button-primary{background:linear-gradient(180deg,#00dd91,#00b973);box-shadow:0 0 19px rgba(0,199,126,.14)}.button-secondary{background:#0b1410}.button-compact{min-height:38px}
.browser-details{margin:18px 0;border:1px solid var(--line);border-radius:8px;padding:0 18px;background:#050b09}
.browser-details summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;color:var(--text-soft);font-size:.875rem;cursor:pointer;list-style:none}
.browser-details summary::-webkit-details-marker{display:none}.browser-details summary::after{content:"+";color:var(--emerald);font-size:1.25rem}.browser-details[open] summary::after{content:"−"}.browser-details summary span{margin-left:auto;color:var(--muted)}
.browser-details .section-heading{margin:0 0 16px}.browser-details .probe-layout{margin-bottom:18px}
.probe-card strong,.probe-summary h3{font-size:.875rem}.probe-card span,.probe-result,.probe-summary p,.section-heading>p{font-size:.75rem}.probe-icon{font-size:.75rem}.probe-result{line-height:1.4}.probe-card span{white-space:normal}
.thoxkey-lineup{display:grid;grid-template-columns:280px 1fr;align-items:center;gap:24px;margin:20px 0 0;padding:18px 22px;border:1px solid var(--line);border-radius:9px;background:#030906}
.thoxkey-lineup>img{display:block;width:100%;height:auto;aspect-ratio:2.5;object-fit:cover;object-position:center 51%}.thoxkey-lineup h3{margin:5px 0;font-size:1.2rem}.thoxkey-lineup p{margin:0;color:var(--muted);font-size:.875rem}.thoxkey-lineup ul{display:flex;flex-wrap:wrap;gap:8px 22px;list-style:none;margin:12px 0 0;padding:0;font-size:.875rem;color:var(--text-soft)}
.workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px}.workspace-footer strong{font-size:1.15rem;color:var(--text)}.workspace-footer small{margin-left:10px;font-size:.75rem;font-weight:400}.workspace-footer p{margin:0;color:#79877f;font:.75rem/1.6 var(--font-mono);letter-spacing:.08em}
.view-intro{padding-bottom:22px}.view-intro h2{font-size:clamp(1.65rem,2.5vw,2.2rem);line-height:1.15}.view-intro>div>p:last-child{font-size:1rem}.badge,.source-badge{font-size:.75rem;line-height:1.4;min-height:27px;letter-spacing:0;border-radius:5px}
.chat-workspace{height:auto;min-height:580px;grid-template-columns:minmax(185px,.7fr) minmax(320px,1.7fr) minmax(205px,.75fr);gap:12px;align-items:start}
.chat-context{padding:15px;display:block}.chat-context .chat-model-glyph{width:36px;height:36px;margin:12px 0 0;font-size:.875rem}.chat-context h3{margin:8px 0 3px}.chat-context>code{font-size:.75rem;overflow-wrap:anywhere}.chat-context dl{margin:16px 0}.chat-context dt,.chat-context dd,.context-notice p{font-size:.75rem}.context-notice strong{font-size:.875rem}
.compute-model-list{display:grid;gap:7px;margin:13px 0 20px}.compute-model-option{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:center;min-width:0;padding:12px 9px;border:1px solid var(--line);border-radius:6px;background:#060e0a;text-align:left;color:var(--text-soft);cursor:pointer}.compute-model-option svg{width:24px;height:24px;color:#80a891}.compute-model-option strong{display:block;font-size:.875rem;font-weight:400}.compute-model-option small{display:block;margin-top:4px;font:.75rem/1.5 var(--font-mono);color:var(--muted)}.compute-model-option.is-selected{border-color:#2b8156;background:linear-gradient(120deg,rgba(0,199,126,.1),transparent);box-shadow:inset 2px 0 #00c77e}
.chat-panel{min-height:580px}.composer{order:-2;margin:0;padding:17px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#070e0b}.console-label{display:block;margin-bottom:10px;color:var(--text);font-size:1rem}.composer textarea{min-height:128px;max-height:260px;padding:12px;border:1px solid var(--line);border-radius:5px;background:#0b1310;font:.875rem/1.7 var(--font-mono)}.composer textarea:focus-visible{outline:2px solid var(--emerald)}.composer-footer{margin-top:10px;flex-wrap:wrap}.activity-line{font-size:.75rem;line-height:1.5}.composer-actions{margin-left:auto}.prompt-chips{order:-1;flex-wrap:wrap;margin:0;padding:12px 16px;border-bottom:1px solid var(--line)}.prompt-chips button{font-size:.75rem;min-height:30px}.chat-topline{min-height:43px;padding:0 16px}.chat-topline strong,.text-button{font-size:.75rem}.chat-log{max-height:580px;padding:16px}.message{max-width:100%;padding:12px;background:#09130e;border-radius:6px}.message p{font:.875rem/1.75 var(--font-mono)}.message-meta{font-size:.75rem}.message-user{border-color:rgba(0,199,126,.25)}
.compute-system{display:grid;gap:12px}.system-panel{padding:17px 15px;border:1px solid var(--line);border-radius:9px;background:linear-gradient(145deg,#0a1110,#050b09)}.system-panel h3{margin:0 0 18px;font-size:1rem;font-weight:400}.telemetry-gauge{width:115px;height:115px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;margin:0 auto 18px;border:3px solid #193b2b;border-radius:50%;box-shadow:inset 0 0 18px rgba(0,199,126,.025)}.telemetry-gauge strong{font:400 2rem/1 var(--font-mono);color:var(--text-soft)}.telemetry-gauge span{font:.65rem/1 var(--font-mono);color:var(--muted)}.system-panel dl{display:grid;gap:12px;margin:0 0 18px}.system-panel dl>div{display:flex;justify-content:space-between;gap:10px}.system-panel dt,.system-panel dd{margin:0;font-size:.75rem;line-height:1.5}.system-panel dt{color:var(--muted)}.system-panel dd{color:var(--text-soft);text-align:right}.runtime-state-list{display:grid;gap:14px;margin:0;padding-left:15px;color:var(--muted);font-size:.875rem;line-height:1.55}.runtime-state-list li::marker{color:#548c69}
.model-ident strong,.model-inspector>p,.architecture-detail>p{font-size:1rem}.model-ident code,.model-cell,.model-status,.inspector-facts dt,.inspector-facts dd,.code-tab{font-size:.75rem}.filter-button{font-size:.875rem}.model-inspector{border-radius:9px}.control-card strong{font-size:.875rem}.control-card p,.control-card>span,.boundary-list p,.boundary-list strong{font-size:.75rem}.architecture-node strong{font-size:.875rem}.architecture-node small,.architecture-node em,.architecture-node>b,.detail-facts span,.detail-facts strong{font-size:.75rem}.code-panel{font-size:.875rem}
.app-dock{border-radius:16px;background:linear-gradient(150deg,rgba(14,26,20,.98),rgba(4,12,8,.98));border-color:rgba(49,135,88,.38)}.dock-tile{border-radius:9px;background:linear-gradient(145deg,#173125,#09180f);border-color:#294c38}.dock-item.is-active .dock-tile{background:linear-gradient(145deg,#194b32,#092316)}
@media(max-width:1250px){.system-bar{gap:16px;padding:0 20px}.header-profile>span:last-child{display:none}.chat-workspace{grid-template-columns:minmax(190px,.75fr) minmax(0,1.8fr)}.compute-system{grid-column:1/-1;grid-template-columns:1fr 1fr}.system-panel dl{grid-template-columns:1fr 1fr;column-gap:24px}.telemetry-gauge{width:90px;height:90px;float:left;margin:0 20px 12px 0}.system-panel .button{clear:both}.setup-intro{gap:18px}.device-peek{width:215px;height:150px}.setup-cards{gap:9px}.setup-card{padding:20px 12px 15px}}
@media(max-width:1000px){.setup-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.setup-card:last-child{grid-column:span 2}.setup-intro{padding-left:0;padding-right:0}.device-signature>p{display:none}.setup-steps{padding-left:4px;padding-right:4px}.setup-steps strong{font-size:.75rem}.setup-steps small{font-size:.75rem}}
@media(max-width:900px){body{padding-top:100px;padding-bottom:calc(116px + env(safe-area-inset-bottom));overflow:auto}.system-bar{height:100px;flex-wrap:wrap;gap:0 12px;padding:9px 16px 0;align-content:space-between}.system-brand strong{font-size:1.4rem}.system-brand img{width:25px;height:25px}.top-nav{order:4;flex:1 0 100%;height:43px;justify-content:center;gap:8px}.top-nav button{font-size:.875rem;padding:0 12px}.top-nav button.is-active::after{bottom:4px}.preview-state{margin-left:auto;font-size:.75rem}.header-profile .avatar{width:28px;height:28px}.desktop-shell{height:auto;min-height:0;padding:10px}.app-window{height:auto;min-height:0}.app-grid,.app-window[data-current-view="overview"] .app-grid{height:auto;min-height:0;grid-template-columns:1fr}.sidebar{display:none}.content-shell{min-height:0}.view{height:auto;min-height:calc(100dvh - 240px);padding:22px 20px;overflow:visible}.view-stack{overflow:visible}.setup-intro h2{font-size:2rem}.setup-intro>div>p:not(.eyebrow){font-size:.875rem}.setup-action-band{padding:18px;gap:14px}.setup-action-band .button{max-width:200px}.workspace-footer{align-items:flex-start}.workspace-footer p{max-width:240px;text-align:right}.chat-workspace{grid-template-columns:minmax(170px,.75fr) minmax(0,1.7fr)}.chat-context{display:block}.chat-context>.button{width:100%}.view-intro{gap:15px}}
@media(max-width:640px){.view{padding:20px 15px}.setup-intro{display:grid;grid-template-columns:1fr;gap:10px;padding-bottom:17px}.setup-intro h2{font-size:1.95rem}.device-signature{justify-content:center}.device-signature>p{display:block}.device-peek{width:230px;height:130px}.setup-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 4px;padding:18px 7px}.setup-steps li:nth-child(3)::after{display:none}.setup-steps strong{font-size:.875rem}.setup-cards{grid-template-columns:1fr 1fr;gap:10px}.setup-card:last-child{grid-column:span 2}.setup-card{padding:18px 12px 15px}.setup-card h3{font-size:.95rem}.setup-card li{font-size:.875rem}.setup-card .card-state{font-size:.75rem}.setup-action-band{display:grid;grid-template-columns:30px 1fr}.setup-action-band>.app-glyph{width:29px}.setup-action-band .button{grid-column:1/-1;max-width:none;width:100%}.browser-details{padding:0 12px}.thoxkey-lineup{grid-template-columns:1fr;padding:18px;gap:12px}.thoxkey-lineup>img{max-width:480px;margin:auto}.thoxkey-lineup ul{gap:8px 14px}.workspace-footer{display:block}.workspace-footer p{max-width:none;margin-top:10px;text-align:left;font-size:.7rem}.chat-workspace{display:flex;flex-direction:column;gap:14px}.chat-context,.chat-panel,.compute-system{width:100%}.compute-model-list{grid-template-columns:1fr 1fr}.chat-context dl{grid-template-columns:1fr 1fr;gap:10px 18px}.chat-context .context-notice{margin-bottom:12px}.chat-panel{min-height:560px}.compute-system{grid-template-columns:1fr}.system-panel dl{grid-template-columns:1fr}.system-panel{min-width:0}.view-intro .badge{margin-top:12px}.composer-footer .activity-line{max-width:none}.message{max-width:100%}.code-panel{font-size:.75rem}}
@media(max-width:370px){.system-bar{padding-left:10px;padding-right:10px}.system-brand{gap:6px}.system-brand strong{font-size:1.2rem}.preview-state{font-size:.65rem}.top-nav{gap:0}.top-nav button{padding:0 10px}.view{padding:18px 12px}.setup-cards{grid-template-columns:1fr}.setup-card:last-child{grid-column:auto}.setup-card{align-items:flex-start}.setup-card h3{text-align:left}.setup-card .card-state{text-align:left}.compute-model-list{grid-template-columns:1fr}.device-peek{width:195px;height:120px}}
@media(min-width:901px) and (max-height:800px){body{overflow:auto;padding-bottom:calc(116px + env(safe-area-inset-bottom))}.desktop-shell{height:650px}}

/* Craig's local-only mascot surprise never captures input or blocks the workspace. */
.header-profile{position:relative}.header-profile summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none;min-height:40px}.header-profile summary::-webkit-details-marker{display:none}.profile-options{position:absolute;top:calc(100% + 9px);right:0;width:240px;padding:10px;border:1px solid #2f5942;border-radius:10px;background:#08120d;box-shadow:0 15px 50px rgba(0,0,0,.65)}.profile-options>p{margin:3px 6px 9px;color:var(--muted);font-size:.75rem}.profile-options button{width:100%;display:block;padding:11px 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text-soft);text-align:left;font-size:.875rem;cursor:pointer}.profile-options button small{display:block;margin-top:3px;color:var(--muted);font-size:.75rem}.profile-options button[aria-pressed="true"],.profile-options button:hover{border-color:#2a7550;background:#0d2719}.profile-options button[hidden]{display:none}.profile-options #summon-thoxy{margin-top:8px;border-top:1px solid var(--line);color:var(--emerald-bright)}
.thoxy-visit{--fox-size:190px;position:fixed;z-index:300;width:270px;max-width:calc(100vw - 28px);pointer-events:none;filter:drop-shadow(0 6px 17px rgba(0,0,0,.45));animation:fox-entrance .65s cubic-bezier(.18,.85,.3,1.15)}.thoxy-visit[hidden]{display:none}.thoxy-visit[data-corner="top-left"]{left:18px;top:82px}.thoxy-visit[data-corner="top-right"]{right:18px;top:82px}.thoxy-visit[data-corner="bottom-left"]{left:18px;bottom:calc(120px + env(safe-area-inset-bottom))}.thoxy-visit[data-corner="bottom-right"]{right:18px;bottom:calc(120px + env(safe-area-inset-bottom))}.thoxy-speech{position:relative;padding:16px 34px 12px 16px;border:1px solid #37db9b;border-radius:16px 16px 6px 16px;background:linear-gradient(140deg,#09271b,#07110c);box-shadow:0 0 22px rgba(0,224,145,.12);pointer-events:auto}.thoxy-kicker{display:block;color:#65eeb1;font:700 .65rem/1.5 var(--font-mono);letter-spacing:.07em}.thoxy-speech p{margin:8px 0 10px;color:#f1fff7;font-size:.875rem;line-height:1.5}.thoxy-speech #dismiss-thoxy{position:absolute;top:4px;right:3px;width:34px;height:34px;border:0;background:transparent;color:#b0d4bf;font-size:1.4rem;cursor:pointer}.thoxy-speech #snooze-thoxy{min-height:34px;padding:5px 0;border:0;background:transparent;color:#84bd9e;font-size:.75rem;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.thoxy-mascot{display:block;width:var(--fox-size);height:auto;max-height:40dvh;object-fit:contain;margin:-1px auto 0;filter:drop-shadow(0 0 15px rgba(0,223,148,.18));pointer-events:none}
@keyframes fox-entrance{0%{opacity:0;transform:translateY(34px) rotate(-7deg) scale(.85)}65%{opacity:1;transform:translateY(-7px) rotate(2deg) scale(1.02)}100%{opacity:1;transform:none}}
@media(max-width:1250px){.profile-name{display:none}}
@media(max-width:900px){.thoxy-visit{--fox-size:145px;width:250px}.thoxy-visit[data-corner^="top"]{top:112px}.thoxy-visit[data-corner$="left"]{left:12px}.thoxy-visit[data-corner$="right"]{right:12px}.profile-options{top:calc(100% + 5px)}}
@media(max-height:620px){.thoxy-visit{--fox-size:95px;width:255px}.thoxy-mascot{max-height:22dvh}}
@media(prefers-reduced-motion:reduce){.thoxy-visit{animation:none;transform:none}.thoxy-mascot{filter:none}}
