/* Scoped profile-card extension; loaded after dark.css and light.css. */
#studentNotificationSettings{margin-top:16px;padding-top:16px;border-top:1px solid currentColor;color:inherit}
#studentNotificationSettings *{box-sizing:border-box}
#studentNotificationSettings h3{margin:0 0 8px;font:600 16px/1.35 var(--learning-font,system-ui)}
#studentNotificationSettings p{margin:0 0 10px;line-height:1.45}
#studentNotificationSettings .student-notifications-intro,
#studentNotificationSettings .student-notifications-hint{font-size:13px;opacity:.85}
#studentNotificationSettings .student-notifications-state{font-size:14px;font-weight:600}
#studentNotificationSettings fieldset{min-width:0;margin:0;padding:0;border:0}
#studentNotificationSettings legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#studentNotificationSettings .student-notifications-days{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px}
#studentNotificationSettings .student-notifications-day{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border:1px solid currentColor;border-radius:9px;cursor:pointer}
#studentNotificationSettings .student-notifications-day:has(input:checked){background:currentColor}
#studentNotificationSettings .student-notifications-day:has(input:checked) span{color:#7c2d12}
html[data-theme="light"] #studentNotificationSettings .student-notifications-day:has(input:checked) span{color:#fff}
#studentNotificationSettings .student-notifications-day input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
#studentNotificationSettings .student-notifications-day:has(input:focus-visible){outline:2px solid currentColor;outline-offset:3px}
#studentNotificationSettings .student-notifications-count,
#studentNotificationSettings .student-notifications-times label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;font-size:14px}
#studentNotificationSettings select,
#studentNotificationSettings input[type="time"]{min-width:100px;min-height:44px;padding:8px 10px;border:1px solid currentColor;border-radius:9px;background:transparent;color:inherit;font:inherit;color-scheme:dark}
html[data-theme="light"] #studentNotificationSettings select,
html[data-theme="light"] #studentNotificationSettings input[type="time"]{color-scheme:light}
#studentNotificationSettings .student-notifications-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
#studentNotificationSettings button{min-height:44px;padding:8px 12px;border:1px solid currentColor;border-radius:9px;background:transparent;color:inherit;font:600 13px/1.3 var(--learning-font,system-ui);cursor:pointer}
#studentNotificationSettings button:hover:not(:disabled){background:color-mix(in srgb,currentColor 10%,transparent)}
#studentNotificationSettings button:disabled{cursor:default;opacity:.5}
#studentNotificationSettings :is(button,select,input[type="time"]):focus-visible{outline:2px solid currentColor;outline-offset:3px}
#studentNotificationSettings [role="status"]{min-height:1.4em;margin:10px 0 0;font-size:13px}
@media(max-width:540px){#studentNotificationSettings .student-notifications-actions button{flex:1 1 45%}#studentNotificationSettings .student-notifications-day{flex:1 0 calc(25% - 6px);justify-content:center}}

/* Coach goals reuse the profile card palette; settings remain in Profile. */
#coachGoals .coach-intro{font-size:1.1rem;margin:0 0 12px}
#coachGoals .student-settings-card{margin-top:20px}
#coachGoals .coach-count{font-size:1.1rem;font-weight:650}
#coachGoals progress{display:block;width:100%;height:12px;accent-color:currentColor;margin:12px 0}
#coachGoals .coach-note{font-size:.85rem;line-height:1.5;opacity:.85}
#coachGoals .coach-tasks{list-style:none;margin:16px 0;padding:0}
#coachGoals .coach-tasks li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid color-mix(in srgb,currentColor 20%,transparent)}
#coachGoals .coach-tasks a{color:inherit;overflow-wrap:anywhere;min-width:0}
#coachGoals .coach-action{min-height:44px;max-width:100%;padding:10px 14px;margin:4px 8px 4px 0;border:1px solid currentColor;border-radius:9px;background:transparent;color:inherit;font:inherit;cursor:pointer}
#coachGoals .coach-action:focus-visible{outline:2px solid currentColor;outline-offset:3px}
#coachGoals .coach-action:disabled{opacity:.5;cursor:wait}
@media(max-width:540px){#coachGoals .coach-tasks li{align-items:flex-start;flex-direction:column}}
body.minimal-student-space #coachModule{color:#f4f4f5}
body.minimal-student-space #coachModule .student-settings-card{background:#27272a!important;color:#f4f4f5!important;border:0!important}
body.minimal-student-space #coachModule .student-settings-card h2{color:inherit!important}
html[data-theme="light"] body.minimal-student-space #coachModule{color:#27272a}
html[data-theme="light"] body.minimal-student-space #coachModule .student-settings-card{background:#ededf0!important;color:#27272a!important}

#coachGoals .coach-catchup{margin-top:24px;padding-top:16px;border-top:1px solid color-mix(in srgb,currentColor 20%,transparent)}
#studentNotificationSettings .student-notifications-type{display:flex;align-items:center;gap:10px;margin:20px 0 10px;min-height:44px;cursor:pointer}
#studentNotificationSettings .student-notifications-type input{width:20px;height:20px;accent-color:currentColor;flex:none}
#studentNotificationSettings .student-notifications-course{display:flex;flex-direction:column;gap:8px;margin:12px 0}
#studentNotificationSettings .student-notifications-course select{width:100%;min-width:0}
#studentNotificationSettings .student-notifications-lead{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#studentNotificationSettings input[type=number]{width:80px;min-height:44px;padding:8px;border:1px solid currentColor;background:transparent;color:inherit;border-radius:8px;font:inherit}
#coachGoals .coach-practice{margin-top:20px;padding-top:16px;border-top:1px solid color-mix(in srgb,currentColor 20%,transparent)}
#coachGoals .coach-practice h3{font-size:1.1rem;margin:0 0 12px}
#coachGoals .coach-practice-phase{font-size:.9rem;opacity:.8}
#coachGoals .coach-practice-prompt{font-size:clamp(1.4rem,4vw,2rem);font-weight:650;line-height:1.4;margin:20px 0;overflow-wrap:anywhere}
#coachGoals .coach-practice-reveal{font-size:1.25rem;margin:16px 0}
#coachGoals .coach-practice-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#coachGoals .coach-practice-ratings{display:flex;flex-wrap:wrap;gap:10px}
#coachGoals .coach-practice button{min-height:44px;max-width:100%;white-space:normal;padding:12px 16px;border-radius:9px;border:1px solid currentColor;background:transparent;color:inherit;font:inherit;cursor:pointer;overflow-wrap:anywhere}
#coachGoals .coach-practice button:hover:not(:disabled){background:color-mix(in srgb,currentColor 12%,transparent)}
#coachGoals .coach-practice button:disabled{opacity:.5;cursor:wait}
#coachGoals .coach-practice button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
#coachGoals .coach-practice-feedback{min-height:1.5em;line-height:1.5}
@media(max-width:540px){#coachGoals .coach-practice-choices{grid-template-columns:1fr}#coachGoals .coach-practice-ratings{flex-direction:column}}

#coachGoals .coach-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#coachGoals .coach-heading h2{margin:0}
#coachGoals .coach-completed{font-size:.85rem;font-weight:600;white-space:nowrap}

#coachGoals .coach-video-player{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:10px;background:#000;margin:12px 0}
#coachGoals .coach-tasks li:has(.coach-video-player){display:block}

#coachGoals .coach-flashcard{cursor:default;border-radius:18px!important;min-height:360px;padding:24px;margin-bottom:16px;background:#101012!important}
#coachGoals .coach-flashcard .coach-practice-phase{margin:0;font-size:12px}
#coachGoals .coach-flashcard .term{font-size:clamp(28px,5vw,44px);font-weight:500;text-align:center;line-height:1.2;margin:20px 0}
#coachGoals .coach-flashcard .answer-panel{min-height:100px}
html[data-theme=light] #coachGoals .coach-flashcard{background:#fff!important}
@media(max-width:540px){#coachGoals .coach-flashcard{min-height:300px;padding:20px 16px}}

#coachGoals .coach-practice{border-top:0;padding-top:0}
#coachGoals .coach-tasks li{border-bottom:0}

#coachModule > h1 .coach-today-date{display:inline-block;margin-left:14px;font-size:clamp(14px,2vw,18px);font-weight:400;vertical-align:middle;white-space:nowrap;opacity:.8}
#coachGoals .coach-practice-tools{display:flex;align-items:center;justify-content:center;gap:8px;margin:auto 0 0;padding-top:12px}
html body.minimal-student-space #coachGoals .coach-practice-tools button{background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important;width:44px;height:44px;min-width:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;position:relative}
#coachGoals .coach-practice-tools button svg,#coachGoals .audio-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#coachGoals .coach-practice-tools button[aria-pressed=true]::after{content:'';position:absolute;bottom:2px;width:5px;height:5px;border-radius:50%;background:currentColor}
#coachGoals .coach-practice-tools .turtle-icon{fill:currentColor;stroke:none}
#coachGoals .audio-button{padding:6px;width:44px;height:44px;display:inline-grid;place-items:center;background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important}
#coachGoals .coach-practice-navigation{display:flex;justify-content:space-between;gap:12px;margin:12px 0}
#coachGoals .coach-practice-navigation button{flex:1;border-radius:8px}
#coachGoals .coach-practice-fullscreen{position:fixed;inset:0;z-index:1000;margin:0;padding:24px;overflow:auto;background:#171719;color:#fff}
#coachPractice:fullscreen{padding:24px;overflow:auto;background:#171719;color:#fff}
html[data-theme=light] #coachGoals .coach-practice-fullscreen,html[data-theme=light] #coachPractice:fullscreen{background:#fafafa;color:#27272a}
#coachGoals .coach-practice-fullscreen .coach-flashcard,#coachPractice:fullscreen .coach-flashcard{min-height:50vh;max-width:1000px;margin-left:auto;margin-right:auto}

html body.minimal-student-space #coachGoals .coach-practice-tools .turtle-icon{color:inherit!important}

/* Daily vocabulary target size, independent of batch size or completed count. */
#coachVocabulary .coach-goal-green{color:#4ade80}
#coachVocabulary .coach-goal-orange{color:#fb923c}
#coachVocabulary .coach-goal-red{color:#f87171}
html[data-theme="light"] #coachVocabulary .coach-goal-green{color:#15803d}
html[data-theme="light"] #coachVocabulary .coach-goal-orange{color:#b45309}
html[data-theme="light"] #coachVocabulary .coach-goal-red{color:#dc2626}
