.template-page { background: #fff; }
.template-page h1, .template-page h2, .template-page h3 { hyphens: none; overflow-wrap: normal; }
.template-header, .template-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.template-header-link { font-size: 14px; font-weight: 700; color: var(--brand-700); padding-block: 10px; text-underline-offset: 4px; }
.template-intro { padding-block: 26px 48px; }
.template-breadcrumb { display: flex; gap: 12px; color: var(--ink-600); font-size: 12px; margin-bottom: 34px; }
.template-intro .eyebrow { margin-bottom: 16px; }
.template-page h1 { font-size: clamp(32px, 4.1vw, 54px); max-width: 850px; letter-spacing: -.045em; line-height: 1.13; margin: 0; }
.template-lead { color: var(--ink-600); font-size: 18px; line-height: 1.6; max-width: 64ch; margin: 22px 0 26px; }
.template-downloads { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.template-downloads .button { display: flex; flex-direction: column; gap: 3px; padding: 13px 26px; min-width: 215px; border-radius: 12px; line-height: 1.45; }
.download-format { font-size: 11px; font-weight: 400; }
.template-pdf-button { background: #fff; border: 1px solid var(--brand-700); color: var(--brand-700); }
.template-pdf-button:hover { background: var(--brand-50); }
.template-online-link { display: inline-flex; gap: 16px; padding: 15px; font-weight: 700; color: var(--brand-700); text-underline-offset: 4px; }
.template-file-note { font-size: 12px; color: var(--ink-600); margin: 18px 0 0; }
.template-overview { padding-block: 54px; background: #f1f6f4; border-block: 1px solid #dce8e4; }
.template-overview-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: center; }
.template-preview { margin: 0 auto; width: min(100%, 360px); }
.template-preview img { display: block; width: 100%; height: auto; border: 1px solid #d1ddd8; box-shadow: 0 8px 25px #1d243110; }
.template-preview figcaption { text-align: center; font-size: 11px; color: var(--ink-600); margin-top: 14px; }
.template-preview a, .template-content a:not(.button), .template-overview-copy a { color: var(--brand-700); text-underline-offset: 3px; }
.template-page h2 { font-size: clamp(25px, 2.5vw, 34px); line-height: 1.22; margin: 0 0 22px; letter-spacing: -.035em; }
.template-page h3 { font-size: 19px; margin: 28px 0 12px; }
.template-overview-copy p, .template-content p { color: var(--ink-600); line-height: 1.75; }
.template-steps { padding-left: 23px; color: var(--ink-600); }
.template-steps li { padding-left: 8px; margin-bottom: 20px; line-height: 1.7; }
.template-steps strong { color: var(--ink-900); }
.template-callout { border-left: 3px solid var(--brand-600); padding: 12px 0 12px 18px; }
.template-callout strong { color: var(--ink-900); }
.template-content { max-width: 940px; }
.template-section { padding-block: 55px; border-bottom: 1px solid var(--ink-200); }
.template-checklist { margin: 28px 0; }
.category-group { border-bottom: 1px solid var(--ink-200); }
.category-group:first-child { border-top: 1px solid var(--ink-200); }
.category-group summary { cursor: pointer; padding: 18px 12px; font-size: 15px; font-weight: 700; color: var(--ink-900); }
.category-group summary span { float: right; font-size: 11px; font-weight: 400; color: var(--ink-600); padding-left: 12px; padding-top: 3px; }
.category-group[open] { background: #f6f9f7; }
.category-group ul { columns: 2; column-gap: 36px; margin: 0; padding: 0 24px 20px 44px; }
.category-group li { font-size: 14px; break-inside: avoid; margin-bottom: 9px; padding-left: 3px; color: var(--ink-600); }
.template-periods { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--ink-200); margin-block: 25px; }
.template-periods div { padding: 20px 16px; }
.template-periods div + div { border-left: 1px solid var(--ink-200); }
.template-periods span, .template-periods strong { display: block; }
.template-periods span { font-size: 12px; color: var(--ink-600); margin-bottom: 8px; }
.template-periods strong { font-size: 16px; color: var(--brand-700); }
.template-formats { margin: 0; }
.template-formats div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--ink-100); }
.template-formats dt { font-weight: 700; }
.template-formats dd { margin: 0; color: var(--ink-600); line-height: 1.7; }
.template-faq details { border-top: 1px solid var(--ink-200); }
.template-faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; }
.template-faq details p { margin: 0 0 23px; }
.template-sources { padding-block: 28px; }
.template-page .template-sources h2 { font-size: 16px; margin-bottom: 10px; letter-spacing: 0; }
.template-sources p { font-size: 12px; }
.template-closing { padding: 36px; border: 1px solid #dce8e4; background: #f1f6f4; border-radius: var(--radius-md); margin-block: 20px 70px; }
.template-closing .button { margin-top: 14px; }
.template-footer { flex-wrap: wrap; font-size: 12px; color: var(--ink-600); }
.template-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 760px) {
  .template-overview-grid { grid-template-columns: 1fr; gap: 35px; }
  .template-overview-copy { grid-row: 1; }
  .template-preview { width: min(100%, 340px); }
  .template-intro { padding-bottom: 34px; }
  .template-header-link { font-size: 12px; max-width: 112px; text-align: right; }
  .template-overview { padding-block: 36px; }
  .template-page h1 { max-width: 600px; }
  .template-lead { font-size: 16px; }
  .template-section { padding-block: 38px; }
  .template-formats div { grid-template-columns: 1fr; gap: 7px; }
  .template-closing { padding: 25px 20px; }
}
@media (max-width: 479px) {
  .template-header { gap: 12px; }
  .template-downloads { display: grid; gap: 10px; }
  .template-downloads .button { min-width: 0; width: 100%; }
  .template-online-link { justify-content: center; }
  .template-page h1 { font-size: 30px; }
  .template-page h2 { font-size: 25px; }
  .template-lead, .template-overview-copy p:not(.eyebrow), .template-content p:not(.eyebrow):not(.template-file-note), .template-steps, .template-formats { font-size: 16px; }
  .template-page .template-file-note { font-size: 11px; }
  .category-group summary { padding-inline: 3px; font-size: 14px; }
  .category-group summary span { float: none; display: block; padding: 5px 0 0 19px; }
  .category-group ul { columns: 1; padding-left: 28px; }
  .template-periods { grid-template-columns: 1fr; }
  .template-periods div { padding: 14px 0; }
  .template-periods div + div { border-left: 0; border-top: 1px solid var(--ink-200); }
  .template-periods span { margin-bottom: 4px; }
  .template-closing .button { width: 100%; white-space: normal; text-align: center; }
}
@media print {
  .site-header, .site-footer, .template-downloads, .template-closing, .skip-link { display: none; }
  .template-overview-grid { display: block; }
  .template-preview { display: none; }
  .template-section, .template-overview { padding-block: 20px; }
  .template-page h1 { font-size: 28px; }
  .template-page h2 { font-size: 21px; }
}

.template-languages { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.template-languages details { max-width: 100%; }
.template-languages summary { cursor: pointer; color: var(--teal-700, #087f79); }
.template-languages ul { display: flex; flex-wrap: wrap; gap: .5rem 1rem; list-style: none; padding: .75rem 0; }
.template-languages a[aria-current="page"] { font-weight: 700; }
