/* Compact sticky five-session navigation and three equally visible domain applications. */
#learn .course-reader{overflow:visible}
#learn .integrated-week-nav{
 position:sticky;top:0;z-index:30;
 padding:8px 14px 9px;
 background:rgba(255,255,255,.97);
 backdrop-filter:blur(12px);
 -webkit-backdrop-filter:blur(12px);
 border-bottom:1px solid #cfe1e6;
 box-shadow:0 4px 12px rgba(18,53,68,.07);
}
#learn .integrated-week-nav-heading{margin:0 0 6px;gap:10px}
#learn .integrated-week-nav-heading strong{font-size:11px;line-height:1.25}
#learn .integrated-week-nav-heading small{font-size:10px}
#learn .integrated-day-strip{gap:6px}
#learn .integrated-day{
 display:grid;grid-template-columns:42px minmax(0,1fr);
 grid-template-rows:auto auto;
 align-content:center;column-gap:7px;row-gap:1px;
 min-height:47px;padding:6px 9px;
 border-radius:8px;
}
#learn .integrated-day .day-index{grid-row:1/3;align-self:center;font-size:10px;white-space:nowrap}
#learn .integrated-day .day-name{font-size:11px;line-height:1.3}
#learn .integrated-day .day-sub{font-size:10px;line-height:1.25}
#learn .integrated-day.selected{box-shadow:0 2px 6px rgba(12,98,89,.14)}
#learn .integrated-stage{scroll-margin-top:90px}
#learn .teach-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:14px 0 0}
#learn .teach-context-card{min-width:0;padding:15px 16px;border:1px solid #d5e5ea;border-radius:12px;background:#f8fbfc}
#learn .teach-context-math{border-top:3px solid #459d91}
#learn .teach-context-york{border-top:3px solid #557cb9;background:#f7f9ff}
#learn .teach-context-outside{border-top:3px solid #bc9152;background:#fffbf4}
#learn .teach-context-heading{display:flex;align-items:center;gap:8px;min-height:26px}
#learn .teach-context-heading span{display:grid;place-items:center;flex:none;width:23px;height:23px;background:#e4edf0;color:#3c6974;border-radius:7px;font-size:10px;font-weight:850}
#learn .teach-context-heading strong{font-size:12px;color:#26495d}
#learn .teach-context-card .teach-pair{margin-top:11px}
#learn .teach-context-card .teach-pair p{font-size:12.5px;line-height:1.7;color:#315264}
#learn .teach-context-card .teach-pair p[lang=en]{font-size:11.5px;line-height:1.6;color:#70828d;margin-top:10px;padding-top:10px}
#learn .teach-transfer{border:1px solid #d7e6e9;background:#fbfdfd;border-radius:12px;padding:16px}
#learn .teach-transfer h4{font-size:15px;color:#22495b;margin:0 0 4px}
#learn .teach-transfer-lead{font-size:12px!important;color:#627f89!important;margin:0 0 14px}
#learn .teach-transfer-item{padding:11px 13px;border-left:3px solid #3eaa97;background:white;border-radius:7px;margin:9px 0}
#learn .teach-transfer-item:nth-of-type(2){border-left-color:#6684c3}
#learn .teach-transfer-item:nth-of-type(3){border-left-color:#c8a15c}
#learn .teach-transfer-item strong{font-size:12px;color:#295569}
#learn .teach-transfer-item p{font-size:12px!important;line-height:1.65!important;color:#365d6a!important;margin:5px 0!important}
#learn .teach-transfer-item p[lang=en]{font-size:11.5px!important;color:#7a8d96!important}
#learn .teach-transfer-challenge{margin-top:14px;border:1px solid #b8ddd6;background:#eaf8f4;border-radius:9px;padding:13px}
#learn .teach-transfer-challenge strong{color:#126c63;font-size:12px}
#learn .teach-transfer-challenge p{font-size:12px!important;line-height:1.6!important;margin:6px 0 0!important;color:#346b65!important}
#learn .teach-choice{font-weight:720;color:#167769!important}
@media(max-width:1120px){#learn .teach-context-grid{grid-template-columns:1fr}}
@media(max-width:900px){
 #learn .integrated-day-strip{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding-bottom:2px}
 #learn .integrated-day{min-width:132px;max-width:160px;flex:none;scroll-snap-align:center}
}
@media(max-width:560px){
 #learn .integrated-week-nav{padding:7px 9px 8px}
 #learn .integrated-week-nav-heading small{display:none}
 #learn .integrated-day{min-height:45px;min-width:126px;grid-template-columns:38px 1fr;padding:6px 8px}
 #learn .teach-context-card{padding:13px}
 #learn .teach-transfer{padding:12px}
}
@media(prefers-reduced-motion:reduce){#learn .integrated-week-nav{backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Language hierarchy: English is the teaching language; Vietnamese is the supporting translation. */
#learn .integrated-top p[lang="en"]{font-size:13px;color:#e2f1f5;line-height:1.65;font-weight:550}
#learn .integrated-top p.integrated-intro-vi{font-size:11.5px;color:#a7c5cf;margin-top:5px;line-height:1.6;font-weight:400}
#learn .teach-card-title strong[lang="en"]{font-size:15px;font-weight:800;color:#173f51}
#learn .teach-card-title small[lang="vi"]{font-size:11px;color:#738c97;font-weight:450}
#learn .teach-pair p[lang="en"]{font-size:14px;color:#304f5f;line-height:1.75;font-weight:480;margin:0;padding:0;border:0}
#learn .teach-pair p[lang="vi"]{font-size:12px;color:#718692;line-height:1.65;font-weight:400;margin:9px 0 0;padding:9px 0 0;border-top:1px dashed #d9e7e9}
#learn .teach-context-card .teach-pair p[lang="en"]{font-size:12.5px;line-height:1.7;color:#315264;font-weight:520;margin:0;padding:0;border:0}
#learn .teach-context-card .teach-pair p[lang="vi"]{font-size:11.5px;line-height:1.6;color:#70828d;margin-top:10px;padding-top:10px;border-top:1px dashed #d9e7e9}
#learn .teach-transfer-item p[lang="en"]{font-size:12.5px!important;line-height:1.7!important;color:#2e5265!important;font-weight:500}
#learn .teach-transfer-item p[lang="vi"]{font-size:11.5px!important;line-height:1.6!important;color:#7a8d96!important;border-top:1px dashed #e2ebed;padding-top:8px;margin-top:8px!important}
#learn .teach-transfer-challenge p[lang="en"]{font-size:12.5px!important;color:#275e58!important;font-weight:550}
#learn .teach-transfer-challenge p[lang="vi"]{font-size:11.5px!important;color:#6d8986!important;margin-top:8px!important}
#learn .teach-specific p[lang="en"]{font-size:13px;color:#365e6b;line-height:1.7;font-weight:500}
#learn .teach-specific p[lang="vi"]{font-size:11.5px;color:#768d97;line-height:1.6;margin-top:8px}
#learn .teach-task-time strong[lang="en"]{display:block;font-size:12px;color:#1a776e}
#learn .teach-task-time small[lang="vi"]{display:block;font-size:10.5px;color:#71949a;margin-top:4px;font-weight:450}
#learn .teach-task-copy p[lang="en"]{font-size:13px;color:#395b68;line-height:1.65;font-weight:500;margin:0}
#learn .teach-task-copy p[lang="vi"]{font-size:11.5px;color:#788d96;line-height:1.55;margin:5px 0 0}
#learn .teach-example .teach-lead span[lang="vi"]{font-size:11px;color:#83949c}
#learn .teach-transfer .teach-choice{font-size:12px}
@media(max-width:680px){
 #learn .teach-pair p[lang="en"]{font-size:13px}
 #learn .teach-pair p[lang="vi"]{font-size:11.5px}
}
