/* Actual Bootstrap modals. Old module classes remain on content for field styles. */
.modal.mk-modal-shell{padding:0;border:0;border-radius:0;background:transparent;max-height:none;color:var(--mk-ink);box-shadow:none}
.mk-modal-shell .modal-dialog{margin:1.75rem auto;min-width:0}
.mk-modal-shell .modal-content{width:100%;max-width:none;max-height:none;margin:0;padding:0;border:1px solid #dce9e9;border-radius:16px;overflow:hidden;background:#fff;color:var(--mk-ink);box-shadow:0 16px 60px #163e4c26}
.mk-modal-shell .modal-body{padding:24px;min-width:0}
.mk-modal-shell .modal-header{padding:18px 24px;background:#e7f5f2;color:#154b52;border-bottom:1px solid #daece8}
.mk-modal-shell .modal-footer{padding:16px 24px;gap:8px;border-top:1px solid #e3eeed}
.mk-modal-shell .modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}
.mk-modal-shell .modal-dialog-scrollable .modal-body{overflow-y:auto}
.mk-modal-shell .modal-content>form{display:flex;flex-direction:column;min-height:0;max-height:100%}
.mk-modal-shell .modal-body>form{margin:0}
.mk-modal-shell :is(.mk-dialog-head,.fr-section-heading){display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}
.mk-modal-shell h2{font-size:21px;font-weight:650;color:#154b52}
.mk-modal-shell .mk-dialog-footer{padding:16px 0 0;margin-top:18px}
.mk-modal-shell .mk-photo-source{flex-wrap:wrap}
@media(max-width:575px){.mk-modal-shell .modal-dialog{margin:.5rem}.mk-modal-shell .modal-body{padding:18px}.mk-modal-shell .modal-header,.mk-modal-shell .modal-footer{padding:16px 18px}}
/* Stable page gutter already reserves the scrollbar space. */
@supports(scrollbar-gutter:stable){html:has(body>.mk-app:not(.mk-public)) body.modal-open{padding-right:0!important}}

.hco-signature-review .modal-title{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:650;color:var(--mk-ink,#154b52)}
.hco-signature-review .modal-header p{font-size:12px;color:var(--mk-muted,#627d8c);margin:6px 0 0;overflow-wrap:anywhere}
.hco-signature-review .mk-closure-checklist{padding:0;margin:0;border:0;border-radius:0;background:transparent}
.hco-signature-review .mk-closure-checklist legend{font-size:15px;font-weight:600;color:var(--mk-ink,#154b52);margin-bottom:12px}
.hco-signature-review .mk-closure-checklist>p{font-size:13px;line-height:1.6;color:var(--mk-muted,#627d8c);margin:0 0 14px}
.hco-signature-review .mk-closure-checklist label{display:flex;align-items:flex-start;gap:10px;margin:0;padding:12px 0;border-bottom:1px solid var(--mk-line,#e3eeed);font-size:13px;line-height:1.5;font-weight:400;color:var(--mk-ink,#154b52)}
.hco-signature-review .mk-closure-checklist label:last-child{border-bottom:0}
.hco-signature-review .mk-closure-checklist input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:1px 0 0;accent-color:var(--mk-teal,#008782)}
