/* Interactive controls inherit the shared NEN editorial course system. */
[data-source-paragraph],#lesson-main {scroll-margin-top:8rem}
.editor-practice,.editor-support,.editor-self-check,.editor-reading,.editor-plan-hub,.editor-progress-hub {scroll-margin-top:8rem}
.editor-reading,.editor-plan-hub,.editor-progress-hub {margin-top:clamp(3rem,6vw,5rem);padding-top:1.5rem;border-top:1px solid var(--nen-blue-200)}
.editor-practice h2,.editor-support h2,.editor-self-check h2,.editor-reading h2,.editor-plan-hub h2,.editor-progress-hub h2 {margin-top:0}
.editor-reading h2 {margin-bottom:1.25rem}
.editor-small,.editor-source {color:var(--nen-ink-muted); font-size:var(--fs-small)}
.editor-practice>p,.editor-support>p,.editor-self-check>p,.editor-reading>p {margin-top:1.05rem}
.editor-source {margin:.2rem 0 1.2rem}
.editor-practice fieldset,.editor-question fieldset {padding:0;margin:1.4rem 0;border:0;min-width:0}
.editor-practice legend,.editor-question legend {font-weight:700;line-height:1.6;margin-bottom:1rem;width:100%}
.editor-choice {display:flex;align-items:flex-start;gap:.75rem;padding:.9rem 0;border-bottom:1px solid var(--nen-blue-200);cursor:pointer;line-height:1.65}
.editor-choice input {flex:0 0 auto;width:1.2rem;height:1.2rem;margin:.25rem 0 0;accent-color:var(--nen-blue-700)}
.editor-choice:has(input:checked) {color:var(--nen-blue-950);font-weight:600}
.editor-choice:has(input:focus-visible) {outline:3px solid var(--nen-focus);outline-offset:4px}
.editor-controls {display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin-top:1.2rem}
.editor-button {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.85rem 1.25rem;border:1px solid var(--nen-blue-900);border-radius:999px;background:var(--nen-blue-900);color:var(--nen-white)!important;font-family:var(--display);font-size:var(--fs-tiny);font-weight:600;line-height:1.5;text-decoration:none;cursor:pointer;text-align:center}
.editor-button:hover {background:var(--nen-blue-700);border-color:var(--nen-blue-700)}
.editor-button--light {background:transparent;color:var(--nen-blue-900)!important}
.editor-button--light:hover {background:var(--nen-blue-100);border-color:var(--nen-blue-900)}
.editor-button[aria-pressed=true] {background:var(--nen-blue-900);color:var(--nen-white)!important}
.editor-button:focus-visible {outline:3px solid var(--nen-focus);outline-offset:4px}
.editor-reset {background:none;border:0;padding:.65rem .15rem;color:var(--nen-blue-900);text-decoration:underline;text-underline-offset:.2em;cursor:pointer;font:inherit;min-height:44px}
.editor-question {margin-top:2rem;padding-top:1rem;border-top:1px solid var(--nen-blue-200)}
.editor-answer {margin-top:1rem;padding:1rem 1.25rem;background:var(--nen-blue-100);border-radius:var(--radius-small)}
.editor-answer p:first-child {font-weight:700;margin-top:0}
.editor-answer p:last-child {margin-bottom:0}
.editor-answer p+p {margin-top:.8rem}
.editor-feedback:empty {display:none}
.editor-plan-list,.editor-reading-list {list-style:none;padding:0}
.editor-plan-list>li {padding:1.5rem 0 2rem;border-bottom:1px solid var(--nen-blue-200)}
.editor-plan-list h3 {font-family:var(--text);font-size:var(--fs-h3);margin:0 0 1rem;line-height:1.6}
.editor-plan-list .editor-step {font-size:var(--fs-lead);line-height:1.7}
.editor-plan-list .editor-mark-label {font-weight:600;margin:1rem 0 .4rem}
.editor-plan-list .editor-controls {gap:.55rem}
.editor-plan-list .editor-controls .editor-button {font-size:var(--fs-tiny)}
.editor-reading-list>li {border-bottom:1px solid var(--nen-blue-200);padding:1rem 0;display:flex;gap:1rem;align-items:baseline;justify-content:space-between}
.editor-reading-list a {flex:1;min-width:0}
.editor-reading-list span {flex:0 0 auto;font-size:var(--fs-small);color:var(--nen-ink-muted)}
.editor-plan-empty {padding:1rem 0 2rem}
.editor-plan-empty p {margin:0 0 1.05rem}
@media(max-width:760px) {.editor-self-check {margin-inline:calc(-1 * var(--gutter));border-radius:0}}
@media(max-width:600px) {.editor-reading-list>li {display:block}.editor-reading-list span {display:block;margin-top:.35rem}.editor-controls>.editor-button {max-width:100%}}
@media print {.editor-controls,.editor-reset,.editor-reading,.editor-self-check {display:none}.editor-plan-list>li {break-inside:avoid}}
