/**
 * Site 008 — Math Worksheet Interaction Layer
 * ============================================
 * Print-first vertical-stacked arithmetic worksheet.
 * ws-* (worksheet) prefix throughout.
 * Colors follow the indigo + fresh green token system.
 */

/* ── Header ──────────────────────────────────────── */
.ws-header { margin-bottom: 1rem; }

.ws-header h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: var(--site-primary-dark, #312e81);
  letter-spacing: -0.025em;
}

.ws-info { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.ws-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill, 9999px);
  background: var(--site-primary-light, #eef2ff);
  color: var(--site-primary, #4f46e5);
  border: 1px solid var(--site-primary-border, #c7d2fe);
  letter-spacing: 0.04em;
}

.ws-badge--dim { opacity: 0.7; }
.ws-intro { margin-bottom: 1rem; font-size: 0.95rem; color: var(--site-text-light, #4b5563); }

/* ── Toolbar ─────────────────────────────────────── */
.ws-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.6rem 0.875rem;
  background: var(--site-primary-light, #eef2ff);
  border: 1px solid var(--site-primary-border, #c7d2fe);
  border-radius: var(--radius-md, 10px);
}

.ws-toolbar-left,
.ws-toolbar-right { display: flex; align-items: center; gap: 0.4rem; }

.ws-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.875rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 700;
  border: 1.5px solid var(--site-primary-border, #c7d2fe);
  border-radius: var(--radius-sm, 6px);
  background: #ffffff;
  color: var(--site-text, #111827);
  cursor: pointer;
  text-decoration: none;
  min-height: 36px;
  transition: background var(--dur-fast, 150ms) var(--ease-default),
              border-color var(--dur-fast, 150ms) var(--ease-default),
              box-shadow var(--dur-fast, 150ms) var(--ease-default);
}

.ws-btn:hover {
  background: var(--site-primary-light, #eef2ff);
  border-color: var(--site-primary, #4f46e5);
  box-shadow: var(--shadow-sm);
}

.ws-btn--primary {
  background: linear-gradient(135deg, var(--site-primary, #4f46e5) 0%, var(--site-primary-hover, #4338ca) 100%);
  color: #ffffff;
  border-color: var(--site-primary-hover, #4338ca);
}

.ws-btn--primary:hover { opacity: 0.92; box-shadow: var(--shadow-brand); }
.ws-btn--outline { background: transparent; }

.ws-btn--sm {
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
  min-height: 32px;
}

.ws-set-select {
  padding: 0.35rem 0.5rem;
  font-size: var(--text-sm, 0.875rem);
  border: 1.5px solid var(--site-primary-border, #c7d2fe);
  border-radius: var(--radius-sm, 6px);
  background: #ffffff;
  color: var(--site-text, #111827);
  cursor: pointer;
}

/* ── Progress Bar ────────────────────────────────── */
.ws-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0.875rem;
  background: var(--site-primary-light, #eef2ff);
  border: 1px solid var(--site-primary-border, #c7d2fe);
  border-radius: var(--radius-md, 10px);
}

.ws-progress-track {
  flex: 1;
  height: 10px;
  background: #e0e7ff;
  border-radius: var(--radius-pill, 9999px);
  overflow: hidden;
}

.ws-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--site-accent, #22c55e), var(--site-primary, #4f46e5));
  border-radius: var(--radius-pill, 9999px);
  transition: width 0.4s var(--ease-out);
}

.ws-progress-text {
  font-family: var(--font-heading);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 700;
  color: var(--site-text, #111827);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ── Worksheet Grid (vertical stacked) ──────────── */
.ws-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1rem;
  padding: 1rem 0;
}

@media (max-width: 900px) { .ws-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ws-grid { grid-template-columns: repeat(2, 1fr); } }

.ws-problem {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.6rem;
  border-radius: var(--radius-md, 10px);
  background: #ffffff;
  border: 1.5px solid var(--site-primary-border, #c7d2fe);
  transition: border-color var(--dur-fast, 150ms) var(--ease-default),
              box-shadow var(--dur-fast, 150ms) var(--ease-default);
}

.ws-problem:hover {
  border-color: var(--site-primary, #4f46e5);
  box-shadow: var(--shadow-sm);
}

/* Problem number */
.ws-problem-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  font-family: var(--font-heading);
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-primary, #4f46e5), var(--site-primary-hover, #4338ca));
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Vertical-stacked arithmetic block */
.ws-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-mono, 'Courier New', monospace);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--site-text, #111827);
  min-width: 3.5rem;
}

.ws-operand { text-align: right; padding-right: 0.15rem; }

.ws-operator-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  justify-content: flex-start;
}

.ws-op {
  font-weight: 700;
  color: var(--site-primary, #4f46e5);
  font-size: 1.1rem;
  min-width: 1rem;
  text-align: center;
}

.ws-answer-line {
  width: 100%;
  border-top: 2px solid var(--site-text, #111827);
  margin-top: 0.15rem;
  padding-top: 0.2rem;
  min-height: 1.6rem;
}

/* Input for screen interaction */
.ws-input {
  width: 100%;
  border: none;
  border-bottom: 1.5px dashed var(--site-primary-border, #c7d2fe);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: right;
  padding: 0 0.15rem;
  color: var(--site-text, #111827);
  outline: none;
  transition: border-color var(--dur-fast, 150ms) var(--ease-default),
              background var(--dur-fast, 150ms) var(--ease-default);
}

.ws-input:focus {
  border-bottom-color: var(--site-primary, #4f46e5);
  background: rgba(79, 70, 229, 0.04);
}

/* Print blank line */
.ws-answer-blank { display: block; height: 1.4rem; }

/* Result icon (✓ / ✗) */
.ws-result-icon {
  position: absolute;
  top: 0.3rem;
  right: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ── Correct / Wrong states ──────────────────────── */
.ws-problem.is-correct {
  border-color: var(--site-accent, #22c55e);
  background: var(--color-success-bg, #f0fdf4);
}

.ws-problem.is-correct .ws-result-icon { color: var(--color-success-text, #166534); }

.ws-problem.is-correct .ws-input {
  border-bottom-color: var(--site-accent, #22c55e);
  color: var(--color-success-text, #166534);
}

.ws-problem.is-wrong {
  border-color: var(--color-error, #ef4444);
  background: var(--color-error-bg, #fef2f2);
}

.ws-problem.is-wrong .ws-result-icon { color: var(--color-error-text, #991b1b); }

.ws-problem.is-wrong .ws-input {
  border-bottom-color: var(--color-error, #ef4444);
  color: var(--color-error-text, #991b1b);
}

.ws-problem.is-blank {
  border-color: var(--color-warning, #f59e0b);
  background: var(--color-warning-bg, #fffbeb);
}

/* ── Answer Key ──────────────────────────────────── */
.ws-answer-key {
  display: none;
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--site-primary-light, #eef2ff);
  border: 1.5px solid var(--site-primary-border, #c7d2fe);
  border-radius: var(--radius-card, 14px);
}

.ws-answer-key.ws-ak--visible { display: block; }

.ws-ak-header h2 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--site-primary-dark, #312e81);
  margin: 0 0 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--site-primary-border, #c7d2fe);
}

.ws-ak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.35rem 1rem;
}

.ws-ak-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.ws-ak-num { color: var(--site-text-muted, #6b7280); font-weight: 600; min-width: 2rem; }
.ws-ak-expr { color: var(--site-text, #111827); }
.ws-ak-val  { font-weight: 700; color: var(--site-accent-hover, #16a34a); }

/* ── Collapsible (SEO body content) ─────────────── */
.ws-collapsible {
  border: 1.5px solid var(--site-primary-border, #c7d2fe);
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  margin-top: 1.5rem;
}

.ws-collapsible > summary {
  padding: 0.7rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--site-primary-light, #eef2ff);
  color: var(--site-primary-dark, #312e81);
}

.ws-collapsible-panel { padding: 1rem 1.125rem; }

/* ── Bottom Nav ──────────────────────────────────── */
.ws-nav {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--site-primary-border, #c7d2fe);
}

/* ── Empty State ─────────────────────────────────── */
.ws-empty {
  text-align: center;
  color: var(--site-text-muted, #6b7280);
  padding: 3rem 1rem;
  font-size: 1rem;
}

/* ════════════════════════════════════════════════
   PRINT STYLES
   ════════════════════════════════════════════════ */
.ws-print-header { display: none; }

@media print {
  .no-print { display: none !important; }
  .print-only { display: block !important; }

  .ws-print-header {
    display: flex !important;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2pt solid #000;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
  }

  .ws-print-title  { font-size: 1.1rem; font-weight: 700; }
  .ws-print-fields { display: flex; gap: 1.5rem; font-size: 0.85rem; }

  .ws-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem 0.75rem;
  }

  .ws-problem {
    border: none;
    border-bottom: 1pt solid #ccc;
    border-radius: 0;
    padding: 0.3rem 0.25rem;
    background: none !important;
    box-shadow: none !important;
  }

  .ws-answer-line    { border-top: 2pt solid #000; }
  .ws-input          { display: none !important; }
  .ws-answer-blank   { display: block !important; height: 1.5rem; }
  .ws-result-icon    { display: none !important; }
  .ws-problem-num    { background: none !important; color: #333 !important; border: 1pt solid #999; }

  /* Answer key on new page */
  .ws-answer-key {
    display: block !important;
    page-break-before: always;
    border: none !important;
    background: none !important;
    padding: 0;
    box-shadow: none !important;
  }

  .ws-ak-header h2 { font-size: 1rem; border-bottom: 1pt solid #000; }
  .ws-ak-grid      { grid-template-columns: repeat(5, 1fr); gap: 0.2rem 0.5rem; }
  .ws-ak-item      { font-size: 0.8rem; }
}

/* ════════════════════════════════════════════════
   PHASE 1 — INTERACTION ENHANCEMENTS
   ════════════════════════════════════════════════ */

/* ── Fraction Input Component ─────────────────── */
.ws-fraction-input {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 2.5rem;
}

.ws-fraction-input__num,
.ws-fraction-input__den {
  width: 100%;
  min-width: 2rem;
  border: none;
  border-bottom: 1.5px dashed var(--site-primary-border, #c7d2fe);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  padding: 0.15rem 0.25rem;
  color: var(--site-text, #111827);
  outline: none;
  min-height: 44px;
  transition: border-color var(--dur-fast, 150ms) var(--ease-default),
              background var(--dur-fast, 150ms) var(--ease-default);
}

.ws-fraction-input__num:focus,
.ws-fraction-input__den:focus {
  border-bottom-color: var(--site-primary, #4f46e5);
  background: rgba(79, 70, 229, 0.04);
}

.ws-fraction-input__bar {
  width: 100%;
  height: 2px;
  background: var(--site-text, #111827);
}

/* ── Coordinate Input Component ──────────────── */
.ws-coord-input {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.ws-coord-input__paren { color: var(--site-text-muted, #6b7280); }

.ws-coord-input__field {
  width: 2.5rem;
  border: none;
  border-bottom: 1.5px dashed var(--site-primary-border, #c7d2fe);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  padding: 0.15rem;
  color: var(--site-text, #111827);
  outline: none;
  min-height: 44px;
  transition: border-color var(--dur-fast, 150ms) var(--ease-default);
}

.ws-coord-input__field:focus {
  border-bottom-color: var(--site-primary, #4f46e5);
  background: rgba(79, 70, 229, 0.04);
}

.ws-coord-input__comma { color: var(--site-text-muted, #6b7280); }

/* ── Equation Step Input ──────────────────────── */
.ws-equation-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.ws-equation-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm, 6px);
  transition: background var(--dur-fast, 150ms) var(--ease-default);
}

.ws-equation-step__label {
  font-size: var(--text-xs, 0.75rem);
  font-weight: 600;
  color: var(--site-text-muted, #6b7280);
  min-width: 3.5rem;
}

.ws-equation-step__input {
  flex: 1;
  border: none;
  border-bottom: 1.5px dashed var(--site-primary-border, #c7d2fe);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.25rem 0.15rem;
  color: var(--site-text, #111827);
  outline: none;
  min-height: 44px;
  transition: border-color var(--dur-fast, 150ms) var(--ease-default);
}

.ws-equation-step__input:focus {
  border-bottom-color: var(--site-primary, #4f46e5);
  background: rgba(79, 70, 229, 0.04);
}

.ws-equation-step.is-correct {
  background: var(--color-success-bg, #f0fdf4);
}
.ws-equation-step.is-correct .ws-equation-step__input {
  border-bottom-color: var(--site-accent, #22c55e);
  color: var(--color-success-text, #166534);
}

.ws-equation-step.is-wrong {
  background: var(--color-error-bg, #fef2f2);
}
.ws-equation-step.is-wrong .ws-equation-step__input {
  border-bottom-color: var(--color-error, #ef4444);
  color: var(--color-error-text, #991b1b);
}

/* ── Feedback Mode Toggle ─────────────────────── */
.ws-feedback-toggle {
  display: inline-flex;
  border: 1.5px solid var(--site-primary-border, #c7d2fe);
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  background: #ffffff;
}

.ws-feedback-toggle__opt {
  padding: 0.35rem 0.875rem;
  font-family: var(--font-heading);
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--site-text-muted, #6b7280);
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background var(--dur-fast, 150ms) var(--ease-default),
              color var(--dur-fast, 150ms) var(--ease-default);
}

.ws-feedback-toggle__opt + .ws-feedback-toggle__opt {
  border-left: 1.5px solid var(--site-primary-border, #c7d2fe);
}

.ws-feedback-toggle__opt.is-active {
  background: linear-gradient(135deg, var(--site-primary, #4f46e5), var(--site-primary-hover, #4338ca));
  color: #ffffff;
}

.ws-feedback-toggle__opt:hover:not(.is-active) {
  background: var(--site-primary-light, #eef2ff);
  color: var(--site-primary, #4f46e5);
}

/* ── Error Retry Section ──────────────────────── */
.ws-retry-section {
  margin-top: 1.5rem;
  padding: 1.125rem;
  background: var(--color-warning-bg, #fffbeb);
  border: 1.5px solid var(--color-warning-border, #fde68a);
  border-radius: var(--radius-card, 14px);
}

.ws-retry-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.ws-retry-section__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-warning-text, #92400e);
}

.ws-retry-section__count {
  font-family: var(--font-heading);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill, 9999px);
}

.ws-retry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 640px) { .ws-retry-grid { grid-template-columns: 1fr; } }

/* ── Sprint Mode ──────────────────────────────── */
.ws-sprint-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.125rem;
  background: linear-gradient(135deg, var(--site-primary-dark, #312e81) 0%, var(--site-primary, #4f46e5) 100%);
  color: #ffffff;
  border-radius: var(--radius-card, 14px);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-brand);
}

.ws-sprint-bar__timer {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 4rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.ws-sprint-bar__progress {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill, 9999px);
  overflow: hidden;
}

.ws-sprint-bar__fill {
  height: 100%;
  background: #ffffff;
  border-radius: var(--radius-pill, 9999px);
  transition: width 0.3s var(--ease-out);
}

.ws-sprint-bar__score {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ws-sprint-bar__btn {
  padding: 0.35rem 0.875rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm, 6px);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--dur-fast, 150ms) var(--ease-default);
}

.ws-sprint-bar__btn:hover { background: rgba(255, 255, 255, 0.28); }

/* ── Streak Celebration ───────────────────────── */
.ws-streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.875rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 700;
  border-radius: var(--radius-pill, 9999px);
  background: linear-gradient(135deg, var(--site-accent, #22c55e), var(--site-accent-hover, #16a34a));
  color: #ffffff;
  box-shadow: var(--shadow-green);
}

.ws-streak-badge__icon  { font-size: 1rem; }
.ws-streak-badge__count { font-variant-numeric: tabular-nums; }

/* ── Step Hint Expand ─────────────────────────── */
.ws-hint-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-heading);
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  color: var(--site-primary, #4f46e5);
  background: transparent;
  border: 1.5px solid var(--site-primary-border, #c7d2fe);
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  min-height: 44px;
  transition: background var(--dur-fast, 150ms) var(--ease-default),
              border-color var(--dur-fast, 150ms) var(--ease-default);
}

.ws-hint-toggle:hover {
  background: var(--site-primary-light, #eef2ff);
  border-color: var(--site-primary, #4f46e5);
}

.ws-hint-panel {
  display: none;
  padding: 0.6rem 0.875rem;
  margin-top: 0.4rem;
  background: var(--site-primary-light, #eef2ff);
  border-left: 3px solid var(--site-primary, #4f46e5);
  border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0;
  font-size: var(--text-sm, 0.875rem);
  color: var(--site-text, #111827);
  line-height: 1.6;
}

.ws-hint-panel.is-open { display: block; }

/* ── Chapter Progress Bar ─────────────────────── */
.ws-chapter-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: var(--site-primary-light, #eef2ff);
  border: 1px solid var(--site-primary-border, #c7d2fe);
  border-radius: var(--radius-md, 10px);
  margin-bottom: 1rem;
}

.ws-chapter-progress__label {
  font-family: var(--font-heading);
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  color: var(--site-text-muted, #6b7280);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ws-chapter-progress__track {
  flex: 1;
  height: 8px;
  background: #e0e7ff;
  border-radius: var(--radius-pill, 9999px);
  overflow: hidden;
}

.ws-chapter-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--site-primary, #4f46e5), var(--site-accent, #22c55e));
  border-radius: var(--radius-pill, 9999px);
  transition: width 0.4s var(--ease-out);
}

.ws-chapter-progress__pct {
  font-family: var(--font-heading);
  font-size: var(--text-xs, 0.75rem);
  font-weight: 800;
  color: var(--site-text, #111827);
  min-width: 3rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ── Phase 1 Print Suppression ────────────────── */
@media print {
  .ws-feedback-toggle,
  .ws-sprint-bar,
  .ws-streak-badge,
  .ws-retry-section,
  .ws-chapter-progress,
  .ws-hint-toggle,
  .ws-hint-panel { display: none !important; }

  .ws-fraction-input__num,
  .ws-fraction-input__den,
  .ws-coord-input__field,
  .ws-equation-step__input { display: none !important; }
}
