/* Class hub shell for free classes: the Better Together hub styles (bt-hub.css) scoped to .ol-hub instead of #btHub, plus fixes for course content. Generated from bt-hub.css on 11-12; keep in step with it. */
.ol-hub{
 --bg:#F8F2E3; --surface:#FFFCF2; --sunk:#F1E7CC; --ink:#0E1F1C; --muted:#43504C; --line:rgba(164,122,42,.32);
 --accent:#20705F; --accent-ink:#FFFCF2; --accent-soft:#DCEBE4; --signal:#8A6220; --signal-soft:#FBF3DC;
 --brand:#103E36; --gold:#D9B65A; --good:#2F7A55; --good-soft:#E7F3EC; --bad:#B3261E; --bad-soft:#FBE9E7;
 color:var(--ink); font-family:var(--body); font-size:17px; line-height:1.55;
}
.ol-hub *{box-sizing:border-box; border-radius:0}
.ol-hub h1,.ol-hub h2,.ol-hub h3{font-family:var(--display); line-height:1.1; text-wrap:balance; margin:0; color:var(--ink); font-weight:600}
.ol-hub button,.ol-hub input,.ol-hub select,.ol-hub textarea{font:inherit; color:inherit}
.ol-hub :focus-visible{outline:3px solid var(--gold); outline-offset:2px}
.ol-hub a{color:var(--accent)}
.ol-hub p{margin:.4rem 0}
.ol-hub .muted{color:var(--muted)}

/* top bar: brand, switches, session tabs */
.ol-hub > .bt-bar{position:sticky; top:64px; z-index:3; background:var(--bg); border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-bottom:22px}
.ol-hub .bt-row{display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; padding:10px 0 6px}
.ol-hub .bt-brand{display:flex; align-items:baseline; gap:10px; background:none; border:0; padding:0; cursor:pointer; text-align:left}
.ol-hub .bt-brand b{font-family:var(--display); font-size:1.5rem; font-weight:600; color:var(--brand)}
.ol-hub .bt-brand span{font:700 .72rem/1.3 var(--body); letter-spacing:.12em; text-transform:uppercase; color:var(--signal)}
.ol-hub .bt-switches{margin-left:auto; display:flex; flex-wrap:wrap; gap:8px}
.ol-hub .bt-mode{display:flex; border:1px solid var(--brand)}
.ol-hub .bt-mode button{border:0; background:var(--surface); color:var(--brand); padding:7px 14px; cursor:pointer; font:700 .78rem/1 var(--body); letter-spacing:.08em; text-transform:uppercase}
.ol-hub .bt-mode button[aria-pressed="true"]{background:var(--brand); color:var(--surface)}
.ol-hub > .bt-bar .bt-tabs{display:flex; gap:4px; overflow-x:auto; padding:6px 0 10px; scrollbar-width:thin}
.ol-hub > .bt-bar .bt-tabs button{flex:none; border:1px solid transparent; background:none; color:var(--muted); padding:8px 11px; cursor:pointer; font:700 .78rem/1 var(--body); letter-spacing:.06em; text-transform:uppercase; white-space:nowrap}
.ol-hub > .bt-bar .bt-tabs button:hover{border-color:var(--line)}
.ol-hub > .bt-bar .bt-tabs button[aria-current="true"]{background:var(--brand); color:var(--surface); border-color:var(--brand)}
@media (max-width:620px){.ol-hub .bt-brand span{display:none} .ol-hub .bt-switches{margin-left:0} .ol-hub > .bt-bar{top:56px}}

