@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-ext-wght-normal-BOFOeGcA.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:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-wght-normal-Xz1IZZA0.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:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgV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863gkO7iQ8eC48/Ny5m59tOcEso3u7Qg3yrqDL6eKXwJAuWnhylfbWrRObe66rzX59+XDtzusnL66dI/86ArmtLlzED860Ef3bFPV78OX/zFTA11fcBn2Vntb7qiGBSgLBHyuv/uEaqqoTgSpOyjlzh86me1Vriv7i9rLPLvtghWmSnblRbAsBJL/4dScSQTBxOivHMO5QvBBY0iheJvfwWLxLOGzYKZyM4zVc2Cll46zEpeUV4MqGEWZj22SdOxhGAjgs9AEnfT+RoiMfcDb0GS5NncKVxju4Nt/mRk13O9Gz3FLct5oCD6wkwUNrCfHIUg6SMf8LwQGyVaBUqpLPW5BaMpRshEpl8nS1qw5dgnzlik8QBXmdy5UrIH74heTKZKMSilQso4hsRiGraQZRzxpNGqlEJMsXuAU7GlcR8mWSykUpVkWGyIf0a8v4qEQp5CtGsMiZa+4ESYQy+WilCiguHzxMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=)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:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.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:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.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}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:#141318;--rail:#1b191f;--surface:#211f27;--raised:#2b2832;--border:#35323d;--popover:#25222c;--input-border:#403b49;--control-radius:9px;--accent:#c5b6f5;--primary:#d4c6ff;--primary-hover:#e3d9ff;--on-primary:#211735;--text:#f0edf4;--muted:#b6b0c0;--faint:#a099ac;--error:#ffb1ac;--danger-fill:#42262c;--user-bubble:#2b2636;--active:#342b43;--selection:#5a4a9b;--on-selection:#fff;--scrollbar:#494456;--header:62px;--screen-height:min(100dvh, var(--app-height,100dvh));--conversation-width:805px;--conversation-gutter:clamp(14px, 3.2vw, 28px);font-family:DM Sans Variable,sans-serif;font-size:16px}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#fdfcfa;--rail:#f4f1f3;--surface:#fff;--raised:#ece7ee;--border:#e5dfe7;--popover:#fff;--input-border:#dcd4df;--accent:#60418a;--primary:#503474;--primary-hover:#674892;--on-primary:#fff;--text:#24202a;--muted:#62596b;--faint:#706579;--error:#9a352d;--danger-fill:#ffebe8;--user-bubble:#efe8f4;--active:#e9e1f0;--selection:#e2d4fa;--on-selection:#241b32;--scrollbar:#c2b6ca}*{box-sizing:border-box}[hidden]{display:none!important}html,body{min-height:100%;margin:0}body{color:var(--text);background:var(--canvas)}body:has(.workspace:not([hidden])){overflow:hidden}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}button,input,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}::selection{background:var(--selection);color:var(--on-selection)}*{scrollbar-color:var(--scrollbar) transparent;scrollbar-width:thin}p{margin:0}h1,h2,h3{margin:0;font-family:Manrope Variable,sans-serif}.icon{flex:none;width:18px;height:18px;display:inline-flex}.icon svg{width:100%;height:100%}.icon-button,.text-button,.foot-button,.account-button,.model-button{background:0 0;border:0}.icon-button{width:40px;height:40px;color:var(--muted);border-radius:var(--control-radius);flex:none;place-items:center;display:inline-grid}.icon-button:hover,.foot-button:hover,.account-button:hover,.model-button:hover{background:var(--raised);color:var(--text)}.primary,.outline,.new-chat,.send{border-radius:var(--control-radius);justify-content:center;align-items:center;gap:8px;min-height:44px;font-weight:650;display:inline-flex}.primary{background:var(--primary);color:var(--on-primary);border:1px solid #0000;padding:0 18px}.primary:hover,.send:hover{background:var(--primary-hover)}.outline{color:var(--text);background:var(--surface);border:1px solid var(--border);padding:0 13px}.outline:hover{background:var(--raised)}.compact{min-height:38px;font-size:.875rem}.text-button{color:var(--accent);text-underline-offset:4px;padding:0;text-decoration:underline}input,textarea,select{color:var(--text);background:var(--canvas);border:1px solid var(--input-border);border-radius:var(--control-radius);width:100%;caret-color:var(--accent);padding:11px 12px}input:focus-visible,textarea:focus-visible{border-color:var(--accent);outline-offset:1px}input::placeholder,textarea::placeholder{color:var(--faint);opacity:1}textarea{resize:vertical;line-height:1.55}label{gap:7px;font-size:.9rem;font-weight:650;display:grid}.error{color:var(--error);font-size:.9rem}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.auth{grid-template-columns:minmax(390px,1fr) 1.12fr;gap:16px;min-height:100svh;padding:16px;display:grid}.auth-inner{grid-template-rows:auto 1fr;padding:clamp(20px,4vw,55px);display:grid}.wordmark{letter-spacing:-.035em;align-items:center;gap:10px;font-family:Manrope Variable,sans-serif;font-size:1.25rem;font-weight:800;display:flex}.wordmark img{width:32px;height:32px}.auth form{gap:15px;width:min(100%,370px);margin:auto;padding:36px 0;display:grid}.auth h1{letter-spacing:-.04em;font-size:clamp(2.15rem,4vw,3.1rem);line-height:1.1}.auth form>p:not(.error){color:var(--muted)}#auth-copy{margin:-5px 0 12px}.auth .primary{min-height:48px;margin-top:6px}.form-note{text-align:center;font-size:.9rem}.auth-art{isolation:isolate;color:#f0eef9;background:radial-gradient(at 60% 34%,#352f59,#201e32 50%,#1b1b29 83%);border-radius:18px;position:relative;overflow:hidden}.orbit{border:1px solid #bcb2ff64;border-radius:50%;width:76%;height:28%;position:absolute;top:26%;left:12%;transform:rotate(-36deg)}.orbit-b{transform:rotate(30deg)}.orbit-c{transform:rotate(89deg)}.orbit-node{background:#c5b6f5;border-radius:50%;width:15px;height:15px;position:absolute;top:38%;left:49%;box-shadow:0 5px 24px #bcb2ff85}.art-copy{letter-spacing:-.04em;font-family:Manrope Variable,sans-serif;font-size:clamp(1.8rem,4vw,4.2rem);font-weight:750;line-height:1.08;position:absolute;inset:auto 8% 8%}.art-copy span{color:#d0c9ed;font-weight:450}.workspace{height:var(--screen-height);display:flex;overflow:hidden}.sidebar{background:var(--rail);width:246px;min-height:0;padding:max(14px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));flex-direction:column;flex:0 0 246px;display:flex}.sidebar-collapsed .sidebar{display:none}.sidebar-header{justify-content:space-between;align-items:center;min-height:36px;margin:0 0 21px 7px;display:flex}.new-chat{border:1px solid var(--input-border);background:var(--surface);width:100%;color:var(--text);justify-content:flex-start;padding:0 12px}.new-chat:hover{background:var(--raised)}.chat-navigation{flex-direction:column;flex:1;min-height:0;margin-top:27px;display:flex}.chat-nav{min-height:0;padding:3px 2px;overflow-y:auto}.nav-heading{color:var(--muted);margin:0 9px 8px;font-size:.8rem;font-weight:700}.chat-filter{border:1px solid var(--border);color:var(--faint);border-radius:8px;align-items:center;gap:7px;margin:0 2px 6px;padding:0 8px;display:flex}.chat-filter:focus-within{border-color:var(--accent)}.chat-filter input{background:0 0;border:0;outline:none;min-height:36px;padding:8px 0;font-weight:500}.chat-filter .icon{width:15px;height:15px}.nav-empty{color:var(--faint);padding:8px;font-size:.85rem}#chat-list{align-content:start;gap:13px;display:grid}.nav-group{gap:2px;display:grid}.nav-group-title{color:var(--faint);padding:5px 8px 3px;font:680 .74rem DM Sans Variable,sans-serif}.nav-row{min-width:0;color:var(--muted);text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:9px;min-height:43px;padding:9px;font-size:.875rem;display:flex}.nav-row span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.nav-row[aria-current],.nav-row:hover{background:var(--raised);color:var(--text)}.nav-row[aria-current]{background:var(--active);color:var(--text)}.nav-row[aria-current] .icon{color:var(--accent)}.nav-row .icon,.foot-button .icon{width:16px;height:16px}.sidebar-footer{grid-template-columns:minmax(0,1fr);gap:4px;padding-top:12px;display:grid}.foot-button,.account-button{min-height:42px;color:var(--muted);text-align:left;border-radius:9px;align-items:center;gap:10px;padding:8px 10px;font-size:.875rem;display:flex}.account-button{border-top:1px solid var(--border);color:var(--text);border-radius:0 0 9px 9px;margin-top:6px;padding-top:12px}.avatar{width:30px;height:30px;color:var(--accent);background:var(--active);border-radius:50%;flex:none;place-items:center;font-size:.85rem;font-weight:750;display:grid}#account-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.account-button .icon{width:14px;color:var(--faint)}.dropdown-menu{background:var(--popover);width:max-content;min-width:min(200px,100vw - 16px);max-width:min(280px,100vw - 16px);max-height:calc(100dvh - 16px);color:var(--text);border:1px solid var(--border);border-radius:10px;margin:0;padding:4px;position:fixed;inset:auto;overflow-y:auto}.dropdown-menu:popover-open{display:grid}.dropdown-heading{gap:3px;min-width:0;padding:7px 8px;font-size:.84rem;display:grid}.dropdown-heading strong{font-weight:650}.dropdown-heading span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dropdown-divider{border-top:1px solid var(--border);margin:4px 0}.dropdown-item{text-align:start;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;min-height:36px;padding:6px 8px;font-size:.875rem;display:flex}.dropdown-item .icon{width:16px;height:16px;color:var(--muted)}.dropdown-item:hover,.dropdown-item:focus{background:var(--raised);outline:none}.dropdown-item.danger .icon{color:inherit}.dropdown-item.danger:hover,.dropdown-item.danger:focus{background:var(--danger-fill)}:is(.account-button,.model-button,.icon-button)[aria-expanded=true]{background:var(--raised);color:var(--text)}.main{flex-direction:column;flex:1;min-width:0;display:flex}.toolbar{min-height:calc(var(--header) + env(safe-area-inset-top));border-bottom:1px solid var(--border);padding:env(safe-area-inset-top) clamp(10px, 2.5vw, 24px) 0;flex:none;align-items:center;gap:8px;display:flex}.toolbar-title{flex:1;align-items:center;gap:4px;min-width:0;font-size:.96rem;font-weight:680;display:flex}.toolbar-title>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.toolbar-actions{flex:none;align-items:center;gap:3px;display:flex}#memory-toggle{background:0 0}#memory-toggle[aria-expanded=true]{color:var(--accent);background:var(--active)}#branch-toggle{background:0 0}#branch-toggle[aria-expanded=true],.branch-item[aria-current=true]{color:var(--accent);background:var(--active)}.branch-menu{width:min(275px,100vw - 16px)}.branch-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.quick-chat{display:none}.sidebar-collapsed .quick-chat{display:inline-grid}.mobile-only{display:none}.chat-body{flex-direction:column;flex:1;min-height:0;display:flex}.chat-scroll{flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.chat-body:has(.empty-state:not([hidden])){overflow-y:auto}.chat-body:has(.empty-state:not([hidden])) .chat-scroll{flex:none;margin-block-start:auto;overflow:visible}.chat-body:has(.empty-state:not([hidden])) .composer-area{margin-block-end:auto}.is-short .chat-body:has(.empty-state:not([hidden])) .chat-scroll{flex:1;margin-block-start:0;overflow-y:auto}.is-short .chat-body:has(.empty-state:not([hidden])) .composer-area{margin-block-end:0}.is-short .empty-state{gap:8px;padding-block:12px}.empty-state{padding:25px var(--conversation-gutter) 19px;text-align:center;justify-items:center;gap:13px;display:grid}.empty-mark{width:44px;height:44px;display:block}.empty-state h1{letter-spacing:-.038em;text-wrap:balance;font-size:clamp(1.6rem,3vw,2.38rem);line-height:1.16}.empty-state button{margin-top:3px}.messages{width:min(100%, var(--conversation-width));padding:31px var(--conversation-gutter) 23px;align-items:start;gap:31px;margin:0 auto;display:grid}.messages:empty{display:none}.exchange{gap:23px;min-width:0;display:grid}.user-turn{justify-self:end;justify-items:end;max-width:min(84%,580px);display:grid}.user-turn.is-editing{width:min(100%,580px);max-width:100%}.user-message{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--user-bubble);color:var(--text);border-radius:18px;padding:10px 15px;line-height:1.6}.message-edit{background:var(--surface);border:1px solid var(--input-border);border-radius:13px;gap:8px;width:100%;padding:12px;display:grid}.message-edit textarea{resize:vertical;max-height:calc(var(--screen-height) * .45)}:is(.exchange:has(.is-editing) .assistant-message,.exchange:has(.is-editing)~.exchange){display:none}.edit-hint{color:var(--muted);font-size:.85rem}.assistant-message{grid-template-columns:26px minmax(0,1fr);gap:11px;display:grid}.assistant-message img{width:25px;height:25px;margin-top:1px}.assistant-text{white-space:pre-wrap;overflow-wrap:anywhere;max-width:72ch;color:var(--text);line-height:1.7}.assistant-markdown{white-space:normal}.assistant-markdown>*{margin:0 0 12px}.assistant-markdown>:last-child{margin-bottom:0}.assistant-markdown h1,.assistant-markdown h2,.assistant-markdown h3{line-height:1.35}.assistant-markdown a{color:var(--accent);text-underline-offset:3px}.assistant-markdown pre{background:var(--rail);border:1px solid var(--border);border-radius:9px;padding:12px;overflow-x:auto}.assistant-markdown code{background:var(--rail);border-radius:4px;padding:2px 4px;font-size:.88em}.assistant-markdown pre code{padding:0}.assistant-markdown blockquote{color:var(--muted);border-inline-start:1px solid var(--accent);padding-inline-start:12px}.assistant-markdown table{border-collapse:collapse;display:block;overflow-x:auto}.assistant-markdown td,.assistant-markdown th{border:1px solid var(--border);padding:6px 9px}.reply-state{color:var(--muted);margin-top:8px;font-size:.875rem}.reply-action{border-radius:var(--control-radius);min-height:36px;color:var(--muted);background:0 0;border:0;align-items:center;gap:6px;margin:5px 0 0 -7px;padding:0 7px;font-size:.8rem;display:inline-flex}.reply-action:hover{background:var(--raised);color:var(--text)}.reply-action .icon{width:14px;height:14px}.reply-actions{flex-wrap:wrap;gap:8px;display:flex}.response-versions{align-items:center;gap:2px;margin-top:5px;margin-right:3px;display:inline-flex}.response-versions .version-step{width:32px;height:36px}.response-versions .version-step .icon{width:15px;height:15px}.version-count{text-align:center;min-width:40px;color:var(--muted);font-variant-numeric:tabular-nums;font-size:.78rem}.user-edit{margin:1px 0 -8px}.retry{margin-top:8px}.composer-area{width:min(100%, var(--conversation-width));padding:8px var(--conversation-gutter) max(12px, env(safe-area-inset-bottom));flex:none;margin:0 auto;position:relative}#composer{background:var(--surface);border:1px solid var(--input-border);border-radius:23px;padding:10px 12px 9px}#composer:focus-within{border-color:var(--accent)}#message{resize:none;min-height:34px;max-height:calc(var(--screen-height) * .3);background:0 0;border:none;outline:none;padding:4px 6px;display:block}.composer-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:5px;display:flex}.model-button{max-width:min(70%,320px);min-height:36px;color:var(--muted);border-radius:11px;align-items:center;gap:7px;padding:0 8px;font-size:.84rem;display:flex}.model-button .icon{width:15px;height:15px}#model-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.send{background:var(--primary);width:37px;min-height:37px;color:var(--on-primary);border:0;border-radius:50%;flex:none}.send:disabled{background:var(--raised);color:var(--faint);opacity:1}#jump-latest{z-index:1;border:1px solid var(--input-border);background:var(--surface);color:var(--text);border-radius:50%;position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%)}#jump-latest:hover{background:var(--raised)}.composer-caption{color:var(--faint);text-align:center;margin-top:9px;font-size:.75rem}.composer-caption kbd{font:inherit;color:var(--muted)}.composer-caption span{margin:0 3px}.notice{color:var(--text);padding:0 4px 7px;font-size:.9rem}.memory{border-left:1px solid var(--border);background:var(--rail);flex-direction:column;flex:0 0 322px;width:322px;min-height:0;display:flex}.memory-header{min-height:var(--header);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:0 13px 0 19px;display:flex}.memory-header h2{font-size:1rem}.memory-tabs{border-radius:var(--control-radius);background:var(--raised);grid-template-columns:1fr 1fr;gap:3px;margin:16px 19px 0;padding:3px;display:grid}.memory-tabs button{min-height:32px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:6px;padding:3px 8px;font-size:.875rem;font-weight:650}.memory-tabs button:hover{color:var(--text)}.memory-tabs button[aria-selected=true]{background:var(--rail);border-color:var(--border);color:var(--text)}.memory-content{min-height:0;padding:0 19px 18px;overflow-y:auto}.memory-content section{gap:8px;padding:19px 0;display:grid}.memory-content section+section{border-top:1px solid var(--border)}.memory-content h3,#pin-form label{align-items:center;gap:8px;font-size:.92rem;font-weight:750;display:flex}.memory-content .icon{width:16px;height:16px;color:var(--accent)}.memory-content p,#search-results{color:var(--muted);font-size:.86rem;line-height:1.55}.memory-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:42vh;padding-inline-end:4px;overflow-y:auto}#pin-form{justify-items:start;gap:8px;display:grid}#pin-form textarea{font-size:.9rem}.pin-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.search-form{align-items:center;gap:4px;display:flex}.search-form input{min-width:0}#search-results p{white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid var(--border);padding:10px 0}dialog{color:var(--text);background:var(--popover);border:1px solid var(--border);width:min(100% - 24px,470px);max-height:min(90dvh, calc(var(--screen-height) - 24px));border-radius:12px;padding:22px;overflow:auto}dialog::backdrop{background:#0a0a12b8}.dialog-header{justify-content:space-between;align-items:center;margin:-5px -5px 13px 0;display:flex}.dialog-header h2{letter-spacing:-.025em;font-size:1.28rem}#dialog-content form,.dialog-stack{gap:13px;display:grid}#dialog-content p,#dialog-content small{color:var(--muted);overflow-wrap:anywhere;font-size:.92rem;line-height:1.55}#dialog-content .error{color:var(--error)}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:3px;display:flex}.settings-stack{gap:20px;display:grid}.settings-links{flex-wrap:wrap;gap:8px;display:flex}.settings-field{gap:7px;display:grid}.settings-danger{border-top:1px solid var(--border);gap:12px;padding-top:15px;display:grid}.settings-danger h3{font-size:.9rem}.settings-danger button{justify-self:start}.provider-actions{justify-content:space-between}.check{align-items:center;gap:8px;display:flex}.check input{width:auto;accent-color:var(--accent)}.danger{color:var(--error)}.primary.destructive{color:var(--on-primary);background:var(--error)}:root[data-theme=dark] .primary.destructive{color:#271414}.primary.destructive:hover{filter:brightness(.9)}.scrim{z-index:5;background:#090911ab;border:0;position:fixed;inset:0}[data-context-surface]{-webkit-touch-callout:none}[data-context-surface] :is(a,input,textarea){-webkit-touch-callout:default}[data-context-surface].is-holding{background:var(--raised)}.context-menu .dropdown-item{min-height:38px}:root[data-motion=full]{--arrive:cubic-bezier(.16, 1, .3, 1)}:root[data-motion=full] :is(.icon-button,.outline,.primary,.new-chat,.nav-row,.reply-action,.send){transition:background-color .14s ease, border-color .14s ease, color .14s ease, scale .12s var(--arrive)}:root[data-motion=full] :is(.icon-button,.outline,.primary,.new-chat,.reply-action,.send):active:not(:disabled){scale:.94}:root[data-motion=full] .dropdown-menu:popover-open{animation:surface-arrive .23s var(--arrive) both}:root[data-motion=full] dialog[open]{animation:surface-arrive .31s var(--arrive) both}:root[data-motion=full] .exchange-enter .user-message{animation:message-arrive .3s var(--arrive) both}:root[data-motion=full] .reply-enter .assistant-message{animation:reply-arrive .39s var(--arrive) both}:root[data-motion=full] .scrim:not([hidden]),:root[data-motion=full] dialog::backdrop{animation:.19s ease-out both overlay-arrive}@media (width<=960px){:root[data-motion=full] .memory:not([hidden]){animation:panel-arrive .31s var(--arrive) both}}:root[data-motion=full] .sidebar.is-open{animation:drawer-arrive .3s var(--arrive) both}@keyframes surface-arrive{0%{opacity:0;transform:translateY(9px)scale(.96)}}@keyframes message-arrive{0%{opacity:.25;transform:translate(12px,8px)}}@keyframes reply-arrive{0%{opacity:.45;transform:translateY(10px)}}@keyframes overlay-arrive{0%{opacity:0}}@keyframes panel-arrive{0%{opacity:.5;transform:translate(35px)}}@keyframes drawer-arrive{0%{opacity:.5;transform:translate(-35px)}}@media (width<=960px){.memory{z-index:7;height:var(--screen-height);width:min(100%,360px);position:fixed;inset:0 0 auto auto}.memory-header{padding-top:env(safe-area-inset-top)}}@media (width<=800px),(pointer:coarse) and (width<=1000px){.auth{padding:0;display:block}.auth-inner{min-height:100svh;padding:max(22px, env(safe-area-inset-top)) 22px max(22px, env(safe-area-inset-bottom))}.auth-art{display:none}.sidebar{height:var(--screen-height);z-index:7;width:min(88vw,310px);display:none;position:fixed;inset:0 auto auto 0}.sidebar.is-open,.sidebar-collapsed .sidebar.is-open{display:flex}.mobile-only{display:grid}.toolbar{min-height:calc(54px + env(safe-area-inset-top));gap:3px}.toolbar-title{flex:1}.toolbar .compact{min-height:44px}.toolbar :is(.memory-label,.branch-label){display:none}.quick-chat{display:inline-grid}.messages{padding:24px 14px 14px}.composer-caption{display:none}.empty-mark{width:40px;height:40px}.chat-filter input,#pin-form textarea,dialog input,dialog textarea,dialog select{font-size:1rem}.chat-filter input,.model-button,.memory .compact,.dropdown-item,.context-menu .dropdown-item,.memory-tabs button,.reply-action{min-height:44px}.response-versions .version-step{width:44px;min-height:44px}.message-edit textarea{font-size:1rem}.provider-actions{grid-template-columns:minmax(0,1fr);display:grid}.icon-button,.send{width:44px;min-height:44px}}@media (width<=480px){.assistant-message{grid-template-columns:minmax(0,1fr);gap:6px}.assistant-message img{width:22px;height:22px}.reply-actions:has(.response-versions){grid-template-columns:repeat(3,max-content);column-gap:8px;display:grid}.reply-actions .response-versions{grid-column:1/-1;justify-self:start;margin:4px 0 0}.reply-actions:has(.response-versions) .reply-action{margin-top:0}}
