:root {
  color-scheme: light;
  --page: #f8f8f4;
  --sidebar: #efefe8;
  --surface: #fff;
  --ink: #282c26;
  --muted: #787c71;
  --border: #dddfd5;
  --green: #3e5842;
  --green-hover: #2f4834;
  --green-soft: #e1e9dc;
  --danger: #a14335;
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, input, select, textarea { outline: none; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid #7b9470; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.app-shell { height: 100vh; height: 100dvh; display: flex; overflow: hidden; }
.auth-screen { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px; background: radial-gradient(ellipse at 50% 35%, #f0f3e9, var(--page) 65%); }
.auth-card { width: min(100%, 420px); padding: 34px; border: 1px solid var(--border); border-radius: 20px; background: #fdfefa; box-shadow: 0 14px 60px #35452b08; }
.auth-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 30px; font-weight: 600; font-size: 17px; }
.auth-brand .brand-mark { width: 23px; height: 23px; }
.auth-card h1 { margin: 0 0 10px; font-size: 27px; font-weight: 550; letter-spacing: -.8px; }
.auth-intro { margin: 0 0 25px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.auth-card form label { display: block; margin-bottom: 8px; color: #596550; font-size: 13px; font-weight: 550; }
.auth-card input { width: 100%; padding: 12px 13px; border: 1px solid #cdd8c3; border-radius: 9px; color: var(--ink); background: #fff; font-size: 15px; }
.auth-card input::placeholder { color: #a0a697; }
.auth-card .login-button { width: 100%; margin-top: 16px; padding: 12px; font-size: 14px; }
.auth-note { margin: 23px 0 0; color: #8b9481; font-size: 12px; line-height: 1.5; }
.auth-error { margin: 12px 0 0; color: var(--danger); font-size: 13px; line-height: 1.5; }
.auth-checking { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; margin: 6px 0 28px; }
.workspace-account { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px 15px; }
.workspace-account > div { min-width: 0; }
.account-label { display: block; color: #939b88; font-size: 10px; margin-bottom: 4px; }
.account-name { display: block; color: #5a6950; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-account button { border: 1px solid #d8dfd0; border-radius: 7px; background: transparent; color: #75856a; padding: 7px 9px; font-size: 11px; white-space: nowrap; }
.workspace-account button:hover { color: var(--green); background: #e7eddf; }
.sidebar { width: 268px; flex: 0 0 268px; background: var(--sidebar); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 25px 16px 0; z-index: 30; }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 9px; margin-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 650; letter-spacing: -.5px; }
.brand-mark { width: 24px; height: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: rotate(-7deg); }
.brand-mark i { background: var(--green); border-radius: 3px; }
.brand-mark i:first-child { border-radius: 7px 3px 3px 3px; }
.brand-mark i:last-child { border-radius: 3px 3px 7px 3px; }
.brand-mark i:nth-child(2) { opacity: .55; }
.brand-mark i:nth-child(3) { opacity: .75; }
.icon-button { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); background: transparent; }
.icon-button:hover { background: #e6e7df; color: var(--ink); }
.icon-button:disabled { opacity: .3; background: transparent; }
.close-sidebar { display: none; }
.close-icon { position: relative; width: 14px; height: 14px; }
.close-icon:before, .close-icon:after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 1.4px; background: currentColor; transform: rotate(45deg); }
.close-icon:after { transform: rotate(-45deg); }
.new-chat-button { display: flex; align-items: center; gap: 12px; width: 100%; height: 45px; padding: 0 15px; background: #fbfcf8; color: var(--ink); font-weight: 550; border: 1px solid #d7dcd0; border-radius: 11px; box-shadow: 0 1px 2px #29362205; }
.new-chat-button:hover { background: #fff; border-color: #b6c4ad; }
.plus-icon { position: relative; width: 15px; height: 15px; flex-shrink: 0; }
.plus-icon:before, .plus-icon:after { content: ""; background: currentColor; position: absolute; width: 13px; height: 1.5px; left: 1px; top: 6.5px; }
.plus-icon:after { transform: rotate(90deg); }
.search-field { display: flex; align-items: center; gap: 9px; margin: 18px 8px 25px; color: #85897e; }
.search-field input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 7px 0; font-size: 12px; }
.search-field input::placeholder { color: #7e8278; }
.search-field input:focus-visible { outline: none; }
.search-field:focus-within { color: var(--green); }
.search-field kbd { flex-shrink: 0; font: 10px Inter, "Segoe UI", sans-serif; color: #909487; border: 1px solid #d9dcd1; padding: 2px 4px; border-radius: 4px; }
.search-icon { width: 11px; height: 11px; border: 1.4px solid currentColor; border-radius: 50%; flex-shrink: 0; position: relative; margin-right: 3px; }
.search-icon:after { content: ""; width: 5px; height: 1.4px; background: currentColor; position: absolute; right: -4px; bottom: -2px; transform: rotate(45deg); }
.history { flex: 1; min-height: 0; overflow: auto; margin: 0 -8px; padding: 0 8px 20px; scrollbar-width: thin; scrollbar-color: #c9cec0 transparent; }
.history-group { margin-bottom: 23px; }
.history-group h2 { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.25px; color: #989c90; margin: 0 10px 9px; }
.chat-item { width: 100%; padding: 11px 11px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 9px; text-align: left; background: transparent; color: #5d6358; line-height: 1.35; margin: 2px 0; font-size: 13px; }
.chat-item:hover { background: #e6e8de; color: var(--ink); }
.chat-item.active { background: #dfe5d8; color: #33472e; font-weight: 550; }
.chat-item-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-icon { flex-shrink: 0; width: 12px; height: 10px; border: 1.2px solid currentColor; border-radius: 3px; opacity: .6; position: relative; }
.chat-item-icon:after { content: ""; position: absolute; width: 3px; height: 3px; bottom: -3px; left: 2px; border-left: 1.2px solid currentColor; transform: skewY(-35deg); background: var(--sidebar); }
.chat-item.active .chat-item-icon:after { background: #dfe5d8; }
.chat-item .running-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-left: auto; animation: breathe 1.4s ease-in-out infinite; }
.history-empty { color: #8a8f81; font-size: 12px; line-height: 1.65; padding: 6px 10px; }
.sidebar-footer { display: flex; gap: 9px; align-items: center; border-top: 1px solid var(--border); margin-top: auto; padding: 19px 3px 21px; }
.model-avatar { width: 35px; height: 35px; background: #e0e7d9; display: grid; place-items: center; border-radius: 10px; flex-shrink: 0; }
.model-avatar .brand-mark { width: 17px; height: 17px; gap: 2px; }
.model-avatar .brand-mark i { border-radius: 2px; }
.model-info { min-width: 0; }
.model-name { font-weight: 550; font-size: 12px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.model-status { color: var(--muted); display: flex; align-items: center; gap: 5px; font-size: 11px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #b5b9ae; flex-shrink: 0; }
.status-dot.online { background: #72956b; box-shadow: 0 0 0 2px #72956b16; }
.status-dot.offline { background: #b27764; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; }
.topbar { min-height: 74px; padding: 0 34px; display: flex; justify-content: space-between; gap: 15px; align-items: center; border-bottom: 1px solid #e8e9e2; }
.topbar-title-group { min-width: 0; display: flex; align-items: center; gap: 12px; }
.topbar h1 { margin: 0; color: #646a5e; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: flex; align-items: center; gap: 19px; flex-shrink: 0; }
.context-label { font-size: 10px; color: #929889; letter-spacing: .1px; }
.more-icon { font-size: 24px; letter-spacing: 2px; font-weight: 650; transform: translateY(-4px); }
.conversation-menu-wrap { position: relative; }
.popover-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 192px; background: #fff; box-shadow: 0 8px 35px #28322216; border: 1px solid var(--border); padding: 5px; border-radius: 10px; z-index: 40; }
.popover-menu button { border: 0; width: 100%; background: transparent; text-align: left; font-size: 12px; padding: 10px 9px; border-radius: 6px; color: #53594c; }
.popover-menu button:hover { background: #f0f3eb; }
.popover-menu .danger-text { color: var(--danger); }
.popover-menu button:disabled { opacity: .35; }
.open-sidebar { display: none; }
.menu-icon { width: 17px; height: 12px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; position: relative; }
.menu-icon:after { content: ""; position: absolute; height: 1.5px; width: 13px; background: currentColor; left: 0; top: 4px; }
.notice { margin: 15px 28px 0; padding: 7px 9px 7px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #855543; background: #f8eee6; border: 1px solid #e8d4c5; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.notice .icon-button { color: #996f5b; }
.conversation-view { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d5d9ce transparent; }
.empty-state { width: min(760px, 100%); min-height: 100%; padding: 65px 38px 40px; margin: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.welcome-mark { width: 57px; height: 57px; background: #e9eee2; border: 1px solid #dbe4d2; border-radius: 18px; display: grid; place-items: center; margin-bottom: 25px; box-shadow: 0 3px 3px #4f624308; }
.welcome-mark .brand-mark { width: 27px; height: 27px; gap: 3px; }
.empty-state h2 { font-size: clamp(28px, 3.6vw, 39px); line-height: 1.2; letter-spacing: -1.5px; font-weight: 500; margin: 0 0 12px; color: #343b2f; }
.empty-state > p { color: #8c9184; font-size: 13px; line-height: 1.65; margin: 0; }
.suggestions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; width: 100%; margin-top: 37px; }
.suggestion { background: #fcfdf9; border: 1px solid #e0e4d8; border-radius: 12px; padding: 17px 15px 15px; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 21px 6px; color: #5a6351; font-size: 11px; line-height: 1.4; box-shadow: 0 2px 2px #43543303; transition: transform .15s, border-color .15s, background .15s; }
.suggestion:hover { background: #fff; border-color: #aeba9f; transform: translateY(-2px); }
.suggestion-icon { grid-column: 1 / -1; font-size: 19px; font-weight: 500; color: #859577; height: 20px; }
.code-suggestion { font: 15px ui-monospace, monospace; }
.suggestion-arrow { color: #9da692; font-size: 15px; }
.storage-note { display: flex; gap: 6px; align-items: center; color: #a0a694; font-size: 10px; margin-top: 22px; }
.storage-icon { width: 9px; height: 10px; border: 1px solid currentColor; border-radius: 2px; position: relative; }
.storage-icon:after { content: ""; position: absolute; height: 2px; left: 1px; right: 1px; bottom: 1px; border-top: 1px solid currentColor; }
.messages { width: min(830px, 100%); margin: auto; padding: 34px 30px 26px; }
.message { margin-bottom: 30px; animation: appear .15s ease-out; }
.message.user { display: flex; justify-content: flex-end; }
.user-content { background: #e9ede3; color: #3a4534; border-radius: 17px 17px 4px 17px; padding: 13px 18px; max-width: 85%; font-size: 16px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.long-user-message { width: 85%; white-space: normal; }
.user-message-text { white-space: pre-wrap; }
.long-user-message.expanded .user-message-text { max-height: 440px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.user-message-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 13px; padding-top: 10px; border-top: 1px solid #d3ddca; color: #74816a; font-size: 11px; line-height: 1.5; }
.user-message-footer button { padding: 3px 0; border: 0; background: transparent; color: #526c44; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.user-message-footer button:hover { color: #30452a; }
.assistant-heading { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #79806f; font-size: 10px; font-weight: 550; }
.assistant-heading .brand-mark { width: 13px; height: 13px; gap: 1.5px; transform: none; }
.assistant-heading .brand-mark i { border-radius: 1.5px; }
.message-content { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; color: #353c30; }
.message-content > :first-child { margin-top: 0; }
.message-content > :last-child { margin-bottom: 0; }
.message-content p { margin: 0 0 15px; }
.message-content h1, .message-content h2 { font-size: 21px; line-height: 1.4; margin: 27px 0 12px; letter-spacing: -.5px; font-weight: 600; }
.message-content h3 { font-size: 17px; margin: 22px 0 10px; font-weight: 600; }
.message-content h4, .message-content h5, .message-content h6 { font-size: 14px; margin: 20px 0 8px; font-weight: 650; }
.message-content ul, .message-content ol { padding-left: 25px; margin: 0 0 16px; }
.message-content li { padding-left: 4px; margin: 5px 0; }
.message-content a { color: #52714a; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.message-content strong { font-weight: 650; }
.message-content code { font: 12px/1.7 "Cascadia Code", "SFMono-Regular", Consolas, monospace; background: #e9eee1; border-radius: 4px; padding: 2px 5px; color: #415239; }
.message-content blockquote { border-left: 3px solid #b2c1a3; margin: 16px 0; padding: 4px 0 4px 17px; color: #777f6b; }
.message-content blockquote p { margin: 0; }
.message-content hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.code-block { background: #273129; border: 1px solid #39453a; color: #e2eadc; border-radius: 11px; overflow: hidden; margin: 18px 0; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 33px; padding: 0 12px 0 16px; background: #303a31; font-size: 10px; color: #a8b6a0; }
.code-toolbar button { border: 0; background: transparent; color: #bbc8b3; font-size: 10px; padding: 7px 5px; border-radius: 4px; }
.code-toolbar button:hover { color: #fff; }
.code-block pre { overflow-x: auto; margin: 0; padding: 16px 18px; scrollbar-width: thin; }
.code-block code { background: none; padding: 0; color: inherit; font-size: 12px; line-height: 1.8; white-space: pre; }
.table-scroll { overflow-x: auto; margin: 18px 0; border: 1px solid var(--border); border-radius: 9px; }
.message-content table { border-collapse: collapse; width: 100%; font-size: 12px; text-align: left; }
.message-content th, .message-content td { border-bottom: 1px solid var(--border); padding: 10px 13px; vertical-align: top; }
.message-content th { background: #eef1e8; font-weight: 600; }
.message-content tr:last-child td { border-bottom: 0; }
.reasoning { margin: 0 0 15px; color: #8b9380; font-size: 11px; }
.reasoning summary { cursor: pointer; display: list-item; padding: 5px 0; width: fit-content; user-select: none; }
.reasoning summary:hover { color: var(--green); }
.reasoning-content { margin: 7px 0 0; padding: 13px 16px; border-left: 2px solid #d9e1ce; font-size: 12px; line-height: 1.75; color: #848c78; white-space: pre-wrap; max-height: 280px; overflow: auto; }
.message-actions { display: flex; align-items: center; gap: 10px; min-height: 25px; margin-top: 12px; color: #a0a696; font-size: 10px; }
.copy-button { border: 0; border-radius: 5px; background: transparent; color: #969e8b; padding: 5px 6px; margin-left: -6px; display: inline-flex; gap: 5px; align-items: center; font-size: 10px; }
.copy-button:hover { background: #e9ede2; color: #5d7050; }
.copy-icon { width: 10px; height: 11px; border: 1px solid currentColor; border-radius: 2px; position: relative; margin-left: 3px; }
.copy-icon:before { content: ""; position: absolute; left: -4px; top: -4px; height: 8px; width: 7px; border: 1px solid currentColor; border-right: 0; border-bottom: 0; border-radius: 2px 0 0 0; }
.message-state.error { color: var(--danger); }
.message-error { color: #9a5843; font-size: 12px; line-height: 1.65; margin-top: 12px; padding: 11px 14px; border: 1px solid #e9d7c9; background: #faf0e8; border-radius: 8px; }
.error-action { display: block; margin-top: 8px; background: #fff8f2; color: #8f513d; border: 1px solid #e0bfa8; padding: 6px 10px; font-size: 11px; border-radius: 6px; }
.error-action:hover { background: #fff; }
.response-placeholder { display: flex; align-items: center; gap: 4px; min-height: 22px; color: #9ba88c; font-size: 12px; }
.response-placeholder .loading-spinner { width: 11px; height: 11px; margin-right: 5px; }
.streaming-caret:after { content: ""; display: inline-block; width: 5px; height: 13px; margin-left: 4px; vertical-align: -1px; background: #8a9f79; border-radius: 2px; animation: breathe .9s ease-in-out infinite; }
.conversation-loading { height: 100%; min-height: 200px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); font-size: 12px; }
.loading-spinner { display: inline-block; width: 13px; height: 13px; border: 1.5px solid #cad4c1; border-top-color: #738a63; border-radius: 50%; animation: spin .8s linear infinite; flex-shrink: 0; }
.composer-area { flex-shrink: 0; width: min(856px, 100%); margin: 0 auto; padding: 0 30px 18px; }
.composer { border: 1px solid #d7ded0; background: #fff; border-radius: 18px; padding: 15px 14px 10px 18px; box-shadow: 0 4px 20px #35452b08, 0 1px 3px #35452b05; transition: border-color .15s, box-shadow .15s; }
.composer:focus-within { border-color: #a8b59c; box-shadow: 0 4px 25px #35452b0a, 0 0 0 3px #6f86500a; }
.composer textarea { display: block; width: 100%; padding: 0 4px 12px 0; min-height: 45px; max-height: 190px; overflow-y: auto; resize: none; border: 0; outline: none !important; background: transparent; color: #35402e; font-size: 16px; line-height: 1.7; scrollbar-width: thin; }
.composer textarea::placeholder { color: #a1a697; }
.composer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.composer-settings { display: flex; gap: 10px; align-items: center; min-width: 0; }
.select-control { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #929b85; }
.select-control label { color: #8a947d; }
.reasoning-icon { font-size: 13px; color: #849875; }
.select-control select { background: transparent; border: 0; color: #647457; padding: 5px 3px; cursor: pointer; font-size: 12px; border-radius: 4px; }
.toolbar-divider { width: 1px; height: 12px; background: #e5e8df; }
.send-button, .stop-button { border: 0; width: 33px; height: 33px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--green); color: #fff; flex-shrink: 0; }
.send-button { font-size: 23px; line-height: 1; font-weight: 350; }
.send-button span { transform: translateY(-1px); }
.send-button:hover, .stop-button:hover { background: var(--green-hover); }
.send-button:disabled { background: #e9eee2; color: #a3af95; }
.stop-icon { width: 10px; height: 10px; background: currentColor; border-radius: 2px; }
.composer-caption { display: flex; justify-content: center; gap: 7px; margin-top: 11px; font-size: 9px; color: #a4aa9b; }
.caption-dot { color: #b7bdac; }
.background-generation { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 11px; }
.background-generation button { padding: 0; border: 0; background: none; color: #7b8d6d; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.background-generation .loading-spinner { height: 10px; width: 10px; }
.conversation-dialog { background: #fbfcf8; color: var(--ink); border: 1px solid #dbe2d3; border-radius: 17px; padding: 27px; max-width: min(420px, calc(100vw - 32px)); width: 420px; box-shadow: 0 24px 100px #1c281d24; }
.conversation-dialog::backdrop { background: #20291e50; backdrop-filter: blur(3px); }
.conversation-dialog h2 { margin: 0 0 20px; font-size: 18px; font-weight: 600; letter-spacing: -.4px; }
.conversation-dialog p { font-size: 13px; line-height: 1.65; color: #838b77; margin: -6px 0 20px; }
.conversation-dialog input { width: 100%; background: #fff; border: 1px solid #cdd8c3; border-radius: 8px; padding: 12px; color: #3a4830; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 25px; }
.primary-button, .secondary-button { border: 1px solid transparent; border-radius: 8px; padding: 10px 15px; font-size: 12px; }
.primary-button { background: var(--green); color: #fff; }
.primary-button:hover { background: var(--green-hover); }
.primary-button.danger { background: #a65341; }
.primary-button.danger:hover { background: #8c4333; }
.secondary-button { border-color: #dce2d5; background: transparent; color: #68765c; }
.secondary-button:hover { background: #eaf0e3; }
.primary-button:disabled { opacity: .55; }
.conversation-dialog .dialog-error { color: var(--danger); margin: 12px 0 0; font-size: 12px; }
.toast { position: fixed; bottom: 24px; left: calc(50% + 134px); transform: translateX(-50%); z-index: 100; padding: 10px 16px; background: #35482d; color: #f5f8ef; border-radius: 9px; font-size: 12px; box-shadow: 0 5px 20px #1c281d20; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes appear { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { .messages { max-width: 900px; } .composer-area { max-width: 926px; } }
@media (max-width: 1000px) { .sidebar { width: 236px; flex-basis: 236px; padding-left: 12px; padding-right: 12px; } .topbar { padding: 0 24px; } .toast { left: calc(50% + 118px); } .suggestions { gap: 8px; } .suggestion { padding: 15px 11px 12px; font-size: 10px; } }
@media (max-width: 760px) {
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; transform: translateX(-100%); transition: transform .2s ease; box-shadow: 8px 0 30px #24331a15; padding-top: 22px; }
  .app-shell.sidebar-open .sidebar { transform: translateX(0); }
  .close-sidebar { display: flex; }
  .sidebar-backdrop { position: fixed; inset: 0; border: 0; background: #18251242; z-index: 25; backdrop-filter: blur(2px); }
  .open-sidebar { display: inline-flex; }
  .topbar { min-height: 63px; padding: 0 15px; }
  .topbar-title-group { gap: 9px; }
  .topbar h1 { font-size: 12px; }
  .topbar-actions { gap: 10px; }
  .context-label { font-size: 9px; }
  .empty-state { padding: 40px 24px 35px; }
  .empty-state h2 { font-size: 31px; }
  .empty-state > p { max-width: 260px; font-size: 12px; }
  .suggestions { max-width: 450px; gap: 8px; margin-top: 28px; }
  .suggestion { padding: 14px 10px 12px; gap: 15px 2px; font-size: 10px; }
  .suggestion-icon { font-size: 17px; }
  .suggestion-arrow { font-size: 13px; }
  .storage-note { margin-top: 18px; font-size: 9px; }
  .messages { padding: 25px 22px 15px; }
  .message-content { font-size: 16px; }
  .message { margin-bottom: 25px; }
  .user-content { max-width: 90%; padding: 11px 15px; }
  .composer-area { padding: 0 14px 12px; }
  .composer { padding: 13px 11px 9px 15px; border-radius: 15px; }
  .composer textarea { min-height: 40px; font-size: 16px; }
  .composer-caption { font-size: 8px; margin-top: 9px; }
  .toast { left: 50%; bottom: 18px; }
  .notice { margin: 12px 14px 0; }
}
@media (max-width: 380px) { .context-label { display: none; } .select-control label { display: none; } .empty-state { padding: 28px 17px; } .suggestions { gap: 6px; } .suggestion { padding-left: 8px; padding-right: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
