.document-model [hidden], .handover-notice[hidden] { display: none !important; }
.document-model .signed-copy-panel { margin-top: 18px; }
.signed-copy-panel { padding-top: 18px; border-top: 1px solid #e5eaf3; }
.paperwork-status { display: inline-flex; padding: 6px 10px; border-radius: 7px; font-size: 12px; font-weight: 600; }
.paperwork-status.is-pending { background: #fff5dd; color: #87590b; }
.paperwork-status.is-complete { background: #e8f5ef; color: #247356; }
.paperwork-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.paperwork-picker { position: relative; cursor: pointer; white-space: normal; text-align: center; }
.paperwork-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.paperwork-picker:focus-within { outline: 3px solid #94b2ff; outline-offset: 3px; }
.signed-copy-panel > small, .handover-panel small { display: block; font-size: 12px; color: #697a91; line-height: 1.6; margin-top: 12px; }
.signed-copy-file { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; border-bottom: 1px solid #e7ecf4; }
.signed-copy-file > div { min-width: 0; }
.signed-copy-file b { font-size: 13px; overflow-wrap: anywhere; }
.signed-copy-file small { display: block; color: #697a91; margin-top: 6px; font-size: 12px; }
.signed-copy-file .paperwork-actions { margin: 0; }
.handover-notice { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border: 1px solid #ead6a8; border-radius: 12px; background: #fffbef; color: #795514; margin: 0 0 28px; }
.handover-notice b { font-size: 15px; }
.handover-notice p { margin: 7px 0 0; line-height: 1.5; color: #856a38; font-size: 13px; }
.handover-notice .btn { flex-shrink: 0; background: #fff; border-color: #e5cd98; color: #795514; }
.handover-content { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 22px; align-items: start; }
.handover-proof, .handover-task { padding: 26px; }
.handover-panel h3 { margin: 16px 0 10px; font-size: 17px; }
.handover-panel p { line-height: 1.6; font-size: 13px; }
.handover-task-check { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: #23364e; font-size: 14px; }
.handover-task-check input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: #0036ff; }
.generated-copy-row { display: block; padding: 24px; border-bottom: 1px solid #e5eaf3; }
.generated-copy-heading { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.generated-copy-heading .paperwork-actions { margin: 0; }
.generated-copy-row:last-child { border-bottom: 0; }
@media(max-width: 760px) {
  .handover-content { grid-template-columns: minmax(0,1fr); }
  .handover-notice { align-items: flex-start; flex-direction: column; padding: 20px; }
  .handover-proof, .handover-task, .generated-copy-row { padding: 20px; }
}
