/* OLS Live: teacher pages (inside the theme), presenter, student join. Brand: navy #1C244B, blue #467FF7,
   teal #0F8B8D, gold #C9961C, muted #5F6B84. Everything is scoped under .ols-live. */

.ols-live {
  --olv-navy: #1C244B; --olv-blue: #467FF7; --olv-teal: #0F8B8D; --olv-gold: #C9961C; --olv-muted: #5F6B84;
  --olv-red: #C0392B; --olv-line: #E3E6EF; --olv-soft: #F5F7FB; --olv-white: #fff;
  --olv-a: #467FF7; --olv-b: #C9961C; --olv-c: #0F8B8D; --olv-d: #8E4FC9;
  color: var(--olv-navy);
}
.ols-live *, .ols-live *::before, .ols-live *::after { box-sizing: border-box; }
.ols-live [hidden] { display: none !important; }

/* ------------------------------------------------------------ shared bits */
.ols-live .ols-live-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  background: var(--olv-blue); color: #fff; border: 2px solid var(--olv-blue); border-radius: 10px;
  padding: .62em 1.1em; font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.ols-live .ols-live-btn:hover, .ols-live .ols-live-btn:focus-visible { background: #2f66dc; border-color: #2f66dc; color: #fff; }
.ols-live .ols-live-btn.is-quiet { background: #fff; color: var(--olv-navy); border-color: var(--olv-line); }
.ols-live .ols-live-btn.is-quiet:hover, .ols-live .ols-live-btn.is-quiet:focus-visible { border-color: var(--olv-blue); color: var(--olv-blue); background: #fff; }
.ols-live .ols-live-btn.is-big { font-size: 1.08em; padding: .8em 1.4em; }
.ols-live .ols-live-btn[disabled] { opacity: .45; cursor: default; }
.ols-live .ols-live-btn small { font-weight: 400; opacity: .85; }
.ols-live .ols-live-btn kbd { font: inherit; font-size: .72em; font-weight: 600; opacity: .7; border: 1px solid currentColor; border-radius: 4px; padding: 0 .35em; }
.ols-live .ols-live-btn:focus-visible { outline: 3px solid var(--olv-gold); outline-offset: 2px; }

.ols-live-status { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .03em; padding: .18em .6em; border-radius: 999px; vertical-align: middle; background: var(--olv-soft); color: var(--olv-muted); }
.ols-live-status.is-teal { background: #e2f3f3; color: var(--olv-teal); }
.ols-live-status.is-gold { background: #f8efd9; color: #8a6510; }
.ols-live-status.is-red { background: #f8e1de; color: var(--olv-red); }

.ols-live-brand { display: inline-flex; align-items: baseline; gap: .3em; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.ols-live-brand-mark { background: var(--olv-navy); color: #fff; padding: .1em .4em; border-radius: 6px; }
.ols-live-brand-name { color: var(--olv-blue); }

/* ------------------------------------------------------------ teacher pages (in the theme) */
.ols-live-page { background: var(--olv-soft); padding: 32px 16px 64px; }
.ols-live-page .ols-live-wrap { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.ols-live-page .ols-live-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; margin: .25em 0 .2em; color: var(--olv-navy); }
.ols-live-page .ols-live-sub { color: var(--olv-muted); font-size: 1.05rem; margin: 0; max-width: 46em; }
.ols-live-pill { display: inline-block; background: var(--olv-navy); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .3em .8em; border-radius: 999px; }
.ols-live-back { display: inline-block; color: var(--olv-blue); text-decoration: none; font-weight: 600; margin-bottom: .4em; }
.ols-live-back::before { content: "\2190  "; }
.ols-live-card { background: #fff; border: 1px solid var(--olv-line); border-radius: 16px; padding: 24px; box-shadow: 0 1px 2px rgba(28,36,75,.04); }
.ols-live-card h2, .ols-live-h2 { font-size: 1.25rem; margin: 0 0 .7em; color: var(--olv-navy); display: flex; flex-wrap: wrap; align-items: center; gap: .5em; }
.ols-live-card h3 { font-size: 1.08rem; margin: 0 0 .3em; }
.ols-live-card h4 { font-size: .95rem; margin: 1.2em 0 .4em; color: var(--olv-muted); text-transform: uppercase; letter-spacing: .05em; }
.ols-live-note { color: var(--olv-muted); font-size: .92rem; }
.ols-live-ok, .ols-live-alert { margin: 0; padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.ols-live-ok { background: #e2f3f3; color: #0b6668; }
.ols-live-alert { background: #f8e1de; color: #8e2a1f; }
.ols-live-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: .6em 0; }
.ols-live-scroll { overflow-x: auto; }

.ols-live-form { display: flex; flex-direction: column; gap: 14px; }
.ols-live-form h2 { margin-top: .4em; }
.ols-live-field { display: flex; flex-direction: column; gap: 4px; }
.ols-live-field > span { font-weight: 600; font-size: .95rem; }
.ols-live-field input, .ols-live-inline select { font: inherit; padding: .6em .75em; border: 1.5px solid #cfd5e3; border-radius: 10px; background: #fff; color: var(--olv-navy); width: 100%; }
.ols-live-field input:focus, .ols-live-inline select:focus { outline: none; border-color: var(--olv-blue); box-shadow: 0 0 0 3px rgba(70,127,247,.18); }
.ols-live-field small { color: var(--olv-muted); }
.ols-live-field.has-error input { border-color: var(--olv-red); }
.ols-live-err { color: var(--olv-red); font-size: .88rem; font-weight: 500; }
.ols-live-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .ols-live-grid2 { grid-template-columns: 1fr; } }
.ols-live-check { display: flex; gap: .6em; align-items: flex-start; flex-wrap: wrap; font-weight: 500; }
.ols-live-check input { width: 1.2em; height: 1.2em; margin-top: .15em; }
.ols-live-terms { background: var(--olv-soft); border-radius: 12px; padding: 10px 16px; }
.ols-live-terms summary { cursor: pointer; font-weight: 600; }
.ols-live-terms ul { margin: .6em 0 .2em 1.1em; padding: 0; color: var(--olv-muted); font-size: .92rem; }
.ols-live-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.ols-live-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 1em; }
.ols-live-dl dt { color: var(--olv-muted); }
.ols-live-dl dd { margin: 0; font-weight: 500; }

.ols-live-roomrow { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.ols-live-qr { width: 168px; height: 168px; flex: 0 0 auto; border: 1px solid var(--olv-line); border-radius: 12px; overflow: hidden; background: #fff; }
.ols-live-qr svg { display: block; width: 100%; height: 100%; }
.ols-live-code-label { margin: 0; color: var(--olv-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.ols-live-code { margin: 0; font-size: clamp(2.2rem, 7vw, 3.4rem); font-weight: 800; letter-spacing: .08em; color: var(--olv-navy); font-variant-numeric: tabular-nums; }
.ols-live-joinurl { margin: .2em 0; }
.ols-live-roomforms { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 1em 0 .4em; align-items: center; }
.ols-live-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.ols-live-inline label { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.ols-live-inline select { width: auto; }

.ols-live-lesson + .ols-live-lesson { border-top: 1px solid var(--olv-line); margin-top: 18px; padding-top: 18px; }
.ols-live-files { list-style: none; margin: 0; padding: 0; }
.ols-live-files li { padding: 8px 0; border-bottom: 1px solid var(--olv-line); }
.ols-live-files li:last-child { border-bottom: 0; }
.ols-live-files a { font-weight: 600; color: var(--olv-blue); }
.ols-live-files li.is-locked span:first-child { color: var(--olv-muted); }
.ols-live-files small { color: var(--olv-muted); }

.ols-live-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ols-live-table th, .ols-live-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--olv-line); white-space: nowrap; }
.ols-live-table thead th { color: var(--olv-muted); font-weight: 600; font-size: .85rem; }
.ols-live-table td.is-right { color: var(--olv-teal); font-weight: 700; }
.ols-live-table td.is-wrong { color: var(--olv-red); }
.ols-live-table td.is-none { color: #b7bdcc; }

.ols-live-rq h3 { font-size: 1.05rem; line-height: 1.35; }
.ols-live-rbar { display: grid; grid-template-columns: 1.8em minmax(8em, 2fr) 3fr 2.2em; gap: 10px; align-items: center; padding: 5px 0; }
.ols-live-rlet { font-weight: 700; color: var(--olv-muted); }
.ols-live-rtext { font-size: .95rem; }
.ols-live-rtrack { background: var(--olv-soft); height: 14px; border-radius: 7px; overflow: hidden; }
.ols-live-rtrack i { display: block; height: 100%; background: #b9c6e6; border-radius: 7px; }
.ols-live-rbar.is-correct .ols-live-rtrack i { background: var(--olv-teal); }
.ols-live-rbar.is-correct .ols-live-rlet, .ols-live-rbar.is-correct .ols-live-rtext { color: var(--olv-teal); font-weight: 700; }
.ols-live-rpct { margin: .5em 0 0; font-weight: 600; }
@media (max-width: 600px) { .ols-live-rbar { grid-template-columns: 1.6em 1fr 2em; } .ols-live-rtrack { grid-column: 2 / 3; } .ols-live-rbar b { grid-row: 1; grid-column: 3; } }

/* ------------------------------------------------------------ bare pages */
body.ols-live { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--olv-soft); }
.ols-live-noscript { padding: 2em; text-align: center; }

/* ------------------------------------------------------------ presenter (projector) */
body.ols-live-present-body { background: #fff; overflow: hidden; }
.ols-live-present { height: 100vh; display: flex; flex-direction: column; font-size: clamp(14px, 1.45vw, 30px); }
.ols-live-pbar { display: flex; align-items: center; gap: 1.2em; padding: .7em 1.4em; background: var(--olv-navy); color: #fff; }
.ols-live-pbar .ols-live-brand-mark { background: #fff; color: var(--olv-navy); }
.ols-live-pbar .ols-live-brand-name { color: #9fbcff; }
.ols-live-ptitle { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .9; }
.ols-live-pjoin { white-space: nowrap; }
.ols-live-pjoin b { letter-spacing: .06em; color: #ffd36e; }
.ols-live-pcount { white-space: nowrap; background: rgba(255,255,255,.14); padding: .25em .8em; border-radius: 999px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ols-live-pmain { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 1.4em 2em .6em; overflow: auto; }
.ols-live-pmsg { margin: auto; font-size: 1.3em; color: var(--olv-muted); text-align: center; max-width: 30em; }
.ols-live-pmsg .ols-live-btn { margin-top: 1em; }

.ols-live-lobby { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4vw; }
.ols-live-lobby-text { text-align: left; }
.ols-live-lobby-kicker { margin: 0; font-size: 1.4em; color: var(--olv-muted); font-weight: 600; }
.ols-live-lobby-url { margin: .1em 0 .6em; font-size: 2.1em; font-weight: 700; color: var(--olv-blue); }
.ols-live-lobby-code-label { margin: 0; color: var(--olv-muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.ols-live-lobby-code { margin: 0; font-size: min(15vh, 9vw); line-height: 1; font-weight: 800; letter-spacing: .06em; color: var(--olv-navy); font-variant-numeric: tabular-nums; }
.ols-live-lobby-joined { margin: 1em 0 0; font-size: 1.3em; font-weight: 600; color: var(--olv-teal); }
.ols-live-lobby-qr { width: min(58vh, 36vw); height: min(58vh, 36vw); flex: 0 0 auto; }
.ols-live-lobby-qr svg { width: 100%; height: 100%; display: block; }

.ols-live-pq { flex: 1; display: flex; flex-direction: column; gap: .8em; min-height: 0; }
.ols-live-pq-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; color: var(--olv-muted); font-weight: 600; }
.ols-live-pq-stem { margin: 0; font-size: 2em; line-height: 1.22; font-weight: 600; color: var(--olv-navy); }
.ols-live-pq-img { max-height: 28vh; max-width: 100%; object-fit: contain; align-self: center; }
.ols-live-pq-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .7em; flex: 1 1 auto; min-height: 0; }
.ols-live-opt { position: relative; display: flex; align-items: center; gap: .7em; padding: .6em .9em; border-radius: 14px; border: 2px solid var(--olv-line); background: #fff; overflow: hidden; font-size: 1.35em; line-height: 1.2; }
.ols-live-opt-let { flex: 0 0 auto; width: 1.8em; height: 1.8em; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; position: relative; z-index: 1; }
.ols-live-opt:nth-child(1) .ols-live-opt-let { background: var(--olv-a); }
.ols-live-opt:nth-child(2) .ols-live-opt-let { background: var(--olv-b); }
.ols-live-opt:nth-child(3) .ols-live-opt-let { background: var(--olv-c); }
.ols-live-opt:nth-child(4) .ols-live-opt-let { background: var(--olv-d); }
.ols-live-opt-text { position: relative; z-index: 1; flex: 1; }
.ols-live-opt-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #e8edf8; transition: width .6s ease; }
.ols-live-opt-n { position: relative; z-index: 1; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ols-live-pq.is-reveal .ols-live-opt { opacity: .55; }
.ols-live-pq.is-reveal .ols-live-opt.is-correct { opacity: 1; border-color: var(--olv-teal); box-shadow: 0 0 0 3px rgba(15,139,141,.25); }
.ols-live-pq.is-reveal .ols-live-opt.is-correct .ols-live-opt-fill { background: #cfeeee; }
.ols-live-pq.is-reveal .ols-live-opt.is-correct .ols-live-opt-text::after { content: "  \2713"; color: var(--olv-teal); font-weight: 800; }
.ols-live-pq-live { display: flex; align-items: center; gap: 1em; font-weight: 600; color: var(--olv-muted); }
.ols-live-pq-meter { flex: 1; height: .55em; background: var(--olv-soft); border-radius: 999px; overflow: hidden; }
.ols-live-pq-meter i { display: block; height: 100%; width: 0; background: var(--olv-blue); transition: width .4s; }
.ols-live-pq-explain { margin: 0; background: #e2f3f3; color: #0b5254; border-radius: 14px; padding: .7em 1em; font-size: 1.1em; line-height: 1.35; }

.ols-live-pend { flex: 1; display: flex; flex-direction: column; gap: .8em; }
.ols-live-pend h2 { margin: 0; font-size: 2em; }
.ols-live-pend-row { display: grid; grid-template-columns: 3em 1fr 10em; gap: .8em; align-items: center; font-size: 1.05em; }
.ols-live-pend-row b { font-variant-numeric: tabular-nums; text-align: right; }
.ols-live-pend-stem { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ols-live-pend-track { height: .8em; background: var(--olv-soft); border-radius: 999px; overflow: hidden; }
.ols-live-pend-track i { display: block; height: 100%; background: var(--olv-teal); border-radius: 999px; }
.ols-live-pend-actions { display: flex; gap: .8em; margin-top: auto; }

.ols-live-pcontrols { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .7em 1.4em; border-top: 1px solid var(--olv-line); background: #fff; }
.ols-live-pbtns { display: flex; gap: .6em; }
.ols-live-pmode { display: flex; gap: .4em; align-items: center; flex-wrap: wrap; font-size: .85em; color: var(--olv-muted); }
.ols-live-pmode button { font: inherit; border: 1.5px solid var(--olv-line); background: #fff; color: var(--olv-navy); border-radius: 999px; padding: .2em .8em; cursor: pointer; }
.ols-live-pmode button[aria-pressed="true"] { background: var(--olv-navy); color: #fff; border-color: var(--olv-navy); }
.ols-live-pmode button[disabled] { cursor: default; opacity: .6; }

/* ------------------------------------------------------------ student join (phones, old ones too) */
body.ols-live-join-body { background: var(--olv-navy); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.ols-live-join { min-height: 100vh; display: flex; flex-direction: column; }
.ols-live-jbar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #fff; }
.ols-live-jbar .ols-live-brand-mark { background: #fff; color: var(--olv-navy); }
.ols-live-jbar .ols-live-brand-name { color: #9fbcff; }
.ols-live-jtitle { font-size: 14px; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ols-live-jmain { flex: 1; padding: 8px 16px 16px; display: flex; flex-direction: column; }
.ols-live-jcard { background: #fff; border-radius: 16px; padding: 20px 18px; max-width: 520px; width: 100%; margin: 0 auto; }
.ols-live-jcard h1 { font-size: 24px; margin: 0 0 14px; }
.ols-live-jcard h2 { font-size: 20px; margin: 0 0 10px; }
.ols-live-jcard label { display: block; font-weight: 600; margin-bottom: 6px; }
.ols-live-jcard input { display: block; width: 100%; font: inherit; font-size: 26px; padding: 12px 14px; border: 2px solid #cfd5e3; border-radius: 12px; letter-spacing: .06em; margin-bottom: 14px; color: var(--olv-navy); }
.ols-live-jcard input#olj-name { letter-spacing: 0; font-size: 22px; }
.ols-live-jcard input:focus { outline: none; border-color: var(--olv-blue); }
.ols-live-jcard .ols-live-btn { width: 100%; font-size: 20px; padding: 14px; }
.ols-live-jcard .ols-live-btn + .ols-live-btn { margin-top: 10px; }
.ols-live-jcard p { margin: 0 0 12px; line-height: 1.45; }
.ols-live-jerr { color: var(--olv-red); font-weight: 600; min-height: 1.2em; margin: 10px 0 0 !important; }
.ols-live-jwait { text-align: center; padding: 32px 18px; }
.ols-live-jwait .ols-live-jbig { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.ols-live-jdots::after { content: "…"; }
.ols-live-jq { max-width: 640px; width: 100%; margin: 0 auto; }
.ols-live-jq-n { color: #c7d3f5; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.ols-live-jq-stem { background: #fff; border-radius: 16px; padding: 16px; font-size: 19px; line-height: 1.35; margin: 0 0 12px; font-weight: 600; }
.ols-live-jq-img { display: block; max-width: 100%; max-height: 32vh; margin: 10px auto 0; }
.ols-live-jopt { display: block; width: 100%; text-align: left; font: inherit; font-size: 18px; line-height: 1.3; color: var(--olv-navy); background: #fff; border: 3px solid transparent; border-radius: 14px; padding: 14px 14px 14px 62px; margin: 0 0 10px; min-height: 64px; position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ols-live-jopt-let { position: absolute; left: 12px; top: 50%; margin-top: -19px; width: 38px; height: 38px; line-height: 38px; text-align: center; border-radius: 10px; color: #fff; font-weight: 700; }
.ols-live-jopt.l0 .ols-live-jopt-let { background: var(--olv-a); }
.ols-live-jopt.l1 .ols-live-jopt-let { background: var(--olv-b); }
.ols-live-jopt.l2 .ols-live-jopt-let { background: var(--olv-c); }
.ols-live-jopt.l3 .ols-live-jopt-let { background: var(--olv-d); }
.ols-live-jopt.is-picked { border-color: var(--olv-gold); background: #fff8e6; }
.ols-live-jopt.is-right { border-color: #2fc4c6; background: #e2f6f6; }
.ols-live-jopt.is-wrong { border-color: #e5786b; background: #fbe9e6; }
.ols-live-jopt[disabled] { cursor: default; }
.ols-live-jq-status { color: #fff; text-align: center; font-weight: 600; min-height: 1.4em; margin: 6px 0 10px; font-size: 16px; }
.ols-live-jq-result { background: #fff; border-radius: 16px; padding: 14px 16px; margin-top: 4px; }
.ols-live-jq-result b { display: block; font-size: 20px; margin-bottom: 4px; }
.ols-live-jq-result.is-right b { color: var(--olv-teal); }
.ols-live-jq-result.is-wrong b { color: var(--olv-red); }
.ols-live-jfoot { padding: 12px 16px 18px; color: #c7d3f5; font-size: 13px; line-height: 1.45; text-align: center; }
.ols-live-jfoot p { max-width: 560px; margin: 0 auto; }
.ols-live-jfoot a { color: #fff; }

/* ------------------------------------------------------------ the dashboard's board browser (teach-app.js) */
.ols-live-app { margin: 28px 0; }
.ols-live-appbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ols-live-backbtn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--olv-soft); color: var(--olv-navy); text-decoration: none; font-weight: 600; font-size: .95rem; border: 1px solid var(--olv-line); }
.ols-live-backbtn:hover, .ols-live-backbtn:focus-visible { border-color: var(--olv-blue); color: var(--olv-blue); }
.ols-live-backbtn svg { width: 16px; height: 16px; }
.ols-live-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .95rem; color: var(--olv-muted); }
.ols-live-crumbs a { color: var(--olv-blue); text-decoration: none; font-weight: 500; }
.ols-live-crumbs a:hover { text-decoration: underline; }
.ols-live-crumbs .is-here { color: var(--olv-navy); font-weight: 600; }
.ols-live-crumb-sep { color: #b5bccd; }
.ols-live-viewhead { margin: 4px 0 20px; }
.ols-live-viewhead h2 { margin: 2px 0 6px; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; color: var(--olv-navy); outline: none; }
.ols-live-kicker { margin: 0; color: var(--olv-teal); font-weight: 700; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }
.ols-live-viewsub { margin: 4px 0 0; color: var(--olv-muted); max-width: 52em; line-height: 1.55; }
.ols-live-plan { margin: 8px 0 4px; display: inline-block; background: #fff6e0; color: #6d4f08; border: 1px solid #f0dca6; border-radius: 12px; padding: 6px 14px; font-weight: 700; }
.ols-live-notes-link { display: inline-block; margin-top: 10px; color: var(--olv-blue); font-weight: 600; text-decoration: none; }
.ols-live-notes-link::after { content: " \2197"; }
.ols-live-linkbtn { background: none; border: 0; padding: 0; color: var(--olv-blue); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ols-live-chip { display: inline-block; font-size: .78rem; font-weight: 600; padding: .2em .7em; border-radius: 999px; background: var(--olv-soft); color: var(--olv-muted); }
.ols-live-chip.is-ready { background: #dff3f3; color: #0b6668; }
.ols-live-chip.is-prep { background: #f1f2f6; color: #7a8297; }



.ols-live-lessons { display: flex; flex-direction: column; gap: 16px; }
/* section headings (3A, 3B...) in topics split into sub-sections: prominent and centred, a rule either side (23 Oct 2026) */
.ols-live-section { display: flex; align-items: center; gap: 18px; margin: 34px 0 6px !important; font-size: 1.7rem !important; font-weight: 800; line-height: 1.25;
  color: var(--olv-navy, #1C244B) !important; text-align: center; justify-content: center; }
.ols-live-section::before, .ols-live-section::after { content: ""; flex: 1 1 0; min-width: 20px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--olv-teal, #1F9C9E)); }
.ols-live-section::after { background: linear-gradient(90deg, var(--olv-teal, #1F9C9E), transparent); }
.ols-live-section:first-child { margin-top: 4px !important; }
/* subtopic tabs (23 Oct 2026): only the chosen section shows. The premium segmented bar, without icons (31 Oct 2026). */
.ols-live-subnav { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 22px; padding: 6px; box-sizing: border-box; border-radius: 20px; background: #eef1f8; box-shadow: inset 0 0 0 1px rgba(28,36,75,.07); }
.ols-live .ols-live-subnav-btn { appearance: none; flex: 1 1 auto; min-width: 0; min-height: 44px; margin: 0; padding: 8px 14px; border: 0; border-radius: 15px; background: transparent; box-shadow: none; color: #3a4468; font: 600 14px/1.25 "Poppins", Arial, sans-serif; letter-spacing: -.01em; text-align: center; white-space: normal; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease !important; -webkit-tap-highlight-color: transparent; }
.ols-live .ols-live-subnav-btn:hover, .ols-live .ols-live-subnav-btn:focus { background: #fff !important; color: var(--olv-navy, #1C244B) !important; box-shadow: 0 4px 12px rgba(28,36,75,.08); }
.ols-live .ols-live-subnav-btn:focus-visible { outline: 3px solid #467FF7; outline-offset: 2px; }
.ols-live .ols-live-subnav-btn.is-on, .ols-live .ols-live-subnav-btn.is-on:hover, .ols-live .ols-live-subnav-btn.is-on:focus { background: linear-gradient(135deg, #1C244B, #2F3F86) !important; color: #fff !important; box-shadow: 0 8px 18px rgba(28,36,75,.26); }
.ols-live-secgroup { display: flex; flex-direction: column; gap: 16px; }
.ols-live-secgroup[hidden] { display: none; }
@media (max-width: 600px) { .ols-live .ols-live-subnav-btn { padding: 6px 10px; font-size: 13px; border-radius: 13px; } }
@media (max-width: 600px) { .ols-live-section { font-size: 1.35rem !important; gap: 12px; margin-top: 26px !important; } }
.ols-live-lcard { border: 1.5px solid var(--olv-line); border-radius: 18px; padding: 18px 20px 20px; background: #fff; box-shadow: 0 2px 6px rgba(28,36,75,.04); }
.ols-live-lcard.is-prep { background: #fafbfd; border-style: dashed; }
.ols-live-lcard-head { display: flex; gap: 16px; align-items: flex-start; }
.ols-live-lcard-num { flex: 0 0 auto; background: var(--olv-navy); color: #fff; border-radius: 12px; padding: 8px 12px; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.ols-live-lcard.is-prep .ols-live-lcard-num { background: #c3c8d6; }
.ols-live-lcard-text { flex: 1; min-width: 0; }
.ols-live-lcard-text h3 { margin: 2px 0 6px; font-size: 1.15rem; line-height: 1.3; color: var(--olv-navy); }
.ols-live-lcard-meta { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.ols-live-lcard-desc { margin: 0; color: var(--olv-muted); line-height: 1.5; }
.ols-live-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 12px; margin-top: 16px; }
.ols-live-tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 10px 14px; border-radius: 16px;
  border: 1.5px solid var(--olv-line); background: #fff; text-decoration: none !important; color: var(--olv-navy) !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.ols-live-tile:hover, a.ols-live-tile:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(28,36,75,.12); }
.ols-live-tile.kind-deck:hover { border-color: #e08a6c; } .ols-live-tile.kind-model:hover { border-color: #5fc4c5; }
.ols-live-tile.kind-handout:hover, .ols-live-tile.kind-test:hover, .ols-live-tile.kind-map:hover, .ols-live-tile.kind-worksheet:hover, .ols-live-tile.kind-markscheme:hover, .ols-live-tile.kind-plan:hover { border-color: #7da3e8; }
.ols-live-tile-icon { position: relative; width: 56px; height: 56px; margin-bottom: 4px; }
.ols-live-tile-icon svg { width: 100%; height: 100%; display: block; }
.ols-live-tile-lock { position: absolute; right: -8px; bottom: -6px; width: 26px; height: 26px; background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.ols-live-tile-label { font-weight: 700; font-size: .98rem; }
.ols-live-tile-name { font-size: .78rem; color: var(--olv-muted); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.ols-live-tile-size { font-size: .75rem; color: #8a91a6; }
.ols-live-tile.is-locked { background: #f6f7fa; cursor: not-allowed; }
.ols-live-tile.is-locked .ols-live-tile-icon > svg { filter: grayscale(1); opacity: .45; }
.ols-live-locknote { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 8px 12px; border-radius: 12px; background: #f6f7fa; color: var(--olv-muted); font-size: .9rem; }
.ols-live-locknote svg { width: 18px; height: 18px; flex: 0 0 auto; }
.ols-live-prepnote { color: var(--olv-muted); }
.ols-live-boardq { border: 2px solid var(--olv-gold); background: #fffaf0; }
.ols-live-boardq select, .ols-live-school select { font: inherit; padding: .55em .7em; border: 1.5px solid #cfd5e3; border-radius: 10px; background: #fff; color: var(--olv-navy); }
.ols-live-school input[type=text] { font: inherit; padding: .55em .7em; border: 1.5px solid #cfd5e3; border-radius: 10px; min-width: 14em; }
.ols-live-field select { font: inherit; padding: .6em .75em; border: 1.5px solid #cfd5e3; border-radius: 10px; background: #fff; color: var(--olv-navy); width: 100%; }
@media (max-width: 640px) {
  .ols-live-lcard { padding: 14px; }
  .ols-live-lcard-head { flex-direction: column; gap: 8px; }
  .ols-live-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------ online homework (Mo, 19 Oct 2026) */
.ols-live-tile.kind-homework:hover { border-color: #a985d6; }
.ols-live-tile.kind-results:hover { border-color: #5fc4c5; }
.ols-hw-insight h3 { font-size: 1rem; margin: 1.1em 0 .4em; }
.ols-hw-insight-overview { font-size: 1.05rem; }
.ols-hw-insight-list { margin: 0 0 .5em; padding-left: 1.2em; }
.ols-hw-insight-list li { margin: 0 0 .7em; line-height: 1.5; }
.ols-hw-insight-do { color: #0F8B8D; font-weight: 600; }
.ols-live .ols-live-btn.is-danger { color: var(--olv-red); }
.ols-live .ols-live-btn.is-danger:hover, .ols-live .ols-live-btn.is-danger:focus-visible { border-color: var(--olv-red); color: var(--olv-red); }
.ols-hw-steps { margin: 18px 0 0; padding-left: 1.3em; color: var(--olv-muted); line-height: 1.7; }
.ols-hw-empty { color: var(--olv-muted); margin: 0; }
.ols-hw-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6em; height: 1.6em; padding: 0 .4em; border-radius: 999px; background: var(--olv-blue); color: #fff; font-size: .7em; vertical-align: middle; }
.ols-hw-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--olv-line); }
.ols-live-card h2 + .ols-hw-item { border-top: 0; padding-top: 4px; }
.ols-hw-item h3 { margin: 0 0 4px; font-size: 1.12rem; }
.ols-hw-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--olv-muted); font-size: .9rem; }
.ols-hw-due { margin: 6px 0 0; font-weight: 600; font-size: .95rem; }
.ols-hw-item.is-late .ols-hw-due { color: var(--olv-red); }
.ols-hw-item-side { display: flex; align-items: center; gap: 12px; flex: none; }
.ols-hw-score { font-size: 1rem; padding: .3em .8em; }
.ols-hw-classes { list-style: none; margin: 0 0 12px; padding: 0; }
.ols-hw-classes li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--olv-line); }
.ols-hw-classes li:first-child { border-top: 0; }
.ols-hw-classes small { color: var(--olv-muted); }
.ols-hw-more summary { cursor: pointer; font-weight: 600; color: var(--olv-blue); margin-top: 8px; }
.ols-hw-more form { margin-top: 12px; }
.ols-hw-codein { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
@media (max-width: 640px) {
  .ols-hw-item { flex-direction: column; align-items: stretch; }
  .ols-hw-item > .ols-live-btn { width: 100%; justify-content: center; text-align: center; }
  .ols-hw-item-side { justify-content: space-between; }
}

/* the player */
.ols-hw-latebar { margin: 12px 0 0; background: #fbeee0; color: #8a5a12; border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.ols-hw-player { max-width: 780px; }
.ols-hw-progress { position: sticky; top: 0; z-index: 2; background: var(--olv-soft); padding: 10px 0; margin-bottom: 4px; }
.ols-hw-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.ols-hw-dot { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--olv-line); background: #fff; color: var(--olv-muted); font-weight: 700; cursor: pointer; font-size: .9rem; padding: 0; }
.ols-hw-dot.is-answered { background: #e6eefe; border-color: #a9c2f9; color: var(--olv-navy); }
.ols-hw-dot.is-current { border-color: var(--olv-blue); background: var(--olv-blue); color: #fff; }
fieldset.ols-hw-q { border: 0; margin: 0 0 18px; min-width: 0; }
.ols-hw-q legend { padding: 0; float: left; width: 100%; }
.ols-hw-qn { color: var(--olv-muted); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 6px; }
.ols-hw-stem { font-size: clamp(1.08rem, 2.4vw, 1.3rem); font-weight: 600; line-height: 1.45; margin: 0 0 16px; clear: both; }
.ols-hw-img { max-width: 100%; height: auto; display: block; margin: 0 0 16px; }
.ols-hw-opts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ols-hw-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--olv-line); border-radius: 14px; background: #fff; cursor: pointer; font-size: 1.04rem; line-height: 1.4; transition: border-color .15s, background .15s; margin: 0; }
label.ols-hw-opt:hover { border-color: #a9c2f9; }
.ols-hw-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ols-hw-letter { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--olv-soft); color: var(--olv-navy); font-weight: 800; }
.ols-hw-otext { flex: 1; }
label.ols-hw-opt:has(input:checked) { border-color: var(--olv-blue); background: #eef3fe; }
label.ols-hw-opt:has(input:checked) .ols-hw-letter { background: var(--olv-blue); color: #fff; }
label.ols-hw-opt:has(input:focus-visible) { outline: 3px solid var(--olv-gold); outline-offset: 2px; }
.ols-hw-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.ols-hw-player:not(.is-js) .ols-hw-nav { display: none; }
.ols-hw-player:not(.is-js) .ols-hw-review .ols-hw-nav { display: flex; justify-content: flex-end; }
.ols-hw-player:not(.is-js) .ols-hw-review .ols-hw-prev { display: none; }
.ols-hw-player.is-js .ols-hw-q, .ols-hw-player.is-js .ols-hw-review { display: none; }
.ols-hw-player.is-js .is-shown { display: block !important; }
.ols-hw-review-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.ols-hw-review-list button { border: 2px solid var(--olv-line); background: #fff; border-radius: 10px; padding: 6px 12px; font-weight: 700; cursor: pointer; color: var(--olv-navy); }
.ols-hw-review-list button.is-missing { border-color: var(--olv-red); color: var(--olv-red); }
.ols-hw-review-msg.is-missing { color: var(--olv-red); font-weight: 600; }

/* marked answers */
.ols-hw-scorecard { display: flex; gap: 24px; align-items: center; }
.ols-hw-scorecard h2 { margin-top: 0; }
.ols-hw-bigscore { flex: none; width: 128px; height: 128px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 8px solid; box-sizing: border-box; }
.ols-hw-bigscore b { font-size: 2.6rem; line-height: 1; }
.ols-hw-bigscore span { font-size: .85rem; color: var(--olv-muted); }
.ols-hw-bigscore.is-teal { border-color: var(--olv-teal); }
.ols-hw-bigscore.is-gold { border-color: var(--olv-gold); }
.ols-hw-bigscore.is-red { border-color: var(--olv-red); }
.ols-hw-goes { margin: 12px 0 0; font-size: .92rem; color: var(--olv-muted); }
.ols-hw-goes a, .ols-hw-goes b { margin-right: 10px; }
.ols-hw-marked.is-right { border-left: 6px solid var(--olv-teal); }
.ols-hw-marked.is-wrong { border-left: 6px solid var(--olv-red); }
.ols-hw-tick { color: var(--olv-teal); text-transform: none; letter-spacing: 0; margin-left: 8px; }
.ols-hw-cross { color: var(--olv-red); text-transform: none; letter-spacing: 0; margin-left: 8px; }
.ols-hw-opts.is-marked .ols-hw-opt { cursor: default; }
.ols-hw-opt.is-answer { border-color: var(--olv-teal); background: #e2f3f3; }
.ols-hw-opt.is-answer .ols-hw-letter { background: var(--olv-teal); color: #fff; }
.ols-hw-opt.is-chosen { border-color: var(--olv-red); background: #fbe9e7; }
.ols-hw-opt.is-chosen .ols-hw-letter { background: var(--olv-red); color: #fff; }
.ols-hw-tag { flex: none; font-size: .78rem; font-weight: 700; color: var(--olv-muted); }
.ols-hw-explain { margin: 14px 0 0; background: var(--olv-soft); border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
@media (max-width: 640px) {
  .ols-hw-scorecard { flex-direction: column; align-items: flex-start; }
  .ols-hw-tag { display: none; }
}

/* teacher pages */
.ols-hw-classgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0 0 20px; }
.ols-hw-classcard { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: 1px solid var(--olv-line); border-radius: 16px; text-decoration: none !important; color: var(--olv-navy) !important; transition: transform .2s, box-shadow .2s; }
.ols-hw-classcard:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(28,36,75,.12); }
.ols-hw-classcard b { font-size: 1.1rem; }
.ols-hw-classcode { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .14em; color: var(--olv-blue); }
.ols-hw-classfig { font-size: .88rem; color: var(--olv-muted); }
.ols-hw-dash .ols-hw-classgrid { margin: 14px 0 0; }
.ols-hw-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ols-hw-dash-head h2 { margin: 0; }
.ols-hw-codepanel { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.ols-hw-codepanel .ols-live-code { letter-spacing: .14em; }
.ols-hw-codehow { flex: 1; min-width: 240px; }
.ols-hw-codehow p { margin: 0 0 10px; }
.ols-hw-copy { display: flex; gap: 8px; }
.ols-hw-copy input { flex: 1; min-width: 0; padding: .6em .8em; border: 1px solid var(--olv-line); border-radius: 10px; font: inherit; font-size: .9rem; background: var(--olv-soft); }
.ols-hw-setform select { max-width: 100%; }
.ols-live-inline input[type="date"], .ols-live-inline input[type="text"] { padding: .55em .7em; border: 1px solid var(--olv-line); border-radius: 10px; font: inherit; max-width: 100%; }
.ols-live-field input[type="date"] { max-width: 220px; }
.ols-hw-bar { display: inline-block; width: 90px; height: 10px; border-radius: 999px; background: var(--olv-line); overflow: hidden; vertical-align: middle; }
.ols-hw-bar i { display: block; height: 100%; background: var(--olv-teal); }
.ols-hw-settings .ols-live-actions { margin-top: 14px; }
.ols-hw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 20px; }
.ols-hw-stat { background: #fff; border: 1px solid var(--olv-line); border-radius: 16px; padding: 16px 18px; }
.ols-hw-stat b { display: block; font-size: 1.9rem; line-height: 1.1; }
.ols-hw-stat span { color: var(--olv-muted); font-size: .9rem; }
.ols-hw-stat.is-gold b { color: var(--olv-gold); }
.ols-hw-stat.is-red b { color: var(--olv-red); }
.ols-hw-names { margin: 0; line-height: 1.6; }
.ols-hw-markbook th.is-q, .ols-hw-markbook td.is-right, .ols-hw-markbook td.is-wrong, .ols-hw-markbook td.is-none { text-align: center; width: 2.6em; }
.ols-hw-markbook td.is-right { color: var(--olv-teal); font-weight: 800; }
.ols-hw-markbook td.is-wrong { color: var(--olv-red); font-weight: 800; }
.ols-hw-notyet { color: var(--olv-muted); font-style: italic; }
.ols-hw-qstat { padding: 16px 0; border-top: 1px solid var(--olv-line); }
.ols-hw-qstat .ols-hw-stem { font-size: 1.02rem; margin-bottom: 10px; }
.ols-hw-qstat .ok { color: var(--olv-teal); }
.ols-hw-qstat .mid { color: var(--olv-gold); }
.ols-hw-qstat .low { color: var(--olv-red); }
.ols-hw-dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ols-hw-dist li { display: grid; grid-template-columns: 30px 1fr 120px 28px; align-items: center; gap: 10px; font-size: .94rem; }
.ols-hw-dist .ols-hw-letter { width: 26px; height: 26px; font-size: .8rem; }
.ols-hw-dist .ols-hw-bar { width: 100%; }
.ols-hw-dist .ols-hw-bar i { background: #b8c2d6; }
.ols-hw-dist li.is-answer { color: var(--olv-teal); font-weight: 600; }
.ols-hw-dist li.is-answer .ols-hw-bar i { background: var(--olv-teal); }
.ols-hw-dist li.is-answer .ols-hw-letter { background: var(--olv-teal); color: #fff; }
.ols-hw-n { text-align: right; font-weight: 700; }
.ols-hw-picks { list-style: none; margin: 0 0 14px; padding: 0; }
.ols-hw-picks li { padding: 8px 0; border-top: 1px solid var(--olv-line); }
.ols-hw-picks li:first-child { border-top: 0; }
.ols-hw-picks li.is-set { color: var(--olv-muted); }
@media (max-width: 640px) { .ols-hw-dist li { grid-template-columns: 26px 1fr 60px 22px; } }
.ols-live-head > .ols-live-back { display: table; margin-bottom: 12px; }
.ols-hw-img { width: min(100%, 340px); height: auto; background: #fff; border: 1px solid var(--olv-line); border-radius: 12px; padding: 12px; box-sizing: border-box; }

/* Mo, 19 Oct 2026: no link-looking controls; every stand-alone action is a pill button. */
.ols-live .ols-live-back, .ols-live .ols-live-notes-link, .ols-live .ols-live-linkbtn, .ols-live .ols-hw-more > summary, .ols-live .ols-hw-goes a, .ols-live .ols-hw-goes b {
  display: inline-flex; align-items: center; gap: 6px; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--olv-line);
  background: #fff; color: var(--olv-navy); font: inherit; font-size: .92rem; font-weight: 600; line-height: 1.2; text-decoration: none !important;
  cursor: pointer; transition: border-color .15s, color .15s, background .15s; white-space: nowrap;
}
.ols-live .ols-live-back:hover, .ols-live .ols-live-notes-link:hover, .ols-live .ols-live-linkbtn:hover, .ols-live .ols-hw-more > summary:hover, .ols-live .ols-hw-goes a:hover,
.ols-live .ols-live-back:focus-visible, .ols-live .ols-live-notes-link:focus-visible, .ols-live .ols-live-linkbtn:focus-visible, .ols-live .ols-hw-goes a:focus-visible { border-color: var(--olv-blue); color: var(--olv-blue); }
.ols-live .ols-live-back { background: var(--olv-soft); margin-bottom: 12px; }
.ols-live .ols-live-notes-link { margin-top: 12px; border-color: #c9d8fb; color: var(--olv-blue); background: #eef3fe; }
.ols-live .ols-hw-more > summary { list-style: none; margin-top: 10px; color: var(--olv-blue); }
.ols-live .ols-hw-more > summary::-webkit-details-marker { display: none; }
.ols-live .ols-hw-more > summary::before { content: "+"; font-weight: 800; }
.ols-live .ols-hw-more[open] > summary::before { content: "\2212"; }
.ols-live .ols-hw-goes b { background: var(--olv-navy); color: #fff; border-color: var(--olv-navy); }
.ols-live .ols-hw-goes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ols-live .ols-hw-goes a, .ols-live .ols-hw-goes b { margin: 0; }
.ols-live .ols-hw-classes .ols-live-linkbtn, .ols-live .ols-live-table .ols-live-linkbtn { color: var(--olv-red); }
.ols-live .ols-hw-classes .ols-live-linkbtn:hover, .ols-live .ols-live-table .ols-live-linkbtn:hover { border-color: var(--olv-red); color: var(--olv-red); }
.ols-hw-picks li.is-set { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Check your learning in the homework (Mo, 19 Oct 2026) */
fieldset.ols-hw-check { border: 0; margin: 0 0 18px; min-width: 0; }
.ols-hw-check legend { padding: 0; float: left; width: 100%; }
.ols-hw-check h2 { clear: both; margin: 0 0 4px; }
.ols-hw-checksub { color: var(--olv-muted); margin: 0 0 14px; }
.ols-hw-player.is-js .ols-hw-check { display: none; }
.ols-hw-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: c; }
.ols-hw-checklist li { padding: 12px 14px; border: 1px solid var(--olv-line); border-radius: 14px; background: #fff; }
.ols-hw-checkst { margin: 0 0 10px; font-weight: 600; line-height: 1.4; }
.ols-hw-checkst span, .ols-hw-cstats p span { color: var(--olv-muted); font-weight: 700; }
.ols-hw-checkopts { display: flex; flex-wrap: wrap; gap: 8px; }
.ols-hw-chip { position: relative; cursor: pointer; }
.ols-hw-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ols-hw-chip span { display: inline-flex; align-items: center; padding: .5em 1.1em; border-radius: 999px; border: 2px solid var(--olv-line); background: #fff; font-weight: 700; font-size: .95rem; color: var(--olv-navy); transition: all .15s; }
.ols-hw-chip:hover span { border-color: #a9c2f9; }
.ols-hw-chip input:focus-visible + span { outline: 3px solid var(--olv-gold); outline-offset: 2px; }
.ols-hw-chip.lv-2 input:checked + span { background: var(--olv-teal); border-color: var(--olv-teal); color: #fff; }
.ols-hw-chip.lv-1 input:checked + span { background: var(--olv-gold); border-color: var(--olv-gold); color: #fff; }
.ols-hw-chip.lv-0 input:checked + span { background: var(--olv-red); border-color: var(--olv-red); color: #fff; }
.ols-hw-checkmsg { color: var(--olv-red); font-weight: 600; min-height: 1.2em; margin: 10px 0 0; }
.ols-hw-cstats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ols-hw-cstats p { margin: 0 0 6px; font-weight: 600; }
.ols-hw-stack { display: flex; height: 26px; border-radius: 999px; overflow: hidden; background: var(--olv-line); }
.ols-hw-stack i { display: flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-weight: 700; font-size: .85rem; min-width: 22px; }
.ols-hw-stack .lv-2, .ols-hw-legend .lv-2::before, .ols-hw-cchip.lv-2 { background: var(--olv-teal); }
.ols-hw-stack .lv-1, .ols-hw-legend .lv-1::before, .ols-hw-cchip.lv-1 { background: var(--olv-gold); }
.ols-hw-stack .lv-0, .ols-hw-legend .lv-0::before, .ols-hw-cchip.lv-0 { background: var(--olv-red); }
.ols-hw-legend { display: flex; gap: 16px; margin: 12px 0 4px; font-size: .9rem; color: var(--olv-muted); }
.ols-hw-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.ols-hw-cchip { display: inline-block; color: #fff; font-size: .78rem; font-weight: 700; padding: .2em .6em; border-radius: 999px; white-space: nowrap; }
.ols-hw-ctable td.is-c, .ols-hw-ctable th.is-q { text-align: center; }
.ols-hw-mine { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.ols-hw-mine li { display: flex; justify-content: space-between; gap: 10px; align-items: center; }

/* Revise these pages: revision-page buttons for the questions a student got wrong (Mo, 19 Oct 2026) */
.ols-hw-revise { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #eef3fe; border: 1px solid #c9d8fb; }
.ols-hw-revise h3 { margin: 0 0 10px; font-size: 1.05rem; }
.ols-hw-revise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ols-hw-revise li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ols-hw-revqs { color: var(--olv-muted); font-size: .9rem; }
.ols-hw-revone { margin: 12px 0 0; }
.ols-live .ols-live-btn.ols-hw-revbtn { white-space: normal; text-align: left; }
.ols-live-chip.is-draft { background: #fbeee0; color: #8a5a12; }
.ols-live-chip.is-token { background: #eef4ff; color: #1C244B; box-shadow: inset 0 0 0 1px #c9d8fb; } /* "1 token" on a pack not yet unlocked (8 Nov 2026) */

/* The dashboard in the site's premium style (Mo, 31 Oct 2026). The bar and cards come from landing-tabs.css and
   board-landing.css, printed by the page; this adds the board strip and the exact .ols-t5-card hover on every clickable card.
   Transitions are !important: a reduced-motion rule elsewhere removes them otherwise. */
.ols-live-boardbar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 14px; margin: 4px 0 22px; }
.ols-live-boardbar-name { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; box-sizing: border-box; border-radius: 999px; background: color-mix(in srgb, var(--bx, #1C244B) 12%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bx, #1C244B) 30%, #fff); color: color-mix(in srgb, var(--bx, #1C244B) 68%, #000); font: 600 14px/1.3 "Poppins", Arial, sans-serif; }
.ols-live-boardchange { min-width: 0; }
.ols-live .ols-live-boardpill { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; box-sizing: border-box; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #1C244B; color: #1C244B; font: 700 14px/1.2 "Poppins", Arial, sans-serif; list-style: none; cursor: pointer; }
.ols-live .ols-live-boardpill::-webkit-details-marker { display: none; }
.ols-live .ols-live-boardpill:hover, .ols-live .ols-live-boardpill:focus, .ols-live .ols-live-boardchange[open] > .ols-live-boardpill { background: #EEF4FF !important; color: #1C244B !important; }
.ols-live .ols-live-boardpill:focus-visible { outline: 3px solid #467FF7; outline-offset: 2px; }
.ols-live-boardchange form { margin-top: 10px; }
.ols-live-boardchange select { max-width: 100%; }

.ols-live .ols-bland .ols-bland-card, .ols-live a.ols-live-tile, .ols-live .ols-hw-classcard { border: 1px solid rgba(28,36,75,.12); box-shadow: 0 10px 28px rgba(28,36,75,.09); transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s ease, border-color .28s ease !important; }
.ols-live .ols-bland .ols-bland-card:hover, .ols-live .ols-bland .ols-bland-card:focus-visible, .ols-live a.ols-live-tile:hover, .ols-live a.ols-live-tile:focus-visible, .ols-live .ols-hw-classcard:hover, .ols-live .ols-hw-classcard:focus-visible { transform: translateY(-10px) scale(1.02); box-shadow: 0 28px 56px rgba(28,36,75,.16); border-color: rgba(70,127,247,.35) !important; }
.ols-live .ols-bland .ols-bland-facts { margin: 2px 0 10px; }
.ols-live .ols-bland .ols-bland-head .ols-bland-facts { margin: 0; }
.ols-live .ols-bland .ols-live-chip { display: inline-flex; align-items: center; padding: 5px 12px; font: 600 12.5px/1.3 "Poppins", Arial, sans-serif; }
.ols-live-app .ols-ltabs-panels { overflow-anchor: none; }
.ols-live-view .ols-live-appbar { margin-top: 2px; }
@media (max-width: 640px) { .ols-live-boardbar-name { width: 100%; } }