.ol-hub .eyebrow{font:700 .74rem/1.3 var(--body); letter-spacing:.14em; text-transform:uppercase; color:var(--signal); margin:0 0 4px}
.ol-hub .lede{font-size:1.12rem; color:var(--muted); max-width:62ch; margin:.6rem 0 0}
.ol-hub .grid{display:grid; grid-template-columns:300px minmax(0,1fr); gap:24px; align-items:start}
@media (max-width:900px){.ol-hub .grid{grid-template-columns:minmax(0,1fr)}}
.ol-hub .rail{position:sticky; top:var(--bt-rail-top,190px); display:flex; flex-direction:column; gap:14px}
@media (max-width:900px){.ol-hub .rail{position:static}}
.ol-hub .panel{background:var(--surface); border:1px solid var(--line); padding:18px 20px; min-width:0}
.ol-hub .panel h3{font-size:1.35rem; margin-bottom:.4rem}
.ol-hub .panel.hw{border-left:4px solid var(--gold)}
.ol-hub .panel.hwhead{border:1px solid var(--gold); background:var(--signal-soft)}
.ol-hub .stack{display:flex; flex-direction:column; gap:18px; min-width:0}
.ol-hub .ros{list-style:none; margin:8px 0 0; padding:0; display:flex; flex-direction:column}
.ol-hub .ros li{display:grid; grid-template-columns:56px 1fr; gap:8px; padding:8px 0; border-top:1px solid var(--line); font-size:.92rem}
.ol-hub .ros li:first-child{border-top:0}
.ol-hub .ros .t{font-weight:700; color:var(--accent); font-variant-numeric:tabular-nums}
.ol-hub .ros li.go{cursor:pointer}
.ol-hub .ros li.go:hover .s{text-decoration:underline}
.ol-hub .timer{display:flex; flex-direction:column; gap:8px}
.ol-hub .clock{font:600 2.8rem/1 var(--display); font-variant-numeric:tabular-nums}
.ol-hub .clock.low{color:var(--signal)} .ol-hub .clock.done{color:var(--bad)}
.ol-hub .row{display:flex; flex-wrap:wrap; gap:8px; align-items:center}
.ol-hub .btn{border:1px solid var(--brand); background:var(--surface); color:var(--brand); padding:8px 14px; cursor:pointer; font:700 .82rem/1.1 var(--body); letter-spacing:.04em}
.ol-hub .btn:hover{background:var(--accent-soft)}
.ol-hub .btn.primary{background:var(--brand); color:var(--surface)}
.ol-hub .btn.primary:hover{background:var(--accent)}
.ol-hub .btn.small{padding:6px 10px; font-size:.78rem}
.ol-hub .btn[disabled]{opacity:.45; cursor:not-allowed}
.ol-hub .bt-chip{display:inline-block; font:700 .7rem/1 var(--body); text-transform:uppercase; letter-spacing:.1em; padding:6px 9px; background:var(--accent-soft); color:var(--brand)}
.ol-hub .bt-chip.solo{background:var(--sunk); color:var(--signal)}
.ol-hub .bt-chip.hw{background:var(--gold); color:var(--ink)}
.ol-hub .memory{border-left:4px solid var(--gold); padding:4px 0 4px 12px; font-family:var(--display); font-size:1.15rem}
.ol-hub .slide{min-height:220px; display:flex; flex-direction:column; justify-content:center; gap:10px; padding:18px 4px}
.ol-hub .slide h2{font-size:clamp(1.6rem,3.4vw,2.3rem)}
.ol-hub .slide p,.ol-hub .slide li{font-size:1.08rem; max-width:64ch}
.ol-hub .slide ul{margin:0; padding-left:1.2em; display:flex; flex-direction:column; gap:6px}
.ol-hub .dots{display:flex; gap:6px; align-items:center}
.ol-hub .dots i{width:8px; height:8px; background:var(--line)}
.ol-hub .dots i.on{background:var(--accent)}
.ol-hub .q{border-top:1px solid var(--line); padding:12px 0; display:flex; flex-direction:column; gap:8px}
.ol-hub .q:first-of-type{border-top:0}
.ol-hub .q .say{font-size:1.06rem}
.ol-hub .opts,.ol-hub .pool{display:flex; flex-wrap:wrap; gap:6px}
.ol-hub .opt{border:1px solid var(--line); background:var(--sunk); padding:6px 12px; cursor:pointer; font-size:.9rem; text-align:left}
.ol-hub .opt:hover{border-color:var(--accent)}
.ol-hub .opt[aria-pressed="true"]{background:var(--brand); color:var(--surface); border-color:var(--brand)}
.ol-hub .opt.right{background:var(--good-soft); border-color:var(--good); color:var(--ink)}
.ol-hub .opt.wrong{background:var(--bad-soft); border-color:var(--bad); color:var(--ink)}
.ol-hub .why{font-size:.93rem; color:var(--muted); background:var(--sunk); padding:8px 12px}
.ol-hub .score{font-weight:700; font-variant-numeric:tabular-nums}
.ol-hub .callout{background:var(--signal-soft); border-left:4px solid var(--gold); padding:12px 14px; font-size:.95rem}
.ol-hub .links{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; margin-top:8px}
.ol-hub .link{display:flex; flex-direction:column; gap:3px; text-decoration:none; color:var(--ink); border:1px solid var(--line); padding:12px 14px; background:var(--bg)}
.ol-hub .link:hover{border-color:var(--accent); background:var(--accent-soft)}
.ol-hub .link b{font-family:var(--display); font-size:1.15rem; font-weight:600; color:var(--brand)}
.ol-hub .link span{font-size:.85rem; color:var(--muted)}
.ol-hub label.f{display:flex; flex-direction:column; gap:4px; font-weight:600; font-size:.92rem}
.ol-hub input[type=text],.ol-hub input[type=number],.ol-hub textarea,.ol-hub select{border:1px solid var(--line); background:var(--bg); padding:8px 10px; width:100%; font-weight:400}
.ol-hub textarea{min-height:64px; resize:vertical}
.ol-hub .cols2{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px}
.ol-hub .cols3{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:12px}
.ol-hub .cards{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:12px}
.ol-hub .card{border:1px solid var(--line); border-left:4px solid var(--gold); padding:16px; background:var(--surface); display:flex; flex-direction:column; gap:8px; cursor:pointer; text-align:left}
.ol-hub .card:hover{border-color:var(--accent); border-left-color:var(--gold)}
.ol-hub .card .num{font:700 .74rem/1 var(--body); letter-spacing:.14em; text-transform:uppercase; color:var(--signal)}
.ol-hub .card h3{font-size:1.35rem}
.ol-hub .card p{margin:0; font-size:.92rem; color:var(--muted)}
.ol-hub .secret{border:2px dashed var(--line); padding:14px; display:flex; flex-direction:column; gap:8px; background:var(--sunk)}
.ol-hub .secret.open{border-style:solid; border-color:var(--gold); background:var(--signal-soft)}
.ol-hub .script{display:flex; flex-direction:column; gap:6px; margin:6px 0}
.ol-hub .script p{margin:0}
.ol-hub .script b{font-family:var(--display); font-size:1.08rem}
.ol-hub .rank{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px}
.ol-hub .rank li{display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:8px; align-items:center; border:1px solid var(--line); padding:6px 10px; background:var(--sunk)}
.ol-hub .rank .n{font-weight:700; color:var(--accent); font-variant-numeric:tabular-nums}
.ol-hub .table{overflow-x:auto}
.ol-hub table{border-collapse:collapse; width:100%; font-size:.9rem}
.ol-hub th,.ol-hub td{border-bottom:1px solid var(--line); padding:6px 8px; text-align:left; vertical-align:top}
.ol-hub td.num,.ol-hub th.num{text-align:right; font-variant-numeric:tabular-nums}
.ol-hub .big{font-family:var(--display); font-size:clamp(1.6rem,4vw,2.4rem); font-weight:600}
.ol-hub .panel[style*="var(--ink)"] .big,.ol-hub .panel[style*="var(--ink)"] .eyebrow{color:var(--bg)}
.ol-hub .hero{display:flex; flex-direction:column; gap:6px; padding:8px 0 20px}
.ol-hub .hero h1{font-size:clamp(2.4rem,6vw,3.8rem)}
.ol-hub .bt-toast{position:fixed; left:50%; transform:translateX(-50%); bottom:24px; background:var(--brand); color:var(--surface); padding:10px 18px; font-size:.92rem; z-index:50}
.ol-hub ul,.ol-hub ol{padding-left:1.25em}
@media (prefers-reduced-motion:no-preference){.ol-hub .slide{animation:btin .25s ease}@keyframes btin{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}}

