.resource-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 88px;
  color: var(--color-dark);
}
.resource-page p,
.resource-page li,
.resource-page dt,
.resource-page dd {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}
.resource-page p { margin: 0 0 16px; }
.resource-page section { padding-top: 34px; }
.resource-page h2 { margin: 0 0 14px; font-size: 36px; font-weight: 700; line-height: 1.25; }
.resource-page h3 { margin: 24px 0 8px; font-size: 26px; font-weight: 600; line-height: 1.35; }
.resource-page ul,
.resource-page ol { padding-left: 24px; margin: 0 0 18px; }
.resource-page li + li { margin-top: 8px; }
.resource-page a { color: var(--color-primary); text-underline-offset: 3px; overflow-wrap: anywhere; }
.resource-page .motion-toggle { color: #fff; text-decoration: none; }
.resource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 24px 0; }
.resource-fields { margin: 16px 0; }
.resource-fields dt { font-weight: 600; margin-top: 12px; }
.resource-fields dd { margin: 4px 0 0; }
.resource-page .resource-note { padding: 24px; border-left: 5px solid var(--color-primary); background: #eaf5fb; }
.resource-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.resource-table th, .resource-table td { border: 1px solid var(--color-input-border); padding: 10px; text-align: left; overflow-wrap: anywhere; }
.resource-table th { font-weight: 600; }
.resource-table caption { text-align: left; font-weight: 600; margin-bottom: 12px; }
.resource-versions { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 12px 0 0; }
.resource-versions a { display: inline-flex; align-items: center; min-height: 24px; color: var(--color-primary); font-size: 0.875rem; font-weight: 600; text-underline-offset: 3px; }
.forms-list__item .resource-versions { padding: 0 22px 20px 78px; }
.resource-page figure { margin: 24px 0; }
.resource-page figure img { display: block; max-width: 100%; height: auto; }
.resource-page figcaption { margin-top: 12px; font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--color-muted); }
@media (max-width: 640px) {
  .resource-page { width: calc(100% - 28px); padding: 44px 0 64px; }
  .resource-page h2 { font-size: 28px; }
  .resource-page h3 { font-size: 22px; }
}
@media (max-width: 480px) {
  .forms-list__item .resource-versions { padding: 0 16px 16px 72px; }
}
@media print {
  .site-header, .site-footer, .site-skip-link, .chat-panel, .chat-launcher, .site-skeleton, .resource-actions { display: none !important; }
  .page-hero { padding: 24px 0; background: #fff; }
  .page-hero__title { color: #000; }
  .resource-page { width: 100%; padding: 0; color: #000; }
  .resource-page section, .resource-page h2, .resource-page h3 { break-inside: avoid-page; }
}
