@font-face{font-family:system-local;src:local("Arial")}*{box-sizing:border-box}html{--accent: #6750b5;--accent-dark: #4f3b8f;--soft: #eeebf7;--tint: #f4f2f9;--border: #dedee5;--ink: #212630;--muted: #626675;--paper: #fafaf7;--surface: #fff;--lime: #d9efb2;font-size:112.5%;font-family:Arial,Tahoma,sans-serif;background:var(--paper);color:var(--ink);line-height:1.8;scroll-behavior:smooth}html[data-theme=lavender]{--accent: #6044b0;--accent-dark: #48318b;--soft: #eee9fa;--tint: #f4f0fc}html[data-theme=ocean]{--accent: #126c7c;--accent-dark: #0c5361;--soft: #dff1f4;--tint: #edf8f9}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid transparent;border-radius:9px;padding:9px 16px;background:var(--accent);color:var(--surface);cursor:pointer;font-size:1rem;font-weight:600;transition:background .15s,box-shadow .15s}button:hover{background:var(--accent-dark)}button:disabled{opacity:.5;cursor:not-allowed}button.secondary{background:var(--surface);color:var(--ink);border-color:var(--border)}button.secondary:hover{background:var(--tint)}button.danger{color:#a73145;background:transparent}button.danger:hover{background:#fff0f1}.icon-button{padding:8px;min-width:44px}.text-button{background:transparent;color:var(--accent);padding:7px 0}.text-button:hover{background:transparent;color:var(--accent-dark);text-decoration:underline}a{color:var(--accent)}:focus-visible{outline:3px solid #007f9c;outline-offset:3px}main:focus{outline:none}.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:-100px;z-index:10;padding:12px;background:var(--surface)}.skip-link:focus{top:8px}.topbar{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:20px 4.5%;background:#fff;border-bottom:1px solid var(--border)}.brand{direction:ltr;background:transparent;color:var(--ink);padding:0;text-align:start;gap:11px}.brand:hover{background:transparent}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--accent);color:#fff}.brand strong{display:block;font-size:1.0625rem;letter-spacing:-.6px}.brand-light{font-weight:400}.brand small{font-size:.75rem;letter-spacing:1.5px;color:var(--muted);display:block;margin-top:2px}.top-nav,.header-tools{display:flex;align-items:center;gap:8px}.top-nav button{background:none;color:var(--muted)}.top-nav button.nav-active{color:var(--accent);background:var(--tint)}.header-tools .language{color:var(--ink);background:#fff;border:1px solid var(--border)}.theme-control select{border:0;background:transparent;color:var(--muted);max-width:110px;min-height:44px}.workspace-status{display:flex;justify-content:space-between;gap:10px;padding:10px 4.5%;font-size:.8125rem;color:var(--muted);border-bottom:1px solid var(--border);background:var(--paper)}.workspace-status>span{display:flex;gap:7px;align-items:center}.status-dot{height:6px;width:6px;border-radius:50%;background:#37806a}.dashboard{max-width:1280px;padding:34px 50px 40px;margin:auto}.hero{display:grid;grid-template-columns:1.45fr 1fr;min-height:290px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(110deg,#edf6f6,#f7f2fc 55%,#f1edfc);position:relative;overflow:hidden;padding:42px 40px;align-items:center;gap:24px}.eyebrow{font-size:.8125rem;letter-spacing:1.8px;font-weight:700;color:var(--accent);direction:ltr;text-align:start;margin:0 0 16px;display:flex;align-items:center;gap:7px}.hero .eyebrow span{width:6px;height:6px;background:var(--accent);border-radius:50%}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.75rem,3.1vw,2.625rem);line-height:1.4;letter-spacing:-.8px;margin-bottom:16px}h2{font-size:1.5rem;line-height:1.4;margin-bottom:14px;letter-spacing:-.4px}h3{font-size:1.125rem;margin-bottom:10px;line-height:1.5}.hero-copy>p:not(.eyebrow){color:var(--muted);font-size:1rem;margin-bottom:25px;max-width:500px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hero-art{height:220px;position:relative;direction:ltr}.art-note{position:absolute;width:156px;height:190px;border-radius:11px;border:1px solid var(--border);box-shadow:0 16px 36px #56428818;inset-inline-start:calc(50% - 78px);top:10px}.note-back{transform:rotate(15deg) translate(22px,-2px);background:#e0d7f6;padding:28px}.note-back span{height:5px;background:#c7b8e8;display:block;margin-bottom:12px}.note-front{background:#fff;transform:rotate(-8deg);padding:24px;color:var(--accent)}.note-line{height:4px;background:#dbd4ed;margin-top:15px;border-radius:3px}.note-line.short{width:70%;margin-top:9px}.note-front p{font-family:Georgia,serif;font-size:.8125rem;margin-top:16px;color:var(--muted)}.art-badge{font-size:.75rem;letter-spacing:1px;background:var(--soft);padding:5px}.orbit{position:absolute;border:1px solid var(--border);border-radius:50%;top:4px;left:calc(50% - 115px);width:230px;height:230px}.orbit-two{transform:rotate(20deg);width:300px;height:150px;top:40px;left:calc(50% - 150px)}.spark{position:absolute;color:#a28fc7}.spark-one{font-size:1.6875rem;top:0;left:15%}.spark-two{font-size:2.1875rem;right:6%;bottom:7px}.art-chip{position:absolute;bottom:0;left:4%;background:var(--surface);border:1px solid var(--border);padding:6px 12px;font-size:.875rem;color:var(--accent);border-radius:7px;box-shadow:0 5px 20px #5544660c}.art-chip span{font-size:.75rem;margin-left:8px;color:var(--muted);letter-spacing:1px}.project-section{margin-top:36px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-heading .eyebrow{font-size:.75rem;margin-bottom:7px;color:var(--muted)}.section-heading h2{margin-bottom:0}.count{display:inline-grid;place-items:center;background:var(--soft);color:var(--accent);font-size:.875rem;min-width:25px;height:25px;border-radius:7px;vertical-align:middle;margin-inline-start:6px}.empty-state{text-align:center;border:1px dashed var(--border);border-radius:14px;background:var(--surface);padding:38px 20px}.empty-icon{display:inline-grid;place-items:center;width:62px;height:62px;border-radius:18px;background:var(--tint);color:var(--accent);margin-bottom:16px}.empty-state h3{font-size:1.125rem}.empty-state p{color:var(--muted);font-size:1rem;margin-bottom:12px}.bottom-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.feature-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:21px;display:flex;align-items:center;gap:15px;text-align:start;color:var(--ink);font-weight:400}.feature-card:hover{background:var(--surface)}.feature-card small{display:block;color:var(--muted);font-size:.875rem;margin-top:4px}.feature-card>svg{margin-inline-start:auto;color:var(--muted)}.feature-icon{height:44px;width:44px;flex-shrink:0;background:var(--soft);color:var(--accent);border-radius:10px;display:grid;place-items:center}.feature-icon.green{background:#e9f3ee;color:#2d7964}footer{max-width:1180px;margin:0 auto;display:flex;gap:20px;align-items:center;padding:22px 0;border-top:1px solid var(--border);color:var(--muted);font-size:.8125rem}footer strong{color:var(--ink);direction:ltr}footer span:last-child{margin-inline-start:auto}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.project-card{background:var(--surface);border:1px solid var(--border);border-radius:13px;overflow:hidden;min-width:0}.card-visual{height:110px;background:linear-gradient(120deg,#f2ecfa,#e1e3f7);display:flex;align-items:center;justify-content:space-between;padding:24px;color:var(--accent)}.card-visual span{font-size:.75rem;letter-spacing:1.5px;direction:ltr}.visual-1{background:linear-gradient(120deg,#e3f1ee,#eff7f1);color:#387c6a}.visual-2{background:linear-gradient(120deg,#fbefdf,#f9f3e9);color:#8c633a}.card-body{padding:20px}.card-body h3{margin-top:8px;overflow-wrap:anywhere}.micro{font-size:.8125rem;color:var(--muted)}.card-excerpt{font-size:.875rem;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:43px}.progress-caption{display:flex;justify-content:space-between;font-size:.8125rem;color:var(--muted)}progress{appearance:none;border:0;height:5px;width:100%;border-radius:4px;background:var(--soft);overflow:hidden}progress::-webkit-progress-bar{background:var(--soft)}progress::-webkit-progress-value{background:var(--accent);border-radius:4px}progress::-moz-progress-bar{background:var(--accent)}.card-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);margin-top:15px;padding-top:8px}.project-bar{display:flex;align-items:center;gap:25px;padding:18px 4.5%;background:#fff;border-bottom:1px solid var(--border)}.project-bar strong{overflow-wrap:anywhere}.project-bar>button:last-child{margin-inline-start:auto}.editor-layout{display:grid;grid-template-columns:235px minmax(0,1fr);max-width:1400px;margin:auto}.editor-nav{padding:26px 20px;background:var(--surface);border-inline-end:1px solid var(--border)}.progress-heading{display:flex;justify-content:space-between;align-items:center;font-size:.8125rem;color:var(--muted)}.progress-heading strong{font-size:1.5625rem;color:var(--accent)}.editor-nav nav{display:grid;gap:6px;margin-top:24px}.editor-nav nav button{background:transparent;color:var(--muted);text-align:start;justify-content:start;padding:10px 9px;font-size:.875rem;font-weight:400}.editor-nav nav button.active{color:var(--accent);background:var(--tint);font-weight:600}.number{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;border:1px solid var(--border);border-radius:50%;font-size:.8125rem}.number.complete{background:#e8f3ed;color:#287259;border-color:#d2e6d9}.choice-tab{margin-top:14px;border-top:1px solid var(--border)!important;border-radius:0!important;padding-top:18px!important}.local-note{margin-top:30px;padding:16px;background:var(--tint);border-radius:10px;font-size:.875rem}.local-note svg{vertical-align:middle;margin-inline-end:6px;color:var(--accent)}.local-note p{color:var(--muted);margin:10px 0 0;font-size:.8125rem}.editor-body{padding:30px 38px;min-width:0}.mode-switch{display:flex;background:var(--soft);padding:4px;border-radius:9px;flex-shrink:0}.mode-switch button{background:transparent;color:var(--muted);padding:7px 10px;font-size:.8125rem;min-height:36px}.mode-switch button.selected{background:var(--surface);color:var(--accent);box-shadow:0 2px 5px #4433660b}.panel{padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:13px;margin-bottom:20px;margin-top:16px}.panel>p,.panel li{font-size:1rem;color:var(--muted)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:14px;min-width:0}.fields>.field{margin-bottom:0}.field>span,.links legend{font-size:.875rem;font-weight:600;color:#505368}.field.wide{grid-column:1/-1}input:not([type=checkbox]),textarea,select{border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--ink);padding:10px 12px;width:100%;min-height:44px;min-width:0;font-size:1rem}textarea{resize:vertical;line-height:1.8;min-height:115px}input[type=checkbox]{accent-color:var(--accent);width:19px;height:19px;flex-shrink:0}.hint{padding:14px 16px;background:var(--tint);border-inline-start:3px solid var(--accent);border-radius:5px;font-size:.875rem;color:var(--muted);margin:20px 0 0}.hint ol{padding-inline-start:20px;margin-bottom:0}.item-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.item-heading h3{margin:0;overflow-wrap:anywhere}.step-number{font-size:.875rem;color:var(--accent);font-weight:700}.links{margin-top:20px;border:1px solid var(--border);border-radius:8px;padding:12px;display:flex;gap:16px;flex-wrap:wrap}.links label{display:flex;align-items:center;gap:5px;font-size:.875rem}.timeline{padding-inline-start:20px}.timeline li{border-inline-start:2px solid var(--soft);padding-inline-start:18px;padding-bottom:16px}.timeline strong,.timeline .micro{display:block;margin-bottom:12px}.timeline .fields{grid-template-columns:1fr 1fr 1fr}.causal-list{padding-inline-start:20px}.causal-list li{padding:10px;border-bottom:1px solid var(--border)}.causal-list li span[aria-hidden]{display:inline-block;direction:ltr}html[dir=ltr] .causal-list li span[aria-hidden]{transform:rotate(180deg)}.empty-inline{padding:35px;text-align:center;color:var(--muted)}.step-footer{display:flex;justify-content:space-between;margin-top:26px}.check-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--border);font-size:1rem}.rating-row{display:grid;grid-template-columns:180px 1fr;gap:18px;align-items:start}.rating-row .field{margin-bottom:17px}.story-paper{max-width:780px;margin:24px auto;padding:55px;background:var(--surface);border:1px solid var(--border);box-shadow:0 8px 32px #22224408}.story-paper>h1{text-align:center}.story-paper>p:not(.eyebrow){text-align:center;color:var(--muted)}.story-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2.1;margin-top:40px}.story-prose h2{font-size:1.3125rem}.story-prose section{margin-top:25px}.guide{max-width:1080px;margin:auto;padding:40px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.guide-grid .panel{margin:0}.alert,.notice{margin:18px 4.5%;border:1px solid #e3b8ad;background:#fff2ec;padding:16px 20px;border-radius:9px;color:#7d3427;font-size:1rem}.alert p{margin-bottom:8px}.alert>button,.notice>button{float:inline-end;min-width:44px}.notice{background:#eef5f2;border-color:#bed8c9;color:#26543f;display:flex;justify-content:space-between;align-items:center}.notice>button{background:transparent;color:inherit;font-size:1.375rem}.guide li{margin-bottom:10px;overflow-wrap:anywhere}@media(min-width:1500px){.dashboard{padding-top:50px}.hero{min-height:340px}.hero-art{transform:scale(1.1)}}@media(max-width:1000px){.topbar{gap:12px;padding:16px 24px;flex-wrap:wrap}.brand{flex:1}.top-nav{order:3;width:100%;justify-content:center}.dashboard{padding:25px}.hero{padding:30px;grid-template-columns:1.3fr 1fr}.hero .actions{flex-direction:column;align-items:stretch}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-layout{grid-template-columns:200px minmax(0,1fr)}.editor-body{padding:25px 20px}.editor-body>.section-heading{flex-wrap:wrap}.editor-nav{padding:22px 12px}footer{margin:0 25px}.theme-control{display:none}}@media(max-width:650px){.topbar{padding:15px 16px}.brand strong{font-size:1rem}.brand small{font-size:.75rem;letter-spacing:1px}.brand-mark{width:36px;height:36px}.language{font-size:.875rem;padding:7px 9px}.workspace-status{font-size:.75rem;padding:9px 16px;flex-wrap:wrap}.dashboard{padding:20px 16px}.hero{display:block;padding:26px 22px}.hero-art{height:190px;margin-top:28px;transform:scale(.85)}.hero h1{font-size:1.875rem}.hero .eyebrow{font-size:.75rem;letter-spacing:1.1px}.hero .actions{align-items:stretch}.section-heading{align-items:start;gap:12px;flex-wrap:wrap}.section-heading>.secondary{font-size:.8125rem}.project-grid,.bottom-cards,.guide-grid{grid-template-columns:1fr}.project-section{margin-top:26px}.feature-card{padding:16px}.project-bar{padding:12px 16px;gap:12px;flex-wrap:wrap}.project-bar strong{max-width:100%}.project-bar>button:last-child{font-size:.8125rem}.editor-layout{display:block}.editor-nav{border-inline-end:0;border-bottom:1px solid var(--border);padding:18px 16px}.editor-nav nav{display:flex;overflow-x:auto;gap:6px;margin-top:14px;padding-bottom:8px}.editor-nav nav button{flex-shrink:0;padding:8px}.editor-nav nav button.choice-tab{margin:0;padding:8px!important;border:0!important}.editor-nav .local-note{display:none}.editor-nav>.micro{margin-bottom:0}.editor-body{padding:24px 16px}.fields,.timeline .fields{grid-template-columns:1fr}.panel{padding:18px}.rating-row{grid-template-columns:1fr;gap:0}.story-paper{padding:26px 20px}.guide{padding:26px 16px}.item-heading .actions{gap:2px}.item-heading{flex-wrap:wrap}.mode-switch{max-width:100%;flex-wrap:wrap}footer{margin:0 16px;flex-wrap:wrap;gap:7px;padding:20px 0}footer span:last-child{width:100%;margin:0}h2{font-size:1.375rem}.notice,.alert{margin:14px 16px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{.topbar,.workspace-status,.editor-nav,.project-bar,.step-footer,.mode-switch,footer,button{display:none!important}.editor-layout{display:block}.story-paper{box-shadow:none;border:0;padding:0;max-width:none}.editor-body{padding:0}}.tool-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.project-tools{padding:14px 4.5%;margin:0;background:var(--surface);border-bottom:1px solid var(--border)}.tool-tabs button{font-size:.875rem}.studio-body,.teacher-page{max-width:1280px;padding:30px 40px;margin:auto}.storyboard-grid,.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.storyboard-grid .panel{margin:0;min-width:0}.storyboard-image{width:100%;height:180px;object-fit:contain;border-radius:8px;background:var(--tint);margin-bottom:14px}.digital-player{overflow:hidden;max-width:820px;margin:25px auto;padding:32px}.digital-player img{max-width:100%;max-height:400px;display:block;margin:15px auto}.digital-player audio{max-width:100%;margin:16px 0}.digital-player .frame{min-height:220px}.digital-player .caption{font-style:italic}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.transition-fade{animation:sceneFade .45s ease}.transition-slide{animation:sceneSlide .4s ease}@keyframes sceneFade{0%{opacity:0}to{opacity:1}}@keyframes sceneSlide{0%{transform:translateY(22px);opacity:.3}to{transform:none;opacity:1}}.theme-sample{margin-top:22px;padding:24px;border:1px solid var(--border);border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}.practice-order{padding-inline-start:24px}.practice-order li{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}.practice-order li>span{flex:1}.rubric-row,.review-checks{border:1px solid var(--border);border-radius:10px;padding:18px;margin:20px 0}.rubric-row legend{font-weight:700;padding:0 8px}.rubric-result{display:flex;gap:20px;align-items:center;margin-top:18px;flex-wrap:wrap}.rubric-result meter{height:24px;min-width:160px}.booklet-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.booklet-pages figure{margin:0;text-align:center}.booklet-pages img{width:100%;box-shadow:0 4px 18px #2222331a}.booklet-pages figcaption{padding:12px}.demo-class-grid{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.teacher-page blockquote{padding:20px;background:var(--tint);border-inline-start:4px solid var(--accent);margin:20px 0}.studio-body blockquote{padding:18px;background:var(--tint);border-inline-start:3px solid var(--accent);margin:20px 0}.storyboard-card{overflow-wrap:anywhere}.storyboard-card input[type=file]{font-size:.8125rem;padding:8px}.storyboard-card .fields{grid-template-columns:1fr}.storyboard-card .item-heading button{min-width:44px}.teacher-page .actions .field{margin:0}.theme-sample h3{font-size:1.25em}@media(max-width:850px){.storyboard-grid,.library-grid{grid-template-columns:1fr}.topbar .top-nav{flex-wrap:wrap}.studio-body,.teacher-page{padding:24px}.topbar{flex-wrap:wrap}.top-nav{order:3;width:100%;justify-content:center}}@media(max-width:650px){.studio-body,.teacher-page{padding:22px 16px}.booklet-pages{grid-template-columns:1fr}.project-tools{padding:12px 16px;gap:7px}.project-tools button{padding:8px 10px}.digital-player{padding:20px}.teacher-page h1{font-size:1.6875rem}.practice-order{padding:0}.practice-order li{flex-wrap:wrap}.storyboard-card .item-heading{display:block}.storyboard-card .item-heading .actions{margin:10px 0}.teacher-page .actions{align-items:stretch}.teacher-page .actions .field{width:100%}}.tool-tabs button{transition:none}.brand{min-width:0}.brand-mark{flex-shrink:0}.header-tools{flex-wrap:wrap;max-width:100%}.section-heading,.item-heading{overflow-wrap:anywhere}.field>span{line-height:1.6}.field input,.field textarea,.field select{line-height:1.7}.studio-body>section>p,.guide p{line-height:1.9}@media(max-width:650px){.brand small{display:none}.brand-light{display:block}.brand>span:last-child{min-width:0}.topbar .brand{flex:1}.topbar .header-tools{flex-shrink:0}.top-nav button{font-size:.875rem}.workspace-status{row-gap:8px}.section-heading>.secondary,.project-bar>button:last-child{font-size:.875rem}.storyboard-card input[type=file]{max-width:100%}footer{line-height:1.8}}.hero-art .note-front p{font-size:.6875rem;line-height:1.3;white-space:nowrap;margin:12px 0 8px}.hero-art .art-badge{font-size:.5rem;white-space:nowrap;display:inline-block;line-height:1.4}.creative-shortcuts{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:22px 4.5%;background:linear-gradient(100deg,var(--tint),var(--paper));border-bottom:1px solid var(--border)}.creative-shortcuts p{margin:6px 0 0;color:var(--muted);font-size:.875rem}.creative-shortcuts .actions{flex-shrink:0}.theme-preset{flex-direction:column;min-width:160px;padding:15px!important}.theme-preset[aria-pressed=true]{border:2px solid var(--accent);background:var(--tint)}.palette-preview{display:flex;align-items:center;justify-content:center;gap:10px;width:130px;height:55px;border:1px solid var(--border);border-radius:8px}.palette-preview>span{width:24px;height:24px;border-radius:50%}.frame-picture{margin:0 0 20px;min-width:0}.frame-picture img{width:100%;max-height:360px;object-fit:contain;display:block}.frame-picture figcaption{font-size:.875em;margin-top:8px;color:var(--muted)}.frame-copy{min-width:0}.frame-copy h3{font-size:1.4em}.frame-copy p{font-size:inherit}.story-layout-split{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:center}.story-layout-cinema .frame-picture img{height:330px;object-fit:cover;border-radius:14px}.story-layout-classic .frame-picture img{border-radius:8px}.illustration-picker{padding:16px;background:var(--tint);border-radius:10px;margin-bottom:18px}.illustration-picker .micro{margin:12px 0 0}.route-nodes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:0;list-style:none}.route-nodes>li{background:var(--tint);border:1px solid var(--border);border-radius:10px;padding:16px;overflow-wrap:anywhere}.route-nodes>li.unreachable{border:2px dashed #8c633a}.route-nodes ul{padding-inline-start:18px}.route-tag{display:inline-block;border-radius:5px;padding:2px 8px;background:var(--surface);color:var(--muted);margin-inline-start:8px;font-size:.875rem}.route-map>.item-heading{flex-wrap:wrap}.theme-sample{white-space:normal}.theme-sample .preserve{white-space:pre-wrap}.digital-player .frame-picture img{margin:0}@media(max-width:1000px){.creative-shortcuts{flex-wrap:wrap}.route-nodes{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.creative-shortcuts{padding:20px 16px}.creative-shortcuts .actions{flex-shrink:1}.story-layout-split,.route-nodes{grid-template-columns:1fr}.story-layout-cinema .frame-picture img{height:220px}.theme-preset{min-width:130px}.palette-preview{width:100px}}.theme-sample .frame{animation:none}.route-arrow{vertical-align:middle;margin-inline-end:5px}html[dir=rtl] .route-arrow{transform:scaleX(-1)}.policy-links{display:flex;flex-wrap:wrap;gap:12px;font-size:.875rem}.policy-links a{text-decoration:underline;text-underline-offset:3px}.policy-links a:focus-visible{outline:2px solid currentColor;outline-offset:4px}.world-library-header{padding:38px 30px 28px;margin:-5px -5px 28px;border:1px solid var(--border);border-radius:24px;text-align:center;background:radial-gradient(ellipse at 12% 5%,#e0f6fa 0%,transparent 52%),radial-gradient(ellipse at 80% 20%,#eee3fc 0%,transparent 56%),linear-gradient(180deg,#f7f8ff,var(--surface))}.world-library-header h2{font-size:clamp(1.5rem,2.2vw,2.1rem);margin:12px auto;max-width:720px}.world-library-header>p{max-width:680px;margin:0 auto 24px;color:var(--muted)}.world-eyebrow{font-size:.75rem;letter-spacing:1.8px;color:var(--accent-dark);font-weight:700}.world-filters{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:26px 0}.world-filters button{border-radius:30px;background:var(--surface);color:var(--muted);border:1px solid var(--border);padding:10px 18px;font-size:.875rem;box-shadow:0 3px 10px #49346e07}.world-filters button.selected{background:var(--accent-dark);color:var(--surface);border-color:var(--accent-dark)}.world-search{display:flex;align-items:center;gap:10px;background:var(--surface);padding:0 16px;border:1px solid var(--border);border-radius:12px;max-width:600px;margin:0 auto 10px;box-shadow:0 5px 18px #35305b06;color:var(--muted)}.world-search input{border:0;background:transparent;min-width:0;padding:14px 0;font-size:1rem}.world-search:focus-within{outline:3px solid #007f9c;outline-offset:3px}.world-search input:focus-visible{outline:none}.world-results{font-size:.8125rem;color:var(--muted)}.world-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 36px}.world-card{border:1px solid color-mix(in srgb,var(--world-accent) 35%,white);border-radius:22px;overflow:hidden;background:var(--surface);box-shadow:0 8px 26px #2e284b08;display:flex;flex-direction:column;min-width:0;transition:box-shadow .2s,transform .2s}.world-card:hover{box-shadow:0 12px 32px #2e284b14;transform:translateY(-3px)}.world-art-button{padding:0;border:0;border-radius:0;display:block;position:relative;overflow:hidden;background:var(--world-tint);width:100%;min-height:0}.world-art-button img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:transform .4s}.world-art-button:hover img{transform:scale(1.035)}.world-art-cta{position:absolute;inset-inline:15px;bottom:15px;display:flex;align-items:center;justify-content:space-between;color:var(--surface);font-size:.8125rem;padding:8px 12px;border:1px solid #ffffff50;border-radius:9px;background:#172836d9}.world-card-copy{padding:23px 20px;flex:1;display:flex;flex-direction:column;gap:12px}.world-kind{font-size:.75rem;color:var(--muted);font-weight:600;display:block}.world-card h3{font-size:1.2rem;margin:0;color:var(--world-accent);line-height:1.6}.world-card-copy>p{font-size:.875rem;color:var(--muted);line-height:1.8;margin:0}.world-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin:4px 0 6px;color:var(--muted);font-size:.75rem}.world-meta span{display:flex;gap:6px;align-items:center}.world-card-actions{display:flex;flex-direction:column;gap:10px;margin-top:auto}.world-card-actions button{font-size:.875rem;min-height:46px}.world-card-actions>button:first-child{background:var(--world-accent)}.world-card-footer{padding:11px 16px;background:var(--world-tint);color:var(--world-accent);font-size:.75rem;text-align:center;border-top:1px solid #e4e8e7}.world-dialog{padding:0;border:1px solid var(--border);border-radius:22px;max-width:980px;width:calc(100% - 36px);max-height:90vh;color:var(--ink);background:var(--surface);overflow:auto;box-shadow:0 30px 90px #11182738}.world-dialog::backdrop{background:#182032a8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.world-dialog-close{position:absolute;inset-inline-end:14px;top:14px;z-index:1;background:#ffffffed!important;box-shadow:0 3px 15px #15152b20}.world-dialog-art img{width:100%;max-height:350px;object-fit:cover;display:block}.world-dialog-copy{padding:28px 32px}.world-dialog-copy>blockquote{margin:20px 0;padding:20px;background:#ffffffc9;border-radius:12px;line-height:1.9}.world-dialog-copy .check-row{align-items:flex-start}.world-dialog-copy .check-row input{margin-top:7px}.world-dialog-copy .micro{font-size:.875rem}.main-with-guide{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:0;max-width:1920px;margin:auto;align-items:start}.main-content{min-width:0}.workflow-guide{background:var(--surface);border-inline-start:1px solid var(--border);position:sticky;top:14px;margin:22px 16px 22px 0;border-radius:14px;border:1px solid var(--border);min-width:0}.workflow-guide summary{display:flex;align-items:center;gap:10px;padding:18px 16px;cursor:pointer;list-style:none;font-size:.875rem;font-weight:700;color:var(--accent-dark)}.workflow-guide summary::-webkit-details-marker{display:none}.workflow-guide .guide-chevron{margin-inline-start:auto}.workflow-guide details[open] .guide-chevron{transform:rotate(180deg)}.workflow-guide-content{max-height:calc(100vh - 110px);overflow:auto;padding:0 18px 20px;scrollbar-width:thin}.workflow-guide-label{font-size:.7rem;letter-spacing:.8px;color:#6b6480;margin:4px 0 8px}.workflow-guide h3{font-size:1.05rem;line-height:1.6;margin-bottom:22px}.workflow-guide ol{list-style:none;padding:0;margin:0;display:grid;gap:22px}.workflow-guide li{display:flex;gap:10px;align-items:flex-start}.workflow-step-number{flex-shrink:0;width:26px;height:26px;display:grid;place-items:center;background:#ede8f8;color:var(--accent-dark);border-radius:50%;font-size:.8125rem;font-weight:700}.workflow-guide h4{font-size:.875rem;margin:0 0 5px;line-height:1.6}.workflow-guide li p{font-size:.875rem;color:var(--muted);line-height:1.9;margin:0}.workflow-reminder{margin-top:26px;border-radius:10px;background:var(--tint);padding:14px;color:var(--muted)}.workflow-reminder p{font-size:.8125rem;margin:6px 0 0;line-height:1.8}.main-with-guide .dashboard,.main-with-guide .studio-body{padding:28px}.main-with-guide .hero{padding:32px 28px}.main-with-guide .editor-body{padding:28px}.main-with-guide .editor-body>.section-heading{flex-wrap:wrap}@media(max-width:1450px){.world-grid{gap:16px}.world-card-copy{padding:20px 16px}.world-card h3{font-size:1.05rem}.world-meta{font-size:.75rem}.main-with-guide .editor-layout{grid-template-columns:200px minmax(0,1fr)}}@media(max-width:1199px){.main-with-guide{display:grid;grid-template-columns:1fr}.workflow-guide{grid-row:1;position:static;margin:16px 20px 0;border-radius:12px}.main-content{grid-row:2}.workflow-guide-content{max-height:55vh}.main-with-guide .dashboard,.main-with-guide .studio-body{padding:25px}.world-grid{gap:20px}}@media(max-width:800px){.world-grid{grid-template-columns:1fr 1fr}.world-library-header{padding:28px 20px}.world-filters button{padding:9px 14px}.world-card-copy{padding:20px}.world-card h3{font-size:1.15rem}.main-with-guide .editor-layout{display:block}.main-with-guide .editor-nav nav{display:flex;overflow:auto;gap:8px}.main-with-guide .editor-nav nav button{flex-shrink:0}.main-with-guide .editor-nav .local-note{display:none}}@media(max-width:600px){.world-grid{grid-template-columns:1fr;gap:24px}.world-library-header{padding:25px 18px;border-radius:18px;margin-inline:0}.world-filters{gap:8px}.world-filters button{font-size:.8125rem;padding:9px 12px}.world-card-copy{padding:23px}.world-card h3{font-size:1.2rem}.world-dialog-copy{padding:22px 18px}.world-dialog-art img{max-height:250px}.workflow-guide{margin:14px 16px 0}.main-with-guide .dashboard,.main-with-guide .studio-body{padding:22px 16px}.main-with-guide .editor-body{padding:24px 16px}.main-with-guide .hero{padding:28px 22px}.main-with-guide .hero-art{height:190px}.main-with-guide .hero .actions{align-items:stretch}}html[dir=rtl] .world-eyebrow,html[dir=rtl] .workflow-guide-label{letter-spacing:0}.craft-details{margin-top:22px;border:1px solid var(--border);border-radius:12px;background:var(--tint);padding:16px}.craft-details summary{cursor:pointer;font-size:1rem;font-weight:700;color:var(--accent);padding:5px 0}.craft-details>p{font-size:.875rem;color:var(--muted);line-height:1.9}.craft-lenses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.craft-card{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:18px;min-width:0}.craft-card h4,.craft-details h4{font-size:1rem;margin:0 0 10px}.craft-card p,.craft-card blockquote,.craft-details blockquote{font-size:.875rem;line-height:1.9}.craft-card blockquote,.craft-details blockquote{margin:15px 0;padding:13px;border-inline-start:3px solid #ad9aca;background:var(--tint);color:var(--muted)}.timeline .craft-details{margin-bottom:20px}.fields>.wide{grid-column:1/-1}@media(max-width:800px){.craft-lenses{grid-template-columns:1fr}.craft-details{padding:14px}}.guide>.panel>h3{padding:14px 18px;margin-block:0 20px;border:1px solid var(--border);border-inline-start:5px solid var(--accent);border-radius:10px;background:var(--tint);color:var(--accent-dark);font-weight:800}.guide-tool-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;list-style:none;padding:0;margin-block:24px}.guide-tool-cards>li{min-width:0;border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden}.guide-card-heading{display:flex;gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--border);background:var(--tint);color:var(--accent-dark)}.guide-card-heading h3,.guide-card-heading h4{margin:0;font-size:1.1rem;font-weight:800;line-height:1.6}.guide-card-heading .step-number{display:grid;place-items:center;flex:0 0 36px;height:36px;margin:0;border-radius:8px;background:var(--accent);color:var(--surface);font-size:1.1rem;font-weight:800}.guide-tool-cards>li>p{padding:4px 18px 12px;line-height:1.9}.guide-grid>.panel{padding:0;overflow:hidden}.guide-grid>.panel>p{padding:0 18px 12px}.workflow-guide ol{gap:14px}.workflow-guide li{padding:14px 12px;border:1px solid var(--border);border-radius:10px;background:var(--tint)}.workflow-guide h4{padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid var(--border);color:var(--accent-dark);font-weight:800}.workflow-step-number{border-radius:8px}@media(max-width:900px){.guide-tool-cards{grid-template-columns:minmax(0,1fr)}}.world-template-kind{display:block;margin-block:6px 10px;color:var(--muted);font-size:.9rem}.book-designs{border:1px solid var(--border);border-radius:14px;padding:20px;margin-block:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.book-designs legend{font-size:1.2rem;font-weight:800;padding-inline:8px}.book-design-card{display:flex;align-items:start;gap:12px;border:1px solid var(--border);border-radius:12px;padding:18px;background:var(--surface);cursor:pointer}.book-design-card:has(input:checked){background:var(--tint);border:2px solid var(--accent);padding:17px}.book-design-card input{flex:0 0 20px;width:20px;height:20px;margin-block-start:4px}.book-design-card strong,.book-design-card small{display:block;line-height:1.7}.book-design-card strong{color:var(--accent-dark);font-size:1.1rem}.book-design-card small{color:var(--muted);margin-block-start:5px}.flip-reader{margin-block:20px}.flip-stage{max-width:720px;margin:auto;padding:16px;background:#e9e4f0;border-radius:12px;perspective:1400px}.flip-leaf{margin:0;animation:leaf-turn .22s ease-out;transform-origin:left center;box-shadow:0 8px 26px #20223729}[dir=rtl] .flip-leaf{transform-origin:right center}.flip-leaf img{display:block;width:100%;height:auto}.flip-controls{justify-content:center;margin-block:18px}.digital-page-book{max-width:850px;margin:24px auto;border-radius:6px 20px 20px 6px;box-shadow:10px 10px #ded8e8,0 14px 35px #20223720;border-inline-start:12px solid #d3c9e2}.digital-page-book .reader-leaf{animation:leaf-turn .22s ease-out}.digital-page-book .frame{display:block;min-height:0}.digital-page-book .frame-picture img{max-height:360px;object-fit:contain}@keyframes leaf-turn{0%{opacity:.35;transform:rotateY(-8deg)}to{opacity:1;transform:rotateY(0)}}@media(max-width:600px){.book-designs{grid-template-columns:minmax(0,1fr);padding:12px}.flip-stage{padding:6px}.digital-page-book{margin-inline:0;box-shadow:3px 4px #ded8e8;border-inline-start-width:5px}}@media(prefers-reduced-motion:reduce){.flip-leaf,.digital-page-book .reader-leaf,.transition-fade,.transition-slide{animation:none}}.emotional-workshop{margin-block:22px;border:1px solid var(--border);border-radius:12px;background:var(--tint);padding:18px}.emotional-workshop summary{cursor:pointer;font-size:1.1rem;color:var(--accent-dark);font-weight:800;line-height:1.8}.emotion-steps{list-style:none;padding:0;display:grid;gap:18px}.emotion-steps>li,.emotion-example,.emotion-context{padding:18px;margin-block:16px;border:1px solid var(--border);border-radius:10px;background:var(--surface);min-width:0}.emotion-steps h4,.emotion-example h4,.emotion-context h4{margin-block:0 12px;padding-bottom:10px;border-bottom:1px solid var(--border);color:var(--accent-dark);font-size:1.05rem}.emotional-workshop p{line-height:1.9}.emotional-workshop .field{margin-block:14px}@media(max-width:600px){.emotional-workshop,.emotion-steps>li,.emotion-example,.emotion-context{padding:12px}}.case-study-reader{margin-block:22px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.case-study-reader summary{color:var(--accent-dark);cursor:pointer;font-size:1.1rem;font-weight:800;line-height:1.7}.case-story-text{max-width:760px;margin-inline:auto}.case-story-text section{margin-block:24px;padding-block-end:18px;border-bottom:1px solid var(--border)}.case-story-text p{font-size:1.1rem;line-height:2;white-space:pre-wrap}.case-craft-notes dl{display:grid;gap:14px;margin-inline:0}.case-craft-notes dl>div{background:var(--tint);border:1px solid var(--border);border-radius:10px;padding:14px}.case-craft-notes dt{font-weight:800;color:var(--accent-dark)}.case-craft-notes dd{margin:8px 0 0;line-height:1.9}.case-ending-label{color:var(--accent-dark);font-weight:700}.hero{background:linear-gradient(110deg,var(--paper),var(--tint) 65%,color-mix(in srgb,var(--lime) 25%,var(--surface)))}.world-library-header{background:radial-gradient(ellipse at 12% 5%,color-mix(in srgb,var(--lime) 50%,transparent),transparent 52%),linear-gradient(180deg,var(--tint),var(--surface))}.workflow-step-number,.guide-card-heading .step-number{background:var(--lime);color:var(--ink)}.workflow-reminder{background:var(--paper);color:var(--muted)}.flip-stage{background:var(--soft)}.book-design-card:has(input:checked){border-color:var(--accent)}.feature-icon.green{background:var(--lime);color:var(--ink)}.critical-lenses{display:flex;gap:10px;flex-wrap:wrap;margin-block:20px}.critical-lenses button{flex:1 1 150px;justify-content:start}.critical-lenses button span{display:grid;place-items:center;min-width:26px;height:26px;border:1px solid currentColor;border-radius:7px}.critical-task{border:1px solid var(--border);background:var(--paper);border-radius:12px;padding:18px}.critical-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.critical-passage,.critical-response{min-width:0}.critical-scene-nav{display:flex;gap:8px;flex-wrap:wrap;margin-block:16px}.critical-scene-nav button{font-size:.9rem}.critical-scene-nav [aria-current=step]{border:2px solid var(--accent);background:var(--tint);color:var(--accent-dark)}.critical-story-prose{white-space:pre-wrap;font-size:1.05rem;line-height:2}.critical-scene-enter,.critical-reveal{animation:critical-appear .16s ease-out}.critical-evidence-picker{display:grid;gap:10px;padding-block:14px}.critical-evidence-picker button{text-align:start;justify-content:start;line-height:1.8}.critical-selected-evidence{background:var(--tint);padding:14px;border-inline-start:4px solid var(--accent);margin-inline:0;border-radius:8px}.critical-selected-evidence blockquote{margin:0 0 12px}.critical-response .field,.critical-shot-plan .field{margin-block:16px}.critical-ending-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-block:16px}.critical-ending-comparison section,.critical-notebook>section{border:1px solid var(--border);padding:14px;border-radius:10px;background:var(--surface)}.critical-notebook{display:grid;gap:14px;margin-block:20px}.critical-method{padding:16px;margin-block-start:18px;border:1px solid var(--border);border-radius:10px}.critical-stage-controls{justify-content:space-between;margin-block-start:20px}.critical-notebook pre{white-space:pre-wrap;font-family:inherit}@keyframes critical-appear{0%{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:900px){.critical-workspace,.critical-ending-comparison{grid-template-columns:minmax(0,1fr)}.critical-task{padding:12px}.critical-lenses button{flex-basis:140px}}@media(prefers-reduced-motion:reduce){.critical-scene-enter,.critical-reveal{animation:none}}@media(max-width:600px){.critical-lenses button{flex-basis:110px;font-size:.9rem}.case-study-reader{padding:12px}}.project-tools.project-tool-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}.project-tool-group{padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);min-width:0}.project-tool-group>strong{display:block;color:var(--accent-dark);margin-block-end:12px;font-size:.95rem}.project-tool-group>div{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:800px){.project-tools.project-tool-groups{grid-template-columns:minmax(0,1fr)}.project-tool-group{padding:12px}}.student-tasks,.exchange-import{margin-block:20px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--paper)}.student-tasks summary{cursor:pointer;font-size:1.15rem;font-weight:800;color:var(--accent-dark)}.exchange-preview,.exchange-review,.exchange-attempt{border:1px solid var(--border);border-radius:10px;padding:16px;margin-block:16px;background:var(--surface)}.teacher-exchange-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.teacher-exchange-grid>section,.student-tasks,.teacher-exchange{min-width:0}.teacher-exchange,.student-tasks{overflow-wrap:anywhere}.exchange-rating{padding:14px;border:1px solid var(--border);border-radius:10px;margin-block:12px}.exchange-preview .secondary{margin-inline:8px}.teacher-exchange .field,.student-tasks .field{margin-block:14px}@media(max-width:800px){.teacher-exchange-grid{grid-template-columns:minmax(0,1fr)}.student-tasks,.exchange-import{padding:12px}}
