/* ===== PRINT VIEW: reproduces the original Asset Management System Asset Registration form ===== */
.print-page {
  display: none;
}
@media print {
  .no-print { display: none !important; }
  .print-page { display: block; }
  body, html { margin: 0; padding: 0; background: #fff; }
  /* Page footers rendered by the paged-media margin box — never overlaps content */
  @page { size: A4; margin: 12mm 13mm; @bottom-center { content: "Page " counter(page) " of " counter(pages); font-size: 9pt; color: #000; } }
  .pf-page { display: none !important; }
}

@media screen {
  .print-page {
    display: block;
    background: #fff;
    padding: 0;
  }
  .print-sheet {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 20px rgba(0,0,0,.12);
    margin: 0 auto 30px;
    width: 210mm;
    min-height: 296mm;
    padding: 14mm 13mm;
    position: relative;
  }
}

.print-sheet {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 11pt;
  color: #000;
  line-height: 1.3;
}
.print-sheet h1, .print-sheet h2, .print-sheet h3, .print-sheet p { margin: 0; padding: 0; }

/* Header */
.ph {
  display: flex; align-items: flex-start; justify-content: space-between;
  border-bottom: 3px solid #000;
  padding-bottom: 8px;
  margin-bottom: 2px;
}
.ph .brand { font-family: 'Segoe UI', Arial, sans-serif; font-weight: 700; font-size: 15pt; color: #000; letter-spacing: .5px; }
.ph .ver { font-size: 9.5pt; text-align: right; white-space: nowrap; margin-top: 4px; }
.ph-title { margin: 8px 0 4px; }
.ph-title .t2 { font-size: 16pt; font-weight: 700; letter-spacing: 2px; }
.ph-rule { border-bottom: 2px solid #000; margin: 4px 0 10px; }

/* Section header */
.sec {
  border: 1.6px solid #000; border-top-width: 3px;
  margin: 12px 0;
}
.sec-hdr {
  border-bottom: 1.6px solid #000; background: #f0f0f0;
  padding: 4px 10px; font-size: 12pt; font-weight: 700;
  page-break-after: avoid; break-after: avoid;
}
.sec-hdr .no { font-weight: 900; }
.sec-hdr .hint { float: right; font-weight: 400; font-size: 9.5pt; color: #333; }
.sec-body { padding: 8px 10px; }

/* Field grid + table */
table.pf { width: 100%; border-collapse: collapse; table-layout: fixed; }
table.pf td, table.pf th {
  border: 1px solid #000; padding: 4px 8px; vertical-align: top;
}
table.pf .fl { display: block; font-size: 8.8pt; font-weight: 700; color: #222; }
table.pf .fv { display: block; min-height: 17px; font-size: 10.5pt; }
table.pf .fv.min { min-height: 34px; }
table.pf.rowhead td:first-child, table.pf.rowhead th:first-child {
  background: #f0f0f0; font-weight: 700; font-size: 8.8pt;
}

/* Section B label box */
.label-box {
  border: 1.6px solid #000; min-height: 62px; margin-top: -1px;
  display: flex; align-items: center; justify-content: center;
  color: #555; font-size: 10pt;
}
.prepend-box { border: 1px solid #000; border-bottom: none; }

/* checkbox rows */
.ck { display: flex; align-items: center; gap: 8px; font-size: 10.5pt; padding: 2px 0; }
.ck .sq { width: 13px; height: 13px; border: 1.4px solid #000; display: inline-block; flex: 0 0 13px; }
.ck .sq.tick { background: #000; }
.ck .sq.tick::after { content: '✓'; color: #fff; font-size: 11px; line-height: 13px; padding-left: 1px; }

/* Disposal codes two-col */
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.codes .col h4 { font-size: 10.5pt; margin-bottom: 2px; }
.codes .col .chint { font-size: 9pt; color: #333; margin-bottom: 6px; }
.code-line { display: flex; gap: 7px; align-items: flex-start; padding: 2px 0; font-size: 9.5pt; }
.code-badge { width: 16px; height: 16px; border: 1.4px solid #000; border-radius: 50%; flex: 0 0 16px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 8.5pt; margin-top: 1px; }
.code-badge.sel { background: #000; color: #fff; }
.code-txt { line-height: 1.35; }

/* Two-column signature blocks */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.sig-col h4 { font-size: 9.5pt; letter-spacing: .5px; margin-bottom: 6px; border-bottom: 1px solid #000; }
.sig-line { display: flex; gap: 8px; font-size: 10pt; padding: 3px 0; }
.sig-line .k { font-weight: 700; flex: 0 0 82px; }
.sig-line .v { flex: 1; border-bottom: 1px solid #999; min-height: 16px; }

/* Footer */
.pf-page { position: absolute; bottom: 10mm; left: 0; right: 0; text-align: center; font-size: 9pt; }
.page-break { page-break-after: always; }

/* print action bar (screen only) */
.print-bar { text-align: right; margin: 14px 0 20px; }

/* FORM://FA stamp (Page 1 top-right) + P/S code badges (Page 2) */
.ph-stamp { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ph-stamp .ver { margin: 0; line-height: 1.15; }
.form-stamp { border: 1.6px solid #000; width: 118px; text-align: center; padding: 6px 4px 5px; }
.form-stamp .fs-label { display: block; font-size: 9pt; font-weight: 700; letter-spacing: 2px; }
.form-stamp .fs-code { display: block; font-size: 16pt; font-weight: 700; line-height: 1.05; }
.cs-badge { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border: 1.4px solid #000; border-radius: 50%; font-size: 8.5pt; font-weight: 700; margin-right: 5px; }
