/* Additive interaction styles; prior night-glass styles remain unchanged. */
.wrk-root,.kunori-quality-gate,.quality-gate{min-width:0;max-width:100%;overflow-wrap:anywhere}
.wrk-question{min-width:0;max-width:100%;box-sizing:border-box;color:inherit}
.wrk-options button,.wrk-controls button{font:inherit;color:inherit;line-height:1.65;white-space:normal;overflow-wrap:anywhere}
.wrk-question legend{max-width:100%;box-sizing:border-box;white-space:normal}
[data-prompt-copy-status]{display:block;margin:8px 0;font-size:14px;color:inherit;line-height:1.7;white-space:normal}
[data-prompt-copy-status][data-error=true]{color:#a03921}
.course-copy-manual{width:min(720px,calc(100vw - 48px));max-height:85vh;overflow:auto;box-sizing:border-box;border-radius:20px;border:1px solid #c4c9d6;padding:24px;color:#20283b;background:#f9fbff}
.course-copy-manual::backdrop{background:rgba(8,12,22,.62);backdrop-filter:blur(10px)}
.course-copy-manual textarea{display:block;box-sizing:border-box;width:100%;height:300px;padding:16px;resize:vertical;color:inherit;background:transparent;font:inherit;border:1px solid #8898b2;border-radius:12px;line-height:1.75}
.course-copy-manual button{margin-top:14px;padding:10px 22px;color:inherit;background:transparent;border:1px solid #8898b2;border-radius:12px;font:inherit}
html[data-theme=dark] .wrk-root,html[data-theme=dark] .quality-gate,html[data-theme=dark] .kunori-quality-gate{color:#edf3ff}
html[data-theme=dark] .wrk-root button{color:#edf3ff!important;background:rgba(26,35,53,.8)!important}
html[data-theme=dark] .wrk-root button.picked{border-color:#83cfff!important;background:rgba(63,109,158,.35)!important}
html[data-theme=dark] .wrk-root button:disabled{opacity:.55}
html[data-theme=dark] [data-prompt-copy-status][data-error=true]{color:#ffc5b5}
html[data-theme=dark] .course-copy-manual{color:#edf3ff;background:rgba(12,17,29,.93);backdrop-filter:blur(24px);border-color:rgba(184,201,233,.35)}
.kqg-root{color:inherit;min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}.kqg-item{min-width:0;max-width:100%;box-sizing:border-box}.kqg-root :is(p,small){opacity:1!important;color:inherit}.kqg-root textarea{font:inherit;line-height:1.75;min-height:92px;padding:12px;color:inherit;border:1px solid #8593aa;border-radius:10px;background:rgba(128,145,170,.08)}.kqg-root button{font:inherit;line-height:1.7}.kqg-root textarea::placeholder{color:#5b6780;opacity:1}html[data-theme=dark] .kqg-root{color:#edf3ff}html[data-theme=dark] .kqg-root textarea{background:rgba(12,20,36,.7);color:#edf3ff}html[data-theme=dark] .kqg-root textarea::placeholder{color:#becbe1}html[data-theme=dark] .kqg-root button{color:#edf3ff}
@media(max-width:640px){.wrk-question{padding:10px!important}.wrk-controls{display:flex;gap:8px;flex-wrap:wrap}.course-copy-manual{padding:16px}}
