/* SKYSEED_VISUAL_IDENTITY_LAYER_START */
/* Math Workbook — collective redesign identity layer, generated 2026-05-02. */
body.site-8 {
  --site-primary: #1d4e89;
  --site-primary-hover: color-mix(in srgb, #1d4e89 84%, black);
  --site-primary-dark: color-mix(in srgb, #1d4e89 72%, black);
  --site-primary-light: color-mix(in srgb, #1d4e89 12%, white);
  --site-accent: #c2410c;
  --site-accent-hover: color-mix(in srgb, #c2410c 84%, black);
  --site-background: #f5f9ff;
  --site-surface: #ffffff;
  --site-text: #172033;
  --site-text-muted: #5b6475;
  --site-border: color-mix(in srgb, #1d4e89 18%, #d8dee8);
  --detail-border-radius: 8px;
  --radius-button: 8px;
  --radius-card: 8px;
  background:
    linear-gradient(90deg, rgba(29, 78, 137, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(194, 65, 12, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f5f9ff 0%, color-mix(in srgb, #f5f9ff 82%, white) 58%, #ffffff 100%) !important;
  background-size: 28px 28px, 28px 28px, auto;
  color: #172033;
}

body.site-8 .site-header,
body.site-8 [class*="site-header"],
body.site-8 header[role="banner"] {
  background: color-mix(in srgb, #ffffff 88%, #f5f9ff);
  border-bottom: 1px solid color-mix(in srgb, #1d4e89 18%, #d8dee8);
  box-shadow: 0 8px 24px rgba(29, 78, 137, 0.08);
}

body.site-8 .category-card,
body.site-8 .subcategory-card,
body.site-8 .worksheet-card,
body.site-8 .tool-card,
body.site-8 .card,
body.site-8 .detail-card,
body.site-8 .content-panel,
body.site-8 .set-switcher,
body.site-8 .intro,
body.site-8 .intro-section {
  border-radius: 8px;
  border-color: color-mix(in srgb, #1d4e89 18%, #d8dee8);
  box-shadow: 0 10px 24px rgba(29, 78, 137, 0.075);
}

body.site-8 .category-card:hover,
body.site-8 .subcategory-card:hover,
body.site-8 .worksheet-card:hover,
body.site-8 .tool-card:hover {
  border-color: color-mix(in srgb, #1d4e89 42%, #d8dee8);
  box-shadow: 0 14px 30px rgba(29, 78, 137, 0.12);
}

body.site-8 .btn-primary,
body.site-8 .button-primary,
body.site-8 a.btn-primary,
body.site-8 button[type="submit"] {
  background: #1d4e89;
  border-color: color-mix(in srgb, #1d4e89 84%, black);
  color: #ffffff;
}

body.site-8 .btn-secondary,
body.site-8 .btn-answers,
body.site-8 .badge,
body.site-8 .variant-chip,
body.site-8 .stat-item {
  background: color-mix(in srgb, #c2410c 12%, white);
  border-color: color-mix(in srgb, #c2410c 28%, #d8dee8);
  color: color-mix(in srgb, #c2410c 68%, #172033);
}

body.site-8 .puzzle-grid,
body.site-8 .sudoku-grid,
body.site-8 .worksheet-grid,
body.site-8 table[class*="grid"] {
  border-color: color-mix(in srgb, #1d4e89 38%, #111827);
}

@media print {
  body.site-8 {
    background: #ffffff !important;
  }
}
/* SKYSEED_VISUAL_IDENTITY_LAYER_END */
