@font-face{font-family:Caveat Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/assets/caveat-cyrillic-ext-wght-normal-DiMfzA-V.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Caveat Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/assets/caveat-cyrillic-wght-normal-D5lnP6kL.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Caveat Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/assets/caveat-latin-ext-wght-normal-Byk3UhVp.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Caveat Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/assets/caveat-latin-wght-normal-C1hSzPvX.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;src:url(/fonts/inter.woff2)format("woff2");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:JetBrains Mono;src:url(/fonts/jetbrains-mono.woff2)format("woff2");font-weight:400 700;font-style:normal;font-display:swap}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#faf9f6;--sidebar:#f0efeb;--surface:#fff;--surface-hover:#eeede8;--selected:#e6e5df;--ink:#25272b;--muted:#62675f;--faint:#696e65;--line:#e5e4de;--line-strong:#d3d3ca;--accent:#3b5cf6;--accent-hover:#2d4ce2;--accent-soft:#eef0ff;--accent-text:#3b56d9;--danger:#a73932;--danger-soft:#fcf0ec;--success:#347452;--sans:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--mono:"JetBrains Mono", monospace;--message-size:16px;--sidebar-width:272px;font-family:var(--sans);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:#191b1e;--sidebar:#131518;--surface:#222529;--surface-hover:#2b2e32;--selected:#2b2f36;--ink:#e9e9e5;--muted:#a0a29b;--faint:#8d9289;--line:#33363a;--line-strong:#484c50;--accent:#7692ff;--accent-hover:#8a9fff;--accent-soft:#2b3455;--accent-text:#9bacff;--danger:#edaaa0;--danger-soft:#322725;--success:#9ac2a8}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:5px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-button{display:none}body{background:var(--canvas);color:var(--ink);margin:0;font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{border:0}a{color:inherit;text-decoration:none}button,select,a{touch-action:manipulation}svg{flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex="0"]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}::selection{background:#3b5cf632}input,textarea{min-width:0}textarea{resize:none}button:disabled:hover{filter:none}h1,h2,h3,p{margin:0}ul,ol{margin:0;padding:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.muted{color:var(--muted)}.mono{font-family:var(--mono);font-size:12px}.text-danger{color:var(--danger)}.wordmark{-webkit-user-select:none;user-select:none;color:#475047;background:currentColor;width:143px;height:46px;display:block;-webkit-mask:url(/wordmark.svg) 50%/contain no-repeat;mask:url(/wordmark.svg) 50%/contain no-repeat}:root[data-theme=dark] .wordmark{color:#e2e5dc}.skip-link{z-index:200;background:var(--surface);border-radius:6px;padding:10px 16px;position:fixed;top:-100px;left:20px}.skip-link:focus{top:16px}.icon-button{width:34px;height:34px;color:var(--muted);background:0 0;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;transition:background .14s,color .14s;display:inline-flex}.icon-button:hover:not(:disabled){background:var(--surface-hover);color:var(--ink)}.button{white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:8px 13px;font-size:12.5px;font-weight:500;line-height:1.4;transition:background .14s,border-color .14s;display:inline-flex}.button-secondary{border-color:var(--line-strong);background:var(--surface)}.button-secondary:hover:not(:disabled){background:var(--surface-hover);border-color:var(--faint)}.button-primary{background:var(--accent);color:#fff}.button-primary:hover:not(:disabled){background:var(--accent-hover)}.button-ghost{background:0 0}.button-ghost:hover:not(:disabled){background:var(--surface-hover)}.button-danger{color:#fff;background:#a73932}.button-danger:hover:not(:disabled){background:#912e29}.inline-link{color:var(--accent-text);align-items:center;gap:6px;font-size:13px;font-weight:500;display:inline-flex}.inline-link:hover{text-underline-offset:3px;text-decoration:underline}.tooltip{z-index:100;color:#fff;max-width:270px;font:400 11px/1.5 var(--sans);-webkit-user-select:none;user-select:none;background:#292b30;border-radius:5px;padding:6px 9px;animation:.1s ease-out fade-in;box-shadow:0 3px 10px #00000012}.tooltip svg{fill:#292b30}.dropdown-menu{z-index:80;background:var(--surface);border:1px solid var(--line);border-radius:9px;min-width:198px;padding:5px;animation:.12s ease-out fade-in;box-shadow:0 8px 30px #00000012}.menu-item{cursor:pointer;color:var(--ink);-webkit-user-select:none;user-select:none;border-radius:5px;outline:none;align-items:center;gap:10px;padding:9px 10px;font-size:12.5px;display:flex}.menu-item[data-highlighted]{background:var(--surface-hover)}.menu-item-danger{color:var(--danger)}.menu-separator{background:var(--line);height:1px;margin:4px 2px}.chat-shell{width:100%;height:100dvh;display:flex;overflow:hidden}.sidebar{width:var(--sidebar-width);background:var(--sidebar);flex-direction:column;flex-shrink:0;padding:15px 12px 14px;transition:width .18s;display:flex}.sidebar-topbar{justify-content:flex-end;align-items:flex-start;gap:10px;height:44px;padding:0 6px 8px 10px;display:flex}.sidebar-topbar>.icon-button{width:29px;height:29px;margin-top:0}.sidebar-actions{flex-direction:column;gap:5px;display:flex}.nav-action{width:100%;color:var(--ink);text-align:left;background:0 0;border-radius:7px;align-items:center;gap:12px;min-height:42px;padding:11px 12px;font-size:14px;line-height:1.4;transition:background .14s;display:flex}.nav-action:hover{background:var(--surface-hover)}.nav-action kbd{opacity:0;font:400 9px/1 var(--sans);color:var(--faint);white-space:nowrap;margin-left:auto;transition:opacity .1s}.nav-action:hover kbd,.nav-action:focus-visible kbd{opacity:1}.history{flex:1;min-height:0;margin-top:28px;overflow:auto}.history h2{color:var(--muted);letter-spacing:.01em;padding:0 12px 10px;font-size:11.5px;font-weight:500}.history-list{flex-direction:column;gap:3px;list-style:none;display:flex}.history-row{border-radius:6px;align-items:center;min-height:38px;display:flex;position:relative}.history-row>a{width:100%;min-width:0;color:var(--muted);align-items:center;gap:9px;padding:10px 12px;font-size:13px;line-height:1.5;display:flex}.history-row>a>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history-row>a>svg{opacity:.75}.history-row-selected>a{color:var(--ink)}.history-row:hover>a,.history-row:focus-within>a{padding-right:34px}.history-row:has(.history-menu-trigger:hover)>a{padding-right:34px}.history-menu-trigger{opacity:0;width:26px;height:26px;position:absolute;right:3px}.history-row:hover .history-menu-trigger,.history-row:focus-within .history-menu-trigger{opacity:1}.history-menu-trigger:hover:not(:disabled){background:var(--line)}.history-empty{color:var(--faint);padding:3px 12px;font-size:12px;line-height:1.8}.history-working{border:1.5px solid var(--line-strong);border-top-color:var(--accent);border-radius:50%;flex-shrink:0;width:13px;height:13px;animation:1s linear infinite spin}.sidebar-footer{margin-top:auto;padding-top:16px}.sidebar-footer .nav-action{color:var(--muted)}.sidebar-collapsed .sidebar-topbar{justify-content:center;height:44px;padding:5px 0}.sidebar-collapsed .sidebar-footer{margin-top:auto}.mobile-sidebar{z-index:70;width:min(290px,85vw);padding:15px 12px max(14px, env(safe-area-inset-bottom));background:var(--sidebar);outline:none;flex-direction:column;animation:.18s ease-out slide-in;display:flex;position:fixed;inset:0 auto 0 0}.chat-main{outline:none;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.chat-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;height:68px;min-height:68px;padding:0 32px;display:flex}.chat-main:has(.welcome) .chat-header{border-color:#0000}.chat-header-left,.chat-header-right{align-items:center;gap:10px;min-width:0;display:flex}.chat-header-left{flex:1}.chat-title{white-space:nowrap;text-overflow:ellipsis;letter-spacing:-.02em;font-size:14px;font-weight:500;overflow:hidden}.home-chat-title{font-size:14px}.mobile-menu-button,.mobile-new-chat{display:none}.welcome{flex:1;justify-content:center;align-items:center;min-height:0;padding:20px 48px 12vh;display:flex;overflow:auto}.welcome-content{flex-shrink:0;width:100%;max-width:800px}.welcome h1{text-align:center;letter-spacing:-1.1px;text-wrap:balance;margin:0 0 10px;font-size:68px;font-weight:500;line-height:1.15}.welcome h1 .wordmark,:root[data-theme=dark] .welcome h1 .wordmark{width:3.55734em;height:1.15em;color:inherit;margin-inline:auto}.welcome-plan{width:-moz-fit-content;width:fit-content;max-width:100%;color:var(--muted);justify-content:center;align-items:center;gap:7px;margin:0 auto 26px;padding:5px 3px;font-size:13px;line-height:1.6;display:flex}.welcome-plan-space{height:30.8px;margin-bottom:26px}.welcome-plan>span:first-child{color:var(--ink);font-weight:500}.welcome-plan-link{font:inherit;color:var(--accent-text);background:0 0;border-radius:4px;align-items:center;gap:4px;padding:0 2px;display:inline-flex}.welcome-plan-link:hover>span{text-underline-offset:3px;text-decoration:underline}.composer{background:var(--surface);border:1px solid var(--line);border-radius:16px;width:100%;padding:14px 14px 11px;transition:border-color .16s,box-shadow .16s;position:relative;box-shadow:0 3px 12px #24272b04}.composer textarea{width:100%;font:400 calc(var(--message-size) - 1px) / 1.65 var(--sans);scrollbar-width:thin;min-height:44px;max-height:232px;box-shadow:none;background:0 0;border:0;padding:4px 6px 10px;display:block;overflow:auto;outline:none!important}.composer textarea::placeholder{color:var(--faint)}.composer-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-top:4px;display:flex}.composer-tools{align-items:center;gap:5px;min-width:0;display:flex}.composer-tools>.icon-button{width:29px;height:29px}.composer-tools .icon-button>svg{width:17px;height:17px}.composer-tool-divider{background:var(--line);width:1px;height:15px;margin:0 7px 0 2px}.model-label{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;max-width:180px;font-size:12px;overflow:hidden}.reading-label{color:var(--muted);margin-left:8px;font-size:10px}.send-button{background:var(--accent);color:#fff;border-radius:9px;width:34px;height:34px}.send-button:hover:not(:disabled){background:var(--accent-hover);color:#fff}.send-button>svg{stroke-width:2px;width:19px;height:19px}.stop-button>svg{fill:currentColor;stroke-width:0;width:12px;height:12px}.composer-attachments{flex-wrap:wrap;gap:6px;margin:0 4px 10px;display:flex}.attachment-chip{background:var(--surface);border:1px solid var(--line);border-radius:7px;align-items:center;max-width:100%;height:34px;display:inline-flex;overflow:hidden}.attachment-preview{background:0 0;align-items:center;gap:7px;min-width:0;padding:7px 9px;font-size:11px;display:flex}.attachment-preview>svg{color:var(--accent-text)}.attachment-preview>span{white-space:nowrap;text-overflow:ellipsis;max-width:160px;overflow:hidden}.attachment-preview small{color:var(--muted);white-space:nowrap;font-size:9px}.attachment-preview:hover{background:var(--surface-hover)}.attachment-remove{width:25px;color:var(--muted);background:0 0;align-self:stretch;place-items:center;display:grid}.attachment-remove:hover{background:var(--surface-hover);color:var(--ink)}.composer-dragging{border-color:var(--accent)}.drop-hint{z-index:2;background:var(--accent-soft);color:var(--accent-text);pointer-events:none;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex;position:absolute;inset:0}.drop-hint span{font-size:13px;font-weight:500}.drop-hint small{opacity:.8;font-size:10px}.transcript-wrap{flex:1;min-height:0;position:relative}.transcript-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;overflow-anchor:none;height:100%;overflow-y:auto}.transcript{width:calc(100% - 96px);max-width:800px;margin:0 auto;padding:30px 0 20px}.conversation-composer{flex-shrink:0;width:calc(100% - 96px);max-width:800px;margin:0 auto;padding:12px 0 7px}.composer-footnote{text-align:center;color:var(--faint);letter-spacing:.005em;padding:10px 8px 1px;font-size:11px;line-height:1.5}.jump-button{background:var(--surface);width:32px;height:32px;color:var(--ink);border:1px solid var(--line);border-radius:50%;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 3px 12px #00000008}.jump-button:hover:not(:disabled){background:var(--surface)}.message{font-size:var(--message-size)}.message-user{width:-moz-fit-content;width:fit-content;max-width:85%;margin:0 0 20px auto}.user-bubble{background:var(--surface-hover);border-radius:14px;padding:14px 19px;overflow:hidden}.user-bubble>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--message-size);line-height:1.7}.user-bubble .markdown{font-size:var(--message-size)}.user-bubble .markdown>:last-child{margin-bottom:0}.user-bubble .code-block{margin:12px -4px 3px}.user-bubble .code-header{height:34px}.user-bubble .code-block pre{padding:12px 14px}.user-bubble .code-block code{font-size:11.5px}.user-message-actions{opacity:0;justify-content:flex-end;align-items:center;gap:2px;min-height:27px;margin-top:4px;transition:opacity .12s;display:flex}.message-user:hover .user-message-actions,.message-user:focus-within .user-message-actions{opacity:1}.user-message-actions .icon-button{width:27px;height:27px}.user-message-actions .icon-button>svg{width:14px;height:14px}.user-attachments{flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-bottom:8px;display:flex}.message-assistant{margin-bottom:30px}.assistant-heading{align-items:center;gap:9px;height:27px;margin-bottom:12px;font-size:13.5px;font-weight:600;display:flex}.assistant-mark{width:24px;height:24px;color:var(--accent-text);flex-shrink:0;display:block}.assistant-body{overflow-wrap:anywhere;min-width:0;padding-left:33px}.markdown{font-size:var(--message-size);letter-spacing:-.012em;line-height:1.8}.markdown-loading{white-space:pre-wrap}.markdown p{overflow-wrap:anywhere;margin:0 0 15px}.markdown h1,.markdown h2,.markdown h3,.markdown h4{font-family:var(--sans);letter-spacing:-.025em;margin:24px 0 10px;font-weight:600;line-height:1.4}.markdown h1{font-size:23px}.markdown h2{font-size:20px}.markdown h3{font-size:16.5px}.markdown h4{font-size:15px}.markdown h1:first-child,.markdown h2:first-child,.markdown h3:first-child{margin-top:0}.markdown strong{font-weight:600}.markdown ul,.markdown ol{margin:10px 0 18px;padding-left:21px}.markdown li{margin:5px 0;padding-left:3px}.markdown li>p{margin-bottom:8px}.markdown li input[type=checkbox]{accent-color:var(--accent);margin-right:8px}.markdown a{color:var(--accent-text);text-underline-offset:3px;text-decoration:underline}.markdown blockquote{border-left:2px solid var(--line-strong);color:var(--muted);margin:18px 0;padding:2px 0 2px 17px}.markdown blockquote p{margin:0}.markdown hr{background:var(--line);border:0;height:1px;margin:25px 0}.markdown :not(pre)>code{font:400 .83em/1.7 var(--mono);background:var(--surface-hover);overflow-wrap:anywhere;letter-spacing:-.02em;border-radius:4px;padding:2px 5px}.code-block{color:#e9e9e5;letter-spacing:0;background:#25282d;border:1px solid #35393e;border-radius:10px;max-width:100%;margin:18px 0 20px;overflow:hidden}.code-header{color:#c8c9cb;background:#2b2e33;border-bottom:1px solid #ffffff0c;justify-content:space-between;align-items:center;height:39px;padding:0 15px;font-size:11px;display:flex}.code-header button{color:#c8c9cb;background:0 0;align-items:center;gap:6px;padding:4px 2px;font-size:10.5px;display:flex}.code-header button:hover{color:#fff}.code-block pre{tab-size:2;scrollbar-width:thin;margin:0;padding:17px 18px 19px;overflow:auto}.code-block code{font:400 13px/1.85 var(--mono);white-space:pre;color:#e7e7e4;background:0 0;display:block}.code-block .hljs-keyword,.code-block .hljs-selector-tag{color:#9c9cff}.code-block .hljs-string,.code-block .hljs-attr{color:#b1cb9b}.code-block .hljs-number,.code-block .hljs-literal{color:#e4b787}.code-block .hljs-built_in,.code-block .hljs-title,.code-block .hljs-type{color:#8ccee0}.code-block .hljs-comment{color:#969994;font-style:italic}.code-block .hljs-variable,.code-block .hljs-params{color:#e4e4e0}.code-block .hljs-tag{color:#92afed}:root[data-theme=dark] .code-block{background:#15171a;border-color:#363a40}:root[data-theme=dark] .code-header{background:#1c1f23}.markdown-table{margin:18px 0 22px;overflow-x:auto}.markdown-table table{border-collapse:collapse;text-align:left;width:100%;min-width:280px;font-size:13px}.markdown-table th{color:var(--ink);border-bottom:1px solid var(--line-strong);padding:9px 11px;font-weight:600}.markdown-table td{border-bottom:1px solid var(--line);color:var(--muted);padding:11px}.image-description{color:var(--muted);font-style:italic}.assistant-actions{align-items:center;gap:20px;min-height:28px;margin-top:15px;display:flex}.message-action{color:var(--muted);background:0 0;align-items:center;gap:7px;padding:5px 0;font-size:11px;line-height:1.5;display:inline-flex}.message-action:hover{color:var(--ink)}.message-speed{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:auto;font-size:11px;line-height:1.5}.response-spinner{color:var(--muted);animation:1s linear infinite spin}.response-pending{color:var(--muted);padding:3px 0;font-size:14px;line-height:1.8}.thinking{margin:0 0 12px}.thinking-toggle{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:2px 0;font-size:14px;display:inline-flex}.thinking-toggle:hover{color:var(--ink)}.thinking-toggle svg{transition:transform .15s}.thinking-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.thinking-active .thinking-toggle span{animation:1.6s ease-in-out infinite thinking-pulse}.thinking-text{border-left:2px solid var(--line-strong);max-height:220px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px;padding:2px 0 2px 14px;font-size:13.5px;line-height:1.65;overflow-y:auto}@keyframes thinking-pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.thinking-active .thinking-toggle span,.thinking-toggle svg{transition:none;animation:none}}.stream-cursor{background:var(--accent);vertical-align:middle;width:2px;height:16px;margin:0 0 0 2px;animation:1s step-end infinite blink;display:inline-block}.response-note{color:var(--muted);margin-top:10px;font-size:11px}.response-error{background:var(--danger-soft);border-left:2px solid var(--danger);border-radius:4px;margin-top:5px;padding:15px 18px;font-size:13px}.response-error strong{font-weight:500}.response-error p{color:var(--muted);margin-top:6px;font-size:12px;line-height:1.7}.response-error .button{background:var(--surface);min-height:32px;margin-top:12px;font-size:11px}.edit-message{background:var(--surface);border:1px solid var(--line-strong);border-radius:12px;width:min(600px,100%);min-width:min(430px,100%);padding:12px}.edit-message textarea{background:0 0;border:0;outline:0;width:100%;max-height:320px;padding:5px;font-size:14px;line-height:1.65;display:block}.edit-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.storage-notice{color:var(--danger);background:var(--danger-soft);padding:9px 24px;font-size:11px;line-height:1.6}.storage-notice button{color:inherit;background:0 0;padding:2px 8px;text-decoration:underline}.missing-chat{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;min-height:50vh;padding:36px;display:flex}.missing-chat h1{font-family:var(--sans);letter-spacing:-.04em;font-size:27px;font-weight:500}.missing-chat p{color:var(--muted);max-width:340px;margin-bottom:10px;font-size:13px}.full-page{height:100dvh}.modal-overlay{z-index:60;background:#25272238;animation:.15s ease-out fade-in;position:fixed;inset:0}:root[data-theme=dark] .modal-overlay{background:#0008}.modal{z-index:70;background:var(--surface);border:1px solid var(--line);border-radius:15px;outline:none;width:calc(100% - 36px);max-width:510px;max-height:calc(100dvh - 48px);padding:24px;animation:.15s ease-out fade-in;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 16px 65px #22251b18}.modal-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.modal-header>.icon-button{margin:-6px -7px 0 0}.modal-title{letter-spacing:-.025em;font-size:18px;font-weight:600;line-height:1.4}.modal-description{color:var(--muted);max-width:410px;margin-top:7px;font-size:12px;line-height:1.7}.dialog-actions{justify-content:flex-end;align-items:center;gap:8px;margin-top:24px;display:flex}.confirm-modal{max-width:435px}.confirm-modal .modal-header{margin-bottom:0}.confirm-modal .dialog-actions{margin-top:28px}.field{flex-direction:column;gap:8px;min-width:0;font-size:12px;font-weight:500;display:flex}.field input,.field select{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;width:100%;height:39px;padding:8px 11px;font-size:12.5px;font-weight:400;line-height:1.4;box-shadow:0 1px 2px #00000002}.field small{color:var(--muted);font-size:10.5px;font-weight:400;line-height:1.6}.field-help{color:var(--muted);margin:7px 0 13px;font-size:11.5px;font-weight:400;line-height:1.6}.settings-modal{max-width:510px;padding:0}.settings-modal .modal-header{margin:0;padding:24px 24px 18px}.settings-tabs{border-bottom:1px solid var(--line);gap:25px;padding:0 24px;display:flex}.settings-tabs>button{color:var(--muted);background:0 0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:12px 0 13px;font-size:12px;font-weight:500}.settings-tabs>button[aria-selected=true]{color:var(--accent-text);border-color:var(--accent)}.settings-body{padding:24px}.setting-fieldset{border:0;min-width:0;margin:0 0 26px;padding:0}.setting-fieldset legend{margin-bottom:12px;padding:0;font-size:12px;font-weight:500}.setting-fieldset:has(.field-help) legend{margin-bottom:0}.settings-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:16px 24px;display:flex}.settings-footer>span{color:var(--faint);font-size:10.5px}.data-intro h3{margin:0 0 8px;font-size:14px;font-weight:500}.data-intro p{color:var(--muted);margin-bottom:8px;font-size:12px;line-height:1.8}.data-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:20px 0;display:flex}.data-row strong{font-size:12px;font-weight:500}.data-row p{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.6}.data-row .button{min-height:34px;font-size:11px}.switch{background:var(--line-strong);border-radius:20px;flex-shrink:0;width:35px;height:20px;padding:3px;transition:background .15s;position:relative}.switch>span{background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s;display:block;box-shadow:0 1px 3px #0002}.switch-on{background:var(--accent)}.switch-on>span{transform:translate(15px)}.switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.settings-notifications .data-row:first-child{padding-top:0}.settings-notifications .data-row:last-of-type{border-bottom:0}.notification-blocked{color:var(--muted);margin-top:16px;font-size:11px;line-height:1.6}.search-modal{max-width:580px;padding:0;overflow:hidden}.search-modal .modal-header{margin:0;padding:23px 23px 17px}.search-input-wrap{border:1px solid var(--line-strong);background:var(--canvas);color:var(--muted);border-radius:7px;align-items:center;gap:10px;height:43px;margin:0 20px 12px;padding:0 12px;display:flex}.search-input-wrap:focus-within{border-color:var(--faint)}.search-input-wrap input{width:100%;height:40px;box-shadow:none;background:0 0;border:0;outline:0;font-size:13px}.search-input-wrap input:focus-visible{outline:none}.search-input-wrap input::placeholder{color:var(--faint)}.search-results{min-height:170px;max-height:340px;padding:0 8px 8px;overflow:auto}.search-result{text-align:left;width:100%;min-width:0;color:var(--muted);background:0 0;border-radius:7px;align-items:center;gap:13px;padding:12px 15px;display:flex}.search-result-active{background:var(--surface-hover);color:var(--ink)}.search-result>span{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.search-result strong{white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;font-weight:500;overflow:hidden}.search-result small{white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:11px;font-weight:400;overflow:hidden}.search-result>svg:last-child{color:var(--faint);opacity:0}.search-result-active>svg:last-child{opacity:1}.search-empty{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;min-height:170px;padding:30px 20px;display:flex}.search-empty>svg{color:var(--faint);margin-bottom:13px}.search-empty strong{color:var(--ink);font-size:13px;font-weight:500}.search-empty p{text-align:center;margin-top:6px;font-size:11.5px;line-height:1.6}.search-footer{border-top:1px solid var(--line);color:var(--faint);align-items:center;gap:18px;padding:11px 22px;font-size:10px;display:flex}.search-footer>span{align-items:center;gap:5px;display:flex}.search-footer>span:last-child{margin-left:auto}.search-footer kbd{font:400 9px var(--sans);border:1px solid var(--line);border-radius:3px;padding:1px 4px}.file-modal{flex-direction:column;max-width:760px;display:flex;overflow:hidden}.file-modal .modal-title{word-break:break-word}.file-preview{background:var(--canvas);border:1px solid var(--line);font:400 11.5px/1.9 var(--mono);white-space:pre;tab-size:2;border-radius:7px;max-height:60dvh;margin:0;padding:16px;overflow:auto}.toast-container{z-index:110;pointer-events:none;max-width:calc(100% - 32px);position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.toast{color:#fafaf6;pointer-events:auto;background:#282b2e;border:1px solid #ffffff12;border-radius:9px;align-items:center;gap:18px;padding:11px 12px 11px 17px;font-size:12px;line-height:1.6;animation:.18s ease-out toast-in;display:flex;box-shadow:0 5px 25px #00000010}.toast>button{color:#bfc1bc;background:0 0;border-radius:4px;flex-shrink:0;place-items:center;width:26px;height:26px;display:grid}.toast>button:hover{color:#fff;background:#ffffff0f}.startup,.fatal-error{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100dvh;padding:32px;display:flex}.startup p{color:var(--muted);font-size:12px}.fatal-error h1{letter-spacing:-.04em;margin-top:15px;font-size:26px;font-weight:500}.fatal-error p{color:var(--muted);max-width:370px;font-size:13px;line-height:1.7}.spinning svg{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes blink{50%{opacity:0}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes slide-in{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (min-width:1600px){.welcome-content,.transcript,.conversation-composer{max-width:850px}.welcome h1{font-size:72px}}@media (max-width:1100px) and (min-width:701px){:root{--sidebar-width:226px}.welcome{padding-inline:30px}.welcome h1{font-size:49px}.transcript,.conversation-composer{width:calc(100% - 64px)}.chat-header{padding-inline:24px}}@media (max-width:700px){:root{--message-size:15px}.desktop-sidebar{display:none}.mobile-menu-button,.mobile-new-chat{display:inline-flex}.chat-header{gap:8px;height:59px;min-height:59px;padding:0 12px}.chat-header-left,.chat-header-right{gap:5px}.chat-title{font-size:13px}.home-chat-title{font-size:14px}.chat-header .icon-button{width:36px;height:36px}.welcome{padding:20px 20px 13vh}.welcome h1{letter-spacing:-.7px;margin-bottom:13px;font-size:46px;line-height:1.08}.welcome-subtitle{max-width:280px;margin:0 auto 26px;font-size:13px;line-height:1.6}.welcome-content{max-width:490px}.composer{border-radius:14px;padding:12px 12px 10px}.composer textarea{max-height:180px;padding:4px 4px 8px;font-size:16px}.welcome .composer textarea{min-height:73px}.model-label{font-size:11px}.composer-toolbar{margin-top:3px}.send-button{border-radius:9px;width:35px;height:35px}.composer-tools>.icon-button{width:32px;height:32px}.transcript{width:100%;padding:22px 20px 12px}.transcript-scroll{scrollbar-gutter:auto}.conversation-composer{width:100%;max-width:none;padding:10px 14px max(6px, env(safe-area-inset-bottom))}.composer-footnote{letter-spacing:0;padding-top:9px;font-size:8.5px;line-height:1.6}.message-user{max-width:94%;margin-bottom:15px}.user-bubble{border-radius:13px;padding:12px 16px}.user-message-actions{opacity:1}.assistant-body{padding-left:0}.assistant-heading{gap:9px;margin-bottom:13px;font-size:12px}.assistant-mark{gap:2px;width:15px;height:15px}.message-assistant{margin-bottom:26px}.markdown{line-height:1.8}.code-block{border-radius:8px;margin:17px 0}.code-block pre{padding:14px}.code-block code{font-size:11px}.code-header{height:35px;padding:0 13px;font-size:10px}.code-header button{font-size:10px}.markdown h3{font-size:16px}.assistant-actions{gap:20px}.message-action{min-height:34px;font-size:10.5px}.response-note{font-size:10.5px}.user-bubble .code-block code{font-size:10px}.user-attachments{gap:5px}.attachment-preview{padding:7px;font-size:10px}.attachment-preview>span{max-width:140px}.attachment-preview small{font-size:8px}.attachment-chip{height:33px}.attachment-remove{width:29px}.reading-label{display:none}.edit-message{width:100%;min-width:0}.edit-message textarea{font-size:16px}.edit-actions .button{min-height:38px;font-size:11px}.modal{border-radius:13px;width:calc(100% - 28px);max-height:calc(100dvh - 32px);padding:22px}.modal-title{font-size:18px}.modal-description{font-size:12px}.settings-modal{width:100%;max-width:none;max-height:90dvh;padding:0;padding-bottom:env(safe-area-inset-bottom);border-bottom:0;border-radius:18px 18px 0 0;top:auto;bottom:0;left:0;transform:none}.settings-modal .modal-header{padding:23px 22px 17px}.settings-tabs{gap:26px;padding:0 22px}.settings-body{padding:24px 22px}.settings-footer{padding:17px 22px 20px}.settings-footer .button{min-height:40px;padding-inline:20px}.data-row{gap:12px}.data-row .button{font-size:11px}.data-row p{font-size:10.5px}.search-modal{max-height:70dvh;padding:0;top:14vh;transform:translate(-50%)}.search-results{max-height:38dvh}.search-modal .modal-header{padding:22px 21px 16px}.search-footer{padding:12px 20px}.search-result{padding:12px}.search-result strong{font-size:12px}.search-result small{font-size:10.5px}.confirm-modal .dialog-actions .button{min-height:40px}.file-modal{padding:20px}.file-preview{padding:12px;font-size:10.5px}.toast-container{bottom:max(18px, env(safe-area-inset-bottom));width:max-content}.toast{gap:12px;padding:10px 10px 10px 14px;font-size:11px}.storage-notice{padding:8px 18px;font-size:10px}}@media (max-width:370px){.welcome{padding-inline:16px}.welcome h1{font-size:42px}.welcome-subtitle{font-size:12px}.chat-header{padding-inline:7px}.settings-footer>span{font-size:10px}}@media (max-width:700px){.assistant-mark{width:23px;height:23px}.welcome h1{font-size:58px;line-height:1.1}.nav-action{min-height:44px}.send-button,.composer-tools>.icon-button,.chat-header .icon-button,.modal-header>.icon-button{width:40px;height:40px}.code-header button{min-height:30px;padding:5px 3px}.composer-footnote{font-size:10px}}.sidebar-footer{flex-direction:column;gap:5px;display:flex}.plan-headline{letter-spacing:-.04em;margin:0;font-size:32px;font-weight:550;line-height:1.16}.plan-price{align-items:baseline;gap:8px;margin-top:17px;display:flex}.plan-price strong{letter-spacing:-.055em;font-size:52px;font-weight:500;line-height:1.15}.plan-price>span{color:var(--muted);font-size:13px}.plan-privacy{border-top:1px solid var(--line);align-items:flex-start;gap:12px;margin:23px 0 0;padding:19px 0 16px;display:flex}.plan-privacy>svg{color:var(--accent-text);margin-top:1px}.plan-privacy strong{font-size:13px;font-weight:500}.plan-privacy p{color:var(--muted);margin-top:5px;font-size:11.5px;line-height:1.7}.plan-select{width:100%;min-height:40px;font-size:12.5px}.plan-select:disabled{background:var(--accent-soft);color:var(--accent-text);opacity:1}.plan-note{text-align:center;color:var(--muted);max-width:335px;margin:13px auto 0;font-size:10.5px;line-height:1.8}@media (max-width:700px){.plan-modal{padding:23px}.plan-modal .modal-header{margin-bottom:25px}.plan-select{min-height:44px}}@media (hover:none){.history-menu-trigger{opacity:1}.history-row>a{padding-right:34px}.user-message-actions{opacity:1}}:root[data-motion=reduce] *,:root[data-motion=reduce] :before,:root[data-motion=reduce] :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.auth-shell{background:var(--canvas);min-height:100dvh;color:var(--ink);flex-direction:column;display:flex}.auth-content{text-align:center;width:min(100% - 48px,410px);margin:auto;padding:32px 0 40px}.auth-content h1{letter-spacing:-.025em;margin:26px 0 20px;font-family:Caveat Variable,cursive;font-size:clamp(46px,7vw,58px);font-weight:500;line-height:1.06}.auth-content p{color:var(--muted);font-size:14px;line-height:1.65}.auth-action{justify-content:center;align-items:center;min-height:44px;display:flex}.google-button{max-width:100%;min-height:44px}.google-button[hidden]{display:none}.auth-loading{color:var(--muted);align-items:center;gap:10px;padding:13px 0;font-size:14px;display:flex}.auth-loading svg{animation:1s linear infinite spin}.auth-error p{margin:0 0 18px}.auth-error .button{min-height:44px}.settings-account{justify-content:space-between;align-items:center;gap:20px;padding:20px 0 0;display:flex}.settings-account strong{font-size:13px;font-weight:500;display:block}.settings-account p{color:var(--muted);overflow-wrap:anywhere;margin:5px 0 0;font-size:12px}.settings-account-error{color:var(--danger);font-size:12px}@media (max-width:700px){.auth-content{padding:40px 0 50px}}.welcome-modal{max-width:440px}.welcome-terms{gap:11px;margin:0;padding:4px 0 22px;font-size:12px;line-height:1.6;list-style:none;display:grid}.welcome-terms li{align-items:flex-start;gap:10px;display:flex}.welcome-terms svg{color:var(--accent-text);flex-shrink:0;margin-top:2px}.welcome-terms strong{font-weight:600}.welcome-modal .auth-error{text-align:center}.welcome-modal .auth-error p{color:var(--danger);font-size:12px}.welcome-note{color:var(--muted);text-align:center;margin:0;padding:16px 0 0;font-size:11px;line-height:1.6}.billing-usage{border-bottom:1px solid var(--line);padding:20px 0}.billing-usage-label{justify-content:space-between;gap:12px;font-size:12px;display:flex}.billing-usage-label strong{font-weight:500}.billing-usage-label span{color:var(--muted);font-variant-numeric:tabular-nums}.billing-meter{background:var(--surface-hover);border-radius:6px;height:6px;margin-top:12px;overflow:hidden}.billing-meter i{background:var(--accent);height:100%;display:block}.billing-ended{color:var(--danger);margin:10px 0 0;font-size:11px}.billing-payment{border-bottom:0;justify-content:flex-start}.billing-payment>.button{margin-left:auto}.billing-payment>svg{color:var(--muted);flex-shrink:0}.settings-billing .data-row:first-child{padding-top:0}.sidebar{border-right:1px solid var(--line);padding:18px 14px 14px}.sidebar-topbar{justify-content:space-between;align-items:center;height:42px;padding:0 4px 10px 10px}.sidebar-caption{color:var(--muted);letter-spacing:.025em;font-size:11px;font-weight:550}.sidebar-topbar>.icon-button{width:30px;height:30px}.new-chat-action{background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 2px #00000003}.new-chat-action:hover{border-color:var(--line-strong)}.history h2{color:var(--faint);letter-spacing:.06em;text-transform:uppercase;align-items:center;font-size:10px;display:flex}.history-row{min-height:36px}.history-row>a{padding-block:9px;font-size:13px}.history-row>a>svg{opacity:.5;width:13px}.sidebar-footer{gap:8px;padding-top:12px}.sidebar-footer>.nav-action{width:-moz-fit-content;width:fit-content;min-height:38px;font-size:12px}.sidebar-collapsed{padding-inline:9px}.sidebar-collapsed .sidebar-topbar{justify-content:center}.assistant-heading .assistant-mark{width:27px;height:27px;color:var(--accent-text);background:0 0;border-radius:0;padding:1px}.thinking-dot{fill:currentColor;opacity:.25;transform-box:fill-box;transform-origin:50%}.message-assistant:not(.message-streaming) .thinking-mark{opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s .3s}.message-streaming .thinking-dot{animation:1.2s linear infinite thinking-dot}@keyframes thinking-dot{0%{opacity:1;transform:scale(1.3)}30%{transform:scale(1)}to{opacity:.25;transform:scale(1)}}.chat-controls{align-items:center;gap:3px;min-width:0;display:flex}.composer-tools{flex:1;gap:6px}.composer-toolbar{gap:6px}.composer-control{min-height:30px;color:var(--muted);white-space:nowrap;background:0 0;border-radius:6px;align-items:center;gap:5px;padding:5px 7px;font-size:12px;display:inline-flex}.composer-control:hover,.composer-control[data-state=open]{background:var(--surface-hover);color:var(--ink)}.composer-control:disabled{opacity:.5;cursor:default}.model-control{color:var(--ink);font-weight:550}.model-control>span{text-overflow:ellipsis;max-width:130px;overflow:hidden}.trial-control{cursor:default;font-variant-numeric:tabular-nums}.trial-control:hover{color:var(--muted);background:0 0}.trial-control.trial-over,.trial-control.trial-over:hover,.context-overflow{color:var(--danger)}.composer-trial-ended{color:var(--danger);justify-content:space-between;align-items:center;gap:12px;margin:8px 6px 2px;font-size:11px;line-height:1.6;display:flex}.composer-trial-ended button{background:var(--accent);color:#fff;border-radius:6px;flex-shrink:0;padding:5px 11px;font-size:11px;font-weight:500}.composer-limit{color:var(--danger);margin:7px 6px 2px;font-size:11px;line-height:1.6}.chat-control-panel{z-index:80;border:1px solid var(--line);background:var(--surface);width:306px;max-width:calc(100vw - 28px);color:var(--ink);border-radius:13px;outline:none;padding:17px;animation:.12s ease-out control-in;box-shadow:0 12px 45px #00000012,0 2px 7px #00000005}.chat-control-panel header{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.chat-control-panel h2{margin:0;font-size:12px;font-weight:600}.chat-control-panel header .icon-button{width:23px;height:23px}.chat-control-panel header .icon-button svg{width:14px}.model-options{gap:6px;display:grid}.model-option{text-align:left;width:100%;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:11px;padding:10px 12px;transition:background .14s;display:flex}.model-option:hover{background:var(--surface-hover)}.model-option[aria-checked=true]{background:var(--accent-soft);border-color:var(--line)}.model-option>svg{color:var(--accent-text);flex-shrink:0;margin-left:auto}.model-option-copy{flex-direction:column;gap:5px;display:flex}.model-option strong{color:var(--ink);font-size:12px;font-weight:550}.model-option-copy>span{color:var(--muted);font-size:10px}.control-note{color:var(--muted);margin:14px 0 0;font-size:10.5px;line-height:1.7}.effort-range-label{color:var(--accent-text);letter-spacing:-.03em;margin:3px 0 14px;font-size:20px;font-weight:500;display:block}.effort-range{width:100%;accent-color:var(--accent);cursor:pointer;height:22px;margin:0}.effort-labels{justify-content:space-between;display:flex}.effort-labels button{color:var(--muted);text-align:left;background:0 0;min-width:35px;padding:7px 0;font-size:10px}.effort-labels button:not(:first-child):not(:last-child){text-align:center}.effort-labels button:last-child{text-align:right}.effort-labels button.selected{color:var(--accent-text);font-weight:600}.control-description{margin:14px 0 0;font-size:12px;line-height:1.6}.context-total strong{letter-spacing:-.04em;font-size:24px;font-weight:500}.context-total>span{color:var(--muted);font-size:10px}.context-meter{background:var(--surface-hover);border-radius:4px;height:6px;margin:15px 0;display:flex;overflow:hidden}.context-meter i{background:var(--accent)}.context-meter b{background:var(--line-strong)}.context-breakdown{color:var(--muted);gap:10px;margin:0;font-size:10.5px;display:grid}.context-breakdown>div{justify-content:space-between;display:flex}.context-breakdown dd{font-variant-numeric:tabular-nums;color:var(--ink);margin:0}.context-warning{color:var(--danger);margin-top:11px;font-size:10.5px;line-height:1.7}@keyframes control-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.plan-modal{max-width:480px;padding:30px}.plan-modal .modal-header{margin-bottom:27px}.plan-modal .modal-title{letter-spacing:-.025em;font-size:17px}.plan-offer{border-block:1px solid var(--line);grid-template-columns:1fr auto;align-items:center;gap:22px;padding:23px 0 20px;display:grid}.plan-headline{letter-spacing:-.045em;font-size:30px;font-weight:500;line-height:1.17}.plan-price{flex-direction:column;align-items:flex-start;gap:4px;margin:0}.plan-price strong{font-size:47px}.plan-price>span{font-size:12px}.plan-included{gap:11px;margin:20px 0;padding:0;list-style:none;display:grid}.plan-included li{align-items:center;gap:10px;font-size:12px;display:flex}.plan-included svg{color:var(--accent-text);flex-shrink:0}.plan-privacy{border:0;gap:10px;margin-top:0;padding:0 0 20px}.plan-select{border-radius:8px;min-height:44px}@media (max-width:700px){.mobile-sidebar{padding-inline:14px}.composer-control{gap:4px;min-width:40px;min-height:44px;padding-inline:5px;font-size:11px}.chat-controls{gap:1px}.composer-tools{gap:2px}.model-control>span{max-width:100px}.effort-control>svg{display:none}.plan-modal{padding:24px}.chat-control-panel header .icon-button{width:32px;height:32px}.effort-labels button{min-width:44px;min-height:40px}.plan-headline{font-size:28px}}@media (max-width:370px){.effort-control>span{display:none}.effort-control>svg{width:14px;height:14px;display:block}.effort-control{justify-content:center}.plan-offer{grid-template-columns:1fr;gap:15px}.plan-price{flex-direction:row;align-items:baseline;gap:7px}.model-control>span{max-width:75px}.context-control>svg,.trial-control>svg,.reading-label{display:none}}:root[data-motion=reduce] .message-streaming .thinking-dot,:root[data-motion=reduce] .chat-control-panel{animation:none}.sidebar-divider{border:0;border-top:1px solid var(--line);align-self:stretch;margin:2px 0}.sidebar-footer>.desktop-action{justify-content:flex-start;width:100%}.sidebar-collapsed .sidebar-footer>.desktop-action{justify-content:center;width:-moz-fit-content;width:fit-content}.desktop-modal{max-width:440px}.desktop-modal .data-row:last-child{border-bottom:0;padding-bottom:4px}.desktop-devices{margin-top:22px}.desktop-devices h3{font-size:12px;font-weight:500}.desktop-devices>p,.desktop-error{color:var(--muted);margin-top:4px;font-size:11px}.desktop-error{color:var(--danger,#b42318);margin-top:12px}.desktop-page,.privacy-page{flex-direction:column;align-items:center;gap:40px;min-height:100dvh;padding:36px 16px 48px;display:flex}.desktop-home .wordmark{height:34px}.desktop-card{border:1px solid var(--line);background:var(--surface,transparent);border-radius:12px;flex-direction:column;align-items:flex-start;gap:12px;width:min(460px,100%);padding:28px;display:flex}.desktop-card>.data-row,.desktop-card>.desktop-devices{align-self:stretch}.desktop-card h1,.privacy-page h1{letter-spacing:-.03em;font-size:22px;font-weight:500}.desktop-lead{color:var(--muted);align-items:center;gap:8px;font-size:13px;line-height:1.6;display:flex}.desktop-code{font-family:var(--mono,ui-monospace, monospace);letter-spacing:.08em;border:1px solid var(--line);border-radius:8px;padding:10px 14px;font-size:20px}.desktop-done{color:var(--accent,currentColor)}.privacy-page article{width:min(640px,100%)}.privacy-page h2{margin:26px 0 6px;font-size:15px;font-weight:500}.privacy-page p{color:var(--muted);font-size:13px;line-height:1.7}.privacy-updated{margin-top:6px}:root{--segment-shadow:0 1px 2px #25272b14, 0 0 0 1px var(--line)}:root[data-theme=dark]{--segment-shadow:0 1px 2px #0006, 0 0 0 1px #3a3e43}.segmented{border:1px solid var(--line);background:var(--sidebar);border-radius:10px;gap:2px;max-width:100%;padding:3px;display:inline-flex}.segmented>button{cursor:pointer;color:var(--muted);background:0 0;border:0;border-radius:7px;align-items:center;gap:7px;padding:7px 14px;font-family:inherit;font-size:12.5px;transition:background .15s,color .15s;display:inline-flex}.segmented>button:hover{color:var(--ink)}.segmented>button[aria-checked=true]{background:var(--surface);color:var(--ink);box-shadow:var(--segment-shadow);font-weight:500}.segmented>button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.setting-fieldset .field-help+.segmented{margin-top:2px}.motion-row{border-bottom:0;padding-top:4px}:root[data-text-size=small]{--message-size:14px}:root[data-text-size=large]{--message-size:18px}@media (max-width:700px){:root[data-text-size=small]{--message-size:13.5px}:root[data-text-size=large]{--message-size:17px}}.search-control.search-on{color:var(--accent-text);background:var(--accent-soft)}.artifact-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;max-width:100%;margin:16px 0 18px;overflow:hidden}.artifact-main{flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;display:flex}.artifact-icon{background:var(--accent-soft);width:36px;height:36px;color:var(--accent-text);border-radius:9px;flex-shrink:0;place-items:center;display:grid}.artifact-text{flex-direction:column;flex:140px;min-width:0;display:flex}.artifact-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:550;overflow:hidden}.artifact-text span{color:var(--muted);font-size:12px}.artifact-actions,.artifact-panel-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.artifact-button{border:1px solid var(--line);min-height:32px;color:var(--ink);background:0 0;border-radius:8px;align-items:center;gap:6px;padding:5px 10px;font-size:12px;display:inline-flex}.artifact-button:hover:not(:disabled){background:var(--surface-hover)}.artifact-button:disabled{opacity:.5;cursor:default}.artifact-primary{background:var(--accent);border-color:var(--accent);color:#fff}.artifact-primary:hover:not(:disabled){background:var(--accent-hover)}.artifact-errors{border-top:1px solid var(--line);background:var(--danger-soft);color:var(--danger);align-items:center;gap:8px;padding:8px 14px;font-size:12px;display:flex}.artifact-errors span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.artifact-errors .artifact-button{color:var(--ink);background:var(--surface)}.artifact-panel{border-left:1px solid var(--line);background:var(--canvas);flex-direction:column;flex:0 0 min(48vw,680px);min-width:0;display:flex}.artifact-panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:68px;padding:0 16px;display:flex}.artifact-panel-header strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:550;overflow:hidden}.artifact-close{padding-inline:8px}.artifact-frame{background:#fff;border:0;flex:1;width:100%;min-height:0}.answer-options{flex-wrap:wrap;gap:8px;margin:12px 0 16px;display:flex}.answer-option{border:1px solid var(--line-strong);background:var(--surface);min-height:36px;color:var(--ink);text-align:left;border-radius:999px;padding:6px 14px;font-size:13px}.answer-option:hover:not(:disabled){background:var(--accent-soft);border-color:var(--accent)}.answer-option:disabled{opacity:.5;cursor:default}@media (max-width:1000px){.artifact-panel{z-index:120;border-left:0;flex:none;position:fixed;inset:0}.artifact-panel-header{min-height:56px;padding:0 12px}}@media (max-width:700px){.artifact-button{min-height:40px}.artifact-panel-header strong{display:none}.artifact-panel-header{justify-content:flex-end}}@media (max-width:370px){.artifact-button span{display:none}.artifact-primary span,.artifact-errors .artifact-button span{display:inline}.search-control span{display:none}}:root{--canvas:#fff;--sidebar:#f8f8f7;--surface:#fff;--surface-hover:#f1f1f0;--selected:#ebebea;--ink:#171717;--muted:#5d5d5d;--faint:#6e6e6e;--line:#ebebea;--line-strong:#d8d8d6;--accent-soft:#edf0ff;--composer-border:#dededc;--composer-shadow:0 1px 2px #0000000a, 0 8px 28px #0000000a;--panel-gap:8px}:root[data-theme=dark]{--canvas:#141414;--sidebar:#1b1b1b;--surface:#212121;--surface-hover:#2a2a2a;--selected:#2f2f2f;--ink:#ececec;--muted:#a6a6a6;--faint:#8e8e8e;--line:#2a2a2a;--line-strong:#3b3b3b;--accent-soft:#1d2542;--composer-border:#313131;--composer-shadow:0 8px 28px #00000040}.chat-shell{background:var(--sidebar)}.chat-main{margin:var(--panel-gap) var(--panel-gap) var(--panel-gap) 0;border:1px solid var(--line);background:var(--canvas);border-radius:14px;overflow:hidden}@media (min-width:1001px){.artifact-panel{margin:var(--panel-gap) var(--panel-gap) var(--panel-gap) 0;border:1px solid var(--line);border-radius:14px;overflow:hidden}}.sidebar{background:0 0;border-right:0;padding:10px}.sidebar-topbar{justify-content:space-between;align-items:center;height:48px;margin-bottom:6px;padding:0 2px 0 8px}.sidebar-brand{border-radius:8px;align-items:center;height:36px;padding:0 4px;display:inline-flex}.sidebar-brand .wordmark{width:92.8003px;height:30px;color:var(--ink)}.sidebar-topbar>.icon-button{border-radius:8px;width:32px;height:32px}.sidebar-actions{gap:2px}.nav-action{min-height:38px;color:var(--ink);border-radius:10px;gap:10px;padding:8px 10px;font-size:14px}.nav-action>svg{color:var(--muted)}.new-chat-action{background:var(--surface);border:1px solid var(--line);margin-bottom:4px;font-weight:500;box-shadow:0 1px 2px #0000000a}.new-chat-action>svg{color:var(--ink)}.new-chat-action:hover{background:var(--surface-hover);border-color:var(--line-strong)}.nav-action kbd{border:1px solid var(--line-strong);font:500 10.5px/1 var(--sans);color:var(--faint);letter-spacing:.02em;border-radius:6px;padding:3px 6px}.new-chat-action kbd{opacity:1}.history{margin-top:22px}.history h2{letter-spacing:0;text-transform:none;color:var(--faint);padding:0 10px 6px;font-size:12px;font-weight:500}.history-list{gap:1px}.history-row{border-radius:9px;min-height:34px}.history-row>a{color:var(--ink);gap:8px;padding:7px 10px;font-size:13.5px}.history-row:hover,.history-row:focus-within{background:var(--surface-hover)}.history-row-selected,.history-row-selected:hover{background:var(--selected)}.history-menu-trigger{border-radius:7px;right:4px}.history-empty{padding:2px 10px;font-size:13px}.sidebar-footer{flex-direction:column;gap:6px;padding-top:10px;display:flex}.sidebar-footer>.desktop-action{width:100%;color:var(--muted);font-size:13.5px}.sidebar-footer>.desktop-action:hover{color:var(--ink)}.account-row{align-items:center;gap:4px;min-height:52px;display:flex}.account-card{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:12px;flex:1;align-items:center;gap:10px;min-width:0;padding:8px 10px 8px 8px;transition:background .14s,border-color .14s;display:flex}.account-card:hover{background:var(--surface-hover);border-color:var(--line-strong)}.account-avatar{color:#fff;background:linear-gradient(140deg,#5b78ff,#3b5cf6);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:13.5px;font-weight:600;display:inline-flex}.account-avatar-photo{object-fit:cover;background:var(--surface-hover)}.account-avatar-guest{background:var(--surface-hover);color:var(--ink)}.account-copy{flex-direction:column;min-width:0;line-height:1.3;display:flex}.account-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:500;overflow:hidden}.account-copy small{color:var(--faint);font-size:11.5px}.account-copy small.account-pro{color:var(--accent-text);font-weight:500}.account-gear{color:var(--faint);margin-left:auto;display:inline-flex}.account-settings{border-radius:10px;width:36px;height:36px}.sidebar-collapsed{width:60px;padding-inline:8px}.sidebar-collapsed .sidebar-topbar{justify-content:center;padding:0}.sidebar-collapsed .nav-action{justify-content:center;padding:8px 0}.sidebar-collapsed .new-chat-action{box-shadow:none;background:0 0;border-color:#0000}.sidebar-collapsed .account-row{justify-content:center}.sidebar-collapsed .account-card{background:0 0;border-color:#0000;flex:none;padding:4px}.chat-header{border-bottom:0;height:56px;min-height:56px;padding:0 16px 0 22px;position:relative}.chat-main:has(.transcript) .chat-header{border-bottom:1px solid var(--line)}.chat-title{letter-spacing:-.01em;font-size:14px;font-weight:500}.plan-pill{background:var(--accent-soft);height:32px;color:var(--accent-text);white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:0 14px;font-size:13px;font-weight:500;transition:filter .14s;display:inline-flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.plan-pill:hover{filter:brightness(.97)}:root[data-theme=dark] .plan-pill:hover{filter:brightness(1.15)}.plan-pill-price{border-left:1px solid;border-left-color:color-mix(in srgb, currentColor 30%, transparent);padding-left:8px}.welcome{padding-bottom:14vh}.welcome-content{max-width:800px}.welcome-greeting{text-align:center;margin-bottom:28px}.welcome .welcome-greeting h1{letter-spacing:-.025em;overflow-wrap:anywhere;margin:0 0 8px;font-size:34px;font-weight:500;line-height:1.2}.welcome-line{min-height:1.5em;color:var(--muted);font-size:16px;line-height:1.5}.welcome-line-suggested{color:var(--ink);animation:.35s ease-out welcome-line-in}@keyframes welcome-line-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}.composer{border:1px solid var(--composer-border);background:var(--surface);box-shadow:var(--composer-shadow);border-radius:26px;padding:12px 12px 10px 14px}.composer:focus-within{border-color:var(--line-strong);box-shadow:var(--composer-shadow)}:root[data-theme=dark] .composer:focus-within{border-color:#424242}.composer textarea{padding:6px 6px 8px}.welcome .composer textarea{min-height:60px}.composer-tools>.attach-button{border:1px solid var(--line);width:32px;height:32px;color:var(--ink);border-radius:50%}.composer-tools>.attach-button:hover:not(:disabled){border-color:var(--line-strong)}.composer-control{border-radius:999px;padding:5px 9px}.send-button,.send-button:hover:not(:disabled){background:var(--ink);width:36px;height:36px;color:var(--canvas);border-radius:50%}.send-button:hover:not(:disabled){opacity:.85}.send-button:disabled{background:var(--selected);color:var(--faint);opacity:1}.send-button>svg{width:18px;height:18px}.composer-footnote{color:var(--faint)}.user-bubble{background:var(--surface-hover);border-radius:20px}.dropdown-menu,.modal{border-radius:14px}@media (max-width:1100px) and (min-width:701px){:root{--sidebar-width:240px}}@media (max-width:700px){.chat-main{border:0;border-radius:0;margin:0}.chat-shell{background:var(--canvas)}.mobile-sidebar{padding:10px 10px max(10px, env(safe-area-inset-bottom))}.chat-header{padding:0 10px}.chat-main:has(.welcome) .home-chat-title{visibility:hidden}.plan-pill{padding:0 12px;font-size:12px}.composer{border-radius:22px}.welcome .welcome-greeting h1{font-size:28px}.welcome-line{font-size:15px}}@media (min-width:701px){.home-chat-title{visibility:hidden}}@media (max-width:460px){.plan-pill>span:not(.plan-pill-price){display:none}.plan-pill-price{border-left:0;padding-left:0}}.history-group+.history-group{margin-top:16px}.version-pager{color:var(--muted);font-variant-numeric:tabular-nums;align-items:center;gap:2px;font-size:11px;display:inline-flex}.version-pager .version-step{border-radius:6px;place-items:center;width:24px;height:24px;padding:0;display:inline-grid}.version-pager .version-step:hover:not(:disabled){background:var(--surface-hover)}.version-pager .version-step:disabled{opacity:.35;cursor:default}.version-count{text-align:center;min-width:26px}.response-error .version-pager{margin-left:8px}.message-action-primary{color:var(--ink);font-weight:500}.code-actions{align-items:center;gap:10px;display:inline-flex}.code-header .code-icon-action{border-radius:5px;padding:4px}.code-header .code-icon-action[aria-pressed=true]{color:#fff;background:#ffffff14}.code-block pre.code-wrap code{white-space:pre-wrap;overflow-wrap:anywhere}.toast>.toast-action{color:#fff;background:#ffffff14;border-radius:6px;width:auto;height:26px;padding:0 10px;font-size:12px;font-weight:600}.toast>.toast-action:hover{background:#ffffff24}.shortcuts-modal{width:min(440px,100vw - 32px)}.shortcuts-list{flex-direction:column;margin:4px 0 0;display:flex}.shortcut-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:9px 0;font-size:13px;display:flex}.shortcut-row:last-child{border-bottom:0}.shortcut-row dt{color:var(--ink)}.shortcut-row dd{flex-shrink:0;gap:4px;margin:0;display:inline-flex}.shortcut-row kbd{border:1px solid var(--line-strong);min-width:24px;font:500 11px/1.2 var(--sans);color:var(--muted);text-align:center;background:var(--surface);border-radius:6px;padding:3px 7px}@media (min-width:701px){.settings-modal{max-width:580px}}.settings-tabs{scrollbar-width:none;gap:20px;overflow-x:auto}.settings-tabs::-webkit-scrollbar{display:none}.settings-tabs>button{white-space:nowrap;flex:none}.settings-modal{flex-direction:column;display:flex;overflow:hidden}.settings-modal>.modal-header,.settings-modal>.settings-tabs,.settings-modal>.settings-footer{flex:none}.settings-modal>.settings-body{overscroll-behavior:contain;flex:auto;min-height:0;position:relative;overflow-y:auto}.personal-field{border-bottom:1px solid var(--line);padding:18px 0;position:relative}.personal-field label{font-size:12px;font-weight:500;display:block}.personal-field .field-help{margin:4px 0 10px}.personal-field textarea,.memory-add input,.memory-row-editing input{border:1px solid var(--line-strong);background:var(--canvas);width:100%;color:var(--ink);font:inherit;border-radius:10px;padding:9px 11px;font-size:13px;line-height:1.5}.personal-field textarea{resize:vertical;min-height:70px}.personal-field textarea:focus-visible,.memory-add input:focus-visible,.memory-row-editing input:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-color:#0000}.personal-count{color:var(--faint);font-size:10px;position:absolute;bottom:24px;right:8px}.memory-list-head{justify-content:space-between;align-items:center;gap:12px;min-height:34px;margin-top:20px;display:flex}.memory-list-head strong{font-size:12px;font-weight:500}.memory-list-head .button{min-height:30px;font-size:11px}.memory-clear-confirm{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:inline-flex}.memory-list{border:1px solid var(--line);border-radius:12px;margin:10px 0 0;padding:0;list-style:none;overflow:hidden}.memory-row{align-items:center;gap:4px;padding:6px 6px 6px 12px;font-size:13px;line-height:1.45;display:flex}.memory-row+.memory-row{border-top:1px solid var(--line)}.memory-row>span{overflow-wrap:anywhere;flex:1;min-width:0}.memory-row .icon-button{width:30px;height:30px;color:var(--muted);flex:none}.memory-empty{margin-top:8px}.memory-add{gap:8px;margin-top:12px;display:flex}.memory-add .button{flex:none;font-size:12px}.memory-note{border:1px solid var(--line);background:var(--sidebar);border-radius:12px;margin:12px 0 16px;padding:10px 12px;font-size:13px}.memory-note-head{color:var(--muted);align-items:center;gap:7px;font-size:12px;font-weight:500;display:flex}.memory-note-head>span{flex:1}.memory-note-manage,.memory-note-undo{color:var(--muted);text-underline-offset:2px;background:0 0;border-radius:6px;padding:2px 4px;font-size:12px;text-decoration:underline}.memory-note-manage:hover,.memory-note-undo:hover{color:var(--ink)}.memory-note ul{margin:6px 0 0;padding:0;list-style:none}.memory-note li{color:var(--ink);justify-content:space-between;align-items:baseline;gap:10px;padding:3px 0 3px 21px;display:flex}.memory-removed{color:var(--faint);text-decoration:line-through}.memory-note-state{color:var(--faint);flex:none;font-size:12px}:root{--medal-discover:#3b6cf6;--medal-discover-soft:#e8eeff;--medal-habit:#e8590c;--medal-habit-soft:#fff0e6;--medal-milestone:#8b5cf6;--medal-milestone-soft:#f2edff;--streak:#f76707}:root[data-theme=dark]{--medal-discover:#7f9dff;--medal-discover-soft:#1f2a4d;--medal-habit:#ff9a57;--medal-habit-soft:#3a2416;--medal-milestone:#b49bff;--medal-milestone-soft:#2c2347;--streak:#ff922b}.progress-modal{flex-direction:column;max-width:760px;padding:0;display:flex;overflow:hidden}.progress-modal .modal-header{border-bottom:1px solid var(--line);margin:0;padding:24px 28px 16px}.progress-body{padding:20px 28px 28px;overflow-y:auto}.progress{gap:20px;display:grid}.progress h3{margin:0;font-size:14px;font-weight:600}.progress-hero{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.progress-card{border:1px solid var(--line);background:var(--sidebar);border-radius:16px;padding:18px}.progress-card p{color:var(--muted);margin:0;font-size:12px}.progress-level{align-items:center;gap:18px;display:flex}.progress-level>div{flex:1;gap:2px;min-width:0;display:grid}.progress-level strong{font-size:18px;font-weight:650}.progress-level span{color:var(--muted);font-size:12px}.level-ring{flex:none;width:92px;height:92px;position:relative}.level-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.level-ring circle{fill:none;stroke-width:9px}.level-ring-track{stroke:var(--line)}.level-ring-fill{stroke:var(--accent);stroke-linecap:round;transition:stroke-dashoffset .6s}.level-ring>span{text-align:center;font-variant-numeric:tabular-nums;place-content:center;font-size:28px;font-weight:700;line-height:1;display:grid;position:absolute;inset:0}.level-ring small{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:3px;font-size:10px;font-weight:500;display:block}.usage-progress{background:var(--line);border-radius:99px;height:8px;margin:10px 0 6px;overflow:hidden}.usage-progress i{background:var(--accent);border-radius:99px;height:100%;display:block}.usage-progress-small{height:5px;margin:6px 0 0}.progress-streak{gap:12px;display:grid}.streak-head{align-items:center;gap:12px;display:flex}.streak-head>div{gap:2px;display:grid}.streak-head strong{font-size:18px;font-weight:650}.streak-head span{color:var(--muted);font-size:12px}.streak-flame{background:var(--line);width:42px;height:42px;color:var(--faint);border-radius:50%;place-items:center;display:grid}.streak-lit{background:var(--medal-habit-soft);color:var(--streak)}.streak-week{text-align:center;grid-template-columns:repeat(7,1fr);gap:6px;margin:0;padding:0;list-style:none;display:grid}.streak-week li{color:var(--faint);justify-items:center;gap:4px;font-size:11px;display:grid}.streak-week i{border:1.5px dashed var(--line-strong);border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.streak-day-on i{background:var(--streak);color:#fff;border:0}.streak-today{color:var(--ink);font-weight:600}.streak-today:not(.streak-day-on) i{border-style:solid;border-color:var(--streak)}.progress-next{gap:10px;display:grid}.progress-next ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.progress-next li{border:1px solid var(--line);border-radius:14px;align-items:center;gap:12px;padding:14px;display:flex}.progress-next li>div{flex:1;gap:2px;min-width:0;display:grid}.progress-next strong{font-size:13px;font-weight:600}.progress-next li span{color:var(--muted);font-size:12px;line-height:1.4}.progress-next .button{flex:none}.usage-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.usage-stat{border:1px solid var(--line);border-radius:14px;gap:2px;padding:14px;display:grid}.usage-stat strong{font-variant-numeric:tabular-nums;font-size:22px;font-weight:650}.usage-stat span{color:var(--muted);font-size:12px}.usage-chart{margin:0;position:relative}.usage-chart figcaption{justify-content:space-between;align-items:baseline;margin-bottom:10px;display:flex}.usage-chart figcaption strong{font-size:14px;font-weight:600}.usage-chart figcaption span,.usage-axis,.usage-chart-max{color:var(--faint);font-size:11px}.usage-chart-plot{border-bottom:1px solid var(--line-strong);height:150px;position:relative}.usage-chart-max{position:absolute;top:-2px;left:0}.usage-bars{align-items:flex-end;gap:3px;display:flex;position:absolute;inset:16px 0 0}.usage-bar{cursor:default;flex:1;align-items:flex-end;height:100%;display:flex}.usage-bar i{background:var(--accent);opacity:.55;border-radius:4px 4px 0 0;width:100%;display:block}.usage-bar-today i,.usage-bar-hover i{opacity:1}.usage-tooltip{border:1px solid var(--line);background:var(--surface);white-space:nowrap;pointer-events:none;z-index:2;border-radius:8px;gap:2px;padding:7px 10px;font-size:11px;display:grid;position:absolute;bottom:calc(100% - 8px);transform:translate(-50%);box-shadow:0 6px 20px #0000001a}.usage-tooltip strong{font-weight:600}.usage-tooltip span{color:var(--muted)}.usage-axis{justify-content:space-between;margin-top:6px;display:flex}.usage-badges{gap:14px;display:grid}.badges-head{justify-content:space-between;align-items:baseline;display:flex}.badges-head span{color:var(--muted);font-size:12px}.badge-group h4{margin:0 0 10px;font-size:12px;font-weight:600}.badge-group h4 span{color:var(--faint);margin-left:6px;font-weight:400}.badge-group ul{grid-template-columns:repeat(auto-fill,minmax(124px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.badge-tile{border:1px solid var(--line);text-align:center;border-radius:14px;align-content:start;justify-items:center;gap:4px;padding:16px 12px 14px;display:grid}.badge-tile .medal{margin-bottom:6px}.badge-tile strong{font-size:13px;font-weight:600}.badge-description{color:var(--muted);font-size:11.5px;line-height:1.4}.badge-state{font-variant-numeric:tabular-nums;color:var(--faint);align-items:center;gap:3px;margin-top:4px;font-size:11px;display:inline-flex}.badge-earned .badge-state{color:var(--ink);font-weight:600}.badge-locked strong{color:var(--muted)}.medal{border-radius:50%;flex:none;place-items:center;display:grid;position:relative}.medal-discover{--medal:var(--medal-discover);--medal-soft:var(--medal-discover-soft)}.medal-habit{--medal:var(--medal-habit);--medal-soft:var(--medal-habit-soft)}.medal-milestone{--medal:var(--medal-milestone);--medal-soft:var(--medal-milestone-soft)}.medal-earned{background:var(--medal);color:#fff;box-shadow:0 0 0 3px var(--medal-soft), 0 4px 12px color-mix(in srgb, var(--medal) 35%, transparent)}.medal-locked{color:var(--faint);background:radial-gradient(closest-side, var(--surface) calc(100% - 3px), transparent calc(100% - 2px)), conic-gradient(var(--medal) var(--medal-progress), var(--line) 0)}.medal-lock{background:var(--surface);border:1px solid var(--line);width:18px;height:18px;color:var(--muted);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-2px;right:-2px}.usage-error{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}@media (max-width:640px){.progress-modal .modal-header{padding:20px 18px 14px}.progress-body{padding:16px 16px 22px}.progress-hero,.progress-next ul{grid-template-columns:1fr}.usage-stats,.badge-group ul{grid-template-columns:repeat(2,minmax(0,1fr))}}.review-note{border:1px solid var(--line);color:var(--muted);border-radius:10px;align-items:flex-start;gap:8px;margin:10px 0 2px;padding:9px 12px;font-size:12.5px;line-height:1.45;display:flex}.review-note svg{color:var(--accent);flex:none;margin-top:2px}.review-note strong{color:var(--ink);font-weight:600}.review-fixed{background:var(--accent-soft);border-color:#0000}.slide-deck{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin:12px 0 16px;overflow:hidden}.slide-deck header{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:10px 12px;display:flex}.slide-deck header>svg{color:var(--accent);flex:none}.slide-deck header>div{flex:1;min-width:0;display:grid}.slide-deck header strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.slide-deck header span{color:var(--muted);font-size:11px}.slide-deck header .button{flex:none;min-height:32px;font-size:12px}.slide-deck .spin{animation:1s linear infinite spin}.slide-stage{background:var(--sidebar);padding:14px}.slide-page{aspect-ratio:16/9;color:#171717;background:#fff;border-radius:8px;max-height:340px;margin:0 auto;padding:6% 7%;overflow:hidden;box-shadow:0 1px 3px #0000001f;container-type:inline-size}.slide-page h4{border-left:.6cqw solid #3b5cf6;margin:0 0 4cqw;padding-left:1.6cqw;font-size:4.2cqw;font-weight:700;line-height:1.2}.slide-page ul{margin:0;padding-left:4cqw;font-size:2.6cqw;line-height:1.45}.slide-page li+li{margin-top:1.2cqw}.slide-cover{flex-direction:column;justify-content:center;display:flex}.slide-cover h4{border:0;margin-bottom:2cqw;padding:0;font-size:5.6cqw}.slide-cover h4:after{content:"";background:#3b5cf6;width:8cqw;height:.6cqw;margin-top:2.4cqw;display:block}.slide-cover p{color:#5d5d5d;margin:0;font-size:2.8cqw}.slide-notes{border-top:1px solid var(--line);color:var(--muted);margin:0;padding:8px 14px;font-size:12px;line-height:1.5}.slide-notes strong{color:var(--ink);margin-right:4px;font-weight:500}.slide-nav{border-top:1px solid var(--line);color:var(--muted);font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:10px;padding:6px;font-size:12px;display:flex}.slide-nav .icon-button{width:30px;height:30px}.slide-nav .icon-button:disabled{opacity:.35}.markdown .katex{font-size:1.08em}.markdown .katex-display{margin:14px 0;padding:4px 2px;overflow:auto hidden}.markdown .katex-display>.katex{font-size:1.25em}.markdown .katex .fbox{border-radius:6px;border-color:var(--accent)!important}.math-pending{font-family:var(--mono,ui-monospace, monospace);color:var(--muted);text-align:center;margin:14px 0;font-size:.9em;overflow-x:auto}.quiz{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin:16px 0;overflow:hidden}.quiz>header{border-bottom:1px solid var(--line);color:var(--accent-text,var(--accent));align-items:center;gap:8px;padding:10px 14px;font-size:.86rem;display:flex}.quiz>header strong{font-weight:600}.quiz-score{color:var(--muted);margin-left:auto;font-size:.82rem}.quiz-pending,.widget-pending{color:var(--muted);align-items:center;gap:8px;padding:14px;font-size:.9rem;display:flex}.quiz-pending svg,.widget-pending svg{animation:1s linear infinite spin}.quiz-plain{padding:12px 14px}.quiz-question{border:0;min-width:0;margin:0;padding:14px}.quiz-question+.quiz-question{border-top:1px solid var(--line)}.quiz-question legend{float:left;width:100%;margin-bottom:12px;padding:0;font-weight:550;line-height:1.5}.quiz-number{color:var(--muted);margin-right:6px}.quiz-choices{clear:both;gap:8px;display:grid}.quiz-choice{border:1px solid var(--line-strong,var(--line));background:var(--canvas,var(--surface));width:100%;min-height:44px;color:var(--ink,inherit);font:inherit;text-align:left;cursor:pointer;border-radius:10px;align-items:center;gap:10px;padding:8px 12px;transition:border-color .15s,background .15s;display:flex}.quiz-choice:hover:not(:disabled){border-color:var(--accent)}.quiz-choice:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.quiz-choice:disabled{cursor:default;opacity:1}.quiz-choice:disabled:not(.right):not(.wrong){opacity:.6}.quiz-choice.chosen{border-color:var(--accent);background:var(--accent-soft)}.quiz-choice.right{border-color:var(--success);background:color-mix(in srgb, var(--success) 12%, transparent)}.quiz-choice.wrong{border-color:var(--danger);background:var(--danger-soft)}.quiz-letter{border:1px solid var(--line-strong,var(--line));width:24px;height:24px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:.76rem;font-weight:600;display:inline-grid}.quiz-choice.chosen .quiz-letter{border-color:var(--accent);background:var(--accent);color:#fff}.quiz-choice.right .quiz-letter{border-color:var(--success);background:var(--success);color:var(--canvas,#fff)}.quiz-choice.wrong .quiz-letter{border-color:var(--danger);background:var(--danger);color:var(--canvas,#fff)}.quiz-check{margin-top:12px}.quiz-result{border-radius:10px;margin-top:12px;padding:10px 12px;line-height:1.55}.quiz-result.right{background:color-mix(in srgb, var(--success) 12%, transparent)}.quiz-result.right strong{color:var(--success)}.quiz-result.wrong{background:var(--danger-soft)}.quiz-result.wrong strong{color:var(--danger)}.quiz-retry{border:1px solid var(--line-strong,var(--line));color:var(--ink,inherit);font:inherit;cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:5px;margin-left:8px;padding:2px 8px;font-size:.82rem;display:inline-flex}.widget{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin:16px 0;overflow:hidden}.widget-frame{background:0 0;border:0;width:100%;transition:height .15s;display:block}.widget-bar{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;padding:6px 8px 6px 12px;font-size:.8rem;display:flex}.widget-label,.widget-error{align-items:center;gap:5px;display:inline-flex}.widget-error{color:var(--danger)}.widget-actions{gap:6px;margin-left:auto;display:inline-flex}.widget-stage-overlay{z-index:85;background:color-mix(in srgb, var(--canvas) 70%, transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:.16s ease-out stage-fade;position:fixed;inset:0}.widget-stage{z-index:86;border:1px solid var(--line);background:var(--canvas);border-radius:18px;flex-direction:column;animation:.18s ease-out stage-in;display:flex;position:fixed;inset:14px;overflow:hidden;box-shadow:0 24px 80px #00000040}.widget-stage:focus{outline:none}.widget-stage:fullscreen{border:0;border-radius:0;inset:0}.widget-stage-header{border-bottom:1px solid var(--line);min-height:56px;color:var(--muted);flex:none;align-items:center;gap:10px;padding:8px 10px 8px 18px;display:flex}.widget-stage-title{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.98rem;font-weight:600;overflow:hidden}.widget-stage-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.widget-stage-close{width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;margin-left:4px;display:grid}.widget-stage-close:hover{background:var(--surface-hover)}.widget-stage-close:focus-visible{outline:2px solid var(--accent)}.widget-stage-frame{background:0 0;border:0;flex:1;width:100%;min-height:0}@keyframes stage-fade{0%{opacity:0}}@keyframes stage-in{0%{opacity:0;transform:scale(.985)}}@media (prefers-reduced-motion:reduce){.widget-stage,.widget-stage-overlay{animation:none}.widget-frame,.quiz-choice{transition:none}}@media (max-width:640px){.widget-actions .artifact-button span,.widget-stage-actions .artifact-button span{display:none}.widget-stage{border:0;border-radius:0;inset:0}.widget-stage-header{padding-left:14px}}.talk-button{width:36px;height:36px;color:var(--ink);border-radius:50%;flex:none;margin-right:6px}.talk-button:hover:not(:disabled){background:var(--surface-hover)}.talk-button>svg{width:19px;height:19px}.voice-bar{border:1px solid var(--composer-border);background:var(--surface);box-shadow:var(--composer-shadow);border-radius:26px;padding:14px 14px 14px 16px;animation:.18s ease-out voice-in}.voice-main{align-items:center;gap:16px;display:flex}.voice-orb{background:radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 55%, white), var(--accent));color:#fff;cursor:pointer;width:60px;height:60px;box-shadow:0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent);border:0;border-radius:50%;flex:none;place-items:center;transition:transform .15s,background .2s;display:grid;position:relative}.voice-orb:hover{transform:scale(1.04)}.voice-orb:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 45%, transparent);outline-offset:3px}.voice-orb>svg{z-index:1;position:relative}.voice-rings,.voice-rings span{pointer-events:none;border-radius:50%;position:absolute;inset:0}.voice-rings span{border:2px solid var(--accent);opacity:0}.voice-listening .voice-rings span{animation:1.8s ease-out infinite voice-ring}.voice-listening .voice-rings span:nth-child(2){animation-delay:.6s}.voice-listening .voice-rings span:nth-child(3){animation-delay:1.2s}.voice-speaking .voice-orb{animation:.9s ease-in-out infinite alternate voice-talk}.voice-thinking .voice-orb{animation:1.6s ease-in-out infinite voice-breathe}.voice-paused .voice-orb{background:var(--selected);color:var(--muted);box-shadow:none}.voice-text{flex:1;gap:3px;min-width:0;display:grid}.voice-text strong{font-size:.95rem;font-weight:600}.voice-hint{color:var(--faint);font-size:.82rem;font-weight:400}.voice-text>span{-webkit-line-clamp:2;color:var(--muted);-webkit-box-orient:vertical;font-size:.9rem;line-height:1.45;display:-webkit-box;overflow:hidden}.voice-text>span.voice-error{color:var(--danger)}.voice-actions{flex:none;align-items:center;gap:6px;display:flex}.voice-icon,.voice-end{border:1px solid var(--line-strong);height:36px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border-radius:999px;justify-content:center;align-items:center;gap:6px;font-size:.86rem;display:inline-flex}.voice-icon{width:36px}.voice-end{padding:0 14px 0 12px}.voice-icon:hover,.voice-end:hover{background:var(--surface-hover)}.voice-icon[aria-expanded=true]{background:var(--selected)}.voice-settings{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:12px;padding-top:12px;font-size:.86rem;display:flex}.voice-settings label,.voice-speed{color:var(--muted);align-items:center;gap:8px;display:flex}.voice-settings select{border:1px solid var(--line-strong);background:var(--canvas);max-width:260px;height:32px;color:var(--ink);font:inherit;border-radius:8px;padding:0 8px}.voice-speed button{border:1px solid var(--line-strong);height:30px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:0 9px}.voice-speed button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.voice-note{color:var(--faint);flex-basis:100%;margin:0;font-size:.8rem;line-height:1.45}@keyframes voice-in{0%{opacity:0;transform:translateY(6px)}}@keyframes voice-ring{0%{opacity:.5;transform:scale(1)}to{opacity:0;transform:scale(1.6)}}@keyframes voice-talk{to{transform:scale(1.08)}}@keyframes voice-breathe{50%{opacity:.8;transform:scale(.94)}}@media (prefers-reduced-motion:reduce){.voice-bar,.voice-orb,.voice-rings span{animation:none!important}.voice-listening .voice-rings span:first-child{opacity:.4;transform:scale(1.18)}}:root[data-motion=reduce] .voice-bar,:root[data-motion=reduce] .voice-orb,:root[data-motion=reduce] .voice-rings span{animation:none!important}@media (max-width:640px){.composer-tools{scrollbar-width:none;overflow-x:auto}.composer-tools::-webkit-scrollbar{display:none}.talk-button{margin-right:0}.voice-bar{padding:12px}.voice-main{gap:12px}.voice-orb{width:52px;height:52px}.voice-end span,.voice-hint{display:none}.voice-end{width:36px;padding:0}}.nav-action.active{background:var(--selected);color:var(--ink)}.notebooks{flex:1;min-height:0;padding:4px max(24px,50% - 530px) 64px;overflow-y:auto}.notebooks-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 24px;margin-bottom:28px;display:flex}.notebooks-head h1{letter-spacing:-.02em;margin:0 0 6px;font-size:30px;font-weight:600}.notebooks-head p{max-width:520px;color:var(--muted);margin:0;font-size:14.5px;line-height:1.55}.nb-toolbar{align-items:center;gap:8px;display:flex}.nb-search{border:1px solid var(--line-strong);background:var(--surface);width:240px;height:38px;color:var(--faint);border-radius:999px;align-items:center;gap:8px;padding:0 12px;display:flex}.nb-search:focus-within{border-color:var(--ink)}.nb-search input{min-width:0;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:13.5px}.nb-sort{border:1px solid var(--line-strong);background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23888' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5 6 7.5l3-3'/%3E%3C/svg%3E") no-repeat right 12px center;height:38px;color:var(--ink);font:inherit;appearance:none;cursor:pointer;border-radius:999px;padding:0 32px 0 14px;font-size:13.5px}.notebook-grid{grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.notebook-grid>li{display:flex}.nb-tint-0{--nb-tint:#4f7cff}.nb-tint-1{--nb-tint:#18a37a}.nb-tint-2{--nb-tint:#e0892b}.nb-tint-3{--nb-tint:#9a5cf0}.nb-tint-4{--nb-tint:#e05a7a}.nb-tint-5{--nb-tint:#2b9fc4}.notebook-card{border:1px solid var(--line);background:color-mix(in srgb, var(--nb-tint,transparent) 7%, var(--surface));width:100%;min-height:188px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;border-radius:18px;flex-direction:column;gap:6px;padding:18px 18px 16px;text-decoration:none;transition:border-color .15s,transform .15s,box-shadow .15s;display:flex;position:relative}.notebook-card:hover{border-color:color-mix(in srgb, var(--nb-tint,var(--ink)) 28%, var(--line-strong));transform:translateY(-2px);box-shadow:0 10px 30px #0000000f}:root[data-theme=dark] .notebook-card{background:color-mix(in srgb, var(--nb-tint,transparent) 10%, var(--surface))}:root[data-theme=dark] .notebook-card:hover{box-shadow:0 10px 30px #00000059}.notebook-card:focus-within:has(.nb-card-link:focus-visible){outline:2px solid var(--ink);outline-offset:2px}.nb-card-link{z-index:0;border-radius:inherit;position:absolute;inset:0}.nb-card-link:focus-visible{outline:none}.nb-card-top{justify-content:space-between;align-items:flex-start;margin-bottom:auto;display:flex}.notebook-card .notebook-emoji{background:color-mix(in srgb, var(--nb-tint,var(--ink)) 14%, var(--surface));border-radius:13px;place-items:center;width:46px;height:46px;font-size:24px;line-height:1;display:grid}.nb-card-menu{z-index:1;opacity:0;transition:opacity .15s;position:relative}.notebook-card:hover .nb-card-menu,.nb-card-menu:focus-visible,.nb-card-menu[data-state=open]{opacity:1}@media (hover:none){.nb-card-menu{opacity:1}}.notebook-card>strong{letter-spacing:-.01em;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:18px;font-size:16px;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}.nb-card-meta{color:var(--muted);flex-wrap:wrap;gap:12px;font-size:12.5px;display:flex}.nb-card-meta>span{align-items:center;gap:5px;display:inline-flex}.notebook-card .notebook-date{color:var(--faint);font-size:12px}.notebook-new{border:1.5px dashed var(--line-strong);color:var(--muted);text-align:center;background:0 0;justify-content:center;align-items:center;gap:4px}.notebook-new:hover{border-color:var(--faint);background:var(--surface-hover);box-shadow:none}.nb-new-icon{background:var(--ink);width:46px;height:46px;color:var(--canvas);border-radius:50%;place-items:center;margin-bottom:10px;display:grid}.notebook-new strong{color:var(--ink);font-size:15px;font-weight:600}.notebook-new>span:last-child{font-size:12.5px}.nb-no-results{color:var(--muted);text-align:center;margin:32px 0 0}.notebooks-start{flex-direction:column;padding-top:4px;padding-bottom:72px;display:flex}.notebooks-start .nb-hero{margin-block:auto}.nb-hero{border:1px solid var(--line);background:radial-gradient(120% 140% at 100% 0%, #6d7cff24, transparent 60%), radial-gradient(90% 120% at 0% 100%, #2bb3a31a, transparent 55%), var(--surface);border-radius:24px;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:40px;padding:44px 48px;display:grid;overflow:hidden}.nb-eyebrow{border:1px solid var(--line-strong);background:var(--surface);color:var(--muted);border-radius:999px;align-items:center;gap:6px;margin-bottom:16px;padding:5px 11px;font-size:12.5px;font-weight:500;display:inline-flex}.nb-hero h1{letter-spacing:-.03em;text-wrap:balance;margin:0 0 14px;font-size:clamp(28px,3.4vw,40px);font-weight:600;line-height:1.12}.nb-hero p{max-width:460px;color:var(--muted);margin:0 0 26px;font-size:15.5px;line-height:1.6}.nb-cta.button{background:var(--ink);height:44px;color:var(--canvas);border:0;border-radius:999px;align-items:center;gap:8px;padding:0 22px;font-size:14.5px;font-weight:600;display:inline-flex}.nb-cta.button:hover:not(:disabled){background:color-mix(in srgb, var(--ink) 85%, var(--canvas))}.nb-art{justify-items:center;gap:14px;padding:8px 0;display:grid;position:relative}.nb-art-docs{gap:10px;display:flex}.nb-art-doc{border:1px solid var(--line);background:var(--surface);border-radius:14px;flex-direction:column;gap:8px;width:112px;padding:12px;font-size:11.5px;display:flex;box-shadow:0 6px 18px #0000000d}.nb-art-doc b{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.nb-art-doc:after{content:"";background:repeating-linear-gradient(to bottom, var(--line) 0 4px, transparent 4px 10px);border-radius:6px;height:34px}.nb-art-pdf{color:#d4493f;transform:rotate(-4deg)translateY(4px)}.nb-art-slides{color:#e0892b;transform:translateY(-6px)}.nb-art-notes{color:#18a37a;transform:rotate(4deg)translateY(4px)}.nb-art-doc b{color:var(--ink)}.nb-art-answer{border:1px solid var(--line);background:var(--surface);border-radius:18px;gap:10px;width:min(100%,340px);padding:14px;display:grid;box-shadow:0 12px 34px #00000012}.nb-art-question{background:var(--selected);border-radius:14px;justify-self:end;padding:7px 12px;font-size:12.5px}.nb-art-reply{gap:7px;display:grid}.nb-art-reply i{background:var(--line-strong);border-radius:4px;height:7px}.nb-art-reply i:nth-child(2){width:88%}.nb-art-reply i:nth-child(3){width:64%}.nb-art-cite{background:var(--accent-soft);color:#3b5bdb;border-radius:999px;justify-self:start;align-items:center;gap:5px;margin-top:2px;padding:3px 9px;font-size:11px;font-weight:600;display:inline-flex}:root[data-theme=dark] .nb-art-cite{color:#9bb0ff}:root[data-theme=dark] .nb-art-doc,:root[data-theme=dark] .nb-art-answer{box-shadow:0 10px 30px #00000059}@media (max-width:860px){.nb-hero{grid-template-columns:1fr;gap:28px;padding:32px 24px}}@media (max-width:560px){.notebooks,.notebooks-start{padding-top:16px}.nb-toolbar{width:100%;min-width:0}.nb-search{flex:1;width:auto;min-width:0}.nb-art-doc{width:92px;padding:10px}.nb-hero{padding:26px 18px}.notebook-grid{grid-template-columns:1fr 1fr;gap:12px}.notebook-card{min-height:168px;padding:14px}}@media (prefers-reduced-motion:reduce){.notebook-card{transition:none}.notebook-card:hover{transform:none}}:root{--nb-panel:var(--sidebar);--nb-raised:#efefed}:root[data-theme=dark]{--nb-panel:#1d1d1d;--nb-raised:#2a2a2a}.notebook-title{align-items:center;gap:8px;min-width:0;display:flex}.notebook-title-emoji{background:var(--nb-raised);cursor:pointer;border:0;border-radius:10px;flex:none;place-items:center;width:36px;height:36px;font-size:19px;display:grid}.notebook-title-emoji:hover{filter:brightness(.96)}.notebook-title-input{width:min(520px,50vw);min-width:0;color:var(--ink);font:500 19px / 1.3 var(--sans);text-overflow:ellipsis;background:0 0;border:1px solid #0000;border-radius:8px;padding:4px 8px}.notebook-title-input:hover{border-color:var(--line)}.notebook-title-input:focus{border-color:var(--line-strong);outline:none}.notebook-title-input::placeholder{color:var(--faint)}.notebook-header-button{height:34px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:7px;padding:0 13px;font-size:.86rem;font-weight:500;display:inline-flex;position:relative}.notebook-header-button:hover{background:var(--surface-hover)}.notebook-dot{background:var(--accent);border-radius:50%;width:6px;height:6px}.notebook-workspace{flex:1;grid-template-columns:minmax(220px,min(24%,320px)) minmax(0,1fr) minmax(240px,min(25%,340px));gap:12px;min-height:0;padding:0 12px 12px;display:grid}.notebook-workspace.sources-closed{grid-template-columns:52px minmax(0,1fr) minmax(240px,min(25%,340px))}.notebook-workspace.studio-closed{grid-template-columns:minmax(220px,min(24%,320px)) minmax(0,1fr) 52px}.notebook-workspace.sources-closed.studio-closed{grid-template-columns:52px minmax(0,1fr) 52px}.notebook-tabs{display:none}.notebook-center{flex-direction:column;min-width:0;min-height:0;display:flex;container-type:inline-size}@container (width<=640px){.notebook-center .composer-tools{scrollbar-width:none;overflow-x:auto}.notebook-center .composer-tools::-webkit-scrollbar{display:none}.composer-source-count{display:none}.notebook-center .conversation-composer{width:calc(100% - 24px)}}.notebook-center .conversation-composer{width:calc(100% - 48px)}.notebook-panel{border:1px solid var(--line);background:var(--nb-panel);border-radius:18px;flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}.notebook-panel-header{justify-content:space-between;align-items:center;min-height:52px;padding:8px 8px 4px 18px;display:flex}.notebook-panel-header h2{margin:0;font-size:.95rem;font-weight:500}.notebook-rail{color:var(--faint);align-items:center;gap:14px;padding-top:8px}.notebook-add-button{border:1px solid var(--line-strong);height:42px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border-radius:999px;justify-content:center;align-items:center;gap:8px;margin:4px 12px 10px;font-size:.9rem;font-weight:500;display:inline-flex}.notebook-add-button:hover:not(:disabled){background:var(--nb-raised)}.notebook-add-button:disabled{color:var(--faint);cursor:default}.notebook-add-button .spin{animation:1s linear infinite spin}.notebook-source-list{flex:1;min-height:0;margin:0;padding:0 6px 8px;list-style:none;overflow-y:auto}.notebook-source-row{border-radius:12px;align-items:center;gap:10px;min-height:46px;padding:6px 12px;display:flex}.notebook-source-list .notebook-source-row:hover{background:var(--nb-raised)}.notebook-select-all{min-height:38px;color:var(--muted);cursor:pointer;justify-content:space-between;margin:0 6px;font-size:.84rem}.notebook-source-row input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent);cursor:pointer;flex:none;margin:0}.notebook-source-icon{background:color-mix(in srgb, var(--accent) 14%, transparent);width:30px;height:30px;color:var(--accent);border-radius:8px;flex:none;place-items:center;display:grid}.notebook-source-row.off .notebook-source-icon,.notebook-source-row.off .notebook-source-text{opacity:.5}.notebook-source-text{flex:1;min-width:0;display:grid}.notebook-source-text strong{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;font-size:.87rem;font-weight:500;overflow:hidden}.notebook-source-text span{color:var(--faint);font-size:.75rem}.notebook-source-remove{width:26px;height:26px;color:var(--muted);opacity:0;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;display:grid}.notebook-source-row:hover .notebook-source-remove,.notebook-source-remove:focus-visible{opacity:1}.notebook-source-remove:hover{background:var(--surface-hover);color:var(--ink)}.notebook-sources-empty,.notebook-studio-empty{color:var(--muted);text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;padding:24px 22px 40px;font-size:.86rem;line-height:1.5;display:flex}.notebook-sources-empty strong,.notebook-studio-empty strong{color:var(--ink);margin-top:6px;font-weight:500}.notebook-sources-empty p,.notebook-studio-empty p{margin:0}.link-button{color:var(--ink);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;text-decoration:underline;display:inline-flex}.notebook-budget{border-top:1px solid var(--line);color:var(--faint);gap:6px;padding:12px 18px 14px;font-size:.76rem;line-height:1.4;display:grid}.notebook-budget-bar{background:var(--selected);border-radius:999px;height:4px;overflow:hidden}.notebook-budget-bar span{border-radius:inherit;background:var(--accent);height:100%;display:block}.notebook-budget-bar span.over{background:#d97706}.notebook-drop{border:2px dashed var(--accent);background:color-mix(in srgb, var(--accent-soft) 92%, transparent);color:var(--accent);pointer-events:none;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-weight:500;display:flex;position:absolute;inset:8px}.notebook-studio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:4px 12px 12px;display:grid}.notebook-studio-tool{background:var(--nb-raised);min-height:50px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:14px;align-items:center;gap:10px;padding:8px 12px;font-size:.85rem;font-weight:500;transition:background .15s,transform .15s;display:flex}.notebook-studio-tool:hover:not(:disabled){background:var(--selected)}.notebook-studio-tool:active:not(:disabled){transform:scale(.98)}.notebook-studio-tool:disabled{opacity:.5;cursor:default}.notebook-studio-tool span{min-width:0;line-height:1.25}.notebook-studio-tool svg{flex:none}.studio-audio svg{color:#4f7cff}.studio-slides svg{color:#e5486d}.studio-mindmap svg{color:#8b5cf6}.studio-guide svg{color:#e8890c}.studio-flashcards svg{color:#0ea5a5}.studio-quiz svg{color:#3b82f6}.studio-infographic svg{color:#22a06b}.studio-table svg{color:#d946ef}.notebook-studio-hint{color:var(--faint);margin:-4px 18px 8px;font-size:.8rem;line-height:1.45}.notebook-chats-section{border-top:1px solid var(--line);flex-direction:column;flex:1;min-height:0;display:flex}.notebook-chats-head{justify-content:space-between;align-items:center;padding:12px 16px 6px 18px;display:flex}.notebook-chats-head h3{color:var(--muted);margin:0;font-size:.82rem;font-weight:500}.notebook-chats-head .link-button{color:var(--muted);font-size:.82rem;text-decoration:none}.notebook-chats-head .link-button:hover{color:var(--ink)}.notebook-chat-list{flex:1;min-height:0;margin:0;padding:0 6px 10px;list-style:none;overflow-y:auto}.notebook-chat-list a{color:var(--ink);border-radius:10px;align-items:center;gap:9px;padding:9px 12px;text-decoration:none;display:flex}.notebook-chat-list a:hover{background:var(--nb-raised)}.notebook-chat-list a.active{background:var(--selected)}.notebook-chat-list svg{color:var(--faint);flex:none}.notebook-chat-list span{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:.86rem;overflow:hidden}.notebook-chat-list time{color:var(--faint);flex:none;font-size:.74rem}.notebook-start{flex-direction:column;flex:1;min-height:0;display:flex}.notebook-start-body{flex:1;width:100%;max-width:720px;margin:0 auto;padding:7vh 32px 24px;overflow-y:auto}.notebook-start-emoji{margin-bottom:14px;font-size:46px;line-height:1;display:block}.notebook-start h1{letter-spacing:-.015em;margin:0 0 12px;font-size:clamp(26px,3vw,34px);font-weight:600;line-height:1.2}.notebook-start p{max-width:600px;color:var(--muted);margin:0;font-size:.97rem;line-height:1.6}.notebook-start h2{margin:30px 0 12px;font-size:.95rem;font-weight:600}.notebook-chip-list{flex-direction:column;align-items:flex-start;gap:8px;margin-top:18px;display:flex}.notebook-start h2+.notebook-chip-list{margin-top:0}.notebook-chip-button{background:var(--nb-raised);color:var(--ink);font:inherit;text-align:left;cursor:pointer;border:1px solid #0000;border-radius:12px;padding:10px 16px;font-size:.9rem}.notebook-chip-button:hover:not(:disabled){background:var(--selected)}.notebook-chip-button.chosen{border-color:var(--accent);background:var(--accent-soft)}.notebook-chip-button:disabled{opacity:.55;cursor:default}.composer-source-count{color:var(--faint);white-space:nowrap;flex:none;margin-right:8px;font-size:.78rem}.notebook-dialog{width:min(560px,100vw - 32px)}.notebook-goal-chips{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.notebook-textarea{border:1px solid var(--line-strong);background:var(--canvas);width:100%;color:var(--ink);font:inherit;resize:vertical;border-radius:12px;padding:10px 12px;font-size:.92rem;line-height:1.55;display:block}.notebook-textarea:focus{border-color:var(--accent);outline:none}.notebook-input{margin-bottom:10px}.notebook-dialog-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}@media (max-width:1180px){.notebook-header-button span:not(.notebook-dot){display:none}.notebook-header-button{justify-content:center;width:34px;padding:0}.notebook-header-button .notebook-dot{position:absolute;top:6px;right:6px}}@media (max-width:960px){.notebook-workspace,.notebook-workspace.sources-closed,.notebook-workspace.studio-closed,.notebook-workspace.sources-closed.studio-closed{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:10px;padding:0 10px 10px}.notebook-tabs{background:var(--nb-raised);border-radius:999px;gap:4px;padding:4px;display:flex}.notebook-tabs button{height:34px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;flex:1;font-size:.86rem;font-weight:500}.notebook-tabs button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0000001a}.notebook-workspace:not(.tab-sources) .notebook-sources-panel,.notebook-workspace:not(.tab-studio) .notebook-studio,.notebook-workspace:not(.tab-chat) .notebook-center,.notebook-rail,.notebook-panel-header .icon-button{display:none}.notebook-center .conversation-composer{width:100%}.notebook-title-input{width:100%;font-size:17px}}@media (max-width:640px){.notebook-header-new{display:none}}@media (prefers-reduced-motion:reduce){.notebook-card{transition:none}.notebook-card:hover{transform:none}}@media (max-width:640px){.notebooks{padding:18px 16px 48px}.notebooks-head{flex-direction:column;align-items:stretch}.notebooks-head h1{font-size:24px}.notebook-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.notebook-card{min-height:130px;padding:14px}}
