@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{color-scheme:dark;--bg:#090a10;--panel:#101118;--border:#ffffff0d;--text:#f3f4fb;--muted:#838694;--blue:#64adff;--violet:#b48cff;--green:#5bdfb0;--yellow:#f6c76f;--cyan:#59d8e1;--pink:#ef8fbc;--font:'DM Sans',sans-serif;--heading:'Manrope',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px var(--font);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:4px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{border:0;background:none}kbd{font:11px var(--font);border:1px solid #ffffff12;border-radius:4px;padding:2px 5px;color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;background:#0e0f15;border-right:1px solid var(--border);padding:28px 17px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:10px;font:800 26px var(--heading);letter-spacing:-1px;margin:0 8px 44px}.brand-mascot{width:39px;height:38px;object-fit:contain}.brand-dot{color:var(--blue)}.nav-label{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#656976;margin:0 14px 15px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;color:#989ba8;font-size:14px;text-align:left;margin-bottom:5px;transition:background .2s,color .2s}.nav-item:hover{background:#ffffff05;color:#e2e4ed}.nav-item.active{background:linear-gradient(100deg,#202637,#1a1c29);color:white;box-shadow:inset 0 0 0 1px #ffffff07}.nav-item.active svg{color:var(--blue)}.nav-item>span:first-child{display:flex;color:var(--accent,#969bac)}.nav-item kbd{margin-left:auto}.nav-separator{border-top:1px solid var(--border);margin:20px 12px}.sidebar-bottom{margin-top:auto;padding-top:28px}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);margin-top:20px;padding:23px 8px 0}.avatar{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:11px;color:#cac6ff;background:linear-gradient(140deg,#30354d,#272336);font-weight:700;font-size:14px;flex-shrink:0;border:1px solid #ffffff0a}.avatar.small{width:31px;height:31px;border-radius:50%;font-size:12px}.profile strong{font-size:13px;display:block;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile div>span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.profile-star{color:#716c90;margin-left:auto}.profile-star svg{width:16px}.app-shell{margin-left:228px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 42px;border-bottom:1px solid #ffffff05}.topbar-left,.topbar-right{display:flex;align-items:center;gap:20px}.breadcrumb{font-size:13px;color:#777c8a}.breadcrumb span{margin:0 12px;color:#454858}.breadcrumb strong{color:#c8cad5;font-weight:500}.connection-button{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:550;color:#c8b7f0;background:#ac83ff0a;border:1px solid #ac83ff24;border-radius:25px;padding:8px 12px}.connection-button svg{width:14px;height:14px}.top-divider{width:1px;height:19px;background:#ffffff0d}.icon-button{display:inline-flex;align-items:center;justify-content:center;color:#8c91a1;width:33px;height:33px;border-radius:9px;transition:all .2s}.icon-button:hover{background:#ffffff0a;color:white}.icon-button svg{width:18px;height:18px}.mobile-menu{display:none}main{flex:1;padding:0 44px 14px;position:relative;isolation:isolate;max-width:1450px;width:100%;margin:0 auto;outline:0}main:before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:0;background:radial-gradient(ellipse at 50% 22%,#607afa0b,transparent 48%)}.home{max-width:1000px;margin:0 auto}.hero{position:relative;text-align:center;padding:31px 0 27px}.mascot-stage{position:relative;height:162px;width:230px;margin:0 auto 8px;display:grid;place-items:center}.mascot-stage:before{content:'';position:absolute;width:160px;height:90px;border-radius:50%;background:#7487ff25;filter:blur(45px);bottom:8px}.hero-mascot{width:162px;height:162px;object-fit:contain;position:relative;animation:float 6s ease-in-out infinite;filter:drop-shadow(0 7px 22px #5975e61c)}.orbit{position:absolute;border:1px solid #a0acff0c;width:224px;height:120px;border-radius:50%;transform:rotate(-24deg)}.orbit:before,.orbit:after{content:'';position:absolute;background:#99bbff;width:4px;height:4px;border-radius:50%;left:17px;top:21px;box-shadow:0 0 9px #7fa0ff80}.orbit:after{left:auto;top:auto;bottom:19px;right:16px;background:#b49aff;width:3px;height:3px}.hero-eyebrow{display:flex;align-items:center;justify-content:center;gap:8px;color:#c0c2d1;font-size:12px;font-weight:500;letter-spacing:2.5px;margin:7px 0 15px}.hero-eyebrow span{display:inline-block;width:18px;height:1px;background:#a9b5e04d}.hero h1{font:750 clamp(28px,2.8vw,42px)/1.25 var(--heading);letter-spacing:-1.8px;margin:0 0 13px}.hero h1 span{background:linear-gradient(95deg,#a5c9ff,#b4a1ff);background-clip:text;-webkit-text-fill-color:transparent}.hero p{font-size:14px;color:#83899c;margin:0}.section-line{display:flex;justify-content:space-between;align-items:center;margin:10px 0 16px}.section-line h2{font-size:12px;font-weight:550;color:#a7aaba;margin:0}.section-line>span{font-size:11px;color:#626777}.tool-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.tool-card{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:linear-gradient(145deg,#141620,#101117);border:1px solid #ffffff0b;border-radius:15px;padding:21px 19px 17px;min-height:188px;overflow:hidden;transition:transform .25s,border-color .25s,box-shadow .25s}.tool-card:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.5;background:radial-gradient(circle at 22% 0%,var(--glow),transparent 66%);transition:opacity .25s}.tool-card:hover{transform:translateY(-5px);border-color:var(--accent);box-shadow:0 9px 35px var(--glow)}.tool-card:hover:before{opacity:1}.tool-icon{color:var(--accent);display:flex;justify-content:center;align-items:center;width:44px;height:44px;border-radius:12px;border:1px solid var(--glow);background:var(--glow);box-shadow:0 0 21px var(--glow);margin-bottom:19px}.tool-icon svg{width:25px;height:25px;stroke-width:1.7}.tool-number{position:absolute;right:17px;top:22px;color:#ffffff20;font-size:10px;letter-spacing:1px}.tool-card strong{font:650 17px var(--heading);margin-bottom:7px;letter-spacing:-.4px}.tool-card p{font-size:12px;line-height:1.55;color:#8b8e9f;margin:0;max-width:130px}.tool-card .card-action{margin-top:17px;font-size:10px;color:var(--accent);display:flex;align-items:center;gap:5px;opacity:.6}.card-action:before{content:'';width:3px;height:3px;background:var(--accent);border-radius:50%}.secondary-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:13px}.secondary-tool{display:flex;align-items:center;gap:10px;background:#121319;border:1px solid #ffffff0a;border-radius:12px;text-align:left;padding:17px 15px;transition:background .2s,border .2s}.secondary-tool:hover{background:var(--glow);border-color:var(--accent)}.secondary-tool>span:first-child{display:flex;color:var(--accent)}.secondary-tool svg{width:20px;height:20px}.secondary-tool strong{font-size:12px;font-weight:550}.idea-section{margin:30px 0 20px}.idea-label{display:flex;align-items:center;gap:7px;color:#686d7d;font-size:11px;margin-bottom:11px}.idea-label svg{width:14px;height:14px}.idea-chips{display:flex;flex-wrap:wrap;gap:8px}.idea-chip{border:1px solid #ffffff0b;border-radius:7px;padding:9px 12px;color:#a6a9b8;font-size:11px;text-align:left;background:#111219;transition:all .2s}.idea-chip:hover{border-color:#777d9a66;color:white;background:#191c29}.composer{position:relative;display:flex;flex-direction:column;border:1px solid #ffffff1b;border-radius:18px;background:linear-gradient(120deg,#151722,#12131b);box-shadow:0 2px 25px #00000030;transition:border-color .2s}.composer:focus-within{border-color:#7f95de70}.composer textarea{width:100%;background:none;border:0;color:var(--text);resize:none;padding:19px 22px 6px;min-height:69px;max-height:180px;outline:none;font-size:14px;line-height:1.6}.composer textarea::placeholder{color:#626a80}.composer-bottom{display:flex;align-items:center;justify-content:space-between;padding:3px 13px 12px}.composer-tools{display:flex;align-items:center;gap:7px}.composer-tools>span{font-size:10px;color:#656c7e;margin-left:6px}.composer-tools .icon-button{width:28px;height:28px}.composer-tools .icon-button svg{width:17px;height:17px}.send-button{height:33px;width:33px;display:grid;place-items:center;background:linear-gradient(140deg,#b5cfff,#8e9fe4);border-radius:10px;color:#18223e;transition:transform .2s;box-shadow:0 1px 15px #aac0ff1a}.send-button:hover{transform:translateY(-2px);background:#c4d6ff}.send-button svg{width:18px;height:18px}.composer-hint{font-size:10px;display:flex;justify-content:center;gap:5px;color:#555c6c;margin-top:11px}.composer-hint kbd{font-size:9px;padding:0 3px;line-height:1.4}.app-footer{display:flex;justify-content:space-between;margin:20px 44px 21px;font-size:10px;color:#4f5463}.footer-star{color:#7686ac;margin-left:4px}.footer-version{color:#393e4c;margin-left:5px}.view{max-width:1000px;margin:0 auto;padding:42px 0 20px;animation:appear .3s}.view-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:30px}.view-heading h1{font:700 32px var(--heading);letter-spacing:-1px;margin:0 0 8px}.view-heading p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}.eyebrow{color:var(--accent,var(--blue));font-size:11px;letter-spacing:2px;font-weight:600;margin-bottom:10px}.btn{background:#222837;border:1px solid #ffffff14;border-radius:9px;padding:11px 16px;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .2s}.btn:hover{background:#313a50}.btn.primary{background:#a9bfff;color:#19203b;border-color:#a9bfff;font-weight:600}.btn.primary:hover{background:#c5d2ff}.btn svg{width:16px;height:16px}.btn.danger{color:#ff9db0}.panel{border:1px solid #ffffff10;border-radius:16px;padding:24px;background:#11131b;margin-bottom:20px}.panel h2{font:650 18px var(--heading);margin:0 0 10px}.panel p{color:#969cab;font-size:14px;line-height:1.7;margin:10px 0}.panel label,.field-label{display:block;font-size:13px;color:#c6cad6;margin:20px 0 8px}.field{width:100%;padding:12px 14px;border:1px solid #ffffff15;border-radius:9px;background:#0b0d14;color:#e0e4f0;outline:0;line-height:1.5}.field:focus{border-color:#91aef880}textarea.field{resize:vertical;min-height:100px}.form-row{display:flex;gap:10px;align-items:center}.form-row .field{flex:1;min-width:0}.form-row .btn{flex-shrink:0}.empty-state{padding:43px 22px;text-align:center;border:1px dashed #ffffff16;border-radius:15px;color:#7f8699}.empty-state svg{height:35px;width:35px;color:#7885a6;margin-bottom:14px}.empty-state h2{font:600 18px var(--heading);color:#cbd1df;margin:0 0 10px}.empty-state p{font-size:14px;line-height:1.6;margin:0}.local-note{display:flex;align-items:center;gap:6px;color:#697186;font-size:11px;margin:18px 0}.local-note svg{width:13px;height:13px}.chat-list{padding:0 0 20px;min-height:270px}.message{display:flex;gap:13px;margin:0 0 27px;animation:appear .25s}.message-avatar{width:31px;height:31px;background:#1e2433;border:1px solid #ffffff0d;border-radius:10px;display:grid;place-items:center;flex-shrink:0}.message-avatar img{height:27px;width:27px;object-fit:contain}.message-body{min-width:0;flex:1;padding-top:5px}.message-body strong{font-size:12px;color:#939bae}.message-text{white-space:pre-wrap;word-break:break-word;font-size:14px;color:#d2d7e5;line-height:1.85;margin-top:9px}.message.error .message-text{color:#edabb6}.message-actions{margin-top:8px;display:flex;gap:8px}.message-actions button{font-size:11px;color:#78829b}.ai-onboarding{display:flex;align-items:center;gap:23px;background:radial-gradient(ellipse at 0 0,#8390e715,transparent 60%),#12141f;margin-top:15px}.ai-onboarding img{width:85px;height:85px;object-fit:contain}.ai-onboarding .btn{margin-top:8px}.chat-top-actions{display:flex;gap:8px}.task-list{display:flex;flex-direction:column;gap:8px}.task{display:flex;align-items:center;gap:13px;background:#141620;padding:16px;border:1px solid #ffffff0a;border-radius:11px}.task input{appearance:none;width:20px;height:20px;flex-shrink:0;border:1px solid #5c6479;border-radius:6px;background:#0b0e16;cursor:pointer}.task input:checked{background:#81cfae;border-color:#81cfae}.task input:checked:after{content:'✓';display:block;color:#13291f;text-align:center;font-size:14px}.task.done .task-title{text-decoration:line-through;color:#677085}.task-title{flex:1;font-size:14px;overflow-wrap:anywhere}.task .icon-button{width:25px;height:25px}.task .icon-button svg{width:15px;height:15px}.stats-row{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0 25px}.stat{border:1px solid #ffffff0c;border-radius:12px;background:#12141c;padding:18px 24px;flex:1;min-width:140px}.stat strong{display:block;font:700 29px var(--heading);color:#d9e2fb}.stat span{font-size:12px;color:#7d879c}.tabs{display:flex;gap:7px;margin:0 0 18px}.tab{font-size:12px;color:#8590a7;padding:8px 12px;border-radius:7px}.tab.active{background:#202738;color:#bdcfff}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.project-card{background:#141720;border:1px solid #ffffff10;border-radius:14px;padding:21px;position:relative}.project-card>svg{color:#6bcdaa;margin-bottom:19px}.project-card h2{font:650 18px var(--heading);overflow-wrap:anywhere;margin:0 0 10px}.project-card p{color:#8591a5;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.project-card .icon-button{position:absolute;right:12px;top:12px}.project-card time{font-size:10px;color:#5c687e}.code-layout{display:grid;grid-template-columns:1fr 1fr;gap:15px}.code-window{border:1px solid #ffffff15;border-radius:12px;overflow:hidden;background:#0d1018}.window-bar{display:flex;align-items:center;gap:6px;border-bottom:1px solid #ffffff0d;background:#141822;padding:12px 15px;color:#8691a5;font-size:11px}.window-bar>i{height:7px;width:7px;border-radius:50%;background:#b97781}.window-bar>i:nth-child(2){background:#b5a46e}.window-bar>i:nth-child(3){background:#74b499}.window-bar>span{margin-left:9px}.code-editor{width:100%;height:380px;resize:vertical;border:0;padding:20px;color:#afc4ed;background:#0d1018;font:13px/1.8 ui-monospace,monospace;outline:0;tab-size:2}.code-preview{width:100%;height:380px;background:white;border:0;display:block}.code-actions{display:flex;justify-content:space-between;align-items:center;margin-top:15px;gap:10px}.code-actions span{font-size:11px;color:#69758d}.search-results{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:22px}.search-result{padding:20px;border:1px solid #ffffff10;border-radius:12px;background:#11151e;display:block}.search-result:hover{border-color:#59d8e166}.search-result svg{color:#6fcbd1;width:25px;height:25px;margin-bottom:18px}.search-result h2{font-size:15px;margin:0 0 9px}.search-result p{font-size:12px;color:#8291a7;line-height:1.6;overflow-wrap:anywhere}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:540px;margin:0 auto}.memory-card{height:100px;display:grid;place-items:center;background:linear-gradient(140deg,#272238,#171723);border:1px solid #ffffff14;border-radius:13px;font-size:29px;transition:all .25s}.memory-card .back-mark{font:800 24px var(--heading);color:#66617f}.memory-card.flipped{background:#293447;border-color:#8baefa55;transform:rotateY(180deg)}.memory-card.flipped span{transform:rotateY(180deg)}.memory-card.matched{background:#18332c;border-color:#5bdfb050}.game-status{display:flex;justify-content:center;gap:25px;font-size:13px;color:#9eabc3;margin:0 0 23px}.game-status strong{color:#cbd9f4}.game-win{text-align:center;color:#9ee1c9;margin-top:22px}.learning-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.flashcard{width:100%;min-height:230px;background:radial-gradient(ellipse at 50% 0,#b58eeb16,transparent 70%),#141621;border:1px solid #ffffff15;border-radius:18px;text-align:center;padding:40px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.flashcard .topic{font-size:10px;letter-spacing:2px;color:#b29bcc}.flashcard strong{font:650 24px/1.55 var(--heading);max-width:650px}.flashcard .flip-hint{font-size:12px;color:#6e7892}.flashcard.answer{border-color:#8bd7b94d;background:#14211e}.flash-actions{display:flex;align-items:center;justify-content:space-between;margin-top:20px;font-size:12px;color:#8592ad;gap:10px}.progress{height:3px;background:#252938;border-radius:3px;margin-top:25px;overflow:hidden}.progress span{height:100%;background:#b5a2ff;display:block;transition:width .3s}.files-list{display:flex;flex-direction:column;gap:9px}.file-row{display:flex;align-items:center;gap:13px;border:1px solid #ffffff10;border-radius:12px;padding:16px;background:#141720}.file-row>svg{color:#8baddf}.file-info{flex:1;min-width:0}.file-info strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-info span{display:block;font-size:11px;color:#76849b;margin-top:5px}.image-form textarea{min-height:100px}.image-output{max-width:100%;max-height:500px;display:block;border-radius:16px;margin:20px auto}.muted{font-size:12px;color:#737e94;line-height:1.7}.connection-state{padding:13px 16px;border:1px solid #9cafdd20;background:#9cafdd08;border-radius:10px;font-size:13px;color:#a6b9df;display:flex;align-items:center;gap:9px;margin:15px 0}.connection-state svg{width:17px;height:17px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .panel{height:fit-content}.danger-panel{margin-top:15px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.help-row{display:flex;justify-content:space-between;align-items:center;margin:15px 0;color:#b2bcd0;font-size:13px}.history-card{width:100%;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px;text-align:left;border:1px solid #ffffff10;background:#131722;border-radius:12px;margin-bottom:10px}.history-card>div{min-width:0}.history-card strong{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-card span{font-size:11px;color:#7e8ea9;display:block;margin-top:7px}.history-card svg{color:#9babca}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.dialog-heading h2{font:650 21px var(--heading);margin:0;letter-spacing:-.4px}dialog{width:calc(100% - 32px);max-width:520px;max-height:85vh;overflow:auto;border:1px solid #ffffff23;border-radius:19px;background:#12151f;color:#e1e5ef;padding:26px;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#03040ab0;backdrop-filter:blur(7px)}.dialog-form label{display:block;font-size:13px;margin:17px 0 8px;color:#b5bfd2}.dialog-form .btn{margin-top:22px;width:100%}.command-list{margin-top:15px;display:flex;flex-direction:column;gap:4px;max-height:310px;overflow:auto}.command-item{display:flex;align-items:center;gap:12px;text-align:left;padding:12px;border-radius:8px;font-size:14px}.command-item:hover{background:#252b3d}.command-item>span{display:flex}.command-item svg{color:var(--accent);width:19px;height:19px}.command-item small{margin-left:auto;color:#5d6c88}.toast{position:fixed;bottom:27px;left:calc(50% + 114px);transform:translate(-50%,20px);background:#242b3c;border:1px solid #ffffff1b;border-radius:12px;padding:13px 21px;color:#d6e2f9;font-size:13px;z-index:100;opacity:0;pointer-events:none;transition:.25s;max-width:calc(100% - 30px);text-align:center;box-shadow:0 10px 35px #0006}.toast.visible{opacity:1;transform:translate(-50%,0)}.attachment-label{font-size:11px;color:#aabce3;padding:9px 20px 0;display:flex;justify-content:space-between;align-items:center}.busy{animation:pulse 1.3s infinite}.mobile-shade{display:none}@keyframes float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(1deg)}}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{50%{opacity:.4}}
@media(min-width:1500px){.hero{padding-top:55px;padding-bottom:40px}.mascot-stage{height:190px}.hero-mascot{width:185px;height:185px}.tool-card{min-height:210px;padding:24px}.idea-section{margin-top:35px}}
@media(max-width:1150px){.sidebar{width:205px}.app-shell{margin-left:205px}main{padding-left:27px;padding-right:27px}.topbar{padding:0 27px}.tool-grid{gap:9px}.tool-card{padding:18px 13px;min-height:187px}.tool-card p{font-size:11px}.secondary-grid{gap:9px}.secondary-tool{padding:15px 10px;gap:7px}.secondary-tool strong{font-size:11px}.toast{left:calc(50% + 102px)}.app-footer{margin-left:27px;margin-right:27px}}
@media(max-width:900px){.sidebar{width:180px;padding-left:10px;padding-right:10px}.brand{font-size:24px;gap:5px}.app-shell{margin-left:180px}.topbar{height:70px}.tool-grid{grid-template-columns:repeat(3,1fr)}.tool-card{min-height:165px}.tool-card:nth-child(4),.tool-card:nth-child(5){min-height:145px}.tool-card .card-action{display:none}.tool-icon{margin-bottom:14px}.secondary-grid{grid-template-columns:repeat(3,1fr)}.secondary-tool{padding:16px}.hero{padding-top:23px}.hero h1{font-size:32px}.hero p{font-size:13px}.hero h1{letter-spacing:-1.4px}.mascot-stage{height:140px}.hero-mascot{width:145px;height:145px}.hero-eyebrow{margin-top:8px}.project-grid,.search-results{grid-template-columns:repeat(2,1fr)}.settings-grid,.code-layout{grid-template-columns:1fr}.code-editor,.code-preview{height:300px}.toast{left:calc(50% + 90px)}}
@media(max-width:680px){.sidebar{width:232px;transform:translateX(-100%);transition:transform .25s;padding:25px 17px}.sidebar.open{transform:translateX(0)}.mobile-shade.visible{display:block;position:fixed;inset:0;background:#0009;z-index:25;backdrop-filter:blur(3px)}.app-shell{margin-left:0}.topbar{height:65px;padding:0 18px;gap:10px}.topbar-left{gap:10px}.mobile-menu{display:flex}.topbar-right{gap:9px}.top-divider{display:none}.breadcrumb{font-size:12px}.breadcrumb>span{margin:0 7px}.connection-button{font-size:11px;padding:7px 9px}.topbar-right .avatar{display:none}main{padding:0 19px 10px}.hero{padding:20px 0 25px}.mascot-stage{height:138px;width:210px}.hero-mascot{width:140px;height:140px}.hero-eyebrow{font-size:10px;margin-bottom:13px}.hero h1{font-size:29px;letter-spacing:-1.2px}.hero p{font-size:12px;line-height:1.6;max-width:290px;margin:auto}.section-line{margin-top:2px}.section-line>span{font-size:10px}.tool-grid{grid-template-columns:repeat(2,1fr);gap:10px}.tool-card{min-height:152px;padding:17px 16px}.tool-card strong{font-size:16px}.tool-card p{font-size:12px;max-width:none}.tool-icon{width:36px;height:36px;border-radius:10px;margin-bottom:14px}.tool-icon svg{width:22px;height:22px}.tool-card:nth-child(5){grid-column:span 2;min-height:88px;display:grid;grid-template-columns:39px 1fr;gap:2px 14px;align-content:center}.tool-card:nth-child(5) .tool-icon{grid-row:span 2;margin:0;align-self:center}.tool-card:nth-child(5) strong{margin:0}.tool-card:nth-child(5) .tool-number{top:19px}.secondary-grid{grid-template-columns:repeat(3,1fr);gap:9px}.secondary-tool{padding:13px 9px;flex-direction:column;gap:8px;text-align:center;min-height:69px}.secondary-tool strong{font-size:11px}.secondary-tool:nth-child(4),.secondary-tool:nth-child(5){flex-direction:row;justify-content:center;min-height:48px}.idea-section{margin:24px 0 19px}.idea-chip{font-size:11px;padding:8px 10px}.composer textarea{padding:16px 16px 6px;font-size:13px}.composer-tools>span{font-size:10px}.app-footer{margin:19px 20px;font-size:9px}.toast{left:50%}.view{padding-top:30px}.view-heading h1{font-size:28px}.view-heading p{font-size:13px}.view-heading{margin-bottom:23px}.view-heading .btn{font-size:12px;padding:10px}.project-grid,.search-results,.help-grid{grid-template-columns:1fr}.panel{padding:20px}.ai-onboarding{gap:15px}.ai-onboarding img{width:58px;height:58px;align-self:flex-start}.ai-onboarding p{font-size:13px}.ai-onboarding h2{font-size:16px}.stats-row{gap:9px}.stat{min-width:90px;padding:15px}.stat strong{font-size:25px}.stat span{font-size:10px}.flashcard{padding:25px;min-height:235px}.flashcard strong{font-size:21px}.memory-card{height:83px}.memory-grid{gap:9px}.chat-top-actions{flex-direction:column}.chat-top-actions .btn{padding:7px 9px;font-size:10px}.form-row{flex-wrap:wrap}.form-row .field{flex-basis:calc(100% - 110px)}.code-actions span{max-width:130px}.settings-grid{gap:0}.profile strong{max-width:130px}.nav-item{font-size:14px}.sidebar .brand{gap:10px;font-size:27px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable type across compact and wide workspaces. */
.tool-card p{font-size:14px;line-height:1.5}.secondary-tool strong{font-size:14px}.tool-card{min-height:198px}.nav-label{font-size:12px;letter-spacing:1.3px}.section-line h2,.section-line>span,.idea-label,.idea-chip{font-size:12px}.hero p{font-size:14px}.composer textarea{font-size:16px}.composer-tools>span,.composer-hint{font-size:12px}.panel p,.message-text,.task-title,.view-heading p{font-size:16px}.field,.code-editor{font-size:14px}.field-label,.panel label,.dialog-form label,.btn{font-size:14px}.secondary-tool{padding-left:12px;padding-right:12px}.profile div>span,.app-footer,.local-note,.muted,.project-card time,.file-info span{font-size:12px}.project-card p{font-size:14px}.breadcrumb{font-size:14px}.connection-button{font-size:12px}.hero-eyebrow{font-size:12px}.card-action{font-size:12px!important}.search-result p,.history-card span,.message-body strong{font-size:12px}.search-result h2,.task-title{font-size:16px}.composer-hint kbd{font-size:11px}.topbar-right{gap:15px}@media(max-width:1150px){.tool-card{padding-left:14px;padding-right:14px}.tool-card p{font-size:14px}.secondary-tool strong{font-size:13px}.secondary-tool{gap:8px}}@media(max-width:900px){.tool-card{min-height:190px}.tool-card:nth-child(4),.tool-card:nth-child(5){min-height:160px}}@media(max-width:680px){.tool-card{min-height:173px}.tool-card:nth-child(4){min-height:173px}.tool-card:nth-child(5){min-height:95px}.hero p{font-size:14px}.hero h1{font-size:28px}.hero-eyebrow{font-size:11px}.breadcrumb{font-size:12px}.connection-button{font-size:11px}.topbar-right{gap:6px}.secondary-tool strong{font-size:12px}.secondary-tool{padding:13px 9px}.composer-tools>span{font-size:11px}.composer-hint{font-size:11px}.app-footer{font-size:11px}.view-heading p,.ai-onboarding p{font-size:14px}.view-heading .btn{font-size:12px}.chat-top-actions .btn{font-size:12px}.stat span{font-size:12px}.btn{font-size:13px}}
.connection-button{white-space:nowrap}@media(max-width:680px){.breadcrumb{font-size:0;white-space:nowrap}.breadcrumb>span{display:none}.breadcrumb strong{font-size:12px}.topbar-right{gap:8px}}
.usage-meter { margin-top:24px; }
.usage-meter strong { font-size:1.8rem; color:#c4d5ff; }
.usage-meter strong span { display:block; font-size:.9rem; font-weight:400; color:var(--muted); margin-top:5px; }
.usage-track { height:7px; background:#ffffff0b; border-radius:10px; margin:18px 0 12px; overflow:hidden; }
.usage-track span { display:block; height:100%; background:linear-gradient(90deg,#6bb5ff,#b19bff); border-radius:10px; }
.work-banner{display:flex;align-items:center;gap:16px;padding:16px 22px;margin:0 auto 24px;max-width:1180px;border:1px solid #7385d646;border-radius:16px;background:linear-gradient(110deg,#162337,#191b30);color:#e0e8ff}.work-banner strong,.work-banner span{display:block}.work-banner div>span{font-size:13px;color:#a6b4cc;margin-top:4px}.work-banner>#work-elapsed{margin-left:auto;white-space:nowrap;color:#aabbe0;font-size:13px}.thinking-dots{display:flex!important;gap:4px}.thinking-dots i{width:6px;height:6px;border-radius:100%;background:#a9bfff;animation:thinking 1.3s infinite}.thinking-dots i:nth-child(2){animation-delay:.2s}.thinking-dots i:nth-child(3){animation-delay:.4s}@keyframes thinking{50%{opacity:.3;transform:translateY(-4px)}}
.inline-error{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;margin-bottom:20px;border:1px solid #e0898e55;border-radius:14px;background:#3a1e29;color:#ffd5d8;font-size:15px}.inline-error button{border:0;background:none;color:inherit;cursor:pointer}.inline-error svg{width:18px;height:18px}.inline-connect{display:flex;gap:12px;align-items:center;background:#151c2c;border:1px solid #283752;padding:14px 18px;border-radius:14px;margin-bottom:22px;color:#b9c7df;font-size:14px}.inline-connect>svg{width:18px;flex-shrink:0}.inline-connect .btn{margin-left:auto}.result-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:18px}.result-actions .btn{font-size:14px}.btn svg,.result-actions svg{flex-shrink:0}.ai-result{margin:24px 0;border-color:#768fd94d;background:linear-gradient(125deg,#131d2e,#121522)}.ai-result-title{display:flex;align-items:center;gap:10px;margin-bottom:20px}.ai-result-title>svg{width:22px;color:#b4c4ff}.ai-result-title h2{margin:0}.ai-result-title>span{margin-left:auto;font-size:11px;letter-spacing:.14em;color:#a6b5d1}.code-brief{display:grid;grid-template-columns:.75fr 1.4fr;gap:32px;margin-bottom:26px}.code-brief h2{font-size:26px;margin:12px 0}.code-brief p{max-width:280px}.code-brief-input .field{margin-top:0}.prompt-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}.prompt-chips button{background:#ffffff05;border:1px solid #ffffff12;border-radius:20px;color:#aebad1;font:inherit;font-size:12px;padding:8px 12px;cursor:pointer}.prompt-chips button:hover{border-color:#8fa9df70;color:#e1eaff}.proposal-preview{width:100%;height:350px;border:1px solid #ffffff16;border-radius:12px;background:white;margin-top:10px}.code-size{margin-left:auto!important;color:#71809a!important;font-size:11px!important}.window-bar button{margin-left:auto;background:none;border:0;color:#9eb5e2;font-size:12px;cursor:pointer}.creation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.creation-grid .panel{margin:0;padding:23px}.creation-grid h3{margin:15px 0 8px;overflow-wrap:anywhere}.creation-grid p{font-size:13px;margin:0}.creation-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#b39cff14;color:#b49bf0}.creation-icon svg{width:22px}.saved-programs,.saved-decks{margin:32px 0}.section-line h2{font-size:19px}.goal-planner{display:grid;grid-template-columns:1fr 1.5fr auto;gap:20px;align-items:center;margin-bottom:28px}.goal-planner h2{font-size:20px;margin:9px 0 0}.goal-planner .field{margin:0}.goal-planner .btn{align-self:end}.plan-list{list-style:none;padding:0;margin:0}.plan-list li{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid #ffffff0c}.plan-list li:last-child{border:0}.plan-list li>span{color:#8ca7e4;font-size:13px;font-weight:600;padding-top:3px}.plan-list strong{font-size:16px}.plan-list p{font-size:14px;margin:6px 0 0}.task-ai-button{display:grid;place-items:center;border:0;border-radius:8px;background:#9aabff0e;color:#9eaff1;width:34px;height:34px;cursor:pointer;flex-shrink:0}.task-ai-button svg{width:18px;height:18px}.project-card .btn{margin-right:5px;margin-bottom:5px}.study-creator{display:grid;grid-template-columns:1.6fr 1fr;gap:36px}.study-creator label:first-child{margin-top:0}.study-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.study-controls>label{flex:1;min-width:160px}.study-controls>.btn{margin-bottom:0}.study-decoration{border-left:1px solid #ffffff0c;padding:15px 0 15px 34px;display:flex;flex-direction:column;justify-content:center}.study-decoration>svg{width:52px;height:52px;color:#ebcc81;margin-bottom:24px}.study-decoration strong{font-size:22px;line-height:1.3}.study-decoration p{font-size:14px}.quiz-score{display:flex;align-items:center;gap:16px;margin:24px 0;padding:16px 20px;background:#91b8fb0c;border-radius:12px}.quiz-score strong{font-size:25px;color:#bdd4ff}.quiz-score span{color:#a5b7d4;font-size:14px}.quiz-question{padding:26px 0;border-top:1px solid #ffffff0c}.quiz-question>span{color:#97a9ce;font-size:11px;letter-spacing:.12em}.quiz-question h3{font-size:18px;line-height:1.5;margin:10px 0 18px}.quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quiz-options button{display:flex;align-items:center;gap:12px;text-align:left;min-height:60px;background:#0c1220;border:1px solid #ffffff12;border-radius:12px;padding:13px 15px;color:#d1dcef;font:inherit;font-size:15px;cursor:pointer}.quiz-options button b{display:grid;place-items:center;border-radius:7px;width:28px;height:28px;flex-shrink:0;background:#ffffff09;color:#8599bc;font-size:12px}.quiz-options button:not(:disabled):hover{border-color:#93b4f0}.quiz-options button.correct{background:#1c514533;border-color:#5dc39e99;color:#b2f2d7}.quiz-options button.incorrect{background:#522c3433;border-color:#d4818999;color:#ffc1c6}.quiz-options button:disabled{opacity:1}.quiz-feedback{border-radius:10px;background:#ffffff04;padding:14px 16px;color:#b7c7df!important;font-size:14px!important;line-height:1.7!important}.study-cards details{margin-top:12px;border:1px solid #ffffff12;border-radius:12px;background:#0c1421;padding:0 18px}.study-cards summary{cursor:pointer;padding:20px 0;display:flex;gap:13px;list-style:none;font-size:16px;line-height:1.5}.study-cards summary>span{font-size:12px;color:#e8c47e;padding-top:4px}.study-cards details[open] summary{border-bottom:1px solid #ffffff0c}.study-cards p{padding-bottom:8px;font-size:15px}.ready-lessons{margin:28px 0;padding:20px 24px;border:1px solid #ffffff12;border-radius:16px}.ready-lessons>summary{cursor:pointer;color:#bfcce1;font-size:14px}.ready-lessons>.view-heading{margin-top:30px}.ready-lessons h1{font-size:25px}.file-workbench{margin-top:24px}.file-workbench .form-row{margin-top:24px}.file-answer{margin-top:25px;padding-top:20px;border-top:1px solid #ffffff14}.files-list .file-row{flex-wrap:wrap}.files-list .file-row .btn{font-size:12px;padding:9px 12px}.research-note{display:flex;align-items:center;gap:12px;margin-top:28px;color:#8193ae;font-size:13px}.research-note>svg{width:20px;height:20px;flex-shrink:0}.research-ask>label:first-child{margin-top:0}.image-studio{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(0,1.3fr);gap:28px;align-items:start}.image-controls>label:first-child{margin-top:0}.image-controls{position:sticky;top:24px}.style-pills{display:grid;grid-template-columns:1fr 1fr;gap:8px}.style-pills button{padding:11px 10px;border:1px solid #ffffff16;border-radius:9px;background:#ffffff04;color:#adb9ce;font:inherit;font-size:13px;cursor:pointer}.style-pills button.selected{border-color:#df9cb7;background:#e88abd16;color:#fac8db}.image-create{margin-top:24px}.image-create>.btn{width:100%;justify-content:center}.image-create>span{display:block;text-align:center;color:#98a6bc;font-size:12px;margin-top:12px}.image-gallery .section-line{margin-bottom:16px}.gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.gallery-card{overflow:hidden;border:1px solid #ffffff12;border-radius:15px;background:#101724}.gallery-card>a{display:block}.gallery-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#192132}.gallery-card>div{padding:16px}.gallery-card p{font-size:13px;line-height:1.6;color:#b4c1d7;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.gallery-card .btn{font-size:12px;padding:8px 10px}.gallery-card .result-actions{justify-content:space-between}.rich-text{white-space:normal!important;overflow-wrap:anywhere}.rich-text p{font-size:16px;line-height:1.8;color:inherit;margin:0 0 14px}.rich-text h3{font-size:18px;line-height:1.5;margin:24px 0 12px}.rich-text ul{margin:10px 0 20px;padding-left:23px}.rich-text li{margin:7px 0;font-size:16px;line-height:1.7}.rich-text a{color:#accaff;text-decoration:underline;text-underline-offset:3px}.rich-text :not(pre)>code{background:#a1b5ed13;border:1px solid #a1b5ed16;border-radius:5px;padding:1px 5px;font-size:.88em;color:#c6d9fa}.code-snippet{border:1px solid #ffffff13;border-radius:12px;overflow:hidden;margin:20px 0;background:#080e19}.code-snippet>div{display:flex;align-items:center;gap:14px;padding:10px 14px;background:#ffffff05;font-size:12px;color:#8e9fb9}.code-snippet>div span{margin-right:auto}.code-snippet button{border:0;background:none;color:#b9cef4;font:inherit;cursor:pointer}.code-snippet pre{padding:18px;margin:0;overflow:auto;max-height:380px;font-size:13px;line-height:1.7;color:#d0daf0;white-space:pre}.message-actions{flex-wrap:wrap}.message-body{min-width:0}.code-actions>.result-actions{margin:0}.btn:disabled{cursor:wait;opacity:.5}.file-info{min-width:100px}.saved-decks h2{font-size:20px;margin-bottom:18px}
@media(max-width:1100px){.goal-planner{grid-template-columns:1fr}.goal-planner .btn{justify-self:start}.code-brief{grid-template-columns:1fr}.code-brief p{max-width:none}.code-brief{gap:14px}.creation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-studio{grid-template-columns:1fr}.image-controls{position:static}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.study-creator{grid-template-columns:1fr}.study-decoration{display:none}}
@media(max-width:650px){.work-banner{padding:13px 15px;gap:10px;margin-bottom:20px}.work-banner div>span{font-size:12px}.work-banner strong{font-size:14px}.work-banner>#work-elapsed{display:none}.inline-connect{flex-wrap:wrap;padding:14px}.inline-connect .btn{margin-left:28px}.code-brief h2{font-size:23px}.code-brief .result-actions .btn{flex:1 1 42%;justify-content:center;font-size:12px;padding:12px 9px}.code-layout{min-width:0}.proposal-preview{height:300px}.creation-grid{grid-template-columns:1fr}.study-controls{gap:10px}.study-controls>label{flex-basis:100%}.study-controls>.btn{flex:1;justify-content:center;font-size:13px}.quiz-options{grid-template-columns:1fr}.quiz-score{align-items:flex-start;flex-direction:column;gap:4px}.quiz-question h3{font-size:17px}.ready-lessons{padding:17px}.file-workbench .form-row{flex-wrap:wrap}.file-workbench .form-row .field{flex-basis:100%}.files-list .file-row .btn{order:5;margin-left:34px}.gallery-grid{grid-template-columns:1fr 1fr;gap:10px}.gallery-card>div{padding:12px}.gallery-card .btn{font-size:11px}.gallery-card .result-actions{gap:3px}.image-studio{gap:20px}.ai-result-title h2{font-size:19px}.ai-result-title>span{display:none}.rich-text p,.rich-text li{font-size:15px}.code-actions{align-items:flex-start;gap:15px}.code-actions>.result-actions{flex-wrap:wrap;justify-content:flex-start}.prompt-chips button{font-size:12px}.goal-planner{padding:23px}.plan-list li{gap:12px}.style-pills{grid-template-columns:1fr 1fr}.study-cards summary{font-size:15px}.message-actions button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.thinking-dots i{animation:none}}

@media(max-width:650px){.code-actions{flex-direction:column}.code-actions>.result-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.code-actions>.result-actions>.btn{justify-content:center}}

.code-preview,.code-editor{height:500px}.proposal-preview{height:480px}
@media(max-width:650px){.code-layout>.code-window:first-child{order:2}.code-layout>.code-window:nth-child(2){order:1}.code-preview{height:560px}.code-editor{height:300px}.proposal-preview{height:520px}}
.coding-budget{display:flex;justify-content:space-between;align-items:center;gap:16px;color:#9fafd0;font-size:12px;margin:-10px 0 22px}.coding-budget>span:first-child{display:flex;align-items:center;gap:9px}.coding-budget svg{width:16px;height:16px;color:#b9a2ed}.model-result{font-size:12px;color:#9bafcd;margin:18px 0 10px}.model-budget{padding:18px;margin-top:18px;border:1px solid #b89af02b;border-radius:12px;background:#b49cec09}.model-budget strong{font-size:14px;color:#c4b5ed}.model-budget p{margin:9px 0 0;font-size:13px!important}@media(max-width:650px){.coding-budget{align-items:flex-start;flex-direction:column;gap:8px;font-size:11px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chat-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:2px 0 30px}.chat-page-heading h1{font-size:clamp(24px,2.5vw,36px);letter-spacing:-1.2px;margin:8px 0 0;line-height:1.2}.chat-workspace{display:grid;grid-template-columns:250px minmax(0,1fr);gap:26px;align-items:start}.conversation-panel{position:sticky;top:100px;padding:18px 13px;border:1px solid #242632;border-radius:20px;background:linear-gradient(145deg,#131620,#0e1018);min-width:0}.conversation-panel-title{display:flex;justify-content:space-between;align-items:center;padding:3px 5px 17px;gap:8px;font-size:14px}.conversation-panel-title strong{font-weight:600}.conversation-panel-title span,.conversations-toggle>span,.app-library h2 span{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;margin-left:5px;background:#242936;border-radius:7px;font-size:11px;color:#adb9d0}.new-conversation{width:100%;justify-content:center}.conversation-search{display:flex;align-items:center;gap:9px;background:#0c0e16;border:1px solid #252936;border-radius:10px;padding:10px;margin:14px 0 10px}.conversation-search svg{flex-shrink:0;width:15px;height:15px;color:#8f9db8}.conversation-search input{width:100%;min-width:0;border:0;outline:0;background:none;color:#dce4f5;font:inherit;font-size:12px}.conversation-search:focus-within{border-color:#a8bbff;box-shadow:0 0 0 2px #a8bbff15}#conversation-rows{max-height:calc(100dvh - 360px);min-height:100px;overflow-y:auto}.conversation-row{display:flex;align-items:center;gap:1px;border:1px solid transparent;border-radius:12px;margin-bottom:4px;transition:background .2s}.conversation-row.selected{background:#a5bbff10;border-color:#a5bbff24}.conversation-row:hover{background:#ffffff07}.conversation-open{display:flex;align-items:center;gap:10px;min-width:0;flex:1;text-align:left;background:none;border:0;color:#d3dceb;padding:12px 5px 12px 9px;cursor:pointer}.conversation-open>span:last-child{min-width:0;flex:1}.conversation-open strong{display:block;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-open small{display:block;color:#7e8ba5;font-size:10px;margin-top:5px}.conversation-symbol svg{width:16px;height:16px;color:#8fa9d0}.conversation-menu{width:27px;height:32px;flex-shrink:0;font-size:20px;margin-right:2px}.conversation-empty,.conversation-footnote{font-size:11px;color:#8792a9;line-height:1.7;margin:16px 6px}.conversation-footnote{padding-top:14px;border-top:1px solid #222633;margin-bottom:0}.conversation-main{min-width:0}.conversation-heading{display:flex;align-items:center;gap:8px;margin-bottom:20px}.conversation-heading>div{flex:1;min-width:0}.conversation-heading small{font-size:9px;letter-spacing:2px;color:#8092b0}.conversation-heading h2{font-size:19px;line-height:1.4;letter-spacing:-.4px;margin:6px 0 0;overflow-wrap:anywhere}.conversation-heading .icon-button{flex-shrink:0}.chat-mode-bar{padding:14px;background:#10131c;border:1px solid #272b3c;border-radius:16px}.mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px}.mode-switch button{display:flex;align-items:center;justify-content:center;gap:11px;padding:12px 10px;border:1px solid transparent;border-radius:10px;background:none;color:#9ba7be;text-align:left;cursor:pointer}.mode-switch button svg{width:20px;height:20px;flex-shrink:0}.mode-switch button span{font-size:13px;font-weight:600}.mode-switch button small{display:block;font-size:10px;font-weight:400;color:#8392b0;margin-top:3px}.mode-switch button[aria-pressed=true]{color:#c6d4ff;background:#a2b8ff12;border-color:#a2b8ff3d}.mode-switch button[data-mode=smart][aria-pressed=true]{background:#af8afb14;border-color:#af8afb45;color:#d9c2ff}.chat-mode-bar>p{font-size:11px;color:#7e8ca6;line-height:1.7;margin:12px 4px 0}.chat-mode-bar>p strong{font-weight:500;color:#aab9d4}.conversation-main .chat-list{min-height:240px;margin:22px 0}.conversation-main .composer{margin-top:20px}.conversation-main .message{gap:12px}.conversation-main .message-body{min-width:0}.conversation-main .message-text{overflow-wrap:anywhere}.chat-welcome{text-align:center;padding:30px 8px 18px}.chat-welcome img{width:100px;height:100px;object-fit:contain;filter:drop-shadow(0 6px 30px #769ffd35)}.chat-welcome h2{font-size:21px;letter-spacing:-.6px;margin:16px 0 10px}.chat-welcome p{color:#8996ae;font-size:13px;line-height:1.7}.chat-welcome .prompt-chips{justify-content:center;margin-top:24px}.chat-welcome .prompt-chips button{font-size:11px}.chat-thinking{display:flex;align-items:center;gap:14px;color:#aebdd6;font-size:13px;padding:18px 0}.answer-model{margin-top:14px;font-size:10px;color:#929cba}.conversations-toggle,.conversations-close{display:none}.chat-menu-actions{display:flex;flex-direction:column;gap:12px}.chat-workspace button:focus-visible,.app-workbench button:focus-visible,.app-idea:focus-visible{outline:2px solid #b7c9ff;outline-offset:3px}
.app-budget{display:flex;gap:11px;align-items:center;padding:0 3px;margin:-9px 0 26px;font-size:12px;line-height:1.7;color:#8d9bb4}.app-budget>svg{width:19px;height:19px;flex-shrink:0;color:#b4a4df}.app-budget strong{color:#c1ccec;font-weight:500}.app-builder-hero{padding:30px!important;background:radial-gradient(ellipse at 100% 0%,#60d5af13,transparent 70%),#12151f;border-color:#2a3c3b!important}.app-builder-intro{display:flex;gap:17px;align-items:center;margin-bottom:24px}.app-builder-symbol{display:grid;place-items:center;width:54px;height:54px;flex-shrink:0;border-radius:16px;background:#7eebc511;border:1px solid #7eebc522;color:#8ce7c9}.app-builder-symbol svg{width:26px;height:26px}.app-builder-intro h2{font-size:23px;letter-spacing:-.6px;margin:0 0 8px}.app-builder-intro p{margin:0;font-size:13px;color:#8f9db6;line-height:1.7}.app-builder-hero textarea{font-size:15px;line-height:1.8;background:#0b1015;border-color:#2b3639;resize:vertical;min-height:132px}.app-create-footer{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-top:17px}.app-create-footer>span{font-size:11px;color:#8797ae}.app-create-footer .primary{background:#9ce8cf;color:#143b2f;border-color:#9ce8cf}.app-idea-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 42px}.app-idea{display:flex;align-items:center;gap:10px;padding:17px 13px;cursor:pointer;text-align:left;border:1px solid #292d3b;background:#12151d;color:#a2b1c9;border-radius:12px;transition:background .2s}.app-idea:hover{background:#1a2230}.app-idea>svg{width:18px;height:18px;flex-shrink:0;color:#82bba9}.app-idea>span{font-size:11px;line-height:1.6;flex:1}.app-idea>svg:last-child{width:12px;color:#66748b}.app-library{margin-top:40px}.app-library .section-line{gap:15px;flex-wrap:wrap}.app-library-search{max-width:300px;margin:20px 0}.app-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.app-tile{display:flex;flex-direction:column;min-width:0;border:1px solid #292e3b;border-radius:17px;background:linear-gradient(140deg,hsl(var(--app-hue) 25% 12%),#10131b);padding:23px}.app-tile-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:hsl(var(--app-hue) 45% 65% / .1);color:hsl(var(--app-hue) 55% 72%);margin-bottom:17px}.app-tile-icon svg{width:23px;height:23px}.app-tile h3{font-size:17px;margin:0 0 10px;overflow-wrap:anywhere;letter-spacing:-.3px}.app-tile p{font-size:12px;line-height:1.7;color:#8c9bb5;margin:0 0 17px;flex:1;overflow-wrap:anywhere}.app-tile small{font-size:10px;color:#7d8da7}.app-tile .result-actions{margin-top:20px;justify-content:space-between}.app-tile .btn{min-width:95px;justify-content:center}.app-library-empty{grid-column:1/-1;text-align:center;padding:35px 20px;border:1px dashed #2b3040;border-radius:16px;color:#8899b3}.app-library-empty>svg{width:30px;height:30px;color:#677e94}.app-library-empty h3{font-size:16px;color:#acbcd2}.app-library-empty p{font-size:12px;line-height:1.7}.app-workbench{border:1px solid #2b3545;border-radius:20px;overflow:hidden;background:#10131d}.app-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 24px;border-bottom:1px solid #2a3040}.app-toolbar h2{font-size:21px;margin:7px 0 0;overflow-wrap:anywhere;letter-spacing:-.5px}.app-toolbar>div:first-child{min-width:0}.app-toolbar .eyebrow{font-size:9px}.app-toolbar .result-actions{flex-shrink:0}.app-preview{display:block;width:100%;height:520px;border:0;background:#f4f6fa;color-scheme:normal}.app-result-description{font-size:13px;line-height:1.8;color:#bcc8dc;padding:20px 24px;border-bottom:1px solid #272c3c;overflow-wrap:anywhere}.app-result-description>span{display:block;font-size:10px;color:#7c8ca7;margin-top:9px}.app-change-form{padding:23px 24px}.app-change-form>label{display:block;font-size:14px;font-weight:500;margin-bottom:13px;color:#d2dced}.app-change-form .result-actions{margin-top:15px}.application-dialog{width:calc(100vw - 32px)!important;max-width:1200px!important;padding:20px!important}.application-dialog .app-preview{height:calc(100dvh - 130px);min-height:250px;border-radius:12px}.application-dialog .dialog-heading{margin-bottom:14px}.application-dialog #dialog-content{max-height:none!important}.app-fullscreen{min-width:0}
@media(min-width:1440px){.chat-workspace{grid-template-columns:270px minmax(0,1fr);gap:35px}.conversation-main{max-width:810px}.app-preview{height:580px}}
@media(max-width:1100px){.chat-workspace{grid-template-columns:210px minmax(0,1fr);gap:18px}.conversation-panel{padding:15px 9px}.mode-switch button{gap:6px;padding:10px 6px}.mode-switch button span{font-size:12px}.mode-switch button small{font-size:9px}.app-idea-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.chat-page-heading{align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:24px}.chat-page-heading h1{font-size:28px;line-height:1.2;max-width:330px}.conversations-toggle,.conversations-close{display:flex}.conversations-toggle{font-size:12px;padding:9px 13px;gap:7px}.conversations-toggle svg{width:16px;height:16px}.chat-workspace{display:block}.conversation-panel{display:none;position:static;margin-bottom:24px;padding:16px}.conversation-panel.is-open{display:block}.conversation-panel-title{padding-bottom:12px;font-size:15px}.conversation-search input{font-size:14px}#conversation-rows{max-height:330px;min-height:70px}.conversation-open{padding:14px 9px}.conversation-open strong{font-size:14px}.conversation-open small{font-size:11px}.conversation-menu{width:36px;height:40px}.conversation-main .chat-list{margin-top:20px;min-height:220px}.chat-mode-bar{padding:10px}.mode-switch button{padding:11px 7px;gap:9px}.mode-switch button span{font-size:13px}.mode-switch button small{font-size:10px}.chat-mode-bar>p{font-size:10px;margin-top:9px}.conversation-heading h2{font-size:18px}.conversation-main .composer-tools>span{font-size:10px}.chat-welcome{padding:20px 0 7px}.chat-welcome h2{font-size:20px}.chat-welcome .prompt-chips{gap:7px}.conversation-main .message{gap:9px}.conversation-main .message-avatar{width:30px;height:30px;flex-shrink:0}.conversation-main .message-body{font-size:14px}.conversation-main .message-text p{font-size:14px}.app-budget{font-size:11px;margin-top:-4px}.app-builder-hero{padding:20px!important}.app-builder-intro{gap:12px;margin-bottom:20px}.app-builder-intro h2{font-size:19px}.app-builder-intro p{font-size:12px}.app-builder-symbol{width:44px;height:44px;border-radius:13px}.app-builder-symbol svg{width:23px;height:23px}.app-create-footer{flex-direction:column-reverse;align-items:stretch;gap:12px}.app-create-footer .btn{justify-content:center}.app-create-footer>span{text-align:center;font-size:10px}.app-idea-grid{margin-bottom:30px}.app-idea{padding:14px 10px;gap:8px}.app-idea>span{font-size:10px}.app-idea>svg:last-child{display:none}.app-library{margin-top:30px}.app-library-grid{grid-template-columns:1fr 1fr;gap:10px}.app-tile{padding:17px 13px}.app-tile h3{font-size:15px}.app-tile p{font-size:11px}.app-tile .result-actions{gap:4px}.app-tile .btn{padding:8px 10px;min-width:75px;font-size:11px}.app-tile .icon-button{width:30px;height:30px}.app-toolbar{padding:16px;flex-wrap:wrap}.app-toolbar h2{font-size:19px}.app-toolbar .btn{font-size:11px;padding:9px 11px}.app-preview{height:510px}.app-result-description{padding:16px;font-size:12px}.app-change-form{padding:17px 16px}.app-change-form .result-actions{gap:8px}.app-change-form .btn{font-size:11px;padding:10px 12px}.application-dialog{width:calc(100vw - 16px)!important;padding:13px!important}.application-dialog .dialog-heading h2{font-size:18px}.app-library .section-line>span{font-size:10px}}
@media(max-width:360px){.app-library-grid{grid-template-columns:1fr}.mode-switch button{gap:6px}.mode-switch button small{font-size:9px}}

.creation-progress{display:flex;align-items:flex-start;gap:17px;margin:0 auto 28px;padding:22px 24px;max-width:1120px;border:1px solid #a3b9ff36;background:linear-gradient(110deg,#171e32,#121521);border-radius:18px}.creation-progress-icon{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;background:#a3b9ff0e;border-radius:12px;color:#acbdf3}.creation-progress-icon>svg{width:20px;height:20px}.creation-progress .thinking-dots{margin:0;gap:4px}.creation-progress .thinking-dots i{width:4px;height:4px}.creation-progress-copy{min-width:0;flex:1}.creation-progress-copy strong{display:block;font-size:15px;line-height:1.5;color:#dfe6fd}.creation-progress-copy>span{display:block;font-size:11px;color:#a3b5db;margin-top:4px;font-variant-numeric:tabular-nums}.creation-progress-copy p{margin:9px 0 0;font-size:12px;line-height:1.7;color:#8f9dbb;max-width:620px}.creation-progress-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.creation-progress-actions .btn{font-size:11px;padding:9px 12px}.creation-paused{border-color:#e9c98a37;background:linear-gradient(110deg,#24202a,#14151e)}.creation-paused .creation-progress-icon{color:#e9c98a}@media(max-width:760px){.creation-progress{margin:0 0 24px;padding:17px;gap:12px;flex-wrap:wrap}.creation-progress-copy{flex-basis:calc(100% - 55px)}.creation-progress-copy strong{font-size:13px}.creation-progress-copy p{font-size:11px}.creation-progress-actions{padding-left:50px}.creation-progress-actions .btn{font-size:11px}}
