.auth-screen{min-height:100svh;display:grid;place-items:center;overflow:hidden;padding:22px;background:#080a12;color:#f4f6ff}.auth-shell{position:relative;isolation:isolate;width:min(440px,100%);overflow:hidden;border:1px solid #ffffff18;border-radius:26px;padding:28px;background:linear-gradient(145deg,#171b2cdd,#0e101add);box-shadow:0 30px 90px #0009;backdrop-filter:blur(20px)}.auth-orb{position:absolute;z-index:-1;border-radius:999px;filter:blur(3px);opacity:.42}.auth-orb-one{width:280px;height:280px;right:-150px;top:-135px;background:#536cff}.auth-orb-two{width:230px;height:230px;left:-160px;bottom:-120px;background:#963ef0}.auth-brand{display:flex;align-items:center;gap:11px}.auth-brand strong{display:block;font-size:20px;letter-spacing:-.03em}.auth-brand span{display:block;margin-top:2px;color:#aeb4ce;font-size:11px}.auth-mark{position:relative;display:inline-grid;width:35px;height:35px;place-items:center;border:1px solid #9daaff88;border-radius:12px;background:#7888ff18;transform:rotate(30deg)}.auth-mark i{position:absolute;width:14px;height:14px;border:2px solid #aab5ff;border-radius:4px}.auth-mark i:nth-child(2){transform:translate(7px,7px);border-color:#ce9bff}.auth-mark i:nth-child(3){transform:translate(-7px,-7px);border-color:#7ee4ff}.auth-intro{margin:36px 0 21px}.auth-eyebrow,.settings-kicker{display:block;color:#9fafff;font-weight:750;font-size:10px;letter-spacing:.14em}.auth-intro h1,.auth-recovery h1{max-width:330px;margin:8px 0;font-size:29px;letter-spacing:-.055em;line-height:1.08}.auth-intro p,.auth-recovery p{margin:0;color:#adb4ca;line-height:1.55}.auth-tabs{display:flex;gap:4px;padding:4px;border-radius:12px;background:#07091285}.auth-tabs button{flex:1;border:0;border-radius:8px;padding:9px 3px;background:transparent;color:#a8aec4;font-size:12px;font-weight:700}.auth-tabs button.is-active{background:#ffffff12;color:#fff;box-shadow:0 2px 10px #0004}.auth-form label,.settings-form label,.settings-content>section>label{display:block;margin:17px 0 0;color:#dce1f4;font-size:12px;font-weight:700}.auth-form input,.settings-panel input,.settings-panel textarea,.settings-panel select{width:100%;margin-top:7px;border:1px solid #ffffff17;border-radius:10px;padding:11px 12px;background:#070912aa;color:#f7f8ff;outline:none}.auth-form input:focus,.settings-panel input:focus,.settings-panel textarea:focus,.settings-panel select:focus{border-color:#8494ff;box-shadow:0 0 0 3px #7d8dff22}.auth-form small{display:block;margin-top:6px;color:#8990a9;font-weight:500}.auth-submit,.auth-copy{width:100%;margin-top:22px;border:0;border-radius:11px;padding:12px;background:linear-gradient(100deg,#6880ff,#9a65eb);color:#fff;font-weight:800}.auth-error{margin:13px 0 0;color:#ffafbb;font-size:13px;line-height:1.4}.auth-recovery{margin-top:42px}.auth-recovery code{display:block;margin:21px 0 0;overflow-wrap:anywhere;border:1px dashed #9daaff66;border-radius:12px;padding:14px;background:#06081299;color:#dbe0ff;font-size:15px;letter-spacing:.08em}.auth-text-button,.auth-footer button{border:0;padding:8px 0;background:transparent;color:#aebaff;font-weight:700}.auth-text-button{display:block;margin:10px auto 0}.auth-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:28px;padding-top:18px;border-top:1px solid #ffffff12;color:#8d94aa;font-size:11px}.auth-footer button{font-size:11px;white-space:nowrap}.settings-panel{position:fixed;z-index:50;top:0;right:0;display:flex;width:min(420px,100%);height:100svh;flex-direction:column;border-left:1px solid #ffffff18;background:#10131eee;color:#f4f6ff;box-shadow:-22px 0 70px #0008;backdrop-filter:blur(24px)}.settings-header{display:flex;align-items:center;justify-content:space-between;padding:23px 22px 16px;border-bottom:1px solid #ffffff10}.settings-header h2{margin:4px 0 0;font-size:22px;letter-spacing:-.04em}.settings-close{color:#e9edff!important;font-size:26px!important}.settings-mode{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:16px 22px 10px;padding:4px;border-radius:12px;background:#070912}.settings-mode button,.settings-tabs button{border:0;background:transparent;color:#9199b1;font-weight:700}.settings-mode button{border-radius:9px;padding:9px}.settings-mode .is-selected{background:#232942;color:#e8ebff}.settings-tabs{display:flex;gap:2px;padding:0 17px;border-bottom:1px solid #ffffff10}.settings-tabs button{padding:12px 8px;border-bottom:2px solid transparent;font-size:12px}.settings-tabs .is-active{border-color:#8493ff;color:#eef0ff}.settings-content{overflow-y:auto;padding:19px 22px 34px}.settings-content h3{margin:0 0 8px;font-size:17px;letter-spacing:-.02em}.settings-content h4{margin:21px 0 9px;font-size:13px}.settings-help,.settings-danger p{margin:0 0 15px;color:#aab1c7;font-size:12px;line-height:1.55}.settings-alert{margin:0 0 16px;border:1px solid #6c8cff44;border-radius:10px;padding:10px;background:#6d84ff1c;color:#cfd6ff;font-size:12px}.settings-alert.is-error{border-color:#ff778144;background:#ff536116;color:#ffb9c0}.settings-provider{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 0;border:1px solid #ffffff12;border-radius:11px;padding:11px;background:#07091255}.settings-provider b,.settings-provider small{display:block}.settings-provider b{font-size:13px}.settings-provider small{max-width:230px;margin-top:4px;overflow:hidden;color:#98a0ba;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.settings-form{margin-top:22px}.settings-form .btn{margin-top:17px}.settings-panel textarea{min-height:145px;resize:vertical;line-height:1.45}.settings-panel .btn{border:1px solid #ffffff18;border-radius:10px;padding:9px 11px;background:#20263a;color:#f3f5ff;font-size:12px;font-weight:750}.settings-panel .btn-primary{border:0;background:linear-gradient(100deg,#627bff,#9561e8)}.settings-panel .btn-ghost{background:transparent;color:#c7ceff}.settings-switch{display:flex!important;align-items:center;gap:9px;color:#c8cee1!important;font-size:12px!important}.settings-switch input{position:absolute;width:1px!important;height:1px;opacity:0}.settings-switch span{width:33px;height:19px;border-radius:99px;background:#3a4053;transition:.2s}.settings-switch span:after{display:block;width:15px;height:15px;margin:2px;border-radius:50%;background:#c5cada;content:"";transition:.2s}.settings-switch input:checked+span{background:#7186ff}.settings-switch input:checked+span:after{transform:translate(14px);background:#fff}.settings-inline{display:flex;gap:8px;margin-top:12px}.settings-inline input{margin:0}.settings-memory-item{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;margin-top:7px;border-bottom:1px solid #ffffff0e;padding:8px 0;color:#c4cadc;font-size:12px;line-height:1.4}.settings-memory-item .icon-btn{padding:0;color:#ffb0ba}.settings-danger{margin-top:28px;border:1px solid #ec5b6940;border-radius:13px;padding:14px;background:#e4505e10}.settings-danger h4{margin-top:0;color:#ffbdc4}.settings-delete{border-color:#f16a7644!important;background:#8e2933!important}.settings-empty{padding:28px 4px}.settings-empty p{color:#aab1c7;line-height:1.55}.settings-empty .btn{margin-top:10px}@media(max-width:480px){.auth-shell{min-height:calc(100svh - 30px);padding:25px 20px;border-radius:22px}.auth-footer{align-items:flex-start;flex-direction:column;gap:3px}.settings-panel{top:11px;right:11px;width:min(420px,calc(100% - 22px));height:calc(100svh - 22px);border:1px solid #ffffff18;border-radius:18px}.settings-content{padding:18px 16px 30px}.settings-header{padding:20px 16px 14px}.settings-mode{margin-left:16px;margin-right:16px}.settings-tabs{padding:0 11px}.settings-provider{align-items:flex-start;flex-direction:column}.settings-provider .btn{width:100%}}@media(prefers-reduced-motion:reduce){.auth-orb{filter:none}.settings-panel{transition:none!important}}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.static{position:static}.inline{display:inline}.hidden{display:none}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:root{color-scheme:dark;--bg:#090b10;--surface:#101219;--raised:#171a24;--line:#ffffff0d;--line-strong:#ffffff14;--text:#e7e9f0;--muted:#777e91;--accent:#8999ff;--blue:#7c91fc;--purple:#ae83fa;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{margin:0;min-width:320px;width:100%;height:100%;overflow:hidden}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button,a,input,textarea,select{outline-offset:4px}:focus-visible{outline:2px solid #9aaaff}button{color:inherit}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}button svg,span svg{flex-shrink:0}svg{display:block}::-moz-selection{background:#8195ff40}::selection{background:#8195ff40}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#ffffff1f;border-radius:5px}::-webkit-scrollbar-track{background:transparent}.muted{color:var(--muted)}.icon-btn{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;padding:8px;border-radius:9px;color:#8991a5;transition:color .16s,background .16s}.icon-btn:hover{background:#ffffff09;color:#e7eaff}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line-strong);border-radius:9px;padding:10px 14px;color:#dce1f1;background:#191c27;font-size:12px;font-weight:600;transition:.16s}.btn:hover{filter:brightness(1.14)}.btn-primary{background:linear-gradient(110deg,#7088ec,#9271d7);border-color:#a1a9fa25;color:#fff}.btn-ghost{background:transparent}.brand{display:inline-flex;align-items:center;gap:10px;font-size:23px;font-weight:650;letter-spacing:-1px;white-space:nowrap;color:#eef0f9}.brand-dot{color:#8b9cff}.brand-symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#b4bcff;background:linear-gradient(145deg,#718dff1c,#ae74ef18);border:1px solid #9d9fff23;box-shadow:inset 0 1px #c4c9ff0a}.brand-symbol svg{width:25px;height:25px}.brand-small .brand-symbol{width:32px;height:32px;border-radius:10px}.app-shell{display:flex;height:100dvh;min-height:0;background:var(--bg);overflow:hidden}.skip-link{position:fixed;top:5px;left:8px;z-index:100;background:#d9ddff;color:#111;padding:12px;border-radius:8px;transform:translateY(-200%)}.skip-link:focus{transform:translateY(0)}.sidebar{width:256px;flex-shrink:0;display:flex;flex-direction:column;background:#0d0f15;border-right:1px solid var(--line);padding:30px 18px 0}.sidebar-brand{display:flex;align-items:center;gap:7px;padding:0 6px 30px}.workspace-tag{font-size:7px;font-weight:600;letter-spacing:1.4px;color:#70768a;background:#ffffff05;border:1px solid var(--line-strong);border-radius:4px;padding:4px 5px;margin-left:auto}.new-chat{display:flex;align-items:center;gap:9px;border:1px solid #b1b7ff24;border-radius:10px;padding:12px;color:#d8dffc;background:linear-gradient(110deg,#526db71c,#9172c512);box-shadow:0 1px #ffffff04 inset;font-size:12px;font-weight:550;transition:.2s}.new-chat:hover{border-color:#8195ff55;background:#617be320}.new-chat kbd{margin-left:auto;color:#6f789c;background:#ffffff05;border:1px solid #ffffff0b;border-radius:4px;font-size:11px;padding:0 4px;font-family:inherit}.history-search{display:flex;align-items:center;gap:9px;margin:22px 7px 25px;color:#575f73}.history-search input{min-width:0;width:100%;background:transparent;border:0;color:#bac2d7;font-size:11px;padding:5px 0}.history-search input::-moz-placeholder{color:#626a7d}.history-search input::placeholder{color:#626a7d}.history-label{display:flex;justify-content:space-between;color:#626a7d;font-size:9px;font-weight:650;letter-spacing:1px;padding:0 9px 13px}.history-label span{font-size:9px;letter-spacing:0}.chat-history{overflow-y:auto;flex:1;min-height:65px}.history-item{display:flex;align-items:center;border-radius:8px;margin:3px 0;position:relative}.history-item>button:first-child{display:flex;align-items:center;gap:9px;border:0;background:transparent;flex:1;min-width:0;padding:11px 10px;text-align:left;font-size:11px;color:#8b93a7;line-height:1.35}.history-item>button:first-child>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item.is-active{background:#7a8df40d;border:1px solid #7e92f414}.history-item.is-active>button:first-child{color:#bfcaff}.history-item:hover{background:#ffffff06}.delete-chat{flex-shrink:0;border:0;border-radius:4px;background:transparent;padding:6px;color:#838ba2;opacity:0}.history-item:hover .delete-chat,.delete-chat:focus-visible{opacity:1}.delete-chat:hover{color:#ffb2ba}.active-indicator{margin-left:auto;width:4px;height:4px;border-radius:10px;background:#8e9dfc;flex-shrink:0}.history-note{padding:14px 10px;color:#636b80;font-size:11px;line-height:1.7}.sidebar-footer{flex-shrink:0;padding:16px 0 0}.local-status-card{padding:12px;border:1px solid var(--line-strong);border-radius:10px;background:linear-gradient(135deg,#21263b32,transparent);margin:0 3px 16px}.local-status-title{display:flex;align-items:center;gap:7px;color:#9aa4c1;font-size:11px;font-weight:550}.local-status-title .status-dot{margin-left:auto}.local-status-card p{margin:9px 0 3px;font-size:11px;color:#b9bfcd}.local-status-card>span{font-size:9px;color:#626c83}.sidebar-action{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;color:#7f889c;font-size:11px;padding:10px;border-radius:8px;text-align:left}.sidebar-action svg:last-child{margin-left:auto;color:#50596d}.sidebar-action:hover{background:#ffffff06;color:#d9e0f4}.user-row{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);margin:15px -18px 0;padding:18px 22px max(18px,env(safe-area-inset-bottom));background:#ffffff01}.user-avatar{display:grid;place-items:center;height:31px;width:31px;border-radius:10px;background:linear-gradient(135deg,#444b70,#403555);color:#d5dafa;font-size:11px;border:1px solid #ffffff10}.user-row strong{display:block;font-size:11px;font-weight:550;max-width:155px;overflow:hidden;text-overflow:ellipsis}.user-row small{display:block;font-size:9px;color:#67728d;margin-top:3px}.user-online{width:5px;height:5px;border-radius:10px;background:#658c86;margin-left:auto}.workspace{flex:1;min-width:0;display:flex;flex-direction:column;position:relative;isolation:isolate;background:radial-gradient(ellipse at 47% 38%,#4d52a608,transparent 58%),#090b10;transition:margin-right .25s}.topbar{height:68px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line)}.topbar-left{min-width:0;display:flex;align-items:center;gap:10px}.desktop-breadcrumb{display:flex;align-items:center;gap:12px;font-size:11px;color:#626a7e;min-width:0}.desktop-breadcrumb svg{color:#40495c}.desktop-breadcrumb strong{font-weight:450;color:#adb4c6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px}.topbar-actions{display:flex;align-items:center;gap:13px;margin-left:10px}.agent-badge{display:flex;align-items:center;gap:7px;white-space:nowrap;border:1px solid #ffffff0d;background:#ffffff02;border-radius:7px;padding:6px 8px;color:#7a8399;font-size:9px}.agent-badge.online{color:#93cbb8;border-color:#76c4a525;background:#76c4a508}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#6d7385;flex-shrink:0}.status-dot.online{background:#7cd3ad;box-shadow:0 0 7px #7cd3ad33}.status-dot.checking{background:#aba3e7;animation:pulse 1s infinite}.conversation-bar{height:64px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0;padding:0 36px}.model-picker{display:flex;align-items:center;gap:8px;min-width:0}.model-picker select{max-width:340px;border:0;background:transparent;color:#cdd4e6;font-size:12px;font-weight:550;padding:8px 20px 8px 0;cursor:pointer;text-overflow:ellipsis;min-width:0}.model-picker select option{background:#151823}.model-icon{display:grid;place-items:center;width:25px;height:25px;border:1px solid #9f9bff22;border-radius:7px;background:#958bff0c;color:#b7b2ed}.model-picker>button{display:flex;align-items:center;gap:9px;color:#cdd4e6;background:none;border:0;padding:0;min-width:0}.model-picker strong{font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.mode-tag{font-size:7px;font-weight:650;padding:3px 5px;letter-spacing:.7px;color:#7d8cba;border:1px solid #7f98d225;border-radius:4px}.private-note{display:flex;align-items:center;gap:6px;color:#566078;font-size:9px;white-space:nowrap}.chat-canvas{flex:1;min-height:0;display:flex;flex-direction:column;position:relative}.message-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;display:flex;flex-direction:column}.welcome{width:min(760px,100%);padding:48px 28px 30px;margin:auto;text-align:center}.welcome-emblem{display:inline-grid;place-items:center;width:70px;height:70px;margin-bottom:28px;border:1px solid #999bff1b;border-radius:23px;background:radial-gradient(circle at 25% 15%,#6e8af029,#8f68db0d 70%);box-shadow:0 0 70px #8179f30a,inset 0 1px #bdc8ff12;transform:rotate(-4deg)}.welcome-emblem .brand-symbol{width:43px;height:43px;background:none;border:0;box-shadow:none;transform:rotate(4deg)}.welcome-emblem .brand-symbol svg{width:43px;height:43px;color:#b4beff}.eyebrow{display:block;font-size:8px;font-weight:550;letter-spacing:2.2px;color:#717d9c;margin-bottom:17px}.welcome h1{font-size:clamp(30px,3.1vw,43px);font-weight:500;line-height:1.23;letter-spacing:-1.7px;color:#e8eaf2}.welcome h1>span{background:linear-gradient(110deg,#aab7ed 5%,#a6a1d9 65%,#bea7d7);-webkit-background-clip:text;background-clip:text;color:transparent}.welcome>p{font-size:12px;font-weight:400;line-height:1.85;color:#747f97;margin:17px 0 37px}.starter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;text-align:left;max-width:620px;margin:0 auto}.starter-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:18px;border:1px solid var(--line-strong);border-radius:12px;padding:17px 14px;background:linear-gradient(140deg,#141721b3,#10121a66);transition:transform .18s,border-color .18s,background .18s;text-align:left;min-height:103px}.starter-card:hover{border-color:#8e9ee94d;background:#2025387a;transform:translateY(-3px)}.starter-icon{display:block;color:#939fd1}.starter-icon.code{color:#b295d1}.starter-icon.sparkle{color:#8faebe}.starter-card strong{font-size:10px;letter-spacing:-.1px;font-weight:450;color:#a6aec3;max-width:95%}.starter-arrow{position:absolute;right:10px;top:20px;color:#424c67}.setup-hint{display:inline-flex;align-items:center;gap:7px;color:#7d8bb7;border:0;background:none;font-size:10px;margin-top:24px;padding:8px}.setup-hint:hover{color:#c0cbf5}.composer-area{width:min(860px,100%);padding:16px 34px max(17px,env(safe-area-inset-bottom));margin:0 auto;flex-shrink:0;background:linear-gradient(0deg,#090b10 80%,transparent)}.composer-shell{border:1px solid #acb6e124;border-radius:16px;background:linear-gradient(120deg,#171b26b5,#13151fb5);box-shadow:0 4px 30px #00000026,inset 0 1px #c1caff05;backdrop-filter:blur(16px);padding:17px 17px 12px;transition:border-color .2s,box-shadow .2s}.composer-shell:focus-within{border-color:#97a7f050;box-shadow:0 4px 30px #00000026,0 0 0 3px #7c8efc05}.composer-shell textarea{display:block;width:100%;min-height:28px;max-height:160px;padding:0;resize:none;border:0;outline:none;background:transparent;color:#dce1f3;font-size:12px;line-height:1.6;scrollbar-width:thin}.composer-shell textarea::-moz-placeholder{color:#626d87}.composer-shell textarea::placeholder{color:#626d87}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}.composer-tools{display:flex;align-items:center;gap:5px;min-width:0}.composer-label{display:inline-flex;align-items:center;gap:6px;color:#737f9c;font-size:10px}.composer-toggle{display:inline-flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid #ffffff08;border-radius:6px;background:transparent;color:#737f9c;font-size:9px;white-space:nowrap}.composer-toggle.is-on{color:#afc0ff;background:#889dff10;border-color:#889dff2e}.composer-toggle:hover{color:#c6d2ef}.composer-send{display:flex;align-items:center;gap:11px}.enter-hint{font-size:8px;color:#4a566e;white-space:nowrap}.send-button{display:grid;place-items:center;width:33px;height:33px;flex-shrink:0;border:1px solid #ffffff10;border-radius:10px;color:#f0f1ff;background:linear-gradient(135deg,#8d9bea,#9a86cf);box-shadow:0 1px 5px #0003}.send-button:disabled{background:#424b69;opacity:.55;color:#bdc7e7}.stop-button{background:#272d45;color:#cdd7fb}.composer-caption{display:flex;justify-content:center;align-items:center;gap:5px;color:#4c5972;font-size:8px;line-height:1.5;margin-top:12px;text-align:center}.caption-divider{padding:0 2px}.mobile-break{display:none}.message-list{width:min(800px,100%);margin:0 auto;padding:28px 28px 36px}.message{display:flex;gap:16px;padding:16px 0 24px}.message-avatar{flex-shrink:0;width:32px}.message-user .message-avatar>span{display:grid;place-items:center;border:1px solid #d8dbf317;background:#24293c;width:31px;height:31px;border-radius:10px;color:#acb9e0;font-size:11px}.message-body{min-width:0;flex:1;padding-top:2px}.message-role{display:flex;align-items:center;gap:8px;color:#d8dff1;font-size:12px;font-weight:600;line-height:1.5;margin-bottom:10px}.message-role>span{font-size:7px;color:#596582;font-weight:550;letter-spacing:.8px}.message-content{font-size:13px;line-height:1.85;color:#aab3c9;overflow-wrap:anywhere}.prose{white-space:pre-wrap}.prose:empty{display:none}.prose strong{color:#d7def2;font-weight:600}.prose code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#859bfa12;border:1px solid #859bfa12;border-radius:4px;padding:2px 4px;color:#b8c7ff;font-size:11px}.message-user .message-content{color:#d1d9ee}.message-user .message-content>.prose{background:#151924;border:1px solid #ffffff0b;border-radius:0 13px 13px;padding:13px 16px;display:inline-block;max-width:100%}.code-block{margin:12px 0;border:1px solid #ffffff10;border-radius:11px;overflow:hidden;background:#070a11}.code-block header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff09;background:#0e121c;padding:8px 12px;font-size:10px;color:#687996}.code-block header button{display:flex;align-items:center;gap:5px;background:transparent;border:0;font-size:9px;color:#7889aa}.code-block pre{margin:0;padding:14px;overflow-x:auto;color:#b4c4e8;font:11px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace}.message-sources{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.message-sources a{display:flex;align-items:center;max-width:240px;gap:5px;background:#8293cf09;border:1px solid #8293cf1c;border-radius:6px;padding:5px 8px;font-size:10px;overflow:hidden;color:#a0b0d8}.thinking{display:flex;align-items:center;gap:13px;padding:16px 0;color:#5f708d;font-size:10px}.thinking-dots{display:flex;gap:3px}.thinking-dots i{width:4px;height:4px;border-radius:50%;background:#8f9ed3;animation:pulse 1.2s infinite}.thinking-dots i:nth-child(2){animation-delay:.15s}.thinking-dots i:nth-child(3){animation-delay:.3s}.tool-card{border:1px solid #879fff24;border-radius:12px;margin:14px 0;padding:13px;background:linear-gradient(125deg,#7388cf0b,#745b9906)}.tool-heading{display:flex;align-items:center;gap:10px}.tool-symbol{padding:8px;border-radius:8px;background:#8597ff0d;color:#9dacf0}.tool-heading>div{flex:1;min-width:0}.tool-heading strong{display:block;font-size:11px;color:#c5d1f1;font-weight:600}.tool-heading span[role]{display:block;font-size:9px;color:#7584a3;margin-top:5px}.tool-arguments{margin:12px 0;overflow:auto;max-height:230px;border-radius:7px;padding:10px;background:#04070d88;border:1px solid #ffffff09;white-space:pre-wrap;word-break:break-word;font:10px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;color:#a7b9df}.tool-card p{color:#7685a1;font-size:10px;line-height:1.7;margin:9px 0}.tool-actions{display:flex;gap:8px;margin-top:12px}.tool-actions .btn{font-size:10px;padding:8px 10px}.tool-card.tool-success{border-color:#82c1b22e}.tool-success .tool-symbol{color:#8ed3bd}.tool-card .tool-error{color:#dca3ad}.tool-running .tool-symbol{color:#a6b6ff}.spin{animation:spin 1.5s linear infinite}.jump-bottom{position:absolute;bottom:156px;right:calc(50% - 18px);border:1px solid #7e90d047;border-radius:50%;background:#141b2b;color:#a2b1de;box-shadow:0 3px 20px #0006;z-index:1}.offline-banner{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 20px;color:#c4b4da;background:#9f81c20b;border-bottom:1px solid #9f81c215;font-size:10px;flex-shrink:0}.toast{position:absolute;bottom:160px;left:50%;transform:translate(-50%);z-index:40;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:min(560px,90%);padding:11px 13px;border:1px solid #8d9fda35;background:#1c2033f5;backdrop-filter:blur(20px);color:#c6cee6;border-radius:11px;box-shadow:0 8px 30px #0007;font-size:11px;line-height:1.6}.toast .icon-btn{width:25px;height:25px}.splash,.fatal{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;background:#090b10;color:#99a7c8}.splash p{font-size:11px}.loading-line{width:100px;height:2px;border-radius:5px;background:linear-gradient(90deg,transparent,#8a98f2,transparent);animation:pulse 1s infinite}.fatal p{color:#7a89a7}.auth-service-error{position:fixed;bottom:12px;left:50%;transform:translate(-50%);width:min(420px,90%);font-size:11px;background:#21253af5;color:#cad2eb;border:1px solid #ffffff18;border-radius:10px;padding:12px;z-index:60}.auth-service-error button{background:transparent;border:0;color:#adbcff;margin-left:5px}.pix img{width:200px;max-width:100%;display:block;margin:20px auto;border-radius:10px}.pix code{display:block;overflow-wrap:anywhere;font-size:11px;padding:12px;color:#adbfe5}.pix p{font-size:12px;margin-bottom:15px;color:#a3b4d5}.mobile-only,.mobile-brand,.sidebar-backdrop{display:none}.has-panel .workspace{margin-right:420px}@media(min-width:960px)and (max-width:1260px){.has-panel .sidebar{width:215px;padding-left:12px;padding-right:12px}.has-panel .workspace-tag{display:none}.has-panel .workspace .starter-grid{grid-template-columns:1fr}.has-panel .workspace .starter-card{flex-direction:row;min-height:auto;gap:12px;padding:12px}.has-panel .workspace .starter-arrow{top:15px}.has-panel .workspace .welcome{padding-top:20px}.has-panel .workspace .private-note,.has-panel .workspace .desktop-breadcrumb{display:none}.has-panel .workspace .topbar{justify-content:flex-end}.has-panel .workspace .model-picker select{max-width:150px}.has-panel .workspace .conversation-bar{padding:0 18px}.has-panel .workspace .composer-area{padding-left:18px;padding-right:18px}.has-panel .workspace .enter-hint{display:none}}@media(max-width:959px){.sidebar{position:fixed;z-index:70;top:0;bottom:0;left:0;width:275px;max-width:87vw;transform:translate(-100%);transition:transform .23s ease;background:#0d1018}.sidebar.is-open{transform:translate(0)}.sidebar-backdrop{display:block;position:fixed;inset:0;border:0;background:#03050bb3;backdrop-filter:blur(5px);z-index:65}.mobile-only{display:inline-flex}.sidebar-brand .workspace-tag{display:none}.sidebar-brand .icon-btn{margin-left:auto}.mobile-brand{display:inline-flex}.mobile-brand .brand{font-size:20px;gap:6px}.mobile-brand .brand-symbol{width:27px;height:27px;border-radius:8px}.mobile-brand .brand-symbol svg{width:22px;height:22px}.desktop-breadcrumb{display:none}.topbar{height:63px;padding:0 20px}.topbar-left,.topbar-actions{gap:8px}.has-panel .workspace{margin-right:0}.has-panel .workspace:after{content:"";position:absolute;right:0;width:0;pointer-events:none}.has-panel .settings-panel{max-width:420px}.conversation-bar{padding:0 28px}.private-note{display:none}.welcome{padding-top:30px}.welcome h1{font-size:38px}.composer-area{padding-left:28px;padding-right:28px}.delete-chat{opacity:1}.toast{bottom:165px}}@media(max-width:600px){.topbar{height:60px;padding:0 12px}.topbar-left{gap:3px}.topbar-actions{gap:3px;margin-left:6px}.agent-badge{font-size:8px;padding:6px;gap:5px}.topbar-actions>.icon-btn{width:32px;height:32px}.conversation-bar{height:55px;padding:0 21px}.model-picker select{font-size:11px;max-width:240px}.model-picker{gap:7px}.model-picker strong{font-size:11px;max-width:210px}.model-icon{width:23px;height:23px}.welcome{padding:22px 22px 18px;max-width:425px}.welcome-emblem{width:56px;height:56px;border-radius:18px;margin-bottom:23px}.welcome-emblem .brand-symbol svg{width:34px;height:34px}.eyebrow{font-size:7px;letter-spacing:1.8px;margin-bottom:14px}.welcome h1{font-size:31px;line-height:1.24;letter-spacing:-1.35px}.welcome>p{font-size:11px;line-height:1.85;margin:15px 0 26px}.mobile-break{display:block}.starter-grid{grid-template-columns:1fr;gap:8px}.starter-card{flex-direction:row;align-items:center;min-height:unset;gap:12px;padding:13px 15px;border-radius:10px}.starter-icon svg{height:16px;width:16px}.starter-card strong{font-size:11px}.starter-arrow{position:static;margin-left:auto}.setup-hint{font-size:9px;margin-top:16px;gap:5px}.composer-area{padding:12px 14px max(13px,env(safe-area-inset-bottom))}.composer-shell{padding:14px 13px 11px;border-radius:14px}.composer-shell textarea{font-size:16px;line-height:1.4;min-height:24px}.composer-shell textarea::-moz-placeholder{font-size:12px}.composer-shell textarea::placeholder{font-size:12px}.composer-bottom{margin-top:15px}.composer-label{font-size:9px;gap:5px}.composer-toggle{font-size:9px;padding:5px}.composer-caption{font-size:7px;gap:4px;margin-top:10px}.caption-extra,.caption-divider,.enter-hint{display:none}.send-button{width:31px;height:31px;border-radius:9px}.message-list{padding:16px 17px 20px}.message{gap:11px;padding-bottom:20px}.message-avatar{width:27px}.message-avatar .brand-symbol{width:27px;height:27px;border-radius:8px}.message-avatar .brand-symbol svg{width:23px;height:23px}.message-user .message-avatar>span{width:27px;height:27px;border-radius:8px}.message-content{font-size:12px;line-height:1.8}.message-role{font-size:11px;margin-bottom:8px}.tool-actions{flex-wrap:wrap}.toast{bottom:153px;max-width:calc(100% - 28px);width:-moz-max-content;width:max-content;font-size:10px}.jump-bottom{bottom:151px}.tool-card{padding:10px}.offline-banner{font-size:9px;padding:7px 15px}.settings-panel{height:100dvh!important}.settings-panel input,.settings-panel textarea,.settings-panel select,.auth-form input{font-size:16px!important}.settings-content{padding-bottom:max(28px,env(safe-area-inset-bottom))!important}}@media(max-height:720px)and (max-width:600px){.welcome{padding-top:12px;padding-bottom:12px}.welcome-emblem{width:40px;height:40px;margin-bottom:14px;border-radius:13px}.welcome-emblem .brand-symbol svg{width:29px;height:29px}.welcome h1{font-size:27px}.welcome>p{margin:11px 0 17px;font-size:10px}.starter-card{padding:10px 13px}.eyebrow{margin-bottom:11px;font-size:6px}.setup-hint{margin-top:9px}.composer-area{padding-top:8px}.conversation-bar{height:47px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@keyframes pulse{0%,to{opacity:.35}50%{opacity:1}}@keyframes spin{to{transform:rotate(360deg)}}
