
/* The Stock Market: From the Ground Up — responsive Boot Camp Academy. */
body.gu-bc-learning .academy-program-grid{
 display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;
 margin:20px 0 28px;
}
.academy-program{display:flex;flex-direction:column;gap:11px;min-width:0;
 background:#10283c;border:1px solid #40647b;border-radius:14px;padding:19px}
.academy-program h3{font-size:1.1rem;margin:0;color:#f2db9b}
.academy-program p{margin:0;line-height:1.5}
.academy-program .academy-duration{color:#e7c36f;font-weight:700}
.academy-program a{margin-top:auto;align-self:flex-start}
.academy-workspace{border:1px solid #456e83;border-radius:14px;padding:clamp(12px,1.7vw,28px);background:#0c1e2d}
.academy-workspace[hidden]{display:none!important}
.academy-course-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,auto);gap:20px;
 justify-content:space-between;align-items:start;margin-bottom:18px}
.academy-course-head h2{margin:0 0 7px}
.academy-study-grid{width:100%;max-width:none;min-width:0;grid-template-columns:clamp(200px,17vw,320px) minmax(0,1fr)}
.academy-study-grid>*{min-width:0}
.academy-study-grid .gu-bc-index{position:sticky;top:88px;max-height:80vh;overflow:auto}
.academy-related{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0}
.academy-related a{padding:7px 10px;display:inline-flex;border:1px solid #466985;border-radius:7px;color:#def0f8}
.academy-related a:hover,.academy-related a:focus-visible{outline:2px solid #f1d08a;outline-offset:2px}
#academy-lab-slot{min-width:0;width:100%;container-type:inline-size}
#academy-member-progress{font-weight:600;color:#d3e6f0}
#academy-save-status{min-height:2rem}
#academy-programs .academy-program--active{border-color:#dfb34a;box-shadow:0 0 0 1px #dba94c}
@media(min-width:1100px){
 body.gu-bc-learning main.section>.wrap{width:calc(100% - clamp(32px,4vw,80px))!important;max-width:2180px!important;margin-inline:auto}
}
@media(max-width:1050px){.academy-study-grid{grid-template-columns:1fr}
 .academy-study-grid .gu-bc-index{position:static;max-height:none}
 .academy-study-grid .gu-bc-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:7px;max-height:340px;overflow:auto}
}
@media(max-width:670px){.academy-course-head{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.academy-workspace *{scroll-behavior:auto}}


/* All six extended Academy courses mount the SAME nine-stage Lab engine in
   #academy-lab-slot, not #gu-v32-teaching-slot (the standalone Lab ID).
   Full-width chart/Talia layout therefore needs an explicit Academy bridge. */
#academy-lab-slot .gu-v32.gu-v33{
 width:100%;max-width:none;min-width:0;padding:clamp(12px,1.3vw,22px);
 background:#111e2b;border:1px solid #365873;border-radius:12px;
}
#academy-lab-slot .gu-v34-unified-lesson{
 width:100%!important;max-width:none!important;min-width:0!important;
 margin:0!important;display:grid!important;gap:clamp(12px,1.3vw,24px);
}
#academy-lab-slot .gu-v34-unified-lesson>.gu-l33-graphic,
#academy-lab-slot .gu-v34-unified-lesson>.gu-v33-instructor{
 width:100%;min-width:0;max-width:none!important;margin:0!important;
}
#academy-lab-slot .gu-v34-unified-lesson :is(.gu-l33-single,.gu-l33-chart-reference-layout){
 width:100%;max-width:none!important;margin-inline:0!important;
}
#academy-lab-slot .gu-v34-unified-lesson svg{
 width:100%;max-width:100%!important;height:auto;
}
#academy-lab-slot .gu-v33-support-tabs{
 width:100%;max-width:none;margin:14px 0;
 border:1px solid #3f657e;border-radius:12px;background:#10283a;
 padding:12px;min-width:0;
}
#academy-lab-slot .gu-v33-support-tablist{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
}
#academy-lab-slot .gu-v33-support-tab{
 min-width:0;min-height:42px;white-space:normal;
 padding:8px;border:1px solid #456b83;border-radius:8px;
 background:#19364b;color:#f0f7fc;cursor:pointer;
}
#academy-lab-slot .gu-v33-support-tab[aria-selected="true"]{
 background:#eabb49;color:#102437;border-color:#f7d58a;
}
#academy-lab-slot .gu-v33-support-tab:focus-visible{
 outline:3px solid #a9e4fa;outline-offset:2px;
}
#academy-lab-slot .gu-v33-wallet-tab{
 padding-left:37px;background-image:url('../img/crownlight-spark.svg');
 background-size:23px 23px;background-position:8px center;background-repeat:no-repeat;
}
@container (min-width:960px){
 #academy-lab-slot .gu-v34-unified-lesson{
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
  align-items:start!important;
 }
}
@container (max-width:959px){
 #academy-lab-slot .gu-v34-unified-lesson{
  grid-template-columns:minmax(0,1fr)!important;
 }
}
@media(max-width:620px){
 #academy-lab-slot .gu-v33-support-tablist{grid-template-columns:1fr;}
}

/* v0.14.0.173 Academy teaching parity: compact, readable instructor and five-focus lessons. */
#academy-lab-slot .gu-v33-instructor{background:#0c2032;border:1px solid #36516a;border-radius:11px;padding:12px 14px}
#academy-lab-slot .gu-v33-instructor-head{display:flex;align-items:center;gap:10px;padding-bottom:9px;margin-bottom:9px;border-bottom:1px solid #34566c}
#academy-lab-slot .gu-v33-instructor-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border-radius:50%;background:#33436d;color:#fff;font-size:.8rem}
#academy-lab-slot .gu-v33-instructor-identity{min-width:0}
#academy-lab-slot .gu-v33-instructor-narration{max-height:440px;overflow:auto;scrollbar-gutter:stable}
#academy-lab-slot .gu-v33-instructor-typing{font-size:.94rem;line-height:1.65;white-space:pre-wrap}
#academy-lab-slot .gu-v33-support-tablist{gap:7px}
#academy-lab-slot .gu-v33-support-tab{min-height:34px;padding:6px 9px;font-size:.8rem;line-height:1.3}
#academy-lab-slot .gu-v33-support-tab:focus-visible{outline:3px solid #b6a8ff;outline-offset:2px}
#academy-lab-slot .gu-v33-tutor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#academy-lab-slot .gu-v33-tutor-actions button{min-height:35px;padding:6px 9px;font-size:.79rem}
@media(max-width:640px){#academy-lab-slot .gu-v33-instructor-narration{max-height:none}#academy-lab-slot .gu-v33-support-tablist,#academy-lab-slot .gu-v33-tutor-actions{grid-template-columns:1fr}}
