.resource-wrap { max-width: 55rem; }
.article-intro { padding: clamp(2.6rem, 7vw, 5.3rem) 0 2rem; border-bottom: 1px solid var(--line); }
.article-intro .eyebrow a { text-underline-offset: .22em; }
.article-intro h1 { max-width: 20ch; font-size: clamp(2.55rem, 6vw, 4.8rem); }
.standfirst { max-width: 46rem; margin-top: 1.35rem; font-size: clamp(1.05rem, 2vw, 1.24rem); }
.resource-page article { margin-block-end: clamp(3rem, 6vw, 5rem); }
.resource-page article section { margin-block: clamp(2.1rem, 5vw, 3.6rem); }
.resource-page article h2 { font-size: clamp(1.85rem, 4.3vw, 2.9rem); }
.resource-page article :is(p, dl, ul) { max-width: 74ch; margin-block: .85rem; }
.resource-page article a { color: var(--red); text-underline-offset: .2em; }
.checks dt { font-weight: 700; margin-top: 1rem; }
.checks dd { margin: .15rem 0 .8rem; }
.resource-page li { margin-block-end: .5rem; }
.tool-box, .print-sheet { border: 1px solid var(--line); border-radius: .6rem; background: var(--paper); padding: clamp(.9rem, 3.4vw, 2rem); }
.tool-box { margin-top: 1.6rem; }
.option-grid { display: grid; gap: .8rem; }
.option-grid fieldset { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: .35rem; padding: .8rem; }
.option-grid legend { padding: 0 .35rem; font-weight: 700; }
.tool-box label { display: block; font-size: .875rem; font-weight: 600; }
.tool-box :is(input,select), .check-table textarea { width: 100%; min-width: 0; padding: .5rem; min-height: 2.75rem; border: 1px solid #a99c8f; border-radius: .25rem; background: white; color: var(--ink); font: inherit; }
.tool-box select { appearance: none; padding-right: 1.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%, transparent 50%); background-size: .3rem .3rem; background-position: right .75rem center, right .45rem center; background-repeat: no-repeat; }
.policy-line { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: .55rem; }
.policy-line + .policy-line, .option-grid input + label { margin-top: .7rem; }
.loss-field { margin-top: 1rem; max-width: 22rem; }
.answer { display: block; margin-top: 1rem; padding: .85rem 1rem; border-inline-start: 3px solid var(--red); background: var(--sand); font-variant-numeric: tabular-nums; }
.sheet-head .button { cursor: pointer; }
.check-table { border-collapse: collapse; table-layout: fixed; width: 100%; margin-top: 1.2rem; font-size: .875rem; line-height: 1.3; }
.check-table :is(th,td) { padding: .48rem .28rem; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.check-table textarea { resize: vertical; display: block; font-size: 1rem; }
.print-note, .print-credit { display: none; }
.source { color: var(--muted); font-size: .9rem; }
.roof-fields { display: grid; gap: .85rem; }
.roof-example td { font-variant-numeric: tabular-nums; }
.resource-page .closing p { max-width: 47rem; margin-inline: auto; }
@media(min-width: 40rem) {
  .roof-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
  .option-grid { grid-template-columns: 1fr 1fr; }
  .check-table :is(th,td) { padding: .55rem .6rem; }
  .sheet-head { display: flex; align-items: start; gap: 1rem; justify-content: space-between; }
  .sheet-head .button { flex-shrink: 0; }
}
@media print {
  @page { margin: .55in; }
  body { background: white; color: black; }
  body:has(.print-sheet) :is(.site-header, .site-footer, .skip-link, .article-intro, .closing, .source, #print-checklist, article > section:not(.print-sheet)) { display: none; }
  .resource-page .wrap { width: 100%; max-width: none; }
  .resource-page article, .resource-page article .print-sheet { margin: 0; }
  .print-sheet { padding: 0; border: 0; background: white; }
  .print-credit { display: block; }
  .check-table textarea { display: none; }
  .print-note { display: block; min-height: 2.75rem; white-space: pre-wrap; overflow-wrap: anywhere; }
  .check-table tr { break-inside: avoid; }
  .check-table :is(th,td) { border: 1px solid #777; padding: .35rem; }
}
