/* [2026-07-10] Pawan (global best practice, all pages): search/input placeholder SUBTLE (not dominant) + clears on focus/click. currentColor+opacity adapts to any input color; page rules can override. */
::placeholder{color:currentColor;opacity:.42}
:focus::placeholder{opacity:0}

/* ============================================================================
   subject-hub.css — the LLOS Subject-Hub skin (GENESIS · shared across subjects)
   Copyright © Pawan Nayar · LLOS.ai · 2026 — Original pedagogy, voice, and design.

   [2026-06-24] Pawan: "go - start" → Physics Hub Upgrade Part 1. This is the one
   reusable skin every subject hub (physics now; chemistry/biology later) <link>s,
   so the family looks like one family and future subjects inherit, not copy-paste.

   Tokens lifted VERBATIM from the Beyond Words gold hub (the canonical skin):
   cream paper + a single amber, Playfair display / Inter body / JetBrains mono,
   dot-serif-rule sections, a condensing sticky topbar. No rainbow, no orbs, no
   dark mode. Every colour traces to the :root block below — nothing invented.
   If this file is removed, every subject hub loses its skin → keep it shared.

   [2026-06-26] HOP 1 — this file is now the v1 IMPLEMENTATION of the reconciled gold:
   `subjects/common/LLOS_DESIGN_LANGUAGE.md`. The tokens, type, hero, elevation, motion and
   components below ARE that language; the spec holds the thesis ("warm paper, living ink"), the
   §1 laws, and §9 permitted deviations. Display type = Playfair (voted A, 2026-06-26). Hop 2 lifts
   this language into the global `assets/css/llos.css` so every page inherits one gold and the
   global sheet can never repaint a page's hero again. Change this file = change the standard.
   ============================================================================ */

:root{
  --primary:#ea7a27; --primary-light:#f59f0a; --primary-deep:#c2611c;
  --bg:#fdfcfa; --bg-card:#ffffff; --bg-card-hover:#faf5ea;
  --text-primary:#171717; --text-secondary:#404040; --text-muted:#6b6b6b;
  --border:#ece8e1; --border-light:#f3efe7; --accent-soft:#fdf0dc;
  --hero-grad:linear-gradient(135deg,#fffaf0 0%,#fdf6ea 50%,#fff3dd 100%);
  --shadow:0 6px 24px rgba(120,72,20,.05); --shadow-lg:0 16px 44px rgba(120,72,20,.10);
  --spring:cubic-bezier(.22,1,.36,1);
  --maxw:min(92vw,1180px);
  /* honest-status tokens — "live" vs "coming", carried over from Kinetica's 🟢/◐ */
  --live:#1f9d6b; --live-soft:#e7f8f0;
  /* [2026-06-24] craft tokens lifted from the gold (grammar_geometry / design index):
     a SECOND warm background tone + a shape-tile tone, so the page is never one flat cream sheet. */
  --bg-soft:#faf6ee; --shape-bg:#fbf8f2; --shape-ink:#1a1c1e;
  /* [2026-06-26] LLOS Design Language v1 vocabulary — ADDITIVE ONLY (nothing here is referenced by
     existing rules, so the hub renders pixel-identical). --bg-warm = named alias of the warm tone
     (#faf5ea, also --bg-card-hover); --ink-deep = burnt-amber DEEP text/label on soft grounds (a TEXT
     role, never a fill); layered two-stop shadows = the permitted softer-depth option (grammar_v2). */
  --bg-warm:#faf5ea; --ink-deep:#92400e;
  --shadow-sm:0 1px 2px rgba(20,15,0,.04),0 2px 6px rgba(20,15,0,.04);
  --shadow-md:0 2px 8px rgba(20,15,0,.06),0 8px 20px rgba(20,15,0,.05);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:hidden}
body{font-family:'Inter',sans-serif;background:var(--bg);color:var(--text-primary);
  line-height:1.65;-webkit-font-smoothing:antialiased;
  /* [2026-06-26] smart-footer scaffold: body is a min-height column so a short page's footer pins
     to the viewport bottom (via .hub-foot margin-top:auto) instead of floating mid-screen. */
  min-height:100vh;display:flex;flex-direction:column}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 1.2rem}
@media(min-width:640px){.wrap{padding:0 1.8rem}}
@media(min-width:1024px){.wrap{padding:0 2.2rem}}
.mono{font-family:'JetBrains Mono',monospace}
.serif{font-family:'Playfair Display',serif}

/* shape slot — expressive shapes shown at real size; white frame NEVER amber
   (an amber/cream frame eats the gold half of a dual-tone shape). */
.shape{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  overflow:hidden;background:var(--bg-card);border:1px solid var(--border);border-radius:12px}
.shape svg{width:100%;height:100%;display:block}
/* placeholder while shapes are wired in a later hop — a quiet amber seed, never a hollow box */
.shape.ph{position:relative}
.shape.ph::after{content:'';width:42%;height:42%;border-radius:50%;
  background:radial-gradient(circle at 38% 34%,var(--primary-light),var(--primary-deep))}

/* ── TOPBAR (condenses on scroll; collapses to a 44px hamburger < 640px) ───── */
.topbar{position:sticky;top:0;z-index:50;background:rgba(253,252,250,.9);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);transition:box-shadow .22s ease}
.topbar-inner{max-width:var(--maxw);margin:0 auto;padding:.75rem 1.2rem;
  display:flex;align-items:center;gap:.8rem;position:relative}
@media(min-width:1024px){.topbar-inner{padding:.8rem 2.2rem}}
.topbar-home{display:flex;align-items:center;gap:.7rem;color:inherit;flex:0 0 auto}
.logo-box{background:var(--primary);width:2.1rem;height:2.1rem;border-radius:9px;
  display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;
  font-size:1.2rem;font-family:'Playfair Display',serif;flex:0 0 auto}
.brand{display:flex;flex-direction:column;line-height:1.1}
.brand .b1{font-size:.62rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--text-muted)}
.brand .b2{font-size:1.05rem;font-weight:800;letter-spacing:-.3px}
.topbar-spacer{flex:1}
/* subject switch — Physics live, others honest "soon" */
.subj-switch{display:flex;gap:.3rem;background:var(--bg-card);border:1px solid var(--border);
  border-radius:999px;padding:.2rem}
.subj-switch a{font-size:.78rem;font-weight:700;color:var(--text-secondary);
  padding:.34rem .7rem;border-radius:999px}
