/* Bright Mind Tutorials - Student & Parent portal dashboard system */
.dashboard.student-portal,.dashboard.parent-portal,.dashboard.portal-preview{--portal-navy:#102f4f;--portal-navy-2:#17466f;--portal-ink:#18354f;--portal-text:#365069;--portal-muted:#667e91;--portal-line:#d7e3ec;--portal-canvas:#eef4f8;--portal-blue:#2f6fae;--portal-teal:#1b837c;--portal-purple:#6e4fc1;--portal-gold:#b77c1e;--portal-coral:#b9534c;background:var(--portal-canvas);color:var(--portal-text);min-height:100vh;padding-bottom:42px}
.dashboard.student-portal :is(h1,h2,h3,h4,b,strong),.dashboard.parent-portal :is(h1,h2,h3,h4,b,strong),.dashboard.portal-preview :is(h1,h2,h3,h4,b,strong){font-weight:600}
.dashboard.student-portal :is(p,span,a,small),.dashboard.parent-portal :is(p,span,a,small),.dashboard.portal-preview :is(p,span,a,small){font-weight:500}

.portal-topbar{width:min(1460px,calc(100% - 36px));margin:16px auto 18px;min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 13px 10px 16px;border-radius:15px;background:linear-gradient(135deg,#102f4f,#173f65);box-shadow:0 10px 26px rgba(15,46,76,.13);color:#fff}
.portal-topbar .brand{display:flex;align-items:center;gap:10px;color:#fff;font-size:15px;font-weight:600;text-decoration:none}.portal-topbar .brand-mark{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16)}.portal-topbar .brand-mark:after{content:'BM';font-size:10px;font-weight:600;color:#fff}.portal-topbar .brand-mark i{display:none}
.portal-context{display:flex;flex-direction:column;min-width:0}.portal-context small{font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.07em;color:#bcd1e0}.portal-context b{font-size:14px;line-height:1.25;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-user{display:flex;align-items:center;gap:10px;margin-left:auto}.portal-user-copy{display:flex;flex-direction:column;text-align:right}.portal-user-copy small{font-size:10px;color:#bcd1e0}.portal-user-copy b{font-size:12.5px;color:#fff}.portal-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#fff;color:#184a70;font-size:11px;font-weight:600}.portal-top-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;border-radius:9px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff!important;font-size:11px;text-decoration:none}.portal-top-link:hover{background:rgba(255,255,255,.14)}

.dashboard.student-portal .dash-grid,.dashboard.parent-portal .dash-grid,.dashboard.portal-preview .dash-grid{width:min(1460px,calc(100% - 36px));margin:0 auto;display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;align-items:start}
.dashboard.student-portal .dash-side,.dashboard.parent-portal .dash-side,.dashboard.portal-preview .dash-side{position:sticky;top:16px;min-height:calc(100vh - 112px);padding:12px;border-radius:15px;background:#123653;box-shadow:0 10px 25px rgba(15,46,76,.10);display:flex;flex-direction:column;gap:4px}
.dashboard.student-portal .dash-side a,.dashboard.parent-portal .dash-side a,.dashboard.portal-preview .dash-side a{display:flex;align-items:center;min-height:38px;padding:8px 10px;border-radius:9px;color:#c8d7e2;font-size:12px;font-weight:500;text-decoration:none;line-height:1.2}.dashboard.student-portal .dash-side a:hover,.dashboard.parent-portal .dash-side a:hover,.dashboard.portal-preview .dash-side a:hover,.dashboard.student-portal .dash-side a.active,.dashboard.parent-portal .dash-side a.active,.dashboard.portal-preview .dash-side a.active{background:#22577f;color:#fff}.dashboard.student-portal .dash-side a.active,.dashboard.parent-portal .dash-side a.active{box-shadow:inset 3px 0 0 #70c5b2}
.dashboard.student-portal .dash-main,.dashboard.parent-portal .dash-main,.dashboard.portal-preview .dash-main{min-width:0}

.portal-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 12px}.portal-page-head .kicker{margin:0 0 5px;color:#267668;font-size:10.5px;letter-spacing:.07em;text-transform:uppercase}.portal-page-head h1{margin:0;color:var(--portal-navy);font-family:Manrope,Inter,Arial,sans-serif;font-size:clamp(24px,2vw,30px);line-height:1.12;letter-spacing:-.025em}.portal-page-head p{max-width:720px;margin:6px 0 0;color:#526c82;font-size:13px;line-height:1.5}.portal-head-action{flex:0 0 auto;display:inline-flex;align-items:center;min-height:36px;padding:0 11px;border-radius:9px;background:#e5eff7;color:#1f5e8d!important;font-size:11.5px;text-decoration:none}

.portal-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:0 0 11px}.portal-kpi{position:relative;overflow:hidden;min-height:84px;padding:12px 13px;border-radius:13px;color:#fff;box-shadow:0 8px 19px rgba(24,63,98,.11);background:#2c679e}.portal-kpi.blue{background:linear-gradient(135deg,#3478b8,#275f94)}.portal-kpi.teal{background:linear-gradient(135deg,#218f88,#176f6c)}.portal-kpi.purple{background:linear-gradient(135deg,#7758c7,#5d40aa)}.portal-kpi.gold{background:linear-gradient(135deg,#c08a2a,#a46d16)}.portal-kpi.coral{background:linear-gradient(135deg,#c16359,#a64c46)}.portal-kpi:after{content:'';position:absolute;right:-25px;top:-38px;width:88px;height:88px;border-radius:50%;background:rgba(255,255,255,.08)}.portal-kpi-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px}.portal-kpi-title{font-size:11px;line-height:1.15;text-transform:uppercase;letter-spacing:.035em;color:rgba(255,255,255,.95)}.portal-kpi-icon{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18)}.portal-kpi-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.portal-kpi-value{position:relative;z-index:1;display:block;margin-top:7px;font-family:Manrope,Inter,Arial,sans-serif;font-size:23px;line-height:1;font-weight:500!important;color:#fff}.portal-kpi-note{position:relative;z-index:1;display:block;margin-top:4px;color:rgba(255,255,255,.86);font-size:10.5px;line-height:1.25}

.dashboard.student-portal .dash-panel,.dashboard.parent-portal .dash-panel,.dashboard.portal-preview .dash-panel{margin:0;border:1px solid var(--portal-line);border-radius:13px;padding:14px;background:#fff;box-shadow:0 5px 17px rgba(18,52,82,.035)}.portal-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:9px}.portal-panel-head .kicker{margin:0 0 3px;color:#267668;font-size:9.5px;text-transform:uppercase;letter-spacing:.065em}.portal-panel-head h3{margin:0;color:var(--portal-navy);font-size:15.5px;line-height:1.2}.portal-panel-head a{font-size:11px;font-weight:600;color:#246b9d;text-decoration:none}.portal-panel-head a:hover{text-decoration:underline}
.portal-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:11px}.portal-stack{display:grid;gap:11px}.portal-empty{padding:15px;border:1px dashed #cbdbe7;border-radius:10px;background:#f8fbfd;color:#637c90;font-size:12px;line-height:1.45}

.dashboard.student-portal .activity-row,.dashboard.parent-portal .activity-row,.dashboard.portal-preview .activity-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #e8eef3}.dashboard.student-portal .activity-row:last-child,.dashboard.parent-portal .activity-row:last-child,.dashboard.portal-preview .activity-row:last-child{border-bottom:0}.dashboard.student-portal .activity-icon,.dashboard.parent-portal .activity-icon,.dashboard.portal-preview .activity-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#e8f3f1;color:#217368;font-size:9px;font-weight:600}.dashboard.student-portal .activity-row b,.dashboard.parent-portal .activity-row b,.dashboard.portal-preview .activity-row b{display:block;color:#173954;font-size:12px;line-height:1.3}.dashboard.student-portal .activity-row p,.dashboard.parent-portal .activity-row p,.dashboard.portal-preview .activity-row p{margin:2px 0 0;color:#6a7f91;font-size:10.75px;line-height:1.35}.dashboard.student-portal .activity-row span,.dashboard.parent-portal .activity-row span,.dashboard.portal-preview .activity-row span{font-size:10.75px;color:#667d91}.dashboard.student-portal .link-arrow,.dashboard.parent-portal .link-arrow,.dashboard.portal-preview .link-arrow{font-size:11px;color:#226b9c!important;font-weight:600;text-decoration:none}

.portal-progress{height:7px;border-radius:999px;background:#e8eef3;overflow:hidden;margin-top:6px}.portal-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2e75ac,#2a8b7a)}
.portal-course-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #e8eef3}.portal-course-row:last-child{border-bottom:0}.portal-course-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e7f1fa;color:#235f8c;font-size:10px;font-weight:600}.portal-course-row h4{margin:0;color:#173954;font-size:12.5px}.portal-course-row p{margin:2px 0 0;color:#6b8092;font-size:10.75px}.portal-course-progress{min-width:96px;text-align:right}.portal-course-progress b{display:block;color:#173954;font-size:12px}.portal-course-progress span{font-size:10px;color:#73889a}

.parent-portal .parent-child-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.parent-portal .parent-child-card{border:1px solid #d7e4ec;border-radius:12px;padding:13px;background:#fbfdff}.parent-portal .parent-child-top{display:flex;align-items:center;gap:10px}.parent-portal .parent-child-top h3{margin:0;color:#173954;font-size:14px}.parent-portal .parent-child-top p{margin:2px 0 0;color:#6c8193;font-size:10.75px}.parent-portal .parent-mini-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:11px 0}.parent-portal .parent-mini-kpis span{background:#edf4f8;border-radius:8px;padding:8px;color:#60798d;font-size:9.75px}.parent-portal .parent-mini-kpis b{display:block;margin-bottom:2px;color:#173954;font-size:14px;font-weight:600}.parent-portal .parent-permissions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.parent-portal .parent-permissions span{font-size:9.5px;padding:4px 7px;border-radius:999px;background:#e6f3ef;color:#24695b}.parent-portal .btn{min-height:34px;padding:8px 11px;border-radius:8px;font-size:10.75px}
.portal-note-card{border:1px solid #d7e5ed;border-radius:12px;padding:13px;background:#f9fcfe}.portal-note-card h3{margin:0 0 4px;color:#173954;font-size:13.5px}.portal-note-card p{margin:0;color:#657c8f;font-size:11.5px;line-height:1.5}.portal-note-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}

.portal-preview-banner{width:min(1460px,calc(100% - 36px));margin:14px auto -4px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border:1px solid #cbdde8;border-radius:11px;background:#f7fbfe;color:#38556d;font-size:11.5px}.portal-preview-switch{display:flex;gap:6px}.portal-preview-switch a{display:inline-flex;align-items:center;min-height:31px;padding:0 9px;border-radius:8px;background:#e5eef6;color:#1d577f!important;text-decoration:none;font-size:10.5px}.portal-preview-switch a.active{background:#17466f;color:#fff!important}

@media(max-width:1180px){.portal-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard.student-portal .dash-grid,.dashboard.parent-portal .dash-grid,.dashboard.portal-preview .dash-grid{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:920px){.dashboard.student-portal .dash-grid,.dashboard.parent-portal .dash-grid,.dashboard.portal-preview .dash-grid{grid-template-columns:1fr}.dashboard.student-portal .dash-side,.dashboard.parent-portal .dash-side,.dashboard.portal-preview .dash-side{position:static;min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.dashboard.student-portal .dash-side a,.dashboard.parent-portal .dash-side a,.dashboard.portal-preview .dash-side a{text-align:center;justify-content:center}.portal-section-grid{grid-template-columns:1fr}.parent-portal .parent-child-grid{grid-template-columns:1fr}}
@media(max-width:700px){.portal-topbar,.dashboard.student-portal .dash-grid,.dashboard.parent-portal .dash-grid,.dashboard.portal-preview .dash-grid,.portal-preview-banner{width:calc(100% - 22px)}.portal-topbar{margin-top:11px;min-height:58px;padding:8px 10px}.portal-context{display:none}.portal-user-copy{display:none}.portal-top-link{display:none}.dashboard.student-portal .dash-side,.dashboard.parent-portal .dash-side,.dashboard.portal-preview .dash-side{grid-template-columns:repeat(2,minmax(0,1fr));padding:9px}.dashboard.student-portal .dash-side a,.dashboard.parent-portal .dash-side a,.dashboard.portal-preview .dash-side a{min-height:35px;font-size:10.5px;padding:7px 8px}.portal-page-head{display:block}.portal-head-action{margin-top:9px}.portal-kpis{grid-template-columns:1fr 1fr;gap:7px}.portal-kpi{min-height:78px;padding:11px}.portal-kpi-value{font-size:21px}.portal-section-grid{gap:8px;margin-top:8px}.dashboard.student-portal .dash-panel,.dashboard.parent-portal .dash-panel,.dashboard.portal-preview .dash-panel{padding:12px}.dashboard.student-portal .activity-row,.dashboard.parent-portal .activity-row,.dashboard.portal-preview .activity-row,.portal-course-row{grid-template-columns:31px minmax(0,1fr);gap:8px}.dashboard.student-portal .activity-row>span,.dashboard.parent-portal .activity-row>span,.dashboard.portal-preview .activity-row>span,.portal-course-progress{grid-column:2;text-align:left}.parent-portal .parent-mini-kpis{grid-template-columns:1fr 1fr 1fr}.portal-preview-banner{display:block}.portal-preview-switch{margin-top:8px}}
@media(max-width:470px){.portal-kpis{grid-template-columns:1fr}.parent-portal .parent-mini-kpis{grid-template-columns:1fr}.dashboard.student-portal .dash-side,.dashboard.parent-portal .dash-side,.dashboard.portal-preview .dash-side{grid-template-columns:1fr 1fr}}


/* 2026-09-15 FS1 - shared Student / Parent full-width menu toggle */
.portal-sidebar-toggle{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 10px;
  border:1px solid #cfdee8;
  border-radius:9px;
  background:#f4f8fb;
  color:#173f60;
  cursor:pointer;
  font:550 11px/1 Inter,Arial,sans-serif;
  flex:0 0 auto;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
}
.portal-sidebar-toggle:hover{background:#e9f2f8;border-color:#b9d0df}
.portal-sidebar-toggle-icon{width:16px;display:grid;gap:3px}
.portal-sidebar-toggle-icon i{display:block;width:16px;height:2px;border-radius:2px;background:currentColor;transition:transform .18s ease,width .18s ease,opacity .18s ease}
.portal-sidebar-toggle-label{white-space:nowrap}
.portal-topbar .portal-sidebar-toggle{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.16);color:#fff}
.portal-topbar .portal-sidebar-toggle:hover{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.24)}
.dash-header .portal-sidebar-toggle{margin-left:auto;margin-right:10px}
.dashboard.portal-sidebar-collapsed .dash-grid{grid-template-columns:minmax(0,1fr)!important;width:min(1600px,calc(100% - 36px))!important}
.dashboard.portal-sidebar-collapsed .dash-side{display:none!important}
.dashboard.portal-sidebar-collapsed .dash-main{width:100%!important;max-width:none!important;min-width:0!important}
.dashboard.portal-sidebar-collapsed .portal-sidebar-toggle-icon i:first-child{transform:translateY(5px) rotate(45deg)}
.dashboard.portal-sidebar-collapsed .portal-sidebar-toggle-icon i:nth-child(2){width:0;opacity:0}
.dashboard.portal-sidebar-collapsed .portal-sidebar-toggle-icon i:last-child{transform:translateY(-5px) rotate(-45deg)}
.portal-sidebar-toggle-floating{margin:10px 18px}
@media(max-width:920px){
  .dashboard.portal-sidebar-collapsed .dash-grid{width:calc(100% - 24px)!important}
  .portal-sidebar-toggle{min-height:35px;padding:0 9px}
}
@media(max-width:700px){
  .portal-sidebar-toggle-label{display:none}
  .portal-sidebar-toggle{width:36px;padding:0}
  .dash-header .portal-sidebar-toggle{margin-left:auto;margin-right:7px}
}

/* 2026-09-15 UAT Phase 3 - simple student learning journey */
.student-focus-card,.student-recommended-card,.student-result-next,.student-next-step{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 12px;padding:16px 18px;border:1px solid #d5e3ec;border-radius:14px;background:linear-gradient(135deg,#f8fbfe,#eef6f4);box-shadow:0 6px 18px rgba(23,57,84,.045)}
.student-focus-card.is-complete{background:linear-gradient(135deg,#f7fbf9,#f2f6fb)}
.student-focus-copy,.student-recommended-card>div,.student-result-next>div,.student-next-step>div{min-width:0}.student-focus-label{display:block;margin-bottom:4px;color:#17786f;font-size:10px;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;font-weight:600}.student-focus-card h2,.student-recommended-card h2,.student-result-next h2,.student-next-step h2{margin:0;color:#173954;font-size:18px;line-height:1.25;font-weight:600}.student-focus-card p,.student-recommended-card p,.student-result-next p,.student-next-step p{margin:4px 0 0;color:#5f7689;font-size:12px;line-height:1.45}.student-focus-card small,.student-recommended-card small{display:block;margin-top:5px;color:#61798c;font-size:11px}.student-focus-actions,.student-result-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.student-focus-card .btn,.student-recommended-card .btn,.student-result-next .btn{min-height:38px;padding:8px 13px;font-size:11.5px;white-space:nowrap}
.student-course-back{display:inline-flex;margin-bottom:8px;color:#285f89!important;font-size:11.25px;font-weight:600;text-decoration:none}.student-section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:18px 0 9px}.student-section-title h2{margin:0;color:#173954;font-size:17px}.student-section-title .kicker{margin-bottom:3px}.student-recommended-card{margin-top:14px;background:linear-gradient(135deg,#f6fbfa,#eef5fb)}.student-recommended-card.exam{background:linear-gradient(135deg,#f7f5fc,#eef4fb)}
.student-flow-message{margin:0 0 12px;padding:10px 12px;border:1px solid #cce2da;border-radius:10px;background:#eef8f4;color:#2a675a;font-size:11.5px;font-weight:500}

.student-course-main{min-width:0}.student-course-head{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px;align-items:end;margin:0 0 14px}.student-course-head h1{margin:0 0 5px;color:#133a5b;font-size:clamp(25px,2.2vw,32px);line-height:1.1;font-weight:600;letter-spacing:-.025em}.student-course-head p{margin:0;color:#60778a;font-size:12.5px;line-height:1.5}.student-course-progress-card{padding:13px 14px;border:1px solid #d7e3ec;border-radius:12px;background:#fff}.student-course-progress-card>span{display:block;color:#657d90;font-size:10.5px}.student-course-progress-card>strong{display:block;margin:3px 0 1px;color:#173954;font-size:24px;line-height:1;font-weight:500}.student-course-progress-card small{display:block;margin-top:5px;color:#73889a;font-size:10px}
.student-course-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:13px;align-items:start}.student-lesson-focus{position:relative;padding:20px;border:1px solid #d6e2eb;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(22,60,96,.045)}.student-lesson-meta{display:flex;gap:6px;flex-wrap:wrap;padding-right:90px}.student-lesson-meta span{display:inline-flex;min-height:24px;align-items:center;padding:0 8px;border-radius:999px;background:#eef4f8;color:#557086;font-size:10px}.student-lesson-status{position:absolute;right:16px;top:16px;padding:5px 8px;border-radius:999px;font-size:9.75px;font-weight:600}.student-lesson-status.is-current{background:#e4f2ef;color:#176e65}.student-lesson-status.is-complete{background:#e7f1fa;color:#285f8c}.student-lesson-focus h2{margin:14px 0 8px;color:#143a5a;font-size:22px;line-height:1.2;font-weight:600}.student-lesson-content{color:#415c72;font-size:13px;line-height:1.72;white-space:normal}.student-lesson-empty{color:#70869a}.student-lesson-resources{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.student-lesson-resources .btn{min-height:36px;padding:7px 11px;font-size:11px}.student-lesson-actions{display:flex;justify-content:flex-end;margin-top:18px;padding-top:14px;border-top:1px solid #e5edf2}.student-lesson-actions form{margin:0}.student-lesson-actions .btn{min-height:40px;padding:8px 14px;font-size:11.5px}
.student-course-outline{overflow:hidden;border:1px solid #d7e3ec;border-radius:14px;background:#fff}.student-outline-head{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;background:#123b64;color:#fff}.student-outline-head span{font-size:11.25px;font-weight:600}.student-outline-head b{font-size:10.5px;font-weight:500}.student-outline-module{padding:9px 12px 5px;color:#6a8295;font-size:9.5px;text-transform:uppercase;letter-spacing:.055em;font-weight:600}.student-outline-row{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;align-items:center;margin:0 7px 4px;padding:8px;border-radius:9px;text-decoration:none;color:#355169!important}.student-outline-row:hover{background:#f3f7fa}.student-outline-row.is-active{background:#eaf3fa;color:#174f7b!important}.student-outline-row.is-complete{color:#557083!important}.student-outline-no{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:#edf3f7;color:#4b6a82;font-size:9.5px;font-weight:600}.student-outline-row.is-active .student-outline-no{background:#2d6f9f;color:#fff}.student-outline-row.is-complete .student-outline-no{background:#e1f1eb;color:#23715e}.student-outline-row b{display:block;font-size:11px;line-height:1.3;font-weight:550}.student-outline-row small{display:block;margin-top:2px;color:#7890a2;font-size:9.5px}.student-no-lessons{padding:24px;border:1px dashed #cbdbe7;border-radius:13px;background:#f9fcfe;text-align:center}.student-no-lessons h2{margin:0 0 5px;color:#173954;font-size:18px}.student-no-lessons p{margin:0 auto 12px;max-width:600px;font-size:12px}.student-next-step{display:block;margin-top:14px}.student-next-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.student-next-option{display:block;padding:11px;border:1px solid #d8e4ec;border-radius:11px;background:#fff;color:#31516a!important;text-decoration:none}.student-next-option.primary{background:#123b64;border-color:#123b64;color:#fff!important}.student-next-option span{display:block;font-size:9.5px;text-transform:uppercase;letter-spacing:.05em;opacity:.8}.student-next-option b{display:block;margin-top:3px;font-size:12px;line-height:1.3;font-weight:600}.student-next-option small{display:block;margin-top:2px;font-size:9.75px;opacity:.75}
.student-result-next{margin:16px 0 0;background:#f5fafc}.student-result-next h2{font-size:16px}.student-result-next p{max-width:650px}.practice-result-hero .student-result-next{text-align:left}.practice-result-hero .student-result-next p{margin-left:0;margin-right:0}

@media(max-width:1050px){.student-course-layout{grid-template-columns:1fr}.student-course-outline{order:-1}.student-outline-row{grid-template-columns:25px minmax(0,1fr)}.student-next-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.student-focus-card,.student-recommended-card,.student-result-next{align-items:flex-start;flex-direction:column;padding:14px}.student-focus-actions,.student-result-actions{justify-content:flex-start}.student-course-head{grid-template-columns:1fr}.student-course-progress-card{max-width:300px}.student-lesson-focus{padding:16px}.student-lesson-meta{padding-right:0}.student-lesson-status{position:static;display:inline-flex;margin-top:9px}.student-lesson-focus h2{font-size:20px}.student-next-options{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.student-next-options{grid-template-columns:1fr}.student-focus-card .btn,.student-recommended-card .btn,.student-result-next .btn{width:100%}.student-result-actions{width:100%}.student-result-actions .btn{width:100%}.student-course-progress-card{max-width:none}}


/* 2026-09-15 UAT Phase 4 - simple parent journey */
.parent-simple-head{align-items:end}.parent-child-picker{flex:0 0 auto}.parent-child-picker label{display:flex;flex-direction:column;gap:5px;color:#577086;font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:600}.parent-child-picker select{min-width:210px;min-height:38px;padding:7px 10px;border:1px solid #cbdbe6;border-radius:9px;background:#fff;color:#173954;font:500 12px Inter,Arial,sans-serif}
.parent-focus-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 11px;padding:15px 17px;border:1px solid #cfe0e7;border-radius:14px;background:linear-gradient(135deg,#f7fbfa,#eef5fb);box-shadow:0 6px 18px rgba(23,57,84,.045)}.parent-focus-card>div{min-width:0}.parent-focus-card h2{margin:0;color:#173954;font-size:17px;line-height:1.25}.parent-focus-card p{margin:4px 0 0;color:#5f7689;font-size:12px;line-height:1.45}.parent-focus-card .btn{min-height:38px;padding:8px 13px;font-size:11.5px;white-space:nowrap}
.parent-simple-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.parent-simple-kpis .portal-kpi{min-height:78px}.parent-simple-kpis .portal-kpi-note{display:none}.parent-simple-kpis .portal-kpi-value{font-size:22px;font-weight:500}.parent-quick-panel{margin-top:0}.parent-simple-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.parent-simple-actions a{display:block;min-width:0;padding:12px;border:1px solid #d7e3ec;border-radius:11px;background:#fff;color:#31516a!important;text-decoration:none}.parent-simple-actions a:hover{background:#f3f8fb;border-color:#c3d7e5}.parent-simple-actions span{display:block;color:#6a8295;font-size:9.5px;text-transform:uppercase;letter-spacing:.055em}.parent-simple-actions b{display:block;margin-top:3px;color:#173954;font-size:13px;line-height:1.25}.parent-simple-actions small{display:block;margin-top:3px;color:#71889a;font-size:10.5px;line-height:1.35}.parent-account-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 0;padding:10px 12px;border:1px solid #d8e4ec;border-radius:11px;background:#fff}.parent-account-strip a{display:inline-flex;min-height:31px;align-items:center;padding:0 9px;border-radius:8px;background:#eef4f8;color:#285f89!important;font-size:10.75px;text-decoration:none;font-weight:600}.parent-empty-focus{text-align:center;padding:28px}.parent-empty-focus h2{margin:0 0 6px;color:#173954}.parent-empty-focus p{margin:0 auto 13px;max-width:620px;color:#60798c;font-size:12px}
.parent-attention-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 11px;padding:12px 14px;border:1px solid #e9d4b8;border-radius:12px;background:#fff8ee}.parent-attention-card span{display:block;color:#a06a18;font-size:9.5px;text-transform:uppercase;letter-spacing:.055em;font-weight:600}.parent-attention-card b{display:block;margin-top:2px;color:#5f461f;font-size:13px}.parent-attention-card small{display:block;margin-top:2px;color:#7d6849;font-size:10.5px}.parent-attention-card .btn{min-height:36px;padding:7px 11px;font-size:10.75px}.parent-result-snapshot,.parent-results-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:11px}.parent-result-snapshot .dash-panel,.parent-results-grid .dash-panel{margin:0}.parent-big-result{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:8px 0 2px}.parent-big-result strong{color:#176f86;font-size:27px;line-height:1;font-weight:500}.parent-big-result span,.parent-muted{color:#6e8495;font-size:10.75px}.parent-result-list{display:grid;gap:0}.parent-result-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e5edf2}.parent-result-list article:last-child{border-bottom:0}.parent-result-list b{display:block;color:#24465f;font-size:11.75px}.parent-result-list small{display:block;margin-top:2px;color:#7a8fa0;font-size:9.75px}.parent-result-list strong{flex:0 0 auto;color:#176f86;font-size:17px;font-weight:500}
.parent-more-nav{margin-top:3px;border-top:1px solid rgba(255,255,255,.08);padding-top:6px}.parent-more-nav summary{display:flex;align-items:center;min-height:34px;padding:7px 10px;border-radius:8px;color:#a9bfd0;font-size:10.5px;font-weight:600;cursor:pointer;list-style:none}.parent-more-nav summary::-webkit-details-marker{display:none}.parent-more-nav summary:after{content:'+';margin-left:auto;font-size:13px}.parent-more-nav[open] summary:after{content:'−'}.parent-more-nav a{margin-top:3px;margin-left:6px!important;min-height:34px!important;font-size:11px!important}
@media(max-width:1050px){.parent-simple-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.parent-result-snapshot,.parent-results-grid{grid-template-columns:1fr}}
@media(max-width:760px){.parent-simple-head{align-items:flex-start}.parent-child-picker{width:100%;margin-top:10px}.parent-child-picker select{width:100%}.parent-focus-card,.parent-attention-card{align-items:flex-start;flex-direction:column}.parent-focus-card .btn,.parent-attention-card .btn{width:100%}.parent-simple-kpis{grid-template-columns:1fr 1fr}.parent-simple-actions{grid-template-columns:1fr 1fr}.parent-account-strip{align-items:stretch}.parent-account-strip a{flex:1 1 calc(50% - 6px);justify-content:center}}
@media(max-width:520px){.parent-simple-kpis,.parent-simple-actions{grid-template-columns:1fr}.parent-account-strip a{flex-basis:100%}}

/* 2026-09-15 - Student / Parent full-width application shell
   Match the admin workspace on desktop: edge-to-edge topbar, fixed-width sidebar,
   and a full-width content canvas. Mobile/tablet navigation remains unchanged. */
@media (min-width:921px){
  .dashboard.student-portal,
  .dashboard.parent-portal{
    padding-bottom:0;
  }

  .dashboard.student-portal .portal-topbar,
  .dashboard.parent-portal .portal-topbar{
    width:100%;
    max-width:none;
    margin:0;
    min-height:68px;
    padding:10px 24px;
    border-radius:0;
    box-shadow:0 1px 0 rgba(7,35,58,.18),0 8px 22px rgba(15,46,76,.08);
  }

  .dashboard.student-portal .dash-grid,
  .dashboard.parent-portal .dash-grid{
    width:100%;
    max-width:none;
    margin:0;
    grid-template-columns:238px minmax(0,1fr);
    gap:0;
    align-items:stretch;
    min-height:calc(100vh - 68px);
  }

  .dashboard.student-portal .dash-side,
  .dashboard.parent-portal .dash-side{
    position:sticky;
    top:0;
    align-self:start;
    width:100%;
    min-height:calc(100vh - 68px);
    height:calc(100vh - 68px);
    padding:18px 12px;
    border-radius:0;
    box-shadow:none;
    overflow-y:auto;
  }

  .dashboard.student-portal .dash-main,
  .dashboard.parent-portal .dash-main{
    width:100%;
    max-width:none;
    min-width:0;
    padding:24px 26px 42px;
    overflow-x:hidden;
  }

  .dashboard.student-portal.portal-sidebar-collapsed .dash-grid,
  .dashboard.parent-portal.portal-sidebar-collapsed .dash-grid{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:minmax(0,1fr)!important;
  }

  .dashboard.student-portal.portal-sidebar-collapsed .dash-main,
  .dashboard.parent-portal.portal-sidebar-collapsed .dash-main{
    width:100%!important;
    max-width:none!important;
    padding-left:28px;
    padding-right:28px;
  }
}

@media (min-width:921px) and (max-width:1180px){
  .dashboard.student-portal .dash-grid,
  .dashboard.parent-portal .dash-grid{
    grid-template-columns:218px minmax(0,1fr);
  }

  .dashboard.student-portal .dash-main,
  .dashboard.parent-portal .dash-main{
    padding:22px 20px 38px;
  }
}
.student-course-video-progress{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border-radius:8px;background:#edf7f3;color:#2b7668;font-size:9px;font-weight:600}
/* 2026-09-22 Phase 3 - parent video learning visibility */
.parent-video-preview{margin-top:11px}.parent-video-mini-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:9px 0 5px}.parent-video-mini-summary span{min-width:0;padding:9px 10px;border:1px solid #dce8ef;border-radius:9px;background:#f7fafc;color:#71879a;font-size:9.5px}.parent-video-mini-summary b{display:block;margin-bottom:2px;color:#173954;font-size:16px;font-weight:600}.parent-video-mini-list{display:grid;gap:0;margin-top:6px}.parent-video-mini-list article{display:grid;grid-template-columns:minmax(0,1fr) minmax(135px,220px);gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #e6edf2}.parent-video-mini-list article:last-child{border-bottom:0}.parent-video-mini-list b{display:block;color:#294a62;font-size:11.5px}.parent-video-mini-list small{display:block;margin-top:2px;color:#7b8fa0;font-size:9.5px}.parent-video-mini-progress{display:flex;align-items:center;gap:8px}.parent-video-mini-progress i{height:6px;flex:1;overflow:hidden;border-radius:999px;background:#e6edf2}.parent-video-mini-progress u{display:block;height:100%;border-radius:inherit;background:#2b8b79;text-decoration:none}.parent-video-mini-progress span{min-width:58px;text-align:right;color:#4f6d81;font-size:9.5px;font-weight:600}
@media(max-width:760px){.parent-video-mini-summary{grid-template-columns:1fr 1fr}.parent-video-mini-list article{grid-template-columns:1fr}.parent-video-mini-progress span{text-align:left}}
@media(max-width:520px){.parent-video-mini-summary{grid-template-columns:1fr 1fr}}


/* 2026-09-23 - Portal sidebar: independent scrolling menu + fixed bottom logout */
.dashboard.student-portal .dash-side,
.dashboard.parent-portal .dash-side{
  overflow:hidden;
}
.portal-side-scroll{
  display:flex;
  flex:1 1 auto;
  min-height:0;
  flex-direction:column;
  gap:4px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(169,197,219,.5) transparent;
}
.portal-side-scroll::-webkit-scrollbar{width:5px}
.portal-side-scroll::-webkit-scrollbar-track{background:transparent}
.portal-side-scroll::-webkit-scrollbar-thumb{background:rgba(169,197,219,.42);border-radius:999px}
.portal-side-footer{
  flex:0 0 auto;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.11);
}
.dashboard.student-portal .dash-side .portal-side-logout,
.dashboard.parent-portal .dash-side .portal-side-logout{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  min-height:42px;
  margin:0;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:10px;
  background:rgba(255,255,255,.075);
  color:#fff!important;
  font-size:12px;
  font-weight:600;
  text-decoration:none;
  box-shadow:none;
}
.dashboard.student-portal .dash-side .portal-side-logout:hover,
.dashboard.parent-portal .dash-side .portal-side-logout:hover{
  background:rgba(207,78,78,.20);
  border-color:rgba(255,180,180,.30);
  color:#fff!important;
}
.portal-side-logout svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:920px){
  .dashboard.student-portal .dash-side,
  .dashboard.parent-portal .dash-side,
  .dashboard.portal-preview .dash-side{overflow:hidden!important;padding-bottom:12px!important}
  .portal-side-footer{padding-bottom:env(safe-area-inset-bottom)}
}


/* 2026-09-26 - Official Bright Mind logo on white brand tile for dark student/parent portal headers */
.portal-topbar .portal-brand-logo{
  flex:0 0 auto;
  gap:0;
  padding:0;
  color:inherit;
}
.portal-topbar .portal-brand-logo-shell{
  width:190px;
  height:46px;
  padding:6px 12px;
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid rgba(255,255,255,.92);
  box-shadow:0 5px 14px rgba(4,25,46,.18);
  overflow:hidden;
}
.portal-topbar .portal-brand-logo-shell img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(max-width:1180px){
  .portal-topbar .portal-brand-logo-shell{width:170px;height:44px;padding:6px 10px}
}
@media(max-width:920px){
  .portal-topbar .portal-brand-logo-shell{width:154px;height:42px}
}
@media(max-width:620px){
  .portal-topbar .portal-brand-logo-shell{width:140px;height:40px;padding:5px 9px;border-radius:9px}
}


/* 2026-09-26 Phase 17 - portal logo fixed inside desktop top-left white brand block
   User requested: white background only in the logo area, bounded by the header height
   and the left sidebar width, with the logo fully contained and not oversized. */
@media (min-width:921px){
  .dashboard.student-portal,
  .dashboard.parent-portal{
    --portal-shell-sidebar-width:298px;
    --portal-shell-topbar-height:72px;
  }

  .dashboard.student-portal .portal-topbar,
  .dashboard.parent-portal .portal-topbar{
    min-height:var(--portal-shell-topbar-height);
    padding:0 24px 0 0;
    gap:14px;
    align-items:stretch;
    overflow:hidden;
  }

  .dashboard.student-portal .portal-topbar > :not(.portal-brand-logo),
  .dashboard.parent-portal .portal-topbar > :not(.portal-brand-logo){
    align-self:center;
  }

  .dashboard.student-portal .dash-grid,
  .dashboard.parent-portal .dash-grid{
    grid-template-columns:var(--portal-shell-sidebar-width) minmax(0,1fr);
    min-height:calc(100vh - var(--portal-shell-topbar-height));
  }

  .dashboard.student-portal .dash-side,
  .dashboard.parent-portal .dash-side{
    min-height:calc(100vh - var(--portal-shell-topbar-height));
    height:calc(100vh - var(--portal-shell-topbar-height));
  }

  .dashboard.student-portal .portal-topbar .portal-brand-logo,
  .dashboard.parent-portal .portal-topbar .portal-brand-logo{
    flex:0 0 var(--portal-shell-sidebar-width);
    width:var(--portal-shell-sidebar-width);
    max-width:var(--portal-shell-sidebar-width);
    min-height:var(--portal-shell-topbar-height);
    align-self:stretch;
    margin:0 12px 0 0;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border-right:1px solid #d9e4ec;
    box-shadow:inset 0 -1px 0 rgba(11,39,69,.08);
    overflow:hidden;
  }

  .dashboard.student-portal .portal-topbar .portal-brand-logo-shell,
  .dashboard.parent-portal .portal-topbar .portal-brand-logo-shell{
    width:calc(100% - 42px);
    max-width:225px;
    height:44px;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
  }

  .dashboard.student-portal .portal-topbar .portal-brand-logo-shell img,
  .dashboard.parent-portal .portal-topbar .portal-brand-logo-shell img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
  }
}
@media (min-width:921px) and (max-width:1180px){
  .dashboard.student-portal,
  .dashboard.parent-portal{
    --portal-shell-sidebar-width:274px;
  }

  .dashboard.student-portal .portal-topbar .portal-brand-logo-shell,
  .dashboard.parent-portal .portal-topbar .portal-brand-logo-shell{
    max-width:205px;
    height:42px;
  }
}


/* 2026-09-26 Phase 18 - compact sidebar + fuller logo placement */
@media (min-width:921px){
  .dashboard.student-portal,
  .dashboard.parent-portal{
    --portal-shell-sidebar-width:245px;
    --portal-shell-topbar-height:72px;
  }

  .dashboard.student-portal .portal-topbar .portal-brand-logo,
  .dashboard.parent-portal .portal-topbar .portal-brand-logo{
    flex-basis:var(--portal-shell-sidebar-width);
    width:var(--portal-shell-sidebar-width);
    max-width:var(--portal-shell-sidebar-width);
    margin-right:12px;
  }

  .dashboard.student-portal .portal-topbar .portal-brand-logo-shell,
  .dashboard.parent-portal .portal-topbar .portal-brand-logo-shell{
    width:210px;
    max-width:calc(100% - 24px);
    height:60px;
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    overflow:hidden;
  }

  .dashboard.student-portal .portal-topbar .portal-brand-logo-shell img,
  .dashboard.parent-portal .portal-topbar .portal-brand-logo-shell img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
  }

  .dashboard.student-portal .dash-side,
  .dashboard.parent-portal .dash-side{
    padding-left:12px;
    padding-right:12px;
  }

  .dashboard.student-portal .dash-side a,
  .dashboard.parent-portal .dash-side a{
    min-height:45px;
    padding:10px 12px;
    font-size:15px!important;
    line-height:1.25;
    font-weight:550;
  }
}

@media (min-width:921px) and (max-width:1180px){
  .dashboard.student-portal,
  .dashboard.parent-portal{
    --portal-shell-sidebar-width:232px;
  }

  .dashboard.student-portal .portal-topbar .portal-brand-logo-shell,
  .dashboard.parent-portal .portal-topbar .portal-brand-logo-shell{
    width:196px;
    height:56px;
  }
}
