/* =========================================================
   Ratta marketing site — shared stylesheet
   Palette mirrors the app (app_template.html): deep teal brand,
   marigold accent, cream background, Lexend headings / IBM Plex
   Sans body. The logo's violet→coral gradient is used ONLY for
   the logo mark and a couple of hero accents, never as the
   functional UI color, exactly as documented in the brand log.
   ========================================================= */

:root{
  --bg:            #f7f6f2;
  --surface:       #ffffff;
  --surface-2:     #f0efe9;
  --border:        rgba(15,23,22,0.10);
  --border-strong: rgba(15,23,22,0.18);
  --text-primary:  #12201d;
  --text-secondary:#4b5b56;
  --text-muted:    #7c8a85;

  --brand:         #1b4d4a;
  --brand-ink:     #0e332f;
  --brand-tint:    #e4efed;
  --accent:        #e8a23d;
  --accent-ink:    #7a5312;
  --accent-tint:   #fbead0;

  --good:     #0ca30c;
  --good-tint:#e3f5e3;
  --bad:      #c23a3a;
  --bad-tint: #fbe6e6;

  --logo-1: #7C3AED;
  --logo-2: #FF5D5D;

  --shadow-sm: 0 1px 2px rgba(15,23,22,0.06);
  --shadow-md: 0 6px 20px rgba(15,23,22,0.08);
  --shadow-lg: 0 18px 48px rgba(15,23,22,0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;

  /* Reading-comfort default for visitors browsing the marketing site,
     matching the app/admin surfaces' 120% default (see display-settings
     widget below). */
  --text-scale: 1.2;
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:            #0f1412;
    --surface:       #171e1c;
    --surface-2:     #1e2724;
    --border:        rgba(255,255,255,0.09);
    --border-strong: rgba(255,255,255,0.16);
    --text-primary:  #f2f5f3;
    --text-secondary:#b6c2be;
    --text-muted:    #7f8d88;

    --brand:         #4fa39c;
    --brand-ink:     #cfe9e5;
    --brand-tint:    #16302c;
    --accent:        #f0b458;
    --accent-ink:    #ffe4b0;
    --accent-tint:   #3a2d13;

    --good:     #37c23a;
    --good-tint:#12301a;
    --bad:      #e5726f;
    --bad-tint: #331615;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.35);
    --shadow-lg: 0 18px 48px rgba(0,0,0,0.5);
  }
}
:root[data-theme="dark"]{
  --bg:            #0f1412;
  --surface:       #171e1c;
  --surface-2:     #1e2724;
  --border:        rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text-primary:  #f2f5f3;
  --text-secondary:#b6c2be;
  --text-muted:    #7f8d88;

  --brand:         #4fa39c;
  --brand-ink:     #cfe9e5;
  --brand-tint:    #16302c;
  --accent:        #f0b458;
  --accent-ink:    #ffe4b0;
  --accent-tint:   #3a2d13;

  --good:     #37c23a;
  --good-tint:#12301a;
  --bad:      #e5726f;
  --bad-tint: #331615;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.35);
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.5);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; zoom:var(--text-scale); }
body{
  margin:0;
  background:var(--bg);
  color:var(--text-primary);
  font-family:"IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{ font-family:"Lexend","IBM Plex Sans",sans-serif; font-weight:700; text-wrap:balance; margin:0 0 .5em; line-height:1.18; color:var(--text-primary); }
/* Body copy is intentionally left-aligned, not justified: on the web,
   justification without proper hyphenation creates uneven "rivers" of
   whitespace between words, which is harder to read at speed and is called
   out by WCAG 2.1 (1.4.8) as something to avoid for exactly that reason —
   worse for low-vision and dyslexic readers, which matters for a PAN-India
   audience. text-wrap:pretty is the accepted alternative: it improves how
   lines break (no short orphan word alone on the last line, better balance)
   without introducing that unevenness; browsers without support just ignore
   it and fall back to normal wrapping. */
p, li{ margin:0 0 1em; color:var(--text-secondary); text-wrap:pretty; }
a{ color:var(--brand); text-decoration:none; }
a:hover{ text-decoration:underline; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
::selection{ background:var(--accent-tint); }
:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding:72px 0; }
.section-tight{ padding:40px 0; }
@media (max-width:720px){
  .section{ padding:48px 0; }
  .wrap{ padding:0 18px; }
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:"Lexend",sans-serif; font-weight:600; font-size:14.5px;
  letter-spacing:.06em; text-transform:uppercase; color:var(--brand);
  background:var(--brand-tint); padding:6px 14px; border-radius:999px;
  margin-bottom:16px;
}
.lede{ font-size:20px; color:var(--text-secondary); max-width:62ch; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.eyebrow.center{ display:flex; width:fit-content; }

/* ---- buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:"Lexend",sans-serif; font-weight:600; font-size:16px;
  padding:13px 24px; border-radius:12px; border:1.5px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:hover{ text-decoration:none; }
.btn-primary{ background:var(--brand); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--brand-ink); box-shadow:var(--shadow-md); transform:translateY(-1px); }
.btn-accent{ background:var(--accent); color:var(--accent-ink); }
.btn-accent:hover{ filter:brightness(1.05); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--text-primary); border-color:var(--border-strong); }
.btn-ghost:hover{ background:var(--surface-2); }
.btn-lg{ padding:16px 30px; font-size:17.5px; border-radius:14px; }
.btn-block{ width:100%; }

/* ---- header / nav ---- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0; }
.brand-mark{ display:flex; align-items:center; gap:10px; font-family:"Lexend",sans-serif; font-weight:800; font-size:21px; color:var(--text-primary); flex:none; }
.brand-mark svg{ width:36px; height:36px; flex:none; }
.nav-links{ display:flex; align-items:center; gap:20px; flex-wrap:nowrap; }
.nav-links a{ color:var(--text-secondary); font-weight:600; font-size:15px; white-space:nowrap; }
.nav-links a:hover{ color:var(--brand); text-decoration:none; }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-toggle{
  display:none; background:none; border:1.5px solid var(--border-strong); border-radius:10px;
  width:42px; height:42px; align-items:center; justify-content:center;
}
.nav-toggle svg{ width:20px; height:20px; }
.mobile-menu{ display:none; }

@media (max-width:1360px){
  .nav-links{ display:none; }
  .nav-cta .btn-ghost{ display:none; }
  .nav-toggle{ display:flex; }
  .mobile-menu.open{
    display:flex; flex-direction:column; gap:2px;
    padding:8px 18px 20px;
    border-top:1px solid var(--border);
  }
  .mobile-menu a{
    padding:12px 4px; font-weight:600; color:var(--text-primary);
    border-bottom:1px solid var(--border);
  }
  .mobile-menu .btn{ margin-top:14px; }
}

/* ---- "Log in" popover: one CTA, three real destinations (student /
   institution&teacher / state department) — see build_site.py's
   LOGIN_DESTINATIONS for why there's no separate fourth "Teacher" door. ---- */
.login-menu{ position:relative; }
.login-trigger{ display:inline-flex; align-items:center; gap:6px; }
.login-chevron{ transition:transform .15s ease; }
.login-menu.open .login-chevron{ transform:rotate(180deg); }
.login-panel{
  display:none;
  position:absolute; top:calc(100% + 10px); right:0;
  width:320px; padding:10px;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow-lg);
  z-index:60;
}
.login-menu.open .login-panel{ display:block; }
.login-panel-label{
  font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--text-muted); padding:8px 10px 4px;
}
.login-option{
  display:flex; align-items:flex-start; gap:12px;
  padding:10px; border-radius:var(--radius-sm);
  color:var(--text-primary);
}
.login-option:hover{ background:var(--surface-2); text-decoration:none; }
.login-option-icon{ font-size:22px; line-height:1.3; flex:none; }
.login-option-text{ display:flex; flex-direction:column; gap:2px; }
.login-option-text strong{ font-size:14.5px; font-weight:700; }
.login-option-text small{ font-size:12.5px; color:var(--text-muted); line-height:1.4; }

