/* Shared agency data-entry treatment. */
.cg-provider-modern{--entry-red:#ce3439;--entry-ink:#17212d;--entry-muted:#647181;--entry-border:#dce2e8;background:#f5f6f8!important;color:var(--entry-ink)}
.cg-provider-modern .modal-overlay{padding:24px!important;align-items:center!important;backdrop-filter:blur(7px);background:rgba(19,28,40,.48)!important;overflow:auto}
.cg-provider-modern .modal{padding:28px!important;border-radius:22px!important;border:1px solid #e5e8ec;box-shadow:0 28px 100px #13203335!important;max-width:680px!important;max-height:calc(100dvh - 48px)!important}
.cg-provider-modern .customer-modal{max-width:820px!important}
.cg-provider-modern .modal h2{font-size:25px!important;letter-spacing:-.8px;line-height:1.25;margin-bottom:18px!important}
.cg-provider-modern .modal h3{font-size:14px!important;color:var(--entry-ink)!important;margin-top:26px!important;padding-top:20px!important;border-top:1px solid var(--entry-border)!important}
.cg-provider-modern .form-grid{gap:18px!important;align-items:start}
.cg-provider-modern .form-group{gap:8px!important}
.cg-provider-modern .form-group label,.cg-provider-modern .entry-field>span{font-size:13px!important;line-height:1.4;font-weight:600!important;color:#394655!important}
.cg-provider-modern input:not([type=checkbox]):not([type=hidden]):not([type=file]),.cg-provider-modern select,.cg-provider-modern textarea{border:1px solid var(--entry-border)!important;border-radius:11px!important;background:#fff!important;color:var(--entry-ink)!important;padding:12px 14px!important;font-size:15px!important;line-height:1.4;min-height:46px;box-sizing:border-box;max-width:100%;transition:border-color .15s,box-shadow .15s}
.cg-provider-modern input:focus,.cg-provider-modern select:focus,.cg-provider-modern textarea:focus{outline:none!important;border-color:var(--entry-red)!important;box-shadow:0 0 0 3px #ce343914!important}
.cg-provider-modern input:disabled{background:#f0f2f5!important;color:#7b8795!important}
.cg-provider-modern input[type=checkbox]{accent-color:var(--entry-red);width:17px;height:17px}
.cg-provider-modern .btn{border-radius:10px!important;font-size:13px!important;padding:10px 16px!important;min-height:40px;transition:background .15s,transform .15s}
.cg-provider-modern .btn-primary{background:var(--entry-red)!important;color:#fff;border:1px solid var(--entry-red)!important}
.cg-provider-modern .btn-outline{border:1px solid var(--entry-border)!important;color:var(--entry-ink)!important;background:#fff!important}
.cg-provider-modern .btn:hover{transform:translateY(-1px)}
.cg-provider-modern .btn:disabled{opacity:.6;transform:none;cursor:wait}
.cg-provider-modern .form-actions{padding-top:18px!important;margin-top:24px!important;gap:10px!important;border-top:1px solid var(--entry-border);flex-wrap:wrap}
.cg-provider-modern .doc-upload{width:calc(33.333% - 8px)!important;min-width:130px;height:126px!important;border-radius:14px!important;background:#f7f8fa!important;border-color:#d3dce5!important;font-size:13px!important;gap:8px}
.cg-provider-modern #workerForm,.cg-provider-modern #workerAccessForm{border-radius:18px!important;padding:24px!important;box-shadow:0 6px 28px #22304406}
.cg-provider-modern .model-section{background:#fff;border-radius:16px;box-shadow:0 4px 20px #22304405;border-color:#e4e8ed}
.cg-provider-modern .model-header{padding:16px 20px;background:#fff}
.cg-provider-modern .model-name{font-size:16px}.cg-provider-modern .unit-row{padding:16px 20px;gap:12px}.cg-provider-modern .unit-plate{font-size:15px}
.cg-provider-modern .date-chip{padding:7px 10px;border-radius:8px;font-size:12px}.cg-provider-modern .unit-meta{gap:10px}
.cg-provider-modern .entry-dialog{width:min(640px,100%);position:relative}
.cg-provider-modern .entry-eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:700;color:var(--entry-red);margin:0 0 10px}
.cg-provider-modern .entry-description{color:var(--entry-muted);font-size:14px;line-height:1.6;margin:0 0 22px}
.cg-provider-modern .entry-close{position:absolute;right:22px;top:22px;width:34px;height:34px;border:1px solid var(--entry-border);border-radius:50%;background:#f7f8fa;font-size:19px;cursor:pointer}
.cg-provider-modern .entry-dialog h2{padding-right:34px}
.cg-provider-modern .entry-context{display:inline-flex;gap:8px;padding:8px 12px;background:#f0f3f6;border-radius:8px;font-size:12px;font-weight:600;margin-bottom:22px}
.cg-provider-modern .entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.cg-provider-modern .entry-field{display:flex;flex-direction:column;gap:8px;min-width:0}.cg-provider-modern .entry-field input,.cg-provider-modern .entry-field select,.cg-provider-modern .entry-field textarea{width:100%!important}
.cg-provider-modern .entry-field small{color:var(--entry-muted);font-size:11px;line-height:1.5}.cg-provider-modern .entry-full{grid-column:1/-1}
.cg-provider-modern .entry-period{display:grid;grid-template-columns:1fr 112px;gap:10px}
.cg-provider-modern .entry-callout{padding:14px 16px;border-radius:12px;background:#f4f6f9;color:#536173;font-size:12px;line-height:1.6;margin:20px 0 0}
.cg-provider-modern .entry-choice{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.cg-provider-modern .entry-choice a{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid var(--entry-border);border-radius:10px;text-decoration:none;color:var(--entry-ink);font-size:13px;font-weight:600}
.cg-provider-modern .entry-choice .selected{background:#fff0f0;border-color:#e6b9ba;color:#a72c30}
.cg-provider-modern .entry-error{color:#a42b30;background:#fff0f0;border-radius:10px;padding:12px 14px;font-size:13px;line-height:1.5;margin-top:18px}.cg-provider-modern .entry-error:empty{display:none}
.cg-provider-modern .entry-summary{font-size:13px;color:var(--entry-muted);padding:14px 0 0;line-height:1.6}
.cg-provider-modern .entry-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:22px;margin-top:22px;border-top:1px solid var(--entry-border)}
.cg-provider-modern .entry-footer .btn-primary{min-width:175px}
.cg-provider-modern .modal.entry-dialog{display:flex;flex-direction:column;padding:0!important;overflow:hidden!important}
.cg-provider-modern .entry-body{padding:28px;overflow-y:auto;min-height:0;flex:1}
.cg-provider-modern .entry-dialog .entry-footer{position:static;padding:18px 28px;margin:0;background:#fff;flex-shrink:0}
.cg-provider-modern .entry-close{z-index:2}
.cg-provider-modern .entry-intro{font-size:14px;line-height:1.6;color:var(--entry-muted);margin:-6px 0 22px}
.cg-provider-modern .entry-secondary-label{font-size:11px;color:var(--entry-muted);font-weight:400}
@media(max-width:640px){.cg-provider-modern .modal-overlay{padding:12px!important}.cg-provider-modern .modal{padding:22px 18px!important;border-radius:17px!important;max-height:calc(100dvh - 24px)!important}.cg-provider-modern .entry-grid,.cg-provider-modern .form-grid{grid-template-columns:1fr!important}.cg-provider-modern .entry-full,.cg-provider-modern .full-width{grid-column:1!important}.cg-provider-modern .entry-footer{position:sticky;bottom:-22px;background:#fff;padding:16px 0;margin-bottom:-4px}.cg-provider-modern .entry-footer .btn{flex:1}.cg-provider-modern .entry-close{top:16px;right:16px}.cg-provider-modern .doc-upload{width:100%!important;height:110px!important}.cg-provider-modern .tab-bar{flex-wrap:wrap;gap:6px}.cg-provider-modern .unit-row{padding:14px}.cg-provider-modern .entry-period{grid-template-columns:minmax(0,1fr) 105px}}
