/* Doubles, Halves, Multiplication & Division — Montessori Visual Styles */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon {
  font-size: 36px;
  line-height: 1;
}
.brand-title {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  color: #4f46e5;
}
.brand-sub {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.star-pill {
  background: #fef3c7;
  border: 2px solid #f59e0b;
  color: #92400e;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 15px;
}

/* Montessori Short Bead Stair Banner */
.bead-stair-banner {
  margin-bottom: 14px;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  border: 2px solid #c7d2fe;
}
.bead-stair-title {
  font-size: 14px;
  color: #3730a3;
  margin-bottom: 8px;
}
.bead-stair-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.bead-stair-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 2px solid #e0e7ff;
  border-radius: 12px;
  padding: 5px 9px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  color: #1e1b4b;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.bead-stair-chip:hover {
  transform: translateY(-2px);
  border-color: #6366f1;
}
.stair-num {
  font-size: 14px;
  min-width: 16px;
}
.bead-bar-svg {
  vertical-align: middle;
  overflow: visible;
}

/* Quick Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.tool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 18px;
  border: 3px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.12);
}
.tool-card.copy-tool {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: #fcd34d;
}
.tool-card.mat-tool {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  border-color: #a5b4fc;
}
.tool-card.sense-tool {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-color: #6ee7b7;
}
.tool-icon {
  font-size: 32px;
}
.tool-title {
  font-weight: 900;
  font-size: 16px;
  color: #1e293b;
}
.tool-desc {
  font-size: 13px;
  color: #475569;
  margin-top: 2px;
}

/* World & Stage Grid */
.world-section {
  margin-bottom: 22px;
}
.world-header {
  padding: 12px 16px;
  border-radius: 16px;
  background: hsl(var(--world-hue, 250) 85% 96%);
  border: 2px solid hsl(var(--world-hue, 250) 70% 84%);
  margin-bottom: 12px;
}
.world-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}
.world-sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 12px;
}
.stage-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}
.stage-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stage-emoji {
  font-size: 30px;
}
.stage-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.stage-blurb {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.35;
}
.stage-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* Prompt & Feedback Banners */
.prompt-banner {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border: 2px solid #a5b4fc;
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 12px;
  text-align: center;
}
.prompt-mode {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4338ca;
  margin-bottom: 4px;
}
.prompt-instruction {
  font-size: 21px;
  font-weight: 900;
  color: #1e1b4b;
}

.feedback-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
}
.feedback-banner.hidden {
  display: none;
}
.feedback-banner.good {
  background: #dcfce7;
  border: 2px solid #22c55e;
  color: #14532d;
}
.feedback-banner.warn {
  background: #fef3c7;
  border: 2px solid #f59e0b;
  color: #78350f;
}
.feedback-banner.info {
  background: #e0f2fe;
  border: 2px solid #38bdf8;
  color: #0c4a6e;
}

