@font-face{font-family:Inter;src:url('/assets/fonts/inter.woff2') format('woff2');font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:Jakarta;src:url('/assets/fonts/jakarta.woff2') format('woff2');font-weight:500 800;font-style:normal;font-display:swap}
@font-face{font-family:Symbols;src:url('/assets/fonts/symbols.woff2') format('woff2');font-weight:400;font-style:normal;font-display:block}

:root {
  color-scheme: dark;
  --bg:#0e1018; --side:#121520; --right:#121622; --surface:#171b29; --lift:#1c2030;
  --border:#292e40; --border-soft:#222638; --text:#f1f2fa; --muted:#a6aec5; --dim:#8c96b0;
  --violet:#9b8aff; --violet-pale:#c7bcff; --violet-ink:#141126;
  --amber:#f2af76; --teal:#79e0c5; --error:#ffb1b9;
  --title:Jakarta, Inter, system-ui, sans-serif;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html, body { margin:0; min-height:100%; }
body { background:var(--bg); color:var(--text); font:400 1rem/1.5 Inter, system-ui, sans-serif; }
button, input, select, textarea { color:inherit; font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.5; }
:focus-visible { outline:2px solid var(--violet); outline-offset:3px; }
button, a, input, select, textarea { -webkit-tap-highlight-color:transparent; }
input, select { background:#10131e; border:1px solid var(--border); border-radius:8px; padding:9px 11px; min-width:0; }
input::placeholder, textarea::placeholder { color:#9099b2; opacity:1; }
select {
  width:100%; font-size:.875rem; accent-color:var(--violet); appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,#a6aec5 50%),linear-gradient(135deg,#a6aec5 50%,transparent 50%);
  background-position:calc(100% - 11px) 55%,calc(100% - 7px) 55%;
  background-size:4px 4px; background-repeat:no-repeat;
}
h1,h2,h3,p { margin:0; }
h1,h2,h3,.brand { font-family:var(--title); }
.icon {
  font-family:Symbols; font-weight:400; font-feature-settings:'liga'; -webkit-font-smoothing:antialiased;
  font-size:1.25rem; line-height:1; user-select:none; white-space:nowrap; display:inline-block; flex:none;
}
.button {
  display:inline-flex; gap:8px; align-items:center; justify-content:center; min-height:40px; padding:8px 13px;
  border:1px solid transparent; border-radius:9px; font-size:.875rem; line-height:1.35; font-weight:700; white-space:nowrap;
}
.primary { background:#a393ff; color:var(--violet-ink); }
.primary:not(:disabled):hover { background:#baadff; }
.secondary { color:var(--muted); background:#171a27; border-color:var(--border); }
.secondary:not(:disabled):hover, .secondary[aria-expanded=true] { color:var(--violet-pale); background:#242038; border-color:#42395d; }
.danger { background:#743443; color:#fff0f2; }
.danger:hover { background:#8b4051; }
.icon-button {
  display:inline-grid; place-items:center; flex:none; padding:0; width:36px; height:36px;
  border:1px solid transparent; border-radius:8px; background:transparent; color:var(--dim);
}
.icon-button.small { width:29px; height:29px; }
.icon-button:not(:disabled):hover { background:var(--lift); color:var(--text); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

.boot { min-height:100dvh; display:grid; justify-items:center; align-content:center; gap:16px; color:var(--muted); }
.brand { display:flex; align-items:center; gap:11px; font-size:1.25rem; font-weight:800; letter-spacing:-.035em; }
.brand-mark {
  display:grid; place-items:center; position:relative; flex:none; width:38px; height:38px;
  border-radius:11px; background:linear-gradient(142deg,#b19eff,#8873f2);
  box-shadow:0 3px 14px #9b84ff22,inset 0 0 0 1px #d7caff66;
}
.brand-mark i { position:absolute; width:5px; border-radius:9px; background:#18132c; transform:rotate(31deg); }
.brand-mark i:nth-child(1) { height:12px; left:11px; top:13px; }
.brand-mark i:nth-child(2) { height:20px; left:17px; top:9px; }
.brand-mark i:nth-child(3) { height:12px; left:23px; top:13px; }
.private-label { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-size:.813rem; font-weight:600; }
.private-label .icon { color:var(--teal); font-size:1rem; }

.auth-screen { min-height:100dvh; display:grid; grid-template-columns:minmax(400px,1fr) minmax(415px,.95fr); }
.auth-visual {
  min-height:100dvh; padding:38px clamp(26px,5vw,76px); position:relative; overflow:hidden; border-right:1px solid var(--border-soft);
  background:radial-gradient(ellipse at 50% 70%,#2a2048 0,transparent 54%),radial-gradient(ellipse at 0 0,#1d1c35 0,transparent 52%),#121522;
}
.auth-visual::before, .hero-art::before {
  content:''; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle,#9d8aff35 1px,transparent 1.5px) 0 0 / 20px 20px;
  mask-image:radial-gradient(ellipse at center,#000 0,transparent 70%);
}
.auth-visual>.brand,.auth-intro { position:relative; }
.auth-intro { max-width:540px; margin:clamp(65px,11vh,143px) auto 0; }
.auth-intro .private-label {
  padding:6px 10px; border-radius:20px; border:1px solid #50446f; background:#25203b; color:#dfd4ff;
}
.auth-intro h1 {
  font-size:clamp(2.5rem,5vw,4.75rem); line-height:1.04; letter-spacing:-.046em; word-spacing:.025em; font-weight:800; margin:16px 0;
  max-width:11ch; text-wrap:balance;
}
.auth-intro>p { max-width:36ch; color:#b5b9d1; font-size:1.0625rem; }
.auth-form-pane { display:grid; place-items:center; padding:35px; }
.auth-card { width:min(100%,396px); }
.auth-lock {
  display:grid; place-items:center; color:var(--violet-pale); background:#292244; border:1px solid #413765;
  width:50px; height:50px; border-radius:14px; margin-bottom:19px;
}
.auth-lock .icon { font-size:1.55rem; }
.auth-card h2 { font-size:clamp(1.65rem,3vw,2.2rem); line-height:1.15; font-weight:800; letter-spacing:-.035em; word-spacing:.02em; }
.auth-card p { margin:9px 0 25px; color:var(--muted); }
.auth-card label { display:grid; gap:7px; margin:0 0 15px; font-size:.875rem; font-weight:650; color:#dee1ef; }
.auth-card input { width:100%; min-height:46px; font-size:.9375rem; background:#151927; }
.password-wrap { position:relative; display:block; }
.password-wrap input { padding-right:44px; }
.password-wrap .icon-button { position:absolute; right:5px; top:5px; }
.auth-submit { width:100%; min-height:45px; margin-top:4px; }
.form-error { color:var(--error) !important; font-size:.875rem; }
.auth-card .form-error { margin:0 0 10px; }
.orbit { height:clamp(174px,30vh,285px); position:relative; max-width:445px; margin:8px auto 0; }
.orbit-ring,.orbit-core,.orbit-node,.orbit-link { position:absolute; }
.orbit-ring { border:1px solid #6e58945e; border-radius:50%; top:53%; left:50%; transform:translate(-50%,-50%) rotate(-15deg); }
.ring-one { width:70%; height:70%; }
.ring-two { width:96%; height:88%; border-style:dashed; opacity:.6; }
.orbit-core { top:52%; left:50%; transform:translate(-50%,-50%); }
.orbit-core .brand-mark { transform:scale(1.65); box-shadow:0 0 38px #9d81ff60; }
.orbit-node {
  display:flex; align-items:center; gap:8px; padding:6px 10px 6px 6px; border:1px solid #4e4568;
  background:#181826; box-shadow:0 7px 22px #0a09174d; border-radius:10px; font-size:.8125rem; font-weight:650;
}
.orbit-node .model-avatar { width:26px; height:26px; border-radius:7px; }
.orbit-node .model-avatar .icon { font-size:1rem; }
.node-one { left:5%; top:20%; }
.node-two { right:2%; top:27%; }
.node-three { left:35%; bottom:5%; }
.orbit-link { left:50%; top:52%; height:1px; background:#7862a7; transform-origin:left; }
.link-one { width:31%; transform:rotate(204deg); }
.link-two { width:31%; transform:rotate(-17deg); }
.link-three { width:20%; transform:rotate(95deg); }

.workspace {
  display:grid; grid-template-columns:242px minmax(0,1fr) 318px; width:100%; height:100dvh; min-height:350px;
  overflow:hidden; background:var(--bg);
}
.workspace.inspector-closed { grid-template-columns:242px minmax(0,1fr); }
.workspace.inspector-closed .inspector { display:none; }
.sidebar,.inspector { min-width:0; display:flex; flex-direction:column; }
.sidebar { border-right:1px solid var(--border-soft); background:var(--side); padding:0 15px; }
.sidebar-brand { min-height:80px; padding:0 4px; }
.sidebar-brand small { color:var(--dim); font:500 .75rem Inter, sans-serif; display:block; letter-spacing:0; margin-top:2px; }
.mobile-close,.menu-toggle,.scrim { display:none; }
.side-actions { padding:4px 2px 22px; }
.new-discussion { width:100%; justify-content:flex-start; padding-left:12px; }
.history { flex:1; overflow:auto; min-height:0; }
.section-label {
  display:flex; align-items:center; justify-content:space-between; padding:0 3px 3px 7px; min-height:31px;
  color:var(--dim); font-size:.75rem; line-height:1.2; font-weight:750; letter-spacing:.105em;
}
.history-search { display:block; width:100%; margin-bottom:6px; font-size:.875rem; }
.room-list { display:flex; flex-direction:column; gap:3px; }
.nav-room {
  border:1px solid transparent; border-radius:8px; background:transparent; color:var(--muted);
  padding:9px 7px 9px 8px; width:100%; min-height:41px; display:flex; align-items:center; gap:8px;
  text-align:left; font-size:.86rem; line-height:1.3; font-weight:580;
}
.nav-room .icon { font-size:1.06rem; color:#929bbb; }
.nav-room:hover { background:#1b1e2e; }
.nav-room[aria-current=true] { border-color:#40385a; background:#251f38; color:#e8e1ff; }
.nav-room[aria-current=true] .icon { color:var(--violet); }
.nav-title { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nav-status {
  width:7px; height:7px; border-radius:50%; background:var(--teal); box-shadow:0 0 8px #79e0c54d; flex:none;
}
.empty-history { padding:8px; color:var(--dim); font-size:.875rem; }
.sidebar-bottom { padding:12px 2px 15px; }
.sidebar-bottom .private-label { padding:0 5px 12px; }
.account {
  display:flex; align-items:center; gap:8px; min-height:56px; padding:6px; border:1px solid var(--border-soft);
  border-radius:10px; background:#151825;
}
.account-text { display:grid; min-width:0; flex:1; line-height:1.35; }
.account-text strong { font-size:.8125rem; }
.account-text small { font-size:.75rem; color:var(--dim); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-top:2px; }
.user-avatar {
  background:#353452; color:#d9d3fc; font-weight:760; font-size:.78rem; width:32px; height:32px;
  border-radius:9px; display:grid; place-items:center; flex:none;
}
.account .icon-button { width:28px; height:28px; }

.chat { display:flex; min-width:0; min-height:0; flex-direction:column; position:relative; }
.topbar,.inspector-heading {
  min-height:63px; display:flex; align-items:center; gap:9px; padding:0 21px;
  background:#11141e; border-bottom:1px solid var(--border-soft);
}
.topbar { justify-content:space-between; }
.breadcrumbs,.top-actions { display:flex; align-items:center; gap:9px; min-width:0; }
.breadcrumbs { color:var(--muted); font-size:.875rem; font-weight:630; }
.breadcrumb-icon { color:var(--violet); }
.breadcrumb-divider { font-size:.84rem; color:var(--dim); }
.crumb-state { color:#eaeafa; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.settings-button { min-height:34px; padding:6px 10px; font-size:.8125rem; }
.settings-button .icon { font-size:1.1rem; }
.delete-button { border-color:var(--border); height:34px; width:34px; }
.chat-scroll { flex:1; overflow-y:auto; min-height:0; scrollbar-color:#383c52 transparent; scrollbar-width:thin; }
.chat-scroll:focus-visible { outline-offset:-3px; }
.chat-content { width:min(100%,960px); margin:auto; padding:32px clamp(22px,4vw,58px) 19px; }
.room-overline { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:var(--dim); font-size:.8125rem; font-weight:650; margin-bottom:12px; }
.room-overline .icon { font-size:1.05rem; color:var(--violet); }
.room-heading h1 {
  font-size:clamp(1.85rem,3.1vw,2.75rem); letter-spacing:-.039em; word-spacing:.025em; line-height:1.12; font-weight:800;
  overflow-wrap:anywhere; text-wrap:pretty;
}
.room-heading p { color:var(--muted); margin-top:9px; }
.heading-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:16px 0 24px; }
.pill {
  display:inline-flex; align-items:center; gap:6px; min-height:25px; padding:3px 8px; border:1px solid var(--border);
  background:#181b29; border-radius:6px; color:var(--muted); font-size:.77rem; font-weight:640; white-space:nowrap;
}
.pill .icon { font-size:.94rem; }
.pill.live { color:#a0f2db; border-color:#245144; background:#162b29; }
.pill.paused { color:#f4c99f; border-color:#513e3d; background:#2b2328; }
.pill.done { color:var(--teal); border-color:#30564d; background:#172a28; }
.pill.error { color:var(--error); border-color:#633a46; background:#302128; }
.static-dot { width:6px; height:6px; border-radius:50%; background:currentColor; }
.section-break {
  display:flex; align-items:center; gap:10px; color:var(--dim); font-size:.75rem; font-weight:690; margin:5px 0 17px;
}
.section-break::before,.section-break::after { content:''; height:1px; background:var(--border-soft); flex:1; }
.section-break::before { max-width:27px; }
.timeline { display:grid; gap:15px; }
.timeline .section-break { margin:1px 0 -1px; }
.message { display:grid; grid-template-columns:36px minmax(0,1fr); align-items:start; gap:10px; }
.message>div { min-width:0; }
.model-avatar {
  width:36px; height:36px; display:grid; place-items:center; background:#292641; color:#cbbdff;
  border:1px solid #463860; border-radius:10px; flex:none;
}
.model-avatar.claude { background:#392821; border-color:#654334; color:var(--amber); }
.model-avatar.codex { background:#2b2444; border-color:#4b3c72; color:#c0aeff; }
.model-avatar.ollama { background:#19332e; border-color:#2c574c; color:var(--teal); }
.model-avatar.human { background:#313352; border-color:#454768; color:#d4cbff; font-size:.79rem; font-weight:800; }
.message-meta { display:flex; align-items:center; flex-wrap:wrap; gap:5px 8px; min-height:25px; margin:0 0 4px; }
.message-meta strong { font-size:.91rem; font-weight:740; }
.message-meta small { color:var(--dim); font-size:.75rem; }
.role-chip {
  display:inline-flex; align-items:center; color:#c1bdd3; border-radius:5px; background:#232538;
  padding:1px 6px; font-size:.75rem; font-weight:610;
}
.message-text {
  padding:11px 13px; border-radius:0 10px 10px 10px; border:1px solid var(--border-soft); background:#171a27;
  color:#dce0ef; font-size:.9375rem; line-height:1.58; white-space:pre-wrap; overflow-wrap:anywhere;
}
.message.human .message-text { background:#231e34; color:#ece6ff; border-color:#3b3154; }
.message-text strong { color:var(--text); }
.message-text code { background:#10131e; border-radius:3px; padding:1px 3px; color:#d9ceff; }
.message-text.streaming { border-color:#473864; }
.message-text.working { color:#b1acc8; font-size:.875rem; }
.timeline-progress:not(:empty) { margin-top:15px; }
.timeline:empty+.timeline-progress { margin-top:0; }
.round-notice { color:var(--dim); font-size:.875rem; }
.outcome:not(:empty) { margin:17px 0 0 46px; }
.outcome-card { padding:11px 13px; border:1px solid #2c534a; background:#142824; border-radius:9px; color:#dcfbf1; }
.outcome-card header { display:flex; align-items:center; gap:7px; font-weight:720; }
.outcome-card .icon { color:var(--teal); }
.outcome-card p { margin:4px 0 0 27px; font-size:.875rem; overflow-wrap:anywhere; }

.hero {
  min-height:300px; display:flex; align-items:center; position:relative; isolation:isolate; overflow:hidden; padding:29px;
  border-radius:16px; border:1px solid #39324d; background:linear-gradient(135deg,#201c32,#141827 80%);
}
.hero .room-heading { z-index:1; }
.hero .room-heading h1 { max-width:22ch; }
.hero .room-heading p { max-width:36ch; }
.hero-art { position:absolute; inset:0 0 0 43%; z-index:0; pointer-events:none; }
.hero-art::after { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 65% 50%,#a18bfd30,transparent 62%); }
.hero-rings {
  position:absolute; inset:20% 12% 20% 10%; border:1px solid #8f72d54f; border-radius:50%; transform:rotate(-25deg);
}
.hero-rings::before,.hero-rings::after { content:''; position:absolute; border:1px solid #9e81f653; border-radius:50%; inset:12%; }
.hero-rings::after { inset:22%; }
.hero-art .brand-mark { position:absolute; left:49%; top:43%; transform:scale(1.35); }
.hero-art .model-avatar { position:absolute; z-index:1; }
.hero-art .claude { left:14%; top:27%; }
.hero-art .codex { right:13%; top:18%; }
.hero-art .ollama { right:20%; bottom:16%; }
.hero .private-label { color:#cfbfff; font-size:.825rem; }
.hero .private-label .icon { color:var(--violet-pale); }
.draft-note { display:flex; gap:9px; align-items:center; color:var(--muted); font-size:.91rem; margin-top:16px; }
.draft-note .icon { color:var(--violet); }

.composer-area { flex:none; padding:5px clamp(22px,4vw,58px) 15px; width:min(100%,960px); margin:auto; }
.composer-status:not(:empty) { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.composer-status p { color:var(--muted); font-size:.875rem; min-width:0; overflow-wrap:anywhere; }
.composer-status .button { min-height:33px; padding:6px 9px; }
.composer-status .icon { font-size:1.1rem; }
.composer {
  border:1px solid #34384b; border-radius:12px; background:#171a27; padding:10px; box-shadow:0 7px 22px #0708113d;
}
.composer:focus-within { border-color:#7c66be; }
.composer textarea {
  width:100%; display:block; resize:vertical; min-height:52px; max-height:165px; border:none; outline:none;
  background:none; margin:0; padding:5px 5px 0; font-size:.9375rem;
}
.composer-actions { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.composer-actions .button { min-height:34px; padding:7px 10px; }
.composer-tools { display:flex; min-width:0; align-items:center; gap:8px; }
.composer-tools .button { flex:none; }
.file-list { list-style:none; display:flex; flex-wrap:wrap; gap:6px; padding:0; margin:5px 0 9px; }
.file-list:last-child { margin:8px 0 0; }
.file-chip { display:flex; align-items:center; gap:6px; min-width:0; max-width:100%; padding:4px 7px; border:1px solid var(--border); border-radius:7px; color:var(--muted); font-size:.78rem; background:#171a27; }
.file-chip span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.file-chip small { color:var(--muted); flex:none; font-size:.72rem; }
.file-chip .icon-button { width:24px; height:24px; flex:none; }
@media (max-width:480px) { .composer-tools .composer-hint { display:none; } }
.composer-hint { color:var(--dim); padding-left:5px; font-size:.75rem; }
.chat-error { margin-top:6px; }
.scroll-latest { position:absolute; z-index:3; right:21px; bottom:121px; }
.load-more { justify-self:start; }

.inspector { border-left:1px solid var(--border-soft); background:var(--right); min-height:0; }
.inspector-heading { min-width:0; padding:0 15px; }
.inspector-heading>.icon { color:var(--violet); }
.inspector-heading h2 { font-size:1rem; font-weight:760; flex:1; }
.config { flex:1; overflow-y:auto; scrollbar-width:thin; padding:15px; }
.config-section+.config-section { margin-top:17px; padding-top:16px; border-top:1px solid var(--border-soft); }
.config-title { display:flex; align-items:center; gap:6px; min-height:24px; margin-bottom:9px; }
.config-title h3 { font-size:.94rem; font-weight:760; flex:1; }
.config-count { font-size:.75rem; font-weight:730; border:1px solid var(--border); border-radius:5px; padding:1px 6px; color:var(--dim); }
.participant-grid { display:grid; gap:7px; }
.participant { border:1px solid #2b3043; background:#181c29; padding:8px 9px; border-radius:9px; min-width:0; }
.participant-top { display:flex; align-items:center; gap:8px; min-width:0; }
.participant-info { display:grid; line-height:1.27; gap:3px; flex:1; min-width:0; }
.participant-info strong { font-size:.87rem; font-weight:730; }
.participant-info span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--dim); font-size:.76rem; }
.participant .model-avatar { width:32px; height:32px; border-radius:9px; }
.participant .model-avatar .icon { font-size:1.12rem; }
.participant .role-chip { flex:none; }
.participant.active { border-color:#6c56a4; background:#221d33; }
.participant.active .role-chip { color:var(--violet-pale); }
.participant-fields { display:grid; gap:8px; margin-top:8px; grid-template-columns:minmax(0,1.18fr) minmax(0,1fr); }
.participant-fields label,.field-label { display:grid; gap:4px; min-width:0; color:var(--muted); font-weight:650; font-size:.81rem; }
.participant-fields select { padding:6px 18px 6px 6px; min-height:35px; }
.add-participant { width:100%; margin-top:8px; min-height:34px; }
.field-title { color:var(--muted); font-size:.85rem; font-weight:640; padding-bottom:6px; display:block; }
.rules { display:grid; gap:11px; }
.rule-rounds { display:grid; grid-template-columns:1fr 1fr 1.58fr; gap:5px; }
.rule-rounds button {
  min-width:0; min-height:37px; font-size:.8125rem; background:#1a1d2b; color:#b7bdd2;
  border:1px solid #30354a; border-radius:7px; padding:5px 3px; font-weight:640;
}
.rule-rounds button:hover:not(:disabled), .rule-rounds button[aria-pressed=true] {
  background:#2b2443; color:#ded3ff; border-color:#59477f;
}
.rule-rounds button:disabled { opacity:.85; cursor:default; }
.custom-rounds { display:flex; gap:6px; align-items:center; margin-top:7px; }
.custom-rounds input { min-height:34px; width:78px; padding:5px 7px; font-size:.875rem; }
.custom-rounds .button { flex:1; min-height:34px; }
.switch-row { display:flex; width:100%; text-align:left; align-items:center; justify-content:space-between; gap:7px; }
.switch-row .checkbox-control { width:40px; height:23px; position:relative; margin:0; appearance:none; border-radius:20px; padding:0; flex:none; }
.checkbox-control::before {
  content:''; position:absolute; left:3px; top:3px; width:15px; height:15px; border-radius:50%; background:#a2a8ba;
}
.checkbox-control:checked { background:#917af4; border-color:#a18aff; }
.checkbox-control:checked::before { background:#171128; transform:translateX(16px); }
.checkbox-control:not(:disabled) { cursor:pointer; }
.switch-row strong { font-size:.856rem; font-weight:680; }
.switch-row small,.helper { display:block; font-size:.78rem; color:var(--dim); line-height:1.43; margin-top:3px; }
.save-rules { width:100%; }
.connections { display:grid; gap:6px; margin-top:7px; }
.connection { display:flex; align-items:center; gap:7px; font-size:.82rem; color:var(--muted); }
.connection span:first-child { flex:1; }
.connection .static-dot { color:#75809b; flex:none; }
.connection.ready .static-dot { color:var(--teal); }
.connection small { font-size:.75rem; color:var(--dim); }
.connection.ready small { color:#a7d1c9; }
.connection-note { padding:8px; display:flex; gap:7px; align-items:flex-start; background:#191d2b; border:1px solid var(--border-soft); border-radius:8px; margin-top:9px; color:var(--muted); }
.connection-note .icon { color:var(--violet); font-size:1rem; margin-top:1px; }
.connection-note p { font-size:.76rem; line-height:1.45; margin:0; }
.config-error { margin-top:10px; }
.delete-dialog { background:#1a1d2c; color:var(--text); border:1px solid var(--border); border-radius:12px; padding:20px; width:min(400px,calc(100% - 32px)); }
.delete-dialog::backdrop { background:#080911b8; }
.delete-dialog h2 { margin-bottom:6px; font-size:1.25rem; }
.delete-dialog p { margin-bottom:16px; color:var(--muted); }
.delete-dialog form { display:flex; justify-content:flex-end; gap:8px; }

@media(max-width:1120px) { .workspace { grid-template-columns:202px minmax(0,1fr) 286px; } .workspace.inspector-closed { grid-template-columns:202px minmax(0,1fr); } .sidebar { padding:0 11px; } .chat-content,.composer-area { padding-left:21px; padding-right:21px; } .config { padding:11px; } }
@media(max-width:930px) {
  .workspace,.workspace.inspector-closed { grid-template-columns:202px minmax(0,1fr); }
  .workspace .inspector { display:none; }
  .workspace.inspector-open .inspector { display:flex; position:fixed; top:0; bottom:0; right:0; z-index:7; width:min(340px,100%); }
  .workspace.inspector-open .scrim,.workspace.sidebar-open .scrim { display:block; position:fixed; inset:0; border:0; background:#050610b8; z-index:6; }
  .hero-art { opacity:.7; }
}
@media(max-width:720px) {
  .workspace,.workspace.inspector-closed { grid-template-columns:minmax(0,1fr); }
  .workspace .sidebar { display:none; }
  .workspace.sidebar-open .sidebar { display:flex; position:fixed; inset:0 auto 0 0; z-index:7; width:min(290px,90%); }
  .menu-toggle,.mobile-close { display:inline-grid; }
  .mobile-close { margin-left:auto; }
  .breadcrumb-icon { display:none; }
  .topbar { min-height:55px; padding:0 9px; }
  .breadcrumbs,.top-actions { gap:4px; }
  .settings-button>span:last-child { display:none; }
  .chat-content { padding-top:20px; }
  .auth-screen { grid-template-columns:1fr; }
  .auth-visual { min-height:0; border-right:0; border-bottom:1px solid var(--border-soft); padding:18px 22px 22px; }
  .auth-intro { margin:23px 0 0; }
  .auth-intro h1 { font-size:2rem; max-width:20ch; margin:9px 0; }
  .auth-intro p { font-size:.9rem; max-width:none; }
  .orbit { display:none; }
  .auth-form-pane { padding:22px; }
  .auth-lock { display:none; }
}
@media(max-width:450px) {
  .chat-content,.composer-area { padding-left:12px; padding-right:12px; }
  .hero { padding:20px; min-height:235px; }
  .hero-art { opacity:.25; inset:0 0 0 30%; }
  .message { grid-template-columns:30px minmax(0,1fr); gap:7px; }
  .message .model-avatar { width:30px; height:30px; border-radius:7px; }
  .message-text { padding:7px 9px; }
}
