.handover-signature { display: block; width: 100%; height: auto; max-height: 240px; border: 2px solid #60718a; border-radius: 8px; touch-action: none; background: white; }
.handover-photo { width: 130px; height: 100px; object-fit: contain; border: 1px solid #dce3ed; border-radius: 6px; background: #f6f8fb; }
#handoverModal .modal-header { background: #092447; color: white; }
#handoverModal .modal-title { color: white; }
#handoverModal .modal-footer { gap: 8px; }
#handoverModal fieldset { min-width: 0; }

.lifecycle-modal .modal-dialog{max-width:846px;margin:24px auto}.lifecycle-modal .modal-content{border:1px solid #dce5ee;border-radius:12px;overflow:hidden;box-shadow:0 12px 40px #061d3930}.lifecycle-modal .modal-header{background:linear-gradient(115deg,#08264a,#163d60);color:white;padding:18px 22px}.lifecycle-modal .modal-title{color:white;font-size:23px;font-weight:700}.lifecycle-modal .modal-body{padding:22px;background:white}.lifecycle-modal .modal-footer{padding:14px 22px;background:white;border-top:1px solid #d9e2ec;gap:8px}.lifecycle-modal .modal-footer .btn-secondary{background:#092b50;border-color:#092b50;color:white}.lifecycle-modal .btn-primary{background:#fcdc31;border-color:#fcdc31;color:#08264a}.lifecycle-modal .form-control,.lifecycle-modal .form-select{border-radius:6px;border-color:#cbd7e4;min-height:42px}.lifecycle-modal .form-label{font-weight:600;color:#183654}.lifecycle-modal .form-check{padding:12px 12px 12px 36px;background:#f3f6fa;border-radius:6px}.lifecycle-modal .form-check-input:checked{background-color:#12375d;border-color:#12375d}.protocol-form-section{padding:18px;border:1px solid #dce5ee;border-radius:8px;margin-bottom:16px;background:#fff}.protocol-form-section h3,.protocol-step,#handoverFields>h3{font-size:18px;font-weight:700;color:#08264a;margin:0 0 12px}.protocol-form-section header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.protocol-form-section header span{color:#526781}.protocol-description{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 14px}.protocol-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.protocol-photo-grid img{width:100%;max-height:260px;object-fit:contain;background:#f4f7fb;border-radius:6px}.protocol-signature-preview img{max-width:100%;max-height:130px;background:white}.protocol-ok{background:#e1f2e9;color:#09653e;padding:15px;border-radius:8px;margin-bottom:16px}#handoverStatus{padding:12px 16px;background:#fff6cf;border-radius:6px;color:#584700}#handoverModal.protocol-readonly #handoverStatus{background:#e1f2e9;color:#09653e}#handoverItems{background:#f2f6fa;border:0;color:#193b5e}#handoverModal .modal-dialog-scrollable .modal-content{max-height:calc(100dvh - 48px)}.protocol-intro{color:#526781;margin-bottom:20px}.protocol-step{padding-top:14px;border-top:1px solid #dde5ef;margin-top:6px}.return-settlement-preview{padding:18px;background:#f2f6fa;border-radius:8px}.return-settlement-preview hr{border-color:#b8c9da}.return-settlement-preview strong{color:#092b50}@media(max-width:575px){.lifecycle-modal .modal-dialog{margin:8px;max-width:calc(100% - 16px)}.lifecycle-modal .modal-body{padding:15px}.lifecycle-modal .modal-header{padding:16px}.lifecycle-modal .modal-title{font-size:20px}.lifecycle-modal .modal-footer{padding:12px}.lifecycle-modal .modal-footer .btn{flex:1 1 42%;white-space:normal;font-size:13px}.protocol-form-section{padding:13px}.protocol-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
