.checklists-shell {
  width: min(100% - 2 * var(--page), 1180px);
  margin: 0 auto 96px;
}

.checklists-hero {
  padding: clamp(44px, 7vw, 96px) 0 46px;
  border-bottom: 1px solid var(--line);
}

.checklists-catalog .checklists-hero { padding: clamp(24px, 3vw, 36px) 0 34px; }
.checklists-catalog .checklists-hero > p { margin-top: 18px; }

.checklists-hero .eyebrow { margin: 0 0 18px; }
.checklists-hero h1 {
  max-width: 840px;
  margin: 0;
  font: 650 clamp(38px, 5.5vw, 72px)/1.06 var(--display);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.checklists-hero > p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
}

.checklists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 28px;
}
.checklists-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  background: #fff;
}
.checklists-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 8px 16px;
  margin-bottom: 52px;
  color: var(--accent);
  font: 650 13px/1.4 var(--mono);
}
.checklists-card-status { border: 1px solid currentColor; padding: 3px 7px; font-size: 11px; }
.checklists-card h2 {
  margin: 0;
  font: 650 clamp(25px, 3vw, 36px)/1.15 var(--display);
  letter-spacing: -.03em;
}
.checklists-card h2 a { color: inherit; text-decoration: none; }
.checklists-card h2 a:hover, .checklists-card h2 a:focus-visible { color: var(--accent); }
.checklists-card > p { max-width: 54ch; margin: 14px 0 24px; color: var(--muted); }
.checklists-card-link { margin-top: auto; color: var(--accent); font-weight: 650; text-underline-offset: 4px; }
.checklists-card-link span { display: inline-block; margin-left: 4px; }
.checklists-card--unavailable { border-color: #d9d9d9; background: #f4f4f4; color: #626262; }
.checklists-card--unavailable .checklists-card-top,
.checklists-card--unavailable > p,
.checklists-card--unavailable .checklists-card-link { color: #626262; }

.checklists-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; color: var(--muted); font-size: 14px; }
.checklists-breadcrumbs a { color: var(--ink); text-underline-offset: 4px; }
.checklist-detail .checklists-hero { padding-top: 54px; }
.checklists-progress-box { max-width: 680px; margin-top: 38px; }
.checklists-progress-label { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 9px; font-size: 14px; }
.checklists-progress-label strong { font-family: var(--mono); color: var(--accent); }
.checklists-progress-box progress { display: block; width: 100%; height: 9px; appearance: none; border: 0; border-radius: 0; background: var(--panel); }
.checklists-progress-box progress::-webkit-progress-bar { background: var(--panel); }
.checklists-progress-box progress::-webkit-progress-value { background: var(--accent); }
.checklists-progress-box progress::-moz-progress-bar { background: var(--accent); }
.checklists-progress-box small { display: block; margin-top: 10px; color: var(--muted); }
.checklists-progress-box small[hidden] { display: none; }

.checklists-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(34px, 6vw, 90px); padding-top: 54px; }
.checklists-toc { position: sticky; top: 24px; align-self: start; display: grid; gap: 14px; font-size: 14px; }
.checklists-toc strong { margin-bottom: 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.checklists-toc a { color: var(--muted); text-decoration: none; line-height: 1.35; }
.checklists-toc a:hover, .checklists-toc a:focus-visible { color: var(--accent); text-decoration: underline; }
.checklists-content { min-width: 0; }
.checklists-section { scroll-margin-top: 24px; margin-bottom: 76px; }
.checklists-section > header { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; margin-bottom: 24px; }
.checklists-section-index { color: var(--accent); font: 650 14px/2 var(--mono); }
.checklists-section h2 { margin: 0; font: 650 clamp(25px, 3vw, 34px)/1.2 var(--display); letter-spacing: -.025em; }
.checklists-section header p { margin: 9px 0 0; color: var(--muted); }
.checklists-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklists-item { padding: 23px 0 25px; border-bottom: 1px solid var(--line); }
.checklists-item-main { display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: start; gap: 14px; }
.checklists-item input { width: 21px; height: 21px; margin: 3px 0 0; accent-color: var(--accent); cursor: pointer; }
.checklists-item label { cursor: pointer; font-size: 18px; font-weight: 650; line-height: 1.4; }
.checklists-item:has(input:checked) label { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.checklists-item > p { max-width: 76ch; margin: 10px 0 0 39px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.checklists-resources { display: flex; flex-wrap: wrap; gap: 7px 16px; margin: 13px 0 0 39px; font-size: 13px; }
.checklists-resources span { color: var(--muted); }
.checklists-resources a { color: var(--accent); text-underline-offset: 3px; }
.checklists-end { display: grid; gap: 22px; padding: 30px 0; border-top: 2px solid var(--ink); }
.checklists-end p { margin: 0; }
.checklists-end a { color: var(--accent); text-underline-offset: 4px; }
.checklists-end div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checklists-end div span { color: var(--muted); }

@media (max-width: 760px) {
  .checklists-grid { grid-template-columns: 1fr; }
  .checklists-card { min-height: 245px; }
  .checklists-card-top { margin-bottom: 28px; }
  .checklists-layout { display: block; padding-top: 32px; }
  .checklists-toc { position: static; display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 48px; }
  .checklists-toc strong { width: 100%; }
  .checklists-section { margin-bottom: 56px; }
  .checklists-section > header { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
}

@media (max-width: 480px) {
  .checklists-hero h1 { font-size: 38px; }
  .checklists-item label { font-size: 16px; }
  .checklists-item > p, .checklists-resources { margin-left: 0; }
}
