:root{color-scheme:dark;--bg:#0b0d14;--panel:#11141ce8;--ink:#f0f0f5;--muted:#9495a7;--faint:#5d6072;--line:#ffffff10;--mint:#b5e2d2;--purple:#b6a3ec;--app-height:100dvh}*{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;overscroll-behavior:none;background:var(--bg)}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;height:var(--app-height);overflow:hidden}button,input,textarea,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer;user-select:none;-webkit-user-select:none}button:disabled{cursor:wait;opacity:.5}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--mint);outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.atmosphere{position:fixed;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 75% 28%,#21243535,transparent 50%),#0b0d14}.haze{position:absolute;width:500px;height:500px;border-radius:50%;filter:blur(95px);opacity:.22}.haze-one{background:#5b4e83;right:1%;top:-180px}.haze-two{background:#256050;left:25%;bottom:-350px}.bubble{position:absolute;display:block;border-radius:50%;border:1px solid #d4c9ff40;background:radial-gradient(ellipse at 30% 22%,#ffffff13 0,transparent 40%),radial-gradient(ellipse at 75% 80%,#62b5a81c,transparent 60%),radial-gradient(ellipse at 20% 75%,#a68cc927,transparent 55%);box-shadow:inset 3px 5px 10px #e8d9ff0d,inset -3px -3px 9px #62edcc13,0 0 22px #c09cf908;animation:float 20s ease-in-out infinite alternate}.bubble:before{content:"";position:absolute;inset:4%;border-radius:50%;border-top:2px solid #ead9ff60;border-left:1px solid #d6ccff20;transform:rotate(-32deg);mask-image:linear-gradient(#000,transparent 52%)}.bubble:after{content:"";position:absolute;width:23%;height:5%;border-radius:100%;left:20%;top:15%;transform:rotate(-35deg);background:#eee2ff40;filter:blur(3px)}.b1{width:185px;height:185px;left:27%;top:12%;animation-delay:-3s}.b2{width:280px;height:280px;right:-75px;top:12%;animation-duration:26s}.b3{width:86px;height:86px;right:23%;top:8%;animation-delay:-8s}.b4{width:145px;height:145px;left:33%;bottom:7%;animation-duration:24s;animation-delay:-12s}.b5{width:76px;height:76px;right:7%;bottom:22%;animation-delay:-5s}.b6{width:37px;height:37px;left:52%;top:38%;animation-delay:-14s}.b7{width:320px;height:320px;right:18%;bottom:-210px;animation-duration:29s}.b8{width:48px;height:48px;right:38%;top:65%;animation-delay:-9s}@keyframes float{from{transform:translate3d(0,0,0) rotate(0)}to{transform:translate3d(22px,-30px,0) rotate(8deg)}}body.motion-paused .bubble{animation-play-state:paused}.app-shell{position:relative;display:grid;grid-template-columns:260px minmax(0,1fr);height:100%;max-width:1800px;margin:auto}.sidebar{display:flex;flex-direction:column;padding:33px 20px 22px;background:#0d1018d9;border-right:1px solid var(--line);z-index:5;min-height:0;backdrop-filter:blur(22px)}.brand{display:flex;align-items:center;gap:12px;padding:0 7px;font-size:20px;font-weight:650;letter-spacing:-.7px}.brand-mark{position:relative;display:grid;place-items:center;width:41px;height:43px;border-radius:13px;background:linear-gradient(140deg,#d5c8f526,#b5e2d20e);border:1px solid #d5c8f530;font-family:Georgia,serif;font-size:38px;font-style:italic;color:#e5dcf9;line-height:1}.brand-mark span{font-size:27px;color:var(--mint);position:absolute;right:4px;bottom:2px}.brand small{display:block;color:var(--faint);font-size:8px;letter-spacing:2px;margin-top:7px;font-weight:600}.new-chat{height:46px;min-height:46px;margin:35px 0 29px;border:1px solid #bfadd72b;border-radius:12px;background:linear-gradient(120deg,#c3ade815,#b3dbc909);display:flex;align-items:center;gap:9px;padding:0 14px;color:#e0dce8;font-size:12px;font-weight:550}.new-chat>span:first-child{font-size:21px;font-weight:300;color:var(--purple)}.keycap{margin-left:auto;color:var(--faint);font-size:16px}.section-label{height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 9px;color:var(--faint);font-size:9px;font-weight:650;letter-spacing:1.7px}.icon-button{background:none;border:1px solid transparent;border-radius:11px;min-width:44px;min-height:44px;color:#aaa8bd;font-size:21px;display:grid;place-items:center}.tiny{min-width:36px;min-height:36px;font-size:20px}.session-list{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#30303c transparent;padding-top:6px}.session-item{display:flex;flex-direction:column;gap:6px;width:100%;border:1px solid transparent;background:transparent;border-radius:11px;padding:13px 12px;margin:3px 0;text-align:left;overflow:hidden;min-height:58px}.session-item.active{background:#b1a1d210;border-color:#cdb7ed15}.session-title{font-size:12px;color:#d1cedb;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%}.session-meta{font-size:10px;color:#666878}.empty-history{font-size:12px;line-height:1.7;color:#666878;padding:0 10px}.sidebar-bottom{padding:19px 7px 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;color:#c0becd;font-size:11px}.engine-dot{width:6px;height:6px;flex-shrink:0;background:var(--mint);box-shadow:0 0 12px #b5e2d24a;border-radius:50%}.sidebar-bottom small{display:block;color:var(--faint);font-size:9px;margin-top:5px}.version{margin-left:auto;color:#414451;font-size:11px}.workspace{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative}.topbar{display:flex;justify-content:space-between;align-items:center;padding:24px 34px 20px;gap:12px;border-bottom:1px solid #ffffff06}.topbar-left,.topbar-actions{display:flex;align-items:center;gap:10px;min-width:0}.workspace-title{font-size:12px;color:#c7c5d3;font-weight:500}.workspace-title>span{display:flex;align-items:center;gap:5px;color:var(--faint);font-size:9px;margin-top:6px;font-weight:400}.workspace-title i{height:4px;width:4px;border-radius:50%;background:#737380}.workspace-title>span.connected i{background:var(--mint);box-shadow:0 0 7px #b5e2d255}.install-button{border:1px solid var(--line);background:#ffffff06;color:#bbb8cc;border-radius:9px;padding:9px 12px;font-size:11px}.mobile-menu{display:none}.conversation{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#30303c transparent;padding:22px 34px 10px}.welcome{max-width:680px;margin:36px auto 25px;position:relative;text-align:center}.welcome-tag{font-size:8px;font-weight:600;letter-spacing:2.4px;color:#9993ae;display:flex;align-items:center;justify-content:center;gap:8px}.welcome-tag>span{width:4px;height:4px;background:var(--purple);border-radius:50%}.welcome-emblem{height:87px;width:87px;position:relative;margin:32px auto 24px;border-radius:50%;border:1px solid #e1cfff2e;background:radial-gradient(at 20% 20%,#dccbfc16,transparent 60%);box-shadow:inset 0 0 24px #bba2ee07,0 0 60px #c0a5ff08;display:grid;place-items:center}.welcome-emblem>span{font-family:Georgia,serif;font-size:72px;font-style:italic;color:#ded0ed;transform:translateY(-4px)}.welcome-emblem>i{height:9px;width:9px;position:absolute;right:17px;bottom:15px;border-radius:50%;background:var(--mint);box-shadow:0 0 20px #b5e2d277}.welcome h1{font-size:clamp(35px,4vw,55px);line-height:1.12;letter-spacing:-2px;font-weight:450;margin:0 0 18px}.welcome h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-1.3px;color:#cdc1e4}.welcome>p{color:#9691a5;font-size:12px;line-height:1.85;margin:0}.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:35px auto 0;max-width:520px;text-align:left}.suggestions button{position:relative;display:flex;flex-direction:column;align-items:flex-start;background:linear-gradient(130deg,#e2d0ff0a,#ffffff02);border:1px solid #e2d0ff18;padding:17px 17px 16px;border-radius:14px;min-width:0}.suggestions button>span{font-size:22px;color:#b7a8d0;line-height:1;margin-bottom:14px}.suggestions strong{font-size:11px;font-weight:500;color:#dbd6e6}.suggestions small{font-size:10px;color:#747082;margin-top:6px}.suggestions b{position:absolute;right:14px;top:15px;color:#777184;font-weight:400}.messages{width:100%;max-width:800px;margin:10px auto 0}.message{margin:0 0 27px;min-width:0}.message.user{display:flex;justify-content:flex-end}.message.user .message-body{border:1px solid #cbbbe021;background:#c0a7e710;border-radius:17px 17px 5px 17px;padding:13px 17px;max-width:min(85%,640px);font-size:14px;color:#e4deec}.message.assistant .message-heading{display:flex;gap:8px;align-items:center;font-size:11px;color:#c9c0dc;font-weight:600;margin-bottom:11px}.message-heading span:first-child{font-family:Georgia,serif;font-style:italic;font-size:24px;color:var(--purple);line-height:1}.message-body{font-size:14px;line-height:1.8;color:#d1cedb;overflow-wrap:anywhere;white-space:pre-wrap;min-width:0}.message-body pre{white-space:pre;overflow:auto;border:1px solid var(--line);border-radius:11px;background:#080b12;padding:15px;margin:12px 0;max-width:100%;font-size:12px;line-height:1.6;tab-size:2}.message-body code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.tool-step{border-left:1px solid #b8a5de2b;margin:10px 0 10px 2px;padding:6px 0 6px 13px;color:#9390a4;font-size:11px}.tool-step summary{cursor:pointer;overflow-wrap:anywhere}.tool-step pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;color:#757487;margin:8px 0 0;max-height:200px;overflow:auto}.tool-step.complete>summary{color:#a9cdbf}.message.assistant.interrupted .message-heading:after{content:"остановлено";font-size:9px;color:#86808e;font-weight:400}.composer-area{padding:7px 34px 22px;width:100%;max-width:868px;margin:0 auto;flex-shrink:0}.composer{background:linear-gradient(130deg,#1a1b26eb,#111820f2);border:1px solid #d6c4f52b;box-shadow:0 8px 35px #0002,inset 0 1px 0 #ffffff04;border-radius:18px;padding:15px 15px 11px;backdrop-filter:blur(22px)}.composer:focus-within{border-color:#cdb4ed5c}.composer textarea{resize:none;display:block;border:0;background:none;color:#ebe5f1;width:100%;padding:0 2px 11px;outline:none!important;font-size:16px;line-height:1.5;min-height:37px;max-height:160px;overflow-y:auto}.composer textarea::placeholder{color:#757184}.composer-bottom{display:flex;align-items:center;gap:10px;min-height:35px}.model-wrap{display:flex;gap:6px;align-items:center;color:#aaa0c0;min-width:0;max-width:calc(100% - 65px)}.model-wrap>span{font-size:14px}.model-wrap select{min-width:0;width:auto;max-width:100%;background:transparent;color:#a9a0bc;border:0;font-size:11px;padding:8px 15px 8px 0;outline-offset:0;cursor:pointer;text-overflow:ellipsis}.model-wrap select option{background:#161821;color:#e2dbed}.send-button{margin-left:auto;min-width:36px;min-height:36px;border:1px solid #e2d2fa40;background:#d0bbed;color:#21192e;border-radius:11px;font-size:23px;line-height:1;font-weight:450}.stop-button{margin-left:auto;min-height:36px;background:#f1a3b513;color:#e5a9b8;border:1px solid #f1a3b52e;border-radius:10px;padding:0 12px;font-size:11px}.stop-button>span{font-size:10px;margin-right:6px}.composer-caption{display:flex;justify-content:space-between;gap:12px;color:#626071;font-size:9px;padding:10px 4px 0}.composer-caption>span:last-child{font-size:8px;letter-spacing:1.2px;color:#4f4e5d}.run-status{display:flex;align-items:center;gap:9px;font-size:11px;color:#b6acc6;padding:0 5px 11px}.run-status>#elapsed{margin-left:auto;color:#686171;font-size:10px}.status-orbit{width:10px;height:10px;border-radius:50%;border:2px solid #bca8dc33;border-top-color:#bca8dc;animation:spin 1.5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;margin-bottom:10px;border:1px solid #e69bad35;border-radius:12px;background:#2b1825ed;color:#edb7c8;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.error-banner button{border:0;background:none;color:#edb7c8;min-width:28px;font-size:20px}.login-dialog{border:1px solid #d6c4f52b;border-radius:25px;padding:36px 30px;background:linear-gradient(145deg,#232031fa,#121b21fa);box-shadow:0 30px 120px #0008;color:var(--ink);width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 30px);overflow-y:auto}.login-dialog::backdrop{background:#080b14b5;backdrop-filter:blur(12px)}.login-dialog .brand-mark{margin:0 auto 26px;width:52px;height:54px;font-size:45px}.login-dialog .welcome-tag{font-size:7px;letter-spacing:2px}.login-dialog h2{text-align:center;font-size:26px;letter-spacing:-1px;font-weight:450;margin:16px 0 12px}.login-dialog p{font-size:12px;color:#aaa1b9;line-height:1.8;text-align:center}.login-dialog label{display:block;color:#c2b8d0;font-size:11px;margin:24px 0 9px}.login-dialog input{font-size:16px;width:100%;height:49px;border:1px solid #d6c4f52c;border-radius:11px;background:#0c101955;color:#e3d8f0;padding:0 13px}.login-submit{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:16px;padding:15px;border-radius:11px;border:0;background:#ccb9e6;color:#251b30;font-size:13px;font-weight:550;min-height:48px}.login-dialog form>small{display:block;text-align:center;color:#726b83;font-size:10px;margin-top:19px}.login-dialog .login-error{color:#edb7c8;text-align:left;font-size:11px;margin:11px 0 0}.noscript{position:fixed;inset:40% 20px auto;text-align:center;padding:30px;background:#201b2c;z-index:100;border-radius:18px}.drawer-scrim{display:none}button:active{filter:brightness(1.15)}@media(hover:hover) and (pointer:fine){.icon-button:hover{background:#ffffff06;color:#e0d7ec}.new-chat:hover,.suggestions button:hover{background:#bfa8e015;border-color:#cdb6e93d}.session-item:hover{background:#c3b3d90b}.send-button:hover,.login-submit:hover{background:#dcc8f5}}
@media(min-width:1500px){.welcome{margin-top:65px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:absolute;inset:0 auto 0 0;width:min(300px,85vw);transform:translateX(-101%);transition:transform .2s ease-out;background:#0f121bf5;padding-top:calc(26px + env(safe-area-inset-top));padding-bottom:calc(22px + env(safe-area-inset-bottom))}body.drawer-open .sidebar{transform:translateX(0)}.drawer-scrim{position:absolute;inset:0;width:100%;height:100%;border:0;background:#03050bb0;z-index:4;display:block}.workspace{height:100%}.mobile-menu{display:grid;font-size:18px;min-width:38px}.topbar{padding:calc(10px + env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) 10px max(10px,env(safe-area-inset-left));background:#0b0d1455;gap:5px}.topbar-left{gap:6px}.workspace-title{font-size:11px}.workspace-title>span{font-size:8px;margin-top:4px}.topbar-actions{gap:2px}.icon-button{min-width:40px;min-height:42px}.install-button{font-size:10px;padding:8px}.conversation{padding:16px 19px 8px}.welcome{margin:32px auto 20px;max-width:440px}.welcome-tag{font-size:7px;letter-spacing:1.7px}.welcome-emblem{width:76px;height:76px;margin:27px auto 24px}.welcome-emblem>span{font-size:64px}.welcome-emblem>i{right:13px;bottom:12px}.welcome h1{font-size:42px;letter-spacing:-1.7px}.welcome>p{font-size:11px}.suggestions{margin-top:28px;gap:8px}.suggestions button{padding:15px 12px;min-height:113px;border-radius:13px;background:linear-gradient(140deg,#24202e88,#121b2277);backdrop-filter:blur(12px)}.suggestions strong{font-size:10px}.suggestions small{font-size:9px;line-height:1.5}.composer-area{padding:6px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.composer{padding:13px 13px 10px;border-radius:17px}.composer-caption{font-size:8px;padding:8px 4px 0}.composer-caption>span:last-child{font-size:7px}.model-wrap select{font-size:12px}.message.user .message-body{max-width:90%;padding:11px 14px}.message-body{font-size:14px}.b1{left:-80px;top:17%;width:190px;height:190px}.b2{right:-135px;top:27%;width:265px;height:265px}.b3{right:22%;top:7%;width:66px;height:66px}.b4{left:-44px;bottom:10%;width:145px;height:145px}.b5{right:8%;bottom:18%;width:58px;height:58px}.b6{left:16%;top:7%}.b7{right:11%;bottom:-220px;width:310px;height:310px}.b8{right:24%;top:60%;width:35px;height:35px}.haze-one{right:-300px;top:-100px}.haze-two{left:-100px;bottom:-380px}}
@media(max-height:700px){.welcome{margin-top:13px}.welcome-emblem{margin:15px auto;height:60px;width:60px}.welcome-emblem>span{font-size:51px}.welcome-emblem>i{width:6px;height:6px;right:11px;bottom:10px}.welcome h1{font-size:34px;margin-bottom:12px}.suggestions{margin-top:20px}.suggestions button{min-height:90px}.suggestions button>span{margin-bottom:9px}.welcome-tag{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