@media (max-width:1360px){
  /* No room to float a popover inside an already-open full-screen mobile
     menu, so on mobile the same three options are shown as a permanently
     expanded static list instead of a click-to-open panel. */
  .mobile-menu .login-menu{ order:1; }
  .mobile-menu .login-trigger{ display:none; }
  .mobile-menu .login-panel{
    display:block; position:static; width:auto; padding:6px 0 0;
    border:none; box-shadow:none; background:none;
  }
  .mobile-menu .login-panel-label{ padding:10px 4px 4px; }
  .mobile-menu .login-option{ border-bottom:1px solid var(--border); border-radius:0; }
  .mobile-menu .login-option:hover{ background:none; }
}

/* ---- hero ---- */
.hero{ padding:36px 0 36px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; gap:36px; } }
.hero h1{ font-size:44px; }
@media (max-width:560px){ .hero{ padding:22px 0 28px; } .hero h1{ font-size:32px; } }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:20px; }
.hero-lede{ font-size:18px; margin-top:12px; }
.hero-trust{ display:flex; gap:22px; flex-wrap:wrap; margin-top:22px; color:var(--text-muted); font-size:15.5px; }
.hero-more{ margin-top:22px; max-width:62ch; color:var(--text-secondary); font-size:15.5px; }
.hero-trust span{ display:flex; align-items:center; gap:6px; }

