:root{--paper:#f8f9f5;--white:#fff;--ink:#253c35;--muted:#7b857c;--line:#e4e9df;--green:#234b3c;--lime:#dfebbd;--sidebar:#f0f3ea;--soft:#eef2e9;--shadow:0 12px 42px #263b3410;--radius:18px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #93ac70;outline-offset:3px}button{color:inherit}button svg{flex-shrink:0}svg{vertical-align:middle}h1,h2,h3,h4,p{margin:0}button{border:0;background:none}textarea{resize:vertical}label{display:block}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:11px;padding:12px;background:#fff;color:var(--ink);transition:border-color .2s}input:focus,textarea:focus,select:focus{border-color:#6b8f72;outline:none;box-shadow:0 0 0 3px #e4ecdb}textarea{line-height:1.65;min-height:110px}select{cursor:pointer}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green)}.initial-loading{height:100vh;display:grid;place-content:center;text-align:center;gap:12px}.initial-loading p{color:var(--muted)}.brand-word{font-family:Georgia,"Times New Roman",serif;font-size:41px;letter-spacing:-2px;font-weight:400}.brand-word>span{color:#94a85e}.brand-caption{white-space:nowrap;font-size:8px;letter-spacing:1.7px;color:#768472;margin-top:1px;text-transform:uppercase}.shell{display:flex;min-height:100vh}.sidebar{width:246px;flex-shrink:0;padding:36px 21px 20px;position:fixed;inset:0 auto 0 0;background:var(--sidebar);border-right:1px solid #e2e7db;display:flex;flex-direction:column;z-index:20}.brand{padding-left:17px;margin-bottom:41px;display:flex;gap:10px;align-items:center}.brand-mark{color:#506d44}.brand .brand-word{font-size:39px}.nav-label{font-size:9px;font-weight:650;letter-spacing:1.9px;color:#8c9685;padding:0 14px;margin:0 0 12px}.nav-group{display:grid;gap:5px;margin-bottom:28px}.nav-item{display:flex;align-items:center;gap:12px;text-decoration:none;padding:12px 14px;border-radius:10px;color:#687766;font-size:12px;text-align:left;transition:background .18s,color .18s;line-height:1.3}.nav-item:hover{background:#e7eddf}.nav-item.active{background:var(--green);color:#f0f4e8;box-shadow:0 3px 8px #20483210}.nav-item.active svg{color:#d4e5a5}.nav-item .nav-note{margin-left:auto;font-size:9px;opacity:.7}.recent-item{display:block;text-align:left;font-size:11px;color:#7d8875;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:8px 14px;border-radius:7px}.recent-item:hover{background:#e5ebdc}.sidebar-space{flex:1;min-height:16px}.sidebar-note{margin:8px 9px 22px;padding:15px 14px;border:1px solid #dbe3cf;border-radius:12px;background:#eaf0df}.sidebar-note .tiny-label{font-size:9px}.sidebar-note p{font-family:Georgia,serif;font-size:16px;line-height:1.35;margin:9px 0}.sidebar-note small{font-size:10px;line-height:1.6;color:#7a886b;display:block}.user{display:flex;gap:10px;align-items:center;border-top:1px solid #dce3d4;padding:19px 5px 0}.avatar{width:33px;height:33px;border-radius:50%;background:#dae3c9;color:#435a38;display:grid;place-content:center;font-family:Georgia,serif;font-size:17px;flex-shrink:0}.user-name{font-size:11px;font-weight:600;max-width:126px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-caption{font-size:9px;color:#85917a;margin-top:3px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#6f7d72;flex-shrink:0}.icon-button:hover{background:var(--soft)}.user .icon-button{margin-left:auto;background:transparent;border:none}.workspace{width:calc(100% - 246px);margin-left:246px;min-width:0}.topbar{height:78px;padding:0 46px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#fafbf8;gap:15px}.breadcrumbs{font-size:11px;display:flex;gap:11px;align-items:center;color:#899181}.breadcrumbs strong{font-weight:500;color:#52654e}.topbar-right{display:flex;align-items:center;gap:17px}.topbar-text{font-size:10px;color:#8b9384}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:20px;background:#f0f3e9;border:1px solid #e2e8d8;font-size:9px;color:#6a7c5a;letter-spacing:.2px}.status-dot{width:5px;height:5px;background:#83a45f;border-radius:50%}.mobile-toggle{display:none}.demo-banner{font-size:10px;color:#7c6d43;background:#f5f0de;border-bottom:1px solid #ebe2c5;padding:8px 46px;display:flex;align-items:center;justify-content:space-between;gap:12px;line-height:1.5}.demo-banner strong{font-size:9px;letter-spacing:1px;margin-right:7px}.demo-banner button{color:#746a4e;text-decoration:underline;font-size:10px}.content{padding:33px 46px 32px;max-width:1510px;margin:auto}.greeting-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.eyebrow,.tiny-label{font-size:9px;letter-spacing:1.8px;text-transform:uppercase;color:#778469;font-weight:650}.eyebrow{display:flex;gap:7px;align-items:center}.date-label{font-size:10px;color:#87917f}.hero{display:grid;grid-template-columns:1fr 270px;gap:20px;margin-bottom:32px}.hero-main{background:#eaf0e1;border:1px solid #dce5cd;border-radius:20px;padding:32px 32px 29px;position:relative;overflow:hidden;min-height:258px}.hero-main:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#819c641b .8px,transparent .8px);background-size:17px 17px;pointer-events:none;mask-image:linear-gradient(to right,transparent 30%,black)}.hero-main .hero-kicker{font-size:9px;font-weight:600;letter-spacing:1.7px;text-transform:uppercase;color:#7a8d61;position:relative;z-index:2}.hero-main h1{font-family:Georgia,"Times New Roman",serif;font-size:39px;line-height:1.13;letter-spacing:-1.8px;font-weight:400;position:relative;z-index:2;max-width:430px;margin:15px 0 13px}.hero-main h1 em{color:#5c7652;font-weight:400}.hero-main p{font-size:11px;line-height:1.85;color:#78866a;max-width:310px;position:relative;z-index:2}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 17px;border-radius:9px;background:var(--green);color:#fff;font-size:11px;font-weight:500;text-decoration:none;transition:background .15s,transform .15s;border:1px solid transparent;line-height:1.3}.btn:hover{background:#315e47;transform:translateY(-1px)}.btn.secondary{border-color:var(--line);background:var(--white);color:#5e7256}.btn.secondary:hover{background:#edf2e5}.btn.soft{background:#e4edda;color:#547145}.btn.small{padding:9px 12px;font-size:10px}.btn.danger{background:#f8ebe5;color:#93583f}.hero-main .btn{margin-top:19px;position:relative;z-index:2}.orbit{position:absolute;width:220px;height:235px;right:-30px;top:15px;opacity:.8;transform:rotate(-13deg);pointer-events:none}.focus-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px 22px;display:flex;flex-direction:column;position:relative;overflow:hidden}.focus-icon{width:32px;height:32px;border-radius:10px;display:grid;place-content:center;background:#f2eee4;color:#a18d65;margin-bottom:17px}.focus-card h2{font-family:Georgia,serif;font-weight:400;font-size:23px;line-height:1.18;letter-spacing:-.6px;margin-top:9px}.focus-card p{color:#909582;font-size:10px;line-height:1.7;margin:10px 0 18px}.focus-card .text-button{margin-top:auto}.text-button{font-size:10px;font-weight:600;color:#65834d;display:inline-flex;align-items:center;gap:8px;padding:0;text-decoration:none}.text-button:hover{color:#294b30}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:18px;gap:15px}.section-heading h2{font-family:Georgia,serif;font-size:24px;font-weight:400;letter-spacing:-.6px}.section-heading p{font-size:10px;color:#969d8d;margin-top:7px;line-height:1.5}.section-count{font-size:9px;color:#879578;white-space:nowrap;padding-bottom:3px}.courses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.course-card{padding:18px 18px 16px;border:1px solid var(--line);border-radius:14px;background:var(--white);text-align:left;min-height:145px;display:flex;flex-direction:column;position:relative;transition:transform .2s,box-shadow .2s,border-color .2s}.course-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#bfceab}.course-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.subject-icon{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;font-size:18px;font-family:Georgia,serif}.course-top>svg{color:#a9b49d}.sage .subject-icon,.subject-icon.sage{color:#7a946b;background:#eef3e6}.lilac .subject-icon,.subject-icon.lilac{color:#9183a5;background:#f0edf6}.peach .subject-icon,.subject-icon.peach{color:#b58d74;background:#f9efe6}.blue .subject-icon,.subject-icon.blue{color:#7d9aab;background:#edf3f6}.sand .subject-icon,.subject-icon.sand{color:#b09f70;background:#f5f1e3}.course-card h3{font-size:11px;font-weight:600;line-height:1.5;max-width:93%;margin-bottom:7px}.course-card p{font-size:9px;line-height:1.6;color:#929b87;margin-top:auto}.memory-strip{background:#f0f3e9;border:1px solid #e2e8d8;border-radius:13px;padding:19px 22px;display:flex;align-items:center;gap:16px;margin-top:23px}.memory-strip>.memory-badge{width:38px;height:38px;background:#e4ebd5;border:1px solid #dae3c8;border-radius:11px;display:grid;place-items:center;color:#819768;flex-shrink:0}.memory-strip h3{font-size:11px;font-weight:550;margin-bottom:5px}.memory-strip p{font-size:10px;line-height:1.6;color:#8c957e}.memory-strip .text-button{margin-left:auto;white-space:nowrap}.footer-note{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#a2aa97;margin-top:24px;line-height:1.5}.page-intro{margin-bottom:25px}.page-intro h1{font-family:Georgia,serif;font-weight:400;font-size:35px;letter-spacing:-1px;margin:12px 0 9px;line-height:1.2}.page-intro p{font-size:12px;color:#86907e;line-height:1.8;max-width:650px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.two-column{display:grid;grid-template-columns:minmax(270px,.88fr) minmax(350px,1.12fr);gap:22px;align-items:start}.field{margin-bottom:18px}.field>label,.field>.label{font-size:11px;font-weight:550;display:block;margin-bottom:8px}.field small{font-size:10px;display:block;color:#899280;line-height:1.6;margin-top:7px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-error{font-size:11px;line-height:1.6;color:#a4553c;min-height:0;margin:8px 0}.form-error:empty{display:none}.note{font-size:10px;line-height:1.8;color:#819174;background:#f4f7ed;border-radius:10px;padding:12px 14px;margin-bottom:18px}.note.amber{background:#f9f4e7;color:#9d8a59}.empty-state{text-align:center;padding:42px 25px;border:1px dashed #d4dfc6;border-radius:16px;background:#f4f7ee;display:flex;flex-direction:column;align-items:center;gap:13px}.empty-state .empty-icon{width:58px;height:58px;border-radius:18px;background:#e8efdc;color:#88a16a;display:grid;place-items:center}.empty-state h2{font-family:Georgia,serif;font-size:25px;font-weight:400}.empty-state p{max-width:350px;font-size:11px;line-height:1.8;color:#929d85}.empty-state .mini-formula{font-family:Georgia,serif;font-size:26px;color:#95aa7c;margin:12px}.subheading{font-size:12px;font-weight:600;margin-bottom:16px}.chat-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.chat-toolbar select{width:auto;max-width:340px;font-size:11px;min-width:180px}.memory-toggle{display:flex;align-items:center;gap:7px;font-size:10px;color:#7d8e70;margin-left:auto;cursor:pointer}.chat-area{min-height:390px;background:#fff;border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column;overflow:hidden}.chat-messages{padding:28px;max-height:calc(100vh - 345px);min-height:280px;overflow-y:auto;scroll-behavior:smooth}.chat-empty{max-width:500px;margin:23px auto;text-align:center}.chat-empty .empty-icon{margin:0 auto 16px;width:50px;height:50px;border:1px solid #dbe5ca;background:#f0f5e7;border-radius:16px;display:grid;place-items:center;color:#7f9967}.chat-empty h2{font-family:Georgia,serif;font-weight:400;font-size:29px;letter-spacing:-.7px;line-height:1.25}.chat-empty p{font-size:11px;color:#8b9680;line-height:1.8;margin:11px auto 21px;max-width:410px}.prompt-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.prompt-chip{border:1px solid #e4e9dd;border-radius:10px;padding:11px 12px;text-align:left;font-size:10px;color:#75846b;line-height:1.5;background:#fcfdf9;display:flex;gap:8px;align-items:center}.prompt-chip:hover{background:#edf3e5;border-color:#c7d7b8}.message{display:flex;gap:12px;margin-bottom:25px}.message-avatar{height:29px;width:29px;border-radius:9px;display:grid;place-items:center;flex-shrink:0;color:#789465;background:#edf3e5;font-size:11px;font-weight:600}.message.user .message-avatar{background:#f0ede5;color:#a48e64}.message-main{min-width:0;flex:1}.message-name{font-size:10px;font-weight:600;margin:2px 0 9px}.message-content{font-size:12px;line-height:1.9;color:#5b6d58;overflow-wrap:anywhere}.message.user .message-content{background:#f3f5ee;border-radius:0 12px 12px;padding:12px 15px;color:#617254;display:inline-block;max-width:100%}.message-content p{margin:0 0 12px}.message-content h3,.message-content h4{font-size:13px;font-weight:600;color:#49633c;margin:17px 0 8px}.message-content ul,.message-content ol{padding-left:20px;margin:8px 0 14px}.message-content li{margin-bottom:5px}.message-content code{font-size:11px;background:#eff3e7;border-radius:4px;padding:2px 4px}.message-content pre{white-space:pre-wrap;border:1px solid #e4eadb;background:#f7f9f2;border-radius:10px;padding:14px;overflow-x:auto;font-size:12px}.message-actions{display:flex;gap:12px;margin-top:9px}.message-actions button{font-size:9px;color:#8a997c;display:flex;gap:5px;align-items:center;padding:2px}.composer{margin-top:auto;border-top:1px solid var(--line);padding:15px 20px;background:#fcfdf9}.composer textarea{border:none;box-shadow:none!important;outline:none;background:transparent;padding:3px 2px;min-height:65px;max-height:180px;resize:vertical;font-size:12px}.composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px}.composer select{width:auto;max-width:190px;border:none;font-size:10px;padding:7px;background:#eef2e6;color:#758567}.chat-caption{font-size:9px;color:#a0aa93;text-align:center;margin:12px 10px;line-height:1.7}.thinking{display:flex;gap:5px;padding:12px}.thinking i{width:5px;height:5px;border-radius:50%;background:#9ab27e;animation:pulse 1.2s infinite}.thinking i:nth-child(2){animation-delay:.15s}.thinking i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}.result-stack{display:grid;gap:14px}.slide-preview{aspect-ratio:16/9;background:#eaf0e1;border:1px solid #dce5cc;border-radius:13px;padding:24px;position:relative;display:flex;flex-direction:column;overflow:hidden}.slide-preview.night{background:#183c32;color:#f6f8ef;border-color:#274f3e}.slide-preview .tiny-label{font-size:7px}.slide-preview h2{font-family:Georgia,serif;font-size:clamp(22px,2.3vw,35px);font-weight:400;letter-spacing:-.8px;line-height:1.14;margin:auto 0;max-width:90%;position:relative;z-index:1}.slide-preview small{font-size:8px;opacity:.6}.slide-preview .orbit{width:200px;right:-50px;opacity:.23;top:-15px}.outline-item{border-top:1px solid var(--line);padding:13px 0;display:flex;gap:14px}.outline-number{font-family:Georgia,serif;color:#a0b38b;font-size:20px;width:25px;flex-shrink:0}.outline-item h3{font-size:11px;font-weight:600;margin-bottom:7px}.outline-item p,.outline-item li{font-size:10px;color:#859378;line-height:1.7}.outline-item ul{padding-left:15px;margin:0}.result-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 15px}.result-header h2{font-size:12px;font-weight:600}.result-header small{font-size:9px;color:#9ba58f}.generated-image{display:block;max-width:100%;border-radius:12px;border:1px solid var(--line);max-height:550px;object-fit:contain;margin-bottom:15px}.asset-caption{font-size:10px;line-height:1.7;color:#8e997f;white-space:pre-line;margin-top:12px}.asset-card{padding:16px;border:1px solid var(--line);border-radius:12px;margin-top:10px;display:flex;gap:14px;align-items:center;background:#fff}.asset-card h3{font-size:11px;line-height:1.6}.asset-card p{font-size:9px;color:#8c9880;margin-top:4px}.asset-card .text-button{margin-left:auto;flex-shrink:0}.memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.memory-card{background:#fff;border:1px solid var(--line);padding:22px;border-radius:15px;display:flex;flex-direction:column;gap:15px;min-height:165px}.memory-card p{font-size:12px;color:#66795c;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.memory-card .card-actions{display:flex;gap:12px;align-items:center;margin-top:auto}.memory-card .card-actions .text-button:last-child{margin-left:auto;color:#a88a71}.material-label{font-size:9px;color:#9f9070;text-transform:uppercase;letter-spacing:.7px}.material-card h3{font-family:Georgia,serif;font-weight:400;font-size:20px;line-height:1.3}.material-card p{font-size:10px;max-height:84px;overflow:hidden;color:#8a967e}.memory-count{display:flex;align-items:center;gap:6px;font-size:10px;color:#8d9e79}.full-width{width:100%}.empty-margin{margin:20px 0}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}dialog{border:1px solid var(--line);border-radius:21px;padding:28px;width:min(540px,calc(100vw - 30px));background:var(--paper);color:var(--ink);box-shadow:0 30px 100px #102a3030}dialog::backdrop{background:#142a2bd0;backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:15px}.modal-heading h2{font-family:Georgia,serif;font-size:26px;font-weight:400;letter-spacing:-.8px}.modal-description{font-size:11px;line-height:1.8;color:#849277;margin-bottom:20px}#toast{position:fixed;left:calc(50% + 100px);transform:translateX(-50%) translateY(20px);bottom:25px;background:#26483b;color:#f4f6ea;padding:12px 20px;border-radius:12px;box-shadow:0 6px 25px #1c3c3222;z-index:100;font-size:11px;opacity:0;pointer-events:none;transition:.25s;max-width:min(520px,90vw);line-height:1.7}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}#toast.error{background:#915f49}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#f8f9f4}.auth-art{background:#1e4336;color:#edf1e5;display:flex;flex-direction:column;justify-content:space-between;padding:44px 55px;position:relative;overflow:hidden;min-height:100vh}.auth-art:after{content:"";position:absolute;inset:0;background-image:radial-gradient(#dce9bc17 1px,transparent 1px);background-size:25px 25px;pointer-events:none}.auth-art .brand{padding:0;position:relative;z-index:1}.auth-art .brand-caption{color:#a1b78a}.auth-art .brand-word>span{color:#dce9b1}.auth-hero{position:relative;z-index:1;padding:20px 0}.auth-hero h1{font-family:Georgia,serif;font-size:clamp(40px,4.5vw,62px);line-height:1.11;letter-spacing:-2.1px;font-weight:400;max-width:480px}.auth-hero h1 em{color:#d9e7b1;font-weight:400}.auth-hero p{font-size:12px;line-height:1.9;color:#b2c3a7;max-width:330px;margin-top:23px}.auth-art .orbit{width:320px;height:360px;right:-95px;top:45%;opacity:.18}.auth-art .tiny-label{color:#b2c3a7}.auth-bottom{display:flex;gap:10px;align-items:center;position:relative;z-index:1;font-size:10px;color:#a3b898}.auth-form-side{padding:45px;display:flex;align-items:center;justify-content:center}.auth-box{max-width:340px;width:100%}.auth-box h2{font-family:Georgia,serif;font-weight:400;font-size:36px;letter-spacing:-1px;margin:10px 0}.auth-box>.intro{font-size:11px;line-height:1.8;color:#8d9780;margin-bottom:26px}.auth-switch{margin-top:21px;text-align:center;font-size:10px;color:#8c967f}.auth-switch button{color:#517440;text-decoration:underline;font-size:10px}.auth-box .field input{padding:13px;font-size:12px}.auth-note{text-align:center;color:#9da68f;font-size:9px;margin:25px 0;line-height:1.9}.auth-preview-link{display:block;text-align:center;font-size:10px;color:#8f9e7b;text-decoration:underline}.auth-box .eyebrow{font-size:8px}.settings-list{display:grid;gap:10px}.settings-row{display:flex;justify-content:space-between;align-items:center;padding:14px;background:#f4f7ef;border-radius:10px;gap:15px}.settings-row strong{font-size:11px;font-weight:550}.settings-row p{font-size:10px;color:#8b987c;margin-top:5px;line-height:1.6}.settings-row>span{white-space:nowrap}.loading-panel{padding:40px;text-align:center;color:#859773;font-size:12px}.active-request{font-size:10px;color:#8e9c7d;line-height:1.6;margin:14px 0}.file-helper{font-size:9px;color:#899b77;display:flex;gap:8px;align-items:center;margin-top:9px}.file-helper input{font-size:9px;width:auto;border:0;padding:0;background:none;max-width:235px}.success-tag{font-size:9px;background:#eaf2df;color:#769752;border-radius:20px;padding:6px 9px}.mobile-backdrop{display:none}
@media(min-width:1450px){.content{padding-top:38px}.hero-main{padding:35px 37px}.hero-main h1{font-size:46px}.hero{grid-template-columns:1fr 310px}.orbit{right:0;width:255px}.course-card{min-height:153px;padding:20px}.course-card h3{font-size:12px}.course-card p{font-size:10px}.hero-main p{max-width:370px;font-size:12px}.topbar{height:82px}}
@media(max-width:1180px){.sidebar{width:218px;padding:30px 15px 18px}.workspace{margin-left:218px;width:calc(100% - 218px)}.topbar{padding:0 30px}.content{padding:28px 30px}.demo-banner{padding:8px 30px}.hero{grid-template-columns:1fr 235px;gap:15px}.hero-main{padding:29px 25px}.hero-main h1{font-size:35px}.orbit{right:-76px;opacity:.5}.focus-card{padding:23px 20px}.course-card{padding:16px}.course-card h3{font-size:10px}.two-column{grid-template-columns:1fr 1fr}.hero-main p{max-width:265px}}
@media(max-width:960px){.hero{grid-template-columns:1fr}.hero-main{min-height:245px}.hero-main h1{max-width:410px}.orbit{right:0;opacity:.65;width:225px}.focus-card{display:none}.courses{grid-template-columns:repeat(2,minmax(0,1fr))}.course-card h3{font-size:11px}.topbar-text{display:none}.two-column{grid-template-columns:1fr}.memory-strip p{font-size:9px}.memory-strip{padding:17px 15px}.memory-strip .text-button{font-size:9px}.date-label{font-size:9px}.chat-toolbar select{max-width:100%}.memory-toggle{margin-left:0}.auth-art{padding:35px}.auth-form-side{padding:35px}.auth-hero h1{font-size:44px}.footer-note{font-size:8px}.chat-messages{max-height:55vh}.memory-grid{grid-template-columns:1fr}.sidebar-note{margin-bottom:15px}.section-heading h2{font-size:22px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:transform .23s;width:250px}.sidebar.open{transform:translateX(0)}.workspace{width:100%;margin-left:0}.topbar{height:65px;padding:0 20px}.mobile-toggle{display:inline-flex}.breadcrumbs{font-size:10px;margin-right:auto;gap:7px}.breadcrumbs>span:first-child{display:none}.topbar-right{gap:7px}.pill{font-size:8px;padding:6px 8px}.content{padding:24px 20px}.demo-banner{padding:8px 20px;font-size:9px}.demo-banner strong{font-size:8px}.demo-banner button{font-size:9px;white-space:nowrap}.greeting-row{margin-bottom:17px}.eyebrow{font-size:8px;letter-spacing:1.3px}.date-label{display:none}.hero{margin-bottom:27px}.hero-main{padding:29px 25px;min-height:265px}.hero-main h1{font-size:36px;max-width:330px;line-height:1.12}.hero-main p{max-width:240px;font-size:10px}.hero-main .btn{font-size:10px}.orbit{right:-65px;top:36px;width:208px;opacity:.45}.courses{gap:9px}.course-card{padding:16px 14px;min-height:152px}.course-card h3{font-size:10px}.course-card p{font-size:9px;line-height:1.6}.course-top{margin-bottom:13px}.subject-icon{width:29px;height:29px;font-size:17px}.section-heading p{font-size:9px}.section-count{font-size:8px}.memory-strip{align-items:flex-start;gap:10px;flex-wrap:wrap}.memory-strip>div:nth-child(2){flex:1;min-width:160px}.memory-strip .text-button{margin-left:48px;margin-top:2px}.memory-strip h3{font-size:10px}.footer-note{margin-top:19px;font-size:8px;flex-direction:column;gap:5px}.page-intro h1{font-size:31px}.page-intro p{font-size:11px}.panel{padding:20px}.chat-messages{padding:20px 16px;min-height:270px;max-height:52vh}.chat-empty h2{font-size:26px}.prompt-grid{grid-template-columns:1fr}.prompt-chip{font-size:10px;padding:10px}.chat-toolbar{gap:9px}.chat-toolbar select{width:100%;font-size:10px}.memory-toggle{margin-right:auto;font-size:9px}.composer{padding:13px 14px}.composer textarea{font-size:12px}.composer-bottom select{font-size:9px;max-width:170px}.composer-bottom .btn{padding:10px 12px;font-size:10px}.chat-caption{font-size:8px}.message-content{font-size:11px}.message{gap:9px}.message-avatar{width:25px;height:25px}.message-actions button{font-size:8px}.auth-shell{grid-template-columns:1fr}.auth-art{min-height:240px;padding:26px 28px}.auth-art .brand{margin-bottom:22px}.auth-art .brand-word{font-size:33px}.auth-art .brand-caption{font-size:7px}.auth-hero{padding:0}.auth-hero h1{font-size:33px;max-width:310px;letter-spacing:-1px}.auth-hero p{font-size:10px;margin-top:14px;max-width:270px}.auth-bottom{display:none}.auth-art .orbit{width:190px;top:50px;right:-45px}.auth-form-side{padding:30px 28px}.auth-box{max-width:390px}.auth-box h2{font-size:31px}.auth-note{margin-bottom:15px}.mobile-backdrop.visible{display:block;position:fixed;inset:0;background:#0d28257a;z-index:19}.result-header{flex-wrap:wrap}.memory-grid{grid-template-columns:1fr}.field-pair{gap:10px}.field>label{font-size:10px}.slide-preview h2{font-size:26px}#toast{left:50%;bottom:18px;font-size:10px}.asset-card{padding:13px;gap:10px}.asset-card h3{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Aparência do Lumi. As cores da apresentação exportada são independentes. */
.mobile-wordmark,.mobile-nav,.sidebar-close{display:none}
.theme-toggle{height:35px;width:35px;transition:background .18s,color .18s}
.theme-settings{padding-bottom:23px;margin-bottom:22px;border-bottom:1px solid var(--line)}
.theme-settings strong{font-size:12px;font-weight:600}
.theme-settings p{font-size:10px;color:var(--muted);line-height:1.7;margin-top:6px}
.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:16px 0 11px}
.theme-options button{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:var(--white);border-radius:10px;min-height:43px;font-size:11px;color:var(--muted)}
.theme-options button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}
.theme-settings small{font-size:9px;color:var(--muted);line-height:1.7;display:block}
.auth-form-side{position:relative}.auth-theme-control{position:absolute;right:28px;top:26px}
input::placeholder,textarea::placeholder{color:#89947f;opacity:1}
html[data-theme=dark]{--paper:#111e18;--white:#192a21;--ink:#e2ecdc;--muted:#9aaf96;--line:#304534;--green:#c0d59e;--lime:#deedbb;--sidebar:#14241b;--soft:#23382a;--shadow:0 12px 42px #0003;color-scheme:dark}
[data-theme=dark] body{background:var(--paper)}
[data-theme=dark] .sidebar{background:var(--sidebar);border-color:#2b3d2e}
[data-theme=dark] .brand-mark,[data-theme=dark] .brand-word>span{color:#c2d894}
[data-theme=dark] .brand-caption,[data-theme=dark] .nav-label{color:#92a787}
[data-theme=dark] .nav-item{color:#b1c0a7}
[data-theme=dark] .nav-item:hover,[data-theme=dark] .recent-item:hover{background:#223728}
[data-theme=dark] .nav-item.active{background:#bfd49d;color:#1b3321;box-shadow:none}
[data-theme=dark] .nav-item.active svg{color:#315133}
[data-theme=dark] .recent-item{color:#9aad8f}
[data-theme=dark] .sidebar-note{background:#1e3324;border-color:#344b31}
[data-theme=dark] .sidebar-note small,[data-theme=dark] .user-caption{color:#a1b391}
[data-theme=dark] .sidebar-note p{color:#cfddbb}
[data-theme=dark] .user{border-color:#32442f}
[data-theme=dark] .avatar{background:#304832;color:#d0e3ab}
[data-theme=dark] .icon-button{background:#21372a;border-color:#344e37;color:#c0d0ad}
[data-theme=dark] .icon-button:hover{background:#2e4833}
[data-theme=dark] .topbar{background:#14251c;border-color:var(--line)}
[data-theme=dark] .breadcrumbs{color:#91a286}
[data-theme=dark] .breadcrumbs strong,[data-theme=dark] .topbar-text{color:#b0c19f}
[data-theme=dark] .pill{background:#273d2b;border-color:#375035;color:#c6d8af}
[data-theme=dark] .demo-banner{background:#34351f;border-color:#4b4b2c;color:#d6d0a3}
[data-theme=dark] .demo-banner button{color:#e0d6aa}
[data-theme=dark] .eyebrow,[data-theme=dark] .tiny-label,[data-theme=dark] .date-label{color:#a6bd8e}
[data-theme=dark] .hero-main{background:#223823;border-color:#3a5232}
[data-theme=dark] .hero-main:before{opacity:.6}
[data-theme=dark] .hero-main .hero-kicker{color:#b0c392}
[data-theme=dark] .hero-main h1 em{color:#d4e5a8}
[data-theme=dark] .hero-main p{color:#b0c39e}
[data-theme=dark] .btn{background:#bfd49d;color:#203723}
[data-theme=dark] .btn:hover{background:#d5e5b6}
[data-theme=dark] .btn.secondary{background:#203827;border-color:#3d563a;color:#d1dfbb}
[data-theme=dark] .btn.secondary:hover{background:#304a30}
[data-theme=dark] .btn.soft{background:#314b2f;color:#d5e4bd}
[data-theme=dark] .btn.danger{background:#4c3328;color:#f0c5ac}
[data-theme=dark] .focus-card,[data-theme=dark] .course-card,[data-theme=dark] .panel,[data-theme=dark] .chat-area,[data-theme=dark] .asset-card,[data-theme=dark] .memory-card{background:var(--white);border-color:var(--line)}
[data-theme=dark] .focus-icon{background:#3c3b27;color:#dbd09b}
[data-theme=dark] .focus-card p,[data-theme=dark] .section-heading p,[data-theme=dark] .course-card p,[data-theme=dark] .section-count,[data-theme=dark] .page-intro p{color:#a5b596}
[data-theme=dark] .text-button{color:#c4d89e}
[data-theme=dark] .text-button:hover{color:#e2f0c7}
[data-theme=dark] .course-top>svg{color:#93ad7b}
[data-theme=dark] .course-card:hover{border-color:#91aa6e}
[data-theme=dark] .sage .subject-icon,[data-theme=dark] .subject-icon.sage{color:#bed3a1;background:#2b432c}
[data-theme=dark] .lilac .subject-icon,[data-theme=dark] .subject-icon.lilac{color:#d0bde2;background:#3b3347}
[data-theme=dark] .peach .subject-icon,[data-theme=dark] .subject-icon.peach{color:#e0bda1;background:#44382b}
[data-theme=dark] .blue .subject-icon,[data-theme=dark] .subject-icon.blue{color:#aed0df;background:#2a3d44}
[data-theme=dark] .sand .subject-icon,[data-theme=dark] .subject-icon.sand{color:#d9c99c;background:#3d3b28}
[data-theme=dark] .memory-strip{background:#243b28;border-color:#3b5134}
[data-theme=dark] .memory-strip>.memory-badge{background:#334c30;border-color:#4a6139;color:#d1e2ac}
[data-theme=dark] .memory-strip p,[data-theme=dark] .footer-note{color:#a5b792}
[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select{background:#14271c;border-color:#3b5137;color:#e0ebd4}
[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#99ac8e}
[data-theme=dark] input:focus,[data-theme=dark] textarea:focus,[data-theme=dark] select:focus{border-color:#a2bb7b;box-shadow:0 0 0 3px #a4bf7718}
[data-theme=dark] .field small,[data-theme=dark] .asset-caption,[data-theme=dark] .active-request{color:#a8bb96}
[data-theme=dark] .note{background:#263d28;color:#b8cba2}
[data-theme=dark] .note.amber{background:#3c3823;color:#d7cca0}
[data-theme=dark] .empty-state{background:#1e3323;border-color:#405636}
[data-theme=dark] .empty-state .empty-icon,[data-theme=dark] .chat-empty .empty-icon{background:#30472b;color:#c5d8a2;border-color:#49633b}
[data-theme=dark] .empty-state p,[data-theme=dark] .chat-empty p{color:#aabc98}
[data-theme=dark] .empty-state .mini-formula{color:#bfce9e}
[data-theme=dark] .memory-toggle,[data-theme=dark] .chat-caption{color:#adbf99}
[data-theme=dark] .prompt-chip{background:#213a27;border-color:#3c5537;color:#c0d1ab}
[data-theme=dark] .prompt-chip:hover{background:#314d30}
[data-theme=dark] .message-avatar{background:#314b2d;color:#d1e4aa}
[data-theme=dark] .message.user .message-avatar{background:#443c29;color:#e0d2a6}
[data-theme=dark] .message-content,[data-theme=dark] .memory-card p{color:#cbd8bd}
[data-theme=dark] .message.user .message-content{background:#29402b;color:#d9e6c8}
[data-theme=dark] .message-content h3,[data-theme=dark] .message-content h4{color:#e0edc8}
[data-theme=dark] .message-content code,[data-theme=dark] .message-content pre{background:#203b26;color:#d4e3be;border-color:#425b36}
[data-theme=dark] .message-actions button{color:#acc590}
[data-theme=dark] .composer{background:#172b1e;border-color:#354a32}
[data-theme=dark] .composer textarea{background:transparent}
[data-theme=dark] .composer select{background:#29422a;color:#c5d6ad}
[data-theme=dark] .thinking i{background:#c7db9d}
[data-theme=dark] .slide-preview:not(.night){color:#234b3c}
[data-theme=dark] .slide-preview:not(.night) .tiny-label{color:#5f784c}
[data-theme=dark] .outline-number{color:#bbd195}
[data-theme=dark] .outline-item p,[data-theme=dark] .outline-item li,[data-theme=dark] .result-header small,[data-theme=dark] .asset-card p,[data-theme=dark] .memory-count{color:#abbf98}
[data-theme=dark] .material-label{color:#d4c490}
[data-theme=dark] .memory-card .card-actions .text-button:last-child{color:#dfbb9b}
[data-theme=dark] .material-card p,[data-theme=dark] .modal-description,[data-theme=dark] .file-helper{color:#b2c49f}
[data-theme=dark] .form-error{color:#efb39b}
[data-theme=dark] #toast{background:#d0e1ad;color:#243921}
[data-theme=dark] #toast.error{background:#e4b89c;color:#4b2b21}
[data-theme=dark] .auth-shell{background:var(--paper)}
[data-theme=dark] .auth-art{background:#172f20;color:#e5efd9}
[data-theme=dark] .auth-hero p,[data-theme=dark] .auth-bottom{color:#b8cda5}
[data-theme=dark] .auth-box>.intro,[data-theme=dark] .auth-switch,[data-theme=dark] .auth-note,[data-theme=dark] .auth-preview-link{color:#adbf99}
[data-theme=dark] .auth-switch button{color:#d5e4b3}
[data-theme=dark] .settings-row{background:#213928}
[data-theme=dark] .settings-row p{color:#b1c49b}
[data-theme=dark] .theme-options button[aria-pressed=true]{color:#1b3522}

/* Área de toque e composição pensadas para um telefone real. */
@media(max-width:700px){
  body{min-height:100dvh}.workspace{padding-bottom:calc(85px + env(safe-area-inset-bottom,0px))}
  .topbar{position:sticky;top:0;z-index:15;gap:12px;padding:0 18px;height:65px}
  .topbar .breadcrumbs,.topbar-right .pill{display:none}
  .topbar-right{margin-left:auto}.topbar .icon-button{height:42px;width:42px;border-radius:12px}
  .mobile-wordmark{display:block;font-family:Georgia,serif;font-size:32px;letter-spacing:-1.4px;padding:0;color:var(--ink)}
  .mobile-wordmark span{color:#9db16d}
  .mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:16;height:calc(72px + env(safe-area-inset-bottom,0px));padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));background:#f8faf3f5;border-top:1px solid #dde5d1;backdrop-filter:blur(14px)}
  .mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:13px;color:#7f9072;min-height:51px;font-size:10px}
  .mobile-nav button[aria-current=page]{color:#325838;background:#e9f0dd}
  .content{padding:22px 18px 25px}.demo-banner{padding:8px 18px;font-size:10px;line-height:1.45;min-height:45px;align-items:center;gap:9px}
  .demo-banner strong{font-size:8px;display:block;letter-spacing:1px;margin-bottom:2px}.demo-banner button{font-size:10px;min-height:32px}
  .eyebrow{font-size:8px;letter-spacing:1.4px}.greeting-row{margin-bottom:18px}
  .hero-main{padding:26px 23px;min-height:284px}.hero-main h1{font-size:33px;letter-spacing:-1.4px;line-height:1.14}
  .hero-main p{font-size:12px;line-height:1.75;max-width:246px}.hero-main .btn{font-size:12px;min-height:43px}
  .hero-main .hero-kicker{font-size:8px;letter-spacing:1.3px}.hero-main .orbit{opacity:.35;right:-72px}
  .section-heading{align-items:center;gap:11px}.section-heading h2{font-size:24px}.section-heading p{font-size:11px;line-height:1.65;max-width:240px}
  .section-count{font-size:9px;white-space:normal;text-align:right;max-width:72px;line-height:1.6}
  .courses{gap:10px}.course-card{padding:16px 14px;min-height:164px}.course-card h3{font-size:12px;line-height:1.45;margin-bottom:8px}.course-card p{font-size:10px;line-height:1.6}
  .course-top{margin-bottom:15px}.subject-icon{height:32px;width:32px}.memory-strip{padding:18px 15px}.memory-strip h3{font-size:12px;line-height:1.5}.memory-strip p{font-size:11px}.memory-strip .text-button{font-size:11px;min-height:34px}
  .footer-note{font-size:10px;line-height:1.7;gap:6px}.page-intro h1{font-size:31px;line-height:1.2}.page-intro p{font-size:12px;line-height:1.8}
  .nav-item{font-size:14px;min-height:48px}.sidebar{padding:27px 17px 20px}.nav-label{font-size:10px}.recent-item{font-size:12px;min-height:38px}.sidebar .brand{margin-bottom:28px}
  .sidebar-note p{font-size:19px}.sidebar-note small{font-size:12px}.user-name{font-size:13px}.user-caption{font-size:10px}.sidebar-note{margin-bottom:17px}
  .sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar .sidebar-note{display:none}.sidebar .nav-group,.sidebar .user{flex-shrink:0}.sidebar-close{display:inline-flex;position:absolute;top:28px;right:16px}
  .field>label,.field>.label{font-size:12px}.field small{font-size:11px}input,textarea,select{font-size:16px;padding:13px;min-height:46px}
  .field-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.btn{font-size:13px;min-height:44px;padding:12px 15px}.btn.small{font-size:12px;min-height:42px}.text-button{font-size:12px;min-height:37px}.icon-button{min-height:38px;min-width:38px}
  .panel{padding:20px 17px}.subheading{font-size:14px}.note{font-size:11px;line-height:1.8;padding:13px}.empty-state{padding:30px 18px}.empty-state p{font-size:12px}.empty-state h2{font-size:26px}
  .chat-toolbar{gap:8px;margin-bottom:13px}.chat-toolbar select{font-size:13px;min-height:44px;padding:11px;max-width:100%}.memory-toggle{font-size:11px;min-height:34px}.memory-toggle input{width:18px;min-height:18px;height:18px}
  .chat-empty h2{font-size:26px}.chat-empty p{font-size:12px}.chat-empty{margin:10px auto}.chat-empty .empty-icon{width:43px;height:43px;margin-bottom:12px}.prompt-chip{font-size:12px;min-height:45px;line-height:1.4}.prompt-grid{gap:8px}
  .message-content{font-size:13px;line-height:1.85}.message-name{font-size:11px}.message-actions{flex-wrap:wrap;gap:10px}.message-actions button{font-size:10px;min-height:34px}.message-avatar{height:28px;width:28px}
  .composer textarea{font-size:16px;min-height:64px;max-height:112px;resize:none}.composer select{font-size:11px;max-width:180px;min-height:38px}.composer-bottom .btn{font-size:11px;min-height:40px;padding:10px 12px}.chat-caption{font-size:9px;line-height:1.65}
  .memory-card p{font-size:13px;line-height:1.9}.memory-count{font-size:11px}.memory-card .pill{font-size:10px}.material-card p{font-size:12px}.material-label{font-size:10px}.material-card h3{font-size:23px}.memory-card .card-actions .text-button{font-size:11px}
  .form-error{font-size:12px}.modal-description{font-size:12px}.modal-heading h2{font-size:27px}dialog{padding:23px 19px;max-height:calc(100dvh - 32px)}
  .asset-caption,.active-request{font-size:11px}.asset-card h3{font-size:12px}.asset-card p{font-size:10px}.outline-item h3{font-size:13px}.outline-item li,.outline-item p{font-size:12px}.result-header h2{font-size:13px}.result-header small{font-size:10px}
  .settings-row strong{font-size:12px}.settings-row p{font-size:11px}.settings-row{padding:14px 12px;flex-wrap:wrap}.theme-settings strong{font-size:13px}.theme-settings p{font-size:12px}.theme-options button{font-size:12px;min-height:46px}.theme-settings small{font-size:11px}
  .auth-box h2{font-size:32px;line-height:1.15}.auth-box>.intro{font-size:12px;line-height:1.8}.auth-box .field input{font-size:16px;min-height:48px}.auth-form-side{padding:63px 25px 30px}.auth-theme-control{top:15px;right:23px}.auth-switch,.auth-switch button,.auth-preview-link{font-size:12px}.auth-note{font-size:11px}.auth-art .brand-caption{font-size:8px}.auth-hero p{font-size:12px;line-height:1.7}
  [data-theme=dark] .mobile-nav{background:#17291ef5;border-color:#344b34}
  [data-theme=dark] .mobile-nav button{color:#a5ba96}
  [data-theme=dark] .mobile-nav button[aria-current=page]{color:#dbe9bc;background:#30482b}
  [data-theme=dark] .mobile-wordmark span{color:#c1d69d}
  .page-chat{height:calc(100dvh - 151px);min-height:510px;display:flex;flex-direction:column;padding-bottom:0}
  [data-preview=true] .page-chat{height:calc(100dvh - 196px);min-height:510px}
  .page-chat .page-intro{flex-shrink:0;margin-bottom:13px}.page-chat .page-intro h1{font-size:28px;margin:8px 0 0}.page-chat .page-intro p{display:none}
  .page-chat .chat-toolbar{flex-shrink:0}.page-chat .chat-area{flex:1;min-height:265px}.page-chat .chat-messages{flex:1;min-height:0;max-height:none}.page-chat .composer{flex-shrink:0}
  .page-chat .chat-caption{flex-shrink:0;margin:9px 2px;line-height:1.5}.page-chat .chat-empty p{margin-bottom:15px}
  .workspace:has(.page-chat){display:flex;flex-direction:column;height:100dvh;min-height:0;padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
  .workspace:has(.page-chat)>.topbar,.workspace:has(.page-chat)>.demo-banner{flex-shrink:0}
  .workspace:has(.page-chat)>.page-chat{flex:1;height:auto;min-height:0;width:100%;margin:0;padding-top:18px;overflow:hidden}
}