/* ---- free-class content inside hub panels ---- */
.ol-hub-shell{margin-top:18px;margin-bottom:8px}
.ol-hub-shell > .bt-bar{margin-bottom:12px}
.ol-hub-shell .bt-brand{max-width:100%}
.ol-hub-count{font:700 .74rem/1.3 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--signal)}
.ol-hub #olHubView .hero h1{font-size:clamp(1.9rem,5vw,2.9rem)}
.ol-hub .ol-unit{padding-bottom:40px}
.ol-hub .ol-part > .eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.ol-hub .ol-part h3,.ol-hub .slide h3{font-size:1.2rem;margin:.8rem 0 .3rem}
.ol-hub .ol-part ul,.ol-hub .ol-part ol{padding-left:1.2em}
.ol-hub .ol-part img,.ol-hub .slide img{max-width:100%;height:auto}
.ol-hub .ol-part table,.ol-hub .slide table{max-width:100%}
.ol-hub .ol-part .fc-table,.ol-hub .slide .fc-table,.ol-hub .wb-table{overflow-x:auto;max-width:100%}
.ol-hub .slide{min-height:0;justify-content:flex-start}
.ol-hub .slide > h2{margin-bottom:6px}
.ol-hub .slide p,.ol-hub .slide li{font-size:1rem}
.ol-hub .ol-dots{display:flex;gap:6px;flex-wrap:wrap;max-width:50%}
.ol-hub .ol-dots i{width:9px;height:9px;background:var(--line)} .ol-hub .ol-dots i.on{background:var(--brand)}
.ol-hub .ol-clock{font:600 2.8rem/1 var(--display);font-variant-numeric:tabular-nums}
.ol-hub .ol-clock.low{color:var(--signal)} .ol-hub .ol-clock.done{color:var(--bad)}
.ol-hub .ol-prog .fc-done{width:100%;margin:6px 0 0}
.ol-hub .ol-nav{justify-content:space-between;margin-top:6px}
.ol-hub .panel{overflow-wrap:anywhere}
.ol-hub-cards{margin:8px 0 18px}
.ol-hub-cards .card.is-done{border-left-color:var(--good)}
.ol-hub .ros li.go[data-jump]{cursor:pointer}
@media (max-width:900px){.ol-hub-shell .bt-switches{margin-left:0}}
/* page CSS (free-course, workbook, tool scripts) also uses .bt- and .hero names: pin the hub's own layout */
.ol-hub-shell > .bt-bar{display:block}
.ol-hub-shell > .bt-bar .bt-row{flex-wrap:wrap;width:auto}
/* unit tabs wrap instead of scrolling, so no tab is ever cut mid-word (owner 11-19); units show "Unit 4", full title on hover */
.ol-hub-shell > .bt-bar .bt-tabs,.ol-hub > .bt-bar .bt-tabs{flex-wrap:wrap; overflow:visible}
.ol-hub > .bt-bar .bt-tabs button{white-space:normal; max-width:100%; text-align:left; line-height:1.25}
@media (max-width:620px){.ol-hub > .bt-bar{position:static} .ol-hub > .bt-bar .bt-tabs button{padding:7px 9px}}
.ol-hub-shell .bt-brand{flex-direction:row;flex-wrap:wrap;width:auto}
.ol-hub-shell #olHubView .hero{display:flex;flex-direction:column;gap:6px;padding:8px 0 20px;margin:0;min-height:0;background:none}
.ol-hub .slide[hidden]{display:none}
.ol-hub [id]{scroll-margin-top:var(--bt-rail-top,120px)}
.ol-hub .ros li::marker{content:none}

