/**
 * Learning Sheet — story-world chrome for samples.
 */

.kz-sheet {
  --kz-sheet-ink: #1e293b;
  --kz-sheet-muted: #64748b;
  --kz-sheet-wash: linear-gradient(160deg, #fff7ed 0%, #eff6ff 45%, #f0fdf4 100%);
  --kz-sheet-accent: #ea580c;
  --kz-sheet-panel: #ffffff;
  --kz-sheet-radius: 0.85rem;
  /* Fill the centered 90% column (5% gutters live on main/header). */
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0.15rem 0 1.5rem;
  color: var(--kz-sheet-ink);
  position: relative;
  box-sizing: border-box;
}

.kz-learning-sheet {
  background: var(--kz-sheet-wash);
}

/* Header width from theme --kz-chrome-width (90%); only trim sheet padding. */
body.kz-learning-sheet .kz-site-header {
  padding-top: 0.2rem;
  padding-bottom: 0;
  min-height: 0;
  box-sizing: border-box;
}

body.kz-learning-sheet .kz-header-nav {
  display: none !important;
}

body.kz-learning-sheet .kz-site-header__bar {
  min-height: 2.25rem;
  width: 100%;
  align-items: center;
}

.kz-sheet__header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.kz-sheet__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 999px;
  background: #fff;
  color: #1d4ed8;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.kz-sheet__profile:hover,
.kz-sheet__profile:focus-visible {
  border-color: #1d4ed8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}

.kz-sheet__profile-icon {
  display: block;
}

.kz-sheet__profile--portrait {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.kz-sheet__profile-photo {
  display: block;
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

.kz-sheet__header-actions .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.kz-learning-sheet .kz-brand__mark {
  width: 30px;
  height: 30px;
}

body.kz-learning-sheet .kz-brand__link {
  min-height: 36px;
}

body.kz-learning-sheet .kz-grade-nav,
body.kz-learning-sheet .kz-grade-nav--chips {
  display: none !important;
}

body.kz-sheet-open-qa .kz-consent {
  display: none !important;
}

body.kz-learning-sheet #kz-main-content,
body.kz-learning-sheet main.wp-block-group,
body.kz-learning-sheet [data-testid="single-concept"] {
  padding-top: 0.1rem !important;
  padding-bottom: 0.85rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: var(--kz-chrome-width, 90%) !important;
  max-width: var(--kz-chrome-width, 90%) !important;
  box-sizing: border-box !important;
}

/* Match header bar inset so logo / Explore / Account share one edge */
body.kz-learning-sheet .kz-site-header {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.kz-learning-sheet .kz-sheet {
  padding-left: 0;
  padding-right: 0;
}

body.kz-learning-sheet .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.kz-learning-sheet .wp-block-post-content {
  max-width: 100% !important;
  width: 100% !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.kz-learning-sheet .kz-breadcrumbs {
  display: none !important;
}

body.kz-learning-sheet .wp-block-post-title {
  display: none !important;
}

/* Title + Learn/Play in one row — keep chrome short for first-viewport Download */
.kz-sheet__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.25rem 0.5rem;
  margin: 0 0 0.15rem;
}

.kz-sheet__identity {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.kz-sheet__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.kz-sheet__identity h1 {
  font-family: Nunito, system-ui, sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.15;
  margin: 0;
}

.kz-sheet__blurb {
  display: none;
}

.kz-sheet__overview-hint {
  /* Modes beside title are self-explanatory; keep for a11y only. */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kz-sheet__child-corner {
  flex: 0 0 auto;
  max-width: 8rem;
}

.kz-sheet__qa-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #ecfccb;
  color: #3f6212;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.kz-sheet__child-login {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
}

/* Core A/a — compact chip */
.kz-sheet__core,
.kz-sheet__core--compact {
  margin: 0 0 0.15rem;
  max-width: 18%;
  min-width: 5.25rem;
  padding: 0.15rem 0.35rem;
  background: #fff;
  border-radius: 0.4rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  font-size: 0.68rem;
  line-height: 1.1;
}

.kz-sheet__core--compact .kz-info-cards strong {
  font-size: 0.9rem;
}

.kz-sheet__core--compact .kz-concept-info,
.kz-sheet__core--compact .kz-info-cards {
  margin: 0;
}

.kz-sheet__core--compact .kz-info-cards p {
  margin: 0.05rem 0;
}

.kz-sheet__core--compact .kz-info-cards strong {
  font-size: 1rem;
}

.kz-sheet__overview {
  display: none;
}

.kz-sheet__modes {
  display: inline-flex;
  gap: 0.15rem;
  margin: 0;
  flex-wrap: nowrap;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.kz-sheet__mode {
  min-width: 40px;
  min-height: 36px;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  color: #334155;
  transition: background 0.15s ease, color 0.15s ease;
}

.kz-sheet__mode:hover,
.kz-sheet__mode:focus-visible {
  color: var(--kz-sheet-ink);
  outline: none;
}

.kz-sheet__mode--active,
.kz-sheet__mode[aria-pressed="true"] {
  background: var(--kz-sheet-accent);
  color: #fff;
  box-shadow: 0 1px 4px rgba(234, 88, 12, 0.35);
}

.kz-sheet__active {
  margin-bottom: 0.35rem;
}

.kz-sheet__item-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  margin: 0 0 0.3rem;
}

.kz-sheet__item-tab {
  min-height: 40px;
  min-width: 40px;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--kz-sheet-ink);
}

.kz-sheet__item-tab--active,
.kz-sheet__item-tab[aria-selected="true"] {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.kz-sheet__item {
  display: none;
}

.kz-sheet__item.is-active {
  display: block;
}

.kz-sheet__item-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}

/* Standard workspace: 75% stage/arena + 25% instructions (all Learn/Play items) */
.kz-sheet__workspace {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(12rem, 1fr);
  gap: 0.65rem 0.85rem;
  align-items: stretch;
  margin: 0 0 0.35rem;
}

.kz-sheet__workspace-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.kz-sheet__workspace-guide {
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  background: linear-gradient(165deg, #fff7ed 0%, #f8fafc 55%, #eff6ff 100%);
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.kz-sheet__guide-eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c2410c;
}

.kz-sheet__guide-title {
  margin: 0;
  font-family: Nunito, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--kz-sheet-ink);
}

.kz-sheet__guide-lead {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: #334155;
}

.kz-sheet__guide-steps {
  margin: 0.1rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--kz-sheet-muted);
}

.kz-sheet__guide-steps li {
  margin: 0.15rem 0;
}

.kz-sheet__guide-meta {
  margin: 0;
  padding-top: 0.25rem;
  font-size: 0.7rem;
  color: #94a3b8;
}

.kz-sheet__guide-action {
  margin-top: auto;
  padding-top: 0.45rem;
}

.kz-sheet__guide-action .kz-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  min-height: 42px;
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
}

/* Prompts live in the 25% guide column */
.kz-sheet__workspace-main .kz-game__prompt,
.kz-sheet__workspace-main .kz-sheet__item-title {
  display: none !important;
}

/* Stage — full workspace window for worksheet preview */
.kz-sheet__stage {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  height: min(58vh, 30rem) !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  max-height: min(58vh, 30rem) !important;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #edf2f7;
  box-shadow: inset 0 0 0 1px #e2e8f0, 0 3px 12px rgba(15, 23, 42, 0.06);
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .kz-sheet__stage {
    height: min(60vh, 32rem) !important;
    max-height: min(60vh, 32rem) !important;
  }
}

@media (max-width: 760px) {
  .kz-sheet__workspace {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .kz-sheet__stage {
    height: min(48vh, 18rem) !important;
    max-height: min(48vh, 18rem) !important;
  }

  .kz-sheet__workspace-guide {
    order: 2;
  }
}

/*
 * Fit whole worksheet in the stage (contain), then scale ~12% so it uses
 * more of the window and soft-crops template Name/Date + footer chrome.
 */
.kz-sheet__stage-crop {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #edf2f7;
}

.kz-sheet__stage-crop-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #edf2f7;
}

.kz-sheet__stage-crop .kz-sheet__stage-img,
.kz-sheet__stage-crop img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.2) !important;
  transform-origin: center center !important;
  clip-path: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.kz-sheet__stage-img,
.kz-sheet__stage > img {
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - 0.75rem) !important;
  max-height: calc(100% - 0.75rem) !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #fff;
  display: block;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0.35rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.kz-sheet__progress-row {
  margin: 0.35rem 0;
}

.kz-sheet__progress-sub {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--kz-sheet-muted);
}

.kz-concept__meter--area span {
  background: #ea580c;
}

.kz-concept__meter--overall span {
  background: #1d4ed8;
}

.kz-sheet__stage-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: radial-gradient(circle at 30% 20%, #fff7ed, #dbeafe 50%, #93c5fd);
}

.kz-sheet__stage-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c2410c;
  background: rgba(255, 237, 213, 0.95);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}