/* ---- cards / grids ---- */
.grid{ display:grid; gap:20px; }
.grid-2{ grid-template-columns:1fr 1fr; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
}
.card-pad{ padding:26px; }
.feature-card{ padding:26px; }
.feature-icon{
  width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:var(--brand-tint); color:var(--brand); font-size:22px; margin-bottom:16px;
}
.feature-card h3{ font-size:18.5px; margin-bottom:8px; }
.feature-card p{ font-size:16.5px; margin-bottom:0; }

.stat-tile{ padding:22px; text-align:center; }
.stat-num{ font-family:"Lexend",sans-serif; font-weight:800; font-size:32px; color:var(--brand); }
.stat-label{ font-size:15px; color:var(--text-muted); margin-top:4px; }

/* ---- pill / badge ---- */
.pill{ display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:999px; font-size:14.5px; font-weight:600; }
.pill-good{ background:var(--good-tint); color:var(--good); }
.pill-accent{ background:var(--accent-tint); color:var(--accent-ink); }
.pill-muted{ background:var(--surface-2); color:var(--text-muted); }

/* ---- pricing ---- */
.pricing-card{ padding:32px; display:flex; flex-direction:column; }
.pricing-card.highlight{ border-color:var(--brand); box-shadow:var(--shadow-md); position:relative; }
.pricing-badge{
  position:absolute; top:-13px; left:26px; background:var(--brand); color:#fff;
  font-family:"Lexend",sans-serif; font-weight:600; font-size:13.5px; padding:5px 12px; border-radius:999px;
}
.price-num{ font-family:"Lexend",sans-serif; font-weight:800; font-size:40px; margin:14px 0 4px; }
.price-num sub{ font-family:"IBM Plex Sans",sans-serif; font-weight:500; font-size:16px; color:var(--text-muted); }
.pricing-list{ list-style:none; margin:22px 0; padding:0; display:flex; flex-direction:column; gap:11px; }
.pricing-list li{ display:flex; gap:10px; font-size:16.5px; color:var(--text-secondary); align-items:flex-start; }
.pricing-list li svg{ flex:none; margin-top:3px; width:16px; height:16px; color:var(--good); }

/* ---- steps ---- */
.steps{ counter-reset:step; display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:900px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding:24px 22px 22px; }
.step::before{
  counter-increment:step; content:counter(step);
  display:flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:10px; margin-bottom:14px;
  background:var(--accent); color:var(--accent-ink); font-family:"Lexend",sans-serif; font-weight:800; font-size:15px;
}
.step h4{ font-size:16.5px; margin-bottom:6px; }
.step p{ font-size:16px; margin-bottom:0; }

