:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#243d3c;background:#f5f7f4;font-synthesis:none;--ink:#183d3a;--muted:#73847e;--line:#e1e8e2;--green:#1a695a;--mint:#d8efdd;--cream:#f5f7f4;--nav:#123d3a;--shadow:0 14px 42px #143b3110}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.65}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #68bba0;outline-offset:3px}a{color:var(--green);text-underline-offset:3px}button{border:0}button,input,textarea,select{border-radius:10px}input,textarea,select{border:1px solid #d9e3dd;background:#fff;color:var(--ink);padding:11px 13px;width:100%}textarea{resize:vertical;line-height:1.7}input::placeholder,textarea::placeholder{color:#95a39d}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.35}svg.icon{width:20px;height:20px;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;padding:10px 17px;background:#e9f0e9;color:#32564c;font-weight:600;white-space:nowrap}.button.primary{background:var(--green);color:white;box-shadow:0 3px 5px #154a3915}.button.ghost{background:white;border-color:var(--line);color:#4a6258}.button.danger{color:#a53e39;background:#fff2ee}.button.small{font-size:14px;padding:6px 10px}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;background:transparent;color:#718278;border:1px solid transparent}.icon-button:hover{background:#edf2ec;color:var(--green)}.eyebrow{font-size:14px;letter-spacing:2px;font-weight:700;text-transform:uppercase;color:#7d9589}.muted{color:var(--muted)}.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}.skip-link{position:fixed;top:-60px;left:16px;z-index:100;background:white;padding:12px}.skip-link:focus{top:10px}.boot-screen{height:100vh;display:grid;place-content:center;justify-items:center;gap:18px;color:var(--muted)}.boot-leaf{width:54px;height:54px;border-radius:19px 19px 19px 4px;background:var(--green);color:#e5f4dc;font-size:25px;display:grid;place-items:center}.spinner{width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;animation:spin .8s linear infinite;flex:none}@keyframes spin{to{transform:rotate(360deg)}}.shell{min-height:100vh;display:grid;grid-template-columns:242px minmax(0,1fr)}.sidebar{height:100dvh;position:sticky;top:0;display:flex;flex-direction:column;background:var(--nav);color:#d4e7df;padding:30px 19px 18px;z-index:20;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;padding:0 12px 31px;color:#fff}.brand-mark{width:36px;height:39px;border:1px solid #76a58b;border-radius:10px 10px 10px 2px;display:grid;place-items:center;color:#c4e3aa;background:#ffffff08}.brand-mark .icon{width:25px;height:25px}.brand-name{font-size:21px;letter-spacing:3px;font-weight:700;line-height:1.15}.brand-caption{font-size:14px;letter-spacing:2px;color:#8db1a4;margin-top:5px}.nav-caption{font-size:14px;font-weight:600;color:#7caa9b;letter-spacing:1.5px;padding:8px 13px}.nav-list{display:grid;gap:6px;margin:3px 0 22px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;padding:12px 15px;border-radius:10px;text-align:left;color:#bbd5ca;background:transparent;font-size:14px}.nav-item .nav-arrow{margin-left:auto;font-size:17px;opacity:0}.nav-item.active{color:#174c3b;background:#daedcf;font-weight:700}.nav-item.active .nav-arrow{opacity:1}.nav-item:not(.active):hover{background:#ffffff0b;color:white}.sidebar-history{margin-top:5px;flex:1;min-height:100px}.history-heading{display:flex;align-items:center;justify-content:space-between;padding-right:6px}.history-heading .icon-button{color:#9ebdaf;width:27px;height:27px}.history-heading .icon-button:hover{background:#ffffff11;color:white}.history-row{display:flex;align-items:center;gap:5px;margin-top:3px;border-radius:8px}.history-row.active{background:#ffffff0c}.history-open{color:#a8c7b8;border:0;background:transparent;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:14px;padding:9px 12px;min-width:0}.history-open:hover{color:#fff}.history-delete{opacity:0;color:#a8c7b8;width:25px;height:25px}.history-row:hover .history-delete,.history-delete:focus-visible{opacity:1}.history-empty{padding:8px 13px;color:#759d8d;font-size:14px}.sidebar-note{border:1px solid #ffffff16;border-radius:12px;padding:13px;margin-top:24px;background:linear-gradient(120deg,#ffffff08,transparent)}.sidebar-note p{color:#91b1a1;font-size:14px;line-height:1.8}.sidebar-note strong{display:block;color:#c1dccb;font-size:14px;margin-bottom:6px}.profile{display:flex;align-items:center;text-align:left;gap:10px;width:100%;background:transparent;color:#e1ede4;border-top:1px solid #ffffff14;margin-top:20px;padding:18px 7px 0;border-radius:0}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#7f9f86;color:#fff;font-weight:600;flex:none}.profile-name{font-size:14px;font-weight:600}.profile-role{font-size:14px;color:#8eb0a0;margin-top:2px}.profile .icon{margin-left:auto;color:#8eb0a0;width:17px}.workspace{min-width:0;display:flex;flex-direction:column;min-height:100vh}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:83px;padding:0 42px;border-bottom:1px solid var(--line);background:#fbfcf9}.breadcrumb{font-size:14px;color:#8c9c92;display:flex;align-items:center;gap:12px}.breadcrumb strong{color:#455f52;font-weight:500}.topbar-right{display:flex;align-items:center;gap:18px}.date-label{font-size:14px;color:#8e9d93}.usage-pill{display:flex;align-items:center;gap:7px;padding:5px 12px;border-radius:20px;background:#edf3e9;color:#62765c;font-size:14px;white-space:nowrap}.usage-pill i{width:5px;height:5px;background:#78a75e;border-radius:50%}.mobile-menu{display:none}.main{flex:1;padding:37px 42px 25px;max-width:1600px;width:100%;margin:auto}.view-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:27px}.view-heading h1{font-size:27px;font-weight:650;letter-spacing:.3px;margin:5px 0 8px}.view-heading p{font-size:14px;color:var(--muted)}.section-label{font-size:14px;color:#799782;letter-spacing:2px;font-weight:650}.heading-badge{border:1px solid #d7e3d7;color:#6a866e;background:#f1f6ed;font-size:14px;padding:6px 11px;border-radius:20px;margin-top:13px;white-space:nowrap}.key-warning{display:flex;align-items:center;gap:10px;border:1px solid #eddcbb;background:#fff9e9;color:#91733d;padding:12px 16px;font-size:14px;border-radius:10px;margin-bottom:18px}.consult-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:24px;align-items:start}.chat-panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden;min-height:610px;display:flex;flex-direction:column}.chat-panel-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 22px;border-bottom:1px solid #edf1eb}.chat-panel-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#4d6957}.chat-panel-label .icon{width:17px;height:17px;color:#7b9f78}.small-caption{font-size:14px;color:#9aa69e}.chat-body{padding:28px 27px;min-height:350px;max-height:calc(100dvh - 395px);overflow-y:auto;scroll-behavior:smooth;flex:1}.welcome{padding:12px 0 6px;text-align:center;max-width:600px;margin:auto}.welcome-symbol{margin:0 auto 16px;width:57px;height:57px;background:#ecf4e8;color:#6b9360;display:grid;place-items:center;border-radius:17px}.welcome-symbol .icon{width:30px;height:30px}.welcome h2{font-size:22px;color:#254d3e;font-weight:600;margin-bottom:9px}.welcome>p{font-size:14px;color:#8c9c90;line-height:1.9}.prompt-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:27px}.prompt-card{text-align:left;background:#fbfcf8;border:1px solid #e5ece0;padding:14px;border-radius:10px;color:#577450;transition:background .2s,transform .2s}.prompt-card:hover{background:#f1f7ea;transform:translateY(-2px)}.prompt-card-top{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:650}.prompt-card .icon{width:16px;height:16px}.prompt-card p{font-size:14px;line-height:1.8;color:#8b9b83;margin-top:6px}.compose-box{margin:0 21px 19px;border:1px solid #dce5d7;border-radius:12px;background:#fcfdfb;padding:11px 13px 10px;transition:border-color .2s;position:relative}.compose-box:focus-within{border-color:#7fa88a;box-shadow:0 0 0 3px #80aa8b0d}.mode-tabs{display:flex;gap:5px}.mode-tab{display:flex;align-items:center;gap:5px;background:transparent;color:#899789;padding:5px 9px;border-radius:6px;font-size:14px}.mode-tab .icon{width:13px;height:13px}.mode-tab.active{background:#e9f1e2;color:#4d7548}.chat-input{border:0;box-shadow:none;padding:13px 3px 9px;background:transparent;border-radius:0;min-height:80px;max-height:230px;font-size:14px;resize:vertical}.chat-input:focus-visible{outline:none}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.search-toggle{display:flex;align-items:center;gap:6px;font-size:14px;color:#899887;cursor:pointer}.search-toggle input{width:13px;height:13px;accent-color:var(--green);margin:0}.search-toggle .icon{width:13px;height:13px}.send-button{font-size:14px;padding:7px 12px;border-radius:7px}.send-button .icon{width:14px;height:14px}.input-hint{font-size:14px;color:#a2aea3;display:flex;align-items:center;justify-content:space-between;padding:0 24px 14px}.rail{display:grid;gap:17px}.rail-card{background:#f0f4e9;border:1px solid #e3eada;border-radius:13px;padding:20px 18px}.rail-card.white{background:#fff;border-color:var(--line)}.rail-card h3{font-size:14px;margin-bottom:14px;display:flex;align-items:center;gap:7px;color:#4c6846}.rail-card h3 .icon{width:16px;height:16px}.learning-step{display:flex;gap:10px;margin:15px 0}.step-num{font-size:14px;background:#e1eacf;color:#7b9263;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;flex:none}.learning-step strong{font-size:14px;color:#607257;font-weight:600;display:block}.learning-step p{font-size:14px;color:#95a08b;line-height:1.8;margin-top:3px}.rail-card small{display:block;font-size:14px;color:#94a18c;border-top:1px solid #dce5d1;padding-top:12px;margin-top:14px;line-height:1.85}.rail-link{display:flex;align-items:center;gap:9px;width:100%;background:transparent;text-align:left;color:#748367;font-size:14px;padding:10px 0}.rail-link+.rail-link{border-top:1px solid #edf1e7;border-radius:0}.rail-link .icon:last-child{width:13px;margin-left:auto}.rail-link .icon:first-child{width:16px;color:#91aa74}.quote-card{padding:2px 8px;font-size:14px;color:#99a18d;line-height:1.9}.quote-card .quote-mark{font-size:35px;color:#b5c4a1;line-height:1.1}.bottom-note{text-align:center;font-size:14px;color:#9ba79b;padding-top:23px}.message{display:flex;gap:12px;margin-bottom:24px}.message:last-child{margin-bottom:4px}.message-avatar{width:28px;height:28px;border-radius:9px;background:#e9f2e3;color:#69865a;display:grid;place-items:center;font-size:14px;flex:none}.message-avatar .icon{width:17px;height:17px}.message.user .message-avatar{background:#d9e7df;color:#4b7760}.message-content{min-width:0;flex:1}.message-author{font-size:14px;font-weight:650;color:#77907a;margin:3px 0 9px}.message-text{font-size:14px;color:#395745;overflow-wrap:anywhere}.message.user .message-text{white-space:pre-wrap;background:#f0f5ec;padding:12px 15px;border-radius:0 12px 12px 12px;display:inline-block;max-width:100%}.markdown>*:first-child{margin-top:0}.markdown>*:last-child{margin-bottom:0}.markdown p{margin:10px 0}.markdown ul,.markdown ol{padding-left:22px;margin:10px 0}.markdown h1,.markdown h2,.markdown h3,.markdown h4{font-size:16px;margin:20px 0 10px;color:#274f3a}.markdown pre{overflow:auto;background:#143c35;color:#e4efdf;padding:14px;border-radius:9px;font-size:14px;line-height:1.7;white-space:pre}.markdown code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:#edf2e7;padding:2px 4px;border-radius:4px}.markdown pre code{padding:0;background:transparent}.markdown blockquote{margin:12px 0;padding:2px 15px;border-left:3px solid #a1b98e;color:#7b8d71;background:#f6f8f0}.markdown table{display:block;max-width:100%;overflow:auto;border-collapse:collapse;font-size:14px}.markdown td,.markdown th{border:1px solid var(--line);padding:7px 10px}.markdown img{display:none}.message-actions{margin-top:10px;display:flex;align-items:center;gap:8px}.message-actions button{font-size:14px;color:#92a18b;background:transparent;padding:4px 0}.message-actions .icon{width:12px;height:12px;margin-right:3px}.sources{margin-top:14px;border-top:1px solid #edf1e8;padding-top:10px}.source-label{font-size:14px;color:#8d9d82;margin-bottom:7px}.source-links{display:flex;flex-wrap:wrap;gap:6px}.source-links a{display:block;font-size:14px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;color:#6d8762;background:#f2f6eb;border:1px solid #e4ebdb;padding:4px 8px;border-radius:5px}.typing{display:flex;gap:5px;padding:10px 0;align-items:center;color:#91a383;font-size:14px}.typing i{width:5px;height:5px;background:#94af82;border-radius:50%;animation:pulse 1.3s infinite}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}.typing span{margin-left:8px}@keyframes pulse{50%{opacity:.3;transform:translateY(-3px)}}.error-line{color:#a74f3e;font-size:14px;background:#fff4ef;padding:9px 11px;border-radius:7px;margin:7px 0;overflow-wrap:anywhere}.studio-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}.studio-form{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px;position:sticky;top:20px;box-shadow:var(--shadow)}.studio-form h2{font-size:15px;margin-bottom:5px}.studio-form>p{font-size:14px;color:#8b9b8e;margin-bottom:23px}.field{display:block;margin-bottom:17px}.field>span,.field-label{display:block;color:#62765c;font-size:14px;font-weight:600;margin-bottom:7px}.field input,.field textarea,.field select{font-size:14px;background:#fcfdf9}.field small{font-size:14px;color:#96a18f;display:block;line-height:1.8;margin-top:6px}.field textarea{min-height:104px}.studio-form .button{width:100%;font-size:14px}.form-footnote{font-size:14px;line-height:1.9;color:#98a38e;margin-top:13px}.editor-empty{min-height:545px;border:1px dashed #d5e1cb;border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center;background:radial-gradient(ellipse at 50% 40%,#eff5e5,transparent 65%)}.empty-deck{width:230px;height:140px;border-radius:9px;background:#fff;box-shadow:0 14px 30px #254a2912;border:1px solid #e4eada;position:relative;padding:25px;margin-bottom:35px;transform:rotate(-4deg)}.empty-deck:before{content:"";position:absolute;inset:0;background:#e4edda;border:1px solid #d4dfc7;border-radius:9px;z-index:-1;transform:translate(17px,-10px) rotate(8deg)}.deck-dots{display:flex;gap:5px;margin-bottom:17px}.deck-dots i{height:5px;width:5px;border-radius:50%;background:#adbf97}.deck-line{height:7px;background:#dae5cf;border-radius:4px;width:75%;margin-bottom:10px}.deck-line.short{width:50%;height:5px;background:#edf1e7}.deck-image{position:absolute;right:22px;bottom:22px;height:35px;width:45px;background:#eff4e8;border-radius:6px;display:grid;place-items:center;color:#a2b48d}.editor-empty h2{font-size:19px;color:#476a41;margin-bottom:10px}.editor-empty p{font-size:14px;color:#8c9b83;max-width:330px;line-height:1.9}.empty-tags{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:23px}.empty-tags span{padding:4px 10px;font-size:14px;color:#879a79;background:#edf3e5;border-radius:20px}.editor{min-width:0}.editor-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.project-title{border:0;background:transparent;padding:0;font-size:19px;font-weight:600;color:#3d613d;border-radius:0;min-width:100px;width:100%}.project-title:focus{outline-offset:5px}.editor-subtitle{font-size:14px;color:#8b9c82;margin-top:7px}.editor-buttons{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;flex:none}.editor-buttons .button{font-size:14px;padding:8px 11px}.scene-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-bottom:17px;box-shadow:0 4px 15px #1c402805}.scene-bar{display:flex;align-items:center;gap:9px;padding:10px 16px;border-bottom:1px solid #edf1e8;background:#fdfefa}.scene-number{color:#8aa875;font-size:14px;letter-spacing:1px;font-weight:600}.scene-kind{font-size:14px;color:#9eaa95}.scene-tools{margin-left:auto;display:flex;gap:2px}.scene-tools .icon-button{width:26px;height:26px}.scene-tools .icon{width:14px;height:14px}.scene-inner{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;padding:19px}.scene-preview{aspect-ratio:16/10;background:#183f36;border-radius:7px;overflow:hidden;position:relative;color:#e4edd7;padding:16px;align-self:start;display:flex;flex-direction:column;justify-content:center}.scene-preview:after{content:"";width:100px;height:100px;border:1px solid #ffffff10;border-radius:50%;position:absolute;right:-30px;bottom:-45px}.scene-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.scene-preview.has-image:before{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#0c2d25b0);z-index:1}.preview-text{position:relative;z-index:2;font-size:14px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.scene-preview.has-image{justify-content:flex-end}.preview-brand{position:relative;z-index:2;font-size:14px;letter-spacing:1px;color:#a9c594;margin-top:13px}.image-actions{display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin-top:9px}.upload-label{font-size:14px;cursor:pointer;color:#8b9c7d;display:flex;align-items:center;gap:5px;padding:3px 0}.upload-label .icon{width:13px;height:13px}.remove-image{font-size:14px;background:transparent;color:#a58574;padding:2px 5px}.scene-fields .field{margin-bottom:12px}.scene-fields .field:last-child{margin-bottom:0}.scene-fields .field>span{font-size:14px;margin-bottom:5px}.scene-fields input,.scene-fields textarea{font-size:14px;padding:8px 10px;background:#fdfefa;border-color:#e4eade}.scene-fields textarea{min-height:75px}.scene-fields textarea.notes{min-height:57px}.add-scene{width:100%;padding:12px;border:1px dashed #cad9bd;background:#f0f5e9;color:#7f996c;font-size:14px}.export-progress{border:1px solid #c8dfc2;background:#edf6e7;border-radius:10px;padding:13px 16px;display:flex;align-items:center;gap:10px;margin-bottom:15px;font-size:14px;color:#628457}.export-progress .button{margin-left:auto}.library-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.filter-tabs{display:flex;gap:7px}.filter-tab{padding:7px 15px;background:transparent;color:#8a9b7f;font-size:14px;border:1px solid transparent}.filter-tab.active{background:#e8efdf;border-color:#d7e2cb;color:#628050}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.project-card{border:1px solid var(--line);background:#fff;border-radius:13px;overflow:hidden;transition:transform .2s,box-shadow .2s}.project-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.project-cover{width:100%;aspect-ratio:1.8;display:flex;flex-direction:column;justify-content:space-between;padding:22px;text-align:left;background:#e8f0df;color:#456c3b;border-radius:0;position:relative;overflow:hidden}.project-cover.video{background:#1b4841;color:#d6e9c6}.project-cover:after{content:"";position:absolute;width:160px;height:160px;border:1px solid #658d3b18;border-radius:50%;right:-30px;bottom:-70px}.project-cover.video:after{border-color:#f4ffe818}.cover-type{display:flex;align-items:center;gap:6px;font-size:14px;letter-spacing:1px;color:#92aa7e}.cover-type .icon{width:14px;height:14px}.project-cover.video .cover-type{color:#8daf9a}.cover-title{font-size:20px;line-height:1.5;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.project-meta{padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px}.project-meta strong{font-size:14px;color:#5c7852;font-weight:600;display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.project-meta>div{min-width:0}.project-meta p{font-size:14px;color:#9aa58e;margin-top:5px}.project-meta .icon-button{width:25px;height:25px}.project-meta .icon{width:14px;height:14px}.library-empty{min-height:380px;display:grid;place-content:center;justify-items:center;text-align:center;color:#95a384;gap:15px;border:1px dashed #d6e1ca;border-radius:14px}.library-empty .icon{width:35px;height:35px}.library-empty h2{font-size:18px;color:#5f7b50}.library-empty p{font-size:14px}.teacher-note{padding:13px 17px;background:#eef3e8;border:1px solid #dfe8d4;border-radius:10px;color:#849677;font-size:14px;margin-bottom:21px}.teacher-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.student-card{padding:23px;background:#fff;border:1px solid var(--line);border-radius:13px}.student-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.student-heading h2{font-size:16px;color:#547247}.student-heading p{font-size:14px;color:#98a88a;margin-top:3px}.student-heading .avatar{background:#edf3e5;color:#78975f}.active-switch{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:14px;color:#89a172}.active-switch input{width:14px;accent-color:var(--green)}.usage-numbers{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px;background:#f7f9f2;border-radius:9px;margin-bottom:18px}.usage-numbers strong{display:block;color:#4e7542;font-size:20px;font-weight:500;line-height:1.2}.usage-numbers span{display:block;font-size:14px;color:#95a785;margin-top:5px}.cap-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cap-fields .field{margin-bottom:12px}.teacher-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:17px}.teacher-actions .button{font-size:14px}.token-count{font-size:14px;color:#9baa8c}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;border:1px solid #dce8d1;background:#fff;color:#5b7c47;box-shadow:0 8px 35px #1e482522;padding:12px 22px;border-radius:11px;z-index:200;font-size:14px;max-width:calc(100vw - 32px);transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{color:#a85443;border-color:#ecd7cc}.account-dialog{width:min(460px,calc(100vw - 35px));border:1px solid #dce5d5;border-radius:16px;padding:28px;box-shadow:0 20px 100px #113d3a30;color:var(--ink)}.account-dialog::backdrop{background:#153a354d;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-heading h2{font-size:20px}.account-info{border-radius:9px;padding:13px 15px;background:#f2f6ec;font-size:14px;color:#749064;margin-bottom:22px}.account-info span{font-size:14px;display:block;color:#96a68b;margin-top:4px}.account-dialog .field{margin-bottom:15px}.account-dialog .field input{font-size:14px}.dialog-actions{display:flex;justify-content:space-between;gap:10px;margin-top:24px}.login-page{min-height:100dvh;display:grid;grid-template-columns:1.12fr 1fr;background:#f8faf4}.login-story{background:#103e39;color:#e7f1de;padding:60px clamp(35px,7vw,115px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:before{content:"";position:absolute;width:600px;height:600px;border:1px solid #ffffff0b;border-radius:50%;right:-310px;top:20%}.login-story .brand{padding:0}.login-hero{padding:65px 0 45px;position:relative;z-index:1}.login-hero .eyebrow{color:#85aa8d;font-size:14px}.login-hero h1{font-size:clamp(33px,3.5vw,49px);line-height:1.5;font-weight:500;letter-spacing:1px;margin:16px 0 22px}.login-hero h1 em{font-style:normal;color:#b7d998}.login-hero>p{font-size:14px;color:#8fb5a0;line-height:2.1;max-width:370px}.login-features{display:flex;gap:24px;margin-top:38px;flex-wrap:wrap}.login-feature{display:flex;align-items:center;gap:8px;font-size:14px;color:#afd0b4}.login-feature .icon{width:15px;height:15px}.learning-illustration{display:flex;align-items:center;gap:14px;max-width:360px;margin-top:48px}.illustration-card{background:#ffffff09;border:1px solid #ffffff1c;border-radius:12px;padding:18px;width:100%;transform:rotate(-3deg)}.illustration-card:last-child{transform:rotate(4deg);margin-left:-45px;margin-top:30px;background:#d7e6bf;color:#42654d}.illustration-card .icon{width:21px;height:21px;display:block;margin-bottom:12px}.illustration-card span{display:block;font-size:14px;font-weight:600;margin:8px 0}.illustration-line{height:4px;background:currentColor;opacity:.16;width:90%;margin-top:8px;border-radius:5px}.illustration-line:last-child{width:60%}.login-footer{font-size:14px;color:#64947c;letter-spacing:1px}.login-form-section{padding:50px clamp(25px,6vw,95px);display:flex;align-items:center;justify-content:center}.login-form{width:100%;max-width:370px}.login-form .section-label{font-size:14px}.login-form h2{font-size:28px;font-weight:600;color:#274c38;margin:12px 0}.login-form>p{font-size:14px;color:#95a18b;margin-bottom:36px}.login-form .field{margin-bottom:21px}.login-form .field>span{font-size:14px}.login-form input{padding:13px 15px;background:#fff;border-color:#dde5d4;font-size:14px}.password-wrap{position:relative}.password-wrap input{padding-right:45px}.password-wrap button{position:absolute;right:7px;top:8px}.login-form .button.primary{width:100%;padding:13px;margin-top:7px;font-size:14px}.login-info{display:flex;gap:9px;margin-top:24px;background:#edf3e6;padding:13px 14px;border-radius:8px;color:#8b9d7b;font-size:14px;line-height:1.9}.login-info .icon{width:15px;height:15px;margin-top:2px}.login-bottom{margin-top:46px;font-size:14px;color:#a7b09b;text-align:center;letter-spacing:1px}.loading-box{display:flex;align-items:center;gap:10px;justify-content:center;min-height:200px;color:#8ba17c;font-size:14px}.empty-error{text-align:center;padding:35px;color:#9e6650;font-size:14px}.recovery-notice{padding:10px 14px;border-radius:9px;background:#f2f4e5;border:1px solid #e6e9cc;font-size:14px;color:#959963;margin-bottom:14px}.no-scroll{overflow:hidden}.sidebar-backdrop{display:none}
@media(min-width:1550px){.chat-body{max-height:calc(100dvh - 420px);min-height:425px}.main{padding-top:45px}.chat-panel{min-height:690px}.consult-grid{grid-template-columns:minmax(0,1fr) 260px}.rail-card{padding:25px}}
@media(max-width:1200px){.shell{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:27px 12px 17px}.topbar{padding:0 28px}.main{padding:30px 28px 23px}.consult-grid{grid-template-columns:minmax(0,1fr) 200px;gap:18px}.rail-card{padding:17px 14px}.chat-body{padding:24px 19px}.prompt-card{padding:11px}.studio-layout{grid-template-columns:260px minmax(0,1fr);gap:20px}.studio-form{padding:20px}.scene-inner{grid-template-columns:135px minmax(0,1fr);padding:16px;gap:16px}.editor-toolbar{display:block}.editor-buttons{justify-content:flex-start;margin-top:13px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.date-label{display:none}.view-heading h1{font-size:25px}}
@media(max-width:1020px){.consult-grid{grid-template-columns:minmax(0,1fr)}.rail{display:none}.studio-layout{grid-template-columns:1fr}.studio-form{position:static}.studio-form form{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.studio-form .form-wide{grid-column:1/-1}.studio-form .field textarea{min-height:75px}.studio-form>p{margin-bottom:18px}.editor-empty{min-height:360px}.teacher-grid{grid-template-columns:1fr}.chat-body{min-height:350px}.chat-panel{min-height:610px}}
@media(max-width:760px){.shell{display:block}.sidebar{position:fixed;left:0;top:0;width:245px;transform:translateX(-100%);transition:transform .22s;z-index:100}.sidebar.open{transform:translateX(0)}.sidebar-backdrop.open{display:block;position:fixed;inset:0;background:#153c3555;z-index:90;backdrop-filter:blur(2px)}.mobile-menu{display:inline-flex;color:#6a865e}.topbar{padding:0 18px;min-height:65px;gap:6px}.topbar-left{display:flex;gap:8px;align-items:center}.breadcrumb{font-size:14px;gap:7px}.breadcrumb>span:first-child{display:none}.usage-pill{font-size:14px;padding:5px 9px}.topbar-right{gap:8px}.main{padding:25px 18px 20px}.view-heading{margin-bottom:21px;gap:10px}.view-heading h1{font-size:24px}.view-heading p{font-size:14px}.heading-badge{display:none}.chat-panel{min-height:570px}.chat-panel-top{padding:14px 16px}.chat-body{padding:22px 16px;min-height:300px;max-height:calc(100dvh - 360px)}.welcome{padding-top:0}.welcome h2{font-size:20px}.welcome>p{font-size:14px}.welcome-symbol{width:48px;height:48px;margin-bottom:12px}.prompt-grid{gap:8px;margin-top:20px}.prompt-card-top{font-size:14px}.prompt-card p{font-size:14px}.compose-box{margin:0 12px 13px;padding:9px 10px}.input-hint{padding:0 15px 12px;font-size:14px}.chat-input{font-size:14px;min-height:75px}.bottom-note{font-size:14px;padding-top:18px}.scene-inner{grid-template-columns:120px minmax(0,1fr);gap:14px}.scene-preview{padding:11px}.preview-text{font-size:14px}.preview-brand{font-size:14px}.studio-form{padding:20px}.project-title{font-size:18px}.library-grid{gap:14px}.project-cover{padding:17px}.cover-title{font-size:17px}.project-meta{padding:13px}.login-page{grid-template-columns:1fr}.login-story{padding:28px 30px 35px;min-height:auto}.login-story .brand-mark{width:30px;height:32px}.login-story .brand-name{font-size:18px}.login-story .brand-caption{font-size:14px}.login-hero{padding:35px 0 0}.login-hero h1{font-size:29px;line-height:1.45;margin:10px 0}.login-hero>p{font-size:14px;max-width:100%}.login-features{gap:19px;margin-top:23px}.learning-illustration,.login-footer{display:none}.login-form-section{padding:35px 26px 28px}.login-form{max-width:440px}.login-form h2{font-size:23px}.login-form>p{margin-bottom:25px}.login-bottom{margin-top:26px}.login-form .field{margin-bottom:17px}.login-info{margin-top:18px}.login-form .section-label{display:none}.teacher-grid{gap:16px}}
@media(max-width:430px){.main{padding:22px 12px 18px}.topbar{padding:0 11px}.breadcrumb{font-size:14px}.view-heading h1{font-size:22px}.view-heading .section-label{font-size:14px}.chat-panel{min-height:560px}.chat-panel-label{font-size:14px}.small-caption{font-size:14px}.prompt-card{padding:10px}.prompt-card p{line-height:1.65}.mode-tab{padding:5px 7px;font-size:14px}.studio-form form{display:block}.scene-inner{grid-template-columns:1fr}.scene-media{display:flex;align-items:center;gap:15px}.scene-preview{width:145px;flex:none}.image-actions{display:block}.scene-preview{aspect-ratio:16/9}.library-grid{grid-template-columns:1fr 1fr;gap:10px}.cover-title{font-size:14px}.project-cover{padding:14px;aspect-ratio:1.35}.cover-type{font-size:14px}.project-meta{padding:11px}.project-meta strong{font-size:14px}.project-meta p{font-size:14px}.filter-tab{font-size:14px;padding:6px 12px}.student-card{padding:19px}.student-heading h2{font-size:15px}.usage-numbers strong{font-size:18px}.login-features{font-size:14px;gap:16px}.login-feature{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Comfortable reading sizes on both classroom and phone screens. */
.field input,.field textarea,.field select,.scene-fields input,.scene-fields textarea,.login-form input,.account-dialog .field input,.chat-input{font-size:16px}
.message-text,.welcome>p,.view-heading p,.prompt-card p,.editor-empty p,.library-empty p,.login-form>p,.login-hero>p{font-size:16px}
.field>span,.field-label,.scene-fields .field>span,.login-form .field>span,.mode-tab,.prompt-card-top,.search-toggle,.send-button,.editor-buttons .button,.studio-form .button,.teacher-actions .button,.filter-tab,.upload-label,.remove-image,.rail-link,.learning-step strong,.nav-caption,.history-open{font-size:14px}
.profile-role,.brand-caption,.section-label,.eyebrow,.date-label,.small-caption,.scene-kind,.scene-number,.cover-type,.project-meta p,.editor-subtitle,.bottom-note,.input-hint,.preview-brand,.login-footer,.login-bottom,.source-label{font-size:12px}
.preview-brand{line-height:1.5;letter-spacing:.5px}.preview-text{font-size:15px}.profile-name{font-size:14px}.profile>div{min-width:0}.profile-role{white-space:normal}.profile .icon{flex:none}.history-open{padding-block:10px}.history-empty{font-size:13px}.usage-pill{font-size:13px}.chat-panel-label{font-size:14px}.rail-card h3{font-size:15px}.rail-card small,.learning-step p,.form-footnote,.teacher-note{font-size:14px}.prompt-card{padding:15px}.chat-body{min-height:430px}.chat-panel{min-height:710px}.compose-box{padding:13px 15px}.chat-input{min-height:105px}.mode-tab{padding:7px 10px}.input-hint{line-height:1.7;gap:12px}.editor-subtitle{line-height:1.8}.studio-form{padding:22px}.scene-inner{grid-template-columns:160px minmax(0,1fr)}.scene-fields textarea{min-height:102px}.scene-fields textarea.notes{min-height:85px}.scene-preview{aspect-ratio:16/10}.scene-preview.has-image .preview-brand{display:none}.scene-preview .preview-brand{font-size:12px}.studio-form>p{font-size:14px}.button.small{font-size:14px}.form-footnote{color:#75866b}.prompt-card p{color:#718469}.welcome>p,.view-heading p{color:#768771}.learning-step p,.rail-card small{color:#76866b}.field small{color:#7b8972}.error-line{font-size:14px}.scene-fields .field>span .muted{font-size:13px}.login-info{font-size:14px}.login-feature{font-size:14px}.login-form .button.primary{font-size:16px}.login-features{gap:22px}.login-feature .icon{width:18px;height:18px}.login-form h2{margin-top:10px}.login-form .field{margin-bottom:21px}.library-empty h2{font-size:20px}.teacher-note{line-height:1.8}
@media(min-width:1550px){.chat-body{min-height:490px}.chat-panel{min-height:780px}}
@media(max-width:1200px){.scene-inner{grid-template-columns:130px minmax(0,1fr)}.prompt-card{padding:13px}.consult-grid{grid-template-columns:minmax(0,1fr) 215px;gap:18px}.rail-card{padding:18px 15px}}
@media(max-width:1020px){.consult-grid{grid-template-columns:minmax(0,1fr)}.studio-layout{grid-template-columns:1fr}.scene-inner{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:760px){.breadcrumb{font-size:14px}.main{padding-top:25px}.view-heading h1{font-size:25px}.view-heading p{font-size:16px;line-height:1.8}.chat-body{max-height:570px;min-height:400px;padding:24px 18px}.chat-panel{min-height:760px}.prompt-grid{grid-template-columns:1fr;gap:10px}.prompt-card{padding:15px}.prompt-card p{font-size:16px;line-height:1.7}.welcome h2{font-size:23px}.welcome>p{font-size:16px}.chat-input{min-height:115px}.mode-tabs{gap:2px;flex-wrap:wrap}.mode-tab{padding:7px 8px}.mode-tab .icon{width:15px;height:15px}.compose-box{padding:12px;margin-inline:12px}.composer-footer{gap:8px}.send-button{padding:9px 11px}.input-hint{display:block;font-size:12px}.input-hint span{display:block;margin-top:4px}.usage-pill{font-size:12px;padding:6px 9px}.topbar{min-height:68px}.scene-tools .icon-button{width:36px;height:36px}.scene-tools .icon{width:18px;height:18px}.scene-inner{grid-template-columns:140px minmax(0,1fr);gap:16px}.scene-fields input,.scene-fields textarea{padding:10px}.editor-buttons .button{font-size:14px;padding:10px 13px}.library-grid{grid-template-columns:1fr}.project-cover{aspect-ratio:1.9;padding:22px}.cover-title{font-size:22px}.project-meta strong{font-size:16px}.project-meta p{font-size:12px}.project-meta{padding:17px}.filter-tab{padding:7px 11px}.login-hero h1{font-size:31px}.login-hero>p{font-size:16px}.login-features{gap:20px}.login-feature{font-size:14px}.login-form h2{font-size:27px}.login-form-section{padding:32px 26px 30px}.login-form>p{font-size:16px}.login-story{padding:28px 30px 36px}.login-story .brand-caption{font-size:12px}.student-heading h2{font-size:18px}.student-heading p{font-size:13px}.active-switch{font-size:14px}.cap-fields{grid-template-columns:1fr}.token-count{font-size:13px}}
@media(max-width:430px){.main{padding-inline:12px}.topbar{padding-inline:10px}.topbar-left{gap:3px}.breadcrumb{gap:5px}.view-heading h1{font-size:25px}.view-heading .section-label{font-size:12px}.chat-panel-label{font-size:14px}.chat-panel-top{padding:14px}.chat-panel-top .button.small{font-size:14px;padding:7px 9px}.chat-panel-top .button .icon{width:16px;height:16px}.scene-inner{grid-template-columns:1fr}.scene-media{gap:20px}.scene-preview{width:160px;aspect-ratio:16/10}.scene-fields .field>span{font-size:14px}.preview-text{font-size:15px}.upload-label,.remove-image{font-size:14px}.image-actions{line-height:2.2}.studio-form form{display:block}.filter-tab{font-size:14px;padding:7px 9px}.cover-title{font-size:22px}.library-grid{grid-template-columns:1fr}.project-cover{aspect-ratio:1.9}.project-meta strong{font-size:16px}.project-meta p{font-size:12px}.login-feature{font-size:14px}.login-hero h1{font-size:30px}.login-features{gap:15px}.login-story{padding-inline:26px}.login-form-section{padding-inline:26px}.student-card{padding:20px}.student-heading h2{font-size:18px}.usage-numbers strong{font-size:21px}.usage-numbers span{font-size:12px}.scene-preview .preview-brand{font-size:12px}}
.rail-link .icon:last-child{margin-left:0}
@media(max-width:760px){.welcome .prompt-card:nth-child(n+3){display:none}}
