/* Trax landing — clean, light, dashboard-inspired */

:root{
  --bg: #ffffff;
  --bg2: #f6f8fb;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15,23,42,.10);
  --shadow: 0 24px 60px rgba(2, 8, 23, .10);
  --shadow2: 0 10px 24px rgba(2, 8, 23, .08);

  --brand: #1d4ed8;
  --brand2: #2563eb;
  --soft: rgba(29, 78, 216, .10);

  --good: #16a34a;
  --warn: #f59e0b;
  --bad:  #ef4444;
  --ink: rgba(15,23,42,.75);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(29, 78, 216, .10), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(2, 132, 199, .08), transparent 55%),
    linear-gradient(var(--bg), var(--bg));
}

a{ color: inherit; text-decoration: none; }
.container{ width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  height: 70px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}
.brand__logo{ height: 38px; width: auto; max-width: 170px; display:block; }




.nav{ display:flex; gap: 18px; align-items:center; }
.nav__link{
  font-size: 14px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 10px;
}
.nav__link:hover{ background: rgba(2,8,23,.04); color: var(--text); }
.topbar__actions{ display:flex; gap: 10px; align-items:center; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 650;
  letter-spacing: .2px;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
}
.btn--primary{
  background: linear-gradient(180deg, var(--brand2), var(--brand));
  color: white;
  box-shadow: 0 10px 24px rgba(29, 78, 216, .20);
}
.btn--primary:hover{ filter: brightness(1.02); }
.btn--soft{
  background: rgba(2,8,23,.03);
  border-color: rgba(2,8,23,.06);
  color: var(--text);
}
.btn--soft:hover{ background: rgba(2,8,23,.05); }
.btn--ghost{
  background: transparent;
  border-color: rgba(2,8,23,.12);
  color: var(--text);
}
.btn--ghost:hover{ background: rgba(2,8,23,.03); }

.hero{ padding: 64px 0 30px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: start;
}
.eyebrow{
  display:inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.65);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}
.hero__title{
  margin: 14px 0 10px;
  font-size: 52px;
  letter-spacing: -1px;
  line-height: 1.05;
}
.hero__lead{
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 54ch;
}
.hero__cta{ display:flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 22px; }

