/* SKYSEED_VISUAL_IDENTITY_LAYER_START */
/* Field Science Guide — collective redesign identity layer, generated 2026-05-02. */
body.site-22 {
  --site-primary: #3f6212;
  --site-primary-hover: color-mix(in srgb, #3f6212 84%, black);
  --site-primary-dark: color-mix(in srgb, #3f6212 72%, black);
  --site-primary-light: color-mix(in srgb, #3f6212 12%, white);
  --site-accent: #0e7490;
  --site-accent-hover: color-mix(in srgb, #0e7490 84%, black);
  --site-background: #f7fbf2;
  --site-surface: #ffffff;
  --site-text: #202a19;
  --site-text-muted: #5f6d55;
  --site-border: color-mix(in srgb, #3f6212 18%, #d8dee8);
  --detail-border-radius: 8px;
  --radius-button: 8px;
  --radius-card: 8px;
  background:
    linear-gradient(90deg, rgba(63, 98, 18, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(14, 116, 144, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f7fbf2 0%, color-mix(in srgb, #f7fbf2 82%, white) 58%, #ffffff 100%) !important;
  background-size: 28px 28px, 28px 28px, auto;
  color: #202a19;
}

body.site-22 .site-header,
body.site-22 [class*="site-header"],
body.site-22 header[role="banner"] {
  background: color-mix(in srgb, #ffffff 88%, #f7fbf2);
  border-bottom: 1px solid color-mix(in srgb, #3f6212 18%, #d8dee8);
  box-shadow: 0 8px 24px rgba(63, 98, 18, 0.08);
}

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

body.site-22 .category-card:hover,
body.site-22 .subcategory-card:hover,
body.site-22 .worksheet-card:hover,
body.site-22 .tool-card:hover {
  border-color: color-mix(in srgb, #3f6212 42%, #d8dee8);
  box-shadow: 0 14px 30px rgba(63, 98, 18, 0.12);
}

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

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

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

@media print {
  body.site-22 {
    background: #ffffff !important;
  }
}

/* Site 022 field-guide preview overrides */
body.site-22 {
  --esp22-teal: #3f6212;
  --esp22-amber: #0e7490;
}

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

.esp22-notebook {
  position: absolute;
  left: 28px;
  top: 58px;
  display: grid;
  gap: 12px;
  width: 210px;
  padding: 22px;
  border: 1px solid rgba(63, 98, 18, 0.18);
  border-radius: 8px;
  background: #fffdf7;
}

.esp22-notebook span {
  display: block;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(63, 98, 18, 0.18);
  color: var(--esp22-ink);
  font-weight: 800;
}

.esp22-lens {
  position: absolute;
  right: 58px;
  top: 88px;
  width: 124px;
  height: 124px;
  border: 12px solid rgba(14, 116, 144, 0.72);
  border-radius: 50%;
}

.esp22-lens::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -38px;
  width: 70px;
  height: 14px;
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.72);
  transform: rotate(42deg);
  transform-origin: left center;
}

@media (max-width: 980px) {
  .esp22-field-preview {
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .esp22-field-preview {
    width: 100%;
    min-height: 250px;
    margin-top: 18px;
    padding: 12px;
  }

  .esp22-notebook {
    left: 18px;
    top: 42px;
    width: 160px;
    padding: 16px;
  }

  .esp22-lens {
    right: 38px;
    top: 76px;
    width: 86px;
    height: 86px;
    border-width: 9px;
  }
}
/* SKYSEED_VISUAL_IDENTITY_LAYER_END */

/* Site 022 refresh, 2026-05-06 */
body.site-22 {
  --esp22-width: 1400px;
  --esp22-ink: #142924;
  --esp22-muted: #55706a;
  --esp22-paper: #fbfffc;
  --esp22-teal: #0d766e;
  --esp22-amber: #b86a12;
  --esp22-sky: #0e7490;
  background:
    linear-gradient(90deg, rgba(63, 98, 18, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(14, 116, 144, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #f7fbf2 0%, #f1fbff 48%, #fbfffc 100%) !important;
  background-size: 30px 30px, 30px 30px, auto;
}

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

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

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

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

.esp22-hero,
.esp22-page-header {
  box-sizing: border-box;
  border: 1px solid rgba(63, 98, 18, 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(63, 98, 18, 0.06) 29px 30px);
  box-shadow: 0 18px 44px rgba(63, 98, 18, 0.12);
}

.esp22-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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.esp22-atom-skeleton span {
  min-height: 86px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(63, 98, 18, 0.09), rgba(14, 116, 144, 0.12));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

body.site-22 {
  --esp22-teal: #3f6212;
  --esp22-amber: #0e7490;
}
