main { max-width: 820px; padding-top: 62px; }
h1 { font-size: clamp(40px, 6vw, 64px); max-width: 680px; }
.sheet-intro { max-width: 640px; margin: 0 0 20px; font-size: 17px; }
.sheet-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
#print-sheet, .primary-link { border: 0; border-radius: 5px; background: #1d4234; color: #fff; padding: 11px 15px; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; }
#print-sheet:hover, .primary-link:hover { background: #2b6048; }
.sheet-note { font-size: 13px; margin-bottom: 28px; }
.sheet-section { background: #fffefa; border: 1px solid #c8d5c6; border-radius: 10px; padding: 18px 20px; margin: 0 0 14px; }
.sheet-section h2 { margin: 0 0 10px; }
.sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 15px; }
.sheet-grid label, .note-field { display: block; min-width: 0; font-size: 13px; font-weight: 650; }
.sheet-section input[type="text"], .sheet-section textarea { display: block; width: 100%; margin: 3px 0 0; padding: 5px 8px; border: 1px solid #a1b3a1; border-radius: 4px; background: #fff; color: #20342f; font: 14px/1.4 "Segoe UI", Arial, sans-serif; }
.sheet-section textarea { resize: vertical; }
.sheet-section input[type="checkbox"], .sheet-section input[type="radio"] { margin: 0 6px 0 0; accent-color: #305940; }
.sheet-checks { list-style: none; padding: 0; margin: 0 0 6px; }
.sheet-checks label { display: flex; align-items: baseline; }
.note-field { margin-top: 9px; }
.note-field span { display: block; font-weight: 400; }
.sheet-decision { display: flex; flex-wrap: wrap; gap: 0 15px; margin: 0 0 9px; padding: 0; border: 0; }
.sheet-decision legend { font-size: 13px; font-weight: 650; }
.sheet-caution, .sheet-source { margin: 12px 0 0; font-size: 13px; }
.sheet-next { margin-top: 28px; padding-top: 15px; border-top: 1px solid #c8d5c6; }
.sheet-next h2 { margin: 0; }
.sheet-next p { margin: 4px 0 14px; }
.sheet-next a { display: inline-block; margin: 0 12px 10px 0; }
.sheet-section .print-field { display: none; }
.print-only { display: none; }

@media screen and (max-width: 560px) {
  main { padding-top: 42px; }
  .sheet-grid { grid-template-columns: 1fr; }
  .sheet-section { padding: 14px; }
}

@page { margin: 12mm 14mm; }

@media print {
  body { background: #fff; color: #161e1a; font-size: 10pt; line-height: 1.28; }
  main { max-width: none; padding: 0; }
  .screen-only { display: none !important; }
  .print-only { display: block; }
  h1 { max-width: none; margin: 0 0 4pt; font-size: 26pt; letter-spacing: -.035em; }
  .sheet-intro { max-width: none; margin: 0 0 9pt; font-size: 10pt; }
  .sheet-section { break-inside: avoid; padding: 8pt 9pt; margin-bottom: 7pt; border-color: #88958b; border-radius: 3pt; background: #fff; }
  .sheet-section h2 { margin: 0 0 5pt; font-size: 14pt; }
  .sheet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5pt 10pt; }
  .sheet-grid label, .note-field, .sheet-decision legend { font-size: 9pt; }
  .sheet-section input[type="text"], .sheet-section textarea { font-size: 10pt; line-height: 1.2; padding: 2pt 4pt; margin-top: 2pt; border-color: #88958b; border-radius: 1pt; }
  .sheet-section textarea { resize: none; }
  .sheet-section :is(input, textarea).has-print-field { display: none; }
  .sheet-section .print-field { display: block; min-height: 18pt; margin-top: 2pt; padding: 2pt 4pt; border: 1px solid #88958b; border-radius: 1pt; font: 10pt/1.2 "Segoe UI", Arial, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
  .sheet-section textarea + .print-field { min-height: 30pt; }
  .sheet-checks li { margin-bottom: 2pt; }
  .sheet-decision { margin-bottom: 4pt; }
  .note-field { margin-top: 4pt; }
  .sheet-caution, .sheet-source { font-size: 9pt; margin-top: 5pt; }
}
