@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";.stage-desktop{z-index:8;color:#f7f3ff;pointer-events:none;position:absolute;inset:0}.stage-desktop button,.stage-desktop input{font:inherit}.stage-desktop button:focus-visible,.stage-desktop input:focus-visible{outline-offset:2px;outline:2px solid #f09ac2}.stage-desktop-window{-webkit-backdrop-filter:blur(26px)saturate(1.1);backdrop-filter:blur(26px)saturate(1.1);pointer-events:auto;background:#0d0b17d1;border:1px solid #ffffff26;border-radius:24px;flex-direction:column;width:min(680px,50vw - 36px);min-width:340px;display:flex;position:absolute;top:140px;bottom:172px;overflow:hidden;box-shadow:0 28px 80px #0006,inset 0 1px #ffffff0a}.stage-desktop.window-side-left .stage-desktop-window,.stage-desktop.window-side-left .stage-desktop-tray{left:24px}.stage-desktop.window-side-right .stage-desktop-window,.stage-desktop.window-side-right .stage-desktop-tray{right:24px}.stage-desktop-tray{pointer-events:auto;max-width:min(680px,50vw - 36px);position:absolute;top:94px}.stage-desktop-tray ol{scrollbar-width:thin;gap:7px;max-width:100%;margin:0;padding:0 2px 4px;list-style:none;display:flex;overflow-x:auto}.stage-desktop-tray button{color:#c9c2d8;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0f0d19b3;border:1px solid #ffffff1c;border-radius:13px;grid-template-rows:1fr;grid-template-columns:1fr auto;align-items:center;width:42px;height:38px;padding:0 7px;transition:width .18s,color .18s,border-color .18s,background .18s;display:grid;box-shadow:0 9px 28px #0003}.stage-desktop-tray button:hover,.stage-desktop-tray button.active{color:#fff;background:#493055c7;border-color:#eb8ebb70;grid-template-columns:auto minmax(0,1fr) auto;width:min(168px,25vw)}.stage-desktop-tray-type{color:#e5b1ca;letter-spacing:.04em;place-items:center;min-width:24px;font-size:8px;font-weight:700;display:grid}.stage-desktop-tray-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;font-weight:600;display:none;overflow:hidden}.stage-desktop-tray button:hover .stage-desktop-tray-title,.stage-desktop-tray button.active .stage-desktop-tray-title{display:block}.stage-desktop-status-dot{background:#8f899b;border-radius:50%;width:6px;height:6px}.stage-desktop-status-dot.status-ready{background:#72d8aa}.stage-desktop-status-dot.status-error{background:#ff739b}.stage-desktop-status-dot.status-canceled{background:#b2aaba}.stage-desktop-status-dot.status-loading,.stage-desktop-status-dot.status-queued{background:#e891ba;animation:1.5s ease-in-out infinite stage-desktop-pulse}.stage-desktop-window-header{background:#ffffff06;border-bottom:1px solid #ffffff17;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:66px;padding:10px 12px 10px 16px;display:grid}.stage-desktop-kind-label{color:#f3a1c7;letter-spacing:.04em;background:linear-gradient(145deg,#e270a72e,#7862d929);border-radius:11px;place-items:center;min-width:42px;height:34px;font-size:8px;font-weight:700;display:grid}.stage-desktop-title-block{min-width:0}.stage-desktop-title-block>span{color:#b3aabd;letter-spacing:.13em;text-transform:uppercase;font-size:9px;font-weight:700;display:block}.stage-desktop-title-block h2{text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:15px;overflow:hidden}.stage-desktop-source-button,.stage-desktop-close-button,.stage-desktop-status-actions button,.stage-desktop-search button,.stage-desktop-pagination button{color:#d9d2e5;background:#ffffff0f;border:1px solid #ffffff1c}.stage-desktop-source-button{text-overflow:ellipsis;white-space:nowrap;border-radius:9px;max-width:150px;padding:7px 9px;font-size:10px;overflow:hidden}.stage-desktop-source-button:disabled,.stage-desktop-timestamp:disabled{cursor:default;opacity:.7}.stage-desktop-close-button{border:0;border-radius:10px;width:auto;height:34px;padding:0 9px;font-size:10px}.stage-desktop-source-button:not(:disabled):hover,.stage-desktop-close-button:hover,.stage-desktop-status-actions button:hover,.stage-desktop-search button:not(:disabled):hover,.stage-desktop-pagination button:not(:disabled):hover{color:#fff;background:#e270a729}.stage-desktop-status-banner{color:#e9cbd9;background:#e270a714;border-bottom:1px solid #ffffff14;grid-template-columns:minmax(0,1fr) minmax(80px,30%) auto;align-items:center;gap:12px;padding:9px 16px;display:grid}.stage-desktop-status-banner.status-error{color:#ffb3c8;background:#ff5a871c}.stage-desktop-status-copy{gap:2px;min-width:0;font-size:11px;display:grid}.stage-desktop-status-copy span{opacity:.75;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stage-desktop-status-banner progress{accent-color:#de77a8;border:0;border-radius:999px;width:100%;height:6px}.stage-desktop-status-actions{gap:6px;display:flex}.stage-desktop-status-actions button{border-radius:8px;padding:6px 8px;font-size:10px}.stage-desktop-search{border-bottom:1px solid #ffffff12;grid-template-columns:minmax(120px,1fr) auto auto auto;align-items:center;gap:6px;padding:9px 14px;display:grid}.stage-desktop-search label{min-width:0}.stage-desktop-search input{color:#f8f4ff;background:#ffffff0b;border:1px solid #ffffff1c;border-radius:10px;outline:0;width:100%;height:32px;padding:0 10px;font-size:11px}.stage-desktop-search input::placeholder{color:#8e879b}.stage-desktop-search-count{color:#9991a4;text-align:right;min-width:62px;font-size:10px}.stage-desktop-search button{border-radius:9px;width:auto;min-width:42px;height:30px;padding:0 7px;font-size:9px}.stage-desktop-search button:disabled,.stage-desktop-pagination button:disabled{cursor:default;opacity:.32}.stage-desktop-search-excerpt{color:#a9a1b5;grid-column:1/-1;grid-template-columns:auto minmax(0,1fr);gap:7px;min-width:0;margin:1px 0 0;font-size:10px;display:grid}.stage-desktop-search-excerpt strong,.stage-desktop-search-excerpt span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stage-desktop-search-excerpt strong{color:#e4a2c2}.stage-desktop-viewer{overscroll-behavior:contain;scrollbar-color:#e270a773 transparent;flex:1;min-height:0;overflow:auto}.stage-desktop-document-page,.stage-desktop-web-preview,.stage-desktop-transcript,.stage-desktop-text-file,.stage-desktop-media-figure{margin:0;padding:18px}.stage-desktop-document-page h3{margin:0 0 12px;font-size:17px}.stage-desktop-page-image,.stage-desktop-media-image,.stage-desktop-web-image,.stage-desktop-video-poster{object-fit:contain;background:#ffffff09;border-radius:12px;max-width:100%;height:auto;margin:0 auto;display:block}.stage-desktop-page-image{max-height:68vh;box-shadow:0 12px 38px #00000047}.stage-document-original{background:#ffffff09;border-radius:12px;place-items:center;min-height:220px;display:grid;position:relative;overflow:hidden;box-shadow:0 12px 38px #00000047}.stage-document-original-mount,.stage-document-original-mount>[data-pdf-preview]{width:100%;min-width:0}.stage-document-original-mount canvas{background:#fff;max-width:100%;margin:0 auto;display:block;height:auto!important}.stage-document-original-frame{background:#fff;border:0;width:100%;min-height:clamp(220px,52vh,680px);display:block}.stage-document-original-status{color:#d8d0e2;text-align:center;background:#120f1be0;border-radius:9px;margin:0;padding:8px 10px;font-size:11px;position:absolute;inset:auto 12px 12px}.stage-document-original.state-error{min-height:150px}.stage-document-extracted-text{border-top:1px solid #ffffff14;margin-top:14px;padding-top:10px}.stage-document-extracted-text summary{cursor:pointer;color:#b5aabd;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:700}.stage-desktop-media-figure{align-content:center;gap:12px;min-height:100%;display:grid}.stage-desktop-media-image{max-height:calc(100vh - 330px)}.stage-desktop-media-figure figcaption{color:#aaa2b7;text-align:center;font-size:12px;line-height:1.55}.stage-desktop-web-image,.stage-desktop-video-poster{object-fit:cover;width:100%;max-height:260px;margin-bottom:16px}.stage-desktop-site-name{color:#e797bd;letter-spacing:.12em;text-transform:uppercase;margin:0 0 4px;font-size:10px;font-weight:700}.stage-desktop-byline{color:#958d9f;margin:0 0 14px;font-size:11px}.stage-desktop-plain-text{color:#ddd6e8;overflow-wrap:anywhere;white-space:pre-wrap;margin-top:14px;font-family:inherit;font-size:13px;line-height:1.7}.stage-desktop-text-file{margin:0}.stage-desktop-plain-text mark,.stage-desktop-transcript mark,.stage-desktop-media-figure mark{color:#1c1220;background:#f1b2d1;border-radius:3px;padding:0 1px}.stage-desktop-transcript-list{gap:3px;margin:0;padding:0;list-style:none;display:grid}.stage-desktop-transcript-cue{content-visibility:auto;contain-intrinsic-size:52px;border-radius:9px;grid-template-columns:55px minmax(0,1fr);gap:9px;padding:8px 6px;display:grid}.stage-desktop-transcript-cue:hover{background:#ffffff09}.stage-desktop-transcript-cue p{color:#d8d1e2;margin:0;font-size:12px;line-height:1.55}.stage-desktop-transcript-cue strong{color:#e4a1c1}.stage-desktop-timestamp{color:#a99ccb;text-align:left;background:0 0;border:0;align-self:start;padding:2px 0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px}.stage-desktop-empty-preview{color:#928a9f;text-align:center;place-items:center;min-height:180px;margin:0;padding:28px;font-size:12px;display:grid}.stage-desktop-truncation{color:#d0a0b8;font-size:11px}.stage-desktop-working-placeholder{grid-auto-flow:column;place-content:center;gap:7px;min-height:100%;display:grid}.stage-desktop-working-placeholder span{background:#dc78a8;border-radius:50%;width:7px;height:7px;animation:1.1s ease-in-out infinite stage-desktop-bounce}.stage-desktop-working-placeholder span:nth-child(2){animation-delay:.12s}.stage-desktop-working-placeholder span:nth-child(3){animation-delay:.24s}.stage-desktop-pagination{color:#aaa2b6;border-top:1px solid #ffffff14;justify-content:center;align-items:center;gap:12px;min-height:46px;padding:7px 12px;font-size:11px;display:flex}.stage-desktop-pagination button{border-radius:9px;width:auto;min-width:58px;height:29px;padding:0 9px;font-size:9px}.stage-desktop-visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}@keyframes stage-desktop-pulse{0%,to{opacity:.45;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}@keyframes stage-desktop-bounce{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-5px)}}@media (max-width:700px){.stage-desktop.window-side-left .stage-desktop-tray,.stage-desktop.window-side-right .stage-desktop-tray{left:10px;right:10px}.stage-desktop-tray{max-width:none;top:86px}.stage-desktop-tray ol{justify-content:flex-start}.stage-desktop-tray button:hover,.stage-desktop-tray button.active{width:min(150px,42vw)}.stage-desktop.window-side-left .stage-desktop-window,.stage-desktop.window-side-right .stage-desktop-window{left:8px;right:8px}.stage-desktop-window{border-radius:24px 24px 16px 16px;width:auto;min-width:0;height:min(58dvh,560px);max-height:calc(100dvh - 268px);top:auto;bottom:180px;box-shadow:0 -18px 60px #0000006b}.stage-desktop-window:before{z-index:1;content:"";background:#ffffff38;border-radius:999px;width:34px;height:3px;position:absolute;top:6px;left:50%;transform:translate(-50%)}.stage-desktop-window-header{grid-template-columns:auto minmax(0,1fr) auto auto;min-height:58px;padding:10px 10px 8px 12px}.stage-desktop-kind-label{min-width:38px;height:30px}.stage-desktop-source-button{max-width:88px;padding:6px}.stage-desktop-status-banner{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px 12px}.stage-desktop-status-banner progress{grid-area:2/1/auto/-1}.stage-desktop-search{grid-template-columns:minmax(90px,1fr) auto auto auto;padding:7px 10px}.stage-desktop-search-count{min-width:52px}.stage-desktop-search-excerpt{display:none}.stage-desktop-document-page,.stage-desktop-web-preview,.stage-desktop-transcript,.stage-desktop-text-file,.stage-desktop-media-figure{padding:13px}.stage-desktop-media-image{max-height:32dvh}.stage-document-original-frame{min-height:32dvh}}@media (max-width:700px) and (max-height:420px){.stage-desktop-window{height:auto;max-height:none;top:132px;bottom:154px}}@media (prefers-reduced-motion:reduce){.stage-desktop-tray button{transition:none}.stage-desktop-status-dot.status-loading,.stage-desktop-status-dot.status-queued,.stage-desktop-working-placeholder span{animation:none}}:root{color:#f5f1ff;font-synthesis:none;background:#090811;font-family:DM Sans,Noto Sans SC,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{background:radial-gradient(circle at 50% 30%,#2c193a 0,#13101f 38%,#08070d 100%);width:100%;height:100%;position:relative;overflow:hidden}.ambient{filter:blur(80px);opacity:.3;pointer-events:none;border-radius:999px;position:absolute}.ambient-one{background:#db6fa7;width:38vw;height:38vw;top:-20vw;right:-8vw}.ambient-two{background:#6657d9;width:32vw;height:32vw;bottom:-18vw;left:-10vw}.stage-host,.stage-canvas{width:100%;height:100%;position:absolute;inset:0}.glass-panel{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background:#0f0d199e;border:1px solid #ffffff1f;box-shadow:0 18px 50px #0000003d}.top-bar{border-radius:20px;justify-content:space-between;align-items:center;height:64px;padding:10px 12px;display:flex;position:absolute;top:20px;left:24px;right:24px}.brand{align-items:center;gap:12px;display:flex}.brand-mark{object-fit:contain;filter:drop-shadow(0 5px 10px #5dcdff38);width:44px;height:44px;display:block}.brand strong,.brand small{display:block}.status-chips{align-items:center;gap:6px;margin-top:4px;display:flex}.status-chip{color:#a9a2b8;background:#ffffff0f;border-radius:999px;align-items:center;gap:6px;max-width:240px;padding:3px 9px;font-size:11px;line-height:1;transition:color .15s,background .15s;display:inline-flex;overflow:hidden}.status-chip .status-message{text-overflow:ellipsis;white-space:nowrap;max-width:200px;display:inline-block;overflow:hidden}.memory-status{max-width:min(320px,42vw)}.memory-status .status-message{max-width:min(280px,36vw)}.status-chip.status-idle{color:#a9a2b8;background:#ffffff0d}.status-chip.status-busy{color:#f3a1c7;background:#f3a1c71f}.status-chip.status-busy:before{content:"";background:#f3a1c7;border-radius:50%;flex:0 0 6px;width:6px;height:6px;animation:1.4s ease-in-out infinite status-pulse;box-shadow:0 0 #f3a1c78c}.status-chip.status-progress{color:#c9bef0;background:#7862d92e}.status-chip.status-progress:before{content:"";background:#8269e0;border-radius:50%;flex:0 0 6px;width:6px;height:6px}.status-chip.status-error{color:#ff9fba;background:#ff5a872e}.status-chip.status-error:before{content:"";background:#ff5a87;border-radius:50%;flex:0 0 6px;width:6px;height:6px}.status-config-button{cursor:pointer;border:0}.status-config-button:hover{background:#ff5a8745}.status-chip .status-progress{background:#ffffff24;border-radius:999px;flex:0 0 56px;width:56px;height:3px;display:inline-block;overflow:hidden}.status-chip .status-progress>span{border-radius:inherit;background:linear-gradient(90deg,#e36fa8,#8269e0);height:100%;transition:width .2s;display:block}@keyframes status-pulse{0%,to{box-shadow:0 0 #f3a1c78c}50%{box-shadow:0 0 0 6px #f3a1c700}}.icon-button{color:#fff;background:#ffffff17;border:0;border-radius:13px;width:40px;height:40px;font-size:18px}.conversation{border-radius:24px;width:min(350px,100vw - 48px);max-height:calc(100vh - 230px);position:absolute;top:104px;left:24px;overflow:hidden}.empty-copy{padding:24px}.empty-copy h1{margin:5px 0 10px;font-size:26px}.empty-copy p:last-child{color:#aaa4b8;margin-bottom:0;line-height:1.55}.eyebrow{color:#e98bb6;letter-spacing:.15em;margin:0;font-size:10px;font-weight:700}.subtitle{text-align:center;text-shadow:0 2px 8px #000;background:#07060cb8;border-radius:14px;max-width:min(760px,82vw);padding:10px 18px;line-height:1.5;position:absolute;bottom:112px;left:50%;transform:translate(-50%)}.composer{z-index:8;border-radius:24px;flex-direction:column;gap:8px;width:min(760px,100vw - 48px);min-height:66px;padding:9px;display:flex;position:absolute;bottom:22px;left:50%;transform:translate(-50%)}.composer-row{align-items:flex-end;gap:9px;width:100%;display:flex}.composer textarea{resize:none;color:#fff;background:0 0;border:0;outline:0;flex:1;min-width:0;min-height:46px;max-height:120px;padding:12px 6px}.composer textarea::placeholder{color:#8e879c}.attach-button,.mic-button,.send-button{color:#fff;background:#ffffff1a;border:0;border-radius:16px;flex:none;min-width:46px;height:46px;padding:0 13px;font-size:12px;font-weight:700}.attach-button{color:#c9bef0}.mic-button{color:#e984b2}.mic-button.active{color:#fff;background:#dc4e7e;box-shadow:0 0 0 5px #dc4e7e2e}.mic-button.interrupting{color:#fff;background:#ffffff2e;animation:1.4s ease-in-out infinite mic-pulse;box-shadow:0 0 0 5px #ffffff1a}@keyframes mic-pulse{0%,to{box-shadow:0 0 0 5px #ffffff1a}50%{box-shadow:0 0 0 10px #ffffff0a}}.send-button{background:linear-gradient(135deg,#ef77aa,#8068df)}.send-button:disabled{opacity:.35;cursor:not-allowed}.send-button.stop{background:#cf476e;font-size:14px}.composer-attachments{scrollbar-width:thin;gap:7px;width:100%;padding:1px 1px 3px;display:flex;overflow-x:auto}.composer-attachment{background:#ffffff0e;border:1px solid #ffffff1a;border-radius:13px;flex:none;grid-template-columns:auto minmax(70px,150px) auto auto;align-items:center;gap:7px;min-width:220px;padding:7px 8px;display:grid}.composer-attachment.status-error{background:#ff5a8714;border-color:#ff5a8761}.composer-attachment-type{color:#c9bef0;letter-spacing:.08em;font-size:9px;font-weight:700}.composer-attachment-name{color:#eee9f6;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.composer-attachment-status{color:#9f98ab;font-size:9px}.composer-attachment button{color:#d9d1e5;background:0 0;border:0;padding:3px 5px;font-size:9px}.composer-attachment button:hover{color:#fff}.composer-dragging{border-color:#7eddffb3;box-shadow:0 0 0 4px #7eddff21,0 18px 50px #0000003d}.composer-drop-hint{border-radius:inherit;color:#fff;pointer-events:none;background:#281e40eb;place-items:center;font-size:13px;font-weight:700;display:grid;position:absolute;inset:0}.settings-backdrop{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#02020585;position:fixed;inset:0}.settings-loading{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#02020585;place-items:center;display:grid;position:fixed;inset:0}.settings-panel{background:#12101b;border-left:1px solid #ffffff1a;width:min(560px,100vw);height:100%;padding:24px;position:absolute;top:0;right:0;overflow-y:auto;box-shadow:-24px 0 70px #0006}.settings-header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.settings-header h2{margin:4px 0 0;font-size:28px}.settings-section{border-top:1px solid #ffffff17;gap:13px;padding:20px 0;display:grid}.settings-section h3{margin:0 0 2px;font-size:15px}.settings-section button{color:#fff;background:#ffffff14;border:1px solid #ffffff21;border-radius:11px;justify-self:start;padding:9px 13px}.settings-section button:disabled{cursor:wait;opacity:.55}.settings-section .primary-button{background:linear-gradient(135deg,#e270a747,#7862d93d);border-color:#e270a76b}.settings-section .pause-button{color:#ffd39a;background:#de913a1f;border-color:#ffbe6966}.settings-section.compact,.history-setting{grid-template-columns:1fr auto;align-items:center}.history-setting button{justify-self:end}.history-backdrop{z-index:30;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#020205b3;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.history-dialog{background:#12101b;border:1px solid #ffffff1f;border-radius:24px;flex-direction:column;width:min(680px,100%);max-height:min(720px,100vh - 48px);display:flex;overflow:hidden;box-shadow:0 28px 90px #0000008c}.history-dialog.conversation-library{width:min(1040px,100%);height:min(760px,100vh - 48px)}.history-dialog.character-profile-dialog{width:min(780px,100%);height:min(760px,100vh - 48px)}.history-header{border-bottom:1px solid #ffffff17;justify-content:space-between;align-items:center;padding:22px 24px 18px;display:flex}.history-header h2{margin:4px 0 0;font-size:24px}.history-header-actions{align-items:center;gap:8px;display:flex}.history-header-actions button{color:#fff;background:#ffffff12;border:1px solid #ffffff21;border-radius:10px;padding:8px 11px}.history-header-actions .icon-button{padding:0}.conversation-library-body{flex:1;grid-template-columns:minmax(250px,34%) 1fr;min-height:0;display:grid}.conversation-sidebar{border-right:1px solid #ffffff17;flex-direction:column;min-width:0;padding:16px;display:flex}.conversation-search{color:#f6f2fb;background:#ffffff0e;border:1px solid #ffffff1f;border-radius:11px;outline:0;width:100%;padding:10px 12px}.conversation-search:focus{border-color:#da79aa}.conversation-items{flex-direction:column;gap:8px;min-height:0;margin-top:12px;display:flex;overflow-y:auto}.conversation-item{background:#ffffff09;border:1px solid #0000;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:7px;display:grid}.conversation-item.active{background:#da79aa1a;border-color:#da79aa6b}.conversation-select{min-width:0;color:inherit;text-align:left;background:0 0;border:0;gap:4px;padding:5px;display:grid}.conversation-select strong,.conversation-select span,.conversation-select time{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.conversation-select strong{font-size:13px}.conversation-select span,.conversation-select time{color:#9c96a8;font-size:10px}.conversation-item-actions{flex-direction:column;gap:2px;display:flex}.conversation-item-actions button{color:#c9c1d6;background:0 0;border:0;border-radius:7px;width:26px;height:24px;padding:0}.conversation-item-actions button:hover{background:#ffffff17}.conversation-library-status{color:#aaa3b5;border-top:1px solid #ffffff17;padding:9px 20px;font-size:12px}.character-profile-body{flex-direction:column;flex:1;gap:16px;min-height:0;padding:20px 24px 24px;display:flex;overflow-y:auto}.character-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.profile-form-section{background:#ffffff06;border:1px solid #ffffff1a;border-radius:14px;gap:14px;padding:14px;display:grid}.profile-form-section>summary{cursor:pointer;color:#f5f1ff;font-size:13px;font-weight:700}.profile-form-section[open]>summary{margin-bottom:2px}.profile-checkbox-grid{border:1px solid #ffffff17;border-radius:11px;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px;margin:0;padding:12px;display:grid}.profile-checkbox-grid legend{color:#a9a1b5;padding:0 6px;font-size:11px}.profile-checkbox-grid label{color:#ddd6e6;align-items:center;gap:8px;font-size:12px;display:flex}.character-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.character-actions button{color:#fff;background:#ffffff14;border:1px solid #ffffff21;border-radius:11px;padding:9px 13px}.character-actions .primary-button{background:linear-gradient(135deg,#e270a747,#7862d93d);border-color:#e270a76b}.character-actions button:disabled{cursor:not-allowed;opacity:.55}.history-list{flex-direction:column;gap:12px;padding:20px 24px 24px;display:flex;overflow-y:auto}.conversation-summary{color:#c9bef0;background:#7862d917;border:1px solid #7862d94d;border-radius:14px;padding:12px 14px}.conversation-summary summary{cursor:pointer;font-size:12px;font-weight:700}.conversation-summary p{color:#c7c0d3;white-space:pre-wrap;margin:10px 0 0;font-size:12px;line-height:1.55}.history-message{background:#ffffff12;border-radius:16px;max-width:86%;padding:13px 15px}.history-message.user{background:#8e6ce838;align-self:flex-end}.history-message span{color:#e995bd;font-size:11px;font-weight:700}.history-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;font-size:14px;line-height:1.5}.history-empty{color:#aaa4b8;text-align:center;padding:44px 24px}.history-thinking,.history-tool-calls{border-top:1px dashed #ffffff1f;margin-top:10px;padding-top:9px}.history-thinking summary,.history-tool-calls summary{cursor:pointer;color:#e995bd;letter-spacing:.15em;align-items:center;gap:6px;font-size:11px;font-weight:700;list-style:none;display:inline-flex}.history-thinking summary::-webkit-details-marker{display:none}.history-tool-calls summary::-webkit-details-marker{display:none}.history-thinking summary:before,.history-tool-calls summary:before{content:"▸";color:#b39bd6;font-size:10px;transition:transform .15s;display:inline-block}.history-thinking[open]>summary:before,.history-tool-calls[open]>summary:before{transform:rotate(90deg)}.history-thinking pre{color:#d5cee8;white-space:pre-wrap;overflow-wrap:anywhere;background:#00000052;border-radius:10px;max-height:220px;margin:8px 0 0;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.5;overflow:auto}.history-tool-calls-list{flex-direction:column;gap:6px;margin-top:8px;display:flex}.history-tool-call{border-left:1px dashed #ffffff2e;padding:4px 0 4px 10px}.history-tool-call>summary{color:#c9bef0;letter-spacing:.08em;font-size:12px}.history-tool-call-body{gap:8px;margin-top:8px;display:grid}.history-tool-call-block{gap:4px;display:grid}.history-tool-call-label{color:#9c96a8;letter-spacing:.15em;text-transform:uppercase;font-size:10px}.history-tool-call pre{color:#d5cee8;white-space:pre-wrap;overflow-wrap:anywhere;background:#00000052;border-radius:9px;max-height:180px;margin:0;padding:9px 11px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;line-height:1.5;overflow:auto}.field{color:#aaa3b5;gap:6px;font-size:12px;display:grid}.field input,.field select,.field textarea{color:#f6f2fb;background:#ffffff0e;border:1px solid #ffffff1f;border-radius:11px;outline:0;width:100%;padding:10px 12px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#da79aa}.field input[readonly]{cursor:not-allowed;color:#c4becd;background:#ffffff06;border-style:dashed}.field select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.field select option{color:#f6f2fb;background:#211d2b}.field select option:checked{color:#fff;background:#765bd0}.field-label-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.field-label-row a{color:#e79ac0;font-size:11px;text-decoration:none}.field-label-row a:hover{color:#fff;text-decoration:underline}.secret-input-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.settings-section .secret-visibility-button{place-self:stretch stretch;min-width:58px;padding:0 10px}.select-with-status{grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:8px;display:grid}.select-with-status>.search-button{width:100%;height:40px}.model-status{border:1px solid #ffffff1f;border-radius:11px;place-items:center;width:100%;height:40px;font-size:15px;font-weight:700;display:grid}.model-status.downloaded{color:#79e1b4;background:#3ab27f1f}.model-status.not-downloaded{color:#aaa3b5;background:#ffffff0b}.custom-model-input{margin-top:8px}.search-button{color:#f3a1c7;background:#da79aa1a;border:1px solid #da79aa61;border-radius:11px;place-items:center;font-size:22px;text-decoration:none;display:grid}.search-button:hover{color:#fff;background:#da79aa33;border-color:#da79aa}.search-button:disabled,.search-button.loading{cursor:wait;color:#c9bef0;background:#7862d91f;border-color:#7862d980}.search-button.error{color:#ff9fba;background:#ff5a871f;border-color:#ff5a878c}.search-button.error:hover{color:#fff;background:#ff5a8738;border-color:#ff5a87}.search-button.loading{animation:.9s linear infinite search-spin}@keyframes search-spin{to{transform:rotate(360deg)}}.model-fetch-error{color:#ff9fba;margin-top:6px;font-size:12px;line-height:1.45;display:block}.settings-section .search-button{color:#f3a1c7;background:#da79aa1a;border:1px solid #da79aa61;padding:0}.settings-section .search-button:hover{color:#fff;background:#da79aa33;border-color:#da79aa}.toggle-row{color:#c4becd;align-items:center;gap:9px;font-size:13px;display:flex}.toggle-row input{accent-color:#db70a5}.settings-actions{align-items:center;gap:12px;display:flex}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.status-copy{color:#9c96a8;font-size:12px}.download-progress{color:#aaa3b5;gap:6px;font-size:12px;display:grid}.download-progress progress{accent-color:#db70a5;border:0;border-radius:999px;width:100%;height:7px;overflow:hidden}.download-progress progress::-webkit-progress-bar{background:#ffffff14}.download-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#e36fa8,#8269e0);border-radius:999px}.range-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.danger-button{color:#ff9fba!important}.settings-section-copy{color:#9f98ab;margin:0;font-size:12px;line-height:1.55}.developer-tools{margin-top:4px}.developer-tool-select optgroup{color:#15121a;background:#fff}.developer-tool-description{color:#bdb5c9;background:#ffffff09;border-left:2px solid #e270a78c;margin:-2px 0 0;padding:10px 12px;font-size:12px;line-height:1.55}.developer-tool-mode{background:#0000002e;border:1px solid #ffffff1a;border-radius:10px;justify-self:start;padding:3px;display:inline-flex}.settings-section .developer-tool-mode button{color:#9f98ab;background:0 0;border:0;border-radius:7px;padding:5px 11px;font-size:11px}.settings-section .developer-tool-mode button.active{color:#fff;background:#e270a73d}.developer-tool-fields{gap:12px;display:grid}.developer-tool-options{border:1px solid #ffffff1a;border-radius:11px;flex-wrap:wrap;gap:8px 14px;margin:0;padding:10px 12px 12px;display:flex}.developer-tool-options legend{color:#bdb5c9;padding:0 5px;font-size:11px}.developer-tool-options label{color:#e5deec;align-items:center;gap:6px;font-size:12px;display:inline-flex}.developer-tool-json{resize:vertical;min-height:150px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.45}.developer-tool-json.compact{min-height:82px}.developer-tool-result{background:#227a521a;border:1px solid #74d0a440;border-radius:11px;gap:7px;padding:11px 12px;display:grid}.developer-tool-result.error{background:#8e2a3d1f;border-color:#f474844d}.developer-tool-result strong{color:#a8e4c5;letter-spacing:.12em;text-transform:uppercase;font-size:11px}.developer-tool-result.error strong{color:#ff9bab}.developer-tool-result pre{color:#ddd5e7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;margin:0;font-size:11.5px;line-height:1.5;overflow:auto}.voice-route-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.voice-route-card{color:#cac3d5;cursor:pointer;background:#ffffff09;border:1px solid #ffffff1c;border-radius:15px;gap:10px;min-width:0;padding:14px;transition:border-color .16s,background .16s,transform .16s;display:flex;position:relative}.voice-route-card:hover{background:#da79aa12;border-color:#da79aa61;transform:translateY(-1px)}.voice-route-card.selected{background:linear-gradient(145deg,#da79aa29,#7862d91a);border-color:#da79aaad;box-shadow:inset 0 0 0 1px #da79aa1a}.voice-route-card:focus-within{outline-offset:2px;outline:2px solid #da79aabf}.voice-route-card input{accent-color:#db70a5;flex:none;margin:3px 0 0}.voice-route-card span{gap:5px;min-width:0;display:grid}.voice-route-card strong{color:#f5f1ff;font-size:13px}.voice-route-card small{color:#9f98ab;font-size:11px;line-height:1.45}.route-settings-details>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;list-style:none;display:flex}.route-settings-details>summary::-webkit-details-marker{display:none}.route-settings-details>summary:after{content:"⌄";color:#b9afc6;flex:none;transition:transform .16s}.route-settings-details[open]>summary:after{transform:rotate(180deg)}.route-settings-details>summary strong{color:#f5f1ff;font-size:14px}.route-settings-details>summary small{color:#9f98ab;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin-left:auto;font-size:11px;font-weight:500;overflow:hidden}.route-settings-details[open]>summary{margin-bottom:14px}.settings-route-stack{display:grid}.settings-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings-badge{color:#d1c6fb;letter-spacing:.05em;text-transform:uppercase;background:#7862d924;border:1px solid #7862d96b;border-radius:999px;justify-content:center;align-items:center;width:-moz-fit-content;width:fit-content;padding:4px 8px;font-size:10px;font-weight:700;display:inline-flex}.toggle-detail{align-items:flex-start;padding:4px 0}.toggle-detail input{margin-top:3px}.toggle-detail span{gap:3px;display:grid}.toggle-detail strong{color:#dcd6e5;font-size:13px}.toggle-detail small{color:#918a9e;font-size:11px;line-height:1.45}.shared-capabilities{flex-wrap:wrap;gap:7px;display:flex}.shared-capabilities span{color:#a9dfc5;background:#3ab27f1a;border-radius:999px;padding:5px 8px;font-size:10px}.settings-reset{padding-bottom:32px}@media (max-width:700px){.settings-panel{padding:18px}.top-bar{top:12px;left:12px;right:12px}.conversation{width:calc(100vw - 24px);max-height:30vh;top:90px;left:12px}.history-setting{grid-template-columns:1fr}.history-setting button{justify-self:start}.history-backdrop{padding:12px}.history-dialog{max-height:calc(100vh - 24px)}.history-dialog.conversation-library,.history-dialog.character-profile-dialog{height:calc(100vh - 24px)}.character-form-grid,.profile-checkbox-grid{grid-template-columns:1fr}.history-header{align-items:flex-start;gap:12px}.history-header-actions{flex-wrap:wrap;justify-content:flex-end}.conversation-library-body{grid-template-rows:minmax(180px,42%) 1fr;grid-template-columns:1fr}.conversation-sidebar{border-bottom:1px solid #ffffff17;border-right:0}.subtitle{bottom:100px}.composer{width:calc(100vw - 24px);bottom:12px}.composer-row{gap:6px}.attach-button,.mic-button,.send-button{border-radius:14px;min-width:42px;height:42px;padding:0 9px}.composer textarea{min-height:42px;padding-inline:3px}.range-grid,.voice-route-grid{grid-template-columns:1fr}}
