/* MSc Study — msc.study.codeolima.com. Phone-first; tablet ≥700 px; desktop ≥1100 px with sidebar. Built by build.py (copied to site/style.css). */
:root{ --bg:#eef3fa; --surface:#fff; --line:#dde6f2; --ink:#0F1B3D; --ink-2:#4B5563; --ink-3:#7b8798; --royal:#0B3D91; --royal-2:#1e4fae; --sky:#0EA5E9; --skyd:#0369A1;
  --ok:#15803d; --okbg:#dcfce7; --warn:#92400e; --warnbg:#fef3c7; --frame:#dfe7f3; --sh:0 1px 2px rgba(11,61,145,.06),0 6px 18px rgba(11,61,145,.07); }
@media (prefers-color-scheme: dark){ :root{ --bg:#0a1430; --surface:#111f45; --line:#24386b; --ink:#eef3ff; --ink-2:#b6c3e0; --ink-3:#8796b8; --royal:#1e4fae; --skyd:#7dd3fc;
  --ok:#86efac; --okbg:#14532d; --warn:#fde68a; --warnbg:#713f12; --frame:#050b1d; --sh:none; } }
*{ box-sizing:border-box } html,body{ margin:0 } body{ background:var(--frame); color:var(--ink); font-family:'Plus Jakarta Sans',system-ui,sans-serif; font-size:14px; line-height:1.5 }
a{ color:inherit; text-decoration:none }
.frame{ max-width:460px; min-height:100vh; margin:0 auto; background:var(--bg); display:flex; flex-direction:column; box-shadow:0 0 40px rgba(11,61,145,.12) }
.bar{ position:sticky; top:0; z-index:5; background:linear-gradient(135deg,var(--royal),var(--royal-2)); color:#fff; padding:12px 14px; display:flex; align-items:center; gap:10px }
.bar .bt{ min-width:0 } .bar b{ display:block; font-size:15px; line-height:1.2 } .bar small{ display:block; opacity:.82; font-size:11.5px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.bar .url{ margin-left:auto; font-size:9.5px; opacity:.65; font-weight:700; white-space:nowrap }
.back,.logo{ width:32px; height:32px; border-radius:10px; background:rgba(255,255,255,.16); display:grid; place-items:center; flex:none; font-weight:800 }
main{ flex:1; padding:14px 14px 24px; display:flex; flex-direction:column; gap:10px }
.h{ font-size:11.5px; font-weight:800; color:var(--ink-3); text-transform:uppercase; letter-spacing:.05em; margin:8px 2px 0; display:flex; gap:6px; align-items:center }
.list{ display:flex; flex-direction:column; gap:9px }
.card{ background:var(--surface); border:1px solid var(--line); border-radius:14px; box-shadow:var(--sh) }
a.card{ display:flex; align-items:center; gap:11px; padding:11px 12px; transition:border-color .12s } a.card:hover{ border-color:var(--sky) }
.card.pad{ padding:12px 14px }
.grow{ flex:1; min-width:0; display:flex; flex-direction:column }
.card b{ font-size:14px; line-height:1.3 } .s{ font-size:11.5px; color:var(--ink-3); font-weight:600 } .s2{ font-size:11px; color:var(--skyd); font-weight:700; margin-top:2px }
.code{ font-family:ui-monospace,monospace; font-size:10.5px; font-weight:800; color:var(--skyd) }
.ic{ width:40px; height:40px; border-radius:12px; background:var(--royal); color:#fff; display:grid; place-items:center; flex:none; font-size:16px } .ic.big{ width:48px; height:48px; font-size:20px }
.chev{ color:var(--ink-3); font-size:12px }
.meter{ display:block; height:6px; background:var(--line); border-radius:99px; overflow:hidden; margin-top:6px } .meter i{ display:block; height:100%; background:var(--sky); border-radius:99px }
.hero{ background:linear-gradient(135deg,var(--royal),var(--royal-2)); color:#fff; border-radius:16px; padding:16px; display:flex; justify-content:space-between; align-items:center; box-shadow:var(--sh) }
.hero .s{ color:rgba(255,255,255,.8) } .big{ font-size:30px; font-weight:800; line-height:1.1 }
.ring{ width:86px; height:86px; border-radius:50%; border:7px solid rgba(255,255,255,.25); border-top-color:#7dd3fc; display:grid; place-content:center; text-align:center }
.ring b{ font-size:18px } .ring span{ font-size:9.5px; opacity:.85; font-weight:700 }
.subhead,.topichead{ display:flex; gap:12px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:14px; box-shadow:var(--sh) }
.subhead>div,.topichead>div{ flex:1; min-width:0; display:flex; flex-direction:column } .subhead b,.topichead b{ font-size:16px }
.num{ width:32px; height:32px; border-radius:10px; background:var(--royal); color:#fff; display:grid; place-items:center; font-weight:800; flex:none } .num.big{ width:44px; height:44px; font-size:18px }
.num.soon,.topic.soon .num{ background:var(--ink-3) } .topic.soon{ opacity:.72 }
.pill{ font-size:10px; font-weight:800; border-radius:999px; padding:2px 8px; flex:none } .pill.ok{ background:var(--okbg); color:var(--ok) } .pill.wait{ background:var(--warnbg); color:var(--warn) }
.exam{ border-left:5px solid var(--sky) } .exam ul{ margin:0; padding-left:18px; font-size:13px } .exam li{ margin-bottom:5px } .exam b{ color:var(--royal) }
@media (prefers-color-scheme: dark){ .exam b{ color:#93c5fd } }
.fig{ background:#fff; overflow-x:auto } .fig svg{ width:100%; height:auto; display:block } .fig.wide svg{ min-width:640px } .swipe{ margin:-4px 4px 0 }
.chips{ display:flex; flex-wrap:wrap; gap:6px } .chip{ font-size:11.5px; font-weight:700; background:#e0f2fe; color:var(--skyd); border-radius:999px; padding:3px 10px }
@media (prefers-color-scheme: dark){ .chip{ background:#0c2a4d } }
.cov{ margin:0; padding-left:20px; font-size:13px; font-weight:600 } .cov li{ margin-bottom:3px }
.qas{ display:flex; flex-direction:column; gap:8px }
.qa{ background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden }
.qa summary{ cursor:pointer; padding:10px 12px; font-size:13px; font-weight:700; list-style:none; display:flex; gap:8px } .qa summary::-webkit-details-marker{ display:none }
.qa summary::after{ content:'\f078'; font-family:'Font Awesome 6 Free'; font-weight:900; margin-left:auto; color:var(--ink-3); font-size:11px }
.qa[open] summary::after{ content:'\f077' } .qn{ color:var(--skyd); flex:none }
.qa .ans{ padding:10px 12px 12px; border-top:1px dashed var(--line); font-size:12.8px; color:var(--ink-2) }
.actions{ display:flex; gap:8px; margin-top:6px } .btn{ flex:1; text-align:center; border-radius:12px; padding:11px 10px; font-weight:800; font-size:13px; background:var(--royal); color:#fff }
.btn.alt{ background:var(--surface); color:var(--royal); border:1px solid var(--line) }
@media (prefers-color-scheme: dark){ .btn.alt{ color:#93c5fd } }
.pn{ display:flex; justify-content:space-between; font-size:12.5px; font-weight:800; color:var(--skyd); margin-top:4px }
.empty{ text-align:center; background:var(--surface); border:1px dashed var(--line); border-radius:16px; padding:18px; display:flex; flex-direction:column; gap:4px; color:var(--ink-2) }
.empty i{ font-size:22px; color:var(--warn) } .empty span{ font-size:12px; color:var(--ink-3) }
.skel{ display:flex; flex-direction:column; gap:8px } .skel i{ display:block; height:10px; border-radius:6px; background:var(--line); width:100% } .skel.tall{ height:120px; background:repeating-linear-gradient(45deg,var(--surface),var(--surface) 10px,var(--bg) 10px,var(--bg) 20px) }
.tabs{ position:sticky; bottom:0; display:flex; background:var(--surface); border-top:1px solid var(--line) }
.tabs a{ flex:1; text-align:center; padding:8px 0 9px; font-size:10.5px; font-weight:700; color:var(--ink-3); display:flex; flex-direction:column; gap:3px } .tabs a i{ font-size:16px } .tabs a.on{ color:var(--skyd) }
.qa .qt{ flex:1; min-width:0 }
.cr{ font-family:"Plus Jakarta Sans",system-ui,sans-serif; font-size:10px; font-weight:800; color:var(--ink-2); background:var(--line); border-radius:999px; padding:1px 7px; margin-left:4px }
.hero .s{ display:block }
a.card.spare{ background:transparent; box-shadow:none; border-style:dashed; filter:grayscale(1); opacity:.6 } a.card.spare:hover{ opacity:.85 }

/* ── Search · Practise · Plan ── */
.sbox{ display:flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:0 12px; box-shadow:var(--sh) } .sbox i{ color:var(--ink-3) }
.sbox input{ flex:1; border:0; outline:0; background:transparent; color:var(--ink); font:600 14px 'Plus Jakarta Sans',system-ui,sans-serif; padding:12px 0 }
.seg{ display:flex; gap:6px } .seg.wrap{ flex-wrap:wrap }
.seg button,.sug button{ border:1px solid var(--line); background:var(--surface); color:var(--ink-2); border-radius:999px; padding:6px 12px; font:700 12px 'Plus Jakarta Sans',system-ui,sans-serif; cursor:pointer }
.seg button.on{ background:var(--royal); border-color:var(--royal); color:#fff }
.sug{ display:flex; flex-wrap:wrap; gap:6px } .sug button{ font-weight:600 }
.hint{ font-size:12px; color:var(--ink-3); text-align:center; margin:6px 10px }
mark{ background:#fde68a; color:inherit; border-radius:3px; padding:0 1px }
a.card.hit{ flex-direction:column; align-items:flex-start; gap:2px } .qline{ font-size:13px; font-weight:600 }
a.chip small{ opacity:.7; font-weight:600 }
.prog .pr{ display:flex; justify-content:space-between; font-size:12px; font-weight:700; color:var(--ink-2) } .g1{ color:var(--ok) } .g2{ color:var(--warn) }
.flash{ display:flex; flex-direction:column; gap:8px; border-left:5px solid var(--sky) } .fq{ font-size:15px; font-weight:700; margin:4px 0 } .flash .ans{ font-size:13px; color:var(--ink-2); border-top:1px dashed var(--line); padding-top:8px }
.flash .btn{ border:0; cursor:pointer; font-family:inherit } .mk{ display:flex; gap:8px } .mk .btn{ flex:1 }
.done{ display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center } .done > i{ font-size:28px; color:var(--warn) } .done .btn{ border:0; cursor:pointer; font-family:inherit; margin-top:6px; width:100% }
.day .dd{ width:42px; height:42px; border-radius:12px; background:#e0f2fe; color:var(--skyd); display:grid; place-items:center; font-weight:800; font-size:12px; flex:none }
@media (prefers-color-scheme: dark){ .day .dd{ background:#0c2a4d } }
div.card.day{ display:flex; align-items:center; gap:11px; padding:10px 12px }
.pb{ display:grid; grid-template-columns:70px 1fr 74px; align-items:center; gap:8px; margin:6px 0 } .pb .meter{ margin:0 } .pb .s{ text-align:right }
ul.wait{ margin:0 0 6px; padding-left:18px; font-size:12.5px } ul.wait li{ margin-bottom:3px }
.mk[hidden],.flash .ans[hidden],.btn[hidden]{ display:none }

/* ═══ v3b · subject accents (app chrome stays blue) ═══════════════════════
   One colour per picked subject, kept clear of the blue chrome and the green/amber/red status colours. */
:root{ --acc:var(--royal); --acc-m:var(--sky); --acc-bg:#e0f2fe; --acc-ink:var(--skyd) }
.acc-s1{ --acc:#7C3AED; --acc-m:#7C3AED; --acc-bg:#f3e8ff; --acc-ink:#6d28d9 }   /* MCS4301 violet */
.acc-s2{ --acc:#0D9488; --acc-m:#0D9488; --acc-bg:#ccfbf1; --acc-ink:#0f766e }   /* MCS4302 teal   */
.acc-s3{ --acc:#EA580C; --acc-m:#EA580C; --acc-bg:#ffedd5; --acc-ink:#c2410c }   /* MCS4303 orange */
.acc-s4{ --acc:#DB2777; --acc-m:#DB2777; --acc-bg:#fce7f3; --acc-ink:#be185d }   /* MCS4304 pink   */
.acc-s0{ --acc:#94a3b8; --acc-m:#94a3b8; --acc-bg:#f1f5f9; --acc-ink:#64748b }   /* notes only     */
@media (prefers-color-scheme: dark){
  .acc-s1{ --acc:#8b5cf6; --acc-m:#a78bfa; --acc-bg:#2e1065; --acc-ink:#c4b5fd } .acc-s2{ --acc:#14b8a6; --acc-m:#2dd4bf; --acc-bg:#042f2e; --acc-ink:#5eead4 }
  .acc-s3{ --acc:#f97316; --acc-m:#fb923c; --acc-bg:#431407; --acc-ink:#fdba74 } .acc-s4{ --acc:#ec4899; --acc-m:#f472b6; --acc-bg:#500724; --acc-ink:#f9a8d4 } }
/* where the accent shows: icon, code, meters, numbers, exam card edge, chips, question numbers */
[class*="acc-"] .ic,[class*="acc-"].insubj .ic{ background:var(--acc) }
[class*="acc-"] .code,.code[class*="acc-"]{ color:var(--acc-ink) }
[class*="acc-"] .meter i{ background:var(--acc-m) }
[class*="acc-"] .num:not(.soon){ background:var(--acc) }
[class*="acc-"] .exam,.flash[class*="acc-"]{ border-left-color:var(--acc) }
[class*="acc-"] .chip,.chip[class*="acc-"]{ background:var(--acc-bg); color:var(--acc-ink) }
[class*="acc-"] .qn{ color:var(--acc-ink) }
a.card.subj[class*="acc-"]{ border-left:5px solid var(--acc) }
a.card[class*="acc-"].hit,a.card[class*="acc-"].day{ border-left:4px solid var(--acc) }
[class*="acc-"] .day .dd,.day[class*="acc-"] .dd{ background:var(--acc-bg); color:var(--acc-ink) }
body.insubj .bar{ box-shadow:inset 0 -4px 0 var(--acc) }
body.insubj .subhead,body.insubj .topichead{ border-left:5px solid var(--acc) }
body.insubj .hero{ background:linear-gradient(135deg,var(--royal),var(--royal-2)) }   /* hero stays app-blue */
a.card.subj.spare{ border-left-style:dashed }

/* ═══ v3b · responsive: mobile (default) · tablet ≥700 · desktop ≥1100 ═══ */
.side{ display:none }
.app{ min-height:100vh }
@media (min-width:700px){
  .frame{ max-width:none; box-shadow:none }
  main{ padding:20px 24px 28px; max-width:980px; width:100%; margin:0 auto }
  .list.grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
  .hero{ padding:22px 24px } .big{ font-size:36px } .ring{ width:104px; height:104px }
  .tgrid{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:16px; align-items:start }
  .pgrid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); gap:16px; align-items:start }
  .bar .url{ font-size:11px }
}
@media (min-width:1100px){
  body{ background:var(--bg) }
  .app{ display:grid; grid-template-columns:260px minmax(0,1fr) }
  .side{ display:flex; flex-direction:column; gap:18px; position:sticky; top:0; height:100vh; overflow:auto; background:var(--surface); border-right:1px solid var(--line); padding:18px 14px }
  .brand{ display:grid; grid-template-columns:40px 1fr; column-gap:10px; align-items:center } .brand .logo{ grid-row:span 2; width:40px; height:40px; background:linear-gradient(135deg,var(--royal),var(--royal-2)); color:#fff; border-radius:12px; display:grid; place-items:center; font-weight:800 }
  .brand b{ font-size:16px } .brand small{ font-size:11.5px; color:var(--ink-3); font-weight:600 }
  .snav{ display:flex; flex-direction:column; gap:2px } .snav a{ display:flex; gap:10px; align-items:center; padding:9px 12px; border-radius:10px; font-weight:700; color:var(--ink-2) }
  .snav a:hover{ background:var(--bg) } .snav a.on{ background:var(--royal); color:#fff } .snav i{ width:18px; text-align:center }
  .slist{ display:flex; flex-direction:column; gap:2px } .sh{ font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-3); margin:8px 12px 4px }
  .si{ display:flex; gap:10px; align-items:center; padding:7px 12px; border-radius:10px } .si:hover,.si.on{ background:var(--acc-bg) }
  .si .dot{ width:10px; height:10px; border-radius:50%; background:var(--acc); flex:none } .si span{ display:flex; flex-direction:column; font-size:11.5px; color:var(--ink-3); font-weight:600; line-height:1.25; min-width:0 }
  .si span b{ font-family:ui-monospace,monospace; font-size:11px; color:var(--acc-ink) } .si.acc-s0{ opacity:.65 }
  .frame{ min-height:100vh } .tabs{ display:none }
  .bar{ padding:14px 28px } .bar .back{ background:rgba(255,255,255,.16) } .bar > .logo{ display:none }
  main{ max-width:1180px; padding:24px 32px 36px }
  .list.grid{ grid-template-columns:repeat(3,minmax(0,1fr)) }
  .list.grid.res{ grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media (min-width:1100px){ .frame{ margin:0; width:100% } }
/* desktop: search section headings span the grid; practise stays readable */
.list.grid.res > .h,.list.grid.res > .chips,.list.grid.res > .hint{ grid-column:1/-1 }
@media (min-width:1100px){ body:has(#stage) main{ max-width:780px } }

/* Deep summary + practice diagrams (2026-11-27) — markup comes from the doc-hub LO page */
.deep{ font-size:13px; color:var(--ink-2) } .deep h3.sub{ font-size:14px; font-weight:800; color:var(--ink); margin:16px 0 8px } .deep h3.sub:first-of-type{ margin-top:4px }
.deep .row{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:0 0 8px } .deep [class*="col-"]{ flex:1 1 260px; min-width:0 }
.deep .kc-fig{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:8px } .deep .kc-fig svg{ width:100%; height:auto; display:block }
.deep .kc-fig.dwide{ overflow-x:auto } .deep .dswipe{ display:none; font-size:11px; color:var(--ink-3); margin-top:4px }
@media (max-width:767px){ .deep .kc-fig.dwide svg{ min-width:560px } .deep .dswipe{ display:block } }
.deep .card-note{ background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:10px 14px } .deep ul{ padding-left:18px; margin:0 }
.dcite{ font-size:10.5px; font-weight:700; background:#e0f2fe; color:#0369A1; border-radius:999px; padding:2px 8px; margin-left:6px; white-space:nowrap; vertical-align:middle }
.dadd{ font-size:10px; font-weight:800; background:#fef3c7; color:#92400e; border-radius:999px; padding:1px 7px; vertical-align:middle }
.dqc{ background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:8px 12px; margin-bottom:6px } .dqc summary{ cursor:pointer } .dqc div{ margin-top:6px; border-top:1px dashed var(--line); padding-top:6px }
.pq-row{ display:flex; gap:12px; align-items:center; flex-wrap:wrap } .pq-fig{ flex:0 0 240px; max-width:100%; background:#fff; border:1px solid var(--line); border-radius:10px; padding:6px } .pq-fig svg{ width:100%; height:auto; display:block } .pq-txt{ flex:1 1 240px; min-width:0 }

/* Practise v2 (2026-11-27) */
.seg button .cnt{ display:inline-block; margin-left:4px; font-size:11px; font-weight:800; opacity:.75 } .seg button:disabled{ opacity:.45; cursor:default }
.seg.tops{ margin-top:-4px } .seg.tops button{ padding:5px 10px }
.g3{ color:var(--ink-3) } .prog .tally{ text-align:right }
.dots{ display:flex; gap:5px; overflow-x:auto; padding:8px 2px 2px; scrollbar-width:thin }
.dot{ flex:none; width:28px; height:28px; border-radius:8px; border:1px solid var(--line); background:var(--surface); color:var(--ink-2); font:800 11px 'Plus Jakarta Sans',system-ui,sans-serif; cursor:pointer }
.dot.ok{ background:var(--ok); border-color:var(--ok); color:var(--surface) } .dot.again{ background:var(--warn); border-color:var(--warn); color:var(--surface) } .dot.skip{ border-style:dashed; color:var(--ink-3) }
.dot.cur{ outline:2px solid var(--royal); outline-offset:1px }
.ptools{ display:flex; justify-content:space-between; gap:8px; margin-top:6px } .lnk{ border:0; background:none; color:var(--skyd); font:700 12px 'Plus Jakarta Sans',system-ui,sans-serif; cursor:pointer; padding:2px 0 }
.flash .fh{ display:flex; justify-content:space-between; align-items:center; gap:8px }
.mark{ font-size:11px; font-weight:800; border-radius:999px; padding:2px 8px; background:var(--line); color:var(--ink-2) } .mark.ok{ background:var(--ok); color:var(--surface) } .mark.again{ background:var(--warn); color:var(--surface) }
.fnav{ display:flex; justify-content:space-between; gap:8px; border-top:1px solid var(--line); padding-top:8px; margin-top:2px }
.nb{ border:1px solid var(--line); background:var(--surface); color:var(--ink-2); border-radius:10px; padding:8px 12px; font:700 12.5px 'Plus Jakarta Sans',system-ui,sans-serif; cursor:pointer } .nb:disabled{ opacity:.4; cursor:default } .nb[hidden]{ display:none }
.mk.col{ flex-direction:column; width:100% }

/* Practise v2: phone layout (2026-11-27) — mobile first, every state checked at 360 px */
.prog .pr{ flex-wrap:wrap; gap:2px 10px } .prog .pr #pos{ white-space:nowrap }
.dots{ flex-wrap:wrap; overflow:visible }
@media (max-width:699px){
  .seg.wrap{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin-left:-14px; margin-right:-14px; padding:0 14px 2px }
  .seg.wrap::-webkit-scrollbar{ display:none } .seg.wrap button{ flex:none }
  .prog .pr{ flex-direction:column; align-items:flex-start } .prog .tally{ text-align:left; font-size:11.5px }
  .dot{ width:34px; height:34px; font-size:12px }
  .pq-fig{ flex:1 1 100% }
  .fnav .nb{ padding:9px 10px; font-size:12px } .flash .fq{ font-size:14.5px }
  .ptools{ flex-wrap:wrap }
}

/* readiness levels (2026-11-27): ready · partly ready · coming */
.meter{ display:flex } .meter i.pt{ opacity:.35; border-radius:0 99px 99px 0 } .meter i:first-child:not([style*="width:0%"]) + i.pt{ border-radius:0 99px 99px 0 }
.pill.part{ background:#e0f2fe; color:var(--skyd) }
@media (prefers-color-scheme: dark){ .pill.part{ background:#0c4a6e; color:#bae6fd } }
.topichead .pill{ margin-left:auto; align-self:flex-start }
.partnote{ display:flex; gap:10px; align-items:flex-start; font-size:12.5px; color:var(--ink-2); border-left:4px solid var(--sky) } .partnote i{ color:var(--skyd); margin-top:2px }

/* Practise shortcuts on topic pages (2026-11-27) */
.pchip{ align-self:flex-start; margin-top:8px; display:inline-flex; gap:6px; align-items:center; background:var(--royal); color:#fff; border-radius:999px; padding:6px 12px; font-size:12px; font-weight:800; text-decoration:none }
.pchip i{ font-size:10px }
.h.hq{ justify-content:space-between; flex-wrap:wrap; gap:6px 10px } .h.hq > span{ display:inline-flex; gap:6px; align-items:center }
.hbtn{ display:inline-flex; gap:6px; align-items:center; text-transform:none; letter-spacing:0; font-size:12px; font-weight:800; color:var(--royal); background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:6px 12px; text-decoration:none }
@media (prefers-color-scheme: dark){ .hbtn{ color:#93c5fd } }
.hbtn i{ font-size:10px }
.h.hq,#deep{ scroll-margin-top:84px }

/* Quick MCQs (2026-11-27): topic page + Practise */
.pchips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px } .pchips .pchip{ margin-top:0 } .pchip.alt{ background:var(--surface); color:var(--royal); border:1px solid var(--line) }
@media (prefers-color-scheme: dark){ .pchip.alt{ color:#93c5fd } }
.hint.left{ text-align:left; margin:0 2px }
.mcqbar{ display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:12.5px; font-weight:700; color:var(--ink-2) }
#mcqList{ display:flex; flex-direction:column; gap:10px }
.mcq .mq{ font-size:13.5px; font-weight:700; color:var(--ink); margin-bottom:2px } .mcq .mq .qn{ color:var(--skyd) }
.mcq .mt{ font-size:10px; font-weight:800; text-transform:uppercase; color:var(--skyd); background:#e0f2fe; border-radius:6px; padding:1px 6px; vertical-align:1px; white-space:nowrap }
@media (prefers-color-scheme: dark){ .mcq .mt{ background:#0c4a6e; color:#bae6fd } }
.mcq .mo{ display:flex; gap:10px; align-items:flex-start; width:100%; text-align:left; border:1px solid var(--line); background:var(--bg); border-radius:10px; padding:10px 12px; margin-top:6px; font:600 13px 'Plus Jakarta Sans',system-ui,sans-serif; color:var(--ink); cursor:pointer }
.mcq .mo:disabled{ cursor:default }
.mcq .mo .bx{ flex:none; width:18px; height:18px; border:2px solid var(--ink-3); margin-top:1px; display:inline-flex; align-items:center; justify-content:center; font-size:10px; color:#fff; border-radius:50% }
.mcq.multi .mo .bx{ border-radius:4px }
.mcq .mo.sel{ border-color:var(--royal); background:#eef4ff } .mcq .mo.sel .bx{ background:var(--royal); border-color:var(--royal) }
.mcq .mo.right{ border-color:#15803d; background:#dcfce7 } .mcq .mo.right .bx{ background:#15803d; border-color:#15803d }
.mcq .mo.wrong{ border-color:#b91c1c; background:#fee2e2 } .mcq .mo.wrong .bx{ background:#b91c1c; border-color:#b91c1c }
.mcq .mo.miss{ border-style:dashed; border-color:#15803d }
@media (prefers-color-scheme: dark){ .mcq .mo.sel{ background:#1e3a8a } .mcq .mo.right{ background:#14532d } .mcq .mo.wrong{ background:#7f1d1d } }
.mcq .mact{ display:flex; gap:8px; margin-top:8px } .mcq .mact .btn{ flex:none; border:0; cursor:pointer; font-family:inherit; padding:9px 18px } .mcq .mact .btn:disabled{ opacity:.45; cursor:default }
.mfb{ margin-top:8px; font-size:12.8px; border-top:1px dashed var(--line); padding-top:8px; color:var(--ink-2) }
.flash .mcq{ margin-top:-2px } .flash #chk{ border:0; cursor:pointer; font-family:inherit } .flash #chk:disabled{ opacity:.45; cursor:default }
.seg.modes button.on{ background:var(--sky); border-color:var(--sky) }

/* Module summary page + PDF download (2026-11-27) */
.sumrow{ margin-bottom:2px } .sumcard .num{ background:var(--royal) !important; color:#fff } .sumcard .num i{ font-size:14px }
.deep table{ width:100%; border-collapse:collapse; font-size:12.5px; display:block; overflow-x:auto } .deep table th,.deep table td{ border:1px solid var(--line); padding:5px 7px; text-align:left; vertical-align:top } .deep table th{ background:var(--bg) }
.deep .card-x,.deep .card{ background:var(--surface) }
