/* The course adapter inherits the main application's typography and palette. */
html[data-course] [data-dutch-only]{display:none!important}
.course-workspace{color:var(--ink,#233f37);overflow-wrap:anywhere}
.course-workspace[hidden]{display:none!important}
.course-workspace .page-heading{margin-bottom:24px}
.course-heading-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.course-workspace .course-switch-link{margin:0}
.course-workspace .hero-card{margin-bottom:20px}
.course-workspace .command-visual span{font-size:clamp(20px,4vw,50px);max-width:100%;line-height:1.4}
.course-workspace .command-visual b{font-size:16px}
.course-workspace .hero-content{min-width:0}
.course-workspace button{cursor:pointer}
.course-summary{margin-top:24px;padding:24px}
.course-summary header{display:flex;justify-content:space-between;align-items:center;gap:16px}
.course-summary h2{font-size:22px;margin:8px 0}
.course-summary progress{width:100%;height:10px;border:0;border-radius:9px;accent-color:#245d50;overflow:hidden}
.course-summary progress::-webkit-progress-bar{background:#e3e8db}
.course-summary progress::-webkit-progress-value{background:#245d50;border-radius:9px}
.course-scope{font-size:12px;line-height:1.65;color:#52655c;margin:18px 0 26px;max-width:80ch}
.course-workspace .learn-focus{padding:24px;display:block;margin:20px 0 28px}
.course-workspace .learn-focus h2{margin:8px 0}
.course-workspace .learn-focus p,.course-workspace .learn-focus small{line-height:1.65}
.course-learning-path{list-style:none;padding:0;margin:0 auto;max-width:850px}
.course-learning-path>li{display:grid;grid-template-columns:48px minmax(0,1fr);gap:20px;position:relative;padding:0 0 22px}
.course-learning-path>li:not(:last-child):before{content:'';position:absolute;inset-inline-start:23px;top:42px;bottom:0;border-inline-start:2px dashed #c5d3c6}
.course-path-number{display:grid;place-items:center;border:1px solid #cfdbcf;border-radius:50%;height:48px;background:#f5f4e9;color:#245d50;font-weight:700;z-index:1}
.complete .course-path-number{color:white;background:#245d50;border-color:#245d50}
.course-learning-path .world-card{margin:0;padding:24px}
.course-learning-path h2{font-size:22px;margin:7px 0 10px}
.course-learning-path p{line-height:1.65;font-size:14px;margin:8px 0 15px}
.course-learning-path small{color:#52655c;font-size:11px}
.course-learning-path details{margin:8px 0 18px}
.course-workspace summary{cursor:pointer;font-size:13px;font-weight:650}
.course-workspace details p{font-size:13px;line-height:1.65}
.course-plan-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}
.course-plan-fields label{font-size:13px;font-weight:650;display:flex;flex-direction:column;gap:8px}
.course-plan-fields select,.course-workspace textarea,.course-workspace input:not([type=checkbox]){width:100%;border:1px solid #c7d3c7;background:#fffdf8;border-radius:12px;padding:13px;color:#233f37;font:inherit}
.course-plan-fields .course-check{flex-direction:row;align-items:center}
.course-plan-fields input[type=checkbox]{width:20px;height:20px;accent-color:#245d50}
.course-week{padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:24px 0}
.course-week li{border:1px solid #dce3da;padding:16px;border-radius:18px;display:flex;flex-direction:column;gap:9px;background:#fffdf8}
.course-week small{font-size:11px;line-height:1.5;color:#52655c}
.course-week button{margin-top:auto;font-size:12px;padding:10px}
.course-world-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.course-world-grid .world-card{margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.course-world-grid h3,.course-world-grid p{margin:0}
.course-world-grid p{font-size:13px;line-height:1.6}
.course-world-grid button{font-size:12px;min-height:42px}
.course-workspace pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;font:inherit;font-size:12px;line-height:1.6}
.course-conflict{background:#fff1dc;border:1px solid #dac498;border-radius:16px;padding:20px}
.course-workspace .course-conflict button{margin:8px 8px 0 0}
dialog.course-workspace{background:#fffaf3;border:1px solid #d5ddd0;color:#233f37;border-radius:26px;padding:28px;width:calc(100% - 28px);max-width:640px;max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 24px 90px #173d3333}
dialog.course-workspace::backdrop{background:#183d3377;backdrop-filter:blur(4px)}
.course-workspace .lesson-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;margin-bottom:22px}
.course-workspace .lesson-dialog-top p{margin:0}
.course-workspace .phrase-card{border:1px solid #dce3da;border-radius:22px;padding:32px 22px;background:white;text-align:center;margin:22px 0}
.course-workspace .target{font-size:clamp(25px,5vw,38px);line-height:1.5;font-weight:650}
.course-workspace .reading{font-size:15px;color:#52655c}
.course-workspace .meaning{font-size:17px;line-height:1.6}
.course-workspace .lesson-note{font-size:13px;color:#52655c;border-inline-start:3px solid #d7a991;padding-inline-start:15px;line-height:1.7}
.course-workspace .dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px;flex-wrap:wrap}
dialog.course-workspace button:not(.primary-button):not(.outline-button){border:1px solid #c7d3c7;border-radius:13px;padding:12px 18px;font:inherit;font-size:14px;color:#245d50;background:#fffdf8;min-height:44px}
dialog.course-workspace button.primary{background:#245d50!important;color:#fffaf3!important;border-color:#245d50!important;font-weight:650}
.course-workspace .answer-form{margin:26px 0}
.course-workspace .answer-form label{font-size:13px;font-weight:650;display:block;margin-bottom:10px}
.course-workspace .answer-form small{display:block;margin:10px 0;font-size:12px}
.course-workspace .answer-feedback{padding:17px;border-radius:14px;background:#e8efdf;margin:18px 0;line-height:1.6}
.course-workspace .answer-feedback.wrong{background:#ffebdf}
.course-workspace .scenario-options{display:grid;gap:10px;margin:24px 0}
.course-workspace .scenario-options button{text-align:start;line-height:1.6}
.course-workspace .scenario-options button[aria-pressed=true]{border:2px solid #245d50;background:#e8efdf}
.course-workspace .result-score{font-size:54px;margin:30px 0 5px;color:#245d50}
.course-workspace .help-steps{padding-inline-start:24px}
.course-workspace .help-steps li{line-height:1.7;padding:8px 0;font-size:14px}
#course-notes{min-height:240px;margin:12px 0 18px;resize:vertical;line-height:1.7}
[data-course-sync],#course-note-status{font-size:12px;color:#52655c}
.course-workspace :focus-visible{outline:3px solid #a56b55;outline-offset:3px}
@media(max-width:540px){.course-plan-fields,.course-world-grid{grid-template-columns:1fr}.course-learning-path>li{grid-template-columns:34px minmax(0,1fr);gap:12px}.course-path-number{height:34px;font-size:13px}.course-learning-path>li:not(:last-child):before{inset-inline-start:16px;top:32px}.course-learning-path .world-card{padding:18px}.course-learning-path h2{font-size:20px}.course-workspace .command-visual{max-width:110px}.course-workspace .hero-card{gap:16px}dialog.course-workspace{padding:22px 18px}.course-heading-actions{gap:10px}.course-heading-actions button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.course-workspace *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