.kz-sheet__stage-letter {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  color: #1d4ed8;
  line-height: 0.95;
  font-family: Nunito, system-ui, sans-serif;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.55);
}

.kz-sheet__act-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 0;
}

.kz-sheet__act-bar .kz-sheet__item-title {
  display: none;
}

.kz-sheet__act-bar .kz-btn {
  margin: 0;
  padding: 0.4rem 1.1rem;
  font-size: 0.9rem;
  min-height: 42px;
}

.kz-sheet__handoff {
  margin: 0.3rem 0 0;
  text-align: center;
}

.kz-sheet__handoff .kz-btn {
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  min-height: 38px;
}

.kz-sheet__panel {
  display: none !important;
  background: var(--kz-sheet-panel);
  border-radius: var(--kz-sheet-radius);
  padding: 0.35rem 0.5rem 0.45rem;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
}

.kz-sheet__panel.is-active {
  display: block !important;
}

.kz-sheet__play-arena {
  min-height: min(58vh, 30rem);
  height: min(58vh, 30rem);
  max-height: min(58vh, 30rem);
  overflow: hidden;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  background: linear-gradient(165deg, #fff7ed 0%, #f8fafc 40%, #eff6ff 100%);
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*
 * Concept opposites (.kz-game-opp): fixed arena height + overflow:hidden +
 * justify-content:center clips the board on iPad when content exceeds the
 * arena. Allow scroll and top-align so tiles stay visible/tappable.
 */
.kz-sheet__play-arena:has(.kz-game-opp),
.kz-sheet__play-arena:has([data-testid="game-opposites"]) {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  align-items: stretch;
}

.kz-sheet__play-arena .kz-game-opp {
  width: 100%;
  min-height: 8rem;
  flex: 0 0 auto;
}

@media (min-width: 900px) {
  .kz-sheet__play-arena {
    min-height: min(60vh, 32rem);
    height: min(60vh, 32rem);
    max-height: min(60vh, 32rem);
  }
}

.kz-sheet__play-arena .kz-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  flex: 1 1 auto;
  justify-content: center;
  position: relative;
}

.kz-sheet__play-arena .kz-game-letter-a,
.kz-sheet__play-arena .kz-game-a-match,
.kz-sheet__play-arena .kz-game-at,
.kz-sheet__play-arena [data-testid="game-letter-a"],
.kz-sheet__play-arena [data-testid="game-letter-a-match"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.kz-sheet__play-arena .kz-tile--word {
  min-width: 5.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
}

.kz-sheet__play-arena .kz-concept-quiz,
.kz-sheet__play-arena .kz-quiz-form {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  overflow: auto;
  max-height: 100%;
}

.kz-sheet__play-arena .kz-quiz-form fieldset {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.7);
}

.kz-sheet__play-arena .kz-quiz-form legend {
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0 0.2rem;
}

.kz-sheet__play-arena .kz-quiz-form label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.2rem 0.65rem 0.2rem 0;
  font-size: 0.9rem;
}

