/* Sólo Cancha fuera de grilla. Clases y venta rápida conservan su interfaz. */
.late-court-modern-overlay{padding:20px;background:rgba(2,6,12,.78);backdrop-filter:blur(8px);align-items:center}
.late-court-dialog.late-court-modern{width:min(960px,100%);max-height:calc(100dvh - 40px)!important;overflow:auto!important;padding:24px;border:1px solid #37495e;border-radius:22px;background:radial-gradient(ellipse at 90% 0,#4775c514,transparent 42%),linear-gradient(145deg,#0b1018,#06090f 78%);box-shadow:0 28px 90px #000a,inset 0 1px #ffffff09;color:#e8f1fc;font-family:Inter,system-ui,sans-serif;color-scheme:dark}
.late-court-modern [hidden]{display:none!important}
.late-court-modern .late-register-header{gap:12px;min-height:0;margin:0 46px 18px 0;padding:0 0 16px;border:0;border-bottom:1px solid #2c3949;border-radius:0;background:none;box-shadow:none;overflow:visible}
.late-court-modern .late-register-header:after{display:none}
.late-court-modern .late-register-header h2{margin:3px 0 5px;font:700 29px/1.1 Rajdhani,Inter,sans-serif;letter-spacing:.1px}
.late-court-modern .late-register-header p{font-size:12px;line-height:1.5;color:#9eafc4}
.late-court-modern .late-register-kicker{font-size:9px;letter-spacing:1.6px;color:#ad95d9}
.late-court-modern .late-register-icon{flex:0 0 44px;width:44px;height:44px;border:1px solid #567e9a;border-radius:13px;background:linear-gradient(145deg,#183446,#0b1726);box-shadow:inset 0 1px #ffffff12;color:#92d7b7;font-size:23px}
.late-court-modern .late-court-close{top:20px;right:22px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #384b62;border-radius:11px;background:#101a27;color:#bfd3e8;font-size:23px;line-height:1}
.late-court-modern .late-activity-mode{gap:8px;margin-bottom:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
.late-court-modern .late-activity-mode:before{font:600 11px/1.4 Inter,sans-serif;color:#aabbd0}
.late-court-modern :is(.late-activity-mode,.late-responsible-mode) label{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;min-height:46px;margin:0;padding:11px 13px;border:1px solid #2f3d50;border-radius:11px;background:linear-gradient(135deg,#101923,#080d14);color:#b8c9db;font:600 12px/1.4 Inter,sans-serif;white-space:normal;text-align:left;cursor:pointer}
.late-court-modern input[type="radio"]{appearance:auto;flex:0 0 16px;width:16px!important;height:16px!important;min-height:16px!important;margin:0;padding:0;accent-color:#9c83ed;box-shadow:none}
.late-court-modern .late-activity-mode label:has(input:checked){border-color:#6ebd99;background:linear-gradient(135deg,#17322b,#09130f);color:#c3f3d9;box-shadow:inset 0 1px #c1ffe911,0 0 14px #74d7ad0c}
.late-court-modern .late-court-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px}
.late-court-modern .late-court-fields>.field{min-width:0}
.late-court-modern .late-court-fields>.field.full{grid-column:1/-1}
.late-court-modern .late-court-fields .field>label{margin-bottom:6px;color:#aabbd0;font:600 11px/1.4 Inter,sans-serif}
.late-court-modern .late-court-fields :is(.input,.select),.late-court-modern .late-court-end{min-height:42px;padding:10px 12px;border:1px solid #2b3c51;border-radius:10px;background:#080e17;color:#e6effa;font:500 13px/1.4 Inter,sans-serif}
.late-court-modern .late-court-fields :is(.input,.select):focus{outline:0;border-color:#73aeec;box-shadow:0 0 0 3px #73aeec1a}
.late-court-modern .late-court-end{display:flex;align-items:center;border-color:#3a6357;background:linear-gradient(130deg,#122a23,#09130f);color:#a8e4c9}
.late-court-modern .late-responsible-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.late-court-modern .late-responsible-mode label:has(input:checked){border-color:#a185e3;background:linear-gradient(135deg,#211b35,#0c0f1a);color:#e5d7ff;box-shadow:inset 0 1px #e4cfff10}
.late-court-modern .late-option-copy{display:grid;gap:3px;min-width:0}
.late-court-modern .late-option-copy b{font-size:12px;line-height:1.4}
.late-court-modern .late-option-copy small{color:#95a7bd;font:400 10px/1.4 Inter,sans-serif;white-space:normal}
.late-court-modern #lateOccasionalWrap{display:block;margin-top:10px}
.late-court-modern #lateOccasionalWrap small{display:block;margin:6px 0 0;white-space:normal;font-size:11px!important}
.late-court-modern .late-client-search{grid-template-columns:minmax(0,1fr) auto;gap:9px}
.late-court-modern #lateClientSelected{display:block;margin-top:7px;min-height:16px;line-height:1.5;color:#9db5d0;font-size:11px}
.late-court-modern .late-client-results{display:grid;gap:5px;max-height:185px;overflow:auto;margin-top:8px;padding:6px;border:1px solid #33475e;border-radius:12px;background:#080f19}
.late-court-modern .late-client-result{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:8px 10px;border:1px solid #293c51;border-radius:8px;background:#101b2b;color:#dcebf9;text-align:left;cursor:pointer;font:500 12px Inter,sans-serif}
.late-court-modern .late-client-result>span:nth-child(2){display:grid;flex:1;gap:3px;min-width:0;overflow-wrap:anywhere}
.late-court-modern .late-client-result small{color:#8fa6c0;font-size:10px}
.late-court-modern .late-client-result-icon{display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid #517491;border-radius:9px;background:#173348;color:#a7d8f8;font-weight:700}
.late-court-modern .late-client-result:hover{border-color:#76a8db;background:#14273b}
.late-court-modern #lateCourtPaymentWrap{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin-top:2px;padding:14px;border:1px solid #2f3d4f;border-radius:14px;background:linear-gradient(145deg,#0f1722,#080d14)}
.late-court-modern #lateCourtPaymentWrap>label{margin:0}
.late-court-modern #lateCourtPaymentWrap label:has(input[value="pending"]:checked){border-color:#bd9659;background:linear-gradient(135deg,#302719,#100f0d);color:#f2d49e}
.late-court-modern #lateCourtPaymentWrap label:has(input[value="paid"]:checked){border-color:#6fb994;background:linear-gradient(135deg,#1a3329,#0a130f);color:#c4f1d7}
.late-court-modern #lateCourtSplitWrap{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.late-court-modern #lateCourtSplitWrap .payment-method-choices{grid-column:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
.late-court-modern #lateCourtSplitWrap .field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.late-court-modern .payment-split-hint,.late-court-modern #lateCourtPaymentHelp{display:block;margin:0;color:#9aadc3;font-size:11px;line-height:1.5}
.late-court-modern .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid #375472;border-radius:11px;background:linear-gradient(130deg,#152a41,#080e18);color:#cee4fa;box-shadow:inset 0 1px #ffffff0b;font:600 12px/1.3 Inter,sans-serif;letter-spacing:0;transition:background .15s,border-color .15s,box-shadow .15s}
.late-court-modern .btn:hover:not(:disabled){transform:none;filter:none;border-color:#76a9d8;background:linear-gradient(130deg,#1c3753,#0b1523)}
.late-court-modern #lateCourtSplitWrap .payment-choice{min-height:36px!important;padding:8px!important;border-color:#354960;border-radius:9px;background:linear-gradient(130deg,#14273b,#080e17);color:#a9c5e1;font:600 10px/1.4 Inter,sans-serif!important;box-shadow:inset 0 1px #ffffff08;white-space:normal}
.late-court-modern #lateCourtSplitWrap .payment-choice.is-active{border-color:#83b6e4;color:#e3f2ff;background:linear-gradient(130deg,#254867,#0c1a2b);box-shadow:inset 0 -2px #75acd9}
.late-court-modern .late-court-actions{align-items:center;gap:10px;margin-top:15px;padding-top:15px;border-color:#2a3748}
.late-court-modern .late-court-actions #lateCourtCancel{border-color:#334358;background:#0a1019;color:#a9bdd5}
.late-court-modern .late-court-actions .btn.primary{min-width:195px;min-height:42px;border-color:#84cda9;background:linear-gradient(135deg,#a0dab7,#70b590);color:#05160d;box-shadow:inset 0 1px #eaffed5c,0 5px 18px #6fae8a0e}
.late-court-modern .late-court-actions .btn.primary:after{content:'→';font-size:17px}
.late-court-modern .late-court-actions .btn.primary:hover:not(:disabled){background:linear-gradient(135deg,#b0e5c4,#80c8a2);border-color:#b3ebce}
.late-court-modern .late-court-error{min-height:0;margin-top:8px;font-size:12px;line-height:1.5;color:#f4a8a8}
.late-court-modern :is(button,label):focus-within{outline-offset:3px}
.late-court-modern button:focus-visible,.late-court-modern label:has(input[type="radio"]:focus-visible){outline:2px solid #91c3f3;outline-offset:3px}
@media(max-width:760px){.late-court-dialog.late-court-modern{padding:18px}.late-court-modern .late-court-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.late-court-modern .late-register-header h2{font-size:26px}.late-court-modern .late-register-header p{font-size:11px}}
@media(max-width:520px){.late-court-modern-overlay{padding:10px}.late-court-dialog.late-court-modern{max-height:calc(100dvh - 20px)!important;padding:15px}.late-court-modern .late-register-header{gap:9px;margin-right:32px}.late-court-modern .late-register-icon{display:none}.late-court-modern .late-court-close{top:14px;right:13px;width:31px;height:31px}.late-court-modern .late-register-header h2{font-size:25px}.late-court-modern .late-court-fields,.late-court-modern .late-responsible-mode{grid-template-columns:minmax(0,1fr)}.late-court-modern .late-activity-mode label{padding:9px;font-size:11px}.late-court-modern .late-client-search{grid-template-columns:minmax(0,1fr) auto}.late-court-modern #lateCourtSplitWrap .payment-method-choices{grid-template-columns:minmax(0,1fr)}.late-court-modern .late-court-actions{display:grid;grid-template-columns:minmax(0,1fr)}.late-court-modern .late-court-actions .btn{width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){.late-court-modern .btn{transition:none}}
