:root{color:#000;background:#fff;font-family:Inter,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body,#lite-root{width:100%;min-height:100dvh;height:100dvh;margin:0}body{overflow:hidden;background:#fff}button,textarea,input,select{font:inherit}button{cursor:pointer}button,a,input,textarea,select,[role=button],.message-bubble{-webkit-tap-highlight-color:transparent}.chat-wallpaper{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;overflow:hidden;background:#202020;pointer-events:none}.chat-wallpaper img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}.lite-shell{z-index:1;width:min(100%,780px);height:var(--lite-viewport-height, 100dvh);margin:0 auto;position:relative;overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;background:#f8f8f8e6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 0 60px #2424241f}.lite-header{padding:calc(env(safe-area-inset-top,0px) + 14px) 18px 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(68,68,68,.08)}.lite-identity{display:flex;align-items:center;gap:12px}.lite-avatar{width:44px;height:44px;display:grid;place-items:center;color:#f4f4f4;background:#444;border-radius:15px;font:700 20px/1 Georgia,serif;box-shadow:0 8px 20px #44444438;overflow:hidden}.lite-avatar img,.avatar-preview img{width:100%;height:100%;display:block;object-fit:cover}.lite-identity h1{margin:0 0 3px;font:700 18px/1.2 Georgia,"Noto Serif SC",serif}.lite-identity p{margin:0;color:#787878;font-size:12px}.header-actions{display:flex;gap:8px}.status-dot{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#c58a44}.status-dot.online{background:#4c9b73;box-shadow:0 0 0 3px #4c9b7321}.icon-button{width:42px;height:42px;display:grid;place-items:center;color:#4e4e4e;border:0;border-radius:14px;background:#47474714}.context-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px;color:#717171;background:#ecececad;font-size:12px}.context-strip>span:first-child{display:flex;align-items:center;gap:6px}.strip-button{min-width:0;display:flex;align-items:center;gap:6px;padding:0;overflow:hidden;color:#717171;border:0;background:transparent;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.strip-button:disabled{cursor:default;opacity:.62}.api-chip{max-width:46%;padding:5px 24px 5px 9px;overflow:hidden;color:#5e5e5e;border:1px solid rgba(117,117,117,.14);border-radius:10px;outline:0;background:#ecececb8;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.message-stage{width:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;padding:24px 18px 18px;scroll-padding-bottom:32px;display:block;background-position:center;background-size:cover}.message-stage.is-empty{display:grid;place-items:center}.message-stage.has-chat-background{background-color:#eaeaea}.message-list{width:100%;min-height:100%;flex:0 0 auto;display:flex;flex-direction:column;justify-content:flex-end;gap:10px}.handoff-label{align-self:center;display:flex;align-items:center;gap:6px;margin:4px 0 12px;padding:7px 11px;color:#7a7a7a;border:1px solid rgba(82,82,82,.1);border-radius:999px;background:#f1f1f1cc;font-size:11px}.message-row{max-width:min(88%,590px);display:flex;align-items:flex-end;gap:6px}.message-row.assistant{align-self:flex-start}.message-row.user{align-self:flex-end;flex-direction:row-reverse}.message-bubble{max-width:100%;padding:11px 14px 8px;border-radius:19px;box-shadow:0 7px 22px #3939390f;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.message-bubble:focus-visible{outline:2px solid #808080;outline-offset:2px}.message-bubble p{margin:0;font-size:var(--lite-message-font-size, 14px);line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.message-time{flex:0 0 auto;margin-bottom:2px;color:#848484;font-size:9px;line-height:1;white-space:nowrap}.message-bubble.assistant{align-self:flex-start;color:#3f3f3f;border:1px solid rgba(72,72,72,.09);border-bottom-left-radius:7px;background:#fff}.message-bubble.user{align-self:flex-end;color:#f9f9f9;border-bottom-right-radius:7px;background:#515151}.typing-bubble{align-self:flex-start;display:flex;gap:4px;padding:13px 16px;border-radius:18px 18px 18px 7px;background:#fff}.typing-bubble i{width:6px;height:6px;border-radius:50%;background:#9b9b9b;animation:typing 1.2s infinite ease-in-out}.typing-bubble i:nth-child(2){animation-delay:.15s}.typing-bubble i:nth-child(3){animation-delay:.3s}@keyframes typing{0%,70%,to{opacity:.3;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}.empty-card{width:min(100%,430px);margin:auto;padding:30px 26px;text-align:center;border:1px solid rgba(79,79,79,.12);border-radius:28px;background:#ffffffb8;box-shadow:0 18px 50px #3b3b3b14}.empty-icon{width:52px;height:52px;margin:0 auto 16px;display:grid;place-items:center;color:#7f7f7f;border-radius:18px;background:#ebebeb}.empty-card h2{margin:0 0 10px;font:700 24px/1.2 Georgia,"Noto Serif SC",serif}.empty-card p{margin:0;color:#737373;font-size:14px;line-height:1.75}.empty-card button{margin-top:22px;padding:11px 18px;color:#fff;border:0;border-radius:14px;background:#515151;font-weight:700}.composer{position:relative;z-index:5;flex:0 0 auto;padding:12px 14px calc(env(safe-area-inset-bottom,0px) + 14px);display:flex;align-items:flex-end;gap:10px;border-top:1px solid rgba(68,68,68,.1);background:#f9f9f9eb}.composer textarea{min-height:48px;max-height:144px;flex:1;resize:none;padding:13px 16px;color:#353535;border:1px solid rgba(71,71,71,.14);border-radius:17px;outline:none;background:#fff;font-size:var(--lite-message-font-size, 14px);line-height:1.45}.composer textarea:focus{border-color:#707070;box-shadow:0 0 0 3px #6c6c6c1f}.generate-button,.sticker-button,.menu-button{width:48px;height:48px;display:grid;place-items:center;color:#fff;border:0;border-radius:17px;background:#515151}.generate-button{color:#f9f9f9;background:#343434}.sticker-button,.menu-button{flex:0 0 auto;color:#616161;border:0;background:transparent}.sticker-button:disabled,.generate-button:disabled,.menu-button:disabled{cursor:default;opacity:.35}.message-bubble.sticker-message{max-width:120px;max-height:120px;padding:0;overflow:hidden;background:transparent!important;border:0!important;box-shadow:none!important}.message-bubble.sticker-message img{width:auto;height:auto;max-width:120px;max-height:120px;display:block;object-fit:contain;border-radius:14px}.notice{position:fixed;z-index:80;top:calc(env(safe-area-inset-top,0px) + 12px);left:50%;width:min(calc(100% - 28px),520px);margin:0;padding:10px 12px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;border-radius:13px;box-shadow:0 10px 35px #1414142e;font-size:12px;line-height:1.5;transform:translate(-50%);animation:toast-in .2s ease-out both;pointer-events:none}.notice.success{color:#535353;background:#ececec}.notice.error{color:#8a3f35;background:#fae5e1}.notice.info{color:#565656;background:#ececec}.composer-tray{position:absolute;z-index:6;right:10px;bottom:calc(env(safe-area-inset-bottom,0px) + 80px);left:10px;max-height:min(42vh,330px);padding:12px;overflow:hidden;border:1px solid rgba(66,66,66,.14);border-radius:20px;background:#f4f4f4fa;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);animation:tray-in .2s cubic-bezier(.2,.8,.2,1) both}.function-tray{right:auto;width:max-content;padding:7px;display:flex;align-items:center;gap:6px;border:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.theme-light.lite-shell{color:#000;background:radial-gradient(circle at 8% 6%,rgba(255,255,255,.94),transparent 34%),radial-gradient(circle at 92% 88%,rgba(202,202,202,.38),transparent 38%),linear-gradient(150deg,#f4f4f4,#e9e9e9)}.lite-shell.has-chat-background,.theme-light.lite-shell.has-chat-background,.theme-dark.lite-shell.has-chat-background{background:transparent}.function-tray>button{width:44px;height:42px;padding:0;display:grid;place-items:center;color:#424242;border:1px solid #d8d8d8;border-radius:12px;background:#fdfdfd}.function-tray>button:disabled{cursor:default;opacity:.35}.composer-tray-title{margin-bottom:9px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#727272;font-size:11px}.composer-tray-title button{width:30px;height:30px;display:grid;place-items:center;color:inherit;border:0;border-radius:10px;background:#39393912}.sticker-tray{max-height:min(38vh,224px);padding:10px;display:flex;flex-direction:column}.sticker-tray .sticker-grid{min-height:0}.sticker-grid button{touch-action:manipulation;user-select:none;-webkit-user-select:none}.add-sticker-tile{place-content:center;color:#626262!important}.sticker-editor-dialog{width:min(100%,520px);max-height:min(82dvh,680px);padding:18px;overflow-y:auto;color:#2f2f2f;border-radius:22px;background:#f4f4f4;box-shadow:0 24px 70px #16161647;animation:modal-in .22s cubic-bezier(.2,.8,.2,1) both}.sticker-editor-dialog label{display:block;margin-top:13px;color:#6b6b6b;font-size:12px;font-weight:700}.sticker-editor-dialog input,.sticker-editor-dialog textarea{width:100%;margin-top:6px;padding:12px;color:#333;border:1px solid #d8d8d8;border-radius:12px;outline:0;background:#fdfdfd;line-height:1.5}.sticker-editor-dialog textarea{resize:vertical}.message-editor-dialog textarea{min-height:132px}.simple-editor-dialog>textarea{margin-top:18px}.editor-fields{margin-top:18px;display:grid;gap:10px}.editor-fields input{margin-top:0}.sticker-editor-dialog input:focus,.sticker-editor-dialog textarea:focus{border-color:gray;box-shadow:0 0 0 3px #4a4a4a17}.sticker-editor-dialog>.primary-button{width:100%;margin-top:14px}.sticker-editor-footer{margin-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sticker-editor-footer .primary-button{min-width:0;width:100%;padding:0 10px}.memory-api-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.copy-api-pill{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;color:#515151;border:1px solid #d5d5d5;border-radius:999px;background:#f7f7f7;font-size:10px;font-weight:750;white-space:nowrap}.theme-dark .copy-api-pill{color:#d0d0d0;border-color:#464646;background:#323232}.background-setting{margin-top:16px;display:flex;align-items:center;gap:12px}.background-setting>div:last-child{display:flex;align-items:flex-start;flex-direction:column}.background-preview{width:72px;height:72px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;color:#868686;border:1px solid #d9d9d9;border-radius:16px;background:#eaeaea}.background-preview img{width:100%;height:100%;display:block;object-fit:contain}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;align-items:flex-end;justify-content:center;padding-top:40px;background:#1c1c1c61;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.settings-sheet{width:min(100%,780px);max-height:88dvh;overflow-y:auto;padding:9px 20px calc(env(safe-area-inset-bottom,0px) + 24px);border-radius:28px 28px 0 0;background:#f7f7f7;box-shadow:0 -18px 55px #2626262e}.sheet-handle{width:42px;height:5px;margin:0 auto 18px;border-radius:99px;background:#d4d4d4}.sheet-title-row{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px}.eyebrow{color:#747474;font-size:10px;font-weight:800;letter-spacing:.16em}.sheet-title-row h2{margin:4px 0 0;font:700 25px/1.2 Georgia,"Noto Serif SC",serif}.text-button{padding:8px 2px;color:#515151;border:0;background:transparent;font-weight:800}.settings-tabs{position:sticky;top:-9px;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:7px;overflow-x:auto;border:1px solid #e2e2e2;border-radius:15px;background:#f7f7f7f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.settings-tabs button{min-height:36px;padding:7px 10px;color:#747474;border:0;border-radius:10px;background:transparent;font-size:12px;font-weight:750;white-space:nowrap}.settings-tabs button.active{color:#f9f9f9;background:#515151;box-shadow:0 5px 14px #5151512e}.settings-section-panel{animation:panel-in .2s ease-out both}.setting-card{margin-top:12px;padding:18px;border:1px solid #e2e2e2;border-radius:20px;background:#fff}.setting-card strong{font-size:15px}.setting-card p{margin:5px 0 0;color:#7d7d7d;font-size:12px;line-height:1.55}.setting-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}.small-actions{display:flex;gap:6px}.round-action{width:34px;height:34px;display:grid;place-items:center;color:#515151;border:1px solid #e2e2e2;border-radius:11px;background:#f7f7f7}.round-action.danger{color:#9b4f45}.template-button{flex:0 0 auto;padding:7px 10px;color:#515151;border:1px solid #d5d5d5;border-radius:10px;background:#f7f7f7;font-size:11px;font-weight:750}.setting-card label{display:block;margin-top:11px;color:#767676;font-size:11px;font-weight:700}.setting-card input,.setting-card select,.setting-card textarea{width:100%;margin-top:6px;padding:11px 12px;color:#353535;border:1px solid #e1e1e1;border-radius:12px;outline:0;background:#f9f9f9;font-size:13px;line-height:1.45}.setting-card textarea{resize:vertical;min-height:92px}.setting-card input:focus,.setting-card select:focus,.setting-card textarea:focus{border-color:#797979;box-shadow:0 0 0 3px #6c6c6c1a}.field-hint{margin:0;color:#7c7c7c;font-size:.72rem;line-height:1.55;overflow-wrap:anywhere}.field-hint code{padding:1px 4px;border-radius:4px;background:#f1f1f1;font-size:.68rem}.toggle-line{display:flex!important;flex-direction:row!important;align-items:center;gap:.65rem!important;padding:.72rem .8rem;border-radius:14px;background:#f5f5f5;color:#3f3f3f!important}.toggle-line input{width:18px!important;height:18px;margin:0;accent-color:#646464;box-shadow:none!important}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.button-row{display:grid;grid-template-columns:1fr 1.2fr;gap:9px;margin-top:15px}.primary-button,.secondary-button{min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:13px;font-size:12px;font-weight:800}.primary-button{color:#fff;border:1px solid #515151;background:#515151}.secondary-button{color:#515151;border:1px solid #d6d6d6;background:#f8f8f8}.primary-button:disabled,.secondary-button:disabled{cursor:default;opacity:.5}.sql-toggle,.danger-link{padding:10px 0 0;color:#6e7f76;border:0;background:transparent;font-size:11px;text-decoration:underline;text-underline-offset:3px}.danger-link{color:#9a5147}.sql-box{margin-top:10px;overflow:hidden;border:1px solid #e3e3e3;border-radius:13px;background:#1f1f1f}.sql-box>div{padding:9px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#d1d1d1;background:#2d2d2d;font-size:10px}.sql-box button{display:flex;align-items:center;gap:4px;color:#d8d8d8;border:0;background:transparent;font-size:10px}.sql-box pre{max-height:240px;margin:0;padding:12px;overflow:auto;color:#e2e2e2;font:10px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre;-webkit-user-select:text;user-select:text}.compact-card{margin-bottom:8px}.prompt-preview{margin-top:12px;color:#6a6a6a;font-size:12px}.prompt-preview summary{cursor:pointer;color:#515151;font-weight:750}.prompt-preview div{margin-top:12px;padding:12px;border-radius:12px;background:#f7f7f7}.prompt-preview ul{margin:6px 0 0;padding-left:18px;line-height:1.6}.prompt-preview li+li{margin-top:4px}.memory-import-row{margin-top:12px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#3f3f3f;border:1px dashed #cacaca;border-radius:16px;background:#f2f2f2}.memory-import-row strong{font-size:13px}.memory-import-row p{margin:4px 0 0;color:#7d7d7d;font-size:11px;line-height:1.5}.memory-import-row .secondary-button{flex:0 0 auto;padding:0 13px}.credential-state{margin-top:5px!important;color:#848484!important;font-size:10px!important}.credential-state.ready{color:#515151!important}.model-actions{margin-top:9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.optional-label{margin-left:8px;font-size:10px;font-weight:400;opacity:.6}.api-preset-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0;color:inherit;border:0;background:transparent;text-align:left;font-size:13px;font-weight:750}.api-preset-trigger>span:last-child{color:#7d7d7d;font-size:11px;font-weight:500;white-space:nowrap}.api-preset-list{max-height:240px;margin-top:12px;overflow-y:auto;display:flex;flex-direction:column;gap:6px}.api-preset-row{display:flex;align-items:stretch;gap:7px}.api-preset-choice{min-width:0;min-height:42px;flex:1;padding:8px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#515151;border:1px solid #e2e2e2;border-radius:11px;background:#f7f7f7;text-align:left}.api-preset-choice strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.api-preset-choice small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7d7d7d;font-size:10px}.api-preset-choice.selected{border-color:#909090;background:#ededed}.api-preset-empty{padding:10px 0}.theme-dark .api-preset-choice{color:#dadada;border-color:#464646;background:#323232}.theme-dark .api-preset-choice.selected{border-color:#a3a3a3;background:#3f3f3f}.save-current-api-pill{flex:0 0 auto;align-self:flex-start}.api-preset-dialog form{margin-top:14px}.api-preset-dialog form>label{margin-top:0}.api-preset-dialog form>input{width:100%;margin-top:6px}.api-preset-error{margin:8px 0 0;color:#a43c32;font-size:12px}.api-preset-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.api-preset-dialog-actions button{width:100%}.memory-tool-actions{margin-top:14px;display:grid;grid-template-columns:1fr 1.2fr;gap:8px}.archive-context-button{width:100%;margin-top:10px;padding:0 13px}.vector-stats{margin-top:10px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px;border:1px solid #d9d9d9;border-radius:14px;background:#efefef}.vector-stats div{min-width:0}.vector-stats span{display:block;color:#7d7d7d;font-size:10px}.vector-stats strong{display:block;margin-top:3px;color:#393939;font-size:15px}.vector-stats small{grid-column:1 / -1;overflow-wrap:anywhere;color:#848484;font-size:9px}.synced-memory-overview{margin-bottom:10px}.synced-memory-totals{display:grid;grid-template-columns:1fr 1fr;gap:8px}.synced-memory-totals div{min-width:0;padding:11px 12px;border:1px solid #d9d9d9;border-radius:13px;background:#efefef}.synced-memory-totals span{display:block;color:#7d7d7d;font-size:10px}.synced-memory-totals strong{display:block;margin-top:4px;overflow:hidden;color:#393939;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.synced-memory-room-summary{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px}.synced-memory-char-id code{-webkit-user-select:text;user-select:text}.synced-memory-room-summary span,.synced-memory-tags span{padding:4px 7px;color:#626262;border-radius:8px;background:#eaeaea;font-size:10px}.compatibility-note{margin-top:12px;padding:12px;color:#5b5b5b;border:1px dashed #c6c6c6;border-radius:14px;background:#f0f0f0;font-size:11px;line-height:1.6}.compatibility-note strong{color:#3a3a3a;font-size:12px}.compatibility-note ol{margin:7px 0 0;padding-left:20px}.compatibility-note li+li{margin-top:3px}.synced-memory-list{display:flex;flex-direction:column;gap:9px}.synced-memory-empty{min-height:120px;padding:24px;display:flex;align-items:center;justify-content:center;gap:8px;color:#777;border:1px dashed #cdcdcd;border-radius:18px;background:#fdfdfd85;font-size:12px;text-align:center}.synced-memory-card{padding:14px;border:1px solid #d8d8d8;border-radius:17px;background:#fdfdfd}.synced-memory-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.synced-memory-card-head>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#747474;font-size:10px}.synced-memory-card-head b{font-weight:750}.synced-memory-card-head i{padding:2px 5px;border-radius:6px;background:#e7e7e7;font-style:normal}.synced-memory-card p{margin:9px 0 0;color:#363636;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.synced-memory-card>small{margin-top:9px;display:block;color:#8b8b8b;font-size:9px;overflow-wrap:anywhere}.synced-memory-tags{margin-top:8px;display:flex;flex-wrap:wrap;gap:5px}.synced-memory-footnote{margin:12px 4px 0;color:#777;font-size:10px;line-height:1.55}.synced-memory-editor{width:min(100%,560px)}.synced-memory-editor select{width:100%;margin-top:6px;padding:12px;color:#333;border:1px solid #d8d8d8;border-radius:12px;outline:0;background:#fdfdfd;line-height:1.5}.synced-memory-editor select:focus{border-color:gray;box-shadow:0 0 0 3px #4a4a4a17}.identity-panel h3{margin:0 0 14px;font:700 19px/1.2 Georgia,"Noto Serif SC",serif}.avatar-setting-row{display:flex;align-items:center;gap:13px;margin-bottom:13px}.avatar-preview{width:58px;height:58px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;color:#f8f8f8;border-radius:18px;background:#303030;font:700 22px/1 Georgia,serif}.avatar-actions{display:flex;align-items:flex-start;flex-direction:column;gap:4px}.avatar-upload-button{min-height:38px;margin:0!important;padding:0 12px;display:inline-flex!important;align-items:center;gap:7px;color:#434343!important;border:1px solid #d4d4d4;border-radius:11px;background:#f2f2f2;font-size:12px!important;cursor:pointer}.avatar-upload-button input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.avatar-actions .danger-link{padding-top:5px}.appearance-card>label{font-size:12px}.theme-choice{margin-top:7px;padding:4px;display:grid;grid-template-columns:1fr 1fr;gap:4px;border:1px solid #d9d9d9;border-radius:13px;background:#eaeaea}.theme-choice button{min-height:38px;color:#727272;border:0;border-radius:9px;background:transparent;font-weight:750}.theme-choice button.active{color:#f9f9f9;background:#393939}.range-value{float:right;color:#424242;font-variant-numeric:tabular-nums}.appearance-card input[type=range]{padding:0;accent-color:#515151}.font-preview{margin-top:14px;padding:14px;color:#343434;border:1px solid #d9d9d9;border-radius:14px;background:#fdfdfd;line-height:1.65}.model-picker-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;padding:18px;display:grid;place-items:center;background:#1515157a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.model-picker{width:min(100%,560px);max-height:min(78dvh,680px);padding:18px;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px;color:#2f2f2f;border-radius:22px;background:#f4f4f4;box-shadow:0 24px 70px #16161647}.model-picker-backdrop,.sheet-backdrop{animation:backdrop-in .18s ease-out both}.model-picker,.memory-preview{animation:modal-in .22s cubic-bezier(.2,.8,.2,1) both}.settings-sheet{animation:sheet-in .24s cubic-bezier(.2,.8,.2,1) both}.model-picker-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.model-picker-header span{color:#7c7c7c;font-size:10px}.model-picker-header h2{margin:3px 0 0;font:700 21px/1.2 Georgia,"Noto Serif SC",serif}.model-search{width:100%;min-height:43px;padding:10px 13px;color:#323232;border:1px solid #d3d3d3;border-radius:12px;outline:0;background:#fdfdfd}.model-search:focus{border-color:#787878;box-shadow:0 0 0 3px #4949491a}.model-list{min-height:120px;overflow-y:auto;display:flex;flex-direction:column;gap:5px}.model-list button{min-height:43px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;overflow-wrap:anywhere;color:#484848;text-align:left;border:1px solid transparent;border-radius:11px;background:transparent}.model-list button:hover,.model-list button.selected{border-color:#d2d2d2;background:#e8e8e8}.model-list button.selected{color:#282828;font-weight:750}.model-empty{padding:34px 12px;color:#7c7c7c;text-align:center;font-size:13px}.memory-preview{width:min(100%,560px);max-height:min(78dvh,680px);padding:18px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;overflow:hidden;color:#2f2f2f;border-radius:22px;background:#f4f4f4;box-shadow:0 24px 70px #16161647}.sticker-grid{max-height:168px;overflow-y:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:80px;gap:8px}.sticker-grid button{min-width:0;min-height:0;padding:5px;display:grid;grid-template-rows:minmax(0,1fr) auto;place-items:center;gap:3px;color:inherit;border:1px solid #d8d8d8;border-radius:12px;background:#fdfdfd}.sticker-grid img{width:52px;height:52px;max-width:100%;display:block;object-fit:contain;border-radius:9px}.sticker-grid span{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.memory-preview-hint{margin:0;color:#727272;font-size:12px;line-height:1.55}.memory-preview-list{min-height:120px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.memory-preview-list article{padding:12px;border:1px solid #d8d8d8;border-radius:14px;background:#fdfdfd}.memory-preview-list article>div{display:flex;justify-content:space-between;gap:8px;color:#727272;font-size:10px}.memory-preview-list article p{margin:8px 0 0;color:#323232;font-size:13px;line-height:1.65;white-space:pre-wrap}.memory-preview-list article small{margin-top:7px;display:block;color:#848484;font-size:10px}.preview-actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:8px}@keyframes backdrop-in{0%{opacity:0}}@keyframes panel-in{0%{opacity:0;transform:translateY(7px)}}@keyframes modal-in{0%{opacity:0;transform:translateY(10px) scale(.985)}}@keyframes sheet-in{0%{transform:translateY(24px);opacity:.75}}@keyframes tray-in{0%{opacity:0;transform:translateY(10px) scale(.985)}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-8px)}}.lite-crash-screen{width:100%;min-height:100dvh;padding:24px;display:grid;place-items:center;color:#000;background:#fff}.lite-crash-screen section{width:min(100%,420px);padding:28px;border:1px solid #d4d4d4;border-radius:24px;background:#fff;text-align:center}.lite-crash-screen h1{margin:0 0 10px;font:700 24px/1.2 Georgia,"Noto Serif SC",serif}.lite-crash-screen p{margin:0;color:#666;line-height:1.7}.lite-crash-screen code{margin-top:14px;padding:10px;display:block;overflow-wrap:anywhere;color:#333;border-radius:10px;background:#eee;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;-webkit-user-select:text;user-select:text}.lite-crash-screen button{margin-top:18px;padding:11px 18px;color:#fff;border:0;border-radius:12px;background:#000;font-weight:750}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}html[data-lite-theme=light] body{color:#3a3a3a;background:#eaeaea}.theme-light .message-time{color:#707070}.theme-light .identity-panel,.theme-light .font-preview,.theme-light .model-picker{border-color:#d4d4d4}.theme-light.lite-shell{color:#000;background:#fff;box-shadow:0 0 60px #0000001a}.theme-light .lite-header{border-color:#e5e5e5}.theme-light .lite-avatar{color:#fff;background:#000;box-shadow:0 8px 20px #0000002e}.theme-light .lite-identity p,.theme-light .context-strip,.theme-light .strip-button{color:#666}.theme-light .status-dot{background:#aaa}.theme-light .status-dot.online{background:#111;box-shadow:0 0 0 3px #0000001a}.theme-light .icon-button{color:#111;background:#f2f2f2}.theme-light .context-strip{background:#f5f5f5}.theme-light .api-chip{color:#222;border-color:#d9d9d9;background:#fff}.theme-light .handoff-label{color:#666;border-color:#ddd;background:#f7f7f7}.theme-light .message-bubble{box-shadow:0 7px 22px #0000000f}.theme-light .message-bubble.assistant,.theme-light .typing-bubble{color:#000;border-color:#dedede;background:#fff}.theme-light .message-bubble.user{color:#fff;background:#000}.theme-light .typing-bubble i{background:#777}.theme-light .empty-card{border-color:#dedede;background:#fff;box-shadow:0 18px 50px #00000014}.theme-light .empty-icon{color:#000;background:#ededed}.theme-light .empty-card p{color:#666}.theme-light .empty-card button,.theme-light .primary-button,.theme-light .generate-button{color:#fff;border-color:#000;background:#000}.theme-light .sticker-button,.theme-light .menu-button{color:#333}.theme-light .composer{border-color:#e5e5e5;background:#fff}.theme-light .composer textarea{color:#000;border-color:#d4d4d4;background:#fff}.theme-light .composer textarea:focus{border-color:#000;box-shadow:0 0 0 3px #00000014}.theme-light .sheet-backdrop{background:#0006}.theme-light .settings-sheet{color:#000;background:#fff;box-shadow:0 -18px 55px #0003}.theme-light .sheet-handle{background:#bbb}.theme-light .eyebrow{color:#666}.theme-light .text-button,.theme-light .round-action,.theme-light .template-button,.theme-light .prompt-preview summary{color:#111}.theme-light .settings-tabs{border-color:#dedede;background:#fff}.theme-light .settings-tabs button{color:#666}.theme-light .settings-tabs button.active{color:#fff;background:#000;box-shadow:0 5px 14px #00000029}.theme-light .setting-card{border-color:#dedede;background:#fff}.theme-light .setting-card p,.theme-light .field-hint,.theme-light .memory-import-row p{color:#666}.theme-light .setting-card label{color:#444}.theme-light .setting-card input,.theme-light .setting-card select,.theme-light .setting-card textarea{color:#000;border-color:#d4d4d4;background:#f7f7f7}.theme-light .setting-card input:focus,.theme-light .setting-card select:focus,.theme-light .setting-card textarea:focus{border-color:#000;box-shadow:0 0 0 3px #00000014}.theme-light .round-action,.theme-light .template-button{border-color:#d4d4d4;background:#f5f5f5}.theme-light .toggle-line,.theme-light .prompt-preview div{color:#111!important;background:#f2f2f2}.theme-light .toggle-line input{accent-color:#000000}.theme-light .field-hint code{background:#ededed}.theme-light .memory-import-row{color:#111;border-color:#ccc;background:#f2f2f2}.theme-light .secondary-button{color:#111;border-color:#ccc;background:#f7f7f7}.theme-light .sql-toggle{color:#666}.theme-light .sql-box{border-color:#000;background:#111}.theme-light .sql-box>div{color:#ddd;background:#222}.theme-light .sql-box button,.theme-light .sql-box pre{color:#fff}.theme-light .notice.success,.theme-light .notice.info,.theme-light .notice.error{color:#fff;background:#111}.theme-light .synced-memory-totals div,.theme-light .compatibility-note{border-color:#d4d4d4;background:#f5f5f5}.theme-light .synced-memory-card,.theme-light .synced-memory-empty{border-color:#d4d4d4;background:#fff}.theme-light .synced-memory-totals span,.theme-light .synced-memory-card-head>div:first-child,.theme-light .synced-memory-card>small,.theme-light .synced-memory-footnote{color:#666}.theme-light .synced-memory-totals strong,.theme-light .compatibility-note strong,.theme-light .synced-memory-card p{color:#000}.theme-light .synced-memory-room-summary span,.theme-light .synced-memory-tags span,.theme-light .synced-memory-card-head i{color:#333;background:#eee}.theme-light .synced-memory-editor select{color:#000;border-color:#d4d4d4;background:#fff}.theme-light .theme-choice{border-color:#d4d4d4;background:#f2f2f2}.theme-light .theme-choice button{color:#666}.theme-light .theme-choice button.active{color:#fff;background:#000}.theme-light .appearance-card input[type=range]{accent-color:#000000}.theme-light .avatar-preview{color:#fff;background:#000}.theme-light .avatar-upload-button{color:#111!important;border-color:#d4d4d4;background:#f5f5f5}.theme-light .range-value{color:#111}.theme-light .credential-state,.theme-light .credential-state.ready{color:#666!important}.theme-light .round-action.danger,.theme-light .danger-link{color:#333}.theme-light .font-preview,.theme-light .vector-stats{color:#111;border-color:#d4d4d4;background:#f5f5f5}.theme-light .vector-stats span,.theme-light .vector-stats small{color:#666}.theme-light .vector-stats strong{color:#000}.theme-light .composer-tray,.theme-light .sticker-editor-dialog,.theme-light .model-picker,.theme-light .memory-preview{color:#000;border-color:#d4d4d4;background:#fff}.theme-light .function-tray{border:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.theme-light .function-tray>button{color:#000;border-color:#d4d4d4;background:#fff}.theme-light .composer-tray-title,.theme-light .model-picker-header span,.theme-light .model-empty,.theme-light .memory-preview-hint,.theme-light .memory-preview-list article>div,.theme-light .memory-preview-list article small{color:#666}.theme-light .sticker-editor-dialog label{color:#444}.theme-light .sticker-editor-dialog input,.theme-light .sticker-editor-dialog textarea,.theme-light .model-search{color:#000;border-color:#d4d4d4;background:#fff}.theme-light .background-preview{color:#666;border-color:#d4d4d4;background-color:#f2f2f2}.theme-light .sticker-grid button,.theme-light .memory-preview-list article{border-color:#d4d4d4;background:#fff}.theme-light .memory-preview-list article p{color:#000}.theme-light .model-list button{color:#222}.theme-light .model-list button:hover,.theme-light .model-list button.selected{color:#000;border-color:#d4d4d4;background:#f2f2f2}.theme-light .message-stage.has-chat-background{background-color:#f2f2f2}.theme-light .message-bubble:focus-visible{outline-color:#000}html[data-lite-theme=dark] body{color:#e5e5e5;background:#363636}.theme-dark .message-time{color:#818181}.theme-dark .identity-panel h3{color:#e1e1e1}.theme-dark .avatar-preview{color:#242424;background:#dadada}.theme-dark .avatar-upload-button{color:#d0d0d0!important;border-color:#464646;background:#323232}.theme-dark .theme-choice{border-color:#434343;background:#292929}.theme-dark .theme-choice button{color:#a5a5a5}.theme-dark .theme-choice button.active{color:#252525;background:#d2d2d2}.theme-dark .range-value{color:#d0d0d0}.theme-dark .appearance-card input[type=range]{accent-color:#d2d2d2}.theme-dark .font-preview{color:#ddd;border-color:#434343;background:#242424}.theme-dark .model-picker,.theme-dark .memory-preview{color:#e1e1e1;background:#202020;box-shadow:0 24px 70px #0000007a}.theme-dark .model-picker-header span{color:#a5a5a5}.theme-dark .model-search{color:#e1e1e1;border-color:#464646;background:#292929;color-scheme:dark}.theme-dark .model-list button{color:#d0d0d0}.theme-dark .model-list button:hover,.theme-dark .model-list button.selected{color:#ededed;border-color:#494949;background:#323232}.theme-dark .model-empty{color:#a5a5a5}.theme-dark .vector-stats{border-color:#434343;background:#242424}.theme-dark .vector-stats span,.theme-dark .vector-stats small{color:#8d8d8d}.theme-dark .vector-stats strong{color:#ddd}.theme-dark.lite-shell{color:#e1e1e1;background:#191919f2;box-shadow:0 0 60px #0000005c}.theme-dark .lite-header{border-color:#e2e2e214}.theme-dark .lite-avatar{color:#242424;background:#dadada}.theme-dark .lite-identity p,.theme-dark .context-strip,.theme-dark .strip-button{color:#a5a5a5}.theme-dark .status-dot{background:#77736d}.theme-dark .status-dot.online{background:#b8b3ab;box-shadow:0 0 0 3px #c5c0b71a}.theme-dark .icon-button{color:#d9d9d9;background:#dfdfdf14}.theme-dark .context-strip{background:#232323f0}.theme-dark .api-chip{color:#ccc;border-color:#dbdbdb24;background:#3d3d3d99}.theme-dark .handoff-label{color:#a5a5a5;border-color:#dbdbdb1a;background:#2b2b2be6}.theme-dark .message-bubble.assistant,.theme-dark .typing-bubble{color:#ddd;border-color:#e2e2e217;background:#2a2a2a}.theme-dark .message-bubble.user{color:#f3f3f3;background:#494949}.theme-dark .empty-card{border-color:#e2e2e21a;background:#2a2a2ae0;box-shadow:0 18px 50px #0003}.theme-dark .empty-card p{color:#a5a5a5}.theme-dark .empty-icon{color:#cdcdcd;background:#3a3a3a}.theme-dark .empty-card button,.theme-dark .primary-button,.theme-dark .generate-button{color:#242424;border-color:#d8d8d8;background:#d8d8d8}.theme-dark .sticker-button,.theme-dark .menu-button{color:#b3b3b3}.theme-dark .composer-tray,.theme-dark .sticker-editor-dialog{color:#e1e1e1;border-color:#464646;background:#202020fa}.theme-dark .function-tray{border:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.theme-dark .function-tray>button{color:#d0d0d0;border-color:#464646;background:#292929}.theme-dark .composer-tray-title{color:#a5a5a5}.theme-dark .sticker-editor-dialog label{color:#b7b7b7}.theme-dark .sticker-editor-dialog input,.theme-dark .sticker-editor-dialog textarea{color:#e1e1e1;border-color:#464646;background:#222;color-scheme:dark}.theme-dark .background-preview{color:#a5a5a5;border-color:#464646;background-color:#292929}.theme-dark .sticker-grid button,.theme-dark .memory-preview-list article{border-color:#464646;background:#292929}.theme-dark .memory-preview-hint,.theme-dark .memory-preview-list article>div,.theme-dark .memory-preview-list article small{color:#a5a5a5}.theme-dark .memory-preview-list article p{color:#e1e1e1}.theme-dark .composer{border-color:#e2e2e214;background:#1a1a1af7}.theme-dark .composer textarea{color:#e0e0e0;border-color:#dbdbdb21;background:#242424}.theme-dark .composer textarea::placeholder{color:#7c7c7c}.theme-dark .settings-sheet{color:#e1e1e1;background:#202020;box-shadow:0 -18px 55px #00000070}.theme-dark .sheet-handle{background:#494949}.theme-dark .eyebrow{color:#a5a5a5}.theme-dark .text-button,.theme-dark .template-button,.theme-dark .round-action,.theme-dark .prompt-preview summary{color:#d0d0d0}.theme-dark .settings-tabs{border-color:#393939;background:#202020f5}.theme-dark .settings-tabs button{color:#a5a5a5}.theme-dark .settings-tabs button.active{color:#252525;background:#d2d2d2}.theme-dark .setting-card{border-color:#3b3b3b;background:#292929}.theme-dark .setting-card p,.theme-dark .field-hint,.theme-dark .memory-import-row p{color:#a5a5a5}.theme-dark .setting-card label{color:#b7b7b7}.theme-dark .setting-card input,.theme-dark .setting-card select,.theme-dark .setting-card textarea{color:#e1e1e1;border-color:#464646;background:#222;color-scheme:dark}.theme-dark .round-action,.theme-dark .template-button{border-color:#464646;background:#323232}.theme-dark .toggle-line,.theme-dark .prompt-preview div{color:#dadada!important;background:#333}.theme-dark .field-hint code{background:#393939}.theme-dark .memory-import-row{color:#d9d9d9;border-color:#515151;background:#2a2a2a}.theme-dark .secondary-button{color:#d0d0d0;border-color:#494949;background:#313131}.theme-dark .sql-toggle{color:#a5a5a5}.theme-dark .notice.success,.theme-dark .notice.info{color:#d9d9d9;background:#303030}.theme-dark .notice.error{color:#f0c4bc;background:#3b2927}.theme-dark .synced-memory-totals div,.theme-dark .compatibility-note{color:#b6b6b6;border-color:#484848;background:#242424}.theme-dark .synced-memory-totals span,.theme-dark .synced-memory-card>small,.theme-dark .synced-memory-footnote{color:#939393}.theme-dark .synced-memory-totals strong,.theme-dark .compatibility-note strong,.theme-dark .synced-memory-card p{color:#dfdfdf}.theme-dark .synced-memory-room-summary span,.theme-dark .synced-memory-tags span,.theme-dark .synced-memory-card-head i{color:#b6b6b6;background:#383838}.theme-dark .synced-memory-card,.theme-dark .synced-memory-empty{color:#a5a5a5;border-color:#464646;background:#292929}.theme-dark .synced-memory-editor select{color:#e1e1e1;border-color:#464646;background:#222;color-scheme:dark}.lite-shell{--glass-surface: rgba(255, 255, 255, .44);--glass-surface-strong: rgba(255, 255, 255, .64);--glass-line: rgba(255, 255, 255, .76);--glass-shadow: 0 16px 38px rgba(0, 0, 0, .1);--shell-fade: rgba(242, 242, 242, .97);grid-template-rows:auto minmax(0,1fr) auto;background:radial-gradient(circle at 8% 6%,rgba(255,255,255,.94),transparent 34%),radial-gradient(circle at 92% 88%,rgba(202,202,202,.38),transparent 38%),linear-gradient(150deg,#f4f4f4,#e9e9e9);background-position:center;background-size:cover;-webkit-backdrop-filter:none;backdrop-filter:none}.theme-dark.lite-shell{--glass-surface: rgba(37, 37, 37, .48);--glass-surface-strong: rgba(44, 44, 44, .7);--glass-line: rgba(255, 255, 255, .09);--glass-shadow: 0 18px 42px rgba(0, 0, 0, .28);--shell-fade: rgba(25, 25, 25, .96);background:radial-gradient(circle at 8% 6%,rgba(101,101,101,.24),transparent 34%),radial-gradient(circle at 92% 88%,rgba(64,64,64,.28),transparent 38%),linear-gradient(150deg,#202020,#161616)}.lite-header{position:relative;z-index:8;grid-row:1;grid-column:1;min-height:116px;margin:0;padding:calc(env(safe-area-inset-top,0px) + 12px) 18px 10px;display:grid;grid-template-columns:1fr auto 1fr;align-items:start;border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.lite-identity{grid-column:2;display:flex;align-items:center;flex-direction:column;gap:5px;text-align:center}.lite-identity h1{margin:0;font-size:16px}.header-actions{grid-column:3;justify-self:end;align-self:start}.lite-header:after{content:none}.lite-avatar{width:54px;height:54px;border:1px solid rgba(255,255,255,.42);border-radius:50%;box-shadow:0 2px 7px #0000001c}.icon-button,.theme-light .icon-button,.theme-dark .icon-button{width:42px;height:42px;display:grid;place-items:center;color:inherit;border:1px solid var(--glass-line);border-radius:999px;background:var(--glass-surface-strong);box-shadow:0 1px 5px #0000000f,inset 0 1px #fff6;-webkit-backdrop-filter:blur(18px) saturate(135%);backdrop-filter:blur(18px) saturate(135%)}.token-usage-pill{min-width:36px;min-height:20px;padding:1px 9px 0;display:inline-flex;align-items:center;justify-content:center;color:#4c4c4ca6;border:1px solid var(--glass-line);border-radius:999px;background:var(--glass-surface-strong);box-shadow:0 1px 5px #0000000d,inset 0 1px #ffffff59;-webkit-backdrop-filter:blur(18px) saturate(145%);backdrop-filter:blur(18px) saturate(145%);font-size:9px;font-weight:700;letter-spacing:.01em;white-space:nowrap}.token-usage-pill.has-usage{color:#111}.theme-dark .token-usage-pill{color:#e0e0e08c}.theme-dark .token-usage-pill.has-usage{color:#d8d8d8}.context-strip,.theme-dark .context-strip{position:relative;z-index:3;padding:20px 18px 8px;background:transparent}.api-chip,.theme-dark .api-chip,.handoff-label,.theme-dark .handoff-label{border-color:var(--glass-line);background:var(--glass-surface);box-shadow:inset 0 1px #ffffff38;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.message-stage{grid-row:2;grid-column:1;padding-top:18px;padding-bottom:32px;background-color:transparent;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000000 18px,#000000 calc(100% - 18px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000000 18px,#000000 calc(100% - 18px),transparent 100%)}.message-stage.has-chat-background,.theme-light .message-stage.has-chat-background,.theme-dark .message-stage.has-chat-background{background-color:transparent;background-image:none}.message-bubble.assistant,.theme-light .message-bubble.assistant,.theme-dark .message-bubble.assistant,.typing-bubble,.theme-light .typing-bubble,.theme-dark .typing-bubble{border:1px solid var(--glass-line);background:var(--glass-surface-strong);box-shadow:0 9px 26px #2b2b2b14,inset 0 1px #ffffff47;-webkit-backdrop-filter:blur(16px) saturate(135%);backdrop-filter:blur(16px) saturate(135%)}.message-bubble.user,.theme-light .message-bubble.user,.theme-dark .message-bubble.user{color:#fff;background:#212121bd;box-shadow:0 10px 26px #00000029,inset 0 1px #ffffff2e;-webkit-backdrop-filter:blur(14px) saturate(130%);backdrop-filter:blur(14px) saturate(130%)}.theme-dark .message-bubble.user{background:#6b6b6b8a}.empty-card,.theme-light .empty-card,.theme-dark .empty-card{border-color:var(--glass-line);background:var(--glass-surface);box-shadow:var(--glass-shadow),inset 0 1px #ffffff47;-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%)}.composer-dock{position:relative;z-index:7;grid-row:3;grid-column:1;padding:10px 14px calc(env(safe-area-inset-bottom,0px) + 14px);display:flex;align-items:flex-end;gap:10px;background:transparent}.composer-dock:before{content:none}.composer,.theme-light .composer,.theme-dark .composer{min-width:0;flex:1;padding:4px 5px 4px 13px;display:flex;align-items:flex-end;gap:2px;border:1px solid var(--glass-line);border-radius:999px;background:var(--glass-surface-strong);box-shadow:0 1px 5px #0000000f,inset 0 1px #ffffff57;-webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%)}.composer textarea,.theme-light .composer textarea,.theme-dark .composer textarea{min-height:42px;padding:11px 5px;color:inherit;border:0;border-radius:0;background:transparent;box-shadow:none}.composer textarea:focus,.theme-light .composer textarea:focus,.theme-dark .composer textarea:focus{outline:0;border:0;background:transparent;box-shadow:none}.composer:focus-within,.theme-light .composer:focus-within,.theme-dark .composer:focus-within{outline:0}.generate-button,.sticker-button{width:42px;height:42px;flex:0 0 auto;border-radius:50%}.sticker-button,.theme-dark .sticker-button{color:inherit;background:transparent}.generate-button,.theme-light .generate-button,.theme-dark .generate-button{color:inherit;border:0;background:transparent;box-shadow:none}.menu-button,.theme-dark .menu-button{width:55px;height:55px;flex:0 0 auto;color:inherit;border:1px solid var(--glass-line);border-radius:50%;background:var(--glass-surface-strong);box-shadow:0 1px 5px #0000000f,inset 0 1px #ffffff57;-webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%)}.composer-tray,.theme-light .composer-tray,.theme-dark .composer-tray{bottom:calc(env(safe-area-inset-bottom,0px) + 82px);border-color:var(--glass-line);background:var(--glass-surface-strong);box-shadow:0 1px 5px #0000000f,inset 0 1px #ffffff47;-webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%)}.sticker-tray .composer-tray-title{justify-content:flex-end}.function-tray,.theme-light .function-tray,.theme-dark .function-tray{left:14px;padding:7px;border:1px solid var(--glass-line);border-radius:19px;background:var(--glass-surface-strong);box-shadow:0 1px 5px #0000000f,inset 0 1px #ffffff47;-webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%);transform-origin:left bottom;animation:menu-slide-up .2s ease-out both}.function-tray>button,.theme-light .function-tray>button,.theme-dark .function-tray>button{color:inherit;border-color:transparent;border-radius:14px;background:#ffffff14}.setting-card,.theme-dark .setting-card{border-color:var(--glass-line);background:var(--glass-surface-strong);-webkit-backdrop-filter:blur(24px) saturate(145%);backdrop-filter:blur(24px) saturate(145%)}.sheet-backdrop,.theme-light .sheet-backdrop{align-items:stretch;padding:0;background:#e9e9e97d;-webkit-backdrop-filter:blur(18px) saturate(120%);backdrop-filter:blur(18px) saturate(120%)}.theme-dark .sheet-backdrop{background:#0a0a0a87}.settings-sheet,.theme-light .settings-sheet,.theme-dark .settings-sheet{width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:calc(env(safe-area-inset-top,0px) + 18px) max(18px,calc((100vw - 760px)/2)) calc(env(safe-area-inset-bottom,0px) + 28px);color:#111;border:0;border-radius:0;background:#f7f7f79e;box-shadow:none;-webkit-backdrop-filter:blur(30px) saturate(125%);backdrop-filter:blur(30px) saturate(125%);animation:settings-screen-in .24s cubic-bezier(.2,.8,.2,1) both}.theme-dark .settings-sheet{color:#f2f2f2;background:#111111a8}.sheet-handle{display:none}.sheet-title-row{position:sticky;z-index:5;top:calc(env(safe-area-inset-top,0px)*-1 - 18px);padding:2px 0 14px;align-items:center;background:linear-gradient(to bottom,rgba(247,247,247,.86) 64%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.theme-dark .sheet-title-row{background:linear-gradient(to bottom,rgba(17,17,17,.86) 64%,transparent)}.eyebrow{color:#777}.text-button{color:inherit}.settings-tabs,.theme-light .settings-tabs,.theme-dark .settings-tabs{top:70px;border-color:var(--glass-line);background:#ffffff6b;box-shadow:0 10px 28px #0000000f;-webkit-backdrop-filter:blur(22px) saturate(130%);backdrop-filter:blur(22px) saturate(130%)}.theme-dark .settings-tabs{background:#22222294}.settings-tabs button.active,.theme-light .settings-tabs button.active{color:#fff;background:#111;box-shadow:none}.theme-dark .settings-tabs button.active{color:#111;background:#f1f1f1}.setting-card,.theme-light .setting-card{border-color:#fffc;background:#ffffff7a;box-shadow:0 14px 36px #0000000f,inset 0 1px #ffffffb3}.theme-dark .setting-card{border-color:#ffffff14;background:#24242485;box-shadow:0 14px 36px #00000029,inset 0 1px #ffffff0f}.primary-button,.theme-light .primary-button{color:#fff;border-color:#111;background:#111}.theme-dark .primary-button{color:#111;border-color:#eee;background:#eee}.sticker-editor-footer .danger-button,.theme-light .sticker-editor-footer .danger-button,.theme-dark .sticker-editor-footer .danger-button{color:#fff;border-color:#bf3838;background:#bf3838}.lite-header,.theme-light .lite-header,.theme-dark .lite-header{background:transparent}.lite-shell.has-input-overlay .composer-dock{visibility:hidden}.lite-avatar{padding:0;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.header-actions{position:relative;z-index:9}.token-usage-pill{min-width:82px;min-height:32px;gap:7px;padding:4px 11px;color:#252525;font-size:11px;background:#fffffff0;cursor:pointer}.theme-dark .token-usage-pill{color:#252525;background:#fffffff0}.token-usage-pill.is-error,.theme-dark .token-usage-pill.is-error{color:#b63838}.cloud-status-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#a9aaa9}.cloud-status-dot.connected{background:#2eb56a;box-shadow:0 0 0 3px #2eb56a1f}.status-loading{display:inline-flex;align-items:center;gap:3px;height:14px}.status-loading i{width:4px;height:4px;border-radius:50%;background:currentColor;animation:typing 1.2s infinite ease-in-out}.status-loading i:nth-child(2){animation-delay:.15s}.status-loading i:nth-child(3){animation-delay:.3s}.status-details{position:absolute;top:calc(100% + 48px);right:0;width:min(280px,calc(100vw - 28px));padding:13px 15px;color:#252525;text-align:left;border:1px solid rgba(200,200,200,.55);border-radius:16px;background:#fffffff5;box-shadow:0 12px 36px #00000021;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);font-size:12px;line-height:1.55;overflow-wrap:anywhere}.status-details strong{font-size:13px}.status-details p{margin:6px 0 0}.status-details .status-error-detail{color:#b63838;white-space:pre-wrap}.function-tray,.theme-light .function-tray,.theme-dark .function-tray{width:min(460px,calc(100vw - 28px));display:flex;flex-direction:row;align-items:center;gap:4px;max-height:none;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.function-tray::-webkit-scrollbar{display:none}.function-tray>button,.theme-light .function-tray>button,.theme-dark .function-tray>button{width:54px;min-height:62px;flex:0 0 54px;padding:5px 0;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;border:0;background:transparent;text-align:center;font-size:10px;white-space:nowrap}.function-tray>button:hover{background:#7d7d7d17}.lite-shell{--ui-text: #3a3a3a;--ui-muted: #727272;--ui-field: rgba(255, 255, 255, .48);--ui-hover: rgba(126, 126, 126, .12);--ui-accent: #5c5c5c;--ui-on-accent: #f9f9f9;--ui-focus: #8e8e8e;--ui-danger: #ae5358;--ui-danger-solid: #b83c3c;--ui-danger-hover: #a53131;--ui-success: #696969;--ui-sheet: rgba(237, 237, 237, .65);--ui-overlay: rgba(217, 217, 217, .32);--glass-surface: rgba(255, 255, 255, .32);--glass-surface-strong: rgba(252, 252, 252, .68);--glass-line: rgba(143, 143, 143, .2);--glass-shadow: 0 12px 36px rgba(71, 71, 71, .08);color-scheme:light}.lite-shell.theme-dark{--ui-text: #e5e5e5;--ui-muted: #b3b3b3;--ui-field: rgba(113, 113, 113, .16);--ui-hover: rgba(177, 177, 177, .14);--ui-accent: #c6c6c6;--ui-on-accent: #3a3a3a;--ui-focus: #acacac;--ui-danger: #e79b9e;--ui-success: #bfbfbf;--ui-sheet: rgba(53, 53, 53, .7);--ui-overlay: rgba(52, 52, 52, .44);--glass-surface: rgba(79, 79, 79, .34);--glass-surface-strong: rgba(71, 71, 71, .7);--glass-line: rgba(203, 203, 203, .16);--glass-shadow: 0 12px 36px rgba(33, 33, 33, .18);color-scheme:dark}:root,body{color:#3a3a3a;background:#eaeaea}body:has(.theme-dark){background:#363636}.lite-shell:is(.theme-light,.theme-dark){color:var(--ui-text);background:radial-gradient(ellipse at 5% 0%,rgba(255,255,255,.8),transparent 58%),linear-gradient(145deg,#f0f0f0,#e2e2e2);box-shadow:var(--glass-shadow)}.lite-shell.theme-dark{background:radial-gradient(ellipse at 5% 0%,rgba(141,141,141,.17),transparent 58%),linear-gradient(145deg,#434343,#343434)}.lite-shell.has-chat-background{background:transparent}.chat-wallpaper{background:#3b3b3b}.lite-shell :is(.lite-avatar,.avatar-preview){color:var(--ui-on-accent);background:var(--ui-accent);box-shadow:none;font-family:inherit;font-weight:600}.lite-shell :is(.lite-identity h1,.empty-card h2,.sheet-title-row h2,.identity-panel h3,.model-picker-header h2){color:var(--ui-text);font-family:inherit;font-weight:600;letter-spacing:-.025em}.lite-shell .lite-identity h1{font-size:15px}.lite-shell :is(.empty-icon,.background-preview){color:var(--ui-muted);background:var(--ui-field);border-color:var(--glass-line)}.lite-shell :is(.empty-card p,.message-time,.handoff-label){color:var(--ui-muted)}.lite-shell .empty-card{border-radius:24px;box-shadow:var(--glass-shadow)}.lite-shell .message-bubble.assistant{color:var(--ui-text);box-shadow:var(--glass-shadow)}.lite-shell .message-bubble.user{color:#f6f6f6;background:#606060d1;box-shadow:var(--glass-shadow)}.lite-shell .typing-bubble i{background:var(--ui-muted)}.lite-shell :is(.token-usage-pill,.status-details,.composer,.menu-button,.composer-tray){color:var(--ui-text);border-color:var(--glass-line);background:var(--glass-surface-strong);box-shadow:var(--glass-shadow)}.lite-shell .status-details{top:calc(100% + 12px)}.lite-shell .token-usage-pill.is-error,.lite-shell .status-error-detail{color:var(--ui-danger)}.lite-shell .composer{border-radius:28px}.lite-shell .composer:focus-within{border-color:var(--ui-focus)}.lite-shell .generate-button{color:var(--ui-on-accent);background:var(--ui-accent)}.lite-shell .composer textarea{min-width:0;color:var(--ui-text)}.lite-shell .sheet-backdrop,.lite-shell .model-picker-backdrop{background:var(--ui-overlay);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.lite-shell .settings-sheet{padding:0 0 calc(env(safe-area-inset-bottom,0px) + 32px);color:var(--ui-text);background:var(--ui-sheet)}.lite-shell .settings-sheet .sheet-title-row{top:0;width:100%;min-height:calc(env(safe-area-inset-top,0px) + 96px);margin:0 0 24px;padding:calc(env(safe-area-inset-top,0px) + 18px) max(20px,calc((100% - 720px)/2)) 18px;gap:16px;color:var(--ui-text);border-bottom:1px solid var(--glass-line);background:var(--glass-surface-strong);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.lite-shell .sheet-title-row h2{font-size:23px}.lite-shell .eyebrow{color:var(--ui-muted);font-size:9px;font-weight:600;letter-spacing:.18em}.lite-shell .sheet-title-row .text-button{min-height:38px;padding:8px 18px;color:var(--ui-text);border:1px solid var(--glass-line);border-radius:999px;background:var(--ui-field);font-size:13px;font-weight:600}.settings-section-panel{width:100%;padding:0 max(20px,calc((100% - 720px)/2))}.lite-shell .setting-card{margin-top:16px;padding:24px;border:1px solid var(--glass-line);border-radius:20px;background:var(--glass-surface);box-shadow:var(--glass-shadow)}.settings-section-panel>.setting-card:first-child{margin-top:0}.lite-shell .setting-card-title{align-items:flex-start;gap:16px;margin-bottom:20px}.setting-card-title>div{min-width:0}.lite-shell .chat-api-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px}.lite-shell .chat-api-title>p{grid-column:1 / -1;margin:0}.lite-shell .setting-card strong{font-weight:600}.lite-shell :is(.setting-card p,.field-hint,.setting-card label,.sticker-editor-dialog label,.api-preset-trigger>span:last-child,.api-preset-choice small){color:var(--ui-muted)}.lite-shell .setting-card label{margin-top:16px;font-size:12px;font-weight:500}.lite-shell .setting-card p{line-height:1.7}.lite-shell .credential-state{color:var(--ui-muted)!important}.lite-shell .credential-state.ready{color:var(--ui-success)!important}.lite-shell input:not([type=checkbox]):not([type=range]):not([type=file]),.lite-shell .setting-card textarea,.lite-shell .sticker-editor-dialog textarea,.lite-shell select{min-width:0;border:1px solid var(--glass-line);border-radius:12px;outline:none;background:var(--ui-field);color:var(--ui-text);box-shadow:inset 0 1px 2px #4a4a4a06;color-scheme:inherit;transition:border-color .18s ease,box-shadow .18s ease}.lite-shell input:not([type=checkbox]):not([type=range]):not([type=file]):focus,.lite-shell .setting-card textarea:focus,.lite-shell .sticker-editor-dialog textarea:focus,.lite-shell select:focus{border-color:var(--ui-focus);box-shadow:0 0 0 3px var(--ui-hover)}.lite-shell :is(input,textarea)::placeholder{color:var(--ui-muted);opacity:.78}.lite-shell .composer textarea::placeholder{color:var(--ui-muted);opacity:.85}.lite-shell :is(button,summary,a):focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}.lite-shell input[type=range],.lite-shell input[type=checkbox]{accent-color:var(--ui-accent);box-shadow:none}.lite-shell select option{color:var(--ui-text);background:#f1f1f1}.lite-shell.theme-dark select option{background:#434343}.lite-shell .toggle-line{color:var(--ui-text)!important;background:var(--ui-field)}.lite-shell .two-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lite-shell :is(.primary-button,.secondary-button,.avatar-upload-button){min-height:42px;padding:10px 16px;border-radius:12px;font-size:12px;line-height:1.5;font-weight:600}.lite-shell :is(.primary-button,.empty-card button,.theme-choice button.active){color:var(--ui-on-accent);border:1px solid transparent;background:var(--ui-accent);box-shadow:none}.lite-shell :is(.secondary-button,.round-action,.copy-api-pill,.avatar-upload-button,.api-preset-choice,.icon-button){color:var(--ui-text);border:1px solid var(--glass-line);background:var(--ui-field);box-shadow:none}.lite-shell .avatar-upload-button{color:var(--ui-text)!important}.lite-shell :is(.round-action,.icon-button){flex-shrink:0;width:38px;height:38px;border-radius:12px}.lite-shell button{transition:background-color .18s ease,border-color .18s ease,opacity .18s ease}.lite-shell button svg{flex-shrink:0}.lite-shell button:disabled{cursor:default;opacity:.45}.lite-shell :is(.secondary-button,.copy-api-pill,.round-action,.text-button,.api-preset-choice,.function-tray>button):hover:not(:disabled){background:var(--ui-hover);border-color:var(--ui-focus)}.lite-shell :is(.primary-button,.empty-card button):hover:not(:disabled){opacity:.86}.lite-shell :is(.model-actions,.memory-tool-actions,.button-row){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.lite-shell .model-actions>:nth-child(3){grid-column:1 / -1}.lite-shell .copy-api-pill{min-height:30px;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:500}.lite-shell .save-current-api-pill{margin-top:-3px}.lite-shell .memory-api-title>div{width:100%}.lite-shell .memory-api-heading{justify-content:space-between;flex-wrap:nowrap;gap:10px}.lite-shell .memory-api-heading .copy-api-pill{flex-shrink:0;align-self:flex-start}.lite-shell :is(.api-preset-dialog-actions,.preview-actions,.sticker-editor-footer){display:flex;justify-content:flex-end;gap:10px;padding-top:18px;margin-top:22px;border-top:1px solid var(--glass-line)}.lite-shell :is(.api-preset-dialog-actions,.preview-actions,.sticker-editor-footer)>button{width:auto;min-width:96px}.lite-shell .sticker-editor-footer>:first-child{margin-right:auto}.lite-shell .api-preset-error{color:var(--ui-danger)}.lite-shell :is(.danger-button,.round-action.danger){color:#fff;border-color:var(--ui-danger-solid);background:var(--ui-danger-solid)}.lite-shell :is(.danger-button,.round-action.danger):hover:not(:disabled){color:#fff;border-color:var(--ui-danger-hover);background:var(--ui-danger-hover);opacity:1}.lite-shell .danger-link{width:100%;min-height:36px;padding:8px 0;display:flex;align-items:center;justify-content:center;color:var(--ui-danger);text-align:center;text-decoration:underline;text-underline-offset:4px}.lite-shell .danger-link:hover:not(:disabled){text-decoration-thickness:2px}.lite-shell .sticker-editor-footer .danger-link{flex:1;min-width:0;margin:0}.lite-shell .archive-context-button{margin-top:22px}.lite-shell .api-preset-row{align-items:center}.lite-shell .api-preset-choice.selected{border-color:var(--ui-focus);background:var(--ui-hover)}.lite-shell :is(.theme-choice,.font-preview,.vector-stats,.synced-memory-totals div,.compatibility-note,.synced-memory-card,.synced-memory-empty,.prompt-preview div,.memory-preview-list article,.sticker-grid button){color:var(--ui-text);border-color:var(--glass-line);background:var(--ui-field)}.lite-shell :is(.synced-memory-room-summary span,.synced-memory-tags span,.synced-memory-card-head i,.field-hint code){color:var(--ui-muted);background:var(--ui-hover)}.lite-shell :is(.vector-stats strong,.synced-memory-totals strong,.compatibility-note strong,.synced-memory-card p,.range-value,.prompt-preview summary){color:var(--ui-text)}.lite-shell :is(.vector-stats span,.vector-stats small,.synced-memory-totals span,.synced-memory-card-head>div:first-child,.synced-memory-card>small,.synced-memory-footnote,.prompt-preview,.sql-toggle,.theme-choice button,.memory-preview-hint,.model-picker-header span,.model-empty){color:var(--ui-muted)}.lite-shell .theme-choice button.active{color:var(--ui-on-accent)}.lite-shell .sql-box{border-color:var(--glass-line);background:#3d3d3d}.lite-shell .sql-box>div{color:#ddd;background:#4c4c4c}.lite-shell .sql-box :is(pre,button){color:#e8e8e8}.lite-shell .add-sticker-tile{color:var(--ui-muted)!important}.lite-shell .avatar-setting-row{margin-bottom:22px}.lite-shell .background-setting{margin-top:24px}.lite-shell :is(.sticker-editor-dialog,.model-picker,.memory-preview){padding:24px;color:var(--ui-text);border:1px solid var(--glass-line);border-radius:22px;background:var(--glass-surface-strong);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px)}.lite-shell .model-picker-header h2{font-size:20px}.lite-shell .model-list button{color:var(--ui-text)}.lite-shell .model-list button:hover,.lite-shell .model-list button.selected{color:var(--ui-text);border-color:var(--glass-line);background:var(--ui-hover)}.lite-shell .notice:is(.success,.info,.error){color:var(--ui-text);border:1px solid var(--glass-line);background:var(--glass-surface-strong);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.lite-shell .notice.success{color:var(--ui-success)}.lite-shell .notice.error{color:var(--ui-danger)}.lite-shell :is(.memory-preview-list article>div,.memory-preview-list article small,.composer-tray-title){color:var(--ui-muted)}.lite-shell .memory-preview-list article p{color:var(--ui-text)}.lite-shell .prompt-preview div{color:var(--ui-text)!important}.lite-shell .appearance-card input[type=range]{accent-color:var(--ui-accent);background:transparent}.lite-shell .memory-preview{grid-template-rows:auto auto minmax(0,1fr) auto}@keyframes settings-screen-in{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}@keyframes menu-slide-up{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media (min-width: 780px){body{padding:20px}.lite-shell{height:calc(var(--lite-viewport-height, 100dvh) - 40px);border-radius:28px;overflow:hidden}.settings-sheet{margin:0;border-radius:0}}@media (display-mode: standalone){html,body,#lite-root{min-height:100vh;height:100vh}.lite-shell{height:var(--lite-viewport-height, 100vh)}.settings-sheet{height:100vh}}html.cookie-ios body{padding:0}html.cookie-ios .lite-shell{position:fixed;top:var(--lite-viewport-top, 0px);left:50%;height:var(--lite-viewport-height, 100dvh);margin:0;transform:translate(-50%)}html.cookie-keyboard-open .lite-shell{border-radius:0}html.cookie-keyboard-open .settings-sheet{height:100%}@supports (-webkit-touch-callout: none){.lite-shell input:not([type=range]),.lite-shell textarea,.lite-shell select{font-size:16px!important}.lite-shell .composer textarea{font-size:max(16px,var(--lite-message-font-size, 14px))!important}}@media (max-width: 520px){.composer-dock{gap:8px;padding-left:10px;padding-right:10px}.composer{gap:1px;padding-left:12px;padding-right:4px}.generate-button,.sticker-button,.menu-button{width:43px;height:45px;border-radius:15px}.menu-button{width:55px;height:55px;border-radius:50%}.generate-button,.sticker-button{width:42px;height:42px;border-radius:50%}.settings-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-tabs button{min-width:0;padding-right:6px;padding-left:6px;font-size:11px}.settings-section-panel{padding:0 14px}.lite-shell .setting-card{padding:18px 16px;border-radius:18px}.lite-shell .settings-sheet .sheet-title-row{padding-left:18px;padding-right:18px;margin-bottom:18px}.lite-shell .setting-card-title{gap:10px}.lite-shell .save-current-api-pill{max-width:176px;white-space:normal;text-align:center}.lite-shell .memory-api-heading{gap:7px}.lite-shell .memory-api-heading strong{font-size:13px}.lite-shell .memory-api-heading .copy-api-pill{padding-right:8px;padding-left:8px}.lite-shell :is(.model-actions,.memory-tool-actions,.button-row){gap:8px}.lite-shell :is(.primary-button,.secondary-button){padding:10px}.lite-shell :is(.sticker-editor-dialog,.model-picker,.memory-preview){padding:20px}.model-picker-backdrop{padding:12px}.composer textarea,.setting-card input:not([type=range]),.setting-card select,.setting-card textarea,.model-search{font-size:16px}.sticker-editor-dialog input,.sticker-editor-dialog textarea,.sticker-editor-dialog select{font-size:16px}.lite-shell .synced-memory-edit-fields{grid-template-columns:1fr;gap:0}.sticker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