.subj-switch a.on{background:var(--primary);color:#fff}
.subj-switch a.soon{color:var(--text-muted);cursor:default;position:relative}
.subj-switch a.soon::after{content:'soon';font-size:.5rem;margin-left:.25rem;opacity:.7}
.topbar-link{font-size:.82rem;font-weight:700;color:var(--text-secondary);padding:.45rem .7rem;border-radius:8px}
.topbar-link:hover{color:var(--primary);background:var(--accent-soft)}
.topbar-link.cta{background:var(--accent-soft);color:var(--primary-deep);border:1px solid var(--border)}
.topbar-ham{display:none;align-items:center;justify-content:center;width:44px;height:44px;
  border:1px solid var(--border);background:#fff;border-radius:10px;font-size:1.25rem;
  line-height:1;cursor:pointer;color:var(--text-primary);flex:0 0 auto}
.topbar-menu{display:none;position:absolute;top:100%;right:1.2rem;background:#fff;
  border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 30px rgba(120,72,20,.12);
  padding:.5rem;flex-direction:column;gap:.15rem;z-index:60;min-width:210px}
.topbar-menu.open{display:flex}
.topbar-menu a{font-size:.9rem;font-weight:600;color:var(--text-secondary);padding:.6rem .8rem;border-radius:8px}
.topbar-menu a:hover{color:var(--primary);background:var(--accent-soft)}
@media(max-width:640px){
  .topbar-inner>.subj-switch,.topbar-inner>.topbar-link{display:none}
  .topbar-ham{display:inline-flex}
}
.topbar.condensed .topbar-inner{padding-top:.4rem;padding-bottom:.4rem}
.topbar.condensed .logo-box{width:1.7rem;height:1.7rem;font-size:1rem}
.topbar.condensed .brand .b1{display:none}
.topbar.condensed{box-shadow:0 4px 14px rgba(120,72,20,.08)}
@media(prefers-reduced-motion:reduce){.topbar,.topbar .logo-box{transition:none}}

/* ── HERO — "every concept is a world", search is the hero ─────────────────── */
.hero{background:var(--hero-grad);border-bottom:1px solid var(--border);position:relative}
.hero::after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,#f59f0a,var(--primary),#f59f0a)}
/* [2026-06-26] hero compressed so the search sits inside vp1 (Pawan: search must be clearly
   visible above the fold). Smaller emblem + tighter rhythm + shorter sub. */
.hero-top{max-width:780px;margin:0 auto;text-align:center;padding:.45rem 0 1.2rem}
@media(max-width:760px){.hero-top{padding:.3rem 0 1rem}}
/* draggable living emblem — the subject made into a shape */
.hero-orb-wrap{position:relative;width:74px;height:74px;margin:0 auto .45rem}
@media(max-width:760px){.hero-orb-wrap{width:64px;height:64px}}
.hero-orb{width:100%;height:100%;cursor:grab;touch-action:none;
  -webkit-user-select:none;user-select:none;animation:orbFloat 6s ease-in-out infinite;will-change:transform;position:relative;z-index:2}
.hero-orb.shape{border:0;background:transparent;border-radius:0}
.hero-orb:active{cursor:grabbing}
.orb-hint{position:absolute;left:50%;bottom:-1.05rem;transform:translateX(-50%);
  font-size:.56rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text-muted);white-space:nowrap;opacity:.7}
@keyframes orbFloat{0%,100%{transform:translateY(0) rotate(-2.5deg)}50%{transform:translateY(-9px) rotate(2.5deg)}}
.eyebrow{display:inline-flex;align-items:center;gap:.45rem;font-size:.67rem;font-weight:700;
  letter-spacing:.13em;text-transform:uppercase;color:var(--primary);
  background:var(--accent-soft);padding:.34rem .78rem;border-radius:999px}
.hero h1{font-family:'Playfair Display',serif;font-weight:800;letter-spacing:-.5px;
  line-height:1.04;font-size:clamp(1.8rem,4.4vw,2.7rem);margin:.45rem 0 .5rem}
.hero h1 em{font-style:italic;color:var(--primary)}
.hero-sub{font-size:.97rem;color:var(--text-secondary);max-width:56ch;margin:0 auto .85rem}

/* the search — biggest, centred, the page's centre of gravity */
.bigsearch{position:relative;max-width:640px;margin:0 auto}
.bigsearch form{display:flex;gap:.5rem;background:var(--bg-card);border:2px solid var(--primary);
  border-radius:16px;padding:.55rem .55rem .55rem 1.1rem;align-items:center;
  box-shadow:0 12px 34px rgba(234,122,39,.16);transition:box-shadow .25s var(--spring)}
.bigsearch form:focus-within{box-shadow:0 0 0 5px rgba(234,122,39,.14),0 14px 38px rgba(234,122,39,.22)}
.bigsearch>form>svg{flex:0 0 auto;color:var(--primary)}
.bigsearch input{flex:1;min-width:0;border:0;outline:0;background:transparent;
  font-size:1.1rem;color:var(--text-primary)}
.bigsearch input::placeholder{color:var(--text-muted)}
.bigsearch button{flex:0 0 auto;background:var(--primary);color:#fff;font-weight:700;
  font-size:.92rem;border:0;border-radius:12px;padding:.78rem 1.5rem;cursor:pointer;
  transition:background .2s,transform .15s var(--spring)}
.bigsearch button:hover{background:var(--primary-deep);transform:translateY(-1px)}
@media(max-width:520px){.bigsearch button{padding:.78rem 1rem;font-size:.84rem}}
.try-row{margin:1rem auto 0;font-size:.84rem;display:flex;flex-wrap:wrap;gap:.4rem;
  justify-content:center;align-items:center}
.try-row b{color:var(--text-muted);font-weight:600}
.try-chip{font-weight:600;color:var(--primary);background:var(--bg-card);border:1px solid var(--border);
  border-radius:999px;padding:.3rem .72rem;cursor:pointer;transition:all .15s var(--spring)}
.try-chip:hover{background:var(--accent-soft);border-color:var(--primary);transform:translateY(-1px)}

/* [2026-06-26] SEARCH AUTOCOMPLETE — clean gold dropdown, up to 4 typed results, each with a
   type icon (glossary · law · article · practice · board · career). Graceful: fades in, keyboard
   navigable, closes on blur, shows a no-results line. */
.ac-panel{position:absolute;left:0;right:0;top:calc(100% + .5rem);z-index:40;
  background:var(--bg-card);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-lg);
  overflow:hidden;opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s var(--spring),transform .18s var(--spring),visibility .18s;text-align:left}
.ac-panel.open{opacity:1;visibility:visible;transform:translateY(0)}
.ac-item{display:flex;align-items:center;gap:.7rem;padding:.6rem .9rem;cursor:pointer;
  border-bottom:1px solid var(--border-light);transition:background .12s}
.ac-item:last-child{border-bottom:0}
.ac-item.active,.ac-item:hover{background:var(--accent-soft)}
.ac-ic{flex:0 0 auto;width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;
  background:var(--bg-soft);border:1px solid var(--border)}
