/* SKYSEED_VISUAL_IDENTITY_LAYER_START */
/* Science Card Bench — collective redesign identity layer, generated 2026-05-02. */
body.site-21 {
  --site-primary: #0f766e;
  --site-primary-hover: color-mix(in srgb, #0f766e 84%, black);
  --site-primary-dark: color-mix(in srgb, #0f766e 72%, black);
  --site-primary-light: color-mix(in srgb, #0f766e 12%, white);
  --site-accent: #b45309;
  --site-accent-hover: color-mix(in srgb, #b45309 84%, black);
  --site-background: #f4fbf9;
  --site-surface: #ffffff;
  --site-text: #172a27;
  --site-text-muted: #55706a;
  --site-border: color-mix(in srgb, #0f766e 18%, #d8dee8);
  --detail-border-radius: 8px;
  --radius-button: 8px;
  --radius-card: 8px;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(180, 83, 9, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f4fbf9 0%, color-mix(in srgb, #f4fbf9 82%, white) 58%, #ffffff 100%) !important;
  background-size: 28px 28px, 28px 28px, auto;
  color: #172a27;
}

body.site-21 .site-header,
body.site-21 [class*="site-header"],
body.site-21 header[role="banner"] {
  background: color-mix(in srgb, #ffffff 88%, #f4fbf9);
  border-bottom: 1px solid color-mix(in srgb, #0f766e 18%, #d8dee8);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
}

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

body.site-21 .category-card:hover,
body.site-21 .subcategory-card:hover,
body.site-21 .worksheet-card:hover,
body.site-21 .tool-card:hover {
  border-color: color-mix(in srgb, #0f766e 42%, #d8dee8);
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.12);
}

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

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

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

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

/* Site 021 refresh, 2026-05-06 */
body.site-21 {
  --sci21-width: 1400px;
  --sci21-ink: #142924;
  --sci21-muted: #55706a;
  --sci21-paper: #fbfffc;
  --sci21-teal: #0d766e;
  --sci21-amber: #b86a12;
  --sci21-blue: #2d638f;
  background:
    linear-gradient(90deg, rgba(13, 118, 110, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(184, 106, 18, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #f2fbf8 0%, #fff8ed 48%, #fbfffc 100%) !important;
  background-size: 30px 30px, 30px 30px, auto;
}

body.site-21 .site-header .container {
  max-width: var(--sci21-width);
  width: min(calc(100% - 32px), var(--sci21-width));
}

body.site-21 .site-header .logo {
  min-width: 0;
}

body.site-21 .site-header .site-name {
  max-width: 48vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sci21-home,
.sci21-list,
.sci21-detail {
  box-sizing: border-box;
  width: min(calc(100% - 32px), var(--sci21-width));
  max-width: var(--sci21-width);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 54px) 0 64px;
  color: var(--sci21-ink);
}

.sci21-hero,
.sci21-page-header {
  box-sizing: border-box;
  border: 1px solid rgba(13, 118, 110, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(251, 255, 252, 0.96), rgba(255, 248, 237, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 29px, rgba(13, 118, 110, 0.06) 29px 30px);
  box-shadow: 0 18px 44px rgba(13, 118, 110, 0.12);
}

.sci21-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: 520px;
  padding: clamp(28px, 5vw, 72px);
}

.sci21-hero-copy {
  min-width: 0;
}

.sci21-kicker {
  margin: 0 0 12px;
  color: var(--sci21-amber);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sci21-hero h1,
.sci21-page-header h1 {
  max-width: 780px;
  margin: 0;
  color: var(--sci21-ink);
  font-size: clamp(2.45rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.sci21-page-header {
  padding: clamp(26px, 5vw, 58px);
  margin-bottom: 24px;
}

.sci21-page-header h1 {
  font-size: clamp(2.1rem, 5vw, 4.25rem);
}

.sci21-lede {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--sci21-muted);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.sci21-actions,
.sci21-set-grid,
.sci21-set-switcher .set-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sci21-actions {
  margin-top: 30px;
}

.sci21-btn,
.sci21-fast-grid a,
.sci21-set-grid a,
.sci21-set-switcher .set-btn {
  min-height: 44px;
  border-radius: 8px;
  text-decoration: none;
}

.sci21-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--sci21-teal);
  font-weight: 850;
}

.sci21-btn-primary {
  background: var(--sci21-teal);
  color: #fff;
}

.sci21-btn-secondary {
  background: var(--sci21-paper);
  color: var(--sci21-teal);
}

.sci21-lab-preview {
  position: relative;
  box-sizing: border-box;
  justify-self: end;
  width: min(100%, 500px);
  min-height: 330px;
  border: 1px solid rgba(13, 118, 110, 0.22);
  border-radius: 8px;
  background: #fff;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 22px 50px rgba(13, 118, 110, 0.14);
  overflow: hidden;
}

.sci21-flask {
  position: absolute;
  left: 16%;
  top: 70px;
  width: 130px;
  height: 170px;
  border: 4px solid var(--sci21-teal);
  border-top: 0;
  border-radius: 0 0 56px 56px;
}

.sci21-flask span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  height: 62px;
  border-radius: 0 0 38px 38px;
  background: rgba(13, 118, 110, 0.18);
}

.sci21-bubbles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(45, 99, 143, 0.18);
}

.sci21-bubbles span:nth-child(1) { width: 30px; height: 30px; left: 54%; top: 70px; }
.sci21-bubbles span:nth-child(2) { width: 48px; height: 48px; right: 20%; top: 112px; }
.sci21-bubbles span:nth-child(3) { width: 24px; height: 24px; right: 28%; top: 48px; }

.sci21-preview-card {
  position: absolute;
  right: 26px;
  bottom: 70px;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 16px;
  border: 1px solid rgba(13, 118, 110, 0.18);
  border-radius: 8px;
  background: #fffaf1;
}

.sci21-preview-card small,
.sci21-preview-note {
  color: var(--sci21-muted);
}

.sci21-preview-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  font-size: 0.92rem;
  font-weight: 750;
}

.sci21-fast-grid,
.sci21-card-grid,
.sci21-set-grid,
.sci21-seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.sci21-fast-grid a,
.sci21-card-grid > a,
.sci21-set-grid > a,
.sci21-seo-grid > *,
.sci21-copy-band,
.sci21-section,
.sci21-stage,
.sci21-set-switcher {
  border: 1px solid rgba(13, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(251, 255, 252, 0.92);
  box-shadow: 0 12px 30px rgba(13, 118, 110, 0.08);
}

.sci21-fast-grid a,
.sci21-card-grid > a,
.sci21-set-grid > a {
  display: block;
  height: 100%;
  padding: 18px;
  color: var(--sci21-ink);
  text-decoration: none;
}

.sci21-fast-grid span {
  color: var(--sci21-amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sci21-fast-grid small,
.sci21-card-grid p,
.sci21-copy-band {
  color: var(--sci21-muted);
}

.sci21-section,
.sci21-copy-band,
.sci21-stage,
.sci21-set-switcher {
  margin: 24px 0;
  padding: clamp(20px, 3vw, 34px);
}

.sci21-section h2,
.sci21-section-header h2 {
  margin-top: 0;
  color: var(--sci21-ink);
}

.sci21-set-switcher .set-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 10px 14px;
  border: 1px solid rgba(13, 118, 110, 0.22);
  background: #fff;
  color: var(--sci21-teal);
  font-weight: 850;
}

.sci21-set-switcher .set-btn.active {
  background: var(--sci21-teal);
  color: #fff;
}

.sci21-stage {
  background:
    linear-gradient(180deg, rgba(251, 255, 252, 0.96), rgba(255, 248, 237, 0.96)),
    linear-gradient(90deg, rgba(13, 118, 110, 0.055) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  overflow: hidden;
}

.sci21-stage #detail-atom-mount {
  min-height: 420px;
}

.sci21-atom-skeleton {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.sci21-atom-skeleton span {
  min-height: 86px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(13, 118, 110, 0.09), rgba(184, 106, 18, 0.12));
}

.sci21-breadcrumb {
  margin-bottom: 18px;
}

.sci21-breadcrumb ol {
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .sci21-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sci21-lab-preview {
    justify-self: stretch;
  }

  .sci21-fast-grid,
  .sci21-card-grid,
  .sci21-set-grid,
  .sci21-seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.site-21 .site-header .site-name {
    display: none !important;
  }

  .sci21-home,
  .sci21-list,
  .sci21-detail {
    width: min(calc(100% - 24px), var(--sci21-width));
    padding-top: 18px;
  }

  .sci21-hero,
  .sci21-page-header,
  .sci21-section,
  .sci21-copy-band,
  .sci21-stage,
  .sci21-set-switcher {
    padding: 18px;
  }

  .sci21-hero {
    display: block !important;
    min-height: 0;
    overflow: hidden;
  }

  .sci21-hero-copy {
    display: block !important;
  }

  .sci21-kicker,
  .sci21-lede,
  .sci21-hero h1 {
    max-width: 100% !important;
    text-align: left;
  }

  .sci21-lede {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .sci21-hero h1,
  .sci21-page-header h1 {
    font-size: clamp(2.05rem, 11vw, 2.9rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .sci21-actions {
    margin-top: 18px;
  }

  .sci21-actions .sci21-btn {
    width: 100%;
  }

  .sci21-lab-preview {
    width: 100%;
    min-height: 250px;
    margin-top: 18px;
    padding: 12px;
  }

  .sci21-flask {
    left: 12%;
    top: 56px;
    width: 96px;
    height: 132px;
  }

  .sci21-preview-card {
    right: 18px;
    bottom: 58px;
    min-width: 124px;
  }

  .sci21-fast-grid,
  .sci21-card-grid,
  .sci21-set-grid,
  .sci21-seo-grid,
  .sci21-atom-skeleton {
    grid-template-columns: 1fr;
  }
}
