.resource-shell {
  width: min(800px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.resource-article {
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.resource-article > .eyebrow {
  margin-bottom: 18px;
}

.resource-article h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -1.4px;
}

.resource-meta {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
}

.resource-article p {
  margin-bottom: 20px;
}

.resource-intro .resource-lead {
  font-size: 20px;
  line-height: 1.65;
}

.resource-note {
  padding: 13px 17px;
  border-left: 3px solid var(--red);
  background: var(--sage);
  font-size: 15px;
  line-height: 1.65;
}

.resource-section {
  margin-top: 40px;
}

.resource-article h2 {
  margin-bottom: 18px;
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -.6px;
}

.preparation-checklist {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  list-style: none;
}

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

.preparation-checklist label {
  display: flex;
  min-height: 60px;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.6;
}

.preparation-checklist label:hover {
  background: #edf0e7;
}

.preparation-checklist input {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  margin: 3px 0 0;
  accent-color: var(--green);
  cursor: pointer;
}

.station-heading {
  margin-top: 32px;
}

.station-heading > p {
  color: var(--muted);
  font-size: 15px;
}

.station-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.station-table {
  width: 100%;
  min-width: 570px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.5;
}

.station-table th,
.station-table td {
  padding: 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.station-table th {
  background: var(--sage);
  font-weight: 600;
}

.station-table td {
  height: 59px;
}

.station-table th:nth-child(2) {
  width: 15%;
}

.station-table th:last-child,
.station-table td:last-child {
  border-right: 0;
}

.station-table tr:last-child td {
  border-bottom: 0;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.telegram-resource {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.telegram-resource .eyebrow {
  margin-bottom: 16px;
}

.kit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 34px;
  margin: 0 0 22px;
  padding-left: 23px;
}

.group-invitation {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.group-invitation h3 {
  margin-bottom: 12px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.group-invitation .card-link {
  font-size: 16px;
}

.resource-article .print-source {
  margin-top: 30px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .resource-shell {
    width: calc(100% - 40px);
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .breadcrumbs {
    margin-bottom: 32px;
  }

  .resource-article h1 {
    font-size: 36px;
    letter-spacing: -.8px;
  }

  .resource-intro .resource-lead {
    font-size: 18px;
  }

  .resource-article h2 {
    font-size: 28px;
  }

  .resource-section {
    margin-top: 32px;
  }

  .preparation-checklist label {
    gap: 12px;
    padding: 14px;
  }

  .resource-actions .button {
    flex: 1 1 100%;
  }

  .telegram-resource {
    padding: 23px 20px;
  }

  .kit-list {
    grid-template-columns: 1fr;
  }

  .telegram-resource > .button {
    width: 100%;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  body.resource-page {
    background: white;
    color: black;
    font-size: 11pt;
  }

  .resource-page > .skip-link,
  .resource-page > .site-header,
  .resource-page > .site-footer,
  .resource-shell > .breadcrumbs,
  .resource-article > :not(.print-title):not(.print-sheet):not(.print-source),
  .print-sheet .screen-only {
    display: none !important;
  }

  .resource-shell {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .resource-article {
    font-size: 11pt;
    line-height: 1.35;
  }

  .resource-article h1 {
    margin-bottom: 6mm;
    font-size: 22pt;
    line-height: 1.12;
    letter-spacing: -.3pt;
  }

  .resource-article h2 {
    margin-bottom: 3mm;
    color: black;
    font-size: 15pt;
    letter-spacing: 0;
    break-after: avoid;
  }

  .resource-section,
  .station-heading {
    margin-top: 5mm;
  }

  .preparation-checklist {
    border: 0;
    background: white;
  }

  .preparation-checklist li + li {
    border: 0;
  }

  .preparation-checklist li {
    break-inside: avoid;
  }

  .preparation-checklist label {
    min-height: 0;
    gap: 3mm;
    padding: 1.8mm 0;
    color: black;
    font-size: 10pt;
    line-height: 1.35;
  }

  .preparation-checklist input {
    width: 3.5mm;
    height: 3.5mm;
    flex: 0 0 3.5mm;
    margin-top: .2mm;
    accent-color: black;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .station-table-wrap {
    overflow: visible;
    border: 1px solid #777;
    border-radius: 0;
    break-inside: avoid;
  }

  .station-table {
    min-width: 0;
    font-size: 9pt;
  }

  .station-table th,
  .station-table td {
    padding: 2mm;
    border-color: #777;
    color: black;
    background: white;
  }

  .station-table td {
    height: 10mm;
  }

  .resource-article .print-source {
    margin-top: 4mm;
    color: black;
    font-size: 8pt;
    line-height: 1.35;
  }
}