.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 14px;
  background: rgba(255,255,255,.70);
}
.stat__kpi{ font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.stat__value{ font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.stat__sub{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.hero__panel{
  position: relative;
}
.mock{
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.mock__bar{
  height: 44px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.85);
}
.mock__dots{ display:flex; gap: 6px; }
.mock__dots span{
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(2,8,23,.16);
}
.mock__title{ font-size: 12px; color: var(--muted); }
.mock__body{ padding: 14px 14px 12px; }

.kpi-row{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.kpi-card{
  border-radius: 14px;
  padding: 10px 10px;
  border: 1px solid var(--border);
  background: white;
}
.kpi-card__label{ font-size: 12px; color: var(--muted); }
.kpi-card__value{ font-size: 20px; font-weight: 800; margin: 6px 0 4px; }
.kpi-card__note{ font-size: 12px; color: var(--muted); }

.kpi-card--green{ box-shadow: inset 0 -3px 0 rgba(22,163,74,.35); }
.kpi-card--orange{ box-shadow: inset 0 -3px 0 rgba(245,158,11,.35); }
.kpi-card--amber{ box-shadow: inset 0 -3px 0 rgba(251,146,60,.35); }
.kpi-card--red{ box-shadow: inset 0 -3px 0 rgba(239,68,68,.35); }

.mini-grid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 10px;
}
.mini{
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 10px;
}
.mini__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.mini__title{ font-size: 12px; color: var(--muted); }
.pill{
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(2,8,23,.03);
  color: var(--muted);
}

.chart{ width: 100%; min-height: 220px; }
.chart--lg{ min-height: 310px; }
#chart_hero_ada{ min-height: 160px; }
#chart_hero_donut{ min-height: 160px; }
.mock__foot{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.strip{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.55);
}
.strip__inner{
  padding: 18px 0;
  display:flex;
  gap: 18px;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.strip__copy{ color: var(--muted); font-size: 14px; }
.strip__chips{ display:flex; gap: 10px; flex-wrap: wrap; }
.chip{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(2,8,23,.03);
  color: var(--muted);
}

.section{ padding: 60px 0; }
.section--alt{
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(29, 78, 216, .07), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg2));
  border-top: 1px solid rgba(2,8,23,.05);
  border-bottom: 1px solid rgba(2,8,23,.05);
}
.section__head{ max-width: 70ch; margin-bottom: 18px; }
.section__head h2{
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -.5px;
}
.section__head p{ margin: 0; color: var(--muted); line-height: 1.6; }

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.grid3{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  background: rgba(255,255,255,.80);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 16px;
  box-shadow: var(--shadow2);
}
.card__title{
  font-weight: 800;
  letter-spacing: -.2px;
  margin-bottom: 4px;
}
.card__sub{ color: var(--muted); font-size: 14px; margin-bottom: 10px; }

.list{ display:flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.list__item{
  border: 1px solid var(--border);
  background: rgba(2,8,23,.02);
  border-radius: 14px;
  padding: 12px 12px;
}
.list__label{ font-weight: 800; margin-bottom: 4px; }
.list__text{ color: var(--muted); font-size: 14px; line-height: 1.5; }

.table{
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow:hidden;
  background: white;
}
.table__row{
  display:grid;
  grid-template-columns: 2fr .9fr .8fr .9fr .8fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(2,8,23,.06);
  font-size: 13px;
  align-items:center;
}
.table__row:last-child{ border-bottom: none; }
.table__row--head{
  background: rgba(2,8,23,.03);
  font-weight: 800;
  color: rgba(15,23,42,.85);
}
.badge{
  display:inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(2,8,23,.10);
}
.badge--green{ background: rgba(22,163,74,.10); color: rgba(22,163,74,1); }
.badge--amber{ background: rgba(245,158,11,.12); color: rgba(180,83,9,1); }
.badge--red{ background: rgba(239,68,68,.10); color: rgba(185,28,28,1); }

.cta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.cta__copy h2{ margin: 0 0 8px; font-size: 32px; letter-spacing: -.5px; }
.cta__copy p{ margin: 0 0 12px; color: var(--muted); line-height: 1.6; }
.cta__note{
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(29,78,216,.06);
  color: rgba(15,23,42,.85);
  font-size: 14px;
  line-height: 1.45;
}

.form{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 16px;
  box-shadow: var(--shadow2);
}
.form label{
  display:block;
  font-size: 13px;
  color: rgba(15,23,42,.85);
  margin-bottom: 10px;
}
input, textarea{
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(2,8,23,.14);
  outline: none;
  font-size: 14px;
  background: white;
}
input:focus, textarea:focus{
  border-color: rgba(29,78,216,.45);
  box-shadow: 0 0 0 4px rgba(29,78,216,.12);
}
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form__actions{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.form__hint{ color: var(--muted); font-size: 13px; }

.footer{
  border-top: 1px solid rgba(2,8,23,.08);
  background: rgba(255,255,255,.70);
}
.footer__inner{
  padding: 26px 0;
  display:grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 14px;
  align-items:start;
}
.footer__brand{ display:flex; flex-direction: column; gap: 8px; }
.footer__logo{ height: 30px; width: auto; max-width: 160px; display:block; }




.footer__tag{ color: var(--muted); font-size: 13px; }
.footer__cols{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.footer__head{ font-weight: 800; margin-bottom: 8px; }
.footer__item{ color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.footer__link{
  display:block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}
.footer__link:hover{ color: var(--text); }
.footer__bottom{
  border-top: 1px solid rgba(2,8,23,.06);
  padding: 12px 0;
  color: var(--muted);
  font-size: 13px;
}
.footer__bottomInner{ display:flex; gap: 10px; align-items:center; }
.dot{ opacity: .55; }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .cta{ grid-template-columns: 1fr; }
  .hero__title{ font-size: 42px; }
  .hero__stats{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .nav{ display:none; }
  .kpi-row{ grid-template-columns: 1fr 1fr; }
  .mini-grid{ grid-template-columns: 1fr; }
  .form__row{ grid-template-columns: 1fr; }
  .footer__inner{ grid-template-columns: 1fr; }
  .footer__cols{ grid-template-columns: 1fr; }
}


/* Teacher attendance heat grid */
.heat{ margin-top: 10px; }
.heat__legend{ display:flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.heat__key{ display:inline-flex; align-items:center; gap: 8px; }
.heat__grid{
  border: 1px solid rgba(2,8,23,.10);
  border-radius: 14px;
  overflow:hidden;
  background: white;
}
.heat__head, .heat__row{
  display:grid;
  grid-template-columns: 1.6fr .6fr repeat(5, .55fr);
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
}
.heat__head{
  background: rgba(2,8,23,.03);
  font-weight: 800;
  color: rgba(15,23,42,.85);
  font-size: 13px;
  border-bottom: 1px solid rgba(2,8,23,.06);
}
.heat__row{
  font-size: 13px;
  border-bottom: 1px solid rgba(2,8,23,.06);
}
.heat__row:last-child{ border-bottom: none; }
.sq{
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(2,8,23,.10);
  justify-self: start;
}
.sq--ok{ background: rgba(22,163,74,.35); }
.sq--miss{ background: rgba(239,68,68,.28); }
.sq--partial{ background: rgba(245,158,11,.28); }
.heat__note{ margin-top: 10px; color: var(--muted); font-size: 13px; }


/* Clean bullet lists used in Insights cards */
.bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}
.bullets li{
  margin: 10px 0;
}
.bullets strong{
  color: rgba(15,23,42,.90);
}

/* Slightly larger gap for the 3-up insights row */
.insights3{ gap: 14px; }


/* Compact 3×3 feature grid (Insights) */
.h3{
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -.2px;
}
.grid3--tight{ gap: 12px; }
.miniCard{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: var(--shadow2);
}
.miniCard__title{
  font-weight: 850;
  letter-spacing: -.2px;
  margin-bottom: 6px;
}
.miniCard__text{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Ensure the 3×3 grid collapses cleanly on smaller screens */
@media (max-width: 980px){
  .grid3--tight{ grid-template-columns: 1fr; }
}

/* Subtle logo contrast on light backgrounds */
.brand__logo, .footer__logo{ height: 30px; width: auto; max-width: 160px; display:block; }




.footer__brand{
  align-items: flex-start;
}

.brand__logo, .footer__logo{ height: 30px; width: auto; max-width: 160px; display:block; }



/* Hero donut legend spacing */
#chart_hero_donut .apexcharts-legend-text{ font-size: 11px !important; }
#chart_hero_donut .apexcharts-legend{ row-gap: 4px; }


/* -------------------------
   Theme toggle + Dark theme
   ------------------------- */

.themeToggle{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(2,8,23,.12);
  background: rgba(255,255,255,.55);
  color: var(--text);
  cursor: pointer;
}
.themeToggle:hover{ background: rgba(2,8,23,.03); }
.themeToggle__track{
  width: 44px;
  height: 22px;
  border-radius: 999px;
  background: rgba(2,8,23,.12);
  position: relative;
  display:inline-block;
}
.themeToggle__thumb{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: white;
  position:absolute;
  top: 2px;
  left: 2px;
  transition: transform .22s ease;
  box-shadow: 0 6px 14px rgba(2,8,23,.25);
}
.themeToggle__label{
  font-size: 12px;
  color: var(--muted);
  min-width: 38px;
  text-align: left;
}

/* Dark theme */
html[data-theme="dark"]{ color-scheme: dark; }

html[data-theme="dark"] body{
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(59,130,246,.20), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(14,165,233,.14), transparent 55%),
    linear-gradient(#0b1220, #0b1220);
}

html[data-theme="dark"] .topbar{
  background: rgba(11,18,32,.68);
  border-bottom: 1px solid rgba(148,163,184,.14);
}
html[data-theme="dark"] .nav__link{ color: rgba(226,232,240,.75); }
html[data-theme="dark"] .nav__link:hover{ background: rgba(148,163,184,.10); color: rgba(255,255,255,.92); }

html[data-theme="dark"] .btn--ghost{
  border-color: rgba(148,163,184,.22);
  color: rgba(255,255,255,.90);
}
html[data-theme="dark"] .btn--ghost:hover{ background: rgba(148,163,184,.10); }
html[data-theme="dark"] .btn--soft{
  background: rgba(148,163,184,.10);
  border-color: rgba(148,163,184,.16);
  color: rgba(255,255,255,.90);
}
html[data-theme="dark"] .btn--soft:hover{ background: rgba(148,163,184,.14); }

html[data-theme="dark"] .eyebrow{
  background: rgba(15,23,42,.35);
  border-color: rgba(148,163,184,.18);
  color: rgba(226,232,240,.80);
}
html[data-theme="dark"] .hero__lead{ color: rgba(226,232,240,.75); }

html[data-theme="dark"] .stat,
html[data-theme="dark"] .mock,
html[data-theme="dark"] .card,
html[data-theme="dark"] .mini,
html[data-theme="dark"] .cta__note,
html[data-theme="dark"] .form,
html[data-theme="dark"] .miniCard{
  background: rgba(15,23,42,.55) !important;
  border-color: rgba(148,163,184,.16) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.28) !important;
}

html[data-theme="dark"] .mock__bar{
  background: rgba(2,6,23,.55);
  border-bottom-color: rgba(148,163,184,.14);
}
html[data-theme="dark"] .mock__dots span{ background: rgba(226,232,240,.22); }

html[data-theme="dark"] .mock__title,
html[data-theme="dark"] .mock__foot,
html[data-theme="dark"] .card__sub,
html[data-theme="dark"] .strip__copy,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .list__text,
html[data-theme="dark"] .form__hint,
html[data-theme="dark"] .footer__tag,
html[data-theme="dark"] .footer__item,
html[data-theme="dark"] .footer__link,
html[data-theme="dark"] .themeToggle__label{
  color: rgba(226,232,240,.70) !important;
}

html[data-theme="dark"] .section--alt{
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(59,130,246,.16), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,.50), rgba(2,6,23,.50));
  border-top: 1px solid rgba(148,163,184,.14);
  border-bottom: 1px solid rgba(148,163,184,.14);
}

html[data-theme="dark"] .strip{
  background: rgba(2,6,23,.35);
  border-top-color: rgba(148,163,184,.14);
  border-bottom-color: rgba(148,163,184,.14);
}
html[data-theme="dark"] .chip{
  background: rgba(148,163,184,.08);
  border-color: rgba(148,163,184,.16);
}

html[data-theme="dark"] .table,
html[data-theme="dark"] .heat__grid{
  background: rgba(2,6,23,.45);
  border-color: rgba(148,163,184,.16);
}
html[data-theme="dark"] .table__row{ border-bottom-color: rgba(148,163,184,.12); }
html[data-theme="dark"] .table__row--head{ background: rgba(148,163,184,.08); }

html[data-theme="dark"] input,
html[data-theme="dark"] textarea{
  background: rgba(2,6,23,.45);
  color: rgba(255,255,255,.92);
  border-color: rgba(148,163,184,.20);
}
html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus{
  box-shadow: 0 0 0 4px rgba(59,130,246,.18);
  border-color: rgba(59,130,246,.45);
}

html[data-theme="dark"] .footer{
  background: rgba(2,6,23,.40);
  border-top-color: rgba(148,163,184,.14);
}
html[data-theme="dark"] .footer__bottom{
  border-top-color: rgba(148,163,184,.12);
}

html[data-theme="dark"] .themeToggle{
  background: rgba(2,6,23,.45);
  border-color: rgba(148,163,184,.18);
}
html[data-theme="dark"] .themeToggle:hover{ background: rgba(148,163,184,.10); }
html[data-theme="dark"] .themeToggle__track{ background: rgba(148,163,184,.22); }
html[data-theme="dark"] .themeToggle__thumb{ background: rgba(226,232,240,.95); transform: translateX(22px); }


/* Dark theme contrast boosts */
html[data-theme="dark"]{
  --text-dark: rgba(255,255,255,.92);
  --muted-dark: rgba(226,232,240,.78);
  --muted2-dark: rgba(226,232,240,.66);
}

html[data-theme="dark"] body{ color: var(--text-dark); }

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .hero__title,
html[data-theme="dark"] .section__head h2,
html[data-theme="dark"] .card__title,
html[data-theme="dark"] .list__label,
html[data-theme="dark"] .footer__head{
  color: var(--text-dark) !important;
}

html[data-theme="dark"] p,
html[data-theme="dark"] .hero__lead,
html[data-theme="dark"] .section__head p,
html[data-theme="dark"] .stat__sub,
html[data-theme="dark"] .stat__kpi,
html[data-theme="dark"] .mock__title,
html[data-theme="dark"] .mock__foot,
html[data-theme="dark"] .card__sub,
html[data-theme="dark"] .strip__copy,
html[data-theme="dark"] .list__text,
html[data-theme="dark"] .table__row,
html[data-theme="dark"] .heat__note,
html[data-theme="dark"] .heat__legend,
html[data-theme="dark"] .heat__key,
html[data-theme="dark"] .miniCard__text,
html[data-theme="dark"] .footer__item,
html[data-theme="dark"] .footer__link,
html[data-theme="dark"] .themeToggle__label{
  color: var(--muted-dark) !important;
}

html[data-theme="dark"] .table__row--head{
  color: rgba(255,255,255,.90) !important;
}

html[data-theme="dark"] .chip{
  color: rgba(226,232,240,.82) !important;
}

html[data-theme="dark"] .badge{
  border-color: rgba(226,232,240,.20);
}

/* ApexCharts: strip legend marker borders globally */
.apexcharts-legend-marker{
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.apexcharts-legend-marker svg,
.apexcharts-legend-marker rect,
.apexcharts-legend-marker path{
  stroke: none !important;
}
.apexcharts-pie-series path{
  stroke-width: 0 !important;
}

html[data-theme="dark"] .cta__note{
  background: rgba(15,23,42,.55) !important;
  border-color: rgba(148,163,184,.16) !important;
  color: rgba(226,232,240,.82) !important;
}
html[data-theme="dark"] .cta__note *{
  color: rgba(226,232,240,.82) !important;
}


/* Dark theme fixes for mock KPIs and small UI parts */
html[data-theme="dark"] .kpi-card,
html[data-theme="dark"] .pill{
  background: rgba(2,6,23,.55) !important;
  border-color: rgba(148,163,184,.16) !important;
  color: rgba(255,255,255,.92) !important;
}
html[data-theme="dark"] .kpi-card__label,
html[data-theme="dark"] .kpi-card__note{
  color: rgba(226,232,240,.70) !important;
}
html[data-theme="dark"] .kpi-card__value{
  color: rgba(255,255,255,.92) !important;
}

/* Teacher grid header contrast */
html[data-theme="dark"] .heat__head{
  background: rgba(148,163,184,.10) !important;
  color: rgba(255,255,255,.92) !important;
}
html[data-theme="dark"] .heat__row{
  color: rgba(226,232,240,.80) !important;
}


/* Honeypot (spam trap) — hidden from humans */
.hp{
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