.ac-ic svg{width:16px;height:16px;stroke:var(--primary-deep);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ac-tx{flex:1;min-width:0}
.ac-label{font-size:.92rem;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-label b{color:var(--primary-deep);font-weight:800}
.ac-type{font-family:'JetBrains Mono',monospace;font-size:.58rem;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--text-muted)}
.ac-empty{padding:.85rem .9rem;font-size:.85rem;color:var(--text-muted)}
.ac-foot{padding:.5rem .9rem;font-size:.7rem;color:var(--text-muted);background:var(--bg-soft);border-top:1px solid var(--border-light);display:flex;justify-content:space-between}
.ac-foot kbd{font-family:'JetBrains Mono',monospace;font-size:.62rem;background:var(--bg-card);border:1px solid var(--border);border-radius:4px;padding:0 .3rem}

/* honest capability stats */
.hub-stats{display:flex;flex-wrap:wrap;justify-content:center;gap:1.8rem;margin:1.6rem auto 0}
.hub-stats .st{display:flex;flex-direction:column;align-items:center;gap:.12rem}
.hub-stats .st b{font-size:1.4rem;font-weight:800;color:var(--text-primary);letter-spacing:-.02em;line-height:1}
.hub-stats .st span{font-size:.6rem;text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted);font-weight:700}
@media(max-width:760px){.hub-stats{gap:1.1rem}.hub-stats .st b{font-size:1.18rem}}

/* ── SECTION SCAFFOLD — dot (or shape) + serif title + bottom rule ─────────── */
section{padding:2.5rem 0}
@media(max-width:760px){section{padding:1.9rem 0}}
.sec-head{display:flex;align-items:center;gap:.65rem;margin-bottom:1.4rem}
.sec-dot{width:.7rem;height:.7rem;border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--primary-light));flex:0 0 auto}
.sec-shape{width:30px;height:30px;flex:0 0 auto}
.sec-head h2{font-family:'Playfair Display',serif;font-weight:700;
  font-size:clamp(1.3rem,2.7vw,1.7rem);letter-spacing:-.3px;
  border-bottom:2px solid var(--primary);padding-bottom:.25rem}
.sec-head .h-sub{font-size:.82rem;color:var(--text-muted);margin-left:auto;align-self:flex-end;padding-bottom:.3rem}
.sec-head a.more{font-size:.8rem;font-weight:700;color:var(--primary);margin-left:auto;
  align-self:flex-end;padding-bottom:.3rem;white-space:nowrap}
@media(max-width:560px){.sec-head .h-sub{display:none}}

/* honest status pill — used on series + calculators + class-11 */
.status{display:inline-flex;align-items:center;gap:.35rem;font-size:.7rem;font-weight:700;
  letter-spacing:.02em;padding:.2rem .55rem;border-radius:999px}
.status.live{color:var(--live);background:var(--live-soft)}
.status.soon{color:var(--primary-deep);background:var(--accent-soft)}
.status::before{content:'';width:.42rem;height:.42rem;border-radius:50%;background:currentColor}

/* ── DEPTH LADDER strip (S whisper · M study card · L full exhibit) ────────── */
.ladder{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
@media(max-width:680px){.ladder{grid-template-columns:1fr}}
.rung{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;
  padding:1.2rem 1.3rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:.35rem}
.rung .r-k{font-family:'JetBrains Mono',monospace;font-size:.72rem;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--primary)}
.rung h3{font-family:'Playfair Display',serif;font-weight:700;font-size:1.2rem}
.rung p{font-size:.9rem;color:var(--text-secondary);line-height:1.55}

/* ── SERIES / PLAY band ───────────────────────────────────────────────────── */
.series{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.2rem}
.serie{background:var(--bg-card);border:1px solid var(--border);border-radius:18px;
  padding:1.3rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:.6rem;
  transition:transform .18s var(--spring),box-shadow .25s,border-color .2s;min-width:0}
.serie:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--primary)}
.serie.coming{background:var(--bg-card-hover);border-style:dashed}
.serie .s-top{display:flex;align-items:center;gap:.8rem}
.serie .s-shape{width:52px;height:52px}
.serie .s-name{font-family:'Playfair Display',serif;font-weight:800;font-size:1.4rem;letter-spacing:-.3px}
.serie .s-tag{font-size:.66rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}
.serie .s-gloss{font-size:.9rem;color:var(--text-secondary);line-height:1.55;flex:1}
.serie .s-tags{display:flex;flex-wrap:wrap;gap:.32rem}
.serie .s-wtag{font-size:.7rem;font-weight:600;color:var(--text-secondary);
  background:var(--accent-soft);border-radius:999px;padding:.2rem .55rem}
.serie .s-foot{display:flex;align-items:center;justify-content:space-between;
  margin-top:.3rem;padding-top:.7rem;border-top:1px solid var(--border-light)}
.serie .s-go{font-size:.8rem;font-weight:700;color:var(--primary)}
.serie .s-play{display:inline-flex;align-items:center;gap:.35rem;background:var(--primary);
  color:#fff;font-weight:700;font-size:.8rem;border-radius:10px;padding:.5rem .9rem}
.serie .s-play:hover{background:var(--primary-deep)}

/* ── WORLDS grid (concept worlds — the articles) ──────────────────────────── */
.worlds{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.1rem}
.world{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;
  padding:1.15rem 1.2rem 1rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:.45rem;
  transition:transform .18s var(--spring),box-shadow .25s,border-color .2s;min-width:0}
.world:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--primary)}
.world .w-top{display:flex;align-items:center;gap:.75rem}
.world .w-shape{width:48px;height:48px}
.world .w-word{font-family:'Playfair Display',serif;font-weight:700;font-size:1.18rem;letter-spacing:-.2px;line-height:1.1}
.world .w-gloss{font-size:.85rem;color:var(--text-secondary);line-height:1.5;min-height:2.5em}
.world .w-foot{display:flex;align-items:center;justify-content:space-between;margin-top:.2rem;
  padding-top:.55rem;border-top:1px solid var(--border-light)}
.world .w-sci{font-size:.64rem;font-weight:700;color:var(--text-muted)}
.world .w-go{font-size:.74rem;font-weight:700;color:var(--primary)}
.world.more-card{background:var(--accent-soft);border-style:dashed;justify-content:center;text-align:center;align-items:center}
.world.more-card .big{font-family:'Playfair Display',serif;font-weight:800;font-size:1.7rem;color:var(--primary)}

/* ── SYLLABUS — chapters; UNITS told apart by shape + serif, NOT colour ────── */
.unit-block{margin-bottom:1.6rem}
.unit-head{display:flex;align-items:center;gap:.6rem;margin-bottom:.7rem}
.unit-head .u-shape{width:34px;height:34px;flex:0 0 auto}
.unit-head h3{font-family:'Playfair Display',serif;font-weight:700;font-size:1.12rem}
.unit-head .u-count{font-family:'JetBrains Mono',monospace;font-size:.7rem;color:var(--text-muted);margin-left:auto}
.chapter-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:.7rem}
.chapter-card{background:var(--bg-card);border:1px solid var(--border);border-radius:13px;
  padding:.85rem 1rem;display:flex;align-items:center;gap:.85rem;box-shadow:var(--shadow);
  transition:all .2s var(--spring);min-width:0}
