.arm-field article { max-width: 76ch }
.arm-field section { margin-block: 2.4rem }
.arm-field table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums }
.arm-field th, .arm-field td { padding: .65rem .5rem; border-bottom: 1px solid var(--cp-line); text-align: end }
.arm-field th:first-child { text-align: start }
.arm-field tfoot { font-weight: bold }
.arm-field li { margin-block: .6rem }
@media (max-width: 480px) {
  .arm-field th, .arm-field td { padding: .45rem .25rem; font-size: .9rem }
  .arm-field th[scope="row"] { overflow-wrap: anywhere; hyphens: auto }
}

.arm-sheet { padding: clamp(14px, 3vw, 26px); border: 1px solid var(--cp-line); border-radius: 10px }
.arm-sheet h2 { margin-top: 0 }
.arm-sheet button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--cp-link); border-radius: 5px; background: transparent; color: var(--cp-link); font: inherit; cursor: pointer }
.arm-sheet-fields, .arm-sheet-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 20px 0 }
.arm-sheet-fields > :last-child { grid-column: 1 / -1 }
.arm-sheet-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0 }
.arm-sheet dt { font-weight: 600 }
.arm-sheet dd { min-height: 1.3em; margin: 0; border-bottom: 1px solid var(--cp-line) }
.arm-sheet-grid { overflow-x: auto }
.arm-sheet table { min-width: 470px; table-layout: fixed }
.arm-sheet col:nth-child(1) { width: 10% }
.arm-sheet col:nth-child(2) { width: 17% }
.arm-sheet col:nth-child(3) { width: 21% }
.arm-sheet col:nth-child(4) { width: 16% }
.arm-sheet col:nth-child(5) { width: 36% }
.arm-sheet th, .arm-sheet td { padding: .4rem; border: 1px solid var(--cp-line); text-align: start; overflow-wrap: anywhere; hyphens: auto }
@media screen and (max-width: 480px) {
  .arm-sheet-fields, .arm-sheet-counts { grid-template-columns: minmax(0, 1fr) }
}
@page { margin: 12mm }
@media print {
  .cp-page { background: white; color: black; color-scheme: light; font: 10pt/1.2 Arial, sans-serif; --cp-line: #555; --cp-muted: #222; --cp-link: #222 }
  .cp-main, .arm-field article { width: 100%; max-width: none; margin: 0; padding: 0 }
  .arm-sheet { break-before: page; break-inside: avoid; break-after: page; margin: 0 !important; padding: 0; border: 0 }
  .arm-sheet h2 { font-size: 19pt; margin: 0 0 3mm }
  .arm-sheet p { margin: 0 0 4mm }
  .arm-sheet button, #mera-analytics-settings, #mera-analytics-banner { display: none !important }
  .arm-sheet-grid { overflow: visible }
  .arm-sheet table { min-width: 0 }
  .arm-sheet th, .arm-sheet td { padding: 1.5mm; font-size: 10pt }
  .arm-sheet tbody tr { height: 10mm }
  .arm-sheet-fields, .arm-sheet-counts { margin: 3mm 0 5mm; gap: 2mm 7mm }
  .arm-sheet dd { min-height: 6mm }
  .arm-sheet h3 { font-size: 12pt; margin: 4mm 0 2mm }
  .print-arm-sheet body > :not(main), .print-arm-sheet .arm-field article > :not(.arm-sheet) { display: none !important }
  .print-arm-sheet .arm-sheet { break-before: auto; break-after: auto }
}
