:root {
  color-scheme: dark;
  --page: #06080d;
  --sidebar: #080b12;
  --surface: #0c111a;
  --surface-raised: #101722;
  --surface-hover: #141d2a;
  --line: #182433;
  --line-strong: #2a3b50;
  --text: #f3f5f8;
  --text-soft: #b0b6c2;
  --muted: #656d7b;
  --accent: #39bdf8;
  --sidebar-width: 250px;
  --ease: 160ms ease;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; min-height: 0; margin: 0; }
body { overflow: hidden; background: var(--page); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, textarea, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.chat-app { display: grid; grid-template-columns: var(--sidebar-width) minmax(0,1fr); width: 100%; height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; background: var(--page); transition: grid-template-columns var(--ease); }
.chat-app.sidebar-collapsed { --sidebar-width: 72px; }
.chat-sidebar { position: relative; z-index: 20; display: flex; flex-direction: column; min-width: 0; padding: 14px 10px 12px; border-right: 1px solid #142131; background: linear-gradient(180deg, #0a0e16, var(--sidebar)); overflow: hidden; }
.sidebar-topline { display: flex; align-items: center; min-height: 38px; padding: 0 3px; }
.chat-brand { display: flex; align-items: center; min-width: 0; gap: 10px; }
.arc-mark, .welcome-mark { display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(63,161,255,.28); background: #090d15; box-shadow: 0 0 20px rgba(31,126,255,.12); }
.arc-mark { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; }
.arc-mark img, .welcome-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.chat-brand-copy strong, .chat-brand-copy small { display: block; white-space: nowrap; }
.chat-brand-copy strong { font-size: 13px; font-weight: 650; }
.chat-brand-copy small { margin-top: 2px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.icon-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #78808d; cursor: pointer; }
.icon-button:hover { background: #14171e; color: #d8dce3; }
.sidebar-collapse { margin-left: auto; }
.sidebar-close, .mobile-sidebar-toggle { display: none; }
.new-chat-button { display: flex; align-items: center; width: 100%; height: 38px; margin: 17px 0 18px; padding: 0 10px; gap: 9px; border: 1px solid var(--line); border-radius: 10px; background: #0d131d; color: #c6cbd3; font-size: 12px; cursor: pointer; }
.new-chat-button:hover { border-color: #315273; background: #101a27; }
.new-chat-button kbd { margin-left: auto; color: #555d6a; font: 9px Inter, sans-serif; }
.conversation-history { flex: 1; min-height: 0; overflow-y: auto; }
.history-empty { margin: 10px 8px; color: #515b69; font-size: 10px; line-height: 1.5; }
.history-group + .history-group { margin-top: 20px; }
.history-group > p { margin: 0 8px 7px; color: #4e5561; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.history-item { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 7px 8px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
.history-item:hover { background: #101218; }
.history-item.active { background: rgba(39,116,184,.13); box-shadow: inset 2px 0 #2e9de0; }
.history-copy { flex: 1; min-width: 0; }
.history-copy strong, .history-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-copy strong { color: #b9bec8; font-size: 11px; font-weight: 500; }
.history-copy small { margin-top: 4px; color: #535b68; font-size: 9px; }
.history-more { color: #555d69; font-size: 10px; opacity: 0; }
.history-item:hover .history-more { opacity: 1; }
.sidebar-footer { padding: 14px 8px 2px; border-top: 1px solid #151820; font-size: 10px; }
.sidebar-footer div { display: flex; justify-content: space-between; color: #616976; }
.sidebar-footer strong { color: #9da4af; font-weight: 500; }
.sidebar-footer a { display: block; margin-top: 10px; color: #68717e; }
.sidebar-footer a:hover { color: #b8bec8; }
.sidebar-footer a span { float: right; }
.sidebar-collapsed .chat-brand-copy, .sidebar-collapsed .new-chat-button span:nth-child(2), .sidebar-collapsed .new-chat-button kbd, .sidebar-collapsed .conversation-history, .sidebar-collapsed .sidebar-footer { display: none; }
.sidebar-collapsed .new-chat-button { justify-content: center; padding: 0; }
.sidebar-collapsed .sidebar-collapse { position: absolute; right: 6px; bottom: 14px; transform: rotate(180deg); }

.chat-main { display: grid; grid-template-rows: 58px minmax(0,1fr) auto; min-width: 0; min-height: 0; height: 100%; overflow: hidden; background: radial-gradient(circle at 52% 92%, rgba(25,111,181,.09), transparent 36%), #070a0f; }
.chat-topbar { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #111c29; background: rgba(7,10,15,.94); }
.topbar-left, .topbar-actions, .conversation-heading, .studio-status { display: flex; align-items: center; }
.conversation-heading { gap: 9px; }
.conversation-heading strong { font-size: 12px; font-weight: 600; }
.conversation-heading span { display: flex; align-items: center; gap: 5px; color: #535b67; font-size: 9px; }
.conversation-heading i, .status-dot { width: 5px; height: 5px; border-radius: 50%; background: #349fdc; box-shadow: 0 0 8px rgba(52,159,220,.42); }
.topbar-actions { gap: 9px; }
.studio-status { height: 30px; padding: 0 10px; gap: 7px; border: 0; border-radius: 8px; background: transparent; color: #747c88; font-size: 10px; cursor: pointer; }
.studio-status:hover { background: #111319; color: #b9bec7; }
.studio-status.connected .status-dot { background: #4aa8dc; box-shadow: none; }
.signin-button { display: grid; place-items: center; height: 30px; padding: 0 13px; border: 0; border-radius: 8px; background: #f1f3f6; color: #0b0c0f; font-size: 10px; font-weight: 650; cursor: pointer; }
.signin-button.signed-in { border: 1px solid #22364a; background: #101a25; color: #b9d8e9; }

.conversation-stage { min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-color: #263647 transparent; }
.welcome-state { width: min(580px, calc(100% - 40px)); margin: clamp(80px, 17vh, 170px) auto 40px; text-align: center; }
.welcome-mark { width: 52px; height: 52px; margin: 0 auto 22px; border-radius: 14px; }
.welcome-state h1 { margin: 0; color: #edf0f4; font-size: clamp(25px, 4vw, 36px); font-weight: 550; letter-spacing: -.035em; }
.welcome-state > p { margin: 11px 0 27px; color: #666e7a; font-size: 12px; }
.starter-prompts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.starter-prompts button { padding: 8px 10px; border: 0; border-bottom: 1px solid #242731; background: transparent; color: #777f8b; font-size: 10px; cursor: pointer; }
.starter-prompts button:hover { border-color: #348fc8; color: #cfeaf9; }
.starter-prompts span { margin-left: 6px; color: #464d58; }
.message-thread { width: min(790px, calc(100% - 40px)); min-height: 100%; margin: 30px auto; padding-bottom: 24px; }
.message { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 12px; padding: 15px 0; }
.message + .message { border-top: 1px solid #101218; }
.message-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #141720; color: #aeb4be; font-size: 9px; font-weight: 650; }
.message.user .message-avatar { background: #1b1e28; }
.message-content > strong { color: #9fa6b1; font-size: 10px; font-weight: 600; }
.message-content > p { margin: 7px 0 0; color: #d4d8de; font-size: 12px; line-height: 1.65; white-space: pre-wrap; }
.typing-dots { display: flex; gap: 4px; margin-top: 10px; }
.typing-dots i { width: 4px; height: 4px; border-radius: 50%; background: #707886; animation: pulse 1s infinite alternate; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }.typing-dots i:nth-child(3) { animation-delay: .3s; }
.connection-callout { margin-top: 12px; padding-left: 10px; border-left: 2px solid #353a46; color: #757d89; font-size: 10px; }
.connection-callout strong { color: #a8aeb8; }.connection-callout p { margin: 4px 0 0; line-height: 1.5; }

.agent-run { max-width: 650px; margin-top: 12px; }
.agent-run-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: #697585; font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.agent-run-heading i { padding: 3px 7px; border: 1px solid #20364a; border-radius: 999px; background: rgba(30,93,137,.1); color: #6f9db9; font-size: 8px; font-style: normal; letter-spacing: .04em; }
.activity-list { display: flex; flex-wrap: wrap; gap: 7px; }
.activity-pill { display: inline-flex; align-items: center; min-height: 29px; padding: 0 11px 0 9px; gap: 8px; border: 1px solid #242d39; border-radius: 999px; background: linear-gradient(180deg, #111720, #0d1219); box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 7px 18px rgba(0,0,0,.15); color: #aab4c0; font-size: 10px; white-space: nowrap; }
.activity-pill i { flex: 0 0 auto; width: 7px; height: 7px; border: 1px solid #617080; border-radius: 50%; }
.activity-pill.active { border-color: #28445a; color: #c4d9e6; }
.activity-pill.active i { border-color: #4ab7ed transparent #4ab7ed #4ab7ed; animation: activity-spin .8s linear infinite; }
.activity-pill.complete i { border: 0; background: #4a9ac4; box-shadow: 0 0 0 3px rgba(54,137,180,.1); }
.activity-pill.waiting { border-color: #554a31; color: #d4c493; }
.activity-pill.waiting i { border: 0; background: #c4a555; box-shadow: 0 0 0 3px rgba(196,165,85,.1); }

.agent-output-card { position: relative; max-width: 690px; margin-top: 14px; padding: 15px 17px 16px; overflow: hidden; border: 1px solid #243345; border-radius: 14px; background: linear-gradient(145deg, rgba(17,27,39,.98), rgba(10,15,23,.98)); box-shadow: 0 14px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.025); }
.agent-output-card::before { position: absolute; inset: 0 auto 0 0; width: 2px; background: #348fc3; content: ""; }
.agent-output-card.plan { border-color: #2b3b4c; background: linear-gradient(145deg, rgba(20,28,39,.98), rgba(12,16,23,.98)); }
.agent-output-card.plan::before { background: #7c91a7; }
.agent-output-card.error { border-color: #4b2d35; background: linear-gradient(145deg, rgba(35,19,24,.94), rgba(18,13,17,.98)); }
.agent-output-card.error::before { background: #c66c7b; }
.agent-output-heading { margin-bottom: 10px; color: #74b9df; font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.agent-output-card.plan .agent-output-heading { color: #a3b3c4; }
.agent-output-card.error .agent-output-heading { color: #da8794; }
.agent-output-body { color: #d9dee5; font-size: 12px; line-height: 1.68; white-space: pre-wrap; overflow-wrap: anywhere; }
.agent-output-body p { margin: 0; }
.agent-output-body p + p, .agent-output-body p + ul, .agent-output-body p + ol, .agent-output-body ul + p, .agent-output-body ol + p { margin-top: 9px; }
.agent-output-body h3, .agent-output-body h4, .agent-output-body h5 { margin: 13px 0 6px; color: #edf2f6; font-size: 12px; line-height: 1.4; }
.agent-output-body h3:first-child, .agent-output-body h4:first-child, .agent-output-body h5:first-child { margin-top: 0; }
.agent-output-body ul, .agent-output-body ol { margin: 7px 0 0; padding-left: 19px; }
.agent-output-body li + li { margin-top: 4px; }
.agent-output-body code { padding: 1px 4px; border: 1px solid #2b3a4a; border-radius: 4px; background: #090e15; color: #a9d7ef; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.agent-output-body pre { margin: 10px 0 0; padding: 11px; overflow-x: auto; border: 1px solid #263342; border-radius: 9px; background: #080c12; white-space: pre; }
.agent-output-body pre code { padding: 0; border: 0; background: transparent; }
.studio-question-controls { display: grid; gap: 10px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #26384a; }
.studio-question-group { display: flex; flex-wrap: wrap; gap: 7px; }
.studio-question-group > span { width: 100%; color: #b9c5d1; font-size: 11px; line-height: 1.45; }
.studio-question-option, .studio-question-continue { min-height: 31px; padding: 6px 11px; border: 1px solid #30475c; border-radius: 9px; background: #111c28; color: #cfe5f3; font: 600 10px/1.2 inherit; cursor: pointer; }
.studio-question-option:hover:not(:disabled), .studio-question-option.selected { border-color: #4da8d8; background: #173047; color: #fff; }
.studio-question-option:disabled, .studio-question-continue:disabled { cursor: default; opacity: .48; }
.studio-question-continue { justify-self: start; border-color: #3d8fba; background: #2078a8; color: #fff; }

.composer-dock { position: relative; z-index: 12; padding: 12px 22px 14px; background: linear-gradient(180deg, rgba(7,10,15,0), #070a0f 24%); }
.chat-composer { width: min(820px,100%); margin: 0 auto; padding: 14px 14px 10px; border: 1px solid #24364a; border-radius: 27px; background: #0c1119; box-shadow: 0 18px 48px rgba(0,0,0,.55), 0 0 40px rgba(22,112,185,.11), inset 0 1px 0 rgba(255,255,255,.025); transition: border-color var(--ease), box-shadow var(--ease); }
.chat-composer:focus-within { border-color: #355d7f; box-shadow: 0 22px 58px rgba(0,0,0,.65), 0 0 50px rgba(27,132,213,.17), inset 0 1px 0 rgba(255,255,255,.035); }
.chat-composer textarea { display: block; width: 100%; min-height: 40px; max-height: 160px; padding: 2px 5px 9px; resize: none; overflow-y: auto; border: 0; outline: 0; background: transparent; color: #edf0f4; font-size: 12px; line-height: 1.55; caret-color: var(--accent); }
.chat-composer textarea::placeholder { color: #525a68; opacity: 1; }
.composer-toolbar, .composer-tools, .composer-actions { display: flex; align-items: center; }
.composer-toolbar { justify-content: space-between; min-height: 32px; }
.composer-tools { gap: 7px; }
.composer-actions { gap: 9px; }
.composer-icon { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #7c8490; font-size: 18px; cursor: pointer; }
.composer-icon:hover { background: #181b23; color: #e1e5ea; }
.mode-button { display: flex; align-items: center; height: 30px; padding: 0 10px 0 7px; gap: 7px; border: 1px solid #272c35; border-radius: 15px; background: #15181f; box-shadow: none; color: #c2c7cf; font-size: 10px; font-weight: 550; cursor: pointer; }
.mode-button:hover { background: #191c23; }.mode-icon { display: grid; place-items: center; width: 18px; height: 18px; }
.mode-icon img { display: block; width: 16px; height: 16px; object-fit: contain; filter: invert(78%) sepia(9%) saturate(466%) hue-rotate(174deg) brightness(92%); }
.mode-button.plan-active { border-color: #272c35; background: #15181f; box-shadow: none; color: #c2c7cf; }.mode-button.plan-active .mode-icon img { filter: invert(78%) sepia(9%) saturate(466%) hue-rotate(174deg) brightness(92%); }
.model-picker { position: relative; }
.model-picker-trigger { display: flex; align-items: center; max-width: 170px; height: 30px; padding: 0 9px 0 6px; gap: 7px; border: 0; border-radius: 15px; background: transparent; color: #8f97a3; cursor: pointer; }
.model-picker-trigger:hover, .model-picker.open .model-picker-trigger { background: #181b23; color: #d8dce3; }
.model-picker-trigger strong { overflow: hidden; font-size: 10px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.provider-logo { display: grid; flex: 0 0 auto; place-items: center; width: 21px; height: 21px; border-radius: 6px; background: #e8ebef; overflow: hidden; }
.provider-logo img { width: 13px; height: 13px; object-fit: contain; }.provider-logo-claude { background: #d9d3c7; }.provider-logo-gemini { background: #dfe5ee; }
.model-menu { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(340px, calc(100vw - 30px)); max-height: min(520px, 66vh); padding: 8px; overflow-y: auto; border: 1px solid #292e39; border-radius: 16px; background: #101218; box-shadow: 0 24px 65px rgba(0,0,0,.68); }
.model-menu-heading { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 11px; border-bottom: 1px solid #1e222b; }
.model-menu-heading strong { font-size: 11px; }.model-menu-heading span { color: #59616d; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.model-provider-group { padding: 8px 0 3px; }.model-provider-group + .model-provider-group { border-top: 1px solid #1a1d25; }
.provider-heading { display: flex; align-items: center; height: 27px; padding: 0 7px; gap: 7px; color: #777f8c; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.provider-heading .provider-logo { width: 18px; height: 18px; border-radius: 5px; }.provider-heading img { width: 11px; height: 11px; }
.model-option { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; width: 100%; padding: 8px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
.model-option:hover { background: #191c24; }.model-option.selected { background: #1c2029; }
.model-option strong, .model-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.model-option strong { color: #c8cdd5; font-size: 10px; font-weight: 550; }.model-option small { margin-top: 3px; color: #5f6774; font-size: 9px; }
.model-option i { color: transparent; font-size: 10px; font-style: normal; }.model-option.selected i { color: var(--accent); }
.provider-attribution { display: block; padding: 9px 6px 3px; color: #444b56; font-size: 8px; text-align: center; }
.context-meter { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; outline: none; cursor: help; }
.context-ring { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: conic-gradient(#4dbdf3 0 18%, #263443 18% 100%); box-shadow: 0 0 10px rgba(42,157,218,.12); }
.context-ring i { width: 15px; height: 15px; border-radius: 50%; background: #0d1016; }
.context-meter:hover, .context-meter:focus-visible { background: #181b23; }
.context-tooltip { position: absolute; right: -38px; bottom: calc(100% + 12px); width: 210px; padding: 11px; border: 1px solid #292e39; border-radius: 11px; background: #12141a; box-shadow: 0 16px 40px rgba(0,0,0,.55); opacity: 0; pointer-events: none; transform: translateY(5px); transition: opacity var(--ease), transform var(--ease); }
.context-meter:hover .context-tooltip, .context-meter:focus-visible .context-tooltip { opacity: 1; transform: none; }
.context-tooltip strong, .context-tooltip span, .context-tooltip small { display: block; }.context-tooltip strong { font-size: 10px; }.context-tooltip span { margin-top: 4px; color: #777f8b; font-size: 9px; }.context-tooltip > div { height: 3px; margin: 9px 0 7px; border-radius: 3px; background: #282d36; overflow: hidden; }.context-tooltip > div i { display: block; width: 18%; height: 100%; background: #42afe8; }.context-tooltip small { color: #59616d; font-size: 8px; }
.send-button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: #071017; font-size: 16px; font-weight: 700; cursor: pointer; transition: transform var(--ease), opacity var(--ease); }.send-button:hover:not(:disabled) { transform: scale(1.04); }.send-button:disabled { background: #20242d; color: #555d68; cursor: default; }
.composer-disclaimer { margin: 8px auto 0; color: #3f4650; font-size: 8px; text-align: center; }

.connect-dialog, .auth-dialog { width: min(500px, calc(100% - 28px)); padding: 0; border: 1px solid #292e39; border-radius: 16px; background: #101218; color: var(--text); box-shadow: 0 30px 90px #000; }.connect-dialog::backdrop, .auth-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.dialog-shell { padding: 22px; }.dialog-header { display: flex; justify-content: space-between; gap: 20px; }.dialog-header span { color: #666e7a; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }.dialog-header h2 { margin: 7px 0 0; font-size: 20px; font-weight: 550; }.dialog-header button { width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: #747c88; cursor: pointer; }.dialog-header button:hover { background: #191c24; color: white; }.dialog-intro { margin: 18px 0; color: #777f8c; font-size: 11px; line-height: 1.6; }.connection-steps { margin: 0; padding: 0; list-style: none; }.connection-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid #1c1f27; }.connection-steps li > span { color: #555d68; font-size: 9px; }.connection-steps strong { font-size: 11px; }.connection-steps p { margin: 4px 0 0; color: #666e7a; font-size: 10px; }.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }.dialog-actions a, .dialog-actions button { display: grid; place-items: center; height: 34px; padding: 0 13px; border: 1px solid #2a2f39; border-radius: 8px; background: #171a21; color: #c8cdd4; font-size: 10px; cursor: pointer; }.dialog-actions button { border-color: #eef0f3; background: #eef0f3; color: #0b0c0f; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 112px; padding: 9px 13px; border: 1px solid #2b303a; border-radius: 10px; background: #14171d; color: #b9bfc8; font-size: 10px; opacity: 0; pointer-events: none; transform: translate(-50%,8px); transition: opacity var(--ease), transform var(--ease); }.toast.visible { opacity: 1; transform: translate(-50%,0); }
.auth-shell { padding: 22px; }
.auth-field { display: block; margin-top: 12px; }
.auth-field > span { display: block; margin: 0 0 6px 2px; color: #7d8793; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.auth-field input { width: 100%; height: 40px; padding: 0 11px; border: 1px solid #26313e; border-radius: 10px; outline: 0; background: #0b0f15; color: #edf2f5; font-size: 11px; }
.auth-field input:focus { border-color: #397aa4; box-shadow: 0 0 0 3px rgba(57,154,213,.08); }
.auth-error { margin: 11px 0 0; color: #f39ba8; font-size: 10px; line-height: 1.45; }
.auth-submit { width: 100%; height: 38px; margin-top: 15px; border: 0; border-radius: 10px; background: var(--accent); color: #071017; font-size: 10px; font-weight: 700; cursor: pointer; }
.auth-submit:disabled { opacity: .5; cursor: wait; }
.auth-create { margin: 12px 0 0; color: #68727f; font-size: 9px; text-align: center; }.auth-create a { color: #63bfee; }
.mobile-scrim { display: none; }

@keyframes pulse { to { opacity: .3; transform: translateY(-2px); } }
@keyframes activity-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .chat-app { display: block; }
  .chat-sidebar { position: fixed; inset: 0 auto 0 0; width: min(280px,86vw); transform: translateX(-100%); transition: transform 200ms ease; }
  .mobile-sidebar-open .chat-sidebar { transform: none; }
  .mobile-scrim { position: fixed; z-index: 19; inset: 0; background: rgba(0,0,0,.65); }
  .mobile-sidebar-open .mobile-scrim { display: block; }
  .sidebar-close, .mobile-sidebar-toggle { display: grid; }.sidebar-collapse { display: none; }.sidebar-close { margin-left: auto; }
  .chat-main { height: 100%; min-height: 0; }.chat-topbar { padding: 0 12px; }.topbar-left { gap: 6px; }.studio-status span:last-child { display: none; }.studio-status { padding: 0 5px; }
  .welcome-state { margin-top: 12vh; }.composer-dock { padding: 10px 10px 11px; }.chat-composer { border-radius: 22px; padding: 12px 10px 9px; }
  .model-picker-trigger { max-width: 42px; padding: 0 5px; }.model-picker-trigger strong, .model-trigger-caret { display: none; }.model-menu { position: fixed; right: 10px; bottom: 98px; left: 10px; width: auto; max-height: 60vh; }
  .context-tooltip { right: -42px; }.composer-disclaimer { display: none; }
  .message-thread { width: calc(100% - 24px); margin-top: 18px; }.message { grid-template-columns: 24px minmax(0,1fr); gap: 9px; }.message-avatar { width: 24px; height: 24px; border-radius: 7px; }.activity-list { gap: 6px; }.activity-pill { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }.agent-output-card { padding: 13px 14px 14px; }
}
@media (max-width: 430px) {
  .signin-button { padding: 0 10px; }.welcome-state { width: calc(100% - 28px); }.starter-prompts { display: grid; grid-template-columns: 1fr 1fr; }.starter-prompts button { text-align: left; }
  .mode-button { padding: 0 8px; }.model-picker-trigger { width: 30px; }.composer-tools, .composer-actions { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