.chapter-card:hover{border-color:var(--primary);background:var(--accent-soft);transform:translateX(3px)}
.chapter-num{width:40px;height:40px;flex:0 0 auto;border-radius:11px;background:var(--accent-soft);
  border:1px solid var(--border);display:flex;align-items:center;justify-content:center;
  font-family:'Playfair Display',serif;font-weight:800;font-size:1.05rem;color:var(--primary-deep)}
.chapter-info{flex:1;min-width:0}
.chapter-info h4{font-size:.92rem;font-weight:700;color:var(--text-primary);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chapter-info span{font-size:.74rem;color:var(--text-muted)}
.chapter-actions{display:flex;gap:.35rem;flex:0 0 auto}
.act-btn{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);background:var(--bg-card);color:var(--primary-deep);cursor:pointer;
  font-size:.9rem;transition:all .15s}
.act-btn:hover{background:var(--accent-soft);border-color:var(--primary)}
.act-btn.off{color:#c9c4ba;pointer-events:none;background:var(--border-light)}

/* ── CALCULATORS — by unit; growing to 300+; honest live/pending ──────────── */
.calc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem}
.calc-card{background:var(--bg-card);border:1px solid var(--border);border-radius:14px;
  padding:1.05rem 1.15rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:.4rem;
  transition:all .2s var(--spring);min-width:0}
.calc-card.live:hover{border-color:var(--primary);transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.calc-card.pending{background:var(--bg-card-hover);border-style:dashed}
.calc-card .c-unit{font-family:'JetBrains Mono',monospace;font-size:.66rem;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted)}
.calc-card h4{font-family:'Playfair Display',serif;font-weight:700;font-size:1.05rem;line-height:1.15}
.calc-card p{font-size:.82rem;color:var(--text-secondary);line-height:1.45;flex:1}
.calc-card .c-foot{display:flex;align-items:center;justify-content:space-between;margin-top:.2rem}
.calc-card .c-go{font-size:.76rem;font-weight:700;color:var(--primary)}

/* ── FAMILY rail ──────────────────────────────────────────────────────────── */
.family{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.8rem}
.fam{display:flex;align-items:center;gap:.7rem;background:var(--bg-card);border:1px solid var(--border);
  border-radius:13px;padding:.85rem 1rem;box-shadow:var(--shadow);transition:all .18s var(--spring);min-width:0}
.fam:hover{border-color:var(--primary);background:var(--accent-soft);transform:translateY(-2px)}
.fam .f-shape{width:36px;height:36px;flex:0 0 auto}
.fam .f-main{min-width:0;flex:1}
.fam .f-name{font-weight:700;font-size:.9rem;color:var(--text-primary)}
.fam .f-sub{font-size:.72rem;color:var(--text-muted)}
.fam.coming{background:var(--bg-card-hover);border-style:dashed;pointer-events:none}

/* ── FAQ accordion ────────────────────────────────────────────────────────── */
.faq{max-width:78ch}
.faq details{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;
  padding:.2rem .2rem;margin-bottom:.6rem}
.faq summary{font-weight:700;font-size:.98rem;color:var(--text-primary);cursor:pointer;
  padding:.85rem 1rem;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:'+';color:var(--primary);font-weight:800;margin-right:.6rem}
.faq details[open] summary::before{content:'\2212'}
.faq p{padding:0 1rem 1rem 2.2rem;color:var(--text-secondary);font-size:.92rem;line-height:1.6}

/* ── FOOTER + copyright banner ────────────────────────────────────────────── */
/* [2026-06-26] SMART FOOTER — slim, never dominates the content. margin-top:auto pins it to the
   viewport bottom on short pages (body is a min-height flex column). No heavy amber box — one quiet
   line: copyright left, tagline right, both muted. (Replaced the bordered amber callout that read
   as a stray highlight and dwarfed short pages.) */
.hub-foot{border-top:1px solid var(--border);margin-top:auto;background:var(--bg-card)}
.hub-foot .wrap{padding-top:1rem;padding-bottom:1rem;display:flex;flex-wrap:wrap;
  align-items:baseline;gap:.35rem 1.2rem;justify-content:space-between}
.copyr{background:none;border:0;border-radius:0;padding:0;max-width:none;
  font-size:.72rem;color:var(--text-muted)}
.copyr b{color:var(--text-secondary);font-weight:700}
.foot-note{margin:0;font-size:.72rem;color:var(--text-muted)}

/* [2026-06-26] Back-to-top — shared component. Floating bottom-right, hidden until viewport 2
   (scrollY past ~1 screen), smooth + motion-safe. On-brand: warm card, amber on hover, soft lift. */
/* [2026-06-26] sits ABOVE the shell's back-to-home pill (bottom:14px) so the two don't overlap. */
.to-top{position:fixed;right:1.15rem;bottom:4.6rem;z-index:60;width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  background:var(--bg-card);color:var(--primary-deep);border:1px solid var(--border);box-shadow:var(--shadow-lg);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .25s var(--spring),transform .25s var(--spring),visibility .25s,border-color .2s}
.to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.to-top:hover{border-color:var(--primary-light);color:var(--primary);transform:translateY(-2px)}
.to-top svg{width:20px;height:20px}
@media(max-width:560px){.to-top{right:.85rem;bottom:.85rem;width:42px;height:42px}}

/* ── COVERAGE MATRIX — audience-first: boards × classes, honest live/coming ── */
.coverage{overflow-x:auto;border:1px solid var(--border);border-radius:16px;background:var(--bg-card);box-shadow:var(--shadow)}
.cov-table{border-collapse:collapse;width:100%;min-width:560px}
.cov-table th,.cov-table td{padding:.55rem .4rem;text-align:center;border-bottom:1px solid var(--border-light);font-size:.82rem}
.cov-table thead th{font-family:'JetBrains Mono',monospace;font-size:.7rem;font-weight:700;letter-spacing:.06em;color:var(--text-muted);text-transform:uppercase}
.cov-table tbody th{text-align:left;font-weight:700;color:var(--text-primary);white-space:nowrap;padding-left:1rem}
.cov-table tr:last-child td,.cov-table tr:last-child th{border-bottom:0}
.cov-cell{display:inline-flex;align-items:center;justify-content:center;width:1.7rem;height:1.7rem;border-radius:8px;font-size:.8rem}
.cov-cell.live{background:var(--live-soft);color:var(--live);font-weight:800}
.cov-cell.live a{color:inherit}
.cov-cell.soon{background:var(--border-light);color:var(--text-muted)}
.cov-legend{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.8rem;font-size:.78rem;color:var(--text-muted)}
.cov-legend span{display:inline-flex;align-items:center;gap:.35rem}
.cov-legend i{width:.85rem;height:.85rem;border-radius:4px;display:inline-block}
.cov-legend i.live{background:var(--live-soft);border:1px solid var(--live)}
.cov-legend i.soon{background:var(--border-light);border:1px solid var(--border)}
.exam-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.1rem;align-items:center}
.exam-row b{font-size:.82rem;color:var(--text-muted);font-weight:700}
.exam-chip{font-size:.8rem;font-weight:700;color:var(--text-secondary);background:var(--bg-card);
  border:1px solid var(--border);border-radius:999px;padding:.34rem .8rem}
