.checkout-split-dialog { width:min(580px,calc(100vw - 24px)); max-height:90dvh; overflow:auto; padding:28px; border:1px solid #dedfd9; border-radius:24px; color:#242824; background:#fff; box-shadow:0 24px 90px #0003; }
.checkout-split-dialog::backdrop { background:#151b1966; }
.checkout-split-dialog * { box-sizing:border-box; }
.checkout-split-dialog [hidden] { display:none !important; }
.checkout-split-dialog header { display:grid; grid-template-columns:minmax(0,1fr) 48px; align-items:start; gap:16px; width:100%; padding:0; margin:0 0 16px; background:transparent; color:#242824; text-align:left; }
.checkout-split-dialog header > div { min-width:0; }
.checkout-split-dialog header p { margin:0 0 8px; color:#536559; }
.checkout-split-dialog header .split-close { width:48px; height:48px; margin:0; justify-self:end; }
.checkout-split-dialog .split-cancel-ticket { margin-top:20px; width:100%; background:white; color:#923b2d; border-color:#dfc4bd; }
.checkout-split-dialog .split-danger { background:#923b2d; color:white; border-color:#923b2d; }
.checkout-split-dialog h2 { font-size:28px; margin:0 0 8px; }
.checkout-split-dialog h3 { font-size:22px; margin:24px 0 8px; }
.checkout-split-dialog p { line-height:1.5; }
.checkout-split-dialog button { min-height:48px; border:1px solid #ced6cf; border-radius:12px; padding:12px 16px; font:inherit; font-weight:650; background:#fff; color:#26342b; cursor:pointer; }
.checkout-split-dialog button:disabled { opacity:.5; cursor:wait; }
.checkout-split-dialog button:focus-visible,.checkout-split-dialog input:focus-visible { outline:3px solid #81b996; outline-offset:2px; }
.checkout-split-dialog .split-primary { background:#315f43; color:#fff; border-color:#315f43; }
.checkout-split-dialog section > .split-primary { width:100%; margin-top:16px; }
.split-cash-receipt { padding:22px; background:#edf5ef; border:1px solid #c5dacb; border-radius:16px; margin:16px 0 10px; }
.split-cash-receipt > span { display:block; font-weight:650; color:#355d43; }
.split-cash-receipt > strong { display:block; font-size:48px; line-height:1.2; margin:8px 0 16px; color:#214e31; }
.split-cash-receipt > div { display:flex; justify-content:space-between; border-top:1px solid #c5dacb; padding-top:12px; }
.split-cash-receipt p { margin:12px 0 0; color:#4e6255; font-size:14px; }
.split-drawer-status { padding:10px 12px; background:#f5f6f4; border-radius:10px; color:#4e6255; font-size:14px; }
#split-change { background:#edf5ef; color:#214e31; border-radius:12px; padding:16px; font-size:22px; font-weight:700; }
.checkout-split-dialog .split-close { min-width:48px; padding:8px; }
.checkout-split-dialog .split-mode { margin:8px 0 20px; padding:12px 14px; background:#fff7e6; border-radius:12px; color:#684d21; font-size:13px; }
.split-balances { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.split-balances div { border-radius:14px; padding:16px; background:#f3f5f2; }
.split-balances div:last-child { background:#eaf4ed; }
.split-balances span { display:block; font-size:13px; color:#54645a; margin-bottom:6px; }
.split-balances strong { font-size:28px; }
.split-options { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:18px 0; }
.checkout-split-dialog .split-options button { padding:12px 5px; }
.checkout-split-dialog .split-options button[aria-pressed=true] { background:#eaf4ed; border:2px solid #315f43; }
.checkout-split-dialog label { display:block; margin:18px 0; font-weight:650; }
.checkout-split-dialog input { display:block; width:100%; border:1px solid #ccd3cd; border-radius:12px; padding:14px; font:inherit; font-size:22px; margin-top:8px; color:#202820; background:white; }
.split-actions { display:flex; gap:10px; margin-top:22px; }
.split-actions button { flex:1; }
.split-methods { display:grid; gap:10px; margin:20px 0; }
.split-methods button { text-align:left; display:flex; justify-content:space-between; align-items:center; }
.split-methods small { color:#536559; font-weight:400; }
.split-error { color:#a33225; background:#fff0eb; border-radius:10px; padding:12px; }
.split-history { margin:22px 0 0; border-top:1px solid #e4e8e3; padding-top:12px; }
.split-history div { display:flex; justify-content:space-between; padding:8px 0; font-size:14px; }
.split-help { color:#617065; font-size:14px; }
.checkout-split-entry { margin-top:14px; }
.checkout-split-entry button { width:100%; }
.checkout-split-entry small { display:block; margin-top:6px; color:#6a716a; }
@media(max-width:480px) { .checkout-split-dialog { padding:20px; } .split-balances strong { font-size:24px; } }
