.sp-main {padding: 2.1rem 0 4rem}
.sp-main .crumb {display: flex; flex-wrap: wrap; gap: .55rem}
.sp-main h1 {font-size: clamp(2.45rem,5.2vw,4.5rem); line-height: 1.05; margin: 1rem 0 .7rem}
.sp-intro {max-width: 70ch; margin: 0 0 1.75rem}
.sp-layout {display: grid; grid-template-columns: minmax(15rem,.85fr) minmax(0,2.15fr); align-items: start; gap: clamp(1rem,3vw,2.4rem)}
#sp-settings {background: #e8eee2; border: 1px solid #c5cfbf; border-radius: 5px; padding: 1.35rem}
#sp-settings h2 {font: normal 1.7rem Georgia,serif; margin: 0 0 1.1rem}
#sp-settings label,.picker legend {display: block; font-weight: 650; margin: .85rem 0 .25rem}
#sp-settings select,#sp-settings textarea {width: 100%; padding: .55rem .65rem; border: 1px solid #83988a; border-radius: 4px; background: #fff; color: #203d33; font: inherit}
#sp-settings textarea {display: block; resize: vertical; min-height: 5rem}
.sp-main fieldset {min-width: 0; margin: 0; padding: 0; border: 0}
#sp-settings select:disabled,#sp-settings textarea:disabled {color: #627269; background: #f4f6f1}
.hint,.error {font-size: .875rem; line-height: 1.4; margin: .4rem 0 0}
.error {color: #85371f; font-weight: 600}
.error:empty,[hidden] {display: none!important}
.link-button {margin-top: .55rem; padding: .25rem 0; background: none; border: 0; color: #244a39; font: inherit; text-decoration: underline; cursor: pointer}
.sr-only,.switcher input {position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap}
.picker legend {margin: 0 0 .45rem; padding: 0}
.switcher {display: flex; flex-wrap: wrap; gap: .4rem}
.switcher span {display: block; padding: .45rem .9rem; border: 1px solid #859589; border-radius: 4px; background: #fff; color: #244a39; cursor: pointer}
.switcher input:checked + span {color: #163b29; background: #dfe9d9; border-color: #375b46; box-shadow: inset 0 -3px #375b46; font-weight: 650}
.sp-main :focus-visible,.switcher input:focus-visible + span {outline: 3px solid #916120; outline-offset: 3px}
.actions,.print-buttons {display: flex; align-items: center; flex-wrap: wrap; gap: .5rem}
.actions {justify-content: space-between; margin: .85rem 0 .65rem}
#status {font-size: .95rem; margin: 0}
.print-buttons button {background: #244a39; color: white; border: 1px solid #244a39; border-radius: 4px; padding: .5rem .8rem; font: inherit; font-weight: 650; cursor: pointer}
.print-buttons .secondary {background: white; color: #244a39}
.print-buttons button:disabled {opacity: .52; cursor: default}
.sp-paper {background: #fff; border: 1px solid #cbd2bd; padding: clamp(.85rem,2.5vw,1.7rem); border-radius: 3px; --row: 2.35rem}
.sp-paper.early {--row: 3.05rem}
.sp-paper h2 {font: normal clamp(1.75rem,3.3vw,2.5rem)/1.12 Georgia,serif; margin: 0}
.sheet-meta {margin: .35rem 0 .7rem; padding-bottom: .65rem; border-bottom: 2px solid #526b58; font-size: .9rem; max-width: none}
.identity {display: flex; gap: .7rem 2.3rem; flex-wrap: wrap; font-size: .95rem; margin: .8rem 0}
.identity i {display: inline-block; width: 7em; border-bottom: 1px solid #67766b}
.identity span:last-child i {width: 5em}
.directions {font-size: 1rem; margin: .8rem 0 1rem; max-width: 70ch}
.sp-paper table {border-collapse: collapse; table-layout: fixed; width: 100%; color: #1f3328}
.sp-paper th {font: 650 .9rem/1.3 'Segoe UI',sans-serif; text-align: left; border-bottom: 1px solid #718676; padding: .35rem .3rem}
.sp-paper td {overflow-wrap: anywhere; padding: .4rem .3rem; height: var(--row); vertical-align: middle; border-bottom: 1px solid #d8ded8; font: 1.15rem/1.3 Georgia,serif}
.sp-paper .number {width: 2.2rem; color: #48584d; font: normal .92rem 'Segoe UI',sans-serif}
.sp-paper .model {width: 30%}
.sp-paper .check {width: 3.6rem; text-align: center}
.writing-line {display: block; width: 96%; height: 1.35em; border-bottom: 1px solid #697b6f}
.check-box {display: inline-block; width: .92rem; height: .92rem; border: 1.2px solid #64776a}
.print-instruction {display: none}
@media(max-width:760px){.sp-layout {grid-template-columns: minmax(0,1fr)}.switcher span,.print-buttons button,#sp-settings select {min-height: 44px}}
@media(max-width:440px){.sp-paper .number {width: 1.5rem}.sp-paper .check {width: 2.8rem}.sp-paper th {font-size: .82rem}.sp-paper td {font-size: 1.02rem}.switcher span {padding: .45rem .65rem}}
@page {margin: .55in}
@media print {
  body {background: white; color: black}
  body > header,body > footer,body > .skip,.sp-main > nav,.sp-main > h1,.sp-intro,#sp-settings,.picker,.actions,noscript {display: none!important}
  main.sp-main,.sp-layout,.sp-output,#sheets,.sp-paper {display: block; width: 100%; max-width: none; margin: 0; padding: 0; border: 0}
  .sp-paper {--row: .42in}
  .sp-paper.early {--row: .54in}
  .sp-paper h2 {font-size: 22pt}
  .directions,.identity,.sheet-meta {font-size: 10.5pt}
  .sp-paper th {font-size: 10pt}
  .sp-paper td {font-size: 12.5pt}
  .sp-paper tr {break-inside: avoid; page-break-inside: avoid}
  .sp-paper thead {display: table-header-group}
  .sp-paper .number {width: .37in}
  .sp-paper .check {width: .65in}
  .print-packet .sp-paper[hidden] {display: block!important}
  .print-packet .sp-paper + .sp-paper {break-before: page; page-break-before: always}
  body:not(.ready) .sp-layout {display: none}
  body:not(.ready) .print-instruction {display: block}
}
