:root{color-scheme:light;--bg:#fcfcfc;--sidebar:#fcfcfc;--fg:#0d0d0d;--muted:#8f8f8f;--line:#ededed;--hover:#0000000d;--surface:#fff;--bubble:#e7f3ff;--accent:#3485ff;--send:#bad5ff;--shadow:0 0 0 1px #0000000a,0 2px 8px #0000000a,0 4px 80px 8px #00000006;--sidebar-width:260px;font-family:-apple-system-body,ui-sans-serif,-apple-system,system-ui,"Segoe UI",Helvetica,"Apple Color Emoji",Arial,sans-serif,"Segoe UI Emoji","Segoe UI Symbol";font-size:16px;color:var(--fg);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;overscroll-behavior:none}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:hover{background:var(--hover)}button{transition:background-color .15s,color .15s,opacity .15s,box-shadow .15s}button:active:not(:disabled){transition-duration:.05s}[hidden]{display:none!important}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}.row{display:flex;align-items:center;gap:0}.icon{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:8px;padding:0;flex:none}.icon svg{width:20px;height:20px}.skip{position:fixed;top:-80px;left:20px;padding:12px;z-index:100;background:var(--surface);border-radius:12px}.skip:focus{top:12px}.app{display:flex;height:100dvh;min-height:360px;overflow:hidden;isolation:isolate}
.sidebar{display:flex;flex-direction:column;flex:0 0 var(--sidebar-width);width:var(--sidebar-width);background:var(--sidebar);border-right:1px solid var(--line);z-index:20;overflow:hidden;transition:width .24s cubic-bezier(.2,.8,.2,1),flex-basis .24s cubic-bezier(.2,.8,.2,1),transform .24s cubic-bezier(.2,.8,.2,1);will-change:width}.sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:8px 22px 8px 16px;height:52px;flex:none;width:259px}.brand{font-size:18px;line-height:24px;font-weight:600;padding:4px 2px;border-radius:8px;letter-spacing:-.6px}.sidebar-header .icon{color:var(--muted)}.sidebar-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:transparent transparent;width:259px}.sidebar-scroll:hover{scrollbar-color:#d7d7d7 transparent}.navigation{padding:8px 10px 10px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;height:36px;text-align:left;border-radius:12px;padding:8px 10px;font-size:14px;white-space:nowrap}.nav-item.active,.history-item.active{background:var(--hover)}.nav-item span[data-icon]{display:flex}.nav-add{margin-left:auto;color:var(--muted);opacity:0}.nav-add svg{width:16px;height:16px}.nav-item:hover .nav-add{opacity:1}.shortcut{font-size:11px;color:var(--muted);margin-left:auto;opacity:0;transition:opacity .15s;white-space:nowrap}.nav-item:hover .shortcut{opacity:1}.history-scroll{padding:0 10px 12px}.history-scroll section{margin-top:12px}.history-scroll h2{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:400;color:var(--muted);margin:0 2px 4px 9px;min-height:28px}.section-toggle{display:flex;gap:3px;align-items:center;padding:4px 0;color:var(--muted)}.section-toggle:hover{background:transparent;color:var(--fg)}.section-toggle svg{width:12px;height:12px;opacity:0;transition:opacity .15s,transform .2s}.section-toggle:hover svg,.section-toggle[aria-expanded=false] svg{opacity:1}.section-toggle[aria-expanded=false] svg{transform:rotate(-90deg)}.section-add{width:26px;height:26px;opacity:0}.history-scroll h2:hover .section-add{opacity:1}.history-empty{color:var(--muted);font-size:12px;margin:24px 10px;line-height:1.7}.history-item{display:flex;align-items:center;gap:0;border-radius:10px;position:relative;min-height:36px}.history-item:hover{background:var(--hover)}.history-open{display:flex;align-items:center;gap:9px;min-width:0;flex:1;text-align:left;padding:8px 10px;font-size:14px;line-height:20px;background:transparent!important;white-space:nowrap;overflow:hidden}.history-open>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-open svg{width:20px;height:20px}.history-menu,.history-pin{display:grid;place-items:center;width:26px;height:28px;border-radius:7px;opacity:0;flex:none;padding:3px;color:var(--muted)}.history-menu{margin-right:5px}.history-menu svg,.history-pin svg{width:17px;height:17px}.history-item:hover .history-menu,.history-item:focus-within .history-menu,.history-item:hover .history-pin,.history-item:focus-within .history-pin{opacity:1}.history-item:not(:hover):not(:focus-within) .history-menu,.history-item:not(:hover):not(:focus-within) .history-pin{position:absolute;right:5px;pointer-events:none}.history-item:not(:hover):not(:focus-within) .history-pin{right:32px}.project-item{border-radius:8px;padding-left:10px}.profile{display:flex;align-items:center;gap:9px;text-align:left;padding:10px 14px;height:68px;flex:none;background:var(--sidebar);border-top:1px solid var(--line);white-space:nowrap;width:259px}.avatar{width:24px;height:24px;border-radius:50%;background:#509aff;color:white;display:grid;place-items:center;font-size:12px;flex:none}.profile strong{font-size:14px;font-weight:400;display:block}.profile small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.profile-more{display:none}
.workspace{display:flex;flex-direction:column;flex:1;min-width:0;position:relative}.topbar{height:52px;padding:8px 23px 8px 12px;display:flex;justify-content:space-between;align-items:center;flex:none;z-index:5}.temporary{border-radius:50%}.temporary.active{background:#e8f2ff;color:var(--accent)}.project-label{font-size:14px;color:var(--muted);padding-left:8px}#conversation-title{display:none}.feature-toggle{position:absolute;z-index:25;right:0;top:70px;display:flex;align-items:center;gap:5px;padding:7px 10px 7px 8px;height:36px;border:1px solid #dfe6ef;border-right:0;border-radius:20px 0 0 20px;box-shadow:0 2px 8px #1829410c,0 0 0 1px #dfe6ef80;background:var(--bg);font-size:12px;font-weight:650;color:#1e293b}.feature-toggle svg{width:16px;height:16px}.chat-view{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;position:relative}.composer-area{width:min(640px,calc(100% - 64px));margin:0 auto;flex:none;position:relative;padding:0 0 24px;z-index:4}.empty .composer-area{padding:0;margin-top:clamp(70px,22vh,250px)}.composer-area h1{text-align:center;font-size:24px;font-weight:400;line-height:42px;min-height:42px;margin:0 0 22px;letter-spacing:0}.composer-shell{position:relative}.composer{border:0;border-radius:28px;box-shadow:var(--shadow);padding:8px;background:var(--surface);transition:box-shadow .2s,background .2s}.composer-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto 36px 36px;align-items:center;gap:4px;min-height:36px}.composer-row>.icon{border-radius:50%}.composer-row textarea{display:block;resize:none;border:0;background:transparent;outline:none;width:100%;min-width:0;height:26px;max-height:208px;line-height:26px;padding:0 3px;align-self:center;font-size:16px;scrollbar-width:thin}.composer-row textarea:focus-visible{outline:none}.composer-row textarea::placeholder{color:var(--muted);opacity:1}.model-button{display:flex;align-items:center;gap:3px;flex:none;font-size:16px;color:var(--muted);padding:8px 10px;border-radius:999px;white-space:nowrap;line-height:20px;min-height:36px}.model-button svg{width:16px;height:16px;margin-left:3px;stroke-width:1.2}.model-button[aria-expanded=true]{background:var(--hover)}.model-button[aria-expanded=true] #model-short{color:var(--fg)}.send{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:white;padding:0;transition:background .18s,transform .12s}.send:disabled{background:var(--send);color:#fff;opacity:1}.send:hover:not(:disabled){background:color-mix(in srgb,var(--accent),#000 10%)}.send:active:not(:disabled){transform:scale(.94)}.send svg{width:24px;height:24px;stroke-width:2.5}.send.streaming svg{width:14px;height:14px;fill:currentColor;stroke:none}.composer.expanded .composer-row{row-gap:6px}.composer.expanded textarea{grid-column:1/-1;grid-row:1;margin:4px 6px 5px;width:calc(100% - 12px)}.composer.expanded #tools{grid-column:1;grid-row:2}.composer.expanded #model-select{grid-column:3;grid-row:2}.composer.expanded #voice{grid-column:4;grid-row:2}.composer.expanded #send{grid-column:5;grid-row:2}.composer-shortcuts{position:absolute;right:calc(100% + 10px);height:36px;top:8px;display:flex;gap:6px;align-items:center}.quick-button{position:relative;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--surface);box-shadow:0 1px 3px #0003,0 0 0 1px #00000006;color:#334155;padding:6px}.quick-button:hover{background:var(--hover)}.quick-button svg{width:23px;height:23px}.quick-mark i{position:absolute;right:0;top:-1px;width:9px;height:9px;border-radius:50%;background:#ff4155;border:1px solid white}.suggestions{padding-top:23px;display:flex;flex-direction:column;gap:0}.suggestions button{display:flex;align-items:center;gap:18px;text-align:left;padding:14px 18px;color:var(--muted);font-size:16px;border-radius:12px;height:52px;width:100%}.suggestions svg{width:20px;height:20px;stroke-width:1.65}.suggestions button:hover{color:var(--fg);background:#00000003}
.messages{flex:1;overflow:auto;scroll-behavior:smooth;padding:12px max(32px,calc((100% - 640px)/2)) 36px;scrollbar-width:thin;scrollbar-color:#ddd transparent;overscroll-behavior:contain}.empty .messages{display:none}.message{margin:0 0 32px;max-width:100%;line-height:26px;font-size:16px;animation:message-enter .18s ease-out}.message.user{display:flex;justify-content:flex-end;flex-direction:column;align-items:flex-end;margin-bottom:36px}.message.user .message-content{background:var(--bubble);border-radius:24px;padding:10px 16px;max-width:75%;white-space:pre-wrap;overflow-wrap:anywhere}.message.assistant .message-content{overflow-wrap:anywhere;min-height:26px}.message .message-meta{font-size:12px;color:var(--muted);margin:5px 0}.message-meta:empty{display:none}.message .message-actions{display:flex;gap:0;margin-top:12px}.message.user .message-actions{opacity:0;transition:opacity .15s;margin-top:4px}.message.user:hover .message-actions,.message.user:focus-within .message-actions{opacity:1}.message .message-actions button{display:grid;place-items:center;width:32px;height:30px;border-radius:7px;color:#626262;padding:5px}.message .message-actions svg{width:20px;height:20px;stroke-width:1.7}.message-content p{margin:0 0 16px;white-space:pre-wrap}.message-content p:last-child{margin-bottom:0}.message-content h2{font-size:22px;line-height:30px;margin:22px 0 14px;font-weight:600}.message-content h3{font-size:18px;margin:20px 0 12px;font-weight:600}.message-content>h2:first-child,.message-content>h3:first-child{margin-top:0}.message-content pre{overflow:auto;background:#f4f4f4;padding:16px;border-radius:0 0 16px 16px;font:13px/1.7 Consolas,monospace;white-space:pre;margin:0 0 20px;border:1px solid var(--line);border-top:0}.message-content .code-head{display:flex;justify-content:space-between;align-items:center;background:#f4f4f4;border:1px solid var(--line);border-bottom:0;border-radius:16px 16px 0 0;margin:16px 0 0;padding:4px 12px;font-size:12px;color:#666}.code-head .icon{width:28px;height:28px}.code-head .icon svg{width:16px;height:16px}.message-content code{font-family:Consolas,monospace;font-size:.9em}.message-content p code,.message-content li code{background:#00000008;padding:2px 5px;border-radius:4px}.message-content blockquote{border-left:2px solid #d2d2d2;padding-left:18px;margin:18px 0;color:#666}.message-content ul,.message-content ol{padding-left:26px;margin:14px 0}.message-content li{padding-left:4px;margin:7px 0}.message-content a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.message-content hr{border:0;border-top:1px solid var(--line);margin:22px 0}.message.streaming .message-content:empty:after{content:"";display:block;width:12px;height:12px;border-radius:50%;background:var(--accent);margin:10px 0;animation:pulse 1.3s ease-in-out infinite}.composer-caption{text-align:center;color:var(--muted);font-size:12px;line-height:18px;margin:0 0 16px}.temporary-info{text-align:center;color:var(--muted);font-size:13px;margin:-10px 0 20px}.attachment-chips{display:flex;gap:6px;flex-wrap:wrap}.attachment-chips:not(:empty){padding:4px 5px 10px}.attachment-chip{padding:8px 10px;background:var(--bg);border:1px solid var(--line);border-radius:12px;font-size:12px}.attachment-chip button{border-radius:5px;margin-left:6px}.scroll-bottom{position:absolute;bottom:130px;left:50%;transform:translateX(-50%);background:var(--surface);border:1px solid #ddd;border-radius:50%;box-shadow:0 2px 8px #00000008;z-index:6;width:32px;height:32px}.conversation-outline{position:absolute;right:16px;top:70px;bottom:102px;width:28px;display:flex;flex-direction:column;align-items:center;gap:8px;z-index:3}.outline-track{width:28px;flex:1;min-height:40px;border:1px solid #e1e2e7;background:#f0f1f5;border-radius:18px;position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden;padding:5px 0;gap:5px}.outline-track button{display:grid;place-items:center;min-width:20px;min-height:20px;width:20px;height:20px;border:3px solid var(--fg);border-radius:50%;font-size:0;position:relative;color:var(--fg)}.outline-track button:hover{background:#c8d5eb;transform:scale(1.05)}.conversation-outline>.icon{width:28px;height:28px;color:#777}.conversation-outline.expanded{width:180px}.conversation-outline.expanded .outline-track{width:180px;background:var(--surface);padding:6px;gap:3px;border-radius:12px;overflow:auto;flex:initial;max-height:100%}.conversation-outline.expanded .outline-track button{font-size:12px;border:0;border-radius:7px;width:100%;height:auto;display:block;min-height:32px;text-align:left;padding:6px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-outline.expanded>.icon{align-self:flex-end}
.popover{position:fixed;z-index:60;padding:8px;border:1px solid #0000000c;border-radius:20px;background:var(--surface);box-shadow:0 4px 18px #00000008,0 0 1px #00000008;min-width:224px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;transform-origin:var(--origin,top right);animation:menu-enter .14s cubic-bezier(.2,.8,.2,1);scrollbar-width:thin}.popover button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;min-height:36px;border-radius:12px;text-align:left;font-size:14px;line-height:20px}.popover button svg{width:20px;height:20px}.popover .menu-text{min-width:0;flex:1}.popover .description{display:block;font-size:12px;line-height:18px;color:var(--muted);margin-top:1px;overflow:hidden;text-overflow:ellipsis}.popover .selected{background:transparent}.popover .selected:hover{background:var(--hover)}.popover .selection-check{margin-left:auto;width:18px;height:18px}.popover .menu-label{font-size:12px;color:var(--muted);padding:7px 12px 5px}.popover hr{border:0;border-top:1px solid #dedede;margin:8px}.popover .danger{color:#e34c50}.popover .menu-arrow{margin-left:auto;width:16px;height:16px}.model-menu{width:224px;padding:8px}.model-row{display:flex;align-items:stretch;border-radius:12px;min-height:52px}.model-row>.model-choice{flex:1;min-width:0;min-height:52px;padding:7px 12px;gap:6px}.model-choice .description{white-space:nowrap}.model-row>.effort-trigger{flex:none;width:auto;min-width:70px;padding:6px 9px 6px 10px;justify-content:flex-end;gap:5px;position:relative;color:var(--muted);font-size:14px}.effort-trigger:before{content:"";position:absolute;left:0;top:14px;bottom:14px;border-left:1px solid #dedede}.effort-trigger svg{width:16px;height:16px}.model-row:hover{background:#00000002}.menu-disclaimer{font-size:10px;line-height:15px;color:var(--muted);padding:3px 10px 2px;max-width:210px}.submenu{z-index:65;width:236px;transform-origin:top right}.submenu .effort-option{min-height:52px}.tools-menu{width:640px;border-radius:20px;padding:8px}.tools-menu button{padding:8px 10px;min-height:36px;gap:12px}.tools-menu .menu-text{display:flex;align-items:baseline;gap:12px;overflow:hidden;white-space:nowrap}.tools-menu .description{display:inline;font-size:14px;margin:0;flex:1;min-width:0}.tools-menu .menu-hint{padding:12px 8px 0;font-size:14px;color:var(--muted);line-height:20px}.tools-menu button:first-child{background:#f5f5f5}.tools-menu .tool-image{color:#32c7ee;fill:#ffdb68;stroke-width:1.6}.tools-menu .tool-globe{color:#27c9f5}.tools-menu .tool-research{color:#2da7ff}.tools-menu .tool-visual{color:#fa68b2}.profile-menu{width:248px}.profile-menu button{min-height:40px}.feature-menu{min-width:148px;border-radius:12px;border:1px solid #dfe6ef;background:var(--bg);color:#1e293b}.feature-menu button{font-size:13px;min-height:40px}.feature-menu .emoji{font-size:17px}.tooltip{position:fixed;z-index:150;pointer-events:none;background:#242424;color:white;padding:7px 10px;border-radius:7px;font-size:12px;line-height:17px;box-shadow:0 2px 8px #0002;max-width:250px;animation:tooltip-enter .12s ease-out}.tooltip kbd{font:inherit;color:#aaa;margin-left:12px}.tooltip:after{content:"";position:absolute;top:-4px;left:calc(50% - 4px);width:8px;height:8px;background:inherit;transform:rotate(45deg)}
.notes-panel{flex:none;width:330px;border-left:1px solid var(--line);background:var(--surface);z-index:30;display:flex;flex-direction:column;animation:panel-enter .2s ease-out}.notes-panel header{height:60px;padding:11px 14px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.notes-panel h2{font-size:15px;display:flex;gap:8px;align-items:center;margin:0}.notes-panel input{border:0;background:transparent;width:100%;font-size:16px;padding:20px 20px 12px;outline:none}.notes-panel textarea{flex:1;width:100%;resize:none;border:0;background:transparent;padding:0 20px;outline:none;line-height:1.9}.notes-panel footer{padding:15px 20px;color:var(--muted);font-size:11px}.note-item{display:block;width:100%;text-align:left;padding:12px 20px;border-bottom:1px solid var(--line)}#notes-list{max-height:220px;overflow:auto}.dashboard-view{overflow:auto;flex:1;padding:32px clamp(24px,6vw,80px);max-width:1100px;width:100%;margin:auto}.dashboard-view h1{font-size:28px;font-weight:500;margin:8px 0}.dashboard-view header p{color:var(--muted);font-size:14px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:30px 0}.stat{border:1px solid var(--line);border-radius:16px;padding:20px}.stat strong{font-size:28px;display:block;font-weight:500;margin-bottom:8px}.stat span{color:var(--muted);font-size:12px}.dashboard-card{border:1px solid var(--line);border-radius:16px;padding:24px;margin:20px 0;background:var(--surface)}.dashboard-card h2{font-size:17px;font-weight:500;margin:0 0 16px}.dashboard-card p{color:var(--muted);line-height:1.7;font-size:14px}.dashboard-actions{display:flex;gap:10px;flex-wrap:wrap}.dashboard-actions button{padding:10px 16px;border:1px solid var(--line);border-radius:999px;font-size:14px}.model-card{padding:12px 0;display:flex;justify-content:space-between;border-bottom:1px solid var(--line);font-size:13px}.model-card:last-child{border:0}.model-card small{color:var(--muted)}
.login{height:100dvh;display:grid;place-items:center;background:var(--bg)}.login-card{width:min(370px,calc(100vw - 48px));padding:20px 5px;text-align:center;animation:message-enter .25s ease-out}.login-mark{width:48px;height:48px;border-radius:16px;background:var(--accent);color:white;display:grid;place-items:center;font-size:24px;font-weight:600;margin:0 auto 24px}.login h1{font-size:28px;font-weight:500;letter-spacing:-.7px;margin:0 0 10px}.login p{color:var(--muted);margin:0 0 28px;font-size:14px}.login label{display:block;text-align:left;font-size:12px;margin:15px 0}.login input{display:block;width:100%;margin-top:7px;padding:12px 14px;border:1px solid #dedede;background:var(--surface);border-radius:12px}.primary{background:var(--fg);color:var(--bg);padding:11px 18px;border-radius:999px;font-weight:500;font-size:14px}.primary:hover{background:#424242;color:white}.login .primary{width:100%;margin-top:10px}.login small{color:var(--muted);font-size:11px;display:block;line-height:1.7}.login #login-error{color:#bf4040;font-size:12px;margin:15px 0}.muted{color:var(--muted)}
dialog{width:min(520px,calc(100vw - 32px));padding:0;border:1px solid #0002;border-radius:18px;color:var(--fg);background:var(--surface);box-shadow:0 14px 30px #0000000d;font-size:14px;animation:dialog-enter .18s ease-out}dialog::backdrop{background:#0000000a;backdrop-filter:blur(2px);animation:backdrop-enter .18s ease-out}dialog header{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}dialog h2{font-size:18px;font-weight:500;margin:0}#dialog-body{padding:20px;line-height:1.8;max-height:65vh;overflow:auto}#dialog-body p{margin:0 0 14px}dialog input,dialog textarea,dialog select{display:block;width:100%;border:1px solid #ddd;border-radius:12px;padding:10px 12px;background:var(--surface)}dialog textarea{min-height:180px;resize:vertical;line-height:1.8}dialog label{font-size:13px;display:block;margin-bottom:8px}dialog footer{display:flex;justify-content:flex-end;gap:9px;padding:0 20px 20px}dialog footer button:not(.primary){padding:10px 17px;border-radius:999px;border:1px solid var(--line)}.search-result{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border-radius:10px;padding:12px 10px;margin-top:4px}.search-result svg{width:18px;height:18px;color:var(--muted)}.search-dialog{width:min(640px,calc(100vw - 32px))}.search-dialog header{border:0;padding-bottom:0}.search-dialog #dialog-body{padding-top:10px}.search-dialog #dialog-body input{border:0;border-radius:0;border-bottom:1px solid var(--line);padding:10px 3px 16px;margin-bottom:14px;font-size:16px;outline:none}.search-dialog footer{display:none}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#242424;color:white;border-radius:12px;padding:12px 18px;z-index:200;box-shadow:0 4px 20px #0002;font-size:13px;max-width:calc(100vw - 32px);animation:tooltip-enter .15s ease-out}
.settings-dialog{width:min(680px,calc(100vw - 32px));height:min(496px,calc(100dvh - 64px));max-width:none;max-height:none;border-radius:18px;overflow:hidden}.settings-shell{display:grid;grid-template-columns:208px minmax(0,1fr);height:100%}.settings-navigation{border-right:1px solid var(--line);padding:16px 6px;display:flex;flex-direction:column;gap:3px}.settings-navigation>.icon{margin:0 8px 16px}.settings-search{display:flex;align-items:center;gap:8px;border:1px solid #ddd;border-radius:999px;margin:0 4px 5px;padding:7px 12px;color:var(--muted)}.settings-search svg{width:16px;height:16px}.settings-search input{border:0;padding:0;min-width:0;background:none;font-size:14px;outline:none}.settings-tab{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;width:100%;font-size:14px}.settings-tab[aria-selected=true]{background:#f4f4f4}.settings-content{overflow:auto;padding:16px}.settings-content h2{font-size:18px;font-weight:500;padding:0 0 22px;border-bottom:1px solid #ddd;margin:0}.setting-row{min-height:60px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);font-size:14px;padding:12px 0}.setting-row:last-child{border-bottom:0}.setting-row select{width:auto;border:0;padding:8px 3px 8px 8px;background:none;border-radius:8px;max-width:180px;cursor:pointer}.setting-row button{border:1px solid #ddd;border-radius:999px;font-size:12px;padding:7px 12px}.settings-description{font-size:12px;color:var(--muted);line-height:1.8;padding:16px 0}.shortcut-key{display:inline-block;border:1px solid #ddd;border-radius:5px;padding:2px 6px;color:#777;font:12px/20px inherit;background:var(--bg)}.settings-content textarea{min-height:220px;margin-top:16px}.settings-content .primary{margin-top:12px}
.sidebar-backdrop{display:none}.app.sidebar-closed .sidebar{display:flex;width:0;flex-basis:0;border-right:0;pointer-events:none}.app.sidebar-closed #expand,.app.sidebar-closed #collapsed-new{display:inline-grid}.app.sidebar-closed .topbar{padding-left:12px}
body.dark{color-scheme:dark;--bg:#212121;--sidebar:#181818;--fg:#ececec;--muted:#a0a0a0;--line:#333;--hover:#ffffff1a;--surface:#303030;--bubble:#253849;--shadow:0 0 0 1px #ffffff0c,0 2px 10px #00000015;--send:#315b8b}.dark .nav-item.active,.dark .history-item.active{background:#ffffff09}.dark .feature-toggle,.dark .feature-menu{color:#d8e1ee;border-color:#3a424e;background:#24272b}.dark .popover{border-color:#444;box-shadow:0 4px 18px #0003}.dark .popover hr,.dark .effort-trigger:before{border-color:#444}.dark .tools-menu button:first-child,.dark .settings-tab[aria-selected=true]{background:#3b3b3b}.dark .message-content pre,.dark .message-content .code-head{background:#171717;border-color:#333}.dark .message-content blockquote{color:#aaa}.dark .message .message-actions button{color:#aaa}.dark .outline-track{background:#292b30;border-color:#3a3a3a}.dark .quick-button{color:#d2d9e5}.dark .temporary.active{background:#25354b}.dark .settings-search,.dark dialog input,.dark dialog textarea,.dark .setting-row button{border-color:#4a4a4a}.dark .settings-content h2{border-color:#444}.dark .primary{background:#eee;color:#171717}.dark .toast{background:#ececec;color:#171717}.dark .suggestions button:hover{background:#ffffff04}.dark .profile{background:var(--sidebar)}
@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.83);opacity:.55}}@keyframes menu-enter{from{opacity:0;transform:translateY(-3px) scale(.97)}to{opacity:1;transform:none}}@keyframes message-enter{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}@keyframes dialog-enter{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes backdrop-enter{from{opacity:0}to{opacity:1}}@keyframes tooltip-enter{from{opacity:0}to{opacity:1}}@keyframes panel-enter{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.composer-shortcuts{display:none}}@media(max-width:1000px){.notes-panel{position:fixed;right:0;top:0;bottom:0;box-shadow:-15px 0 60px #0001}.composer-area{width:min(640px,calc(100% - 40px))}.conversation-outline{right:3px;width:20px}.outline-track{width:20px}.outline-track button{min-width:14px;min-height:14px;width:14px;height:14px;border-width:2px}.conversation-outline>.icon{width:20px}.messages{padding-left:max(20px,calc((100% - 640px)/2));padding-right:max(20px,calc((100% - 640px)/2))}}
@media(max-width:700px){.sidebar{position:fixed;left:0;top:0;bottom:0;width:260px;box-shadow:10px 0 40px #0001}.app.sidebar-closed .sidebar{width:260px;transform:translateX(-100%)}.app:not(.sidebar-closed) .sidebar-backdrop{display:block;position:fixed;inset:0;background:#0004;z-index:15;animation:backdrop-enter .2s ease-out}.sidebar-closed .sidebar-backdrop{display:none!important}.topbar{height:52px;padding:8px 12px}.feature-toggle{top:65px;font-size:11px;height:32px}.composer-area,.empty .composer-area{width:calc(100% - 24px)}.empty .composer-area{margin-top:clamp(70px,20vh,200px)}.composer-area h1{font-size:24px;margin-bottom:22px;white-space:normal}.composer-area{padding-bottom:max(16px,env(safe-area-inset-bottom))}.composer-row{gap:3px;grid-template-columns:36px minmax(0,1fr) auto 36px 36px}.composer-row textarea{font-size:16px}.model-button{font-size:14px;padding-left:7px;padding-right:7px;gap:2px}.model-button svg{width:13px;height:13px}.suggestions{padding-top:19px}.suggestions button{font-size:15px}.messages{padding:12px 16px 25px}.message.user .message-content{max-width:88%}.message.user .message-actions{opacity:1}.message{font-size:16px}.conversation-outline{display:none}.stats{grid-template-columns:repeat(2,1fr)}.dashboard-view{padding:30px 20px}.notes-panel{width:min(100vw,340px)}.composer-caption{font-size:10px;margin-bottom:12px}.tools-menu .menu-text{display:block}.tools-menu .description{display:block;font-size:11px;line-height:15px}.tools-menu button{min-height:44px;padding:6px 9px;gap:10px}.tools-menu .menu-hint{font-size:12px;padding-top:8px}.tools-menu{max-height:65dvh}.popover{max-height:calc(100dvh - 24px)}.settings-dialog{height:min(580px,calc(100dvh - 32px));width:calc(100vw - 24px)}.settings-shell{grid-template-columns:130px minmax(0,1fr)}.settings-navigation{padding:12px 5px}.settings-search{padding:6px 8px}.settings-search input{font-size:12px}.settings-tab{font-size:12px;padding:9px 7px;gap:6px}.settings-tab svg{width:17px;height:17px}.settings-content{padding:14px}.setting-row{font-size:13px;align-items:flex-start;flex-wrap:wrap;gap:6px}.setting-row select{font-size:12px;max-width:135px;padding-left:0}.settings-content h2{font-size:17px}.settings-navigation>.icon{margin:0 0 12px}.settings-description{font-size:11px}.submenu{width:220px}.history-menu{opacity:1}.profile{height:68px}}
@media(max-width:640px){.composer-row{grid-template-rows:auto 36px}.composer-row textarea{grid-column:1/-1;grid-row:1;margin:4px 8px 10px;width:calc(100% - 16px)}.composer-row #tools{grid-column:1;grid-row:2}.composer-row #model-select{grid-column:3;grid-row:2}.composer-row #voice{grid-column:4;grid-row:2}.composer-row #send{grid-column:5;grid-row:2}.composer{border-radius:26px}.empty .composer-area{margin-top:16vh}}
.model-row{min-height:50px}.model-row>.model-choice{min-height:50px;padding-top:6px;padding-bottom:6px}
.composer-area h1{line-height:28.8px}.empty #greeting{animation:message-enter .18s ease-out}
.table-wrap{overflow:auto;margin:20px 0 24px;max-width:100%;scrollbar-width:thin}.table-wrap table{border-collapse:collapse;width:100%;font-size:14px;line-height:24px}.table-wrap th{font-weight:600;border-bottom:1px solid #bcbcbc;white-space:nowrap}.table-wrap td{border-bottom:1px solid var(--line)}.table-wrap th,.table-wrap td{padding:10px 14px;text-align:left;vertical-align:top}.table-wrap th:first-child,.table-wrap td:first-child{padding-left:0}.dark .table-wrap th{border-color:#626262}
#voice svg{width:24px;height:24px}.tooltip[data-side=above]:after{top:auto;bottom:-4px}.message-actions .icon{padding:0}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


.static-demo-notice{position:fixed;bottom:4px;right:12px;z-index:12;font-size:10px;color:#909090;pointer-events:none;margin:0}
