:root{--brand-yellow: #ecad0a;--brand-blue: #209dd7;--brand-purple: #753991;--brand-navy: #032147;--brand-gray: #888888;--font-display: "Newsreader", Georgia, "Times New Roman", serif;--font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;--text-2xs: .6875rem;--text-xs: .75rem;--text-sm: .8125rem;--text-base:.9375rem;--text-md: 1.0625rem;--text-lg: 1.375rem;--text-xl: 1.875rem;--text-2xl: 2.5rem;--text-3xl: 3.5rem;--text-4xl: 4.75rem;--leading-tight: 1.08;--leading-snug: 1.28;--leading-normal: 1.5;--leading-relaxed: 1.62;--tracking-tight: -.02em;--tracking-normal: 0;--tracking-wide: .04em;--tracking-caps: .14em;--space-0: 0;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-7: 32px;--space-8: 40px;--space-9: 48px;--space-10: 64px;--space-11: 80px;--space-12: 112px;--radius-xs: 3px;--radius-sm: 5px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--radius-pill: 999px;--ease-out: cubic-bezier(.22, .78, .24, 1);--ease-in-out: cubic-bezier(.6, 0, .2, 1);--dur-fast: .12s;--dur: .2s;--dur-slow: .36s;--container-chat: 760px;--sidebar-w: 340px;--header-h: 64px}[data-theme=dark]{color-scheme:dark;--surface-0: #04152a;--surface-1: #082038;--surface-2: #0e2a47;--surface-3: #16365a;--surface-sunken: #02101f;--border: #1c3a5e;--border-strong: #284f78;--hairline: rgba(255,255,255,.06);--text: #e9f1fa;--text-muted: #9db3ca;--text-faint: #647e99;--text-on-accent: #ffffff;--text-on-yellow: #1a1303;--blue: #34abe2;--blue-strong: #209dd7;--blue-ink: #bfe6f8;--blue-soft: rgba(40, 168, 224, .14);--blue-line: rgba(40, 168, 224, .4);--yellow: #f2b822;--yellow-strong: #ecad0a;--yellow-ink: #f6cf63;--yellow-soft: rgba(236, 173, 10, .14);--yellow-line: rgba(236, 173, 10, .45);--purple: #8a52b0;--purple-strong: #753991;--purple-hover: #9a64bf;--purple-soft: rgba(138, 82, 176, .18);--focus-ring: rgba(242, 184, 34, .55);--danger: #e0654f;--positive: #2fa9e0;--role-visitor: var(--blue-strong);--role-avatar: #3bb6c9;--role-human: var(--yellow-strong);--shadow-sm: 0 1px 2px rgba(0,0,0,.4);--shadow-md: 0 8px 24px -8px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.35);--shadow-lg: 0 24px 60px -16px rgba(0,0,0,.65), 0 6px 16px rgba(0,0,0,.4);--glow-blue: 0 0 0 1px var(--blue-line), 0 8px 28px -10px rgba(40,168,224,.35);--glow-yellow: 0 0 0 1px var(--yellow-line), 0 8px 30px -10px rgba(236,173,10,.3);--grid-line: rgba(120, 180, 220, .045)}[data-theme=light]{color-scheme:light;--surface-0: #f3f6fb;--surface-1: #ffffff;--surface-2: #eef3f9;--surface-3: #e3ecf5;--surface-sunken: #eaf0f7;--border: #d9e2ed;--border-strong: #bdccdc;--hairline: rgba(3, 33, 71, .08);--text: #0b2138;--text-muted: #4c6076;--text-faint: #7d92a6;--text-on-accent: #ffffff;--text-on-yellow: #1a1303;--blue: #1487c1;--blue-strong: #209dd7;--blue-ink: #136491;--blue-soft: rgba(32, 157, 215, .1);--blue-line: rgba(32, 157, 215, .35);--yellow: #ecad0a;--yellow-strong: #d39c07;--yellow-ink: #8a6404;--yellow-soft: rgba(236, 173, 10, .16);--yellow-line: rgba(236, 173, 10, .55);--purple: #753991;--purple-strong: #6a3384;--purple-hover: #82449f;--purple-soft: rgba(117, 57, 145, .09);--focus-ring: rgba(236, 173, 10, .6);--danger: #c2492f;--positive: #1689c2;--role-visitor: var(--blue-strong);--role-avatar: #1b95a6;--role-human: var(--yellow-strong);--shadow-sm: 0 1px 2px rgba(11, 33, 56, .06);--shadow-md: 0 10px 28px -12px rgba(11, 33, 56, .18), 0 2px 6px rgba(11,33,56,.06);--shadow-lg: 0 28px 64px -20px rgba(11, 33, 56, .26), 0 6px 16px rgba(11,33,56,.08);--glow-blue: 0 0 0 1px var(--blue-line), 0 10px 30px -12px rgba(32,157,215,.3);--glow-yellow: 0 0 0 1px var(--yellow-line), 0 10px 30px -12px rgba(236,173,10,.28);--grid-line: rgba(3, 33, 71, .035)}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;font-family:var(--font-sans);font-size:var(--text-base);line-height:var(--leading-normal);color:var(--text);background:var(--surface-0);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}::selection{background:var(--yellow-soft);color:var(--text)}.icon{width:20px;height:20px;display:inline-block;flex:none;vertical-align:middle}.icon--sm{width:16px;height:16px}.icon--lg{width:24px;height:24px}.icon--xl{width:32px;height:32px}.eyebrow{font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--text-faint);font-weight:500}.display{font-family:var(--font-display);font-weight:500;line-height:var(--leading-tight);letter-spacing:var(--tracking-tight);color:var(--text)}.display--italic{font-style:italic}.hud-grid{background-image:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);background-size:44px 44px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);font-family:var(--font-sans);font-size:var(--text-base);font-weight:600;line-height:1;letter-spacing:-.01em;padding:0 var(--space-4);height:40px;border-radius:var(--radius-md);border:1px solid transparent;background:var(--surface-2);color:var(--text);cursor:pointer;white-space:nowrap;transition:background var(--dur) var(--ease-out),border-color var(--dur) var(--ease-out),transform var(--dur-fast) var(--ease-out),box-shadow var(--dur) var(--ease-out)}.btn:active{transform:translateY(1px)}.btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--focus-ring)}.btn--primary{background:var(--purple-strong);color:#fff;border-color:var(--purple-strong)}.btn--primary:hover{background:var(--purple-hover);border-color:var(--purple-hover)}.btn--blue{background:var(--blue-soft);color:var(--blue-ink);border-color:var(--blue-line)}.btn--blue:hover{background:var(--blue-line);color:var(--text)}.btn--secondary{background:var(--surface-1);border-color:var(--border-strong);color:var(--text)}.btn--secondary:hover{background:var(--surface-2);border-color:var(--text-faint)}.btn--ghost{background:transparent;color:var(--text-muted)}.btn--ghost:hover{background:var(--surface-2);color:var(--text)}.btn--icon{width:40px;padding:0}.btn--sm{height:32px;font-size:var(--text-sm);padding:0 var(--space-3)}.btn--lg{height:48px;font-size:var(--text-md);padding:0 var(--space-6)}.btn-send{width:44px;height:44px;flex:none;border:none;cursor:pointer;border-radius:var(--radius-md);background:var(--purple-strong);color:#fff;display:inline-flex;align-items:center;justify-content:center;transition:background var(--dur) var(--ease-out),transform var(--dur-fast) var(--ease-out)}.btn-send:hover{background:var(--purple-hover)}.btn-send:active{transform:translateY(1px)}.btn-send:disabled{background:var(--surface-3);color:var(--text-faint);cursor:not-allowed}.field{display:flex;flex-direction:column;gap:var(--space-2)}.label{font-size:var(--text-sm);font-weight:600;color:var(--text-muted)}.input,.textarea{font-family:var(--font-sans);font-size:var(--text-base);color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-md);padding:10px var(--space-3);width:100%;transition:border-color var(--dur) var(--ease-out),box-shadow var(--dur) var(--ease-out)}.input::placeholder,.textarea::placeholder{color:var(--text-faint)}.input:focus,.textarea:focus{outline:none;border-color:var(--yellow-line);box-shadow:0 0 0 3px var(--focus-ring)}.textarea{resize:none;line-height:var(--leading-snug)}.input--sm{height:34px;padding:0 var(--space-3)}.name-field{display:inline-flex;align-items:center;gap:var(--space-2);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-md);padding:0 var(--space-3);height:36px}.name-field input{border:none;background:none;color:var(--text);font-size:var(--text-sm);width:130px;outline:none;font-family:var(--font-sans)}.switch{display:inline-flex;align-items:center;gap:var(--space-2);cursor:pointer;-webkit-user-select:none;user-select:none}.switch input{position:absolute;opacity:0;pointer-events:none}.switch .track{width:38px;height:22px;border-radius:var(--radius-pill);background:var(--surface-3);border:1px solid var(--border-strong);position:relative;transition:background var(--dur) var(--ease-out),border-color var(--dur) var(--ease-out)}.switch .thumb{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--text-muted);transition:transform var(--dur) var(--ease-out),background var(--dur) var(--ease-out)}.switch input:checked+.track{background:var(--blue-soft);border-color:var(--blue-line)}.switch input:checked+.track .thumb{transform:translate(16px);background:var(--blue-strong)}.switch input:focus-visible+.track{box-shadow:0 0 0 3px var(--focus-ring)}.switch .switch-label{font-size:var(--text-sm);color:var(--text-muted);font-weight:500}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:var(--tracking-wide);text-transform:uppercase;font-weight:500;padding:3px 8px;border-radius:var(--radius-pill);background:var(--surface-3);color:var(--text-muted);border:1px solid var(--border)}.badge--attention{background:var(--yellow-soft);color:var(--yellow-ink);border-color:var(--yellow-line)}.badge--blue{background:var(--blue-soft);color:var(--blue-ink);border-color:var(--blue-line)}.badge--unread{background:var(--blue-strong);color:#fff;border-color:transparent;padding:2px 7px}.badge--dot{width:8px;height:8px;padding:0;border-radius:50%;background:var(--blue-strong);border:none}.badge--dot.is-attention{background:var(--yellow-strong)}.chip{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-sm);font-weight:500;padding:5px var(--space-3);border-radius:var(--radius-pill);background:var(--surface-2);color:var(--text-muted);border:1px solid var(--border);cursor:pointer;transition:all var(--dur) var(--ease-out)}.chip:hover{border-color:var(--blue-line);color:var(--text)}.kbd{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;font-family:var(--font-mono);font-size:var(--text-2xs);color:var(--text-muted);background:var(--surface-2);border:1px solid var(--border-strong);border-bottom-width:2px;border-radius:var(--radius-sm)}.avatar{width:40px;height:40px;border-radius:50%;flex:none;position:relative;background-size:cover;background-position:center;overflow:hidden}.avatar--sm{width:30px;height:30px}.avatar--lg{width:56px;height:56px}.avatar-initials{width:40px;height:40px;flex:none;border-radius:var(--radius-md);display:inline-flex;align-items:center;justify-content:center;font-family:var(--font-mono);font-weight:600;font-size:var(--text-sm);letter-spacing:.02em;background:var(--blue-soft);color:var(--blue-ink);border:1px solid var(--blue-line);text-transform:uppercase}.avatar-initials--sm{width:30px;height:30px;font-size:var(--text-2xs)}.avatar-twin{border:1.5px solid var(--blue-line);box-shadow:0 0 0 3px #28a8e014}.avatar-human{border:2px solid var(--yellow-strong);box-shadow:0 0 0 3px var(--yellow-soft)}.avatar-human .spark-badge{position:absolute;right:-3px;bottom:-3px;width:16px;height:16px;border-radius:50%;background:var(--yellow-strong);color:var(--text-on-yellow);display:flex;align-items:center;justify-content:center;border:2px solid var(--surface-1)}.avatar-human .spark-badge .icon{width:10px;height:10px}.msg{display:flex;gap:var(--space-3);max-width:100%}.msg-body{display:flex;flex-direction:column;gap:5px;min-width:0}.msg-meta{display:flex;align-items:center;gap:var(--space-2)}.msg-name{font-size:var(--text-xs);font-weight:700;letter-spacing:.01em}.msg-time{font-family:var(--font-mono);font-size:var(--text-2xs);color:var(--text-faint)}.bubble{padding:var(--space-3) var(--space-4);border-radius:var(--radius-lg);font-size:var(--text-md);line-height:var(--leading-relaxed);color:var(--text);border:1px solid transparent;max-width:560px;width:fit-content}.bubble p{margin:0 0 .6em}.bubble p:last-child{margin-bottom:0}.bubble a{color:var(--blue-ink);text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--blue-line)}.bubble strong{font-weight:700}.msg--visitor{flex-direction:row-reverse;margin-left:auto}.msg--visitor .msg-body{align-items:flex-end}.msg--visitor .bubble{background:var(--surface-2);border-color:var(--border);border-bottom-right-radius:var(--radius-xs)}.msg--avatar .msg-name{color:var(--role-avatar)}.msg--avatar .bubble{background:var(--surface-1);border-color:var(--border);border-bottom-left-radius:var(--radius-xs)}[data-theme=dark] .msg--avatar .bubble{background:var(--surface-2)}.msg--human .bubble{background:linear-gradient(0deg,var(--yellow-soft),var(--yellow-soft)) padding-box,var(--surface-2);border-color:var(--yellow-line);border-bottom-left-radius:var(--radius-xs);box-shadow:var(--glow-yellow);position:relative}.msg--human .msg-meta .human-tag{display:inline-flex;align-items:center;gap:5px;font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:var(--tracking-wide);text-transform:uppercase;color:var(--yellow-ink);font-weight:600}.msg--human .human-tag .icon{width:12px;height:12px;color:var(--yellow-strong)}.tool-status{display:inline-flex;align-items:center;gap:7px;font-family:var(--font-mono);font-size:var(--text-xs);color:var(--text-faint);padding:4px 0}.tool-status .icon{width:14px;height:14px;color:var(--blue)}.tool-status .dots:after{content:"…"}.tool-status.is-done{color:var(--text-muted)}.tool-status.is-done .icon{color:var(--positive)}.instant-tag{font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:var(--tracking-wide);text-transform:uppercase;color:var(--blue-ink);background:var(--blue-soft);border:1px solid var(--blue-line);border-radius:var(--radius-sm);padding:1px 6px}.composer{display:flex;align-items:flex-end;gap:var(--space-3);background:var(--surface-1);border:1px solid var(--border-strong);border-radius:var(--radius-lg);padding:var(--space-3);box-shadow:var(--shadow-md);transition:border-color var(--dur) var(--ease-out),box-shadow var(--dur) var(--ease-out)}.composer:focus-within{border-color:var(--yellow-line);box-shadow:var(--shadow-md),0 0 0 3px var(--focus-ring)}.composer textarea{flex:1;border:none;background:none;resize:none;color:var(--text);font-family:var(--font-sans);font-size:var(--text-md);line-height:var(--leading-snug);outline:none;max-height:160px;padding:8px 4px}.composer textarea::placeholder{color:var(--text-faint)}.convo-item{display:grid;grid-template-columns:auto 1fr auto;gap:var(--space-3);padding:var(--space-3) var(--space-4);cursor:pointer;position:relative;border-bottom:1px solid var(--hairline);transition:background var(--dur-fast) var(--ease-out)}.convo-item:hover{background:var(--surface-2)}.convo-item.is-active{background:var(--surface-3)}.convo-item.is-active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;background:var(--blue-strong);border-radius:0 var(--radius-xs) var(--radius-xs) 0}.convo-main{min-width:0;display:flex;flex-direction:column;gap:3px}.convo-top{display:block;min-width:0}.convo-name{font-weight:700;font-size:var(--text-sm);color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.convo-preview{font-size:var(--text-sm);color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.convo-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.convo-item.is-unread .convo-name{color:var(--text)}.convo-item.is-unread .convo-preview{color:var(--text);font-weight:500}.convo-item.is-attention{background:var(--yellow-soft)}.convo-item.is-attention:hover{background:color-mix(in srgb,var(--yellow-soft) 70%,var(--surface-2))}.card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg)}.hairline{height:1px;background:var(--hairline);border:0;margin:0}.scroll{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.scroll::-webkit-scrollbar{width:10px;height:10px}.scroll::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:99px;border:3px solid transparent;background-clip:content-box}.scroll::-webkit-scrollbar-thumb:hover{background:var(--text-faint);background-clip:content-box}.icon{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon .fill{fill:currentColor;stroke:none}html,body{height:100%}body{font-family:var(--font-sans);color:var(--text);background:var(--surface-0)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);height:var(--header-h);padding:0 var(--space-6);flex:none;border-bottom:1px solid var(--border);background:var(--surface-1);position:relative;z-index:5}.brand{display:flex;align-items:center;gap:var(--space-3)}.brand-mark{width:36px;height:36px;flex:none;border-radius:var(--radius-md);background:var(--surface-sunken);border:1px solid var(--border-strong);display:flex;align-items:center;justify-content:center}.brand-name{font-family:var(--font-display);font-weight:600;font-size:1.45rem;letter-spacing:-.01em;line-height:1}.brand-sub{font-size:var(--text-2xs);color:var(--text-faint);font-family:var(--font-mono);letter-spacing:var(--tracking-wide);text-transform:uppercase;margin-top:3px;white-space:nowrap}.topbar-right{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.icon-btn{width:38px;height:38px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-1);color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all var(--dur) var(--ease-out)}.icon-btn:hover{background:var(--surface-2);color:var(--text);border-color:var(--border-strong)}.divider-v{width:1px;height:26px;background:var(--border)}.chat{flex:1;min-height:0;display:flex;flex-direction:column;position:relative;height:calc(100vh - var(--header-h))}.convo{flex:1;min-height:0;overflow-y:auto}.convo-inner{max-width:var(--container-chat);margin:0 auto;padding:var(--space-8) var(--space-6) var(--space-6);display:flex;flex-direction:column;gap:var(--space-6)}.day-sep{display:flex;align-items:center;gap:var(--space-4);margin:var(--space-1) 0}.day-sep:before,.day-sep:after{content:"";height:1px;background:var(--hairline);flex:1}.day-sep span{font-family:var(--font-mono);font-size:var(--text-2xs);color:var(--text-faint);letter-spacing:var(--tracking-wide);text-transform:uppercase}.intro{text-align:center;padding:var(--space-4) 0 var(--space-2);display:flex;flex-direction:column;align-items:center;gap:var(--space-4)}.intro .avatar{width:72px;height:72px}.intro h1{font-family:var(--font-display);font-weight:500;font-size:var(--text-2xl);line-height:1.1;letter-spacing:-.02em;margin:0;max-width:24ch}.intro h1 em{font-style:italic;color:var(--blue)}.intro p{margin:0;color:var(--text-muted);max-width:46ch;font-size:var(--text-md)}.suggest-row{display:flex;flex-wrap:wrap;gap:var(--space-2);justify-content:center;margin-top:var(--space-2)}.composer-dock{flex:none;padding:var(--space-4) var(--space-6) var(--space-6);background:linear-gradient(0deg,var(--surface-0) 55%,transparent)}.composer-wrap{max-width:var(--container-chat);margin:0 auto}.composer-hint{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap;margin-top:var(--space-3);font-size:var(--text-xs);color:var(--text-faint);padding:0 var(--space-1)}.composer-hint .sep{width:3px;height:3px;border-radius:50%;background:var(--text-faint);opacity:.5}.tools{display:flex;flex-direction:column;gap:2px}.typing{display:inline-flex;align-items:center;gap:7px;color:var(--text-muted);font-size:var(--text-sm);padding:0 var(--space-1) var(--space-2)}.typing .dots span{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--role-avatar);margin-right:3px;animation:blink 1.2s infinite ease-in-out}.typing .dots span:nth-child(2){animation-delay:.2s}.typing .dots span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,60%,to{opacity:.25}30%{opacity:1}}.appbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);height:var(--header-h);padding:0 var(--space-5);border-bottom:1px solid var(--border);background:var(--surface-1);z-index:5}.admin-pill{font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--blue-ink);background:var(--blue-soft);border:1px solid var(--blue-line);border-radius:var(--radius-sm);padding:3px 7px}.appbar-right{display:flex;align-items:center;gap:var(--space-3)}.secure-note{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--text-faint)}.secure-note .icon{color:var(--positive)}.owner-chip{display:flex;align-items:center;gap:var(--space-2);padding:4px 4px 4px 10px;border:1px solid var(--border);border-radius:var(--radius-pill);cursor:pointer;background:none}.owner-chip span{font-size:var(--text-sm);color:var(--text-muted);font-weight:600}.workspace{display:grid;grid-template-columns:var(--sidebar-w) 1fr;min-height:0;height:calc(100vh - var(--header-h))}.sidebar{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--border);background:var(--surface-1)}.sidebar-head{padding:var(--space-4) var(--space-4) var(--space-3);display:flex;flex-direction:column;gap:var(--space-3);border-bottom:1px solid var(--border)}.sidebar-title{display:flex;align-items:center;justify-content:space-between}.sidebar-title h2{margin:0;font-family:var(--font-display);font-weight:600;font-size:var(--text-lg);display:flex;align-items:center;gap:var(--space-2)}.count-badge{font-family:var(--font-mono);font-size:var(--text-2xs);color:var(--text-muted);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-pill);padding:2px 8px}.search{display:flex;align-items:center;gap:var(--space-2);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-md);padding:0 var(--space-3);height:36px}.search input{border:none;background:none;outline:none;color:var(--text);font-family:var(--font-sans);font-size:var(--text-sm);width:100%}.search .icon{color:var(--text-faint)}.filter-row{display:flex;gap:var(--space-2)}.filter-chip{font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:var(--tracking-wide);text-transform:uppercase;padding:4px 9px;border-radius:var(--radius-pill);cursor:pointer;border:1px solid var(--border);background:var(--surface-2);color:var(--text-faint)}.filter-chip.is-on{background:var(--surface-3);color:var(--text);border-color:var(--border-strong)}.filter-chip .dot-y{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--yellow-strong);margin-right:4px;vertical-align:middle}.convo-list{flex:1;min-height:0;overflow-y:auto}.convo-item .avatar-initials{width:38px;height:38px}.empty-state{padding:var(--space-6);color:var(--text-faint);font-size:var(--text-sm);text-align:center}.main{display:flex;flex-direction:column;min-height:0;background:var(--surface-0);position:relative}.thread-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-3) var(--space-5);border-bottom:1px solid var(--border);background:var(--surface-1)}.thread-id{display:flex;align-items:center;gap:var(--space-3)}.thread-id .meta{display:flex;flex-direction:column;gap:2px}.thread-id .meta .name{font-weight:700;font-size:var(--text-base)}.thread-id .meta .sub{font-family:var(--font-mono);font-size:var(--text-2xs);color:var(--text-faint)}.thread-actions{display:flex;align-items:center;gap:var(--space-2)}.attn-flag{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);font-weight:600;color:var(--yellow-ink);background:var(--yellow-soft);border:1px solid var(--yellow-line);border-radius:var(--radius-pill);padding:5px 11px}.attn-flag .icon{width:14px;height:14px;color:var(--yellow-strong)}.back-btn{display:none}.thread{flex:1;min-height:0;overflow-y:auto}.thread-inner{max-width:820px;margin:0 auto;padding:var(--space-6) var(--space-6) var(--space-4);display:flex;flex-direction:column;gap:var(--space-5)}.admin-composer-dock{flex:none;padding:var(--space-3) var(--space-6) var(--space-5);border-top:1px solid var(--border);background:var(--surface-1)}.admin-composer-wrap{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:var(--space-2)}.posting-as{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-xs);color:var(--text-faint)}.posting-as .avatar{width:22px;height:22px}.posting-as strong{color:var(--text-muted);font-weight:600}.kbd-hints{display:flex;align-items:center;gap:var(--space-4);margin-top:var(--space-1);font-size:var(--text-xs);color:var(--text-faint);flex-wrap:wrap}.kbd-hints .h{display:inline-flex;align-items:center;gap:6px}.kbd-hints .chev-left svg{transform:scaleX(-1)}.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:var(--space-6)}.login-card{width:100%;max-width:380px;padding:var(--space-8) var(--space-7);display:flex;flex-direction:column;align-items:center;gap:var(--space-5);text-align:center}.login-card .brand-mark{width:48px;height:48px}.login-card h1{font-family:var(--font-display);font-weight:600;font-size:var(--text-xl);margin:0}.login-card form{width:100%;display:flex;flex-direction:column;gap:var(--space-3)}.login-card .error{color:var(--danger);font-size:var(--text-sm);min-height:1.2em}@media(max-width:640px){.topbar{padding:0 var(--space-3);gap:var(--space-2)}.name-field,.switch-label{display:none}.convo-inner{padding:var(--space-5) var(--space-3) var(--space-4)}.composer-dock{padding:var(--space-3) var(--space-3) var(--space-4)}}@media(max-width:860px){.workspace{grid-template-columns:1fr;position:relative;overflow:hidden}.sidebar{border-right:none}.main{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(100%);transition:transform var(--dur-slow) var(--ease-out);background:var(--surface-0)}.workspace.is-detail-open .sidebar{display:none}.workspace.is-detail-open .main{transform:translate(0)}.back-btn{display:inline-flex}.owner-chip span{display:none}}