.exam-chip .status{margin-left:.4rem}

/* ── ROADMAP note — honest "what's coming", no fake cards ──────────────────── */
.roadmap{display:flex;align-items:center;gap:.9rem;background:var(--accent-soft);border:1px solid var(--border);
  border-radius:14px;padding:1rem 1.2rem;margin-top:1rem}
.roadmap .r-shape{width:40px;height:40px;flex:0 0 auto}
.roadmap p{font-size:.9rem;color:var(--text-secondary);line-height:1.55}
.roadmap p b{color:var(--text-primary)}

/* ════════════════════════════════════════════════════════════════════════
   [2026-06-24] BENTO of CONTAINERS — the hub as 5–8 alive doorways + interactive
   insets (Pawan: "feel the page as containers … clicking a container takes to a
   page"). Craft lifted from the gold (design index / grammar_geometry): glass,
   two background tones, big shapes on warm tiles, hover lift, sheen, big Playfair.
   ════════════════════════════════════════════════════════════════════════ */
.glass{background:rgba(255,255,255,.62);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.7)}

.bento{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:minmax(158px,auto);
  grid-auto-flow:dense;gap:1rem}
/* named spans (desktop 6-col) */
.b-learn{grid-column:span 4;grid-row:span 2}
.b-play{grid-column:span 2;grid-row:span 2}
.b-chap,.b-laws,.b-gloss,.b-test,.b-career,.b-speak{grid-column:span 2}
.b-quiz,.b-poll,.b-cross{grid-column:span 2}
/* [2026-06-27] in-content quiz — the inset spans full width while the quiz is live (no modal). */
.b-quiz.quizon{grid-column:1/-1}
.b-quiz.quizon .qz-q{font-size:1.25rem}
.b-quiz.quizon .qz-opts{max-width:760px}
/* [2026-06-27] in-content crossword — GOLD engine CSS lifted from gold_viewer_shell_advanced.html
   (var(--primary)→#ea7a27). The .b-cross inset spans full width while the puzzle is live; NO modal. */
