/* (c) Britt Innovations Inc., Monsieur Britt.
   Figma classroom design, an opt-in presentation layer for Grades 5 to 7. */
body.grade-learning-playful.fsl-student-experience {
    --student-ink: #243b45;
    --student-paper: #fffaf1;
    --student-line: #b7c9ce;
    --student-accent: #176a60;
    --student-soft: #e8f6ef;
    --student-sun: #ffe39a;
    --classroom-teal: var(--student-accent);
    --classroom-teal-dark: var(--student-accent);
    --classroom-mint: var(--student-soft);
    --classroom-paper: var(--student-paper);
    --classroom-line: var(--student-line);
    padding: 16px;
    font-family: var(--font-body, 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif);
    line-height: 1.5;
}
body.grade-learning-playful.fsl-student-experience[data-grade="6"] { --student-accent: #245ea8; --student-soft: #edf4ff; }
body.grade-learning-playful.fsl-student-experience[data-grade="7"] { --student-accent: #6b46a3; --student-soft: #f3edfb; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) { background: var(--student-paper); color: var(--student-ink); }
body.grade-learning-playful.fsl-student-experience > .container { max-width: 1100px; border-radius: 20px; border: 1px solid var(--student-line); box-shadow: 0 8px 24px #243b450c; }
body.grade-learning-playful.fsl-student-experience .container > .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 20px;
    text-align: left;
    padding: 14px 20px !important;
}
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) .container > .header { background: #fff !important; color: var(--student-ink); border-top: 6px solid var(--student-accent); }
body.grade-learning-playful.fsl-student-experience .container > .header > .fsl-page-title { display: block !important; flex: 1 1 250px; }
body.grade-learning-playful.fsl-student-experience .container > .header h1 { font-family: inherit; font-size: 24px !important; line-height: 1.25; color: inherit; }
body.grade-learning-playful.fsl-student-experience .fsl-page-title p { margin: 4px 0 0; font-size: .9rem; }
body.grade-learning-playful.fsl-student-experience .fsl-page-tools { flex: 0 1 auto; max-width: 100%; font-size: .9rem; }
body.grade-learning-playful.fsl-student-experience .fsl-page-tools > summary { min-height: 44px; align-content: center; cursor: pointer; font-weight: 700; padding: 8px 12px; border: 1px solid var(--student-line); border-radius: 12px; }
body.grade-learning-playful.fsl-student-experience .fsl-page-tools[open] { flex-basis: 100%; }
body.grade-learning-playful.fsl-student-experience .fsl-page-tools[open] > summary { margin-bottom: 8px; }
body.grade-learning-playful.fsl-student-experience .fsl-page-tools p { margin: 8px 0; }
body.grade-learning-playful.fsl-student-experience .fsl-page-tools > div { display: none !important; }
body.grade-learning-playful.fsl-student-experience .fsl-page-tools a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 8px 12px; border-radius: 10px; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) .fsl-page-tools a { color: var(--student-accent) !important; background: var(--student-soft) !important; }
body.grade-learning-playful.fsl-student-experience .fsl-page-tools nav { justify-content: flex-start !important; }
body.grade-learning-playful.fsl-student-experience .extra-tools { padding: 0 20px; font-size: .85rem; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) .extra-tools { background: var(--student-soft); }
body.grade-learning-playful.fsl-student-experience #backBtn { min-width: 44px; min-height: 44px; padding: 8px 12px; font: inherit; }

body.grade-learning-playful.fsl-student-experience #groupBar { gap: 8px; padding: 12px 20px; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #groupBar { background: #f4f7f8; border-block: 1px solid var(--student-line); color: var(--student-ink); }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #groupBar #groupActiveLearner { background: var(--student-soft) !important; color: var(--student-ink) !important; border: 2px solid var(--student-accent) !important; border-radius: 12px !important; padding: 8px 12px !important; font-size: 1rem !important; }
body.grade-learning-playful.fsl-student-experience #groupBar .group-member { padding: 5px 10px; font-size: .85rem; }
body.grade-learning-playful.fsl-student-experience #groupBar .group-member.current-turn { transform: none; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #groupRoleSummary { color: var(--student-ink) !important; }
body.grade-learning-playful.fsl-student-experience #groupRoles { font-size: .8rem !important; line-height: 1.4 !important; }
body.grade-learning-playful.fsl-student-experience #dayRemaining { margin: 12px 16px 8px !important; padding: 10px 14px !important; }
body.grade-learning-playful.fsl-student-experience #dayWorkload { margin: 0 16px 8px !important; padding: 0 12px !important; }
body.grade-learning-playful.fsl-student-experience .fsl-jump-work { margin: 0 16px 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--student-line); border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) .fsl-jump-work { color: var(--student-accent); background: #fff; }

body.grade-learning-playful.fsl-student-experience #navTabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; align-items: stretch; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #navTabs { background: var(--student-soft); border-bottom: 1px solid var(--student-line); }
body.grade-learning-playful.fsl-student-experience #navTabs .nav-tab { flex: 1 1 115px; min-height: 52px; min-width: 0; padding: 8px 10px; font-family: inherit; font-size: .9rem; line-height: 1.3; border-radius: 12px; overflow-wrap: anywhere; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #navTabs .nav-tab { background: #fff; color: var(--student-ink); border: 1px solid var(--student-line); box-shadow: none; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #navTabs .nav-tab.active { background: var(--student-sun) !important; color: #493b17 !important; border: 2px solid #8c6b23; box-shadow: inset 0 -2px 0 #8c6b23; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #navTabs #tab-lessonReview:not(.active) { background: #fff; border-color: var(--student-line); }
body.grade-learning-playful.fsl-student-experience #navTabs .nav-tab small { display: none; }
body.grade-learning-playful.fsl-student-experience #navTabs .nav-tab.completed::after { display: none; }
body.grade-learning-playful.fsl-student-experience #navTabs .fsl-nav-status { display: block; font-size: .72rem; font-weight: 700; margin-top: 3px; }
body.grade-learning-playful.fsl-student-experience #navTabs .fsl-nav-status[hidden] { display: none; }

body.grade-learning-playful.fsl-student-experience #activityContent { padding: 20px; font-family: inherit; line-height: 1.5; scroll-margin-top: 12px; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #activityContent { color: var(--student-ink); background: var(--student-paper); }
body.grade-learning-playful.fsl-student-experience #activityContent > div:first-child:not([class]):has(> strong) { padding: 8px 12px !important; margin-bottom: 12px !important; text-align: left !important; border-radius: 12px !important; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #activityContent > div:first-child:not([class]):has(> strong) { background: var(--student-soft) !important; color: var(--student-ink) !important; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.fsl-practice, .fsl-daily, .fsl-lesson-review) { max-width: 900px; margin: 0 auto; padding: 20px; border-radius: 20px; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #activityContent :is(.fsl-practice, .fsl-daily, .fsl-lesson-review) { color: var(--student-ink); background: #fff; border: 1px solid var(--student-line); border-top: 4px solid var(--activity-art-ink, var(--student-accent)); box-shadow: 0 4px 0 #243b450c; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.fsl-practice, .fsl-daily, .fsl-lesson-review) :is(h3, h4, h5, h6) { font-family: inherit; line-height: 1.3; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.fsl-practice, .fsl-daily, .fsl-lesson-review) h3 { font-size: 1.25rem; margin-bottom: 10px; }
body.grade-learning-playful.fsl-student-experience #activityContent .fsl-art-heading { min-height: 44px; margin-bottom: 10px; }
body.grade-learning-playful.fsl-student-experience #activityContent .fsl-activity-art { width: 76px; height: 44px; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(button, input, textarea, select) { font-family: inherit; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(button, summary, select) { min-height: 44px; }
body.grade-learning-playful.fsl-student-experience #activityContent button { min-width: 44px; max-width: 100%; border-radius: 12px; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.fsl-daily, .fsl-practice) button { padding: 10px 14px; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #activityContent :is(.daily-primary, #dailySubmit, #practiceCheck, #practiceCorrectionCheck, #dailyCorrectionCheck, #foundationStart) { background: var(--student-accent); color: #fff; border: 2px solid var(--student-accent); box-shadow: 0 3px 0 #243b4533; font-weight: 800; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.daily-actions, .foundation-options) { gap: 8px; margin: 12px 0; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.daily-turn, .practice-turn) { position: static; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 3px 10px; padding: 9px 12px; margin: 10px 0; border-radius: 12px; box-shadow: none; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #activityContent :is(.daily-turn, .practice-turn) { background: var(--student-soft); border: 2px solid var(--student-accent); border-left-width: 6px; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.daily-turn-label, .practice-turn-label) { font-size: .8rem; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.daily-turn-name, .practice-turn-name) { font-size: 1.15rem; line-height: 1.3; overflow-wrap: anywhere; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #activityContent :is(.daily-turn-name, .practice-turn-name, .daily-turn-label, .practice-turn-label) { color: var(--student-ink); }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.daily-turn-role, .practice-turn-role) { grid-column: 1 / -1; font-size: .8rem; line-height: 1.4; }
body.grade-learning-playful.fsl-student-experience #activityContent .daily-turn-options { margin: 8px 0 0; }
body.grade-learning-playful.fsl-student-experience #activityContent .fsl-partner-options { margin-top: 18px; }
body.grade-learning-playful.fsl-student-experience #activityContent .daily-speaking-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 10px; }
body.grade-learning-playful.fsl-student-experience #activityContent .daily-speaking-modes button { min-height: 44px; padding: 9px 10px; font-size: .95rem; text-align: left; }
body.grade-learning-playful.fsl-student-experience #activityContent .daily-speaking-modes small { font-size: .75rem; line-height: 1.3; margin-top: 4px; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #activityContent .daily-speaking-modes button { background: #fff; color: var(--student-ink); border: 1px solid var(--student-line); box-shadow: none; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #activityContent .daily-speaking-modes button[aria-pressed="true"] { background: var(--student-soft); color: var(--student-accent); border: 2px solid var(--student-accent); box-shadow: inset 0 -3px 0 var(--student-accent); }
body.grade-learning-playful.fsl-student-experience #activityContent .daily-speaking-modes button[aria-pressed="true"]::before { content: '✓ '; }
body.grade-learning-playful.fsl-student-experience #activityContent .daily-speaking-category { padding: 8px 12px; margin: 10px 0 6px; font-size: .95rem; }
body.grade-learning-playful.fsl-student-experience #activityContent .daily-word { font-size: 1.65rem; line-height: 1.3; margin-top: 8px; }
body.grade-learning-playful.fsl-student-experience #activityContent .daily-speech-prompt { padding: 10px 12px; font-size: .95rem; margin: 10px 0; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.daily-speech-steps, .foundation-steps) { gap: 6px; margin-bottom: 12px; }
body.grade-learning-playful.fsl-student-experience #activityContent .foundation-steps li { flex: 1 1 140px; padding: 6px 8px; }
body.grade-learning-playful.fsl-student-experience #activityContent .fsl-foundations { margin: 14px 0; padding: 16px; border-radius: 16px; }
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #activityContent .fsl-foundations { background: var(--student-soft); border: 1px solid var(--student-line); }
body.grade-learning-playful.fsl-student-experience #activityContent .foundation-heading { display: grid; grid-template-columns: 40px minmax(0, 1fr) 105px; gap: 10px; align-items: center; }
body.grade-learning-playful.fsl-student-experience #activityContent .foundation-heading h4 { margin: 0; font-size: 1.1rem; }
body.grade-learning-playful.fsl-student-experience #activityContent .foundation-kicker { font-size: .75rem; line-height: 1.4; margin-bottom: 4px; }
body.grade-learning-playful.fsl-student-experience #activityContent .foundation-badge { min-width: 40px; min-height: 40px; border-radius: 12px; font-size: .9rem; }
body.grade-learning-playful.fsl-student-experience #activityContent .foundation-unit-art { width: 105px; max-width: 100%; max-height: 64px; margin: 0; }
body.grade-learning-playful.fsl-student-experience #activityContent .foundation-task { padding: 14px; border-radius: 12px; }
body.grade-learning-playful.fsl-student-experience #activityContent .foundation-heading + p { font-size: .85rem; margin: 10px 0; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(details, .activity-optional-help) { border-radius: 12px; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.foundation-help, .lesson-review-help, .activity-optional-help) { margin-top: 18px; }
body.grade-learning-playful.fsl-student-experience #activityContent :is(.foundation-help, .lesson-review-help, .activity-optional-help) > summary { padding: 10px 0; font-size: .95rem; }
body.grade-learning-playful.fsl-student-experience #activityContent .foundation-turn { padding: 8px 12px; font-size: 1rem; margin: 10px 0; }
body.grade-learning-playful.fsl-student-experience .fsl-student-support { padding: 12px 20px 20px; text-align: center; }
body.grade-learning-playful.fsl-student-experience #fslStudentSupportFooter #fslFloatingHelp {
    position: static !important;
    inset: auto !important;
    z-index: auto;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--student-line);
    font-family: inherit;
    font-size: .95rem;
    line-height: 1.4;
    box-shadow: none;
    animation: none !important;
    transform: none !important;
    touch-action: auto !important;
}
body.grade-learning-playful.fsl-student-experience:not(.high-contrast) #fslStudentSupportFooter #fslFloatingHelp { background: #fff; color: var(--student-accent); }
body.grade-learning-playful.fsl-student-experience #fslStudentSupportFooter #fslFloatingHelp .label-en { display: inline; }
body.grade-learning-playful.fsl-student-experience :is(.fsl-page-tools summary, .fsl-page-tools a, .fsl-jump-work, #fslFloatingHelp):focus-visible,
body.grade-learning-playful.fsl-student-experience #activityContent :focus-visible,
body.grade-learning-playful.fsl-student-experience #navTabs :focus-visible { outline: 3px solid #193b76 !important; outline-offset: 4px; }
body.grade-learning-playful.fsl-student-experience #activityContent:focus { outline: none; }
@media (max-width: 650px) {
    body.grade-learning-playful.fsl-student-experience { padding: 12px; }
    body.grade-learning-playful.fsl-student-experience .container > .header { padding: 12px !important; gap: 6px; }
    body.grade-learning-playful.fsl-student-experience .container > .header h1 { font-size: 1.25rem !important; }
    body.grade-learning-playful.fsl-student-experience .container > .header > .fsl-page-title { flex-basis: 100%; }
    body.grade-learning-playful.fsl-student-experience .fsl-page-tools { font-size: .8rem; }
    body.grade-learning-playful.fsl-student-experience .extra-tools { padding: 0 12px; }
    body.grade-learning-playful.fsl-student-experience #groupBar { padding: 10px 12px; }
    body.grade-learning-playful.fsl-student-experience #dayRemaining { margin-inline: 10px !important; }
    body.grade-learning-playful.fsl-student-experience #dayWorkload { margin-inline: 10px !important; }
    body.grade-learning-playful.fsl-student-experience .fsl-jump-work { margin-inline: 10px; font-size: .85rem; }
    body.grade-learning-playful.fsl-student-experience #navTabs { gap: 6px; padding: 10px; }
    body.grade-learning-playful.fsl-student-experience #navTabs .nav-tab { flex-basis: calc(50% - 6px); font-size: .85rem; min-height: 48px; padding: 7px 8px; }
    body.grade-learning-playful.fsl-student-experience #activityContent { padding: 12px; }
    body.grade-learning-playful.fsl-student-experience #activityContent :is(.fsl-practice, .fsl-daily, .fsl-lesson-review) { padding: 12px; border-radius: 16px; }
    body.grade-learning-playful.fsl-student-experience #activityContent :is(.daily-turn, .practice-turn) { grid-template-columns: 1fr; padding: 8px 10px; }
    body.grade-learning-playful.fsl-student-experience #activityContent :is(.daily-turn-name, .practice-turn-name) { font-size: 1.1rem; }
    body.grade-learning-playful.fsl-student-experience #activityContent .fsl-activity-art { width: 60px; height: 40px; }
    body.grade-learning-playful.fsl-student-experience #activityContent .fsl-foundations { padding: 12px; }
    body.grade-learning-playful.fsl-student-experience #activityContent .foundation-heading { grid-template-columns: minmax(0, 1fr) 70px; gap: 8px; }
    body.grade-learning-playful.fsl-student-experience #activityContent .foundation-badge { display: none; }
    body.grade-learning-playful.fsl-student-experience #activityContent .foundation-heading h4 { font-size: 1rem; }
    body.grade-learning-playful.fsl-student-experience #activityContent .foundation-unit-art { width: 70px; max-height: 52px; }
    body.grade-learning-playful.fsl-student-experience #activityContent .foundation-steps li { flex-basis: 100%; }
    body.grade-learning-playful.fsl-student-experience #activityContent .foundation-task { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    body.grade-learning-playful.fsl-student-experience *, body.grade-learning-playful.fsl-student-experience *::before, body.grade-learning-playful.fsl-student-experience *::after { scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
    body.grade-learning-playful.fsl-student-experience :focus-visible { outline-color: Highlight !important; }
    body.grade-learning-playful.fsl-student-experience #navTabs .nav-tab.active,
    body.grade-learning-playful.fsl-student-experience #activityContent .daily-speaking-modes button[aria-pressed="true"] { outline: 2px solid Highlight; }
}
@media print {
    body.grade-learning-playful.fsl-student-experience :is(.fsl-page-tools, .fsl-jump-work, .fsl-student-support) { display: none !important; }
}