.kz-sheet__play-arena .kz-game__build {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Nunito, system-ui, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #1d4ed8;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(0.35rem) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.kz-sheet__play-arena .kz-game__build.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.kz-sheet__play-arena .kz-game__build.is-fade {
  opacity: 0;
  transform: translateY(-0.4rem) scale(1.04);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.kz-sheet__play-arena .kz-tile.is-matched {
  border-color: #16a34a !important;
  background: #dcfce7 !important;
  color: #166534;
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kz-sheet__play-arena .kz-tile.is-pop {
  animation: kz-tile-pop 0.45s ease;
}

@keyframes kz-tile-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1.08); }
}

/* Prompts live in the 25% guide column — already hidden above */

.kz-sheet__play-arena .kz-concept-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.kz-sheet__play-arena .kz-concept-activity > header {
  display: none;
}

.kz-sheet__play-arena .kz-game__prompt {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.kz-sheet__play-arena .kz-game__peek {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  color: var(--kz-sheet-muted);
}

.kz-sheet__play-arena .kz-tile {
  min-width: 2.35rem;
  min-height: 2.35rem;
  font-size: 1rem;
}

.kz-sheet__play-arena .kz-quiz-form {
  font-size: 0.88rem;
}

.kz-sheet__play-arena .kz-quiz-form fieldset {
  margin: 0 0 0.45rem;
}

.kz-sheet__play-arena .kz-quiz-form legend {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.kz-sheet__play-arena .kz-btn {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  padding: 0.4rem 0.85rem;
}

.kz-sheet__handoff {
  margin: 0.5rem 0 0;
  text-align: center;
}

.kz-sheet__handoff--alt {
  margin-top: 0.35rem;
}

.kz-btn--ghost {
  background: #fff !important;
  color: #1d4ed8 !important;
  border: 2px solid #93c5fd;
}

.kz-sheet__back-wrap {
  display: none;
}

.kz-sheet__fields,
.kz-sheet__steps {
  display: none;
}

.kz-sheet__continue {
  display: grid;
  gap: 0.85rem;
  margin: 0.85rem 0;
  grid-template-columns: 1fr;
}

.kz-sheet__rail {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0.75rem;
  padding: 0.55rem 0.65rem;
}

.kz-sheet__rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.kz-sheet__rail-label {
  margin: 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kz-sheet-muted);
  font-weight: 600;
}

.kz-sheet__more-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.kz-sheet__card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

@media (max-width: 640px) {
  .kz-sheet__card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kz-sheet__core--compact {
    max-width: 40%;
  }
}

.kz-sheet__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.kz-sheet__card-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 4.75rem;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #e2e8f0;
}

