:root{
  --best-navy:#031227;
  --best-navy-2:#071f3e;
  --best-blue:#1487ff;
  --best-cyan:#67ddff;
  --best-ink:#0b1f3a;
  --best-muted:#66798c;
  --best-line:#dce6ef;
  --best-bg:#f4f8fc;
  --best-white:#ffffff;
  --best-good:#15845a;
  --best-warn:#ad7215;
  --best-bad:#bd3e58;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--best-ink);
  background:var(--best-bg);
  line-height:1.55;
}
a{color:inherit}
.best-topbar{
  min-height:72px;background:rgba(3,18,39,.98);color:#fff;
  display:flex;align-items:center;position:sticky;top:0;z-index:50;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.best-nav{width:min(1220px,calc(100% - 36px));margin:auto;display:flex;align-items:center;gap:26px}
.best-brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#fff;min-width:max-content}
.best-mark{
  width:34px;height:40px;display:grid;place-items:center;font-weight:800;color:#fff;
  background:linear-gradient(145deg,#00b8ff,#1568ff);
  clip-path:polygon(0 0,100% 24%,100% 76%,0 100%);
}
.best-brand-title{font-size:17px;font-weight:800}
.best-brand-sub{font-size:10px;color:#b7c7d8}
.best-links{margin-left:auto;display:flex;align-items:center;gap:20px;font-size:13px}
.best-links a{text-decoration:none;color:#dbe7f3}
.best-links a:hover{color:var(--best-cyan)}
.best-logout{display:inline;margin:0}
.best-logout button{background:none;border:0;color:#dbe7f3;padding:0;font:inherit;cursor:pointer}
.best-shell{width:min(1120px,calc(100% - 36px));margin:0 auto;padding:38px 0 70px}
.best-card,.lesson-hero,.content-card{
  background:#fff;border:1px solid var(--best-line);border-radius:16px;
  padding:24px;margin:18px 0;box-shadow:0 14px 35px rgba(24,55,86,.06);
}
.lesson-hero{
  background:linear-gradient(135deg,#071f3e,#0c4e91);color:#fff;border:0;
  padding:30px;
}
.lesson-hero .muted{color:#bfd0e1}
.eyebrow{
  text-transform:uppercase;font-size:.72rem;font-weight:800;letter-spacing:.09em;color:#1478dc;
}
.lesson-hero .eyebrow{color:var(--best-cyan)}
h1,h2,h3{line-height:1.1;letter-spacing:-.025em}
h1{font-size:clamp(2rem,4vw,3.1rem)}
h2{font-size:clamp(1.45rem,2.6vw,2rem)}
.muted{color:var(--best-muted)}
.button,button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:0 18px;border-radius:8px;border:0;
  background:var(--best-blue);color:#fff;text-decoration:none;font-weight:750;cursor:pointer;
}
.button.secondary{background:#fff;color:var(--best-ink);border:1px solid #c9d7e5}
.notice{background:#eef5fc;border:1px solid #b8d1e8;padding:14px;border-radius:9px;margin:12px 0}
.success{background:#eef8f0}
input,select,textarea{
  width:100%;padding:12px 13px;border:1px solid #cbd9e6;border-radius:8px;
  background:#fff;font:inherit;color:var(--best-ink);
}
label{display:block;margin:14px 0 6px;font-size:.88rem;font-weight:700}
code,pre{background:#eef1f4;padding:2px 5px;border-radius:4px}
.complete{color:#24723d;font-weight:700}
.back-link{display:inline-block;margin:10px 0}
.best-login-wrap{max-width:500px;margin:6vh auto}
.best-login-card{background:#fff;border:1px solid var(--best-line);border-radius:18px;padding:30px;box-shadow:0 24px 55px rgba(10,38,67,.12)}
.best-login-card h1{font-size:2.2rem;margin-bottom:10px}
.best-form-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}
.best-dashboard-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}
.best-progress{height:11px;background:#dce6ef;border-radius:99px;overflow:hidden;margin:14px 0 20px}
.best-progress>div{height:100%;background:linear-gradient(90deg,#1ec9ff,#1487ff)}
.best-path{list-style:none;padding:0;margin:0}
.best-path li{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #e6edf4}
.best-path li:last-child{border-bottom:0}
.best-path a{text-decoration:none;font-weight:700;color:#0b4e98}
.best-stat{font-weight:800}
.best-good{color:var(--best-good)}
.best-warn{color:var(--best-warn)}
.best-bad{color:var(--best-bad)}
.best-footer{padding:28px 0;background:#020d1c;color:#9dafc0;text-align:center;font-size:12px}
@media(max-width:780px){
  .best-nav{flex-wrap:wrap;padding:12px 0;gap:12px}
  .best-links{width:100%;margin-left:0;flex-wrap:wrap}
  .best-links a.best-hide-mobile{display:none}
  .best-dashboard-grid{grid-template-columns:1fr}
  .best-form-row{align-items:stretch;flex-direction:column}
}


.best-terms-check{
  display:flex!important;
  align-items:flex-start;
  gap:10px;
  margin:18px 0!important;
  font-weight:500!important;
  line-height:1.45;
}
.best-terms-check input{
  width:auto!important;
  margin-top:4px;
}
.best-terms-check a,.best-auth-switch a{
  color:#0b63b6;
  font-weight:700;
}
.best-auth-switch{
  text-align:center;
  margin:20px 0 0;
  font-size:13px;
  color:#66778a;
}

/* Learning workspace, based on the BEST course wireframe. */
.skip-link{position:absolute;left:12px;top:-80px;z-index:100;background:#fff;color:#05223b;padding:12px}
.skip-link:focus{top:8px}
:focus-visible{outline:3px solid #67ddff;outline-offset:3px}
input[type=radio],input[type=checkbox]{width:auto;accent-color:#32aeff}
fieldset{min-width:0;border:1px solid var(--best-line);border-radius:8px;margin:18px 0;padding:16px}
pre{overflow:auto;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.account-menu{position:relative}.account-menu summary{cursor:pointer}.account-menu>div{position:absolute;right:0;top:32px;min-width:170px;background:#0b1c2d;border:1px solid #284057;border-radius:8px;padding:16px;display:grid;gap:15px;z-index:60}
.learning-theme{--best-ink:#e5edf8;--best-muted:#acbbcf;--best-line:#1b3348;--best-bg:#050f18;--best-good:#58d890;--best-warn:#ffce70;--best-bad:#ff879e;background:#050f18;color:#e5edf8;font-size:14px}
.learning-theme .best-topbar{min-height:64px;background:linear-gradient(100deg,#081420,#081727);border-bottom:1px solid #26465e}
.learning-theme .best-nav{width:calc(100% - 36px);max-width:1800px}.learning-theme .best-brand-title{font-size:22px}.learning-theme .best-links{gap:24px}
.learning-frame{display:grid;grid-template-columns:264px minmax(0,1fr) 294px;max-width:1800px;margin:auto;min-height:calc(100vh - 64px)}
.learning-theme .best-shell{width:auto;min-width:0;padding:20px 20px 48px;margin:0}
.course-sidebar{padding:18px 16px;border-right:1px solid #1b3348;background:linear-gradient(180deg,#06101a,#07131d);min-width:0}
.course-sidebar h2{font-size:16px;line-height:1.4;margin:14px 0 2px}.course-sidebar p{font-size:11px}.course-sidebar .back-link{font-size:12px;text-decoration:none;margin:0 0 8px}
progress{appearance:none;display:block;height:8px;width:100%;border:0;border-radius:20px;overflow:hidden;background:#26394c;margin-top:16px}progress::-webkit-progress-bar{background:#26394c}progress::-webkit-progress-value{background:#30a8ff;border-radius:20px}progress::-moz-progress-bar{background:#30a8ff;border-radius:20px}
.sidebar-progress{display:flex;justify-content:space-between;gap:6px;color:#b7c6d8;margin:7px 0 22px}.sidebar-progress strong{color:#e5edf8}
.course-sidebar details{border-top:1px solid #1b3348}.course-sidebar summary{display:flex;align-items:center;gap:9px;padding:13px 0;cursor:pointer;font-size:12px;list-style:none}.course-sidebar summary:after{content:'⌄';margin-left:auto}.course-sidebar summary small{white-space:nowrap;color:#a8bad0}.course-sidebar details[open]>summary:after{content:'⌃'}
.module-dot{width:13px;height:13px;flex-shrink:0;border:2px solid #5bc9f2;border-radius:50%}.module-dot.done{background:#49d38c;border-color:#49d38c}
.sidebar-lesson{display:block;padding:10px 10px 10px 15px;margin:2px 0;border-left:2px solid #20354a;text-decoration:none;font-size:12px;color:#bfcede}.sidebar-lesson:hover,.sidebar-lesson.active{background:#092544;border-color:#28b4ff;color:#fff;border-radius:0 5px 5px 0}
.sidebar-note{border:1px solid #20394e;border-radius:8px;background:#0a1c2b;padding:16px;margin:28px 0 14px}.sidebar-note strong{font-size:12px;color:#54ceff}.sidebar-note p{margin-bottom:0}
.course-sidebar>a:last-child{font-size:12px;color:#52c9ff}
.workspace-heading{display:flex;justify-content:space-between;gap:15px;padding-bottom:12px;border-bottom:1px solid #182b3b;font-size:11px;color:#b6c5d7}.workspace-heading a{text-decoration:none;color:#54caff}
.learning-theme .lesson-hero{background:transparent;border:0;box-shadow:none;padding:4px 0 10px;margin:18px 0}.learning-theme h1{font-size:clamp(25px,2.5vw,36px);margin:10px 0 14px}.learning-theme h2{font-size:18px;line-height:1.3}.learning-theme h3{font-size:16px;line-height:1.3}
.learning-theme .content-card,.learning-theme .best-card{background:linear-gradient(115deg,#0c1c2c,#081520);border:1px solid #1a3449;border-radius:8px;box-shadow:none;padding:20px;margin:12px 0}
.learning-theme a{color:#56caff}.learning-theme .best-brand,.learning-theme .best-links a{color:#e5edf8}.learning-theme .button,.learning-theme button{background:#31a6f5;color:#031626;min-height:40px;font-size:12px;border:1px solid #32b9ff;border-radius:6px}.learning-theme .button.secondary{background:#071421;border-color:#31506b;color:#e2edf9}.learning-theme .best-logout button{background:none;color:#e5edf8;border:0;min-height:0;padding:0}
.learning-theme input,.learning-theme textarea,.learning-theme select{background:#06121c;color:#e5edf8;border-color:#294155}.learning-theme input::placeholder,.learning-theme textarea::placeholder{color:#99abc0}.learning-theme input[type=radio]{margin-right:8px}.learning-theme code,.learning-theme pre{background:#030d15;color:#bfd8e9}.learning-theme pre{padding:16px;border:1px solid #213a4d}
.learning-theme .notice{background:#0b2940;border-color:#346482}.learning-theme .success{background:#0b3029}.learning-theme .complete{color:#65df9c}.learning-theme .eyebrow{color:#41baff}.learning-theme .best-path li{border-color:#20364a}.learning-theme .best-path a{color:#65ccff}.learning-theme .best-progress{background:#26394c}
.learning-support{padding:40px 16px 24px 0;min-width:0}.learning-support .content-card{padding:16px}.learning-support h2{font-size:16px}.learning-support p,.learning-support li{font-size:12px}.learning-support ul{padding-left:18px}.source-list{list-style:none;padding:0!important}.source-list li{padding:10px 0;border-bottom:1px solid #1b3348}.source-list a{text-decoration:none}
.assessment-notice{background:#262818;color:#f8d681;border:1px solid #5b522b;border-radius:6px;padding:12px;margin-bottom:0}.bcid-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;list-style:none;padding:0;margin:16px 0 0}.bcid-steps li{border:1px solid #235283;background:linear-gradient(120deg,#102944,#071624);border-radius:5px;padding:14px 8px;font-size:12px;font-weight:700}.bcid-steps span{display:inline-grid;place-items:center;border-radius:50%;background:#2eacff;color:#061626;width:22px;height:22px;margin:0 5px 8px 0}
.learning-theme .best-dashboard-grid{grid-template-columns:1fr}.dashboard-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.skill-preview{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px 0;border-bottom:1px solid #1d354b}.skill-preview strong{font-size:12px;color:#69d4ff}.journey-strip{display:flex;flex-wrap:wrap;list-style:none;padding:0;gap:8px}.journey-strip li{border:1px solid #28465e;border-radius:5px;padding:8px 10px;font-size:11px;color:#c1d0e2}.learning-theme .best-footer{border-top:1px solid #1b3348;background:#07121d}
@media(min-width:1500px){.learning-frame{grid-template-columns:280px minmax(0,1fr) 320px}.learning-theme .best-shell{padding-left:30px;padding-right:30px}}
@media(max-width:1150px){.learning-frame{grid-template-columns:230px minmax(0,1fr)}.learning-support{grid-column:2;padding:0 20px 20px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.learning-support .content-card{margin:0}.learning-support .content-card:last-child{grid-column:1/-1}.course-sidebar{grid-row:span 2}.learning-theme .best-links{gap:14px}.bcid-steps{grid-template-columns:repeat(3,1fr)}}
@media(max-width:780px){.learning-frame{display:flex;flex-direction:column}.course-sidebar{border-right:0;border-bottom:1px solid #1b3348}.course-sidebar nav{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.sidebar-note{display:none}.learning-support{padding:0 16px 24px}.learning-theme .best-nav{flex-wrap:wrap;padding:12px 0;gap:12px}.learning-theme .best-links{width:100%;margin:0;justify-content:space-between;flex-wrap:wrap}.learning-theme .best-links a.best-hide-mobile{display:inline}.learning-theme .best-shell{padding:18px 16px}.learning-theme .best-brand-title{font-size:20px}.learning-theme .best-topbar{position:relative}.bcid-steps{grid-template-columns:repeat(5,1fr)}.bcid-steps li{font-size:10px;padding:8px 4px}}
@media(max-width:480px){.course-sidebar nav,.learning-support{display:block}.learning-support .content-card{margin-bottom:12px}.bcid-steps{grid-template-columns:repeat(3,1fr)}.workspace-heading{flex-wrap:wrap}.skill-preview{grid-template-columns:1fr}.learning-theme .best-links{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.course-menu-toggle{display:none!important}.course-sidebar nav[hidden]{display:none!important}
.learning-theme .lesson-objectives{border-color:#22415a}.lesson-objectives li{margin:8px 0}.lesson-actions{position:sticky;bottom:0;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#071522f5;border-top:1px solid #2a485f;padding:14px;margin-top:20px;backdrop-filter:blur(10px)}.lesson-actions a{font-size:12px}.lesson-actions .button{white-space:normal;text-align:center}
@media(max-width:780px){.course-menu-toggle{display:flex!important;width:100%;justify-content:space-between;margin:12px 0;background:#0b263d!important;color:#d9edff!important;border-color:#29485f!important}.course-sidebar nav{padding-bottom:12px}.lesson-actions{position:static;padding:12px 0;flex-wrap:wrap}}
.report-table-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.report-table-scroll table{width:100%;border-collapse:collapse}
.report-table-scroll th,.report-table-scroll td{padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--best-line)}
.report-table-scroll thead{background:#eef5fc}

/* The Foundations journey uses real text so it remains readable at every size. */
.foundations-roadmap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:24px 0}
.foundations-roadmap li{display:flex;align-items:flex-start;gap:12px;min-width:0;border:1px solid #294b65;border-radius:8px;background:linear-gradient(135deg,#102c43,#081723);padding:18px}
.roadmap-number{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#31a6f5;color:#031626;font-weight:700;font-size:16px}
.foundations-roadmap h3,.roadmap-tutor h3{margin:2px 0 8px}
.foundations-roadmap p,.roadmap-tutor p{margin:0;line-height:1.65;color:#bfcfe0}
.roadmap-tutor{display:flex;align-items:flex-start;gap:14px;border-top:1px solid #294b65;padding-top:20px}
.roadmap-tutor-mark{display:grid;place-items:center;flex:0 0 34px;height:34px;border:1px solid #56caff;border-radius:8px;color:#56caff;font-size:20px;font-weight:700}
.roadmap-tutor a{display:inline-block;margin-top:12px}
@media(max-width:600px){.foundations-roadmap{grid-template-columns:1fr}.foundations-roadmap li{padding:14px}}
