/* UpperCrust One v2. Bold, rounded, playful, but calm: one thing to do per screen. */
:root {
  --bg: #FFFFFF; --soft: #FFF8E6; --ink: #3B3224; --ink2: #4B4963; --mute: #7A7893;
  --line: #E6E5EE; --line2: #D3D2E0;
  --gold: #F6B800; --gold-d: #C98F00; --gold-tint: #FFF6D8; --gold-ink: #8A5F00;
  --ok: #1FA45B; --ok-d: #138044; --ok-tint: #DDF6E8; --bad: #E5484D; --bad-d: #B3282D; --bad-tint: #FFE3E4;
  --blue: #2F7CF6; --blue-d: #1F5FC8; --blue-tint: #E3EEFF;
  --lv-foundation: #1FA45B; --lv-foundation-d: #138044; --lv-practitioner: #2F7CF6; --lv-practitioner-d: #1F5FC8; --lv-expert: #F08A12; --lv-expert-d: #B8650A;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", "Noto Sans Gujarati", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --r: 20px; --side: 252px; --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 600 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ——— Type ——— */
.h1 { font: 900 clamp(28px, 4vw, 38px)/1.15 var(--font); letter-spacing: -.01em; }
.h2 { font: 800 22px/1.3 var(--font); }
.h3 { font: 800 18px/1.35 var(--font); }
.lead { font-size: 18px; color: var(--ink2); font-weight: 600; line-height: 1.55; }
.mute { color: var(--mute); }
.small { font-size: 15px; } .tiny { font-size: 13px; }
.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow { font: 800 13px/1.2 var(--font); color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }

/* ——— Layout: sidebar on desktop, tabs on phones ——— */
.side { position: fixed; inset: 0 auto 0 0; width: var(--side); border-right: 2px solid var(--line); background: #fff; padding: 24px 16px; display: flex; flex-direction: column; gap: 28px; z-index: 30; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.brand img { height: 28px; width: auto; }
.brand .one { font: 900 26px/1 var(--font); color: var(--gold-d); letter-spacing: -.02em; }
.nav { display: grid; gap: 6px; }
.nav a { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 14px; border: 2px solid transparent; font: 800 15px/1 var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--ink2); }
.nav a svg { width: 28px; height: 28px; flex: none; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { background: var(--gold-tint); border-color: var(--gold); color: var(--gold-ink); }
.shell { margin-left: var(--side); min-height: 100vh; }
.bar-top { position: sticky; top: 0; z-index: 20; display: flex; justify-content: flex-end; align-items: center; gap: 12px; height: 68px; padding: 0 32px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); }
.bar-top .brand { display: none; margin-right: auto; }
.me { position: relative; display: flex; align-items: center; gap: 12px; }
.pillstat { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 99px; border: 2px solid var(--line); font: 900 15px var(--font); }
.pillstat.fire { color: var(--lv-expert); } .pillstat.xp { color: var(--gold-d); }
.pillstat svg { width: 20px; height: 20px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line2); background: var(--gold-tint); color: var(--gold-ink); font: 900 16px var(--font); }
.avatar:hover { border-color: var(--ink); }
.menu { position: absolute; right: 0; top: 52px; width: 272px; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 6px 0 rgba(29, 27, 46, .06), 0 20px 40px rgba(29, 27, 46, .12); z-index: 50; }
.menu a, .menu button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 12px; border: 0; background: none; border-radius: 12px; font: 700 15px var(--font); text-align: left; }
.menu a:hover, .menu button:hover { background: var(--soft); }
.menu .who { padding: 10px 12px 12px; border-bottom: 2px solid var(--line); margin-bottom: 6px; }
.menu select { width: 100%; padding: 10px; border: 2px solid var(--line2); border-radius: 12px; background: #fff; margin-top: 6px; font-weight: 700; }
.tabs { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 2px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 58px; color: var(--mute); }
.tabs a svg { width: 30px; height: 30px; }
.tabs a[aria-current="page"] { color: var(--gold-ink); background: var(--gold-tint); }
.tabs a span { display: none; }
@media (max-width: 1000px) {
  .side { display: none; } .shell { margin-left: 0; } .tabs { display: flex; }
  .bar-top { padding: 0 16px; justify-content: flex-end; border-bottom: 2px solid var(--line); } .bar-top .brand { display: flex; }
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 32px; }
.wide { max-width: 1080px; }
.page { padding-block: 24px 120px; animation: rise .3s var(--ease); }
@media (max-width: 760px) { .wrap { padding: 0 18px; } .page { padding-block: 18px 110px; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.stack > * + * { margin-top: 20px; }
.stack.stack-xxs > * + * { margin-top: 4px; } .stack.stack-xs > * + * { margin-top: 8px; } .stack.stack-s > * + * { margin-top: 12px; }
.stack.stack-l > * + * { margin-top: 32px; } .stack.stack-xl > * + * { margin-top: 48px; }
.stack > a.small.mute { display: flex; width: fit-content; }
.row-flex { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1 1 0; min-width: 0; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.cols > aside { position: sticky; top: 92px; }
@media (max-width: 1100px) { .cols { grid-template-columns: 1fr; } .cols > aside { position: static; } }

/* ——— Surfaces ——— */
.card { background: #fff; border: 2px solid var(--line); border-radius: var(--r); padding: 22px; }
.card.tint { background: var(--gold-tint); border-color: #F3DC8A; }
.card.link { display: block; transition: transform .15s var(--ease), background .15s; }
.card.link:hover { background: var(--soft); transform: translateY(-2px); }
.divide > * + * { border-top: 2px solid var(--line); }
.list-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; min-height: 68px; }
a.list-row:hover .list-title { color: var(--blue-d); }
.list-title { font-weight: 800; }
.chev { width: 20px; height: 20px; color: var(--mute); flex: none; }

/* ——— Buttons: chunky ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 16px; border: 2px solid transparent; border-bottom-width: 5px; font: 900 15px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: filter .15s, transform .08s; }
.btn:active:not([disabled]) { transform: translateY(3px); border-bottom-width: 2px; }
.btn.primary { background: var(--gold); border-color: var(--gold-d); color: var(--ink); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.blue { background: var(--blue); border-color: var(--blue-d); color: #fff; }
.btn.green { background: var(--ok); border-color: var(--ok-d); color: #fff; }
.btn.red { background: var(--bad); border-color: var(--bad-d); color: #fff; }
.btn.ghost { background: #fff; border-color: var(--line2); color: var(--blue-d); }
.btn.ghost:hover { background: var(--soft); }
.btn.quiet { background: none; border-color: transparent; border-bottom-width: 2px; color: var(--mute); padding: 0 14px; }
.btn.quiet:hover { color: var(--ink); background: var(--soft); }
.btn[disabled] { background: var(--soft); border-color: var(--line); color: var(--mute); cursor: not-allowed; }
.btn.block { width: 100%; }
.seg { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.seg button { border: 2px solid var(--line); background: #fff; padding: 8px 18px; border-radius: 99px; font: 800 14px var(--font); color: var(--ink2); }
.seg button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-d); }
.input { width: 100%; height: 54px; padding: 0 18px; border: 2px solid var(--line2); border-radius: 16px; background: var(--soft); font: 700 16px var(--font); }
textarea.input { height: auto; padding: 14px 18px; line-height: 1.6; resize: vertical; }
.input:focus { outline: none; border-color: var(--blue); background: #fff; }
.field > label { display: block; font: 800 14px var(--font); margin-bottom: 8px; color: var(--ink2); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 18px; border-radius: 99px; border: 2px solid var(--line); background: #fff; font: 800 14px var(--font); color: var(--ink2); }
.chip:hover { background: var(--soft); }
.chip[aria-pressed="true"] { background: var(--blue-tint); border-color: var(--blue); color: var(--blue-d); }

/* ——— Small parts ——— */
.bar { height: 14px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--gold); border-radius: 99px; transition: width .6s var(--ease); position: relative; }
.bar > i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 3px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .4); }
.bar.ok > i { background: var(--ok); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--mute); flex: none; }
.dot.foundation { background: var(--lv-foundation); } .dot.practitioner { background: var(--lv-practitioner); } .dot.expert { background: var(--lv-expert); }
.level { display: inline-flex; align-items: center; gap: 8px; font: 800 13px var(--font); color: var(--ink2); letter-spacing: .04em; text-transform: uppercase; }
.check { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line2); flex: none; display: grid; place-items: center; color: #fff; }
.check.on { background: var(--ok); border-color: var(--ok); }
.check.now { border-color: var(--gold); }
.check svg { width: 14px; height: 14px; stroke-width: 3; }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 99px; background: var(--soft); font: 800 13px var(--font); color: var(--ink2); }
.pill.ok { background: var(--ok-tint); color: var(--ok-d); } .pill.gold { background: var(--gold-tint); color: var(--gold-ink); }
.stats { display: flex; gap: 24px; flex-wrap: wrap; color: var(--mute); font-size: 15px; font-weight: 700; }
.stats b { color: var(--ink); font-weight: 900; }
.stat-big { font: 900 44px/1 var(--font); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--line); border-radius: var(--r); }
.kpis > div { padding: 20px 22px; } .kpis > div + div { border-left: 2px solid var(--line); }
.kpi-v { font: 900 34px/1.05 var(--font); } .kpi-v small { font: 800 15px var(--font); color: var(--mute); }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, 1fr); } .kpis > div:nth-child(3) { border-left: 0; } .kpis > div:nth-child(n+3) { border-top: 2px solid var(--line); } }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.details summary { list-style: none; cursor: pointer; } .details summary::-webkit-details-marker { display: none; }
.details[open] .chev-d { transform: rotate(90deg); } .chev-d { transition: transform .2s var(--ease); }
.utabs { display: flex; gap: 8px; border-bottom: 2px solid var(--line); overflow-x: auto; }
.utabs button { border: 0; background: none; padding: 14px 14px; font: 800 15px var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); border-bottom: 4px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.utabs button[aria-selected="true"] { color: var(--blue-d); border-color: var(--blue); }
.meter { display: flex; align-items: center; gap: 12px; } .meter .bar { flex: 1; }
.news-for { margin-top: 6px; font-size: 15px; color: var(--ink2); } .news-for b { color: var(--gold-ink); font-weight: 900; }
.week { display: flex; gap: 8px; } .week > div { flex: 1; text-align: center; font: 800 12px var(--font); color: var(--mute); }
.week i { display: grid; place-items: center; height: 34px; border-radius: 12px; background: var(--soft); border: 2px solid var(--line); margin-bottom: 6px; color: #fff; }
.week i.on { background: var(--lv-expert); border-color: var(--lv-expert-d); } .week i.today { outline: 3px solid var(--blue); outline-offset: 2px; }
.week i svg { width: 16px; height: 16px; stroke-width: 3; }

/* ——— The learning path (Home) ——— */
.unit { border-radius: 20px; padding: 18px 22px; color: #fff; display: flex; align-items: center; gap: 16px; justify-content: space-between; border-bottom: 5px solid rgba(0, 0, 0, .2); }
.unit.foundation { background: var(--lv-foundation); } .unit.practitioner { background: var(--lv-practitioner); } .unit.expert { background: var(--lv-expert); }
.unit .eyebrow { color: rgba(255, 255, 255, .8); } .unit h3 { font: 900 20px/1.3 var(--font); }
.unit a { background: rgba(255, 255, 255, .18); border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; padding: 10px 14px; font: 800 13px var(--font); letter-spacing: .05em; text-transform: uppercase; flex: none; }
.trail { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 30px 0 18px; }
.step { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 84px; }
.node { position: relative; width: 80px; height: 74px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 8px 0 var(--cd); transition: transform .1s, box-shadow .1s; }
.node:hover { filter: brightness(1.06); } .node:active { transform: translateY(6px); box-shadow: 0 2px 0 var(--cd); }
.node svg { width: 34px; height: 34px; stroke-width: 2.4; }
.node.foundation { --c: var(--lv-foundation); --cd: var(--lv-foundation-d); } .node.practitioner { --c: var(--lv-practitioner); --cd: var(--lv-practitioner-d); } .node.expert { --c: var(--lv-expert); --cd: var(--lv-expert-d); }
.node.todo { --c: #E5E5EE; --cd: #C7C6D6; color: #9C9AB4; }
.node.gold { --c: var(--gold); --cd: var(--gold-d); color: var(--ink); }
.node.lock { --c: #E5E5EE; --cd: #C7C6D6; color: #B2B0C6; }
.node.now::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--c); transform: rotate(-35deg); }
.bubble { position: absolute; top: -50px; z-index: 2; left: 50%; transform: translateX(-50%); background: #fff; border: 2px solid var(--line); color: var(--c, var(--ink)); padding: 8px 14px; border-radius: 14px; font: 900 14px var(--font); letter-spacing: .08em; animation: bob 1.4s ease-in-out infinite; white-space: nowrap; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 12px; height: 12px; background: #fff; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: translateX(-50%) rotate(45deg); }
@keyframes bob { 50% { transform: translateX(-50%) translateY(-6px); } }
.step-label { position: absolute; top: 50%; transform: translateY(-50%); width: 190px; font: 800 14px/1.3 var(--font); color: var(--ink2); }
.step-label small { display: block; font-weight: 700; color: var(--mute); }
.step.left .step-label { left: calc(50% + 62px + var(--off, 0px)); } .step.right .step-label { right: calc(50% + 62px - var(--off, 0px)); text-align: right; }
@media (max-width: 640px) { .step-label { display: none; } }
.rail { display: grid; gap: 20px; position: sticky; top: 92px; }
@media (max-width: 1100px) { .rail { position: static; } }
.rail .card h3 { margin-bottom: 4px; }
.big-flame { display: flex; align-items: center; gap: 14px; }
.big-flame svg { width: 44px; height: 44px; color: var(--lv-expert); }
.big-flame b { font: 900 34px/1 var(--font); display: block; }

/* ——— Course tiles (Explore, Udemy style) ——— */
.search { position: relative; } .search svg { position: absolute; left: 18px; top: 16px; width: 22px; height: 22px; color: var(--mute); }
.search .input { padding-left: 52px; border-radius: 99px; }
.tile { position: relative; height: 150px; border-radius: 16px; display: grid; place-items: center; font: 900 38px/1 var(--font); color: #fff; letter-spacing: -.02em; overflow: hidden; background: var(--c); }
.tile::before, .tile::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.tile::before { width: 170px; height: 170px; right: -40px; top: -60px; } .tile::after { width: 110px; height: 110px; left: -30px; bottom: -50px; }
.tile.foundation { --c: var(--lv-foundation); } .tile.practitioner { --c: var(--lv-practitioner); } .tile.expert { --c: var(--lv-expert); } .tile.open { --c: #6B4EE6; }
.tile span { position: relative; z-index: 1; }

/* ——— Course page hero ——— */
.hero { background: var(--ink); color: #fff; border-radius: 28px; padding: 36px; }
.hero .lead { color: rgba(255, 255, 255, .82); } .hero .stats { color: rgba(255, 255, 255, .7); } .hero .stats b { color: #fff; }
.hero .pill { background: rgba(255, 255, 255, .14); color: #fff; } .hero .pill.gold { background: var(--gold); color: var(--ink); }
.hero .level { color: #fff; } .hero a.small { color: rgba(255, 255, 255, .7); }
@media (max-width: 760px) { .hero { padding: 24px; border-radius: 22px; } }

/* ——— Lesson and quiz (focus screens) ——— */
.focus-top { position: sticky; top: 0; z-index: 20; background: #fff; }
.focus-in { display: flex; align-items: center; gap: 18px; height: 72px; max-width: 800px; margin: 0 auto; padding: 0 24px; }
.focus-in .bar { flex: 1; }
.icon-btn { width: 46px; height: 46px; border-radius: 14px; border: 0; background: none; display: grid; place-items: center; color: var(--mute); }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.read { max-width: 680px; margin: 0 auto; padding: 24px 24px 220px; animation: rise .3s var(--ease); }
.read p { font-size: 20px; line-height: 1.7; font-weight: 600; }
.read p + p { margin-top: 20px; }
.read .h1 { margin-bottom: 8px; }
.facts li { position: relative; padding-left: 36px; font-size: 20px; line-height: 1.6; font-weight: 600; }
.facts li + li { margin-top: 16px; }
.facts li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 16px; height: 16px; border-radius: 6px; background: var(--gold); transform: rotate(45deg) scale(.8); }
.quote { font: 800 26px/1.4 var(--font); }
.source { font-size: 14px; color: var(--mute); } .source a { text-decoration: underline; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: #fff; border-top: 2px solid var(--line); padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); transition: background .2s; }
.dock-in { max-width: 680px; margin: 0 auto; display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.dock.ok { background: var(--ok-tint); border-color: var(--ok-tint); } .dock.bad { background: var(--bad-tint); border-color: var(--bad-tint); }
.dock .fb { display: flex; gap: 14px; align-items: flex-start; flex: 1; min-width: 0; }
.dock .fb .badge { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; flex: none; }
.dock.ok .badge { color: var(--ok); } .dock.bad .badge { color: var(--bad); }
.dock .fb b { display: block; font: 900 20px var(--font); } .dock.ok b { color: var(--ok-d); } .dock.bad b { color: var(--bad-d); }
.dock .fb p { font: 700 15px/1.5 var(--font) !important; color: var(--ink2); max-height: 22vh; overflow: auto; }
@media (max-width: 640px) { .dock-in.has-fb { flex-direction: column; align-items: stretch; } .dock-in .btn { width: 100%; } }
.opts { display: grid; gap: 12px; }
.opt { display: flex; gap: 16px; align-items: flex-start; width: 100%; text-align: left; padding: 16px 18px; background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 18px; font: 700 17px/1.5 var(--font); transition: background .1s; }
.opt:hover:not([disabled]) { background: var(--soft); }
.opt .key { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 2px solid var(--line2); display: grid; place-items: center; font: 800 14px var(--font); color: var(--mute); }
.opt[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-tint); } .opt[aria-pressed="true"] .key { border-color: var(--blue); color: var(--blue-d); }
.opt.right { border-color: var(--ok); background: var(--ok-tint); } .opt.right .key { background: var(--ok); border-color: var(--ok); color: #fff; }
.opt.wrong { border-color: var(--bad); background: var(--bad-tint); } .opt.wrong .key { background: var(--bad); border-color: var(--bad); color: #fff; }
.opt[disabled] { cursor: default; }
.ring { position: relative; width: 168px; height: 168px; margin: 0 auto; } .ring svg { transform: rotate(-90deg); }
.ring .num { position: absolute; inset: 0; display: grid; place-items: center; font: 900 44px var(--font); }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 40; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall 2.6s linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(540deg); opacity: .9; } }
.xp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 16px; background: var(--gold-tint); border: 2px solid var(--gold); color: var(--gold-ink); font: 900 18px var(--font); }

/* ——— Sign in and welcome ——— */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--soft); }
.gate-card { width: 100%; max-width: 440px; background: #fff; border: 2px solid var(--line); border-radius: 28px; padding: 36px; }
.gate-card .brand { justify-content: center; margin-bottom: 8px; } .gate-card .brand img { height: 36px; } .gate-card .brand .one { font-size: 34px; }
.error { color: var(--bad); font-size: 14px; font-weight: 700; min-height: 22px; }
.choice { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; padding: 16px 18px; background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 18px; }
.choice[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-tint); }
.scrim { position: fixed; inset: 0; z-index: 60; background: var(--soft); display: grid; place-items: center; padding: 24px; overflow-y: auto; }

/* ——— Certificate ——— */
.cert-sheet { background: #FFFDF8; border: 3px solid var(--gold); padding: 8px; max-width: 920px; margin: 0 auto; border-radius: 6px; }
.cert-in { border: 1px solid var(--gold); padding: 56px 64px; text-align: center; display: flex; flex-direction: column; align-items: center; min-height: 560px; }
.cert-name { font: italic 400 64px/1.15 var(--serif); margin: 8px 0 0; }
.cert-seal { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); border: 4px double var(--gold-ink); display: grid; place-items: center; font: italic 400 30px var(--serif); color: var(--ink); }
.cert-foot { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; gap: 16px; margin-top: auto; padding-top: 40px; flex-wrap: wrap; }
.sig { width: 150px; border-top: 1px solid var(--ink); padding-top: 6px; font-size: 12px; color: var(--ink2); }
.cert-mini { aspect-ratio: 1.45; border: 3px solid var(--gold); border-radius: 12px; background: #FFFDF8; display: grid; place-items: center; text-align: center; padding: 12px; }
.qr { width: 92px; height: 92px; background: #fff; padding: 4px; } .qr svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .cert-in { padding: 32px 20px; } .cert-name { font-size: 44px; } }
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  body { background: #fff; } .side, .bar-top, .tabs, .no-print, .dock { display: none !important; }
  .shell { margin: 0; } .page { padding-block: 0; animation: none; } .wrap { max-width: none; padding: 0; } .cert-sheet { max-width: none; }
}
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); z-index: 70; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 16px; font: 800 15px var(--font); animation: rise .25s var(--ease); }
.card.row-flex { flex-wrap: nowrap; } .card.row-flex > div { flex: 1; min-width: 0; }
.pre .shell { margin-left: 0; }
body.focus .side, body.focus .bar-top, body.focus .tabs { display: none; }
body.focus .shell { margin-left: 0; }
@media (max-width: 520px) { .bar-top .brand img { height: 22px; } .bar-top .brand .one { font-size: 22px; } .pillstat.xp { display: none; } .pillstat { padding: 0 10px; height: 36px; } .me { gap: 8px; } .bar-top { padding: 0 12px; } }

/* login tabs */
.ltabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:2px solid var(--line,#F0E6CC);border-radius:14px;background:#FFF8E6}
.ltab{font:inherit;font-weight:800;font-size:14px;border:0;background:transparent;border-radius:10px;padding:10px 6px;cursor:pointer;color:#9A8C6A}
.ltab[aria-selected="true"]{background:#fff;color:#3B3224;box-shadow:0 1px 0 #E3D4AE,0 0 0 2px #3B3224 inset}
.link{background:none;border:0;color:#2F7CF6;font-weight:700;cursor:pointer;padding:4px 0;text-align:left}
a.card.link,a.card.link *{color:#3B3224}a.card.link .mute,a.card.link .tiny.mute,a.card.link .small.mute{color:#9A8C6A}
.chips a.chip{display:inline-flex;align-items:center;justify-content:center;line-height:1}
a.card.link b[style*="1FA45B"]{color:#1FA45B}a.card.link b[style*="D43B3B"]{color:#D43B3B}

/* ——— Library ——— */
.lib-head{display:grid;gap:10px}
.lib-eyebrow{font:900 12px/1 var(--font);letter-spacing:.12em;text-transform:uppercase;color:var(--gold-d)}
.lib-tabs{display:inline-flex;gap:4px;padding:4px;border-radius:14px;background:var(--soft);justify-self:start;margin-top:6px}
.lib-tabs a{padding:9px 22px;border-radius:10px;font-weight:800;color:var(--mute)}
.lib-tabs a[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(29,27,46,.12)}
.lib-quiz{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 22px;border-radius:var(--r);background:var(--gold-tint);border:2px solid #F3DC8A}
.lib-quiz b{font-weight:900}.lib-quiz p{color:var(--ink2);font-size:14px}
.lib-quiz-btns{display:flex;gap:8px;flex-wrap:wrap}.lib-quiz-btns .btn{height:44px;padding:0 20px}
.lib-tools{display:flex;gap:12px;flex-wrap:wrap}
.lib-searchwrap{position:relative;flex:1;min-width:220px}.lib-searchwrap svg{position:absolute;left:16px;top:15px;color:var(--mute)}
.lib-search{width:100%;height:50px;padding:0 18px 0 46px;border:2px solid var(--line);border-radius:99px;background:#fff;font:700 15px var(--font)}
.lib-search:focus{outline:none;border-color:var(--blue)}
.lib-select{height:50px;padding:0 16px;border:2px solid var(--line);border-radius:99px;background:#fff;font:800 14px var(--font)}
.lib-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.lib-chips{display:flex;gap:8px;flex-wrap:wrap}
.lib-chip{height:38px;padding:0 16px;border-radius:99px;border:2px solid var(--line);background:#fff;font:800 14px var(--font);color:var(--ink2)}
.lib-chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.lib-count{font-size:14px;color:var(--mute);font-weight:700}
.lib-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:16px}
.lib-av{flex:none;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#fff;font:900 14px var(--font)}
.lib-fc{display:flex;flex-direction:column;gap:16px;padding:20px;background:#fff;border:2px solid var(--line);border-radius:var(--r);transition:transform .15s var(--ease),border-color .15s}
.lib-fc:hover{transform:translateY(-3px);border-color:var(--line2)}
.lib-fc-top{display:flex;gap:12px;align-items:center}.lib-fc-name{min-width:0}
.lib-fc-name small{display:block;font-size:12px;font-weight:700;color:var(--mute)}.lib-fc-name b{display:block;font-weight:900;font-size:16px;line-height:1.3}
.lib-fc-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;flex-wrap:wrap}
.lib-big{font:900 32px/1 var(--font);font-variant-numeric:tabular-nums}.lib-cap{font-size:12px;font-weight:700;color:var(--mute);margin-top:4px}
.up{color:var(--ok-d)}.down{color:var(--bad-d)}
.lib-vs{font:800 12px var(--font);padding:5px 10px;border-radius:99px;background:var(--soft)}
.lib-vs.up{background:var(--ok-tint)}.lib-vs.down{background:var(--bad-tint)}
.lib-fc-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:14px;border-top:2px solid var(--soft)}
.lib-stat{display:flex;flex-direction:column;gap:2px;min-width:0}.lib-stat span{font-size:12px;font-weight:700;color:var(--mute)}
.lib-stat b{font:800 15px var(--font);font-variant-numeric:tabular-nums;white-space:nowrap}
.lib-back{display:inline-flex;align-items:center;gap:6px;font-weight:800;color:var(--blue-d);align-self:flex-start}
.lib-hero{display:grid;gap:16px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#FFF9E6,#fff 60%);border:2px solid var(--line)}
.lib-hero-top{display:flex;gap:16px;align-items:center}.lib-hero .h1{margin-top:6px}
.lib-obj{color:var(--ink2);max-width:70ch}
.lib-pills{display:flex;gap:8px;flex-wrap:wrap}.lib-pills span{font:800 12px var(--font);padding:6px 12px;border-radius:99px;background:#fff;border:2px solid var(--line);color:var(--ink2)}
.lib-hero-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:18px;padding-top:18px;border-top:2px solid var(--line)}
.lib-hero-stats .lib-stat b{font-size:22px}
.lib-two{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.lib-col{display:grid;gap:24px;min-width:0}.lib-side{position:sticky;top:92px}
@media(max-width:1100px){.lib-two{grid-template-columns:1fr}.lib-side{position:static}}
.lib-panel{padding:24px;border:2px solid var(--line);border-radius:var(--r);background:#fff;display:grid;gap:18px}
.lib-ptitle{font:900 18px/1.3 var(--font)}
.lib-note{font-size:13px;color:var(--mute);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.lib-note i,.lib-ret i.c,.lib-ret i.f{display:inline-block}
.lib-note i{width:12px;height:12px;border-radius:4px;background:var(--ok)}.lib-note i.c{background:#C9C8D8;margin-left:10px}
.lib-ret{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:10px;overflow-x:auto;padding-bottom:4px}
.lib-ret-col{display:grid;justify-items:center;gap:3px;min-width:62px;text-align:center}
.lib-ret-col b{font:900 15px var(--font)}.lib-ret-col span{font-size:11px;color:var(--mute);font-weight:700}
.lib-ret-col small{font:900 13px var(--font);color:var(--ink);margin-top:2px}.lib-ret-col em{font:700 11px var(--font);color:var(--mute);font-style:normal}
.lib-ret-bars{height:130px;display:flex;align-items:flex-end;gap:6px}
.lib-ret-bars i{width:20px;border-radius:6px 6px 2px 2px;background:var(--ok)}.lib-ret-bars i.down{background:var(--bad)}.lib-ret-bars i.c{background:#C9C8D8}
.lib-stack{display:grid;gap:14px}
.lib-seg{display:flex;height:16px;border-radius:99px;overflow:hidden;background:var(--soft);gap:2px}.lib-seg i{display:block;min-width:2px}
.lib-legend{display:grid;gap:8px}.lib-legend li{display:flex;align-items:center;gap:10px;font-size:14px}
.lib-legend i{width:12px;height:12px;border-radius:4px;flex:none}.lib-legend span{flex:1;color:var(--ink2);font-weight:700}.lib-legend b{font-weight:900}
.lib-rows{display:grid;gap:14px}.lib-rowtop{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.lib-rowname{font-weight:700;color:var(--ink2)}.lib-rowname small{display:block;font-size:12px;color:var(--mute)}
.lib-track{height:8px;border-radius:99px;background:var(--soft);overflow:hidden;margin-top:6px}.lib-track i{display:block;height:100%;border-radius:99px;background:var(--gold)}
.lib-bullets{display:grid;gap:12px;padding-left:0}.lib-bullets li{position:relative;padding-left:22px;color:var(--ink2)}
.lib-bullets li::before{content:"";position:absolute;left:0;top:.7em;width:8px;height:8px;border-radius:3px;background:var(--gold)}
.lib-dl{display:grid;gap:12px;margin:0}.lib-dl div{display:flex;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:2px solid var(--soft)}
.lib-dl div:last-child{border:0;padding:0}.lib-dl dt{color:var(--mute);font-weight:700;font-size:14px}.lib-dl dd{margin:0;font-weight:800;text-align:right;font-size:14px}
.lib-mini{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.lib-cta{display:grid;gap:10px}.lib-cta .btn{justify-content:center}
.lib-groups{display:grid;gap:32px}.lib-gtitle{display:flex;align-items:center;gap:10px;font:900 20px var(--font);margin-bottom:14px}
.lib-gtitle span{font:800 12px var(--font);padding:3px 10px;border-radius:99px;background:var(--soft);color:var(--mute)}
.lib-igrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.lib-ic{display:grid;gap:10px;padding:16px 18px;border:2px solid var(--line);border-radius:18px;background:#fff;transition:transform .15s var(--ease),border-color .15s}
.lib-ic:hover{transform:translateY(-2px);border-color:var(--line2)}.lib-ic>b{font-weight:900;line-height:1.3}
.lib-ic-meta{display:flex;gap:14px;font-size:13px;color:var(--mute);font-weight:700}.lib-ic-meta b{color:var(--ink);font-weight:800}.lib-ic-meta b.up{color:var(--ok-d)}.lib-ic-meta b.down{color:var(--bad-d)}
.lib-co{display:grid}.lib-co li{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:2px solid var(--soft)}.lib-co li:last-child{border:0}
.lib-co b{font-weight:800}.lib-co p{font-size:13px;color:var(--mute);margin-top:2px}.lib-co span{font:900 16px var(--font);white-space:nowrap}
@media(max-width:640px){.lib-hero{padding:20px}.lib-panel{padding:18px}.lib-big{font-size:28px}}
.lib-big.sm{font-size:19px;line-height:1.25}
.lib-sub{font:900 14px var(--font);color:var(--ink2);margin-bottom:8px}
.lib-chg{display:grid;gap:8px}.lib-chg li{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--ink2);font-weight:700}.lib-chg b{font-weight:900;white-space:nowrap}

/* syllabus and course sections */
.syl-l { gap: 12px; }
.syl-q { font: 700 18px/1.45 var(--font); font-style: italic; }
.syl-tab { padding: 14px 14px; font: 800 15px var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); border-bottom: 4px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.syl-tab[aria-selected="true"] { color: var(--blue-d); border-color: var(--blue); }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sec-h p { margin: 0; }
.exam-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .exam-trio { grid-template-columns: 1fr; } }
.exam-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; }
.exam-card.locked { opacity: .65; }
.exam-card b { font: 900 18px var(--font); }
.exam-card .row-flex { margin-top: 6px; }

/* mobile hardening */
html, body { max-width: 100%; overflow-x: clip; }
body { touch-action: manipulation; }
.cols > *, .lib-two > *, .stack, section, .card, .lib-panel, .lib-col { min-width: 0; }
.utabs { max-width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.utabs::-webkit-scrollbar, .lib-chips::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
  input, select, textarea { font-size: 16px; }
  .lib-tools { flex-direction: column; align-items: stretch; }
  .lib-tools > * { width: 100%; }
  .lib-select { width: 100%; }
  .lib-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
  .lib-chip { flex: none; }
  .lib-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero .stats { gap: 6px 18px; }
  .exam-card .row-flex { flex-wrap: wrap; }
}

/* ——— Sign in (split screen) ——— */
.lg { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: #fff; }
.lg-side { background: radial-gradient(120% 90% at 0% 0%, #FFD057 0%, #3B3224 55%, #2F7CF6 100%); color: #F4EFE3; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.lg-side::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(201,162,75,.35); box-shadow: 0 0 0 60px rgba(201,162,75,.06), 0 0 0 120px rgba(201,162,75,.04); pointer-events: none; }
.lg-mark { display: flex; align-items: center; gap: 12px; font: 400 24px var(--serif); letter-spacing: .01em; }
.lg-mark em { color: #D8B45E; }
.lg-crest { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #C9A24B; border-radius: 8px; color: #D8B45E; font: italic 400 22px var(--serif); }
.lg-eyebrow { font: 800 12px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: #D8B45E; margin-bottom: 20px; }
.lg-big { font: 400 clamp(38px, 4.2vw, 58px)/1.08 var(--serif); letter-spacing: -.01em; }
.lg-big em { color: #D8B45E; }
.lg-points { margin-top: 36px; display: grid; gap: 18px; max-width: 460px; }
.lg-points li { padding-left: 22px; position: relative; color: #C9D2E3; font-size: 16px; line-height: 1.55; }
.lg-points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: #C9A24B; transform: rotate(45deg); }
.lg-points b { color: #fff; font-weight: 800; }
.lg-foot { font-size: 13px; color: #8E9BB3; position: relative; z-index: 1; }
.lg-main { display: grid; place-items: center; padding: 32px 24px; background: #fff; overflow-y: auto; }
.lg-card { width: 100%; max-width: 400px; display: grid; gap: 28px; }
.lg-top img { height: 38px; width: auto; }
.lg-form { display: grid; gap: 20px; }
.lg-h { font: 400 38px/1.1 var(--serif); color: #3B3224; margin-bottom: 6px; }
.g-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 54px; background: #fff; border: 2px solid var(--line2); border-radius: 14px; font: 800 15px var(--font); color: var(--ink); transition: background .15s, border-color .15s; }
.g-btn:hover:not([disabled]) { background: var(--soft); border-color: #B9B8CC; }
.g-btn[disabled] { opacity: .6; cursor: wait; }
.or { display: flex; align-items: center; gap: 14px; color: var(--mute); font: 700 13px var(--font); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pw { position: relative; } .pw .input { padding-right: 76px; }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px 10px; font: 800 13px var(--font); color: var(--blue-d); border-radius: 8px; }
.lg-swap { text-align: center; color: var(--ink2); font-size: 15px; }
.lg-staff { text-align: center; font-size: 14px; color: var(--mute); padding-top: 18px; border-top: 1px solid var(--line); }
.lg .link { background: none; border: 0; padding: 0; color: var(--blue-d); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.lg .btn.primary { background: #2F7CF6; border-color: #2F7CF6; color: #fff; }
.lg .btn.primary:hover { filter: none; background: #FFD057; }
.lg .input { border-radius: 12px; }
@media (max-width: 860px) {
  .lg { grid-template-columns: 1fr; }
  .lg-side { padding: 28px 24px 32px; gap: 20px; }
  .lg-side::after, .lg-points, .lg-foot { display: none; }
  .lg-big { font-size: 30px; } .lg-eyebrow { margin-bottom: 10px; }
  .lg-main { align-items: start; padding: 28px 20px 40px; }
  .lg-top { display: none; }
  .lg-h { font-size: 32px; }
}
.lg { position: fixed; inset: 0; z-index: 80; overflow-y: auto; min-height: 0; }
.lg-side { min-height: 100%; }
.lg-main { min-height: 100%; }
@media (max-width: 860px) { .lg-side { min-height: 0; } }

/* ——— Academy: brand, Today, Doors, Ledger, Assessment Centre, Roll ——— */
.brand .acad { font: 800 11px/1 var(--font); letter-spacing: .24em; text-transform: uppercase; color: #8A5F00; padding-left: 10px; border-left: 1px solid var(--line2); }
.brand img { height: 30px; width: auto; }
.lg-mark { display: flex; align-items: center; gap: 14px; }
.lg-mark img { height: 44px; width: auto; }
.lg-acad { font: 800 12px/1 var(--font); letter-spacing: .26em; text-transform: uppercase; color: #D8B45E; padding-left: 14px; border-left: 1px solid rgba(216,180,94,.5); }
.lg-top img { height: 44px; }
.linkish { color: var(--blue-d); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.btn.gold { background: #C9A24B; border-color: #9A7A2E; color: #3B3224; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 13px; }
.td-hero { background: radial-gradient(120% 100% at 0% 0%, #FFD057, #3B3224 60%); color: #F4EFE3; border-radius: 24px; padding: 32px; gap: 10px; }
.td-hero .eyebrow.gold { color: #D8B45E; }
.td-title { font: 400 clamp(26px, 3.4vw, 36px)/1.15 var(--serif); }
.td-sub { color: #E6E0D0; font-size: 16px; } .td-sub.dim { color: #9FB0CC; font-size: 14px; }
.seal-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seal-mini { background: var(--soft); border-radius: 14px; padding: 12px; text-align: center; display: grid; gap: 2px; } .seal-mini b { font: 800 26px var(--font); color: #3B3224; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.door { text-align: left; display: grid; gap: 4px; padding: 16px; background: #fff; border: 2px solid var(--line); border-radius: 16px; min-width: 0; }
.door[aria-pressed="true"] { border-color: #3B3224; background: #F3F6FB; box-shadow: 0 0 0 3px rgba(201,162,75,.45); }
.door b { font: 800 17px var(--font); } .door-hook { color: #8A5F00; font-weight: 800; }
.gate-card.wide { max-width: 640px; }
.ledger { display: grid; border: 2px solid var(--line); border-radius: 18px; overflow: hidden; }
.lg-row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); align-items: center; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); }
.lg-row.head { background: #2F7CF6; color: #F4EFE3; border-top: 0; font: 800 12px var(--font); letter-spacing: .12em; text-transform: uppercase; }
.lg-realm { display: grid; } .lg-realm small { font-weight: 600; }
.lg-cell { text-align: center; font: 800 15px var(--font); color: var(--mute); padding: 8px 0; border-radius: 10px; background: var(--soft); display: grid; place-items: center; }
.lg-cell.part { background: #FFF6D8; color: #8A5F00; } .lg-cell.full { background: #2F7CF6; color: #D8B45E; }
.lg-soon { grid-column: span 3; text-align: center; color: var(--mute); font-size: 14px; font-style: italic; }
.card.soon { padding: 22px; }
.as-card { gap: 16px; } .as-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.as-tier { border: 2px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; align-content: start; min-width: 0; } .as-tier.ok { border-color: #1FA45B; background: #F1FBF5; } .as-tier.locked { background: var(--soft); }
.as-link { gap: 12px; align-items: start; }
.roll-me { display: grid; gap: 16px; background: #2F7CF6; color: #F4EFE3; border: 0; }
.roll-me .eyebrow { color: #D8B45E; } .roll-me .mute, .roll-me .small { color: #9FB0CC; } .roll-me b { color: #fff; }
.roll-rank { font: 400 38px/1.1 var(--serif); color: #D8B45E; } .roll-pos { font-size: 22px; }
.roll-ladder { display: flex; gap: 6px; flex-wrap: wrap; } .roll-ladder span { font: 800 11px var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; border: 1px solid rgba(216,180,94,.35); color: #9FB0CC; } .roll-ladder span.on { background: #D8B45E; color: #3B3224; border-color: #D8B45E; }
.roll-row.me { background: #FFF6D8; border-radius: 14px; padding-inline: 12px; } .roll-n { width: 28px; font-size: 18px; color: #8A5F00; }
.avatar.sm { width: 36px; height: 36px; font-size: 15px; }
@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; } .as-tiers { grid-template-columns: 1fr; }
  .lg-row { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); padding: 12px 10px; gap: 4px; } .lg-row.head { letter-spacing: .04em; font-size: 10px; }
  .td-hero { padding: 24px 20px; }
}
.list-row .list-title { color: var(--ink); }

/* ═══ Academy design system v1: navy, gold, ivory. Serif for voice, sans for work. ═══ */
:root {
  --bg: #FBF8F1; --soft: #F3EEE2; --ink: #3B3224; --ink2: #3A4A63; --mute: #6B7688;
  --line: #E6DFCE; --line2: #D4CAB0;
  --gold: #C9A24B; --gold-d: #9A7A2E; --gold-tint: #F7EFD8; --gold-ink: #6E5316;
  --blue: #3B3224; --blue-d: #3B3224; --blue-tint: #EAEFF6;
  --lv-foundation: #C9A24B; --lv-foundation-d: #9A7A2E; --lv-practitioner: #3D6A9E; --lv-practitioner-d: #2A4E78; --lv-expert: #3B3224; --lv-expert-d: #2F7CF6;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", "Noto Sans Gujarati", sans-serif;
  --r: 16px;
}
body { background: var(--bg); font-weight: 500; }
.h1 { font: 400 clamp(36px, 4.6vw, 52px)/1.06 var(--serif); letter-spacing: -.012em; color: var(--ink); }
.h2 { font: 700 20px/1.3 var(--font); } .h3 { font: 700 17px/1.35 var(--font); }
.lead { font-weight: 500; }
.eyebrow { color: var(--gold-d); letter-spacing: .14em; }
/* buttons: flat, firm, no toy depth */
.btn { height: 48px; border-radius: 12px; border-bottom-width: 2px; letter-spacing: .01em; text-transform: none; font: 700 15px/1 var(--font); }
.btn:active:not([disabled]) { transform: none; filter: brightness(.95); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; } .btn.primary:hover { background: #FFD057; filter: none; }
.btn.gold { background: var(--gold); border-color: var(--gold-d); color: var(--ink); }
.btn.ghost { background: #fff; border-color: var(--line2); color: var(--ink); } .btn.ghost:hover { background: var(--soft); }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14px; }
.card { border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(11,31,58,.04); }
.card.tint { background: var(--gold-tint); border-color: #EBDDB1; }
.chip { height: 38px; border: 1px solid var(--line2); font: 700 14px var(--font); background: #fff; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.input { border: 1px solid var(--line2); border-radius: 12px; background: #fff; font-weight: 500; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201,162,75,.35); }
.field > label { font: 700 14px var(--font); }
.pill { font: 700 12px var(--font); } .level { font: 700 12px var(--font); }
.bar { height: 8px; } .bar > i::after { display: none; }
.check { border-width: 2px; }
/* navigation */
.side { background: #fff; border-right: 1px solid var(--line); }
.nav a { font: 700 15px/1 var(--font); letter-spacing: 0; text-transform: none; border: 0; border-radius: 10px; padding: 13px 14px; color: var(--ink2); }
.nav a svg { width: 22px; height: 22px; }
.nav a[aria-current="page"] { background: var(--soft); color: var(--ink); box-shadow: inset 3px 0 0 var(--gold); }
.tabs { border-top: 1px solid var(--line); }
.tabs a { flex-direction: column; gap: 2px; min-height: 60px; font: 700 11px var(--font); color: var(--mute); }
.tabs a span { display: block; } .tabs a svg { width: 24px; height: 24px; }
.tabs a[aria-current="page"] { background: none; color: var(--ink); box-shadow: inset 0 3px 0 var(--gold); }
.bar-top { background: rgba(251,248,241,.92); border-bottom: 1px solid var(--line); }
.pillstat { border: 1px solid var(--line2); background: #fff; font: 700 14px var(--font); } .pillstat.fire { color: var(--gold-d); }
.avatar { background: var(--ink); color: var(--gold); border: 0; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.utabs button { font: 700 14px var(--font); letter-spacing: 0; text-transform: none; border-bottom-width: 3px; }
.utabs button[aria-selected="true"] { color: var(--ink); border-color: var(--gold); }
/* course catalogue */
.subject-h { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line2); }
.subject-t { font: 400 clamp(30px, 3.4vw, 40px)/1.1 var(--serif); color: var(--ink); }
.subject { padding-top: 12px; scroll-margin-top: 90px; }
.track-h { display: grid; gap: 2px; } .track-t { font: 800 18px var(--font); color: var(--ink); }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ccard { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .18s var(--ease), box-shadow .18s; min-width: 0; }
.ccard:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,31,58,.12); }
.ccard-b { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
.ccard-meta { display: flex; align-items: center; gap: 8px; font: 700 11px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); }
.ccard-t { font: 700 18px/1.3 var(--font); color: var(--ink); }
.ccard-f { padding-top: 10px; } .ccard-go { font: 800 14px var(--font); color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.lv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); } .lv-dot.practitioner { background: var(--lv-practitioner); } .lv-dot.expert { background: var(--ink); }
.cover { position: relative; aspect-ratio: 16 / 9; background: #2F7CF6; overflow: hidden; } .cover svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cover.wide { aspect-ratio: 21 / 9; border-radius: 20px; }
.soon-card { display: grid; gap: 2px; padding: 20px 22px; border: 1px dashed var(--line2); border-radius: 16px; background: transparent; color: var(--ink2); }
/* course page */
.hero { background: radial-gradient(120% 120% at 0% 0%, #FFD057, #3B3224 62%); border-radius: 24px; padding: 40px; position: relative; overflow: hidden; }
.hero .h1 { color: #fff; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 52px) !important; }
.hero .stats { gap: 36px; } .hero .stats b { font: 400 34px/1 var(--serif); margin-right: 6px; color: var(--gold); }
.hero .pill.gold { background: var(--gold); }
.hero-art { margin: -4px 0 8px; }
/* Today */
.td-hero { background: radial-gradient(120% 100% at 0% 0%, #FFD057, #3B3224 60%); }
.td-title { font: 400 clamp(28px, 3.6vw, 40px)/1.12 var(--serif); }
.seal-mini b { font: 400 30px var(--serif); }
/* loading */
.splash { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--bg); }
.splash img { width: min(260px, 64vw); height: auto; animation: breathe 2.4s ease-in-out infinite; }
.splash-line { width: 140px; height: 2px; background: var(--line2); border-radius: 2px; overflow: hidden; } .splash-line i { display: block; width: 40%; height: 100%; background: var(--gold); animation: slide 1.3s ease-in-out infinite; }
.splash-t { font: 700 11px var(--font); letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
@keyframes slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(300%); } }
@keyframes breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
/* login */
.lg { background: var(--bg); } .lg-main { background: var(--bg); }
.lg-side { background: linear-gradient(160deg, #FFD057 0%, #3B3224 48%, #2F7CF6 100%); }
.lg-art { position: absolute; right: -40px; bottom: 90px; width: 420px; max-width: 70%; opacity: .9; pointer-events: none; }
.lg-points li { color: #B9C6DC; }
.lg-big { font-size: clamp(40px, 4.6vw, 64px); }
.lg-h { font-size: 40px; }
.lg .btn.primary { border-radius: 12px; font-size: 16px; height: 52px; }
.g-btn { border: 1px solid var(--line2); border-radius: 12px; font: 700 15px var(--font); }
.lg .input { height: 52px; }
.doors .door { border: 1px solid var(--line2); border-radius: 14px; } .door b { font: 700 16px var(--font); } .door[aria-pressed="true"] { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(201,162,75,.5); }
.scrim { background: var(--bg); } .gate-card { border: 1px solid var(--line); border-radius: 24px; }
@media (max-width: 860px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .hero { padding: 26px 20px; } .lg-art { display: none; } }
@media (max-width: 520px) { .cgrid { grid-template-columns: 1fr; } }
.lg-art { width: 330px; right: -10px; bottom: 56px; opacity: .8; }

/* Certificate v2 */
.cert-sheet { background: #FFFDF8; border: 2px solid var(--gold); padding: 10px; max-width: 960px; margin: 0 auto; border-radius: 0; box-shadow: 0 20px 50px rgba(11,31,58,.12); }
.cert-in { border: 1px solid var(--gold); padding: 44px 64px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; min-height: 640px; background: linear-gradient(180deg,#FFFDF8,#FBF8F1); }
.cert-top { display: flex; align-items: center; gap: 14px; }
.cert-acad { font: 600 12px var(--sans, Manrope, sans-serif); letter-spacing: .32em; text-transform: uppercase; color: #3B3224; border-left: 1px solid var(--gold); padding-left: 14px; }
.cert-rule { width: 100%; height: 1px; background: linear-gradient(90deg,transparent,var(--gold),transparent); margin: 22px 0 26px; }
.cert-kind { font: 600 12px Manrope, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: #8C6D26; }
.cert-lead { margin: 20px 0 0; color: #50607A; font-size: 15px; }
.cert-name { font: italic 400 58px/1.15 var(--serif); color: #3B3224; margin: 6px 0 0; }
.cert-title { font: 400 34px/1.2 var(--serif); color: #3B3224; margin: 8px 0 0; max-width: 700px; }
.cert-lv { margin: 8px 0 0; font-size: 13px; color: #8C6D26; letter-spacing: .06em; }
.cert-write { max-width: 620px; margin: 18px 0 0; font-size: 14px; line-height: 1.65; color: #34445C; }
.cert-skills { margin-top: 14px; font-size: 12.5px; color: #34445C; max-width: 640px; line-height: 1.7; } .cert-skills b { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #8C6D26; margin-bottom: 2px; }
.cert-foot { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; margin-top: auto; padding-top: 34px; gap: 16px; }
.cert-foot .sig { width: 210px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #50607A; } .cert-foot .sig b { color: #3B3224; font-size: 13px; }
.sigline { border-top: 1px solid #3B3224; margin-bottom: 6px; height: 28px; }
.cert-seal { width: 88px; height: 88px; border-radius: 50%; background: radial-gradient(circle at 30% 30%,#E3C474,#C9A24B 60%,#9C7B2E); border: 4px double #8C6D26; display: grid; place-items: center; font: italic 400 32px var(--serif); color: #3B3224; }
.cert-meta { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(201,162,75,.5); gap: 14px; text-align: left; font-size: 12px; color: #50607A; }
.cert-meta span { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; } .cert-meta b { display: block; color: #3B3224; font-size: 13px; margin-bottom: 4px; }
.cert-fine { font-size: 10.5px; color: #7A879B; margin: 14px 0 0; max-width: 640px; line-height: 1.5; }
.qr { width: 64px; height: 64px; }
@media (max-width: 760px) { .cert-in { padding: 28px 18px 20px; } .cert-name { font-size: 38px; } .cert-title { font-size: 25px; } .cert-foot .sig { width: 120px; } .cert-seal { width: 64px; height: 64px; font-size: 22px; } .cert-meta { flex-wrap: wrap; } }
@media print { .cert-sheet { box-shadow: none; } .cert-in { min-height: 0; } @page { size: A4 landscape; margin: 8mm; } }

/* Interactive syllabus */
.syl-meter { background: #fff; border: 1px solid var(--line, #E5DECE); padding: 14px 16px; display: grid; gap: 8px; }
.syl-meter-t { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; } .syl-meter-t span { color: #6B778B; font-size: 13px; }
.syl-d { background: #fff; border: 1px solid var(--line, #E5DECE); border-left: 3px solid #C9A24B; }
.syl-d.is-done { border-left-color: #3E8E63; }
.syl-d summary { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; list-style: none; } .syl-d summary::-webkit-details-marker { display: none; }
.syl-d summary::after { content: "+"; margin-left: auto; font-size: 20px; color: #8C6D26; } .syl-d[open] summary::after { content: "–"; }
.syl-n { font: 400 22px var(--serif); color: #C9A24B; } .syl-st { font-weight: 600; color: #3B3224; }
.syl-body { padding: 0 16px 16px 16px; border-top: 1px solid var(--line, #E5DECE); padding-top: 14px; }
.syl-act { margin-top: 6px; } .syl-chk { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 600; font-size: 14px; } .syl-chk input { width: 18px; height: 18px; accent-color: #3B3224; }
@media print { .syl-d .syl-body { display: block !important; } .syl-act, .tabs, .utabs, aside { display: none !important; } }

/* NISM prep */
.eyebrow.gold { color: #C9A24B; }
.nm-tag { font: 700 11px Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8C6D26; }
.nmc { background: #fff; border: 1px solid var(--line, #E5DECE); border-top: 3px solid #C9A24B; padding: 18px; }
.nmc-t { font: 400 24px/1.15 var(--serif); color: #3B3224; margin: 0; }
.nmc-s { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: #50607A; } .nmc-s b { color: #3B3224; }
.btn.ghost.light { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.nm-wt { margin-left: auto; font-weight: 700; color: #8C6D26; font-size: 13px; } .nm-u summary::after { margin-left: 10px; }
.nm-w { display: grid; gap: 8px; } .nm-wr { display: grid; grid-template-columns: minmax(130px, 42%) 1fr 48px; gap: 10px; align-items: center; font-size: 13.5px; color: #1B2A41; text-decoration: none; } .nm-wr b { text-align: right; color: #3B3224; }
.nm-wb { height: 10px; background: #EFE8D6; display: block; } .nm-wb i { display: block; height: 100%; background: #FFE9A8; } .nm-wb.mid i { background: #C9A24B; } .nm-wb.bad i { background: #A5412D; }
.nm-mock { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line, #E5DECE); padding: 12px 14px; flex-wrap: wrap; } .nm-mock.done { border-left: 3px solid #3E8E63; }
.nm-mn { font: 400 30px var(--serif); color: #C9A24B; width: 34px; } .nm-mi { flex: 1; min-width: 180px; display: grid; gap: 3px; }
.nm-dots { display: flex; gap: 4px; } .nm-dots i { width: 22px; height: 4px; background: #E3DAC4; } .nm-dots i.on { background: #FFE9A8; }
.nm-cards { display: grid; gap: 10px; } .nm-card { display: flex; gap: 12px; background: #FBF8F1; border: 1px solid var(--line, #E5DECE); border-left: 3px solid #C9A24B; padding: 12px 14px; }
.nm-cn { font: 400 20px var(--serif); color: #C9A24B; min-width: 28px; } .nm-card h4 { margin: 0 0 4px; font: 400 18px var(--serif); color: #3B3224; } .nm-card p { margin: 0 0 6px; font-size: 14px; line-height: 1.55; }
.nm-ex { color: #34445C; } .nm-ex b { color: #8C6D26; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; } .nm-wo { color: #6A3A2D; } .nm-wo b { color: #A5412D; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.nm-tbl table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 6px; } .nm-tbl th { background: #FFE9A8; color: #3B3224; text-align: left; padding: 7px 10px; font-size: 12px; } .nm-tbl td { padding: 7px 10px; border-bottom: 1px solid #E3DAC4; } .nm-tbl { overflow-x: auto; }
.nm-flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; } .nm-flow span { background: #FFE9A8; color: #3B3224; padding: 8px 12px; font-size: 13px; display: inline-flex; gap: 8px; align-items: center; } .nm-flow i { font-style: normal; color: #C9A24B; font-weight: 700; }
.nm-formula { background: #FFE9A8; color: #3B3224; padding: 12px 14px; font-size: 14px; display: grid; gap: 4px; } .nm-formula b { color: #C9A24B; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.nm-kn { display: flex; flex-wrap: wrap; gap: 8px; } .nm-kn span { flex: 1; min-width: 90px; background: #FFE9A8; color: #6B5D3F; padding: 10px; text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; border-top: 3px solid #C9A24B; } .nm-kn b { display: block; color: #3B3224; font: 400 22px var(--serif); text-transform: none; letter-spacing: 0; }
.nm-note { background: #F3ECDA; border-left: 3px solid #C9A24B; padding: 10px 14px; font-size: 14px; } .nm-note b { display: block; color: #8C6D26; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
/* runner */
.nm-run { position: fixed; inset: 0; background: #FBF8F1; display: flex; flex-direction: column; z-index: 40; }
.nm-top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: #FFE9A8; color: #3B3224; flex-wrap: wrap; }
.nm-x { color: #fff; display: grid; place-items: center; width: 34px; height: 34px; } .nm-title { display: grid; line-height: 1.2; margin-right: auto; } .nm-title span { font-size: 12px; color: #C9A24B; letter-spacing: .1em; text-transform: uppercase; }
.nm-prog { font-size: 13px; color: #B7C3D8; } .nm-clock { font: 700 18px/1 Manrope, sans-serif; font-variant-numeric: tabular-nums; color: #C9A24B; } .nm-clock.low { color: #FF8C74; }
.nm-body { flex: 1; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; padding: 24px clamp(16px, 4vw, 48px); align-items: start; max-width: 1200px; width: 100%; margin: 0 auto; }
.nm-q { display: grid; gap: 14px; } .nm-qt { font: 400 clamp(20px, 2.6vw, 26px)/1.35 var(--serif); color: #3B3224; margin: 0; }
.nm-opts { display: grid; gap: 10px; } .nm-opt { display: flex; gap: 12px; text-align: left; align-items: flex-start; background: #fff; border: 1px solid #D9D0BA; padding: 13px 14px; font-size: 15px; line-height: 1.5; color: #1B2A41; cursor: pointer; }
.nm-opt:hover { border-color: #C9A24B; } .nm-opt.on { border-color: #3B3224; background: #EEF2F8; box-shadow: inset 3px 0 0 #3B3224; } .nm-l { font-weight: 700; color: #8C6D26; min-width: 16px; }
.nm-nav { margin-top: 8px; } .nm-side { position: sticky; top: 0; background: #fff; border: 1px solid var(--line, #E5DECE); padding: 14px; display: grid; gap: 10px; }
.nm-pal { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; } .nm-pb { aspect-ratio: 1; border: 1px solid #D9D0BA; background: #fff; font-size: 11px; cursor: pointer; padding: 0; color: #50607A; }
.nm-pb.a { background: #FFE9A8; color: #3B3224; border-color: #3B3224; } .nm-pb.f { box-shadow: inset 0 -4px 0 #C9A24B; } .nm-pb.c { outline: 2px solid #C9A24B; outline-offset: 1px; }
.nm-key { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11px; color: #50607A; } .nm-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; border: 1px solid #D9D0BA; margin-right: 5px; vertical-align: -1px; } .nm-key .a::before { background: #FFE9A8; } .nm-key .f::before { background: #C9A24B; border-color: #C9A24B; }
.nm-rv { border-left: 3px solid #D9D0BA; } .nm-rv.ok { border-left-color: #3E8E63; } .nm-rv.bad { border-left-color: #A5412D; } .nm-qt2 { font-weight: 600; margin: 0; }
.nm-ro { display: flex; gap: 10px; padding: 8px 10px; font-size: 14px; background: #FBF8F1; } .nm-ro.right { background: #E7F3EC; outline: 1px solid #3E8E63; } .nm-ro.wrong { background: #FBEAE5; outline: 1px solid #A5412D; }
@media (max-width: 860px) { .nm-body { grid-template-columns: 1fr; padding: 16px; } .nm-side { position: static; } .nm-wr { grid-template-columns: 1fr 70px 40px; } .nm-prog { display: none; } .nm-pal { grid-template-columns: repeat(10, 1fr); } }

/* admin dashboard */
.ad-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.ad-tile{background:var(--card,#fff);border:1px solid var(--line,#E7E1D3);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:2px}
.ad-tile b{font-family:var(--serif,Georgia,serif);font-size:30px;line-height:1.1;color:var(--navy,#3B3224)}
.ad-tile span{font-size:13px;font-weight:600}.ad-tile small{font-size:12px;color:var(--mute,#6B7280)}
.ad-spark{display:flex;align-items:flex-end;gap:3px;height:110px;padding:8px;background:var(--card,#fff);border:1px solid var(--line,#E7E1D3);border-radius:14px}
.ad-spark i{flex:1;background:var(--gold,#C9A24B);border-radius:3px 3px 0 0;min-width:3px}
.ad-tbl{overflow-x:auto}.ad-tbl table{width:100%;border-collapse:collapse;font-size:14px}
.ad-tbl th,.ad-tbl td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line,#E7E1D3);white-space:nowrap}
.ad-key{padding:8px 0;border-bottom:1px solid var(--line,#E7E1D3);gap:12px;flex-wrap:wrap}
.pill.bad{background:#F6DCD6;color:#8A2D1E}
/* phone sign-in */
.otp{letter-spacing:.5em;text-align:center;font-size:22px}
.lg-alt{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* case study passage in the mock runner */
.nm-case{background:#F4EFE0;border-left:4px solid var(--gold,#C9A24B);border-radius:10px;padding:14px 16px;margin-bottom:6px}
.nm-case p{margin:6px 0 0;font-size:15px;line-height:1.55}

/* ——— Sign-in: the household ——— */
.lgh { justify-content: flex-start; gap: 22px; padding: 36px 52px 26px; }
.lgh::after { display: none; }
.lgh > * { position: relative; z-index: 1; }
.lgh-orb { position: absolute !important; border-radius: 50%; filter: blur(70px); z-index: 0 !important; pointer-events: none; animation: lghfloat 16s ease-in-out infinite alternate; }
.lgh-orb.a { width: 340px; height: 340px; background: rgba(201,162,75,.24); right: -90px; top: -60px; }
.lgh-orb.b { width: 300px; height: 300px; background: rgba(60,110,200,.26); left: -110px; bottom: 30px; animation-delay: -8s; }
@keyframes lghfloat { to { transform: translate(36px, 26px) scale(1.12); } }
.lgh-head { display: grid; gap: 10px; }
.lgh .lg-eyebrow { margin-bottom: 2px; }
.lgh .lg-big { font-size: clamp(36px, 3.8vw, 56px); }
.lgh-lede { color: #B9C6DC; font-size: 16px; }
.lgh-stage { display: flex; flex-direction: column; gap: 14px; align-items: stretch; margin-top: 2px; }
.lgh-house { width: 100%; max-width: 560px; }
.lgh-roof { position: relative; height: 70px; background: #C9A24B; clip-path: polygon(50% 0, 100% 100%, 0 100%); margin-bottom: -1px; }
.lgh-chim { display: none; }
.lgh-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; background: #FFE9A8; border: 2px solid #C9A24B; border-top: 0; border-radius: 0 0 14px 14px; }
.lgh-room { height: 86px; border: 0; border-radius: 8px; background: #F4EFE3; color: #3B3224; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-family: inherit; transition: background .25s, transform .2s, box-shadow .25s; }
.lgh-room:hover { transform: translateY(-2px); }
.lgh-room:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lgh-room.on { background: #D8B45E; box-shadow: 0 0 0 3px rgba(216,180,94,.35), 0 10px 26px rgba(216,180,94,.35); }
.lgh-rn { font-weight: 900; font-size: 14px; letter-spacing: .01em; }
.lgh-card { max-width: 560px; box-sizing: border-box; width: 100%; background: #F4EFE3; color: #3B3224; border-radius: 20px; padding: 20px 22px; display: grid; gap: 8px; box-shadow: 0 22px 50px rgba(0,0,0,.32); }
.lgh-card.swap { animation: lghin .35s ease both; }
@keyframes lghin { from { opacity: 0; transform: translateY(8px); } }
.lgh-tag { font: 900 11px var(--font); letter-spacing: .16em; text-transform: uppercase; color: #8A5F00; }
.lgh-title { font: 400 28px/1.1 var(--serif); }
.lgh-body { font-size: 14.5px; line-height: 1.5; color: #3A4A66; font-weight: 700; }
.lgh-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.lgh-chip { padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid #E2D6B4; font-weight: 800; font-size: 12.5px; }
.lgh .lg-foot { margin-top: auto; }
@media (min-width: 1620px) { .lgh-stage { flex-direction: row; gap: 32px; align-items: flex-start; } .lgh-house { flex: none; width: 480px; } .lgh-card { margin-top: 50px; } }
@media (max-width: 860px) { .lg { grid-template-rows: auto 1fr; } .lgh { padding: 22px 20px 24px; gap: 14px; overflow: visible; } .lgh-orb, .lgh .lg-foot, .lgh-lede { display: none; } .lgh .lg-big { font-size: 30px; } .lgh-roof { height: 56px; } .lgh-room { height: 74px; gap: 4px; } .lgh-ic svg { width: 22px; height: 22px; } .lgh-rn { font-size: 12px; } .lgh-title { font-size: 24px; } .lgh-body { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .lgh-orb, .lgh-card.swap { animation: none; } .lgh-room { transition: none; } }
@media (min-width: 861px) and (min-height: 880px) { .lgh-head { margin-top: auto; } .lgh-stage { margin-bottom: auto; } .lgh .lg-foot { margin-top: 0; } }
@media (min-width: 861px) and (max-height: 820px) { .lgh { padding: 28px 44px 20px; gap: 14px; } .lgh .lg-big { font-size: 40px; } .lgh-lede { display: none; } .lgh-roof { height: 52px; } .lgh-room { height: 68px; gap: 5px; } .lgh-card { padding: 14px 18px; gap: 6px; } .lgh-title { font-size: 24px; } .lgh-body { font-size: 13.5px; } .lgh .lg-foot { display: none; } }

/* ——— Language switch on the sign-in screen ——— */
.lg-lang { display: flex; justify-content: flex-end; gap: 4px; padding: 3px; border-radius: 999px; background: #F1EEE6; width: max-content; margin-left: auto; }
.lg-lbtn { border: 0; background: transparent; color: #3A4A66; font: 800 13px/1 var(--font); padding: 8px 14px; border-radius: 999px; cursor: pointer; min-height: 34px; }
.lg-lbtn[aria-pressed="true"] { background: #2F7CF6; color: #fff; }
.lg-lbtn:not([aria-pressed="true"]):hover { background: #E4DFD2; }
.lg-lbtn:focus-visible { outline: 3px solid #C9A24B; outline-offset: 2px; }

/* Hindi and Gujarati: wide letter-spacing and forced capitals break the joined letters, so switch them off */
html:lang(hi) *, html:lang(gu) * { letter-spacing: normal !important; text-transform: none !important; }
@media (max-width: 860px) { .lg-main { overflow: visible; } }

/* ——— Light theme: Sky and Sunshine. No dark tones. ——— */
:root { --ink: #3B3224; --ink2: #4A5578; --mute: #7C86A6; --soft: #F4F8FF; --line: #E3EAF8; --line2: #CFD9EE;
  --gold: #FFC531; --gold-d: #E0A100; --gold-tint: #FFF5D6; --gold-ink: #8A5F00;
  --blue: #3D8BFF; --blue-d: #2A6FDB; --blue-tint: #E6F0FF; --violet: #8B6CFF; --violet-tint: #EFEBFF; --coral: #FF7E9D; --coral-tint: #FFE8EE;
  --ok: #22B573; --ok-d: #169658; --ok-tint: #DFF7EB;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", "Noto Sans Gujarati", sans-serif;
  --serif: "Bricolage Grotesque", "Nunito", "Noto Sans Devanagari", "Noto Sans Gujarati", system-ui, sans-serif; }
.cert-sheet, .cert-sheet * { --serif: "Instrument Serif", Georgia, serif; }
.btn.primary, .lg .btn.primary { background: var(--blue); border-color: var(--blue-d); color: #fff; }
.btn.primary:hover, .lg .btn.primary:hover { background: #FFD057; filter: none; }
.btn.gold { background: var(--gold); border-color: var(--gold-d); color: var(--ink); }
.chip[aria-pressed="true"], .lib-chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue-d); color: #fff; }
.nav a[aria-current="page"] { background: var(--blue-tint); color: var(--blue-d); box-shadow: inset 3px 0 0 var(--blue); border-color: transparent; }
.tabs a[aria-current="page"] { color: var(--blue-d); box-shadow: inset 0 3px 0 var(--blue); }
.avatar { background: var(--blue-tint); color: var(--blue-d); border: 2px solid var(--line2); font: 900 17px var(--font); }
.toast { background: #34416F; }
.hero, .td-hero { background: linear-gradient(135deg, #2F7CF6 0%, #5AA2FF 62%, #8CC4FF 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after, .td-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 197, 49, .35); pointer-events: none; }
.hero > *, .td-hero > * { position: relative; z-index: 1; }
.hero .stats b { color: #FFE08A; }
.cover { background: #DCEBFF; }
.lg-row.head { background: var(--blue); color: #fff; }
.lg-cell.full { background: var(--blue-tint); color: var(--blue-d); }
.roll-me { background: linear-gradient(135deg, #2F7CF6, #5AA2FF); color: #fff; }
.brand { gap: 10px; }
.brand img { height: 26px; width: auto; }
.brand .bt { display: grid; line-height: 1; gap: 3px; }
.brand .bt b { font: 800 17px/1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.brand .bt i { font: 800 11px/1 var(--font); letter-spacing: .24em; text-transform: uppercase; color: var(--blue-d); font-style: normal; }
.splash img { width: min(150px, 40vw); }
.splash-line i { background: linear-gradient(90deg, var(--blue), var(--gold)); }

/* ——— Sign-in: Learning never ends ——— */
.lg-side.lgl { background: linear-gradient(150deg, #E6F0FF 0%, #F1ECFF 48%, #FFF1D9 100%); color: var(--ink); gap: 28px; justify-content: flex-start; padding: 40px 56px 28px; }
.lg-side.lgl::after { display: none; }
.lgl .lg-mark { gap: 12px; }
.lgl .lg-mark img { height: 34px; }
.lgl .lg-mark .bt { display: grid; gap: 4px; line-height: 1; }
.lgl .lg-mark b { font: 800 22px/1 var(--serif); letter-spacing: -.01em; }
.lgl .lg-mark i { font: 800 11px/1 var(--font); letter-spacing: .26em; text-transform: uppercase; color: var(--blue-d); font-style: normal; }
.lgl-stage { flex: 1; display: grid; align-content: center; gap: 22px; max-width: 560px; }
.lgl-orbit { width: min(100%, 420px); height: auto; overflow: visible; }
.lgl-orbit path { fill: none; stroke: url(#lgl-g); stroke-width: 14; stroke-linejoin: round; }
.lgl-orbit .dot { fill: #fff; stroke: var(--gold); stroke-width: 5; }
.lgl-big { font: 800 clamp(40px, 4.4vw, 62px)/1.05 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.lgl-big { background: linear-gradient(90deg, var(--blue), var(--violet) 55%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.lgl-sub { font: 700 18px/1.5 var(--font); color: var(--ink2); }
.lgl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lgl-chip { padding: 9px 16px; border-radius: 99px; font: 800 14px/1 var(--font); color: var(--ink); background: #fff; border: 2px solid var(--line); }
.lgl-chip:nth-child(1) { background: #FFF1C2; border-color: #FFE18A; } .lgl-chip:nth-child(2) { background: var(--blue-tint); border-color: #BFD8FF; }
.lgl-chip:nth-child(3) { background: var(--violet-tint); border-color: #D6CCFF; } .lgl-chip:nth-child(4) { background: var(--coral-tint); border-color: #FFC5D3; }
.lgl-chip:nth-child(5) { background: var(--ok-tint); border-color: #AEE8CB; }
.lgl .lg-foot { color: var(--mute); }
.lg-lbtn[aria-pressed="true"] { background: var(--blue); color: #fff; }
@media (max-width: 860px) { .lg-side.lgl { padding: 22px 22px 26px; gap: 14px; } .lgl-orbit { width: 150px; } .lgl-stage { gap: 12px; } .lgl-big { font-size: 32px; } .lgl-sub { font-size: 16px; } .lgl .lg-foot { display: block; } }
@media (prefers-reduced-motion: reduce) { .lgl-orbit .dot { display: none; } }
.lg-top .brand img { height: 30px; } .lg-top .brand { padding: 0; }
.lg-top { display: none; }
.lg-h { font: 800 38px/1.1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.lgl-orbit { width: min(100%, 340px); }
body, .scrim, .lg-main, .lg { background: #F8FBFF; }
.h1, .hero .h1, .td-hero .h1, .h2, .h3 { font-weight: 800 !important; letter-spacing: -.01em; }
.hero::after, .td-hero::after { background: rgba(255, 255, 255, .16); }
.hero .mute, .td-hero .mute, .hero .tiny, .td-hero .tiny, .hero .small, .td-hero .small { color: rgba(255, 255, 255, .92); }
.hero .eyebrow, .td-hero .eyebrow, .td-hero .eyebrow.gold { color: #FFF1B8; }
.td-title { font-weight: 800 !important; letter-spacing: -.01em; color: #fff; }
.td-sub, .td-sub.dim { color: rgba(255, 255, 255, .94); }
.bar-top { background: rgba(248, 251, 255, .92); }

/* ——— Polish pass: alignment, type size, mobile fit ——— */
/* 1-3 tab bar: equal columns, one-line labels, readable size */
.tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); }
.tabs a { min-width: 0; min-height: 62px; padding: 6px 2px 4px; gap: 3px; justify-content: center; }
.tabs a span { max-width: 100%; font: 700 12px/1.1 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs a svg { width: 24px; height: 24px; }
@media (max-width: 860px) { .shell { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }
/* 4 brand sub-label */
.brand .bt i, .lgl .lg-mark i { font-size: 12px; }
/* 5 streak and points pills */
.pillstat { white-space: nowrap; flex: none; height: 38px; padding: 0 12px; }
/* top bar: solid enough that scrolled content does not ghost through */
.bar-top { background: rgba(248, 251, 255, .98); border-bottom: 1px solid var(--line); }
/* 6-8 course hero: back link clear of art, stats on one baseline */
.hero .back, .hero > a.small:first-child, .hero > .row-flex:first-child a { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-weight: 800; }
.hero .stats { align-items: baseline; row-gap: 10px; }
.hero .stats > * { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.hero .stats b { font: 800 30px/1 var(--serif); margin: 0; }
@media (max-width: 560px) { .hero .stats { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; } .hero .stats b { font-size: 26px; } .hero { padding: 24px 18px; } }
/* 9 course tabs: scroll with a fade, never cut off */
.utabs { scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 28px; }
.utabs button { scroll-snap-align: start; flex: none; padding: 14px 12px; }
/* 10 next-up card: padded, chevron on the right */
.card.link.row-flex { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.card.link.row-flex > div:first-child { display: grid; gap: 4px; }
.card.link .eyebrow { margin-bottom: 2px; }
.card.link .chev { align-self: center; }
/* 11 link under a list */
.card ul + a, .card ul + .link, .card ul + .btn, .card .facts + a { display: inline-block; margin-top: 14px; }
.card .h3 + ul, .card .h3 + .stack { margin-top: 12px; }
/* 12 chips and pills: one size everywhere */
.pill { height: 30px; padding: 0 14px; font: 700 13.5px/1 var(--font); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* 13 filter chip rows on phones: scroll, fade, same inset as the page */
@media (max-width: 860px) { .lib-chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); } }
/* 14 bullet list: hanging indent, bullet centred on the first line */
.facts li { font-size: 18px; line-height: 1.55; padding-left: 34px; }
.facts li::before { top: .5em; }
@media (max-width: 560px) { .facts li { font-size: 17px; } }
/* 15 buttons never wrap their label */
.btn { white-space: nowrap; line-height: 1.1; justify-content: center; text-align: center; }
.btn.small, .btn.sm { padding-inline: 16px; }
@media (max-width: 420px) { .btn.small, .btn.sm { font-size: 14px; } .row-flex > .btn { flex: 1 1 auto; } }
/* 16 smallest text is 12px */
.tiny, .nm-tag, .ccard-meta, .eyebrow, .lg-row.head, .lg-row.head span, .lv-name, .roll-ladder span, .nm-key, .nm-key span { font-size: max(12px, 1em); }
.nm-tag, .ccard-meta { font-size: 12px; }
.lg-row.head { font-size: 12px; }
/* 17 course cards: even padding and baseline */
.ccard-b { padding: 16px 18px 18px; gap: 8px; }
.ccard-t { line-height: 1.3; }
/* 18 syllabus rows */
.syl-d summary { align-items: center; padding: 14px 16px; }
/* 19 stacked cards share one rhythm on phones */
@media (max-width: 560px) { .stack-l { gap: 22px; } .card { padding: 18px; } main, .main { padding-inline: 16px; } }
.pill { white-space: normal; height: auto; min-height: 30px; padding: 6px 14px; line-height: 1.25; max-width: 100%; }
.card.stack > a.small { margin-top: 8px; display: inline-block; }
.hero .stats > * { white-space: normal; min-width: 0; }
.hero .back, .hero > a.small:first-child { margin-bottom: 18px; }
.hero .hero-art { margin-top: 4px; }
/* standing card: readable on the blue */
.roll-me .eyebrow { color: #FFF1B8; }
.roll-me .mute, .roll-me .small { color: rgba(255, 255, 255, .92); }
.roll-rank { font: 800 36px/1.1 var(--serif); color: #fff; letter-spacing: -.01em; }
.roll-ladder span { color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .5); font-size: 12px; }
.roll-ladder span.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
/* percent at the end of a list row lines up with the title, not the middle of the row */
.list-row > .small.mute:last-child { align-self: flex-start; margin-top: 2px; min-width: 44px; text-align: right; white-space: nowrap; }

/* ——— GOLD THEME: brand gold, warm paper, ink text. Overrides the earlier blue layer. ——— */
:root { --ink: #3B3224; --ink2: #6B5D3F; --mute: #9A8C6A; --soft: #FFF8E6; --line: #F0E6CC; --line2: #E3D4AE;
  --gold: #FFC531; --gold-d: #E0A100; --gold-tint: #FFF4D1; --gold-ink: #7A5600;
  --blue: #F5B400; --blue-d: #9A6A00; --blue-tint: #FFF1C6; --violet: #FF9F1C; --violet-tint: #FFEFD6; --coral: #FF7A59; --coral-tint: #FFE6DD; }
body, .scrim, .lg-main, .lg { background: #FFFCF5; }
:focus-visible { outline: 3px solid #C98F00; }
.link { color: var(--blue-d); }
.btn.primary, .lg .btn.primary, .btn.gold { background: var(--gold); border-color: var(--gold-d); color: var(--ink); }
.btn.primary:hover, .lg .btn.primary:hover, .btn.gold:hover { background: #FFD057; filter: none; }
.chip[aria-pressed="true"], .lib-chip[aria-pressed="true"], .lg-lbtn[aria-pressed="true"] { background: var(--gold); border-color: var(--gold-d); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--gold-tint); color: var(--gold-ink); box-shadow: inset 3px 0 0 var(--gold); }
.tabs a[aria-current="page"] { color: var(--gold-ink); box-shadow: inset 0 3px 0 var(--gold); }
.tabs { background: rgba(255, 252, 245, .97); }
.avatar { background: var(--gold-tint); color: var(--gold-ink); border: 2px solid var(--line2); }
.toast { background: #4A3F2A; }
.bar-top { background: rgba(255, 252, 245, .98); }
.brand .bt b { color: var(--ink); } .brand .bt i, .lgl .lg-mark i { color: var(--gold-ink); }
.splash-line i { background: linear-gradient(90deg, #FFB000, #FFD866); }
/* hero cards: gold with ink text */
.hero, .td-hero { background: linear-gradient(135deg, #FFC531 0%, #FFD866 58%, #FFE9A6 100%); color: var(--ink); }
.hero::after, .td-hero::after { background: rgba(255, 255, 255, .38); }
.hero .h1, .td-title, .hero .level, .hero .stats b { color: var(--ink); }
.hero .lead, .td-sub, .td-sub.dim { color: rgba(59, 50, 36, .86); }
.hero .stats, .hero .mute, .td-hero .mute, .hero .tiny, .td-hero .tiny, .hero .small, .td-hero .small { color: rgba(59, 50, 36, .8); }
.hero .eyebrow, .td-hero .eyebrow, .td-hero .eyebrow.gold { color: var(--gold-ink); }
.hero .pill { background: rgba(255, 255, 255, .6); color: var(--ink); } .hero .pill.gold { background: #fff; color: var(--gold-ink); }
.hero .btn.gold, .td-hero .btn.gold, .hero .btn.primary, .td-hero .btn.primary { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 4px 0 rgba(122, 86, 0, .25); }
.hero a.small { color: var(--gold-ink); }
.cover { background: #FFF1C6; }
.lg-row.head { background: #FFE9A8; color: var(--ink); } .lg-cell.full { background: #FFE9A8; color: var(--gold-ink); }
.roll-me { background: linear-gradient(135deg, #FFC531, #FFE08A); color: var(--ink); }
.roll-me .eyebrow { color: var(--gold-ink); } .roll-me .mute, .roll-me .small { color: rgba(59, 50, 36, .85); } .roll-me b, .roll-rank { color: var(--ink); }
.roll-ladder span { color: var(--ink); background: rgba(255, 255, 255, .55); border: 1px solid rgba(122, 86, 0, .3); }
.roll-ladder span.on { background: #fff; color: var(--gold-ink); border-color: #fff; }
.roll-row.me { background: #FFF1C6; } .roll-n { color: var(--gold-ink); }
/* sign-in */
.lg-side.lgl { background: linear-gradient(150deg, #FFF4D1 0%, #FFFAEC 48%, #FFE6B0 100%); }
.lgl .lg-mark b { color: var(--ink); }
.lgl-orbit path { stroke: url(#lgl-g); }
.lgl-orbit .dot { fill: #3B3224; stroke: #fff; stroke-width: 4; }
.lgl-big { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; }
.lgl-sub { color: var(--ink2); } .lgl .lg-foot { color: var(--mute); }
.lgl-chip { color: var(--ink); background: #fff; border: 2px solid var(--line); }
.lgl-chip:nth-child(1) { background: #FFF1C2; border-color: #FFE18A; } .lgl-chip:nth-child(2) { background: #FFE9D6; border-color: #FFCFA3; }
.lgl-chip:nth-child(3) { background: #FFF8E6; border-color: #F0E0B0; } .lgl-chip:nth-child(4) { background: #FFE6DD; border-color: #FFC4B2; }
.lgl-chip:nth-child(5) { background: #E9F7DC; border-color: #C5E8A8; }

@media (max-width: 860px) { .tabs { display: grid; } }

/* ——— Courses accordion ——— */
.acc-list { display: grid; gap: 12px; }
.acc { --sc: #B7791F; --sb: #FFF1C6; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.acc[open] { border-color: var(--sc); box-shadow: 0 10px 28px rgba(176,122,0,.10); }
.acc-s { list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px minmax(0,1fr) auto 20px; gap: 14px; align-items: center; padding: 14px 16px; }
.acc-s::-webkit-details-marker { display: none; }
.acc-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--sb); color: var(--sc); display: grid; place-items: center; font: 800 16px var(--font); letter-spacing: .02em; }
.acc-h { display: grid; gap: 2px; min-width: 0; }
.acc-t { font: 800 18px/1.25 var(--font); color: var(--ink); }
.acc-m { font: 500 14px/1.35 var(--font); color: var(--ink2); }
.acc-n { font: 700 12px var(--font); color: var(--sc); background: var(--sb); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.acc-chev { display: grid; place-items: center; color: var(--sc); transform: rotate(90deg); transition: transform .2s; }
.acc[open] .acc-chev { transform: rotate(-90deg); }
.acc-b { padding: 4px 16px 18px; display: grid; gap: 18px; border-top: 1px solid var(--line2); }
.acc-b .track { padding-top: 14px; }
.crows { display: grid; gap: 8px; }
.crow { --sc: #B7791F; --sb: #FFF1C6; display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; min-width: 0; transition: border-color .15s, transform .15s; }
a.crow:hover { border-color: var(--sc); transform: translateX(2px); }
.crow-tag { height: 44px; border-radius: 12px; background: var(--sb); color: var(--sc); display: grid; place-items: center; font: 800 13px var(--font); letter-spacing: .04em; }
.crow-b { display: grid; gap: 2px; min-width: 0; }
.crow-t { font: 700 16px/1.3 var(--font); color: var(--ink); }
.crow-m { display: flex; align-items: center; gap: 6px; font: 600 13px/1.3 var(--font); color: var(--ink2); }
.crow-pct { font: 800 14px var(--font); color: var(--sc); }
.crow > svg { color: var(--sc); }
.crow.soon { border-style: dashed; background: transparent; opacity: .85; }
.crow.soon .crow-tag { background: transparent; border: 1px dashed var(--sc); }
.nmc-soon { border-style: dashed; background: transparent; opacity: .85; }
@media (max-width: 640px) {
  .acc-s { grid-template-columns: 42px minmax(0,1fr) 20px; padding: 12px; gap: 12px; }
  .acc-ic { width: 42px; height: 42px; font-size: 14px; }
  .acc-n { grid-column: 2; grid-row: 2; justify-self: start; }
  .acc-chev { grid-column: 3; grid-row: 1 / span 2; }
  .acc-b { padding: 4px 12px 16px; }
  .crow { grid-template-columns: 44px minmax(0,1fr) auto; padding: 8px 10px; }
  .crow-tag { height: 40px; font-size: 12px; }
  .crow-t { font-size: 15px; }
}
.nav a { align-items: center; }
.nav-t { display: grid; gap: 3px; min-width: 0; }
.nav-t b { font: inherit; }
.nav-t small { font: 600 11px/1.2 var(--font); letter-spacing: 0; text-transform: none; color: var(--mute); white-space: normal; }
.nav a[aria-current="page"] .nav-t small { color: var(--gold-ink); }
