.l04-group-card>.card-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:auto;padding-top:8px}
.l04-group-card .card-actions>.secondary,.l04-group-card .card-actions>.link{display:inline-flex;align-items:center;justify-content:center;align-self:center;min-height:46px;margin:0;font-size:15px;line-height:1.4;white-space:nowrap}
.l04-group-card .card-actions>.secondary{background:var(--l04-soft);padding:12px 19px}
.l04-group-card .card-actions>.link{padding:12px 0}
#app:has(.t09-layout) .l04-lesson-top{flex-wrap:wrap}
.t09-board .l04-examples>span{white-space:normal;overflow-wrap:anywhere}
.t09-lines{max-width:65ch;text-align:left;font-size:17px;line-height:1.9}
.t09-lines p{margin:15px 0}.t09-condition{font-size:16px!important;text-align:left}
.t09-exam-rows{width:100%;max-width:65ch;text-align:left;font-size:18px;line-height:1.8}
#t09-question{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0}
#t09-answer{width:130px;border:1px solid var(--l04-border);border-radius:10px;padding:12px;background:var(--l04-surface);color:var(--ink);font:inherit}
.t09-choices{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.t09-choices button{min-width:44px}
.t09-board .l04-check-feedback{white-space:pre-line}.t09-board h1{overflow-wrap:anywhere}
.t09-board .l04-check-feedback.correct{color:var(--l04-good)!important}.t09-board .l04-check-feedback.wrong{color:var(--l04-bad)!important}
#t09-tutor-note{font-size:17px;line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}
@media(max-width:760px){.t09-lines,.t09-exam-rows,#t09-tutor-note{font-size:16px}.t09-condition{font-size:14px!important}}
#app:has(.t10-layout) .l04-lesson-top{flex-wrap:wrap}
.t10-board .l04-examples>span{white-space:normal;overflow-wrap:anywhere}
.t10-lines{max-width:65ch;text-align:left;font-size:17px;line-height:1.9}
.t10-lines p{margin:15px 0}.t10-condition{font-size:16px!important;text-align:left}
.t10-exam-rows{width:100%;max-width:65ch;text-align:left;font-size:18px;line-height:1.8}
#t10-question{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0}
#t10-answer{width:130px;border:1px solid var(--l04-border);border-radius:10px;padding:12px;background:var(--l04-surface);color:var(--ink);font:inherit}
.t10-choices{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.t10-choices button{min-width:44px}
.t10-board .l04-check-feedback{white-space:pre-line}.t10-board h1{overflow-wrap:anywhere}
.t10-board .l04-check-feedback.correct{color:var(--l04-good)!important}.t10-board .l04-check-feedback.wrong{color:var(--l04-bad)!important}
#t10-tutor-note{font-size:17px;line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}
@media(max-width:760px){.t10-lines,.t10-exam-rows,#t10-tutor-note{font-size:16px}.t10-condition{font-size:14px!important}}
.t10-sections{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.t10-sections .secondary{padding:10px 14px;font-size:13px}
.ege04-board{margin:24px 0;padding:clamp(20px,3vw,48px);min-height:0;text-align:left}
.ege04-instruction{max-width:85ch;font-size:17px;line-height:1.7}
.ege04-rows{list-style:none;counter-reset:ege-row;padding:0;font-size:20px;line-height:1.9;color:var(--ink)}
.ege04-rows li{counter-increment:ege-row;overflow-wrap:anywhere;text-align:left}
.ege04-rows li::before{content:counter(ege-row) ') ';color:inherit}
#ege04-answer{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:30px}
#ege04-input{width:180px;max-width:100%;padding:12px;border:1px solid var(--l04-border);border-radius:8px;background:var(--l04-surface);color:var(--ink);font:inherit}
.ege04-feedback{width:100%;max-width:none;min-width:0;margin:28px 0;padding:clamp(28px,3.5vw,52px);border:1px solid var(--ege04-border);border-left-width:3px;border-radius:12px;background:var(--ege04-background);color:var(--ege04-text);font-size:19px;line-height:1.9;overflow-wrap:anywhere;text-align:left}
.ege04-feedback.is-correct{--ege04-border:#45956a;--ege04-background:#eef8f1;--ege04-text:#245b3c}
.ege04-feedback.is-incorrect{--ege04-border:#cc6262;--ege04-background:#fff1f1;--ege04-text:#8f3030}
html[data-theme="dark"] .ege04-feedback.is-correct{--ege04-border:#46996a;--ege04-background:#172b23;--ege04-text:#b9ebcc}
html[data-theme="dark"] .ege04-feedback.is-incorrect{--ege04-border:#cf737f;--ege04-background:#321d24;--ege04-text:#ffc4c4}
.ege04-feedback>strong{font-size:1.15em}.ege04-feedback mark{background:transparent;color:inherit;padding:0;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.ege04-feedback ol{padding-left:28px}.ege04-feedback li{margin-bottom:26px}.ege04-feedback li:last-child{margin-bottom:0}
.ege04-navigation{gap:12px;flex-wrap:wrap;margin:20px 0}
.p10{min-width:0}.p10-setup{margin-top:28px}.p10-setup>.primary{margin-top:24px}.p10-counter{margin-top:22px;gap:12px;flex-wrap:wrap}.p10-board{min-height:350px}.p10-word{font-size:clamp(28px,4vw,56px);overflow-wrap:anywhere;margin:36px 0}.p10-context{max-width:75ch;overflow-wrap:anywhere}.p10-explanation{white-space:pre-wrap;line-height:1.9}.p10-complete{margin-top:24px}.p10-error{min-height:1.6em;color:var(--ink);margin-bottom:0}.p10-no-sign{margin-top:16px}#practice10-form{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:28px}#practice10-input{width:140px;max-width:100%;padding:12px;border:1px solid var(--l04-border);border-radius:8px;background:var(--l04-surface);color:var(--ink);font:inherit}.p10 .ege04-rows{min-height:190px}.p10 .ege04-rows li{line-height:1.65;margin-bottom:8px}.p10 .ege04-feedback{font-weight:500}
@media(max-width:600px){.ege04-rows{font-size:17px}.ege04-instruction{font-size:15px}.ege04-feedback{font-size:17px;padding:24px 20px}}
.l04-scope-picker{position:relative;margin:30px 0;font-size:12px;color:var(--l04-note)}
.l04-scope-picker select[hidden]{display:none}
#app[data-page="lesson"] .l04-tutor-note{font-size:17px;line-height:1.85;padding:20px 24px;min-height:80px;overflow-wrap:anywhere}
@media(max-width:760px){#app[data-page="lesson"] .l04-tutor-note{font-size:16px;padding:17px 18px}}
.l04-scope-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;margin-top:10px;padding:14px 16px;border:1px solid var(--l04-border);border-radius:11px;background:var(--l04-surface);color:var(--ink);font-size:14px;line-height:1.6}
.l04-scope-trigger svg{flex-shrink:0;transition:transform .2s ease}
.l04-scope-trigger[aria-expanded="true"]{border-color:var(--purple)}
.l04-scope-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
.l04-scope-options{position:absolute;top:100%;left:0;right:0;margin-top:7px;padding:6px;max-height:min(340px,45svh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;z-index:30;border:1px solid var(--l04-border);border-radius:12px;background:var(--l04-surface);box-shadow:0 8px 24px #302b4012}
.l04-scope-options[hidden]{display:none}
.l04-scope-options button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;font-size:13px;line-height:1.6;color:var(--ink);padding:11px 12px;border-radius:8px;background:transparent}
.l04-scope-options button:is(:hover,:focus-visible),.l04-scope-options button[aria-selected="true"]{background:var(--l04-soft);color:var(--purple)}
.l04-scope-check{visibility:hidden;flex-shrink:0}.l04-scope-options [aria-selected="true"] .l04-scope-check{visibility:visible}
.l04-length-options button:disabled{opacity:.35;cursor:not-allowed;color:var(--l04-note);background:var(--l04-soft)}
.l04-length-options button:disabled strong,.l04-length-options button:disabled span{min-height:1.6em}
.l04-sidebar-toggle{display:flex;align-items:center;gap:8px;white-space:nowrap}
.l04-groups-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;width:230px;max-width:100%;margin-bottom:12px}
.l04-groups-heading>.eyebrow{letter-spacing:.8px}
.l04-groups-heading .l04-sidebar-toggle{font-size:11px;padding:4px 0}
.l04-layout{transition:grid-template-columns .28s cubic-bezier(.22,1,.36,1),gap .28s cubic-bezier(.22,1,.36,1)}
.l04-layout.is-sidebar-hidden{grid-template-columns:0 minmax(0,1fr);gap:0}
.l04-sidebar[hidden]{display:none}.l04-workspace{grid-column:2}
.p10-explanation-rows{list-style:none;padding:0;margin:14px 0;line-height:1.8}
.p10-explanation-rows li{display:grid;grid-template-columns:1.5em minmax(0,1fr);gap:8px;margin:12px 0;overflow-wrap:anywhere}
.p10-full-breakdown{margin-top:18px}.p10-full-breakdown summary{cursor:pointer;font-weight:600;padding:8px 0}
.p10-exam-feedback:has(.p10-full-breakdown[open]) .p10-initial-mistakes{display:none}
.l04-board > p:not(.l04-check-feedback):not(.l04-context):not(.l04-wait-note){font-size:20px;line-height:1.75}
@media(max-width:760px){.l04-board > p:not(.l04-check-feedback):not(.l04-context):not(.l04-wait-note){font-size:18px;line-height:1.7}}
@media(max-width:1100px){.l04-groups-heading{width:200px}}
@media(max-width:760px){.l04-groups-heading,.l04-sidebar-toggle{display:none}.l04-scope-trigger{font-size:13px}.l04-scope-options button{font-size:12px}}
.l04-layout.l04-focus-layout{grid-template-columns:minmax(0,1fr);gap:0}.l04-focus-layout>.l04-workspace{grid-column:1/-1;min-width:0}#app[data-page="lesson"]:has(.l04-focus-layout){max-width:none}
