:root{font-family:SF Pro Text,SF Pro Display,-apple-system,BlinkMacSystemFont,Hiragino Sans,Yu Gothic UI,Noto Sans JP,Segoe UI,sans-serif;color:#1c2421;background:#f3f5f3;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #1c2421;--muted: #68716d;--soft: #8a928e;--line: #dde2df;--line-strong: #cbd2ce;--surface: #ffffff;--surface-soft: #f7f9f7;--chrome: rgba(248, 250, 248, .88);--accent: #167456;--accent-deep: #0c5a40;--accent-soft: #e4f2ec;--warm: #f4efe4;--warning: #b56720;--danger: #bd3f38;--shadow: 0 14px 40px rgba(28, 45, 37, .08);--shadow-soft: 0 5px 18px rgba(28, 45, 37, .06);--radius: 20px}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:#f3f5f3}body{margin:0;min-width:320px;min-height:100vh;color:var(--ink);background:#f3f5f3}button,input,textarea,select{font:inherit}button{color:inherit}button,summary,select{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid rgba(22,116,86,.24);outline-offset:2px}.app-shell{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr)}.sidebar{position:sticky;top:0;z-index:20;height:100vh;padding:24px 16px 18px;display:flex;flex-direction:column;border-right:1px solid rgba(205,213,209,.82);background:var(--chrome);backdrop-filter:saturate(140%) blur(18px);-webkit-backdrop-filter:saturate(140%) blur(18px)}.brand{min-height:56px;padding:6px 8px;display:flex;align-items:center;gap:12px;border:0;border-radius:14px;background:transparent;text-align:left;cursor:pointer}.brand:hover{background:#ffffffb8}.brand>span:last-child{min-width:0;display:grid;gap:2px}.brand strong{font-size:15px;letter-spacing:-.02em}.brand small{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.brand-mark{width:34px;height:34px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:3px;border-radius:11px;background:var(--accent);box-shadow:0 5px 13px #16745633}.brand-mark i{width:4px;border-radius:99px;background:#fff}.brand-mark i:nth-child(1),.brand-mark i:nth-child(3){height:8px;opacity:.78}.brand-mark i:nth-child(2){height:15px}.brand-mark.large{width:62px;height:62px;border-radius:19px}.brand-mark.large i{width:6px}.brand-mark.large i:nth-child(1),.brand-mark.large i:nth-child(3){height:14px}.brand-mark.large i:nth-child(2){height:27px}.side-nav{margin-top:28px;display:grid;gap:5px}.side-nav button{min-height:46px;padding:0 13px;display:flex;align-items:center;gap:12px;border:0;border-radius:13px;color:#56605b;background:transparent;font-size:14px;font-weight:700;text-align:left;cursor:pointer}.side-nav button:hover{background:#ffffffbd}.side-nav button.active{color:var(--accent-deep);background:#fff;box-shadow:var(--shadow-soft)}.nav-icon{width:18px;height:18px;position:relative;display:inline-block;border:1.8px solid currentColor;border-radius:5px;opacity:.86}.nav-icon.calendar:before,.nav-icon.library:before,.nav-icon.chart:before,.nav-icon.people:before{content:"";position:absolute}.nav-icon.calendar:before{left:2px;right:2px;top:4px;border-top:1.8px solid currentColor}.nav-icon.library:before{left:7px;top:0;bottom:0;border-left:1.8px solid currentColor}.nav-icon.people{border:0}.nav-icon.people:before{width:7px;height:7px;left:1px;top:1px;border:1.8px solid currentColor;border-radius:50%;box-shadow:8px 2px 0 -1px #f8faf8,8px 2px 0 0 currentColor}.nav-icon.people:after{content:"";position:absolute;width:16px;height:7px;left:1px;bottom:0;border:1.8px solid currentColor;border-radius:8px 8px 3px 3px}.nav-icon.chart:before{left:3px;right:3px;bottom:3px;height:8px;border-left:3px solid currentColor;border-right:3px solid currentColor;box-shadow:inset 3px 0 0 transparent}.sidebar-foot{margin-top:auto;padding:16px 10px 2px;display:flex;justify-content:space-between;color:var(--soft);font-size:11px;font-weight:700}.workspace{min-width:0}.topbar{position:sticky;top:0;z-index:15;min-height:78px;padding:16px clamp(22px,3vw,46px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(221,226,223,.78);background:#f3f5f3e6;backdrop-filter:saturate(130%) blur(16px);-webkit-backdrop-filter:saturate(130%) blur(16px)}.topbar h1{margin:0;font-size:22px;letter-spacing:-.035em}.mobile-brand{display:none;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.05em}.topbar-actions,.action-row,.teacher-actions{display:flex;align-items:center;gap:9px}.quiet-button,.text-button,.close-text{min-height:44px;padding:0 14px;border:0;border-radius:12px;color:var(--accent-deep);background:transparent;font-size:13px;font-weight:750;cursor:pointer}.quiet-button{border:1px solid var(--line);background:#ffffffd6}.quiet-button:hover,.text-button:hover,.close-text:hover{background:var(--accent-soft)}.live-pill{color:var(--accent-deep)}.live-pill>span,.live-dot{width:7px;height:7px;display:inline-block;margin-right:7px;border-radius:50%;background:#20a576;box-shadow:0 0 0 4px #20a5761f}.page{width:min(100%,1400px);margin:0 auto;padding:34px clamp(22px,3vw,46px) 64px}.primary-button,.secondary-button{min-height:44px;padding:0 18px;border-radius:12px;font-weight:760;cursor:pointer}.primary-button{border:1px solid var(--accent);color:#fff;background:var(--accent);box-shadow:0 6px 16px #16745629}.primary-button:hover{background:var(--accent-deep)}.secondary-button{border:1px solid var(--line-strong);color:#33413b;background:#fff}.secondary-button:hover{border-color:#aebbb5;background:var(--surface-soft)}.primary-button.large{min-height:52px;padding-inline:24px;border-radius:14px}.eyebrow,.card-kicker{color:var(--accent);font-size:11px;font-weight:850;letter-spacing:.11em}.panel,.active-lesson-card,.selected-cando,.form-panel,.lesson-outline,.teacher-panel,.projection-preview,.records-summary{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-soft)}.start-card{min-height:210px;padding:clamp(26px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:28px;border-radius:24px;color:#fff;background:#174f3e;box-shadow:var(--shadow)}.start-card h2{max-width:660px;margin:10px 0 0;font-size:clamp(27px,3vw,42px);line-height:1.18;letter-spacing:-.045em}.start-card .eyebrow{color:#b9e4d2}.start-card .primary-button{border-color:#fff;color:var(--accent-deep);background:#fff;box-shadow:none}.active-lesson-card{padding:clamp(24px,3vw,38px);border-left:5px solid var(--accent)}.active-lesson-card h2{max-width:940px;margin:12px 0 8px;font-size:clamp(23px,2.8vw,36px);line-height:1.34;letter-spacing:-.035em}.active-lesson-card p{margin:0 0 22px;color:var(--muted)}.dashboard-grid{margin-top:22px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr);gap:18px}.dashboard-grid .panel{padding:22px}.section-heading,.builder-heading,.panel-heading,.result-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.section-heading h2,.builder-heading h2,.panel-heading h3{margin:4px 0 0;font-size:20px;letter-spacing:-.03em}.section-heading>span,.result-heading span{color:var(--muted);font-size:12px;font-weight:700}.segmented-control{padding:3px;display:inline-grid;grid-template-columns:repeat(4,minmax(54px,1fr));gap:2px;border-radius:12px;background:#edf1ee}.segmented-control button{min-height:38px;padding:0 10px;border:0;border-radius:9px;color:#64706a;background:transparent;font-size:13px;font-weight:800;cursor:pointer}.segmented-control button small{margin-left:4px;font-size:9px;font-weight:700;opacity:.68}.segmented-control button.active{color:var(--accent-deep);background:#fff;box-shadow:0 2px 8px #192f2617}.quick-plan-row{margin-top:24px;display:grid;grid-template-columns:repeat(2,minmax(100px,1fr)) auto;align-items:end;gap:16px}.quick-plan-row>div,.roster-count{display:flex;align-items:baseline;gap:6px}.quick-plan-row strong,.roster-count strong{font-size:32px;line-height:1;letter-spacing:-.04em}.quick-plan-row span,.roster-count span,.class-snapshot p{color:var(--muted);font-size:12px}.saved-plan{width:100%;min-height:60px;margin-top:18px;padding:10px 14px;display:grid;gap:4px;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft);text-align:left;cursor:pointer}.saved-plan span{color:var(--accent);font-size:10px;font-weight:800}.saved-plan strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.class-snapshot{display:grid;align-content:start}.class-snapshot .roster-count{margin-top:28px}.recent-section{margin-top:34px}.recent-section>.section-heading{margin-bottom:12px}.library-tools{position:sticky;top:78px;z-index:10;padding:14px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;border:1px solid var(--line);border-radius:18px;background:#fffffff0;box-shadow:var(--shadow-soft);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.filter-row{min-width:0;display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,.55fr) 46px;gap:8px}.search-field{min-width:0;position:relative}.search-field>span{width:15px;height:15px;position:absolute;left:15px;top:14px;border:2px solid #7d8983;border-radius:50%}.search-field>span:after{content:"";width:6px;position:absolute;right:-5px;bottom:-3px;border-top:2px solid #7d8983;transform:rotate(45deg)}.search-field input,.filter-row select,.text-field input,.text-field textarea,.teacher-note textarea{width:100%;border:1px solid var(--line-strong);border-radius:11px;color:var(--ink);background:#fff}.search-field input,.filter-row select,.text-field input{min-height:46px}.search-field input{padding:0 14px 0 42px}.filter-row select{min-width:0;padding:0 35px 0 12px}.filter-button,.favorite-button,.row-action{min-width:44px;min-height:44px;border:0;border-radius:11px;color:#9ca39f;background:transparent;cursor:pointer}.filter-button{border:1px solid var(--line-strong);background:#fff}.filter-button.active,.favorite-button.active{color:#bc801d}.result-heading{margin:25px 2px 10px;justify-content:flex-start}.result-heading strong{font-size:14px}.cando-list{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow-soft)}.cando-row{min-height:104px;display:grid;grid-template-columns:46px minmax(0,1fr) 50px;align-items:center;border-bottom:1px solid #e8ece9}.cando-row:last-child{border-bottom:0}.cando-row:hover{background:#fbfcfb}.cando-copy{min-width:0;padding:15px 8px;display:grid;gap:5px;border:0;background:transparent;text-align:left;cursor:pointer}.row-meta,.selected-meta{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;font-style:normal;font-weight:700}.row-meta b,.selected-meta span{padding:3px 6px;border-radius:6px;color:var(--accent-deep);background:var(--accent-soft);font-size:10px}.row-meta i,.selected-meta i{overflow:hidden;max-width:300px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.cando-copy>strong{font-size:15px;line-height:1.52}.cando-copy>small{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.row-action{color:var(--accent);font-size:21px}.builder-heading{margin-bottom:22px}.builder-heading h2{font-size:25px}.builder-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:22px}.builder-main{min-width:0;display:grid;gap:18px}.selected-cando{padding:clamp(22px,3vw,34px)}.selected-cando h2{margin:13px 0 22px;font-size:clamp(22px,2.6vw,32px);line-height:1.4;letter-spacing:-.035em}.selected-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.selected-title-row h2{flex:1}.language-switch{flex:0 0 auto;padding:3px;display:inline-grid;grid-auto-flow:column;gap:3px;border:1px solid var(--line);border-radius:12px;background:#f1f4f2}.language-switch button{min-width:48px;min-height:44px;padding:0 11px;border:0;border-radius:9px;color:var(--muted);background:transparent;font-size:12px;font-weight:820;cursor:pointer}.language-switch button:hover{color:var(--ink)}.language-switch button.active{color:var(--accent-deep);background:#fff;box-shadow:0 1px 5px #1432271f}.friendly-scene{margin:-6px 0 16px;color:var(--muted);font-size:14px;line-height:1.7}.translated-scene,.projection-translation{padding:12px 15px;display:grid;gap:4px;border-left:3px solid var(--accent);border-radius:0 11px 11px 0;background:var(--accent-soft)}.translated-scene{margin:0 0 16px}.translated-scene strong,.projection-translation strong{color:var(--accent-deep);font-size:14px}.translated-scene span,.projection-translation span{color:var(--muted);font-size:13px;line-height:1.55}.source-cando{margin-top:17px;padding-top:14px;border-top:1px solid var(--line)}.source-cando summary{width:max-content;min-height:44px;display:flex;align-items:center;color:var(--muted);font-size:12px;font-weight:800;cursor:pointer}.source-cando p{margin:4px 0 8px;font-size:13px;line-height:1.65}.source-cando small{display:block;color:var(--muted);line-height:1.55}.selected-cando dl{margin:0;display:grid;gap:9px}.selected-cando dl>div{display:grid;grid-template-columns:54px 1fr;gap:12px}.selected-cando dt{color:var(--muted);font-size:12px;font-weight:800}.selected-cando dd{margin:0;font-size:14px}.form-panel{padding:clamp(22px,3vw,32px);display:grid;gap:26px}.dialogue-editor-panel{gap:16px}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.editor-heading>div{display:flex;align-items:baseline;gap:9px}.editor-heading strong{color:var(--muted);font-size:11px}.dialogue-editor{display:grid;gap:10px}.dialogue-edit-line{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:start;gap:10px}.dialogue-edit-line>span{min-height:58px;padding:9px 10px;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:7px;border-radius:11px;color:var(--accent-deep);background:var(--accent-soft);font-weight:850}.dialogue-edit-line.role-b>span{color:#6a4b1e;background:var(--warm)}.dialogue-edit-line span small{font-size:10px;font-weight:720;line-height:1.3}.dialogue-edit-line textarea{width:100%;min-height:58px;padding:11px 13px;resize:vertical;border:1px solid var(--line-strong);border-radius:11px;color:var(--ink);background:#fff;font:inherit;line-height:1.55}.dialogue-edit-line textarea:focus{outline:3px solid rgba(22,116,86,.12);border-color:var(--accent)}.editor-hint{margin:0;color:var(--muted);font-size:12px}.field-group{display:grid;gap:10px}.field-label,.text-field>span,.teacher-note>span{color:#46514c;font-size:12px;font-weight:800}.option-grid{display:grid;gap:7px}.duration-options,.pair-options{grid-template-columns:repeat(4,1fr)}.pair-mode-options{grid-template-columns:repeat(2,1fr)}.option-grid button{min-height:48px;border:1px solid var(--line-strong);border-radius:11px;background:#fff;font-weight:760;cursor:pointer}.option-grid button small{margin-left:2px;color:var(--muted);font-size:10px}.option-grid button.active{border-color:var(--accent);color:var(--accent-deep);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.text-field,.teacher-note{display:grid;gap:8px}.text-field input,.text-field textarea,.teacher-note textarea{padding:12px 13px;resize:vertical;line-height:1.6}.lesson-outline{position:sticky;top:100px;padding:24px}.lesson-outline h3{margin:6px 0 20px;font-size:21px;letter-spacing:-.03em}.lesson-outline ol{margin:0 0 24px;padding:0;display:grid;list-style:none}.lesson-outline li{min-height:70px;padding:13px 0 13px 24px;position:relative;display:grid;grid-template-columns:1fr auto;gap:4px 12px;border-left:2px solid #d8e5df}.lesson-outline li:before{content:"";width:10px;height:10px;position:absolute;left:-6px;top:19px;border:2px solid var(--accent);border-radius:50%;background:#fff}.lesson-outline li span,.lesson-outline li b{font-size:13px}.lesson-outline li small{grid-column:1 / -1;color:var(--muted);font-size:11px}.lesson-outline .primary-button{width:100%}.lesson-outline>p{margin:12px 0 0;color:var(--muted);font-size:11px;text-align:center}.stage-nav{margin-bottom:20px;padding:5px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;border:1px solid var(--line);border-radius:15px;background:#e9eeeb}.stage-nav button{min-height:46px;border:0;border-radius:11px;color:#67726c;background:transparent;font-size:12px;font-weight:800;cursor:pointer}.stage-nav button span{width:21px;height:21px;margin-right:7px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#78827d;background:#ffffffb3;font-size:10px}.stage-nav button.active{color:var(--accent-deep);background:#fff;box-shadow:var(--shadow-soft)}.stage-nav button.active span{color:#fff;background:var(--accent)}.teach-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);align-items:start;gap:18px}.projection-preview{overflow:hidden}.preview-bar{min-height:44px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:var(--muted);background:#f8faf8;font-size:11px;font-weight:800}.preview-bar button{min-height:34px;border:0;color:var(--accent);background:transparent;font-size:11px;font-weight:800;cursor:pointer}.preview-canvas{min-height:440px;aspect-ratio:16 / 9;padding:clamp(28px,4vw,58px);display:grid;color:#12221c;background:#fff}.teacher-panel{padding:24px}.teacher-panel .panel-heading{margin-bottom:20px}.teacher-panel>.primary-button{width:100%;margin-top:18px}.teacher-checklist{margin:0;padding:0;display:grid;gap:8px;list-style:none;counter-reset:checklist}.teacher-checklist li{min-height:46px;padding:12px 12px 12px 43px;position:relative;border-radius:11px;background:var(--surface-soft);font-size:13px;line-height:1.45;counter-increment:checklist}.teacher-checklist li:before{content:counter(checklist);width:22px;height:22px;position:absolute;left:12px;top:11px;display:grid;place-items:center;border-radius:50%;color:var(--accent-deep);background:var(--accent-soft);font-size:10px;font-weight:850}.teacher-panel .teacher-note{margin-top:18px}.teacher-panel .teacher-actions{align-items:stretch;flex-direction:column}.teacher-timer{margin-bottom:14px;padding:18px;display:grid;gap:14px;border-radius:14px;background:#f4f7f5;text-align:center}.teacher-timer>div{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.timer-digits{color:#18241f;font-variant-numeric:tabular-nums;font-weight:780;letter-spacing:-.055em}.teacher-timer .timer-digits{font-size:48px;line-height:1}.timer-digits.ending{color:var(--danger)}.classroom-panels{margin-top:18px;display:grid;grid-template-columns:minmax(270px,.7fr) minmax(0,1.3fr);align-items:start;gap:18px}.classroom-panels>.panel{padding:22px}.pair-list{margin-top:16px;display:grid;gap:7px}.pair-list>div{min-height:43px;padding:7px 10px;display:grid;grid-template-columns:26px 1fr 18px 1fr;align-items:center;gap:6px;border-radius:10px;background:var(--surface-soft);font-size:12px}.pair-list>div>span{width:23px;height:23px;display:grid;place-items:center;border-radius:7px;color:var(--accent-deep);background:var(--accent-soft);font-size:10px;font-weight:800}.pair-list i{color:#a1aaa5;font-style:normal;text-align:center}.summary-counts,.records-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.summary-counts>div,.records-summary>div{padding:12px 8px;display:grid;justify-items:center;gap:2px;border-radius:11px;background:var(--surface-soft)}.summary-counts strong,.records-summary strong{font-size:21px}.summary-counts span,.records-summary span{color:var(--muted);font-size:10px;font-weight:750}.observation-panel .section-heading{align-items:flex-start}.observation-panel .summary-counts{min-width:210px}.observation-grid{margin-top:16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:8px}.observation-card{min-height:58px;padding:7px 8px 7px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--line);border-radius:11px;background:#fff}.observation-card.status-achieved{border-color:#a9d8c5;background:#f1faf6}.observation-card.status-support{border-color:#e0c6a8;background:#fff9f1}.observation-card strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.observation-card>div{display:flex;gap:4px}.observation-card button{width:38px;min-height:38px;border:1px solid var(--line);border-radius:9px;background:#fff;font-weight:850;cursor:pointer}.observation-card button:first-child.active{border-color:var(--warning);color:#fff;background:var(--warning)}.observation-card button:last-child.active{border-color:var(--accent);color:#fff;background:var(--accent)}.projection-stage{width:100%;min-height:100%;display:grid;align-content:center}.projection-kicker{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:clamp(11px,1.1vw,17px);font-weight:800}.projection-kicker span{padding:5px 9px;border-radius:8px;color:var(--accent-deep);background:var(--accent-soft)}.projection-stage>h1,.pair-head h1{margin:17px 0 26px;font-size:clamp(27px,3.8vw,62px);line-height:1.24;letter-spacing:-.045em}.projection-scene{padding:clamp(17px,2vw,26px);display:grid;gap:6px;border-left:4px solid var(--accent);border-radius:0 13px 13px 0;background:#f3f7f4}.projection-scene span{color:var(--accent);font-size:11px;font-weight:850}.projection-scene strong{font-size:clamp(16px,1.8vw,29px);line-height:1.4}.projection-cue{margin:20px 0 0;color:var(--muted);font-size:clamp(14px,1.45vw,23px);font-weight:700}.projection-translation{margin:-8px 0 18px;max-width:920px}.teacher-panel .language-switch{margin-bottom:18px}.model-dialogue{display:grid;gap:10px}.model-line{display:grid;grid-template-columns:35px minmax(0,1fr);align-items:center;gap:12px}.model-line span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#fff;background:var(--accent);font-weight:850}.model-line.role-b span{color:#6a4b1e;background:#ead7b3}.model-line p{margin:0;padding:11px 15px;border-radius:12px;background:#f3f6f4;font-size:clamp(14px,1.45vw,23px);line-height:1.4}.phrase-strip{margin-top:21px;display:flex;flex-wrap:wrap;gap:8px}.phrase-strip span{padding:8px 12px;border:1px solid #cfe1d8;border-radius:9px;color:var(--accent-deep);background:#f2faf6;font-size:clamp(11px,1.1vw,17px);font-weight:720}.pair-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.pair-head h1{margin-bottom:16px}.pair-head .timer-digits{font-size:clamp(44px,6vw,94px);line-height:1}.role-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.role-card{min-height:140px;padding:19px;position:relative;border:1px solid #cfe1d8;border-radius:15px;background:#f3faf7}.role-card.role-b{border-color:#e4d5bc;background:#fcf8ef}.role-card>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;color:#fff;background:var(--accent);font-size:12px;font-weight:850}.role-card.role-b>span{color:#6a4b1e;background:#e7d0a8}.role-card h3{margin:12px 0 5px;font-size:clamp(15px,1.65vw,27px);letter-spacing:-.025em}.role-card p{margin:0;color:var(--muted);font-size:clamp(11px,1vw,16px);line-height:1.4}.turn-flow{margin-top:13px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.turn-flow span{min-height:46px;padding:8px 10px;display:flex;align-items:center;gap:8px;border-radius:11px;background:#f2f5f3;font-size:clamp(10px,.95vw,15px);font-weight:720}.turn-flow b{width:23px;height:23px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;color:#fff;background:#5d6d65;font-size:10px}.projector-criteria{display:grid;gap:12px}.projector-criteria>div{min-height:58px;padding:12px 18px;display:flex;align-items:center;gap:13px;border-radius:13px;background:#f2f6f3}.projector-criteria span{width:27px;height:27px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--accent);font-size:12px}.projector-criteria strong{font-size:clamp(14px,1.5vw,24px)}.mini-counts{margin-top:16px;display:flex;flex-wrap:wrap;gap:7px}.mini-counts span{padding:6px 9px;border-radius:8px;color:var(--muted);background:#eef2ef;font-size:10px;font-weight:760}.class-layout{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(300px,1.1fr);align-items:start;gap:18px}.class-layout>.panel{padding:clamp(22px,3vw,30px)}.roster-editor{display:grid;gap:20px}.roster-editor .primary-button{justify-self:start}.pair-preview-panel .pair-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.records-summary{max-width:560px;margin-bottom:18px;padding:14px}.records-summary>div{padding:18px 10px}.records-summary strong{font-size:28px}.record-list{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow-soft)}.record-row{border-bottom:1px solid #e7ebe8}.record-row:last-child{border-bottom:0}.record-row summary{min-height:66px;padding:12px 18px;display:grid;grid-template-columns:90px 42px minmax(0,1fr) 58px;align-items:center;gap:10px;cursor:pointer;list-style:none}.record-row summary::-webkit-details-marker{display:none}.record-date,.record-level,.record-score{color:var(--muted);font-size:11px;font-weight:750}.record-level{padding:4px 5px;border-radius:6px;color:var(--accent-deep);background:var(--accent-soft);text-align:center}.record-score{color:var(--accent);text-align:right}.record-row summary strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.record-detail{padding:0 18px 18px 160px;color:var(--muted);font-size:12px}.record-detail p{margin:8px 0;line-height:1.6}.record-detail b{margin-right:10px;color:var(--ink)}.empty-state{min-height:200px;padding:28px;display:grid;place-content:center;justify-items:center;gap:7px;border:1px dashed var(--line-strong);border-radius:17px;color:var(--muted);background:#ffffff94;text-align:center}.empty-state strong{color:#46514c;font-size:14px}.empty-state span{font-size:12px}.empty-state.compact{min-height:110px}.mobile-nav{display:none}.projector-shell{width:100vw;min-height:100vh;display:grid;grid-template-rows:64px minmax(0,1fr);color:#14211c;background:#fff}.projector-header{padding:0 22px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;border-bottom:1px solid var(--line);color:var(--muted);background:#f8faf8;font-size:13px;font-weight:700}.projector-brand{display:flex;align-items:center;gap:9px;color:var(--ink);font-weight:800}.projector-header .brand-mark{width:28px;height:28px;border-radius:9px}.projector-header button{min-height:42px;padding:0 14px;justify-self:end;border:1px solid var(--line-strong);border-radius:11px;background:#fff;font-size:12px;font-weight:760;cursor:pointer}.projector-main{min-height:0;padding:clamp(36px,6vw,96px);display:grid}.projector-main .projection-stage>h1,.projector-main .pair-head h1{font-size:clamp(46px,5vw,86px)}.projector-main .projection-scene strong{font-size:clamp(25px,2.8vw,46px)}.projector-main .projection-cue{font-size:clamp(20px,2vw,34px)}.projector-main .model-line p,.projector-main .projector-criteria strong{font-size:clamp(23px,2.4vw,40px)}.projector-main .model-line span{width:48px;height:48px;font-size:17px}.projector-main .role-card{min-height:210px;padding:28px}.projector-main .role-card h3{font-size:clamp(25px,2.8vw,44px)}.projector-main .role-card p{font-size:clamp(17px,1.6vw,27px)}.projector-main .turn-flow span,.projector-main .phrase-strip span{font-size:clamp(16px,1.5vw,25px)}.projector-empty{display:grid;place-content:center;justify-items:center;gap:18px;color:var(--muted);text-align:center}.projector-empty h1{margin:0;font-size:clamp(28px,4vw,60px)}@media(max-width:1120px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.library-tools,.teach-layout,.classroom-panels{grid-template-columns:1fr}.teacher-panel .teacher-actions{flex-direction:row}.teacher-panel .teacher-actions>*{flex:1}}@media(max-width:820px){.app-shell{display:block;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.sidebar{display:none}.topbar{min-height:68px;padding:10px 18px}.topbar h1{font-size:18px}.mobile-brand{display:block}.page{padding:22px 16px 46px}.mobile-nav{position:fixed;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:30;min-height:62px;padding:5px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(205,213,209,.9);border-radius:18px;background:#fcfdfcf0;box-shadow:0 14px 36px #18292229;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.mobile-nav button{min-height:50px;display:grid;place-content:center;gap:4px;border:0;border-radius:13px;color:var(--muted);background:transparent;font-size:10px;font-weight:800}.mobile-nav button span{width:5px;height:5px;margin:0 auto;border-radius:50%;background:transparent}.mobile-nav button.active{color:var(--accent-deep);background:var(--accent-soft)}.mobile-nav button.active span{background:var(--accent)}.start-card{min-height:230px;align-items:flex-start;flex-direction:column}.dashboard-grid,.builder-layout,.class-layout{grid-template-columns:1fr}.lesson-outline{position:static}.library-tools{top:68px}.preview-canvas{min-height:380px;aspect-ratio:auto}}@media(max-width:600px){.topbar-actions .live-pill{display:none}.topbar-actions{gap:5px}.quiet-button{padding-inline:11px}.dashboard-grid .section-heading,.library-tools .segmented-control{align-items:stretch}.quick-plan .section-heading{flex-direction:column}.segmented-control{width:100%}.quick-plan-row{grid-template-columns:repeat(2,1fr)}.quick-plan-row .secondary-button{grid-column:1 / -1}.filter-row{grid-template-columns:minmax(0,1fr) 46px}.filter-row select{grid-column:1 / -1;grid-row:2}.filter-button{grid-column:2;grid-row:1}.cando-row{grid-template-columns:42px minmax(0,1fr) 44px}.row-meta i{display:none}.duration-options,.pair-options{grid-template-columns:repeat(2,1fr)}.selected-title-row{align-items:stretch;flex-direction:column}.selected-title-row h2{margin-bottom:0}.language-switch{align-self:flex-start}.dialogue-edit-line{grid-template-columns:1fr}.dialogue-edit-line>span{min-height:44px;grid-template-columns:20px auto;justify-content:start}.stage-nav button{min-width:0;font-size:10px}.stage-nav button span{display:none}.preview-canvas{min-height:420px;padding:22px}.pair-head{align-items:stretch;flex-direction:column}.pair-head .timer-digits{font-size:54px}.role-grid,.turn-flow{grid-template-columns:1fr}.role-card{min-height:120px}.teacher-panel .teacher-actions,.teacher-timer>div{grid-template-columns:1fr;flex-direction:column}.observation-panel .section-heading{flex-direction:column}.observation-panel .summary-counts{width:100%}.record-row summary{grid-template-columns:68px 38px minmax(0,1fr)}.record-score{display:none}.record-detail{padding:0 14px 16px}.projector-header{grid-template-columns:1fr auto}.projector-header>div:nth-child(2){display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media(prefers-reduced-transparency:reduce){.sidebar,.topbar,.library-tools,.mobile-nav{background:#f8faf8;backdrop-filter:none;-webkit-backdrop-filter:none}}@media print{.sidebar,.topbar,.mobile-nav,.preview-bar,.teacher-panel,.stage-nav{display:none!important}.app-shell,.teach-layout{display:block}.page{padding:0}.projection-preview{border:0;box-shadow:none}}
