.lumina-dialog{position:fixed;inset:0;margin:auto;padding:0;width:min(1120px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);border:3px solid #9d7447;border-radius:22px;color:#493c2c;background:#fff8e8;box-shadow:0 24px 90px #122b3266;font-family:Nunito,sans-serif;overflow:auto}.lumina-dialog::backdrop{background:#152c2bcc;backdrop-filter:blur(5px)}.lumina-room{background:radial-gradient(ellipse at top right,#ead8ae70,transparent 65%),#fff9ed}.lumina-header{display:flex;align-items:center;gap:16px;padding:16px 28px;border-bottom:3px solid #ac8554;background:linear-gradient(115deg,#725333,#a58150);color:#fff6df}.lumina-header p{font-size:11px;letter-spacing:2px;font-weight:800;margin:0 0 3px}.lumina-header h1{font-size:32px;line-height:1.2;margin:0;font-weight:900}.lumina-close{margin-left:auto;flex-shrink:0;display:grid;place-items:center;width:40px;height:40px;background:#fff2d9;color:#61492d;border-radius:50%;border:1px solid #bd9a63;cursor:pointer}.lumina-content{padding:28px 32px}.lumina-content h2{font-size:29px;font-weight:900;line-height:1.25;margin:0 0 8px}.lumina-content h2:focus{outline:none}.lumina-intro{margin:0 0 26px;color:#74664e;font-size:17px}.lumina-books{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:8px;padding:10px 8px 24px;scrollbar-color:#ae8b57 #eee0c4;scrollbar-width:thin;overscroll-behavior-x:contain}.lumina-books .lumina-book{flex:0 0 28%;scroll-snap-align:start}.lumina-shelf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;color:#826b49;font-size:14px;font-weight:800}.lumina-shelf-toolbar>div{display:flex;gap:10px}.lumina-shelf-toolbar button{display:grid;place-items:center;width:40px;height:40px;border:1px solid #b39463;border-radius:50%;background:#f2e3c6;color:#755333;cursor:pointer}.lumina-shelf-toolbar button:disabled{opacity:.35;cursor:default}.lumina-book-4 .lumina-cover{background:linear-gradient(110deg,#e9c7bd,#fce7d8)}.lumina-book{text-align:left;border:0;background:transparent;padding:0;color:inherit;cursor:pointer;min-width:0}.lumina-cover{position:relative;min-height:305px;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;gap:10px;padding:22px 16px 20px 24px;border-radius:5px 14px 14px 5px;border:1px solid #92774f;background:linear-gradient(110deg,#c9d8bc,#e8efd5);box-shadow:inset 8px 0 0 #385a4633,4px 6px 0 #c9b98f;transition:transform .2s}.lumina-book:hover .lumina-cover{transform:translateY(-5px)}.lumina-book-1 .lumina-cover{background:linear-gradient(110deg,#e5cbac,#faead1)}.lumina-book-2 .lumina-cover{background:linear-gradient(110deg,#c7c7e5,#eeebfc)}.lumina-book-3 .lumina-cover{background:linear-gradient(110deg,#bdd7dc,#e3f2ed)}.lumina-cover img{width:100%;height:112px;object-fit:contain;mix-blend-mode:multiply}.lumina-cover h3{font-size:21px;line-height:1.25;font-weight:900;text-align:center;min-height:79px;margin:0}.lumina-cover span{font-size:12px;font-weight:900;letter-spacing:1.5px}.lumina-cover>svg{color:#8d7047}.lumina-book>p{font-size:13px;margin:18px 0 5px;color:#78664b}.lumina-book>b{font-size:14px;color:#7951b3}.lumina-demo-note{font-size:12px;color:#786b59;line-height:1.6;margin:26px 0 0}.lumina-back{display:flex;align-items:center;gap:8px;border:0;background:none;color:#775434;font-weight:800;padding:0;margin:0 0 22px;cursor:pointer}.lumina-reading{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:30px}.lumina-paper{padding:30px;border:1px solid #dfcdab;border-radius:6px;background:#fffefa;box-shadow:0 3px 12px #7963340c}.lumina-byline{font-size:11px;letter-spacing:1.5px;font-weight:900;color:#967641}.lumina-paper h2{margin:12px 0}.lumina-paper>p{font-size:17px;line-height:1.85;margin:18px 0;white-space:pre-wrap}.lumina-paper .lumina-theme{font-size:13px;color:#8f765a;border-bottom:1px solid #eadfc8;padding-bottom:16px}.lumina-end{margin:28px auto 0;color:#b89c6a}.lumina-feedback h3{font-size:22px;font-weight:900;margin:0 0 8px}.lumina-feedback>p{font-size:14px;line-height:1.6}.lumina-feedback fieldset{border:0;margin:18px 0;padding:0}.lumina-feedback form>label,.lumina-feedback legend{font-size:14px;font-weight:800}.lumina-feedback small{font-size:12px;font-weight:400;color:#82735f}.lumina-stars{display:flex;gap:10px;margin-top:8px;color:#ad7b25}.lumina-stars label{position:relative;cursor:pointer}.lumina-stars input{position:absolute;opacity:0;width:100%;height:100%;cursor:pointer}.lumina-stars label:focus-within{outline:2px solid #8055b2;outline-offset:3px}.lumina-feedback textarea{width:100%;display:block;margin:8px 0 4px;padding:12px;border:1px solid #cdb88f;border-radius:10px;background:#fffefa;resize:vertical;font:inherit;font-size:15px;color:#493c2c}.lumina-send{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:14px;padding:11px;border:1px solid #765439;border-radius:9px;background:linear-gradient(#a78350,#805e38);color:#fff8e9;font-weight:800;cursor:pointer}.lumina-send:disabled{opacity:.45;cursor:default}.lumina-notice{color:#4c6c42;min-height:20px}.lumina-note{padding:14px;background:#f1e5ce;border-radius:10px;margin-top:12px;font-size:14px;overflow-wrap:anywhere}.lumina-note>span{float:right;color:#977021}.lumina-note p{white-space:pre-wrap;margin:8px 0 0;line-height:1.6}.lumina-dialog button:focus-visible,.lumina-feedback textarea:focus-visible{outline:3px solid #8c64bc;outline-offset:3px}@media(max-width:760px){.lumina-books .lumina-book{flex-basis:43%}.lumina-reading{grid-template-columns:1fr}.lumina-content{padding:22px}.lumina-header{padding:14px 20px}.lumina-header h1{font-size:25px}.lumina-header>img{width:55px;height:50px}.lumina-header p{font-size:9px;letter-spacing:1px}.lumina-paper{padding:22px}}@media(max-width:420px){.lumina-content{padding:18px}.lumina-books{gap:20px}.lumina-books .lumina-book{flex-basis:82%}.lumina-cover{min-height:270px;padding:16px 10px 16px 17px}.lumina-cover img{height:85px}.lumina-cover h3{font-size:17px}.lumina-header{gap:9px;padding:12px}.lumina-header h1{font-size:22px}.lumina-header>img{width:40px}.lumina-header p{letter-spacing:0}.lumina-close{width:32px;height:32px}.lumina-content h2{font-size:25px}}@media(prefers-reduced-motion:reduce){.lumina-cover{transition:none}}.teacher-studio{min-height:100vh;background:#fff9ec;color:#574a36;font-family:Nunito,Trebuchet MS,sans-serif}.teacher-header{display:flex;align-items:center;gap:22px;background-color:#936b3e;background-image:linear-gradient(#705024cf,#77532fbb),url(/storybook-wood-frame.webp);background-size:100% 100%,calc(100% + 280px) auto;background-position:50%,center -17px;background-repeat:no-repeat;padding:14px 4%;color:white}.teacher-header>img{width:140px}.teacher-header nav{display:flex;gap:8px;flex:1;flex-wrap:wrap}.teacher-studio button{cursor:pointer;border:1px solid #cfb78d;border-radius:10px;padding:9px 14px;background:#fffaf0;color:#655238;font:inherit}.teacher-studio button:disabled{opacity:.5;cursor:not-allowed}.teacher-header button{background:#fff5df}.teacher-header button.active{background:#f6d97d;font-weight:700}.teacher-main{max-width:1320px;margin:auto;padding:28px}.teacher-main h1{font-size:32px;margin:0 0 6px;color:#4d402e}.teacher-main h2{font-size:19px;margin:0 0 8px}.teacher-main p{color:#857961}.teacher-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.teacher-kpis>div,.teacher-main section{background:#fffdf7;border:1px solid #ddcaa6;border-radius:16px;padding:20px;box-shadow:0 2px 0 #ece2ce}.teacher-kpis strong{display:block;font-size:30px;margin-top:10px}.teacher-kpis small{color:#93856b}.teacher-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin:18px 0}.teacher-map{position:relative;overflow:hidden;border-radius:12px}.teacher-map img{width:100%;display:block}.teacher-map>span{position:absolute;transform:translate(-50%,-50%);background:#f2dfac;border:2px solid #826039;border-radius:7px;padding:3px 5px;font-size:clamp(8px,.8vw,12px);font-weight:700;white-space:nowrap;box-shadow:0 2px 3px #473a2766}.teacher-score{margin:14px 0;font-size:13px}.teacher-score b{float:right}.teacher-score div{height:10px;border-radius:10px;background:#efe2c5;margin-top:7px;overflow:hidden}.teacher-score i{display:block;height:100%;border-radius:10px}.teacher-cagent{display:flex;align-items:end;gap:12px;margin-top:20px}.teacher-cagent img{width:92px;object-fit:contain}.teacher-cagent p,.teacher-studio blockquote{background:#eee8f6;border:1px solid #c4b1dc;padding:14px;border-radius:12px;color:#5e5478}.teacher-actions,.teacher-row{display:flex;justify-content:space-between;gap:10px;align-items:center}.teacher-list,.teacher-sentence{display:block;width:100%;text-align:left;margin:8px 0}.teacher-list span{float:right;color:#8a7c62}.teacher-tabs{display:flex;gap:8px;margin:16px 0}.teacher-sentence[aria-pressed=true],.teacher-tabs [aria-pressed=true]{background:#ece3c4}.teacher-main textarea{display:block;width:100%;min-height:150px;margin:10px 0;padding:12px;border:1px solid #d6c19f;border-radius:10px;font:inherit;resize:vertical}.teacher-notice{padding:12px;background:#f3e8d2;border-radius:10px}.teacher-studio blockquote{margin:12px 0}@media(max-width:850px){.teacher-header{flex-wrap:wrap}.teacher-header nav{order:3;width:100%}.teacher-grid,.teacher-kpis{grid-template-columns:1fr}.teacher-main{padding:18px}}.teacher-map-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;margin-top:24px}.teacher-map-editor-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:20px}.teacher-field{display:block;color:#67563d;font-weight:700;margin-bottom:14px}.teacher-field input,.teacher-field textarea{display:block;width:100%;margin-top:7px;border:1px solid #d6c19f;border-radius:10px;padding:10px;font:inherit;background:#fff}.teacher-field textarea{min-height:90px}.teacher-map-preview{cursor:default}.teacher-map-preview.placing{cursor:crosshair}.teacher-map .teacher-map-pin{position:absolute;transform:translate(-50%,-50%);padding:4px 7px;background:#f2dfac;border:2px solid #826039;box-shadow:0 2px 3px #473a2766;font-size:clamp(9px,.8vw,13px);font-weight:700;white-space:nowrap;max-width:170px;overflow:hidden;text-overflow:ellipsis}.teacher-map .teacher-map-pin.selected{outline:3px solid #a67eca}.teacher-map-note{padding:12px;background:#f5ecdb;border-radius:10px;color:#796b56;font-size:13px;line-height:1.5}.teacher-drafts .teacher-list[aria-pressed=true],.teacher-topic-list .teacher-list[aria-pressed=true]{background:#eee5cb;border-color:#aa9062}.teacher-topic-list{max-height:260px;overflow:auto}.teacher-topic-fields{border-top:1px solid #e7dcc4;padding-top:16px}.teacher-map-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.teacher-map-actions button:last-child{background:#efce75;border-color:#a9854e}.teacher-empty-map{min-height:260px;display:grid;align-content:center;justify-items:start}.teacher-map-editor>label{max-width:480px}@media(max-width:1000px){.teacher-map-editor-grid,.teacher-map-layout{grid-template-columns:1fr}}.teacher-map-editor fieldset{border:0;margin:0;padding:0;min-width:0}.teacher-map-placeholder{aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;color:#796747;border:2px dashed #d8c49d;border-radius:12px;background:linear-gradient(145deg,#fdf9ed,#f3e8ce)}.teacher-map-placeholder strong{font-size:20px}.teacher-map-placeholder p{max-width:330px;margin:8px 0 0;line-height:1.5}.teacher-studio .teacher-voice-button{display:inline-flex;align-items:center;gap:7px}.teacher-studio .teacher-voice-button[aria-pressed=true]{background:#fff1eb;border-color:#b66658;color:#813f34;font-weight:700}.teacher-voice-status:not(:empty){color:#654e36;font-size:.9rem;margin-top:10px}.teacher-voice-preview{border-inline-start:3px solid #d8c49d;padding-inline-start:10px;overflow-wrap:anywhere}.teacher-drama-scene{border-top:1px solid #e7dcc4;margin-top:20px;padding-top:16px;overflow-wrap:anywhere}.teacher-drama-scene h3{margin:0}.teacher-drama-scene p{margin:9px 0}.teacher-drama-scene strong{color:#594630}.teacher-drama-scene .teacher-sentence strong{display:block}.teacher-unlock-setting{display:flex;align-items:center;gap:12px;margin:12px 0;font-weight:700}.teacher-unlock-setting select{background:#fffaf0;border:1px solid #cfb78d;border-radius:8px;color:inherit;font:inherit;padding:4px 20px 4px 10px}.teacher-topic-instruction{font-size:.92rem}.teacher-topic-order{margin:0;padding:0 8px 0 0;list-style:none;max-height:460px;overflow-y:auto}.teacher-topic-order li{border:1px solid #ddcaa6;border-radius:12px;margin-bottom:10px;padding:12px;background:#faf5e8}.teacher-topic-order li.drop-target,.teacher-topic-order li.selected{box-shadow:inset 0 0 0 2px #a67eca}.teacher-topic-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:10px}.teacher-topic-row small{color:#705d44}.teacher-topic-reorder{display:flex;gap:4px;margin-inline-start:auto}.teacher-topic-row button{display:inline-grid;place-items:center;padding:5px;border-radius:7px}.teacher-topic-row .teacher-drag-handle{cursor:grab}.teacher-topic-order textarea{min-height:58px}.teacher-topic-order .teacher-field{margin-bottom:8px}.teacher-topic-order .teacher-topic-remove{padding:4px 8px;font-size:.85rem}.teacher-map-preview .teacher-map-pin{max-width:min(26%,170px)}.teacher-list.teacher-student-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.teacher-student-row span:first-child{color:inherit;overflow-wrap:anywhere}.teacher-student-row span:last-child{flex-shrink:0}.teacher-main-map{max-width:1680px}.teacher-main-map .teacher-map-layout{grid-template-columns:minmax(175px,15%) minmax(0,1fr);align-items:start;gap:16px}.teacher-main-map .teacher-map-editor{background:none;border:0;box-shadow:none;padding:0;min-width:0}.teacher-main-map .teacher-map-editor-grid{grid-template-columns:minmax(0,1fr) minmax(290px,.44fr);align-items:start;gap:16px}.teacher-map-result,.teacher-topic-settings{min-width:0;padding:16px;background:#fffdf7;border:1px solid #ddcaa6;border-radius:16px;box-shadow:0 2px 0 #ece2ce}.teacher-studio .teacher-new-map{width:100%;background:#efce75;border-color:#a9854e}.teacher-drafts .teacher-list{overflow-wrap:anywhere}.teacher-drafts .teacher-list span{display:block;float:none;margin-top:4px;font-size:.88rem}.teacher-original-topics{margin:0;padding-inline-start:26px}.teacher-original-topics li{padding:7px 5px}.teacher-original-topics li.selected{background:#eee5cb;border-radius:6px}@media (max-width:1100px){.teacher-main-map .teacher-map-layout{grid-template-columns:minmax(0,1fr)}.teacher-drafts .teacher-new-map{width:auto}}@media (max-width:760px){.teacher-main-map .teacher-map-editor-grid{grid-template-columns:minmax(0,1fr)}}