/* ---- Syllabus tab (owner 11-12) ---- */
.ol-hub .ol-syl{display:flex; flex-direction:column; gap:18px; padding:22px 0 40px}
.ol-hub .ol-syl-top{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:14px}
.ol-hub .ol-syl h1{font-size:clamp(2rem,4.4vw,3rem); color:var(--brand)}
.ol-hub .ol-syl-print-only{display:none}
.ol-hub .ol-syl-facts{margin:.6rem 0; padding-left:1.1em; display:flex; flex-direction:column; gap:4px}
.ol-hub .ol-syl-pace{border-left:4px solid var(--gold); padding:6px 0 6px 12px; margin-top:.8rem}
.ol-hub .ol-syl-tw{overflow-x:auto; margin-top:.4rem}
.ol-hub .ol-syl-t{width:100%; border-collapse:collapse; font-size:.96rem}
.ol-hub .ol-syl-t th{text-align:left; font:700 .72rem/1.3 var(--body); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); border-bottom:2px solid var(--brand); padding:8px 10px}
.ol-hub .ol-syl-t td{vertical-align:top; border-bottom:1px solid var(--line); padding:10px}
.ol-hub .ol-syl-t td:first-child{white-space:nowrap; font-weight:700; color:var(--brand)}
.ol-hub .ol-syl-ck td:first-child{white-space:normal; min-width:160px}
.ol-hub .ol-syl-ck td:nth-child(2){min-width:260px}
.ol-hub .ol-syl-t ul{margin:0; padding-left:1.1em; display:flex; flex-direction:column; gap:3px}
.ol-hub .ol-syl-t .st{white-space:nowrap}
.ol-hub .ol-syl-t .ok{color:var(--brand); font-weight:700}
.ol-hub .ol-syl-t .ny{color:var(--muted)}
.ol-hub .ol-syl-t .blank{min-width:80px}
.ol-hub .ol-syl-steps{margin:.4rem 0 0; padding-left:1.3em; display:flex; flex-direction:column; gap:4px}
@media (max-width:640px){
  .ol-hub .ol-syl-t td:first-child{white-space:normal}
  .ol-hub .ol-syl-ck th:nth-child(4),.ol-hub .ol-syl-ck td:nth-child(4),.ol-hub .ol-syl-ck th:nth-child(5),.ol-hub .ol-syl-ck td:nth-child(5){display:none}
}
@media print{
  html.syl-print body > *:not(main){display:none !important}
  html.syl-print main > *:not(#olHub){display:none !important}
  html.syl-print #olHub > .bt-bar, html.syl-print #olHub .ol-syl-actions, html.syl-print #olHub .bt-toast, html.syl-print .ol-syl-count{display:none !important}
  html.syl-print #olHub .ol-syl-print-only{display:block}
  html.syl-print body{background:#fff}
  html.syl-print .ol-hub .panel{border:1px solid #bbb}
  html.syl-print .ol-hub .panel h3{break-after:avoid}
  html.syl-print .ol-hub .ol-syl-t tr{break-inside:avoid}
  html.syl-print .ol-hub .ol-syl-ck td.blank{border-bottom:1px solid #444}
  html.syl-print .ol-hub a{color:inherit; text-decoration:none}
  html.syl-print .ol-hub .ol-syl-tw{overflow:visible}
  html.syl-print .ol-hub .ol-syl{padding:0}
  html.syl-print .ol-hub .ol-syl-t{font-size:10.5pt}
  html.syl-print .ol-hub .ol-syl-ck{table-layout:fixed}
  html.syl-print .ol-hub .ol-syl-ck th:nth-child(1){width:26%} html.syl-print .ol-hub .ol-syl-ck th:nth-child(2){width:44%}
  html.syl-print .ol-hub .ol-syl-ck th:nth-child(3),html.syl-print .ol-hub .ol-syl-ck th:nth-child(4),html.syl-print .ol-hub .ol-syl-ck th:nth-child(5){width:10%}
}
