.checklist-page { background: var(--cream); }

.checklist-shell {
  width: min(900px, calc(100% - 48px));
  margin-inline: auto;
}

.checklist-hero {
  position: relative;
  padding: 150px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(79, 183, 171, .2), transparent 25%),
    radial-gradient(circle at 8% 86%, rgba(255, 165, 133, .18), transparent 23%),
    linear-gradient(150deg, var(--paper), var(--cream));
}

.checklist-hero::after {
  position: absolute;
  right: max(3vw, 24px);
  top: 120px;
  color: rgba(47, 142, 132, .08);
  content: "ㄅ";
  font-size: clamp(150px, 20vw, 280px);
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
  transform: rotate(8deg);
}

.checklist-breadcrumb {
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.checklist-breadcrumb a { color: var(--mint-deep); text-underline-offset: 4px; }
.checklist-hero-copy { position: relative; z-index: 1; max-width: 730px; }
.checklist-hero-copy .eyebrow { margin-bottom: 22px; }

.checklist-hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 6.6vw, 72px);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: 1.13;
}

.checklist-hero-copy h1 em { color: var(--mint-deep); font-style: normal; }

.checklist-hero-copy > p:last-child {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

.school-notice,
.packing-tip {
  position: relative;
  z-index: 1;
  margin-top: 42px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  border-radius: 26px;
  background: var(--gold-soft);
}

.school-notice > span,
.packing-tip > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--gold);
  color: #3b2913;
  font-size: 20px;
  font-weight: 950;
  transform: rotate(-3deg);
}

.school-notice h2,
.packing-tip h2 { margin: 0; font-size: 18px; line-height: 1.4; }
.school-notice p,
.packing-tip p { margin: 7px 0 0; color: var(--muted); line-height: 1.72; }

.checklist-workspace { padding: clamp(62px, 9vw, 108px) 0; }

.checklist-answer {
  margin-bottom: 32px;
  padding: 4px 4px 34px;
  border-bottom: 1px solid var(--line);
}

