/* SKYSEED_VISUAL_IDENTITY_LAYER_START */
/* K5 Assessment Desk — collective redesign identity layer, generated 2026-05-02. */
body.site-23 {
  --site-primary: #1e40af;
  --site-primary-hover: color-mix(in srgb, #1e40af 84%, black);
  --site-primary-dark: color-mix(in srgb, #1e40af 72%, black);
  --site-primary-light: color-mix(in srgb, #1e40af 12%, white);
  --site-accent: #b45309;
  --site-accent-hover: color-mix(in srgb, #b45309 84%, black);
  --site-background: #f5f8ff;
  --site-surface: #ffffff;
  --site-text: #17213a;
  --site-text-muted: #5d6576;
  --site-border: color-mix(in srgb, #1e40af 18%, #d8dee8);
  --detail-border-radius: 8px;
  --radius-button: 8px;
  --radius-card: 8px;
  background:
    linear-gradient(90deg, rgba(30, 64, 175, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(180, 83, 9, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f5f8ff 0%, color-mix(in srgb, #f5f8ff 82%, white) 58%, #ffffff 100%) !important;
  background-size: 28px 28px, 28px 28px, auto;
  color: #17213a;
}

body.site-23 .site-header,
body.site-23 [class*="site-header"],
body.site-23 header[role="banner"] {
  background: color-mix(in srgb, #ffffff 88%, #f5f8ff);
  border-bottom: 1px solid color-mix(in srgb, #1e40af 18%, #d8dee8);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
}

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

body.site-23 .category-card:hover,
body.site-23 .subcategory-card:hover,
body.site-23 .worksheet-card:hover,
body.site-23 .tool-card:hover {
  border-color: color-mix(in srgb, #1e40af 42%, #d8dee8);
  box-shadow: 0 14px 30px rgba(30, 64, 175, 0.12);
}

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

body.site-23 .btn-secondary,
body.site-23 .btn-answers,
body.site-23 .badge,
body.site-23 .variant-chip,
body.site-23 .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%, #17213a);
}

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

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

/* Site 023 refresh, 2026-05-06 */
body.site-23 {
  --k523-width: 1400px;
  --k523-ink: #17213a;
  --k523-muted: #596579;
  --k523-paper: #fffef8;
  --k523-blue: #1e40af;
  --k523-green: #2f7d32;
  --k523-gold: #b45309;
  background:
    linear-gradient(90deg, rgba(30, 64, 175, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 125, 50, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #f4f7ff 0%, #fff8e8 50%, #f7fff7 100%) !important;
  background-size: 32px 32px, 32px 32px, auto;
}

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

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

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

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

.k523-hero,
.k523-page-header {
  box-sizing: border-box;
  border: 1px solid rgba(30, 64, 175, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 254, 248, 0.96), rgba(246, 250, 255, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(30, 64, 175, 0.055) 31px 32px);
  box-shadow: 0 18px 44px rgba(30, 64, 175, 0.12);
}

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

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

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

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

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

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

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

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

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

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

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

.k523-btn-primary {
  background: var(--k523-blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.22);
}

.k523-btn-secondary {
  background: rgba(255, 254, 248, 0.82);
  color: var(--k523-blue);
}

.k523-paper-preview {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(30, 64, 175, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 232, 0.9)),
    radial-gradient(circle at 18% 20%, rgba(47, 125, 50, 0.12), transparent 34%);
  overflow: hidden;
}

.k523-sheet {
  position: absolute;
  left: 12%;
  top: 13%;
  width: min(70%, 330px);
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(30, 64, 175, 0.2);
  border-radius: 8px;
  background: var(--k523-paper);
  box-shadow: 0 20px 35px rgba(30, 64, 175, 0.12);
}

.k523-sheet-label {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(47, 125, 50, 0.12);
  color: var(--k523-green);
  font-weight: 850;
  font-size: 0.78rem;
}

.k523-sheet strong {
  display: block;
  margin: 28px 0 20px;
  color: var(--k523-ink);
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.k523-line {
  display: block;
  width: 78%;
  height: 2px;
  margin-top: 18px;
  background: rgba(30, 64, 175, 0.22);
}

.k523-line.short {
  width: 48%;
}

.k523-score-card {
  position: absolute;
  right: 7%;
  bottom: 25%;
  display: grid;
  grid-template-columns: repeat(3, 44px);
  gap: 8px;
}

.k523-score-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  color: var(--k523-blue);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.12);
}

.k523-preview-note {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 28px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(23, 33, 58, 0.92);
  color: #fff;
  font-weight: 800;
}

.k523-fast-grid,
.k523-card-grid,
.k523-seo-grid {
  display: grid;
  gap: 16px;
}

.k523-fast-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 32px;
}

.k523-fast-grid a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(30, 64, 175, 0.16);
  background: rgba(255, 255, 255, 0.84);
  color: var(--k523-ink);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.07);
}

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

.k523-fast-grid strong {
  color: var(--k523-ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.k523-fast-grid small {
  color: var(--k523-muted);
  line-height: 1.4;
}

.k523-section,
.k523-copy-band,
.k523-set-switcher,
.k523-stage,
.k523-page-navigation,
.k523-breadcrumb {
  box-sizing: border-box;
  border-radius: 8px;
}

.k523-section,
.k523-copy-band,
.k523-set-switcher,
.k523-stage {
  margin-top: 22px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(30, 64, 175, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.k523-section-header h2,
.k523-section-header p {
  margin-left: 0;
  margin-right: 0;
}

.k523-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.k523-card-grid .category-card,
.k523-card-grid .subcategory-card,
.k523-set-grid .worksheet-card,
.k523-seo-grid .seo-block {
  min-width: 0;
  border-radius: 8px;
  border-color: rgba(30, 64, 175, 0.16);
  background: rgba(255, 255, 255, 0.88);
}

.k523-set-grid .worksheet-card,
.k523-set-switcher .set-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.k523-stage {
  overflow-wrap: anywhere;
}

.k523-breadcrumb {
  padding: 16px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(30, 64, 175, 0.13);
  background: rgba(255, 255, 255, 0.72);
}

.k523-page-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.k523-page-navigation a {
  border-radius: 8px;
}

@media (max-width: 900px) {
  .k523-home,
  .k523-list,
  .k523-detail,
  body.site-23 .site-header .container {
    width: min(calc(100% - 24px), var(--k523-width));
  }

  .k523-hero {
    display: block !important;
    min-height: 0;
    padding: 28px 18px;
    text-align: left;
  }

  .k523-hero-copy {
    display: flex !important;
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .k523-hero-copy > * {
    width: 100%;
    max-width: 100%;
  }

  .k523-paper-preview {
    min-height: 310px;
    margin-top: 28px;
  }

  .k523-fast-grid {
    grid-template-columns: 1fr;
  }

  .k523-hero h1,
  .k523-page-header h1 {
    font-size: clamp(1.8rem, 7.2vw, 2.25rem);
    text-align: left;
  }

  .k523-lede {
    text-align: left;
  }

  .k523-card-grid,
  .k523-seo-grid {
    grid-template-columns: 1fr;
  }

  .k523-section,
  .k523-copy-band,
  .k523-set-switcher,
  .k523-stage {
    padding: 18px;
  }
}

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

  .k523-score-card {
    right: 5%;
    bottom: 22%;
    grid-template-columns: repeat(3, 36px);
  }

  .k523-score-card span {
    width: 36px;
    height: 36px;
  }

  .k523-sheet {
    left: 7%;
    width: 72%;
    padding: 20px;
  }
}

@media (max-width: 900px) {
  body.site-23 .k523-hero {
    display: block !important;
    text-align: left !important;
  }

  body.site-23 .k523-hero .k523-hero-copy {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  body.site-23 .k523-hero .k523-kicker,
  body.site-23 .k523-hero h1,
  body.site-23 .k523-hero .k523-lede,
  body.site-23 .k523-hero .k523-actions {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }
}
