/* Dutch teaching surface; the shared course workspace is intentionally untouched. */
html[data-teaching] [data-teaching-retired]{display:none!important}
html[data-teaching] #floating-tools{position:static;inset:auto;transform:none;display:flex;flex-direction:row;justify-content:flex-end;gap:10px;width:auto;height:auto;padding:0 18px 14px;margin:0 auto 80px;max-width:720px}
html[data-teaching] .home-heading{margin-block:12px 20px}
html[data-teaching] .learning-command{min-height:240px;padding:24px 22px}
html[data-teaching] .learning-command .hero-content{position:relative;z-index:1;max-width:74%}
html[data-teaching] .learning-command h2{font-size:clamp(25px,7vw,34px);line-height:1.13;margin:14px 0 10px}
html[data-teaching] .learning-command .command-visual{position:absolute;right:4px;bottom:55px;width:115px;height:135px;opacity:1;transform:rotate(-7deg);color:#fffaf0}
html[data-teaching] .learning-command .command-visual svg{color:#f6dfad;max-width:none;max-height:none}
html[data-teaching] #review-play[hidden]{display:none!important}
html[data-teaching] .learning-command .primary-button{white-space:nowrap}
html[data-teaching] .learning-command .command-visual:before,html[data-teaching] .learning-command .command-visual:after{display:none}
html[data-teaching] .learning-command .primary-button{margin-top:20px}
.teaching-picture{width:100%;height:100%;max-width:128px;max-height:128px;display:block;color:#28594f}
.teaching-next{margin:22px 0;padding:0 4px}
.teaching-next-heading{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:16px}
.teaching-next ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.teaching-next li{display:flex;flex-direction:column;gap:10px;position:relative;font-size:12px;line-height:1.45;min-width:0}
.teaching-next li>span{background:#e4e9dd;border:2px solid #fffaf0;box-shadow:0 0 0 1px #ced9d1;color:#28594f;border-radius:50%;height:33px;width:33px;display:grid;place-items:center;z-index:1}
.teaching-next li[aria-current]>span{background:#28594f;color:#fff}
.teaching-next li:not(:last-child):after{content:'';position:absolute;top:16px;left:34px;right:-13px;border-top:2px solid #d3ddd5}
.teaching-home-links{display:flex;gap:12px;margin:22px 0}
.teaching-home-links button{flex:1;font-size:13px;min-height:48px}
.teaching-path{margin:12px 0 24px}
.teaching-path>label{font-size:13px;font-weight:700;display:block;margin:0 0 8px}
.teaching-path>select{width:100%;background:#fffcf7;border:1px solid #c9d5cc;border-radius:14px;padding:14px 34px 14px 14px;font:inherit;font-size:14px;color:#214d43;min-height:50px}
.teaching-storyboard{list-style:none;display:grid;gap:14px;padding:20px 0 0;margin:0}
html[data-teaching] #page-learn .teaching-storyboard .lesson-row{display:grid;grid-template-columns:68px minmax(0,1fr) 18px;gap:14px;align-items:center;width:100%;min-height:94px;padding:12px;text-align:start;border:1px solid #d8dfd5;border-radius:20px;background:#fffcf7;opacity:1;margin:0;transform:none;box-shadow:none}
html[data-teaching] #page-learn .teaching-storyboard .lesson-row.current{background:#e7efdc;border:2px solid #2b6b5a;box-shadow:0 4px 0 #c8d7bf}
html[data-teaching] #page-learn .teaching-storyboard .lesson-row.locked{background:transparent;color:#67766e}
.teaching-storyboard .lesson-row strong{display:block;font-size:15px;line-height:1.4;font-weight:700}
.teaching-storyboard .lesson-row small{display:block;font-size:11px;margin-bottom:4px}
.teaching-node{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#f0e6d3;font-size:27px;color:#28594f}
.teaching-node .teaching-picture{width:58px;height:58px}
.teaching-pages{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:22px;font-size:12px}
.teaching-pages button{min-height:46px}
.teaching-pages>button{width:auto;flex:0 1 38%;padding-inline:12px;white-space:nowrap}.teaching-pages>span{flex-shrink:0;white-space:nowrap}
html[data-teaching] #page-learn .page-heading h1{font-size:28px;line-height:1.15}
html[data-teaching] #personal-plan #home-mission{display:none}
html[data-teaching] #personal-plan-official:has(strong:only-child){display:none}
.teaching-cafe{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;background:#f2e6ce;border:1px solid #dfd7c5;border-radius:24px;padding:20px;margin-bottom:24px;color:#28594f}
.teaching-cafe h2{font-size:24px;line-height:1.2;margin:8px 0 16px}.teaching-cafe small{font-size:13px}.teaching-cafe .primary-button{padding:12px;font-size:13px;min-height:48px}
html[data-teaching] .world-intro-banner{display:none}
html[data-teaching] .world-topic-shortcuts{display:none}
html[data-teaching] .world-topic-cover small{display:none}
html[data-teaching] .teaching-interests>summary{display:none}
html[data-teaching] .teaching-interest-link{margin:16px 0;min-height:48px;width:100%}
@media(max-width:350px){.teaching-cafe{grid-template-columns:70px minmax(0,1fr);gap:10px;padding:15px}.teaching-cafe h2{font-size:21px}}
html[data-teaching] .teaching-tools{margin:30px 0;border:0;background:none;padding:0}
html[data-teaching] .teaching-tools>summary{display:none}
html[data-teaching] .teaching-tools :is(.chapter-tabs,.route-collections,.vocabulary-goal,#chapter-banner){display:none}
html[data-teaching] .skill-drill-lab{background:#fffaf2;padding:18px;border:1px solid #dedfd4;border-radius:20px}
html[data-teaching] .skill-drill-lab header small{display:none}
html[data-teaching] .teaching-plan-choices>summary{display:none}
html[data-teaching] .teaching-plan-choices>div{padding:0}
html[data-teaching] #personal-plan{margin:20px 0}
html[data-teaching] #personal-plan .personal-plan-signals{margin:18px 0}
html[data-teaching] .lesson-fixed-header{padding:12px 16px 6px;background:#faf8f2;border-bottom:1px solid #e4e6df}
html[data-teaching] .lesson-topbar{gap:12px}
html[data-teaching] .heart-counter{display:none}
html[data-teaching] .lesson-voice-controls{display:flex;justify-content:flex-end;gap:8px;padding:7px 0;margin:0}
html[data-teaching] [data-lesson-rate]{display:none}
html[data-teaching] #teaching-speed{border:1px solid #d3dbd3;border-radius:12px;padding:8px 30px 8px 10px;background:#fffaf5;color:#28594f;font:inherit;font-size:12px;min-height:40px;width:auto;max-width:160px}
html[data-teaching] #lesson-stage{padding:22px 18px 30px;scroll-padding-block:20px}
html[data-teaching] #lesson-stage h2{font:700 clamp(23px,6vw,29px)/1.25 var(--font-body,Arial,sans-serif);margin:6px 0 22px;text-wrap:balance}
html[data-teaching] #lesson-stage :is(.lesson-label,.story-beat,.practice-task-progress){display:none}
html[data-teaching] #lesson-stage>.localized-instruction:has(+.answer-grid),html[data-teaching] #lesson-stage .practice-journey{display:none}
html[data-teaching] .lesson-footer{padding:12px 18px max(14px,env(safe-area-inset-bottom));background:#faf8f2;border-top:1px solid #e0e5dc}
html[data-teaching] .lesson-floating-tools{position:static;justify-content:flex-end;min-height:0;margin:3px 0 0}
html[data-teaching] .lesson-floating-tools .floating-tool{display:none}
html[data-teaching] .lesson-issue-trigger{height:28px;width:28px;min-height:28px;opacity:.65}
html[data-teaching] .lesson-check{min-height:54px;font-size:16px;border-radius:16px;box-shadow:0 4px 0 #143f36}
.teaching-objects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch;margin:24px 0}
.teaching-objects:has(>:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.teaching-object{display:flex;flex-direction:column;align-items:center;gap:9px;padding:16px 8px;background:#fffaf2;border:2px solid #d5dfd1;border-radius:22px;color:#28594f;min-width:0;box-shadow:0 4px 0 #e2e8dc}
.teaching-object:active{transform:translateY(3px);box-shadow:none}
.teaching-object strong{font-size:clamp(24px,7vw,33px);font-weight:750}
.teaching-object small{font-size:14px;line-height:1.4;color:#566a61;overflow-wrap:anywhere}
.teaching-object .teaching-hear{font-size:11px;line-height:1.3;margin-top:auto;padding-top:6px}
.teaching-object .teaching-picture{height:116px;flex-shrink:0}
.teaching-task-scene{height:116px;display:flex;justify-content:center;margin:0 auto 16px}
html[data-teaching] .answer-option:has(.teaching-picture){display:grid;grid-template-columns:55px auto;gap:12px;min-height:84px;text-align:start}
html[data-teaching] .answer-option .teaching-picture{height:55px;width:55px}
html[data-teaching] .answer-option:has(.teaching-picture) .option-letter{display:none}
html[data-teaching] .speak-card{padding:15px;margin-bottom:20px;min-height:0}
html[data-teaching] .speak-card>p{display:none}
html[data-teaching] .feedback-panel.show{max-height:min(42dvh,320px);overflow:auto;overscroll-behavior:contain;padding:14px;border-radius:15px;margin-bottom:12px}
html[data-teaching] .feedback-panel>p{display:none}
html[data-teaching] .feedback-panel [data-learning-receipt]{display:none}
html[data-teaching] .teaching-feedback .feedback-model{margin:10px 0;font-size:22px;line-height:1.4}
html[data-teaching] .teaching-feedback>p:not(.feedback-model){font-size:13px;line-height:1.45;margin:8px 0}
.teaching-order-board{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:36px 0 30px}
.teaching-tile{display:grid;gap:8px;background:#fffaf2;border:2px solid #d5dfd1;border-radius:15px;padding:13px 10px;min-width:50px;color:#28594f}
.teaching-tile small{font-size:11px;opacity:.7}.teaching-tile b{font-size:21px}.teaching-tile.finite{border-bottom:5px solid #2b6b5a}.teaching-tile.verb-piece b{text-decoration:underline;text-underline-offset:6px}
.teaching-order>button{margin:8px;min-height:46px}
.teaching-finish{text-align:center;padding:10px 0}.teaching-finish-mark{display:grid;place-items:center;font-size:48px;width:92px;height:92px;background:#dce8c5;border:2px solid #b8cda0;border-radius:30px;margin:0 auto 20px;color:#28594f}.teaching-finish>small{display:block;font-size:13px;margin:0 0 10px}
.teaching-keeps{display:grid;gap:10px;margin:24px 0}.teaching-keeps>div{display:flex;gap:10px;align-items:center}.teaching-keeps>div>button:first-child{display:flex;justify-content:space-between;gap:15px;flex:1;background:#fffaf2;border:1px solid #d5dfd1;padding:15px;border-radius:14px;font-size:18px;color:#28594f;text-align:start}.teaching-result-evidence{font-size:13px;color:#5d7167}
.teaching-chat-replies{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.teaching-chat-replies button{font-size:14px;text-align:start;min-height:48px}
html[data-teaching] .scenario-row{display:flex;overflow:auto;gap:8px;padding:12px 0;scrollbar-width:thin}
html[data-teaching] .coach-feedback{margin-top:12px;padding:10px;border-inline-start:3px solid #c5d4b4;font-size:13px}

@media(max-width:350px){.teaching-objects:has(>:nth-child(3)){grid-template-columns:1fr}.teaching-objects:has(>:nth-child(3)) .teaching-object{display:grid;grid-template-columns:65px 1fr;gap:5px 12px;text-align:start}.teaching-objects:has(>:nth-child(3)) .teaching-picture{grid-row:1/4;height:65px}.teaching-objects:has(>:nth-child(3)) .teaching-object strong{font-size:24px}html[data-teaching] .learning-command .command-visual{width:85px;right:0}.teaching-next ol{gap:9px}}
@media(prefers-reduced-motion:reduce){html[data-teaching] *{scroll-behavior:auto}}

/* Visual refinement: one rhythm, real places, and a readable first viewport. */
.teaching-scene-art{display:block;width:100%;height:100%;max-width:100%;overflow:visible}
html[data-teaching] .bottom-nav .nav-item{min-width:0;min-inline-size:0;padding-inline:3px}
html[data-teaching] #floating-tools{justify-content:center;gap:12px;padding-block:0 12px}
html[data-teaching] #floating-tools .floating-tool{display:flex;gap:9px;width:auto;height:auto;min-height:46px;padding:10px 14px;max-width:50%;border:1px solid #d0dcd0;border-radius:14px;background:#fffcf7;color:#28594f;box-shadow:none}
html[data-teaching] #floating-tools .floating-tool svg{width:19px;height:19px;flex-shrink:0}
.teaching-tool-label{font-size:12px;font-weight:650;line-height:1.35}
html[data-teaching] .home-heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;margin:14px 0 20px;text-align:start}
html[data-teaching] .home-heading h1{font-size:clamp(22px,6vw,28px);line-height:1.2;letter-spacing:-.5px}
html[data-teaching] .home-heading .context-guide-button{position:static;margin:0;font-size:11px;min-height:40px;padding:9px}
html[data-teaching] .home-heading>div{grid-column:1;grid-row:1;min-width:0}
html[data-teaching] .home-heading>.context-guide-button{grid-column:2;grid-row:1;justify-self:end}
html[data-teaching] .home-heading .avatar-button{position:relative;grid-column:3;grid-row:1;width:44px;height:44px;min-width:44px;min-height:44px;margin:0}
html[data-teaching] .home-heading .avatar-button i{width:17px;height:17px;right:-3px;bottom:-3px;font-size:9px}
html[data-teaching] :is(#top-avatar-visual,#profile-avatar-visual):empty::before{content:'';display:block;width:100%;height:100%;background:radial-gradient(circle at 50% 35%,#28594f 0 15%,transparent 16%),radial-gradient(ellipse at 50% 90%,#28594f 0 31%,transparent 32%);opacity:.7}
html[data-teaching] .learning-command{display:block;padding:24px;min-height:280px;overflow:clip;border:1px solid #326c5f;box-shadow:0 12px 28px #244e431a;background:linear-gradient(135deg,#164b41,#28695b)}
html[data-teaching] .learning-command .hero-content{max-width:none}
html[data-teaching] .learning-command h2{max-width:62%;font-size:clamp(26px,6.9vw,34px);margin:18px 0 10px;text-wrap:balance}
html[data-teaching] .learning-command .hero-content>p{max-width:57%;font-size:13px;line-height:1.5}
html[data-teaching] .learning-command .command-visual{inset:auto -20px 66px auto;width:50%;height:150px;transform:none;background:none;border:0;border-radius:0;box-shadow:none;pointer-events:none;opacity:1}
html[data-teaching] .learning-command .command-visual svg{width:100%;height:100%;color:inherit}
html[data-teaching] .learning-command .primary-button{display:flex;width:100%;justify-content:space-between;margin-top:24px;border-radius:15px;background:#edf2d5;color:#204f43;box-shadow:0 4px 0 #a9c1a0;min-height:54px}
html[data-teaching] .learning-command .primary-button .button-arrow{background:#28594f;color:#fff}
html[data-teaching] .learning-command .soft-badge{background:#ffffff12;border:1px solid #ffffff30;font-size:10px;letter-spacing:.6px}
html[data-teaching] .teaching-home-links{gap:12px;margin:20px 0 12px}
html[data-teaching] .teaching-home-links>button{background:transparent;border:1px solid #b7c9bd;border-radius:14px;box-shadow:none}
.teaching-unit-progress{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:11px;color:#536b60;margin:14px 3px 0}
.teaching-unit-progress progress{grid-column:1/-1;width:100%;height:7px;border:0;border-radius:6px;overflow:hidden;appearance:none;background:#dfe6db}
.teaching-unit-progress progress::-webkit-progress-bar{background:#dfe6db;border-radius:6px}
.teaching-unit-progress progress::-webkit-progress-value{background:#397764;border-radius:6px}
.teaching-unit-progress progress::-moz-progress-bar{background:#397764;border-radius:6px}
.teaching-storyboard>li{position:relative}
.teaching-storyboard>li:not(:last-child)::after{content:'';position:absolute;inset-inline-start:44px;top:100%;height:14px;border-inline-start:3px solid #cbd8ca}
html[data-teaching] #page-learn .teaching-storyboard .lesson-row.current{background:#edf2dc;border:2px solid #397764;box-shadow:0 4px 0 #bed0b6}
html[data-teaching] #page-learn .teaching-storyboard .lesson-row.completed{background:#f1f5eb}
html[data-teaching] .teaching-node{background:#eee7d7;border-radius:50%}
html[data-teaching] .teaching-cafe{display:block;padding:0;overflow:hidden;background:#fffaf0;box-shadow:none}
.teaching-place-art{height:170px;background:#e8eedf;padding:0 16px}
.teaching-cafe>section{padding:18px 22px 22px}
html[data-teaching] .teaching-cafe h2{font-size:25px;margin:7px 0 16px}
html[data-teaching] .teaching-cafe .primary-button{width:100%;justify-content:center;border-radius:14px}
html[data-teaching] .teaching-cafe small{color:#5b7465;font-weight:650}
html[data-teaching] .world-topic-cover{min-height:100px}
html[data-teaching] .world-topic-cover h2{font-size:25px;line-height:1.15}
html[data-teaching] .world-topic-selector{padding-block:18px}
html[data-teaching] .teaching-interest-link{border:1px solid #bdcdbf;background:transparent;box-shadow:none;border-radius:14px}

/* Explicit rows prevent the first conversation from shrinking its composer. */
html[data-teaching] #page-coach.active{display:grid;grid-template-rows:auto minmax(100px,1fr) auto auto;height:100%;min-height:0;gap:8px;padding:8px 0 12px;overflow:auto}
html[data-teaching] #page-coach.teaching-chat-start{grid-template-rows:auto auto auto auto minmax(66px,1fr)}
html[data-teaching] .coach-compact{display:flex;flex-direction:column;gap:8px;margin:0 12px;padding:14px;border-radius:20px;box-shadow:none;background:#fffcf7;min-width:0}
html[data-teaching] .coach-compact .coach-header{grid-template-columns:38px minmax(0,1fr) auto;gap:9px;padding:0}
html[data-teaching] .coach-compact .coach-header h1{font-size:23px;line-height:1.2}
html[data-teaching] .coach-compact .coach-header p:last-child{font-size:11px;margin-top:4px}
html[data-teaching] .coach-header-actions{display:flex;gap:4px;align-items:center}
html[data-teaching] .coach-header-actions .context-guide-button{position:static;min-height:36px;margin:0;padding:7px;font-size:10px}
html[data-teaching] .coach-header>.context-guide-button{position:static;min-height:40px;margin:0;padding:8px;font-size:10px}
html[data-teaching] .coach-compact .scenario-row{display:flex;flex-wrap:nowrap;width:100%;gap:7px;margin:0;padding:2px 0 5px;overflow-x:auto;min-height:44px}
html[data-teaching] .coach-compact .scenario-chip{flex:0 0 auto;min-height:40px;padding:9px 12px;border-radius:12px;font-size:11px;white-space:nowrap;line-height:1.3}
html[data-teaching] .coach-compact .journey-disclosure{margin:0;min-width:0;background:transparent;border:0;box-shadow:none}
html[data-teaching] .coach-compact .journey-disclosure>summary{padding:5px 2px;font-size:12px;min-height:30px}
.teaching-chat-scene{height:86px;margin:0 auto;width:180px;max-width:100%}
.teaching-chat-scene[hidden]{display:none}
html[data-teaching] #chat-window{padding:8px 17px;height:auto;min-height:120px;max-height:none;gap:12px;align-self:stretch;overflow:auto}
html[data-teaching] .teaching-chat-start #chat-window::before{display:none}
html[data-teaching] #chat-window .message{max-width:94%}
html[data-teaching] #chat-window .message-bubble{padding:14px 15px;border-color:#d3dfd4;background:#fffdf7;box-shadow:none}
html[data-teaching] #chat-window .message.user .message-bubble{background:#28594f;color:#fff}
html[data-teaching] #chat-window .message-bubble>p:first-of-type{font-size:17px;line-height:1.5}
html[data-teaching] #chat-window .message-bubble .translation{font-size:12px;line-height:1.4}
html[data-teaching] #chat-window .bubble-actions button{min-height:38px;font-size:11px;padding:8px 10px}
html[data-teaching] #teaching-chat-replies{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 12px}
html[data-teaching] #teaching-chat-replies[hidden]{display:none}
html[data-teaching] #teaching-chat-replies button{width:100%;border:1px solid #b5c9bb;background:#edf2e5;border-radius:14px;font-size:13px;padding:12px;min-height:52px;box-shadow:none;line-height:1.4}
html[data-teaching] #chat-form{min-height:66px;flex-shrink:0;box-shadow:0 5px 16px #244e4310;border-radius:19px;grid-template-columns:42px minmax(0,1fr) 42px;align-self:end}
html[data-teaching] #chat-input{font-size:16px;height:52px;min-height:52px;padding:4px 6px;box-sizing:border-box;line-height:1.35}

.teaching-step-count{font-size:11px;white-space:nowrap;color:#52685d;font-variant-numeric:tabular-nums;direction:ltr}
html[data-teaching] .teaching-object{background:#fffdf6;border-color:#d1ddcd;box-shadow:0 5px 0 #e1e7da;transition:transform 120ms ease,border-color 120ms ease}
html[data-teaching] .teaching-object .teaching-picture{padding:10px;border-radius:50%;background:#eef1e3;box-sizing:border-box;margin:4px 0 8px}
html[data-teaching] .teaching-object:focus-visible{outline:3px solid #397764;outline-offset:4px}
html[data-teaching] .answer-option{border-radius:17px;transition:border-color 120ms ease,background 120ms ease;min-height:56px}
html[data-teaching] .answer-option.selected{border-color:#397764;background:#edf2dc;box-shadow:0 3px 0 #b8cbb0;outline:2px solid #397764;outline-offset:0}
html[data-teaching] .teaching-task-scene:has(.teaching-scene-art){height:138px;max-width:320px;width:100%}
.teaching-finish-art{display:block;height:156px;max-width:250px;margin:0 auto 10px}
html[data-teaching] .teaching-finish h2{margin-bottom:18px}
html[data-teaching] #page-profile .profile-header{padding-block:12px}
html[data-teaching] :is(button,a,select,textarea):focus-visible{outline:3px solid #397764;outline-offset:3px}
@media(hover:hover){html[data-teaching] .teaching-object:hover{border-color:#397764;transform:translateY(-2px)}html[data-teaching] .teaching-storyboard .lesson-row:not(.locked):hover{border-color:#397764}}
@media(min-width:600px){html[data-teaching] .learning-command .command-visual{height:185px;bottom:50px}html[data-teaching] .learning-command h2{font-size:34px}.teaching-place-art{height:210px}}
@media(max-width:350px){html[data-teaching] .home-heading{grid-template-columns:minmax(0,1fr) auto}html[data-teaching] .home-heading .avatar-button{display:none}html[data-teaching] .learning-command{padding:20px;min-height:270px}html[data-teaching] .learning-command h2{max-width:65%;font-size:25px}html[data-teaching] .learning-command .command-visual{right:-24px;width:49%;bottom:69px}.teaching-place-art{height:145px}html[data-teaching] .coach-compact{padding:11px}html[data-teaching] .coach-compact .coach-header h1{font-size:20px}html[data-teaching] .coach-header-actions .context-guide-button{font-size:9px}html[data-teaching] #teaching-chat-replies{grid-template-columns:1fr}html[data-teaching] #page-coach.teaching-chat-start{grid-template-rows:auto minmax(120px,1fr) auto auto}.teaching-chat-scene{display:none}}
@media(max-height:680px){html[data-teaching] #page-coach.teaching-chat-start{grid-template-rows:auto minmax(120px,1fr) auto auto}.teaching-chat-scene{display:none}}
html[data-teaching][data-page=coach]:is(.keyboard-open,.text-entry-active) #page-coach.active{grid-template-rows:minmax(100px,1fr) auto auto;overflow:auto}
html[data-teaching][data-page=coach]:is(.keyboard-open,.text-entry-active) .teaching-chat-scene{display:none}
@media(prefers-reduced-motion:reduce){html[data-teaching] .teaching-object,html[data-teaching] .answer-option{transition:none}html[data-teaching] .teaching-object:hover{transform:none}}
html[data-teaching].calm-mode :is(.teaching-object,.answer-option){transition:none}

/* Conversation examples are readable turns, with meaning beside the speaker. */
.conversation-model .teaching-objects{display:grid;grid-template-columns:1fr;gap:12px;max-width:560px;margin-inline:auto}
.conversation-model .teaching-object{display:grid;grid-template-columns:64px minmax(0,1fr);gap:5px 14px;text-align:start;padding:16px;align-items:center}
.conversation-model .teaching-picture{grid-row:1 / 4;width:64px;height:74px;margin:0}
.conversation-model .teaching-object strong{font-size:clamp(20px,4.8vw,27px);line-height:1.3;overflow-wrap:anywhere}
.conversation-model .teaching-object small{font-size:15px;line-height:1.4}
.conversation-model .teaching-object>:is(strong,small,.teaching-hear){grid-column:2;min-width:0}
.conversation-model .teaching-object:not(:has(.teaching-picture))>:is(strong,small,.teaching-hear){grid-column:1 / -1}
.conversation-model .practice-one-rule{font-size:16px;line-height:1.5;margin:0 0 18px;text-align:start}
.conversation-model .teaching-hear{font-size:12px;margin:0}
.conversation-role-card{display:flex;align-items:center;gap:12px;margin:14px auto;padding:12px 16px;max-width:480px;border:1px solid #b8cbb7;border-radius:18px;background:#edf1e5}
.conversation-role-card .teaching-picture{width:54px;height:62px;margin:0}
.conversation-role-card small,.conversation-chat-card small{display:block;color:var(--muted);line-height:1.4}
.conversation-role-card strong{display:block;font-size:23px;margin-top:5px}
.conversation-cue{display:grid;justify-items:start;gap:7px;max-width:480px;margin:14px auto;padding:14px 18px;border-radius:4px 20px 20px 20px;background:#fffaf0;border:1px solid #cddbd2}
.conversation-cue>small{color:var(--muted)}
.conversation-cue p{margin:0;font-size:15px;line-height:1.4}
.conversation-chat-card{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;background:#edf1e5}
.conversation-chat-card[hidden]{display:none}
.errand-order-card{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:480px;margin:14px auto;padding:12px 16px;border:1px solid #b8cbb7;border-radius:18px;background:#edf1e5}
.errand-order-card small{display:block;color:var(--muted);font-size:13px}
.errand-order-card strong{display:flex;align-items:center;gap:8px;font-size:22px}
.errand-order-card .teaching-picture{width:52px;height:52px;margin:0}
.errand-order-card>span{max-width:60%;font-size:15px;line-height:1.4}
.conversation-chat-card .errand-order-card{width:100%;margin:0;padding:0;border:0;border-radius:0}
.conversation-chat-card .errand-order-card small{max-width:none}
.conversation-chat-card .errand-order-card .teaching-picture{width:32px;height:32px}
.conversation-chat-card .errand-order-card>span{font-size:13px}
.errands-world-actions{display:flex;gap:8px;flex-wrap:wrap}
.conversation-chat-card small{font-size:12px;max-width:55%}
.conversation-chat-card strong{font-size:14px;white-space:nowrap}
@media(max-width:350px){.conversation-model .teaching-object{grid-template-columns:44px minmax(0,1fr);padding:12px;gap:5px 10px}.conversation-model .teaching-picture{width:44px;height:58px}}

/* Meaning, sound and spelling stay together in one readable model. */
html[data-teaching] .has-word-picture{min-width:0}
html[data-teaching] .has-word-picture>.teaching-picture{width:72px;height:72px;flex:0 0 72px;padding:8px;box-sizing:border-box;border-radius:16px;background:#edf2e6;margin:0}
html[data-teaching] .practice-phrase-pair .has-word-picture{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:14px;text-align:start}
html[data-teaching] .practice-phrase-pair .has-word-picture>span[aria-hidden]{display:none}
html[data-teaching] .practice-phrase-pair .has-word-picture strong{font-size:20px;line-height:1.35;overflow-wrap:break-word}
html[data-teaching] .practice-phrase-pair .has-word-picture small{font-size:15px;line-height:1.45}
html[data-teaching] .grammar-example.has-word-picture{display:grid;grid-template-columns:64px minmax(0,1fr) 24px;gap:4px 12px;text-align:start}
html[data-teaching] .grammar-example.has-word-picture>.teaching-picture{grid-row:1 / 3;width:64px;height:64px}
html[data-teaching] .grammar-example.has-word-picture>.support-meaning{grid-column:2}
html[data-teaching] .grammar-example.has-word-picture>span[lang=nl]{grid-column:2;grid-row:1;min-width:0}
html[data-teaching] .grammar-example.has-word-picture>i{grid-column:3;grid-row:1 / 3}
html[data-teaching] .vocab-row.has-word-picture{display:grid;grid-template-columns:60px minmax(0,1fr);gap:10px 14px;padding:16px 0}
html[data-teaching] .vocab-row.has-word-picture>.teaching-picture{width:60px;height:60px}
html[data-teaching] .vocab-row.has-word-picture>.vocab-actions{grid-column:2;justify-content:flex-start;flex-wrap:wrap}
html[data-teaching] .vocab-row strong{font-size:20px;line-height:1.4}
html[data-teaching] .feedback-answer-pair{display:flex;align-items:center;gap:14px;min-width:0;margin-bottom:10px}
html[data-teaching] .feedback-answer-pair>.teaching-picture{width:64px;height:64px;flex:0 0 64px;border-radius:14px;padding:6px;background:#ffffff90;box-sizing:border-box;margin:0}
html[data-teaching] .feedback-answer-pair>.feedback-model{min-width:0;margin:0;font-size:22px;line-height:1.4;overflow-wrap:break-word}
html[data-teaching] .world-activities .teaching-cafe{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:12px;margin:0 0 12px;padding:16px;border:1px solid #c9d7cc;border-radius:20px;background:#fffdf7}
html[data-teaching] .world-activities .teaching-place-art{width:88px;height:98px;margin:0;align-self:center}
html[data-teaching] .world-activities .teaching-place-art>.teaching-picture{display:block;width:88px;height:98px;margin:0;padding:8px;box-sizing:border-box;background:#edf2e6;border-radius:18px}
html[data-teaching] .world-activities .teaching-cafe section{padding:0;min-width:0}
html[data-teaching] .world-activities .teaching-cafe h2{font-size:21px;line-height:1.25;margin:0 0 10px}
html[data-teaching] .world-activities .teaching-cafe h2{font-family:var(--font-body,system-ui,sans-serif);font-weight:750}
html[data-teaching] .world-activities .teaching-cafe small{display:none}
html[data-teaching] .world-activities .teaching-cafe button{font-size:14px;line-height:1.4;min-height:44px;padding:10px 12px;text-align:start;white-space:normal;justify-content:space-between;width:100%;box-shadow:none}
html[data-teaching] .world-activities .errands-world-actions{display:grid;gap:7px}
html[data-teaching] .world-topic-browser{padding:14px 4px 18px}
.world-browse-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.world-browse-heading label{margin:0;min-width:0}
.world-browse-heading .context-guide-button{position:static;margin:0;min-height:44px;flex-shrink:0}
.world-replies{min-width:0}
.world-replies h4{font-size:14px;font-weight:650;margin:10px 0;color:#526572}
.world-topic-body .world-replies .world-phrase{border:1px solid #d2dfd8;background:#f7f9f4;border-radius:16px;padding:12px;margin-top:10px;display:grid;gap:8px;min-width:0}
.world-replies .channel-prompt{margin:0;background:transparent;padding:0;box-shadow:none;border:0;min-height:44px;text-align:start;font-size:17px;line-height:1.4}
.world-replies .notebook-save{justify-self:start;min-height:44px}
html[data-teaching] .community-welcome>[data-community-art]{grid-column:2;grid-row:1 / 4}
html[data-teaching] .community-welcome>[data-community-art] .community-art{display:block;width:100%;height:auto;color:#28594f}
html[data-teaching][data-world-panel=community] .world-dashboard{min-height:82px;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;padding:12px 16px;border-radius:18px;box-shadow:none}
html[data-teaching][data-world-panel=community] #world-avatar{width:54px;height:58px}
html[data-teaching][data-world-panel=community] .world-dashboard>span{grid-column:auto;flex-direction:column;gap:5px}
html[data-teaching][data-world-panel=community] .world-dashboard strong{font:700 17px/1.35 var(--font-body,system-ui,sans-serif)}
html[data-teaching] .world-tabs button{min-width:0;white-space:normal;overflow-wrap:break-word;font-size:13px;min-height:48px;padding:9px 5px;line-height:1.3}
@media(max-width:350px){html[data-teaching] .world-activities .teaching-cafe{grid-template-columns:64px minmax(0,1fr);padding:12px;gap:10px}html[data-teaching] .world-activities .teaching-place-art,html[data-teaching] .world-activities .teaching-place-art>.teaching-picture{width:64px;height:88px}html[data-teaching] .world-activities .teaching-cafe h2{font-size:18px}html[data-teaching] .world-topic-body{padding:16px}html[data-teaching] .world-topic-cover{grid-template-columns:minmax(0,1fr) 64px;padding:18px 16px}.world-topic-art{width:64px}}
.session-track,.teaching-next .session-track{display:flex;gap:8px;list-style:none;margin:0;padding:4px;width:100%;box-sizing:border-box}
.session-track li,.teaching-next .session-track li{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:8px;padding:12px 4px;border-radius:18px;border:1px solid transparent;text-align:center;background:#f1f3ec}
.session-track li>span,.teaching-next .session-track li>span{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#e3e9da;color:#245d50;font-size:25px}
.session-track .teaching-picture{width:40px;height:40px}
.session-track strong{font:650 14px/1.4 var(--font-body,system-ui,sans-serif);overflow-wrap:break-word}
.session-track li[aria-current=step],.teaching-next .session-track li[aria-current=step]{border:2px solid #245d50;background:#fffdf7}
.session-track li.session-done{color:#245d50;background:#eaf2e8}
.teaching-next.has-session{padding:8px;background:transparent;border:0;box-shadow:none}
.teaching-finish>.session-track{margin-top:16px}
.everyday-situation{display:flex;align-items:center;justify-content:center;border:1px solid #cbdcd0;border-radius:22px;padding:16px 24px;margin:18px 0;background:#f3f5eb;min-width:0}
.everyday-model .teaching-objects:not(:has(>:nth-child(2))) .teaching-object{display:flex;flex-direction:column;text-align:center;padding:22px 18px;gap:10px}
.everyday-model .teaching-objects:not(:has(>:nth-child(2))) .teaching-picture{width:136px;height:136px}
.everyday-model .teaching-object strong{overflow-wrap:break-word}
.everyday-model .teaching-objects:not(:has(>:nth-child(2))) .teaching-picture-wide{width:min(100%,300px);height:auto;max-width:300px;max-height:150px;padding:0;border-radius:0;background:none;aspect-ratio:2}
.everyday-situation:has(.teaching-picture-wide) .everyday-scene-picture{width:min(100%,300px)}
.everyday-situation .everyday-scene-picture .teaching-picture-wide{width:100%;height:auto;max-width:300px;max-height:150px;aspect-ratio:2}
.everyday-scene-picture .teaching-picture{width:118px;height:118px;display:block}
.everyday-world{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:12px;margin:18px 0}
.everyday-world h2{grid-column:1/-1;font-size:1.1rem;margin:0 0 4px}
.everyday-world button{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;min-width:0;width:100%;min-height:164px;padding:16px 12px}
.everyday-world .teaching-picture{width:72px;height:72px;flex-shrink:0}
.everyday-world .teaching-picture-wide{width:144px;max-width:100%;height:72px}
.everyday-world button>span:first-child{display:flex;align-items:center;justify-content:center;width:100%;min-height:72px}
.everyday-world button>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0;align-content:start}
.everyday-world button>span:last-child{display:none}
.everyday-world strong{overflow-wrap:anywhere;line-height:1.3}
.everyday-world small{font-weight:500;color:var(--muted,#536b63)}
.dialogue-options{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.dialogue-options button{flex:1 1 140px;white-space:normal}
.dialogue-reply{display:flex;align-items:center;gap:12px;margin:12px 0;background:#edf5ef;border:1px solid #cbdcd0;border-radius:20px;padding:12px}
html[data-teaching] #lesson-stage.dialogue-stage h2{margin-bottom:12px}
#lesson-stage.dialogue-stage .dialogue-reply .everyday-situation{flex:0 0 72px;border:0;background:none;padding:0;margin:0}
#lesson-stage.dialogue-stage .dialogue-reply .teaching-picture{width:72px;height:72px}
.dialogue-reply .practice-answer-cue{flex:1;min-width:0;border:0;background:none;padding:0;margin:0}
#lesson-stage.dialogue-stage .conversation-cue{margin:10px 0;padding:12px}
#lesson-stage.dialogue-stage .dialogue-idle{display:block;padding:4px 0;border:0;background:none;min-height:0;margin:8px 0}
.dialogue-idle #speech-result{font-size:.85rem;line-height:1.4}
.dialogue-idle :is(.mic-state-icon,#lesson-mic-label){display:none}
.dialogue-note{font-size:14px;line-height:1.5;color:#536b63}
.lesson-stage:has(.dialogue-options) .everyday-situation{padding:5px;margin:10px 0}
.lesson-stage:has(.dialogue-options) .everyday-scene-picture .teaching-picture{width:84px;height:84px}
.lesson-stage:has(.dialogue-options) .conversation-cue{margin:10px 0}
.lesson-stage:has(.dialogue-options) .lesson-speech-status{margin:12px 0}
.session-track:has(>li:only-child){grid-template-columns:1fr;max-width:200px;margin-inline:auto}
@media(max-width:350px),(max-height:550px){.everyday-situation{padding:10px 16px;margin:10px 0;gap:14px}.everyday-scene-picture .teaching-picture{width:88px;height:88px}}