/* ---- CTA band ---- */
.cta-band{
  background:linear-gradient(135deg, var(--brand) 0%, var(--brand-ink) 100%);
  border-radius:24px; padding:56px 40px; color:#fff; text-align:center;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,0.82); }
.cta-band .btn-ghost{ background:rgba(255,255,255,0.08); color:#fff; border-color:rgba(255,255,255,0.35); }
.cta-band .btn-ghost:hover{ background:rgba(255,255,255,0.16); }
@media (max-width:560px){ .cta-band{ padding:40px 22px; } }

/* ---- footer ---- */
.site-footer{ border-top:1px solid var(--border); padding:52px 0 30px; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr 1fr 1fr; gap:28px; }
@media (max-width:1000px){ .footer-grid{ grid-template-columns:1fr 1fr 1fr; } .footer-grid .footer-brand{ grid-column:1 / -1; } }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h5{ font-family:"Lexend",sans-serif; font-weight:700; font-size:14px; letter-spacing:.03em; text-transform:uppercase; color:var(--text-muted); margin-bottom:14px; }
.footer-links{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.footer-links a{ color:var(--text-secondary); font-size:15px; }
.footer-links a:hover{ color:var(--brand); }
.footer-bottom{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  margin-top:40px; padding-top:24px; border-top:1px solid var(--border);
  font-size:14px; color:var(--text-muted);
}
.footer-brand p{ font-size:15px; max-width:34ch; margin-top:12px; }
.footer-legal-note{ font-size:13.5px; color:var(--text-muted); max-width:60ch; margin-top:14px; }

/* ---- legal / doc pages ---- */
.doc-page{ padding:56px 0 80px; }
.doc-wrap{ max-width:820px; margin:0 auto; padding:0 24px; }
.doc-wrap h1{ font-size:32px; margin-bottom:8px; }
.doc-updated{ color:var(--text-muted); font-size:14.5px; margin-bottom:36px; }
.doc-wrap h2{ font-size:20px; margin-top:38px; margin-bottom:12px; }
.doc-wrap h3{ font-size:17px; margin-top:22px; margin-bottom:8px; }
.doc-wrap p, .doc-wrap li{ font-size:16px; color:var(--text-secondary); }
.doc-wrap ul, .doc-wrap ol{ padding-left:22px; }
.doc-wrap li{ margin-bottom:8px; }
.doc-callout{
  background:var(--accent-tint); border:1px solid var(--border); border-radius:12px;
  padding:16px 18px; font-size:15px; color:var(--accent-ink); margin:24px 0;
}
.doc-toc{ background:var(--surface-2); border-radius:12px; padding:20px 22px; margin-bottom:36px; }
.doc-toc h5{ font-family:"Lexend",sans-serif; font-size:13.5px; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); margin-bottom:10px; }
.doc-toc ol{ margin:0; padding-left:20px; columns:2; }
@media (max-width:560px){ .doc-toc ol{ columns:1; } }
.doc-toc li{ font-size:14.5px; margin-bottom:6px; }
.doc-toc a{ color:var(--text-secondary); }
.doc-toc a:hover{ color:var(--brand); }

/* ---- contact / forms ---- */
.form-field{ display:flex; flex-direction:column; gap:6px; margin-bottom:18px; }
.form-field label{ font-size:14.5px; font-weight:600; color:var(--text-primary); }
.form-field input, .form-field textarea, .form-field select{
  font-family:inherit; font-size:16px; padding:12px 14px; border-radius:10px;
  border:1.5px solid var(--border-strong); background:var(--surface); color:var(--text-primary);
}
.form-field textarea{ resize:vertical; min-height:120px; }
.form-field input:focus, .form-field textarea:focus{ outline:none; border-color:var(--brand); }

/* ---- misc ---- */
.divider{ height:1px; background:var(--border); margin:0; }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
@media (max-width:800px){ .two-col{ grid-template-columns:1fr; gap:28px; } }
.tag-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.faq-item{ border-bottom:1px solid var(--border); padding:20px 0; }
.faq-item h4{ font-size:16.5px; margin-bottom:8px; }
.faq-item p{ font-size:16.5px; margin-bottom:0; }

/* ---- hero mock dashboard card ---- */
.mock-card{ padding:24px; }
.mock-card-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.mock-card-head h4{ font-size:16px; margin:0; color:var(--text-muted); font-family:"Lexend",sans-serif; text-transform:uppercase; letter-spacing:.03em; }
.mock-row{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.mock-row:last-child{ margin-bottom:0; }
.mock-label{ font-size:15.5px; color:var(--text-secondary); width:108px; flex:none; }
.mock-bar-track{ flex:1; height:9px; border-radius:999px; background:var(--surface-2); overflow:hidden; }
.mock-bar-fill{ height:100%; border-radius:999px; background:var(--brand); }
.mock-pct{ font-family:"IBM Plex Mono",monospace; font-size:15px; font-weight:600; width:38px; text-align:right; flex:none; color:var(--text-primary); }
.mock-badge-row{ display:flex; gap:8px; margin-top:20px; flex-wrap:wrap; }

/* ---- impact stat band ---- */
.impact-band{ background:var(--brand-tint); border-radius:24px; padding:48px 40px; }
@media (max-width:560px){ .impact-band{ padding:32px 22px; } }

/* ---- numbered list without markers, legal-doc friendly ---- */
.plain-list{ list-style:none; padding:0; margin:0; }
.plain-list li{ padding:10px 0; border-bottom:1px solid var(--border); }
.plain-list li:last-child{ border-bottom:none; }

/* ---- display-settings widget: day/night theme + text size, injected by
   script.js on every page so visitors get the same reading-comfort
   controls as the app and admin panels, without editing each page. Fixed
   bottom-right, low-key until hovered/used. ---- */
.display-widget{
  position:fixed; right:18px; bottom:18px; z-index:400;
  display:flex; align-items:center; gap:4px;
  background:var(--surface); border:1px solid var(--border-strong);
  border-radius:999px; box-shadow:var(--shadow-md);
  padding:6px; font-family:"IBM Plex Sans",sans-serif;
}
.display-widget button{
  background:var(--surface-2); border:1px solid var(--border);
  color:var(--text-primary); border-radius:999px; cursor:pointer;
  font-size:13px; font-weight:600; line-height:1; padding:8px 10px;
  min-width:34px;
}
.display-widget button:hover{ background:var(--brand-tint); border-color:var(--brand); }
.display-widget button:disabled{ opacity:.4; cursor:not-allowed; }
.display-widget .dw-pct{
  font-size:11.5px; font-weight:600; color:var(--text-secondary);
  min-width:32px; text-align:center; user-select:none;
}
@media (max-width:560px){
  .display-widget{ right:10px; bottom:10px; padding:5px; }
  .display-widget button{ padding:7px 8px; font-size:12px; }
}

/* keep long words, prices and forms inside their column on small screens */
.grid > *, .hero-grid > *, .two-col > *{ min-width:0; }
.price-num{ overflow-wrap:anywhere; }
@media (max-width:560px){ .price-num{ font-size:34px; } .price-num sub{ font-size:14px; } }
@media (max-width:560px){ .hero-actions .btn, .cta-band .btn{ white-space:normal; text-align:center; max-width:100%; } }
@media (max-width:420px){ .nav-row{ gap:10px; } .nav-cta .btn-primary{ padding-left:12px; padding-right:12px; font-size:14px; } .brand-mark{ font-size:20px; } }


/* Pass 134: FAQ block and chapter pages */
.faq-list{ margin-top:22px; display:flex; flex-direction:column; gap:10px; }
.faq-item{ border:1px solid var(--border); border-radius:14px; background:var(--surface); padding:0 18px; }
.faq-item summary{ cursor:pointer; list-style:none; padding:16px 0; font-family:"Lexend",sans-serif; font-weight:600; font-size:16.5px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; float:right; font-weight:700; color:var(--brand); }
.faq-item[open] summary::after{ content:"\2212"; }
.faq-item p{ margin:0 0 16px; color:var(--text-secondary); font-size:15.5px; line-height:1.6; }
.crumbs{ font-size:14px; color:var(--text-muted); margin-bottom:14px; }
.crumbs a{ color:var(--text-secondary); }
.crumbs a:hover{ color:var(--brand); }
.chap-list{ list-style:none; margin:14px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; }
.chap-list li{ border:1px solid var(--border); border-radius:12px; padding:12px 16px; background:var(--surface); display:flex; gap:14px; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; }
.chap-list .chap-name{ font-weight:600; }
.chap-list .chap-meta{ color:var(--text-muted); font-size:14px; }
.topic-table{ width:100%; border-collapse:collapse; margin-top:12px; font-size:15px; }
.topic-table th, .topic-table td{ text-align:left; padding:10px 12px; border-bottom:1px solid var(--border); }
.topic-table th{ font-size:13px; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); }
.topic-table td.num, .topic-table th.num{ text-align:right; white-space:nowrap; }
.stat-row{ display:flex; flex-wrap:wrap; gap:10px; margin:16px 0 4px; }
.pager{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:28px; }
.fine{ font-size:13.5px; color:var(--text-muted); margin-top:26px; }
