/* UI17 standalone approvals / readiness / finalisation, scoped to their dialog. */
#dialog.cr-dialog{width:min(1020px,calc(100vw - 24px));max-height:94dvh;overflow:hidden;}
#dialog.cr-dialog .modal{display:flex;flex-direction:column;min-height:0;max-height:94dvh;padding:20px;box-sizing:border-box;}
#dialog.cr-dialog .modal-head{flex:none;margin:0;padding:3px 0 12px;position:static;}
#dialog.cr-dialog .modal-head h2{font-size:22px;}
.cr-form{display:flex;flex-direction:column;min-height:0;overflow:hidden;--cr-line:#d4e1e7;}
.cr-form [hidden]{display:none!important;}
.cr-body{overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 5px 12px;}
.cr-screen,.cr-card,.cr-form label{min-width:0;}
.cr-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;padding:8px 0;}
.cr-toolbar button{font-size:12px;min-height:40px;}
.cr-context{padding:12px 15px;background:#f0f7f8;border-left:3px solid #16818a;border-radius:7px;margin:10px 0 12px;}
.cr-context .eyebrow{font-size:10px;margin:0;color:#37727c;}.cr-context p{margin:5px 0;}
.cr-form .cr-context h3{border:0;padding:0;margin:7px 0;font-size:19px;line-height:1.4;overflow-wrap:anywhere;}
.cr-disclosure{border:1px solid var(--cr-line);border-radius:8px;padding:10px 14px;margin:12px 0;font-size:13px;overflow-wrap:anywhere;}
.cr-disclosure summary{cursor:pointer;font-weight:650;}
.cr-form .cr-note{font-size:13px;line-height:1.55;padding:10px 13px;background:#edf6f8;border:1px solid #cce3e8;border-radius:8px;color:#345764;margin:12px 0;}
.cr-form .cr-facts{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:0 14px;font-size:13px;margin:10px 0;}
.cr-facts dt,.cr-facts dd{margin:0;padding:9px 0;border-bottom:1px solid #e1e9ec;overflow-wrap:anywhere;white-space:pre-wrap;}
.cr-facts dt{font-weight:500;color:#546b79;}.cr-facts dd{font-weight:600;color:#234253;}
.cr-card{border:1px solid var(--cr-line);border-radius:9px;padding:14px;margin:12px 0;background:white;overflow-wrap:anywhere;}
.cr-card h4{font-size:15px;margin:0 0 10px;}.cr-summary>.cr-card{border-top:3px solid #19818a;background:#f5fafb;}
.cr-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:14px 0;}
.cr-count{padding:12px;border:1px solid var(--cr-line);border-radius:8px;display:flex;flex-direction:column;gap:6px;font-size:12px;}.cr-count strong{font-size:23px;}
.cr-form .cr-confirm{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;margin:20px 0;}
.cr-confirm input{width:20px;height:20px;min-height:20px;flex:none;margin:2px 0;}
.cr-form .field{display:flex;flex-direction:column;gap:7px;margin:16px 0;}.cr-form input,.cr-form select,.cr-form textarea{min-width:0;max-width:100%;box-sizing:border-box;}
.cr-form .wl-guide-heading{font-size:17px;border:0;padding:0;margin:6px 0 14px;}
.cr-form .wl-guide-steps{background:white;margin:8px 0 10px;}.cr-form .wl-guide-steps li{font-size:12px;}
.cr-form>.modal-footer{flex:none;display:flex;flex-wrap:wrap;gap:8px;background:white;border-top:1px solid var(--cr-line);margin:0;padding:12px 0 0;}
.cr-form>.modal-footer button{white-space:normal;min-height:42px;font-size:13px;}.cr-form #cr-close{margin-right:auto;}
.cr-error{flex:none;font-size:13px;max-height:120px;overflow:auto;}.cr-error:empty{display:none;}
.cr-form :focus-visible{outline:2px solid #197488;outline-offset:3px;}
.cr-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.cr-photo{margin:0;}
.cr-photo-open{padding:0;width:100%;border:0;background:#f1f6f8;cursor:pointer;}.cr-photo-open img{width:100%;max-height:300px;object-fit:contain;display:block;}.cr-photo-open span{display:block;padding:9px;font-weight:600;}
.cr-picture{width:min(1000px,94vw);max-height:94dvh;overflow:auto;padding:18px;border:0;border-radius:12px;}.cr-picture::backdrop{background:#102a3ccc;}.cr-picture img{display:block;max-width:100%;max-height:75dvh;margin:15px auto;object-fit:contain;}.cr-picture p{overflow-wrap:anywhere;}
@media(max-width:640px){
 #dialog.cr-dialog{width:calc(100vw - 12px);max-height:96dvh;}#dialog.cr-dialog .modal{padding:14px;max-height:96dvh;}
 #dialog.cr-dialog .modal-head h2{font-size:20px;}.cr-form .cr-context h3{font-size:17px;}.cr-context{padding:10px 12px;}
 .cr-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}.cr-count{padding:9px;font-size:11px;}.cr-count strong{font-size:20px;}
 .cr-form .cr-facts{grid-template-columns:minmax(85px,.8fr) minmax(0,1.2fr);gap:0 10px;font-size:12px;}.cr-card{padding:12px;}.cr-photos{grid-template-columns:1fr;}
 .cr-form .wl-guide-steps li{font-size:10px;line-height:1.4;}.cr-form>.modal-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:9px;}
 .cr-form>.modal-footer button{font-size:12px;min-width:0;margin:0;padding:8px;}.cr-form #cr-back{grid-column:1;grid-row:1;}.cr-form #cr-next,.cr-form #cr-submit{grid-column:2;grid-row:1;}.cr-form #cr-close{grid-column:1/-1;grid-row:2;margin:0;}.cr-form[data-logistics-step="0"] #cr-next{grid-column:1/-1;}
}
