/* Quiet application chrome; canvas controls remain within the editor. */
#ws{height:calc(100dvh - 29px)!important}#shell-home{border:0;border-right:1px solid var(--line);border-radius:0;padding:5px 16px 5px 0;font-weight:650;gap:8px;flex:none}#shell-home .ic{width:19px;height:19px}
#shell-status{position:fixed;inset:auto 0 0;height:29px;display:flex;align-items:center;gap:18px;padding:0 18px;border-top:1px solid var(--line);background:#fff;color:var(--t2);font-size:10px;z-index:15}#shell-status button{display:flex;align-items:center;gap:6px;color:inherit;font:inherit;white-space:nowrap;max-width:35vw;overflow:hidden;text-overflow:ellipsis}#shell-status button:hover{color:var(--t1)}.shell-status-dot{width:6px;height:6px;background:#949aa5;border-radius:50%;flex:none}.shell-status-dot.available{background:#53766a}.shell-status-spacer{flex:1}.shell-version{white-space:nowrap;color:var(--t3)}
#shell-status button:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
@media(max-width:750px){#shell-status{gap:10px;padding:0 10px}#shell-status-server{font-size:0!important}#shell-status-model{display:none!important}.shell-version{max-width:32vw;overflow:hidden;text-overflow:ellipsis}#shell-home{padding-right:10px}#shell-home span{display:none}}

#shell-status{color:#626976;font-size:11px}.shell-version{color:#626976}#shell-status button{min-height:26px}#shell-status-server span{overflow:hidden;text-overflow:ellipsis}
#top #conversation-entry{margin:0;flex-shrink:0;color:#fff;border:1px solid #264db6;background:#3456cbd9;box-shadow:0 2px 5px #203d811c;font-weight:650;padding:0 14px;min-height:35px}#top #conversation-entry:hover{background:#294bbbd9;box-shadow:0 3px 9px #203d8129}#top #conversation-entry:focus-visible{outline:2px solid #2145b0;outline-offset:3px}#top #shell-home{font-weight:500;border:0;color:var(--t2)}#top #shell-share{margin-left:auto}
/* Small brand accents; the editing surface retains its existing contrast. */
#top{background:#ffffffb8;box-shadow:0 1px 12px #172e4810;backdrop-filter:blur(16px)}
#shell-status{background:#f8fafbeF;backdrop-filter:blur(14px)}
#spatial-overview{padding:0;width:calc(100vw - 48px);max-width:1600px;height:calc(100svh - 48px);max-height:none;border:1px solid #465866;border-radius:18px;background:#080f17;color:#e4eef4;overflow:hidden;box-shadow:0 25px 90px #0007}
#spatial-overview[open]{display:flex;flex-direction:column}#spatial-overview::backdrop{background:#08111ac9;backdrop-filter:blur(9px)}
#spatial-overview header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 25px;background:#13202a99;border-bottom:1px solid #ffffff14}#spatial-overview small{font-size:9px;letter-spacing:2px;color:#91b1bb}#spatial-overview h2{font-size:20px;margin:6px 0 0;font-weight:500}#spatial-overview .bt{background:#182c37;border:1px solid #47616e;color:#e4eef4}#spatial-overview .bt:disabled{opacity:.4}
.spatial-toolbar{display:flex;align-items:center;gap:18px;padding:12px 25px;border-bottom:1px solid #ffffff12;font-size:12px}.spatial-toolbar label{display:flex;align-items:center;gap:10px}.spatial-toolbar select{max-width:300px;background:#12222d;color:#dfeef3;padding:8px;border:1px solid #405766;border-radius:5px}.spatial-toolbar>span{margin-left:auto;color:#9fb4bf}.spatial-stage{position:relative;flex:1;min-height:0;overflow:hidden}#spatial-overview footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 25px;border-top:1px solid #ffffff14;font-size:12px;color:#afc5cf}#spatial-overview :focus-visible{outline:2px solid #9cddd9;outline-offset:3px}
@media(max-width:700px){#spatial-overview{width:100vw;height:100svh;border-radius:0}.spatial-toolbar{flex-wrap:wrap;padding:10px}.spatial-toolbar>span{display:none}.spatial-toolbar select{max-width:200px}#spatial-overview header{padding:14px}#spatial-overview h2{font-size:16px}}
/* Visible brand frame, keeping the canvas and controls readable. */
#top{background:#14212bd9;backdrop-filter:blur(28px) saturate(140%);-webkit-backdrop-filter:blur(28px) saturate(140%);color:#e5eff3;border-bottom:1px solid #35505c;box-shadow:0 3px 18px #152f4820}
#top .bt,#top .ib,#top button{color:#d9e9ef;background:transparent;border-color:#496270}
#top button:hover{background:#ffffff12}#top #shell-home{border:0;gap:10px;padding-right:18px;color:#eef7f6}
.shell-wordmark{font-size:23px;font-weight:600;letter-spacing:-1px}.shell-boards-label{border-left:1px solid #ffffff30;padding-left:14px;margin-left:6px;font-size:12px;color:#b5cbd6}
#top #shell-share{background:#ffffff09;border-color:#ffffff26;border-radius:8px}
#top button:focus-visible{outline-color:#a0ddd9}
#shell-status{background:#edf3f5;color:#526e7c;border-top-color:#d6e2e7}
#shell-status button{color:#526e7c}
@media(max-width:750px){.shell-boards-label{display:none}.shell-wordmark{font-size:19px}}

#top #pres,#top .pname{color:#b9cdd8}#top #pres .ic{color:#acdcd8!important}

/* Frosted controls: translucent fill, edge reflections and soft elevation. */
#top #shell-share,#top #conversation-entry{box-shadow:inset 0 1px 0 #ffffff30,0 3px 10px #00000015;backdrop-filter:blur(16px);border-color:#ffffff30}
#shell-status{background:#edf3f5b8;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}

.beta-label{display:inline-block;font-size:9px;font-weight:600;letter-spacing:1px;text-transform:uppercase;line-height:1;padding:5px 6px;border:1px solid #ffffff40;border-radius:4px;color:#d3e6ec;background:#ffffff0a;vertical-align:middle}

/* When something is not connected, the status says so and offers the way to connect it, rather than
   reporting a fault the person can do nothing with. */
.shell-status-fix {
  margin-left: 7px; padding: 1px 7px; border-radius: 999px;
  background: var(--acc, #2f6f7a); color: #fff;
  font-weight: 600; font-size: 10px; letter-spacing: .01em;
}
#shell-status .shell-status-fix { pointer-events: none; }
#shell-status button:hover .shell-status-fix { filter: brightness(1.1); }

/* The connect sheet: one state line, then the commands to run, each copyable on its own. */
.connect-state{font-weight:550;margin:0 0 12px}
.connect-command{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0 14px}
.connect-command code{font-family:ui-monospace,Menlo,monospace;font-size:11px;background:var(--b1,#f4f6f9);border:1px solid var(--line);border-radius:4px;padding:3px 7px;overflow-wrap:anywhere}
.connect-command .bt{height:26px;font-size:11px;padding:0 8px}
.connect-agent{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