.checklist-answer > p:first-child,
.checklist-sources > p:first-child {
  margin: 0 0 8px;
  color: var(--mint-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.checklist-answer h2,
.faq-heading h2,
.checklist-sources h2 {
  margin: 0;
  font-size: clamp(27px, 4.5vw, 38px);
  letter-spacing: -.04em;
  line-height: 1.35;
}

.checklist-answer > p:not(:first-child) {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.82;
}

.checklist-shortcuts {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.checklist-shortcuts a {
  min-height: 48px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--mint-deep);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.checklist-shortcuts a:hover { border-color: var(--mint); }

.checklist-progress {
  padding: 28px clamp(24px, 4vw, 38px);
  border-radius: 30px;
  background: var(--mint-soft);
}

.progress-copy {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 24px;
}

.progress-copy p { margin: 0; color: var(--mint-deep); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.progress-copy strong { grid-row: 1 / span 2; grid-column: 2; font-size: clamp(30px, 5vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; }
.progress-copy > span { color: var(--muted); font-size: 14px; font-weight: 650; }

.checklist-progress progress {
  width: 100%;
  height: 12px;
  margin-top: 22px;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
}

.checklist-progress progress::-webkit-progress-bar { border-radius: 999px; background: var(--paper); }
.checklist-progress progress::-webkit-progress-value { border-radius: 999px; background: var(--mint-deep); transition: width 220ms ease; }
.checklist-progress progress::-moz-progress-bar { border-radius: 999px; background: var(--mint-deep); }

.checklist-controls {
  margin-top: 20px;
  display: none;
  flex-wrap: wrap;
  gap: 10px;
}

.js .checklist-controls { display: flex; }

.checklist-controls button {
  min-height: 48px;
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.filter-button { background: var(--ink); color: var(--on-ink); }
.filter-button[aria-pressed="true"] { background: var(--mint-deep); color: var(--on-ink); }
.reset-button { background: var(--paper); color: var(--mint-deep); }
.reset-button:disabled { cursor: default; opacity: .48; }
.storage-note { display: none; margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.js .storage-note { display: block; }

.checklist-form { margin-top: 28px; display: grid; gap: 22px; }

.checklist-group {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 30px;
  background: var(--paper);
}

.group-school { background: var(--gold-soft); }
.group-daily { background: var(--mint-soft); }
.group-art { background: var(--coral-soft); }
.group-life { background: var(--surface); }

.group-heading {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.group-sticker {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--paper);
  color: var(--mint-deep);
  font-size: 19px;
  font-weight: 950;
  transform: rotate(-3deg);
}

.group-art .group-sticker { color: var(--coral-deep); transform: rotate(3deg); }
.group-school .group-sticker { color: var(--gold-deep); }
.group-heading p { margin: 0 0 2px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.group-heading h2 { margin: 0; font-size: clamp(22px, 3.5vw, 30px); letter-spacing: -.035em; line-height: 1.32; }
.group-heading > small { padding: 6px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 12px; font-weight: 850; }

.checklist-items { border-top: 1px solid var(--line); }

.checklist-item {
  min-height: 82px;
  padding: 15px 4px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.checklist-item:last-child { border-bottom: 0; }

.checklist-item input {
  width: 28px;
  height: 28px;
  margin: 0;
  display: grid;
  place-items: center;
  appearance: none;
  border: 2px solid var(--mint-deep);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
}

.checklist-item input::after {
  width: 7px;
  height: 12px;
  border: solid var(--on-ink);
  border-width: 0 3px 3px 0;
  content: "";
  transform: translateY(-1px) rotate(45deg) scale(0);
  transition: transform 140ms ease;
}

.checklist-item input:checked { border-color: var(--mint-deep); background: var(--mint-deep); }
.checklist-item input:checked::after { transform: translateY(-1px) rotate(45deg) scale(1); }
.checklist-item input:focus-visible { outline: 3px solid rgba(47, 142, 132, .45); outline-offset: 4px; }
.checklist-item > span { display: grid; gap: 3px; }
.checklist-item strong { font-size: 16.5px; line-height: 1.45; }
.checklist-item small { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.checklist-item.is-complete strong { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }

.checklist-empty {
  margin-top: 28px;
  padding: 42px 28px;
  border-radius: 30px;
  background: var(--mint-soft);
  text-align: center;
}

.checklist-empty > span { width: 54px; height: 54px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-deep); color: var(--on-ink); font-size: 24px; font-weight: 950; }
.checklist-empty h2 { margin: 0; font-size: 24px; }
.checklist-empty p { margin: 8px 0 0; color: var(--muted); }

.packing-tip { margin-top: 34px; background: var(--coral-soft); }
.packing-tip > span { background: var(--coral); color: #4f2419; transform: rotate(3deg); }

.checklist-faq { margin-top: clamp(68px, 9vw, 96px); }
.faq-heading { margin-bottom: 26px; }
.faq-heading .eyebrow { margin-bottom: 12px; }
.checklist-faq-list { border-top: 1px solid var(--line); }

.checklist-faq-list details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.checklist-faq-list summary {
  min-height: 68px;
  padding: 17px 42px 17px 4px;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

.checklist-faq-list summary::-webkit-details-marker { display: none; }

.checklist-faq-list summary::after {
  position: absolute;
  right: 8px;
  color: var(--mint-deep);
  content: "+";
  font-size: 25px;
  font-weight: 500;
}

.checklist-faq-list details[open] summary::after { content: "−"; }

.checklist-faq-list details p {
  max-width: 780px;
  margin: -3px 0 0;
  padding: 0 42px 22px 4px;
  color: var(--muted);
  line-height: 1.78;
}

.checklist-sources {
  margin-top: 48px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 28px;
  background: var(--surface);
}

.checklist-sources h2 { font-size: clamp(23px, 3.6vw, 31px); }
.checklist-sources > p:not(:first-child) { margin: 13px 0 0; color: var(--muted); line-height: 1.75; }
.checklist-sources ul { margin: 18px 0 0; padding-left: 22px; }
.checklist-sources li + li { margin-top: 7px; }
.checklist-sources a { color: var(--mint-deep); font-weight: 800; text-underline-offset: 4px; }
.checklist-sources small { margin-top: 17px; display: block; color: var(--muted); font-size: 12px; line-height: 1.7; }

.checklist-related { padding: 70px 0; background: var(--mint-deep); color: #fffaf1; }
.checklist-related-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 34px; }
.checklist-related p { margin: 0 0 5px; color: var(--mint-soft); font-size: 12px; font-weight: 900; letter-spacing: .09em; }
.checklist-related h2 { max-width: 620px; margin: 0; font-size: clamp(25px, 4vw, 38px); line-height: 1.35; letter-spacing: -.035em; }
.checklist-related a { min-height: 50px; padding: 12px 18px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: #fffaf1; color: #2e2a26; font-weight: 900; text-decoration: none; }
.checklist-related a span { color: var(--mint-deep); transition: transform 180ms ease; }
.checklist-related a:hover span { transform: translateX(4px); }

@media (max-width: 760px) {
  .checklist-shell { width: min(100% - 32px, 620px); }
  .checklist-hero { padding: 124px 0 60px; }
  .checklist-hero::after { top: 116px; right: -22px; font-size: 150px; }
  .checklist-breadcrumb { margin-bottom: 26px; }
  .checklist-hero-copy h1 { font-size: clamp(38px, 10.5vw, 48px); overflow-wrap: anywhere; }
  .checklist-answer { padding-inline: 0; }
  .school-notice, .packing-tip { grid-template-columns: 42px minmax(0, 1fr); padding: 21px; gap: 14px; }
  .school-notice > span, .packing-tip > span { width: 42px; height: 42px; border-radius: 14px; font-size: 17px; }
  .checklist-progress { padding: 24px 21px; border-radius: 26px; }
  .progress-copy { grid-template-columns: 1fr auto; }
  .progress-copy strong { font-size: 31px; }
  .checklist-group { padding: 22px 19px; border-radius: 26px; }
  .group-heading { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; }
  .group-sticker { width: 42px; height: 42px; border-radius: 14px; }
  .group-heading > small { display: none; }
  .checklist-item { min-height: 76px; padding-block: 14px; grid-template-columns: 28px minmax(0, 1fr); gap: 13px; }
  .checklist-item input { width: 26px; height: 26px; border-radius: 9px; }
  .checklist-faq-list summary { font-size: 16px; }
  .checklist-related-inner { grid-template-columns: 1fr; }
  .checklist-related a { justify-self: start; }
}

@media (max-width: 430px) {
  .progress-copy { display: flex; flex-wrap: wrap; align-items: baseline; }
  .progress-copy p { width: 100%; }
  .progress-copy > span { width: 100%; }
  .checklist-controls { display: none; }
  .js .checklist-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .checklist-controls button { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .checklist-progress progress::-webkit-progress-value,
  .checklist-item input::after { transition: none; }
}

:root[data-site-theme="dark"] .checklist-hero { background: radial-gradient(circle at 88% 18%, rgba(105, 208, 194, .12), transparent 25%), linear-gradient(150deg, var(--paper), var(--cream)); }
:root[data-site-theme="dark"] .checklist-related { background: #1a3b36; }
:root[data-site-theme="dark"] .checklist-item input::after { border-color: #101714; }