/* Onboarding Card */
.onboarding-card {
  background: #ffffff;
  border: 3px solid #a5b4fc;
  border-radius: 22px;
  padding: 20px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.1);
}
.onboarding-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.onboarding-badge {
  background: #e0e7ff;
  color: #3730a3;
  font-weight: 900;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
}
.onboarding-rule {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #1e293b;
  margin: 0 0 14px;
}
.onboarding-example {
  background: #f8fafc;
  border: 2px dashed #94a3b8;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
}
.onboarding-ex-label {
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.onboarding-ex-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.onb-mirror-demo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.onb-side {
  background: #fff;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}
.onb-mirror-line {
  font-weight: 900;
  color: #6366f1;
  padding: 6px 10px;
  background: #eef2ff;
  border-radius: 999px;
}
.onb-eq-pill {
  font-size: 22px;
  font-weight: 900;
  color: #312e81;
  background: #eef2ff;
  padding: 8px 18px;
  border-radius: 12px;
}
.onb-array-demo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.onb-stones-demo {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.onb-stone {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e0e7ff;
  border: 2px solid #6366f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
}
.onb-stone.active {
  background: #fde68a;
  border-color: #f59e0b;
}
.onboarding-ex-explain {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #334155;
}
.onboarding-actions {
  display: flex;
  justify-content: center;
}

/* Exercise Board Layout */
.doubles-board-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.visual-stage-card {
  background: #ffffff;
  border: 3px solid #e2e8f0;
  border-radius: 22px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

/* Equation Banner & Empty Orange Answer Box */
.equation-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #fffbeb;
  border: 3px solid #fde68a;
  border-radius: 20px;
  padding: 14px 20px;
  font-size: 32px;
  font-weight: 900;
  color: #1e293b;
}
.eq-token {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  padding: 4px 16px;
  min-width: 54px;
  text-align: center;
}
.eq-op {
  color: #4f46e5;
  font-weight: 900;
}
.eq-word {
  font-size: 24px;
  font-weight: 900;
  color: #334155;
}

.empty-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 56px;
  padding: 0 14px;
  border-radius: 16px;
  background: #fff7ed;
  border: 3px dashed #f97316;
  color: #ea580c;
  font-size: 30px;
  font-weight: 900;
  transition: all 0.22s ease;
}
.empty-box.inline-slot {
  min-width: 48px;
  height: 38px;
  font-size: 20px;
  vertical-align: middle;
}
.empty-box.filled {
  background: #dcfce7;
  border: 3px solid #16a34a;
  color: #14532d;
  transform: scale(1.06);
}
@keyframes popInBox {
  0% {
    transform: scale(0.75);
  }
  65% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}
.pop-in {
  animation: popInBox 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Mirror Board */
.mirror-board {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.mirror-wing {
  flex: 1 1 200px;
  max-width: 280px;
  background: #f8fafc;
  border: 3px solid #cbd5e1;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.mirror-wing.Ghost {
  opacity: 0.45;
  border-style: dashed;
}
.mirror-wing.shimmer-in {
  opacity: 1;
  border-color: #6366f1;
  background: #eef2ff;
}
.wing-label {
  font-size: 14px;
  font-weight: 800;
  color: #475569;
}
.wing-num {
  font-size: 26px;
  font-weight: 900;
  color: #1e1b4b;
}
.mirror-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: linear-gradient(180deg, #e0e7ff, #c7d2fe);
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: #3730a3;
  gap: 4px;
}
.mirror-icon {
  font-size: 24px;
}

/* Fair-Share Halves & Baskets */
.pile-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #1e293b;
}
.pile-beads {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.baskets-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.fair-basket {
  flex: 1 1 190px;
  max-width: 260px;
  background: #fffbeb;
  border: 3px solid #f59e0b;
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.basket-header {
  font-weight: 900;
  color: #92400e;
}

/* Near Doubles & Big Doubles */
.nd-columns,
.bd-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.nd-col,
.bd-box {
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.nd-label,
.bd-head {
  font-weight: 800;
  font-size: 14px;
  color: #334155;
}
.nd-plus,
.bd-plus {
  font-size: 28px;
  font-weight: 900;
  color: #4f46e5;
}
.nd-bars-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.bonus-pill {
  background: #fef3c7;
  border: 2px solid #f59e0b;
  color: #92400e;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}
.nd-helper-callout {
  background: #eef2ff;
  border: 2px solid #a5b4fc;
  color: #1e1b4b;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 16px;
  display: inline-block;
}
.place-block-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.ten-bar-wrap,
.unit-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px 8px;
}
.bar-tag {
  font-size: 12px;
  font-weight: 800;
  color: #475569;
}

/* Missing Double Twins */
.twin-total-badge {
  font-size: 18px;
  margin-bottom: 10px;
}
.mystery-twin-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.mystery-twin-card {
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.twin-title {
  font-weight: 800;
  color: #475569;
}

/* Equal Groups & Boxes */
.equal-groups-grid,
.plates-grid,
.boxes-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}
.group-nest-card,
.share-plate,
.pack-box {
  background: #f8fafc;
  border: 3px solid #cbd5e1;
  border-radius: 16px;
  padding: 10px 14px;
  min-width: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.group-nest-card.counted,
.share-plate.dealt,
.pack-box.packed {
  background: #ecfdf5;
  border-color: #10b981;
  transform: translateY(-2px);
}
.nest-header,
.plate-title,
.pack-box-head {
  font-weight: 900;
  font-size: 14px;
  color: #1e293b;
}
.nest-count,
.plate-count,
.pack-box-sub {
  font-size: 13px;
  font-weight: 800;
  color: #047857;
}
.board-sub-caption {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  margin-top: 6px;
}

/* Stepping Stones */
.stepping-stones-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.stepping-stone {
  width: 78px;
  height: 74px;
  border-radius: 18px;
  background: #eef2ff;
  border: 3px solid #6366f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
}
.stone-step {
  font-size: 11px;
  font-weight: 800;
  color: #4338ca;
}
.stone-num {
  font-size: 24px;
  font-weight: 900;
  color: #1e1b4b;
}

/* Array Rows */
.array-rows-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.array-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.14s ease;
}
.array-row-btn.row-lit {
  background: #eef2ff;
  border-color: #6366f1;
}
.row-tag {
  font-weight: 800;
  font-size: 13px;
  color: #475569;
  min-width: 52px;
}
.row-sum {
  background: #e0e7ff;
  color: #3730a3;
  font-weight: 900;
  font-size: 15px;
  padding: 3px 9px;
  border-radius: 999px;
  min-width: 36px;
}

/* Doubling Tree */
.double-tree-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.dtree-row-three {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dtree-step {
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.dtree-step.highlight {
  background: #fffbeb;
  border-color: #f59e0b;
}
.dtree-label {
  font-size: 13px;
  font-weight: 800;
  color: #475569;
}
.dtree-val {
  font-size: 26px;
  font-weight: 900;
  color: #1e1b4b;
}
.dtree-arrow,
.dtree-arrow-right {
  font-weight: 900;
  color: #4f46e5;
  font-size: 14px;
}

/* Golden Ten-Bars */
.tf-heading {
  font-size: 17px;
  margin-bottom: 10px;
}
.ten-bars-collection {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
.gold-ten-col {
  background: #fffbeb;
  border: 2px solid #f59e0b;
  border-radius: 12px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.gold-ten-lbl {
  font-weight: 900;
  font-size: 13px;
  color: #92400e;
}

/* Fact Family Triangle */
.fact-family-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fact-triangle-card {
  background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
  border: 3px solid #6366f1;
  border-radius: 22px;
  padding: 16px 26px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.tri-tag {
  font-size: 12px;
  font-weight: 800;
  color: #4338ca;
  text-transform: uppercase;
}
.tri-node {
  width: 60px;
  height: 54px;
  border-radius: 14px;
  background: #ffffff;
  border: 3px solid #4f46e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  color: #1e1b4b;
}
.tri-ops-mid {
  font-size: 20px;
  font-weight: 900;
  color: #4338ca;
  display: flex;
  gap: 28px;
}
.tri-base {
  display: flex;
  gap: 44px;
  align-items: center;
}
.fact-partner-pill {
  background: #fffbeb;
  border: 2px solid #f59e0b;
  border-radius: 14px;
  padding: 8px 16px;
  font-size: 18px;
}

/* Missing Factor */
.mf-bars-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.mf-bar-chip {
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 800;
  font-size: 13px;
}

/* Tactile Answer Choice Tiles */
.choices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.choice-tile-btn {
  background: #ffffff;
  border: 4px solid #cbd5e1;
  border-bottom-width: 7px;
  border-radius: 20px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.choice-tile-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  border-color: #6366f1;
}
.choice-num {
  font-size: 32px;
  font-weight: 900;
  color: #1e293b;
}
.choice-tile-btn.correct {
  background: #dcfce7;
  border-color: #16a34a;
  color: #14532d;
}
.choice-tile-btn.wrong {
  background: #fee2e2;
  border-color: #ef4444;
  opacity: 0.65;
}

/* Parent Show & Copy Board */
.copy-input-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.copy-math-input {
  flex: 1 1 220px;
  font-size: 22px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 14px;
  border: 3px solid #cbd5e1;
  font-family: inherit;
}
.copy-presets-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.copy-display-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.copy-hero-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 3px solid #f59e0b;
  text-align: center;
}
.copy-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.copy-tag {
  font-weight: 900;
  font-size: 14px;
  color: #3730a3;
}
.copy-giant-eq {
  font-size: 46px;
  font-weight: 900;
  color: #1e1b4b;
  letter-spacing: 0.02em;
  margin: 6px 0;
}
.copy-written-line {
  font-size: 20px;
  color: #78350f;
}
.copy-facts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.copy-fact-row {
  display: flex;
  justify-content: space-between;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 16px;
}
.fact-val {
  color: #4f46e5;
  font-size: 18px;
}
.copy-array-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.copy-array-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 14px;
}
.copy-triangle-mini {
  background: #eef2ff;
  border: 2px solid #818cf8;
  border-radius: 16px;
  padding: 10px;
  text-align: center;
  font-weight: 900;
  margin-bottom: 10px;
}
.ct-top {
  font-size: 24px;
  color: #312e81;
}
.ct-mid {
  font-size: 14px;
  color: #4f46e5;
}
.ct-bot {
  display: flex;
  justify-content: space-around;
  font-size: 20px;
}
.copy-ff-eqs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.copy-ff-pill {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 6px 8px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
}

/* Mat Controls */
.mat-slider-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mat-num-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mat-num-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 2px solid #cbd5e1;
  background: #fff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
}
.mat-num-btn.active {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
}
.mat-eq-header {
  font-size: 26px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 14px;
  color: #1e1b4b;
}
.mat-eq-header span {
  color: #4f46e5;
  background: #eef2ff;
  padding: 2px 10px;
  border-radius: 10px;
}

/* Number Sense Quiz */
.sense-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sense-option-btn {
  background: #fff;
  border: 3px solid #cbd5e1;
  border-bottom-width: 6px;
  border-radius: 18px;
  padding: 16px 20px;
  font-size: 20px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.sense-option-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #6366f1;
}
.sense-option-btn.correct {
  background: #dcfce7;
  border-color: #16a34a;
  color: #14532d;
}
.sense-option-btn.wrong {
  background: #fee2e2;
  border-color: #ef4444;
  opacity: 0.7;
}