.b-cross.crosson{grid-column:1/-1}
.crossword-section{background:linear-gradient(135deg,#fffaf0 0%,#fff3e3 100%);border:2px solid #f4c899;border-radius:16px;padding:1.5rem;margin:.5rem 0 0}
.crossword-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem;flex-wrap:wrap;gap:.5rem}
.crossword-title{font-weight:700;font-size:1.1rem;color:#92400e;display:flex;align-items:center;gap:.5rem}
.crossword-score{font-size:.85rem;font-weight:600;color:#92400e}
.crossword-score span{background:#fff;padding:.3rem .75rem;border-radius:20px;border:2px solid #fcd34d;margin-left:.5rem}
.crossword-tabs{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}
.crossword-tab{background:#fff;border:1px solid #f2d5b4;padding:.38rem .78rem;border-radius:999px;font-size:.75rem;font-weight:700;color:var(--text-secondary);cursor:pointer;transition:all .2s;min-height:36px}
.crossword-tab:hover{background:#fef3c7}
.crossword-tab.active{background:#ea7a27;color:#fff;border-color:#ea7a27}
.crossword-container{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);gap:1rem}
.crossword-grid{display:grid;grid-template-columns:repeat(var(--maxC,6),40px);grid-template-rows:repeat(var(--maxR,6),40px);gap:2px;background:#92400e;padding:2px;border-radius:8px}
.crossword-cell{background:#fff;display:flex;align-items:center;justify-content:center;position:relative;font-weight:700;font-size:1.1rem}
.crossword-cell.black{background:#1f2937}
.crossword-cell input{width:100%;height:100%;border:none;background:transparent;text-align:center;font-weight:700;font-size:1.1rem;text-transform:uppercase;outline:none;color:#1f1a17}
.crossword-cell input:focus{background:#fef3c7}
.crossword-cell.selected input{background:#fcd34d}
.crossword-cell.active-word{background:#fef3c7}
.crossword-cell.correct{background:#bbf7d0}
.crossword-cell .cell-num{position:absolute;top:2px;left:3px;font-size:.6rem;font-weight:700;color:#78350f;line-height:1}
.crossword-clues{background:#fff;border-radius:10px;padding:1rem;max-height:280px;overflow-y:auto;border:1px solid #f1dec6}
.crossword-clues-section{font-size:.75rem;font-weight:700;text-transform:uppercase;color:#92400e;margin-bottom:.5rem}
.crossword-clue{font-size:.85rem;color:#78350f;padding:.4rem 0;border-bottom:1px solid #fef3c7;cursor:pointer}
.crossword-clue:hover{background:#fef3c7;margin:0 -.5rem;padding-left:.5rem}
.crossword-clue.active{background:#fcd34d;font-weight:600;margin:0 -.5rem;padding-left:.5rem;border-radius:4px}
.crossword-clue.solved{color:#16a34a;text-decoration:line-through;opacity:.7}
.crossword-controls{display:flex;gap:.5rem;margin-top:1rem;flex-wrap:wrap}
.crossword-btn{background:#ea7a27;color:#fff;border:none;padding:.5rem 1rem;border-radius:8px;font-size:.8rem;font-weight:700;cursor:pointer;min-height:36px}
.crossword-btn:hover{background:#cc6a22}
.crossword-btn.secondary{background:#fff;color:var(--text-secondary);border:1px solid #f2d5b4}
.crossword-funfact{background:#fff;border-left:4px solid #22c55e;padding:.75rem 1rem;margin-top:1rem;border-radius:0 8px 8px 0;display:none}
.crossword-funfact.show{display:block}
.crossword-funfact-title{font-size:.7rem;font-weight:700;color:#16a34a;text-transform:uppercase;margin-bottom:.25rem}
.crossword-funfact-text{font-size:.85rem;color:#15803d}
@media (max-width:600px){.crossword-container{grid-template-columns:1fr}}
.b-micro{grid-column:span 4}
.b-articles{grid-column:span 2;grid-row:span 2}
@media(max-width:900px){
  .bento{grid-template-columns:repeat(4,1fr)}
  .b-learn{grid-column:span 4;grid-row:auto}
  .b-play{grid-column:span 2;grid-row:auto}
  .b-quiz,.b-poll,.b-cross{grid-column:span 2}
  .b-micro{grid-column:span 4}
  .b-articles{grid-column:span 2;grid-row:auto}
}
@media(max-width:600px){.bento{grid-template-columns:1fr;gap:.85rem}.bento>*{grid-column:auto!important;grid-row:auto!important}}

/* a CONTAINER = a doorway to a page */
.cont{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:.55rem;
  background:linear-gradient(165deg,#ffffff 0%,#fdfbf7 100%);border:1px solid var(--border);
  border-radius:20px;padding:1.3rem 1.35rem;box-shadow:var(--shadow);
  /* [2026-06-24] Pawan: cards flicker when the cursor sits at the border. Fix = hysteresis:
     revert is delayed .45s so the lift can't oscillate; engage waits .12s so a quick mouse
     sweep doesn't fire it; lift is a gentle 3px so the cursor rarely falls into the gap. */
  transition:transform .25s var(--spring) .45s,box-shadow .25s .45s,border-color .2s .45s;text-decoration:none;color:inherit}
.cont::after{content:'';position:absolute;top:-40%;right:-30%;width:70%;height:80%;
  background:radial-gradient(circle,rgba(245,159,10,.10),transparent 70%);opacity:.6;transition:opacity .3s .45s;pointer-events:none}
.cont:hover{transition-delay:.12s;transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:var(--primary-light)}
.cont:hover::after{transition-delay:.12s;opacity:1}
.cont.feat{background:var(--hero-grad)}
.cont .c-shape{width:84px;height:84px;flex:0 0 auto;background:var(--shape-bg);border:1px solid var(--border);
  border-radius:18px;padding:9px;box-shadow:inset 0 1px 3px rgba(120,72,20,.04)}
.cont.feat .c-shape{width:104px;height:104px}
.cont .c-eyebrow{font-family:'JetBrains Mono',monospace;font-size:.62rem;font-weight:600;
  letter-spacing:.13em;text-transform:uppercase;color:var(--primary)}
.cont .c-name{font-family:'Playfair Display',serif;font-weight:800;letter-spacing:-.3px;line-height:1.08;
  font-size:clamp(1.22rem,2.2vw,1.55rem)}
.cont.feat .c-name{font-size:clamp(1.5rem,3vw,2.1rem)}
.cont .c-desc{font-size:.9rem;color:var(--text-secondary);line-height:1.55;flex:1}
.cont .c-meta{display:flex;flex-wrap:wrap;gap:.4rem}
.cont .c-pill{font-size:.7rem;font-weight:700;color:var(--text-secondary);background:var(--accent-soft);border-radius:999px;padding:.22rem .6rem}
.cont .c-foot{display:flex;align-items:center;justify-content:space-between;margin-top:.2rem;padding-top:.7rem;border-top:1px solid var(--border-light)}
.cont .c-go{font-size:.84rem;font-weight:800;color:var(--primary-deep)}
.cont .c-go::after{content:' →';transition:margin .18s var(--spring)}
.cont:hover .c-go::after{margin-left:.22rem}
.cont.coming{opacity:.85;background:var(--bg-soft)}
.cont.coming .c-go{color:var(--text-muted)}
/* big featured shape can sit beside text on wide tiles */
.cont.row{flex-direction:row;align-items:flex-start;gap:1.1rem}
.cont.row .c-body{display:flex;flex-direction:column;gap:.5rem;flex:1;min-width:0}
@media(max-width:520px){.cont.row{flex-direction:column}}

/* [2026-06-26] Articles tile — list of real article doorways inside the b-articles container.
   Additive: new class only, matches the tile's link-row feel (border-light + accent-soft hover). */
.art-list{display:flex;flex-direction:column;gap:.32rem;flex:1;margin:.15rem 0}
.art-list a{display:flex;align-items:center;gap:.5rem;font-size:.83rem;font-weight:600;color:var(--text-secondary);
  text-decoration:none;padding:.42rem .6rem;border-radius:10px;border:1px solid var(--border-light);
  background:rgba(255,255,255,.55);transition:transform .15s var(--spring),border-color .15s,background .15s,color .15s}
.art-list a:hover{border-color:var(--primary-light);color:var(--primary-deep);background:var(--accent-soft);transform:translateX(3px)}
.art-list a .a-eq{font-family:'JetBrains Mono',monospace;font-size:.7rem;font-weight:500;color:var(--primary);margin-left:auto;white-space:nowrap}

/* [2026-06-26] Articles tile tabs (Best | Latest) — small pill toggles in the hub b-articles tile. */
.art-tabs{display:flex;gap:.4rem;margin:.1rem 0 .15rem}
.art-tab{font-family:'JetBrains Mono',monospace;font-size:.62rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--text-muted);background:transparent;border:1px solid var(--border);border-radius:999px;padding:.24rem .7rem;cursor:pointer;
  transition:color .15s,background .15s,border-color .15s}
.art-tab.on{color:var(--primary-deep);background:var(--accent-soft);border-color:var(--primary-light)}
.art-tab:hover{color:var(--primary-deep)}

/* [2026-06-26] Articles PAGE — responsive card grid on the hub skin; each card reuses .cont. */
.art-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1rem;margin-top:.4rem}
.art-card{min-height:206px}
.c-foot .a-eq{font-family:'JetBrains Mono',monospace;font-size:.78rem;font-weight:600;color:var(--primary-deep);white-space:nowrap}
.cont.coming .c-foot .a-eq{color:var(--text-muted)}
.tbd-mark{width:84px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  font-family:'JetBrains Mono',monospace;font-size:.72rem;font-weight:700;letter-spacing:.14em;color:var(--text-muted);
  background:var(--bg-soft);border:1px dashed var(--border);border-radius:10px}

/* mini board×class grid INSIDE the Learn container */
.minicov{display:grid;grid-template-columns:auto repeat(7,1fr);gap:.28rem;font-size:.62rem;margin-top:.3rem}
.minicov .mh{font-family:'JetBrains Mono',monospace;font-size:.54rem;color:var(--text-muted);text-align:center;padding-bottom:.1rem}
.minicov .mb{font-weight:700;font-size:.66rem;white-space:nowrap;display:flex;align-items:center}
.minicov .mc{height:1.45rem;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.66rem}
.minicov .mc.live{background:var(--live-soft);color:var(--live);font-weight:800}
.minicov .mc.soon{background:var(--border-light);color:var(--text-muted)}
.minicov .mc.na{background:transparent}
.c-key{display:flex;align-items:center;gap:.3rem;font-size:.7rem;color:var(--text-muted);font-weight:600}
.c-key i{width:.8rem;height:.8rem;border-radius:4px;display:inline-block}
.c-key i.k-live{background:var(--live-soft);border:1px solid var(--live)}
.c-key i.k-soon{background:var(--border-light);border:1px solid var(--border)}

/* INTERACTIVE INSETS — quiz · poll · micro-game (do something on the page) */
.inset{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:.6rem;
  background:linear-gradient(160deg,#fff7ec 0%,#fdf0dc 100%);border:1px solid var(--primary-light);
  border-radius:20px;padding:1.3rem 1.35rem;box-shadow:var(--shadow)}
.inset .i-eyebrow{font-family:'JetBrains Mono',monospace;font-size:.62rem;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--primary-deep);display:flex;align-items:center;gap:.4rem}
.inset .i-q{font-family:'Playfair Display',serif;font-weight:700;font-size:1.1rem;line-height:1.25}
.inset .i-opts{display:flex;flex-wrap:wrap;gap:.5rem}
.qopt,.popt{font-family:inherit;font-size:.85rem;font-weight:700;color:var(--text-secondary);background:#fff;
  border:1.5px solid var(--border);border-radius:11px;padding:.55rem .9rem;cursor:pointer;transition:all .15s var(--spring)}
.qopt:hover,.popt:hover{border-color:var(--primary);color:var(--primary-deep);transform:translateY(-1px)}
.qopt.right{background:var(--live-soft);border-color:var(--live);color:var(--live)}
.qopt.wrong{background:#fdecec;border-color:#e2a3a3;color:#b4322e}
.i-feedback{font-size:.85rem;color:var(--text-secondary);min-height:1.2em}
.i-feedback b{color:var(--primary-deep)}
/* poll result bars */
.poll-res{display:flex;flex-direction:column;gap:.45rem;margin-top:.2rem}
.pbar{display:flex;align-items:center;gap:.6rem;font-size:.8rem}
.pbar .pn{flex:0 0 30%;font-weight:700;color:var(--text-secondary)}
.pbar .pt{flex:1;height:.85rem;background:var(--bg-soft);border-radius:999px;overflow:hidden}
.pbar .pt i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--primary-light),var(--primary));transition:width .7s var(--spring)}
.pbar .pp{flex:0 0 auto;font-weight:800;color:var(--primary-deep);font-size:.78rem}
/* micro-game embed */
.micro-frame{flex:1;display:flex;gap:1.1rem;align-items:center}
@media(max-width:560px){.micro-frame{flex-direction:column;align-items:stretch}}
.micro-frame iframe{width:190px;height:190px;flex:0 0 auto;border:0;border-radius:14px;background:#0b0e12;box-shadow:var(--shadow)}
@media(max-width:560px){.micro-frame iframe{width:100%;height:230px}}
.micro-frame .m-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:.5rem}

/* a full-bleed SOFT band to break the flat cream between sections */
.band-soft{background:var(--bg-soft);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}

/* ════════════════════════════════════════════════════════════════════════
   [2026-06-24] DYNAMISM hop 1 — preloader + lazy, quiz sheet, crossword modal,
   confetti + streak, soft transitions. So vp1 paints instantly and the page feels
   alive (Beyond Words pattern). Lifted: confetti, crossword interaction model.
   ════════════════════════════════════════════════════════════════════════ */
/* preloader — covers vp1 only until the hero is ready, then fades (perf-friendly) */
.preloader{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;
  background:var(--hero-grad);transition:opacity .5s ease}
.preloader.hide{opacity:0;pointer-events:none}
.preloader .pl-logo{width:54px;height:54px;border-radius:14px;background:var(--primary);color:#fff;
  font-family:'Playfair Display',serif;font-weight:800;font-size:1.9rem;display:flex;align-items:center;justify-content:center;
  animation:plPulse 1.1s ease-in-out infinite}
@keyframes plPulse{0%,100%{transform:scale(1);box-shadow:0 6px 20px rgba(234,122,39,.25)}50%{transform:scale(1.08);box-shadow:0 10px 30px rgba(234,122,39,.4)}}

/* ── modal / bottom-sheet (quiz = sheet · crossword = full) ───────────────── */
.sheet{position:fixed;inset:0;z-index:200;display:none}
.sheet.open{display:block}
.sheet-scrim{position:absolute;inset:0;background:rgba(40,22,8,.5);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:fadeIn .25s ease}
@keyframes fadeIn{from{opacity:0}}
.sheet-panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(94vw,560px);
  max-height:90vh;overflow:auto;background:var(--bg-card);border-radius:22px;box-shadow:0 30px 80px rgba(40,22,8,.4);
  padding:1.6rem 1.7rem;animation:sheetIn .3s var(--spring)}
@keyframes sheetIn{from{opacity:0;transform:translate(-50%,-46%) scale(.97)}}
/* on phones the quiz slides up as a true bottom sheet */
@media(max-width:620px){
  .sheet-panel{left:0;top:auto;bottom:0;transform:none;width:100%;max-height:88vh;border-radius:22px 22px 0 0;animation:sheetUp .3s var(--spring)}
  @keyframes sheetUp{from{transform:translateY(60%);opacity:0}}
}
.sheet-full .sheet-panel{width:min(96vw,720px)}
@media(max-width:620px){.sheet-full .sheet-panel{height:96vh;max-height:96vh;border-radius:0;top:0;bottom:0;animation:fadeIn .25s ease}}
.sheet-x{position:absolute;top:.8rem;right:.9rem;width:2rem;height:2rem;border:0;background:var(--bg-card-hover);
  border-radius:50%;font-size:1.1rem;color:var(--text-secondary);cursor:pointer;line-height:1;z-index:2}
.sheet-x:hover{background:var(--accent-soft);color:var(--primary-deep)}
.sheet-head{display:flex;align-items:center;gap:.6rem;margin-bottom:1rem}
.sheet-head .sh-k{font-family:'JetBrains Mono',monospace;font-size:.64rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--primary)}
.sheet-head h3{font-family:'Playfair Display',serif;font-weight:800;font-size:1.45rem;letter-spacing:-.3px}

/* ── quiz flow ────────────────────────────────────────────────────────────── */
.qz-rail{display:flex;gap:.3rem;margin-bottom:1rem}
.qz-rail i{flex:1;height:5px;border-radius:3px;background:var(--border)}
.qz-rail i.done{background:var(--live)}
.qz-rail i.now{background:var(--primary)}
.qz-q{font-family:'Playfair Display',serif;font-weight:700;font-size:1.18rem;line-height:1.3;margin-bottom:1rem}
.qz-opts{display:flex;flex-direction:column;gap:.55rem;margin-bottom:1rem}
.qz-opt{text-align:left;font-family:inherit;font-size:.95rem;font-weight:600;color:var(--text-primary);
  background:var(--bg-card);border:1.5px solid var(--border);border-radius:13px;padding:.8rem 1rem;cursor:pointer;
  transition:all .15s var(--spring)}
.qz-opt:hover{border-color:var(--primary);background:var(--accent-soft)}
.qz-opt.right{background:var(--live-soft);border-color:var(--live);color:var(--live)}
.qz-opt.wrong{background:#fdecec;border-color:#e2a3a3;color:#b4322e}
.qz-opt:disabled{cursor:default}
.qz-exp{font-size:.9rem;color:var(--text-secondary);line-height:1.6;background:var(--bg-soft);
  border-left:3px solid var(--primary);border-radius:0 10px 10px 0;padding:.75rem .9rem;margin-bottom:1rem;display:none}
.qz-exp.show{display:block;animation:fadeIn .25s ease}
.qz-exp b{color:var(--primary-deep)}
.qz-foot{display:flex;align-items:center;justify-content:space-between;gap:.8rem}
.qz-streak{font-size:.82rem;font-weight:700;color:var(--text-muted)}
.qz-streak b{color:var(--primary-deep)}
.qz-next{background:var(--primary);color:#fff;font-weight:700;font-size:.9rem;border:0;border-radius:12px;
  padding:.7rem 1.4rem;cursor:pointer;transition:background .2s,transform .15s var(--spring)}
.qz-next:hover{background:var(--primary-deep);transform:translateY(-1px)}
.qz-next:disabled{opacity:.4;cursor:default;transform:none}
.qz-done{text-align:center;padding:.5rem 0}
.qz-done .qd-score{font-family:'Playfair Display',serif;font-weight:800;font-size:2.6rem;color:var(--primary-deep);line-height:1}
.qz-done .qd-msg{font-size:1rem;color:var(--text-secondary);margin:.5rem 0 1.2rem}

/* ── crossword ────────────────────────────────────────────────────────────── */
.cw-wrap{display:flex;gap:1.4rem;flex-wrap:wrap}
@media(max-width:620px){.cw-wrap{gap:1rem}}
.cw-grid{display:grid;grid-template-columns:repeat(var(--maxC),minmax(0,1fr));gap:3px;
  width:min(100%,360px);aspect-ratio:var(--maxC)/var(--maxR);flex:0 0 auto}
.cw-cell{position:relative;background:var(--bg-card);border:1px solid var(--border);border-radius:4px}
.cw-cell.black{background:transparent;border:0}
.cw-cell .cell-num{position:absolute;top:1px;left:2px;font-size:.5rem;font-weight:700;color:var(--text-muted)}
.cw-cell input{width:100%;height:100%;border:0;background:transparent;text-align:center;text-transform:uppercase;
  font-family:'JetBrains Mono',monospace;font-weight:700;font-size:1rem;color:var(--text-primary);outline:none;border-radius:4px}
.cw-cell.selected{outline:2px solid var(--primary)}
.cw-cell.active-word{background:var(--accent-soft)}
.cw-cell.ok input{color:var(--live)}
.cw-clues{flex:1;min-width:220px}
.cw-cluehead{font-family:'JetBrains Mono',monospace;font-size:.66rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--primary);margin:.4rem 0 .4rem}
.cw-clue{font-size:.86rem;color:var(--text-secondary);padding:.35rem .5rem;border-radius:8px;cursor:pointer;line-height:1.4}
.cw-clue:hover{background:var(--accent-soft)}
.cw-clue.active{background:var(--accent-soft);color:var(--primary-deep);font-weight:600}
.cw-controls{display:flex;gap:.5rem;margin-top:.8rem}
.cw-btn{font-family:inherit;font-size:.82rem;font-weight:700;border-radius:10px;padding:.55rem .9rem;cursor:pointer;border:1.5px solid var(--border);background:var(--bg-card);color:var(--text-secondary);transition:all .15s}
.cw-btn:hover{border-color:var(--primary);color:var(--primary-deep)}
.cw-btn.primary{background:var(--primary);color:#fff;border-color:var(--primary)}
.cw-btn.primary:hover{background:var(--primary-deep)}

/* ── confetti (lifted) + streak chip ─────────────────────────────────────── */
.fx-confetti{position:fixed;inset:0;pointer-events:none;z-index:400;overflow:hidden}
.fx-confetti span{position:absolute;top:-12vh;border-radius:2px;opacity:.95;
  animation:confFall linear forwards;transform:rotate(0)}
@keyframes confFall{to{transform:translate(var(--dx),115vh) rotate(var(--dr));opacity:.9}}
@media(prefers-reduced-motion:reduce){.fx-confetti{display:none}}

/* ── FAQ craft (CBSE_FAQ standard: graded, varied answer layouts A1–A7) ───── */
.faq-filter{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.1rem}
.faq-fchip{font-size:.8rem;font-weight:700;color:var(--text-secondary);background:var(--bg-card);
  border:1px solid var(--border);border-radius:999px;padding:.42rem .9rem;cursor:pointer;transition:all .15s var(--spring)}
.faq-fchip:hover{border-color:var(--primary);color:var(--primary-deep)}
.faq-fchip.on{background:var(--primary);color:#fff;border-color:var(--primary)}
.faq details[hidden]{display:none}
.faq-meta{display:inline-flex;gap:.35rem;margin-left:.55rem;font-family:'JetBrains Mono',monospace;
  font-size:.58rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.faq-meta span{background:var(--accent-soft);color:var(--primary-deep);border-radius:5px;padding:.12rem .42rem}
.faq-ans{padding:0 1rem 1rem 2.2rem}
.faq-ans p{color:var(--text-secondary);font-size:.92rem;line-height:1.6;margin-bottom:.5rem}
.faq-ans ul,.faq-ans ol{color:var(--text-secondary);font-size:.92rem;line-height:1.6;margin:.2rem 0 .5rem 1.2rem}
.faq-ans li{margin-bottom:.3rem}
.faq-ans a{color:var(--primary-deep);font-weight:700}
.faq-tbl{width:100%;border-collapse:collapse;margin:.4rem 0;font-size:.86rem}
.faq-tbl th{text-align:left;font-weight:700;color:var(--primary-deep);background:var(--accent-soft);padding:.45rem .6rem;border:1px solid var(--border)}
.faq-tbl td{padding:.45rem .6rem;border:1px solid var(--border);color:var(--text-secondary)}
.faq-formula{font-family:'JetBrains Mono',monospace;font-weight:600;color:var(--primary-deep);background:var(--bg-soft);
  border:1px solid var(--border);border-radius:8px;padding:.6rem .9rem;margin:.5rem 0;text-align:center;font-size:1rem}

/* shared util */
.lede{font-size:1rem;color:var(--text-secondary);max-width:70ch;line-height:1.65;margin-bottom:1.2rem}