.kz-sheet__card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.kz-sheet__card-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-weight: 800;
  color: #1d4ed8;
  background: #dbeafe;
}

.kz-sheet__card-caption {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--kz-sheet-ink);
  text-align: center;
}

.kz-sheet__rail-empty {
  margin: 0;
  color: var(--kz-sheet-muted);
  font-size: 0.85rem;
}

.kz-sheet__progress {
  margin: 0.85rem 0 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
}

.kz-sheet__progress-label {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--kz-sheet-muted);
  font-weight: 600;
}

.kz-sheet__progress .kz-concept__meter {
  height: 0.4rem;
  margin: 0.3rem 0;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.kz-sheet__progress .kz-concept__meter span {
  display: block;
  height: 100%;
  background: var(--kz-sheet-accent);
}

.kz-sheet__progress .kz-concept__points,
.kz-sheet__progress .kz-concept__child,
.kz-sheet__progress .kz-concept__badge {
  margin: 0.2rem 0;
  font-size: 0.8rem;
}

.kz-sheet__more {
  margin: 0.5rem 0 1rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.65);
  padding: 0.25rem 0.65rem;
}

.kz-sheet__more summary {
  cursor: pointer;
  min-height: 36px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--kz-sheet-muted);
}

.kz-sheet__more-body {
  padding: 0.25rem 0 0.55rem;
  font-size: 0.85rem;
  color: var(--kz-sheet-muted);
}

.kz-sheet__crumbs {
  margin: 0 0 0.08rem;
  font-size: 0.7rem;
}

.kz-sheet__crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.3rem;
  color: var(--kz-sheet-muted);
}

.kz-sheet__crumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.3rem;
  color: #94a3b8;
}

.kz-sheet__crumbs a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
}

.kz-sheet__crumbs [aria-current="page"] {
  color: var(--kz-sheet-ink);
  font-weight: 600;
}

@media (max-width: 480px) {
  .kz-sheet__top {
    flex-wrap: wrap;
  }

  .kz-sheet__child-corner {
    margin-left: auto;
  }

  .kz-sheet__core--compact {
    max-width: 45%;
  }
}
