/* GUE checkout presentation only. Financial visibility always follows server state. */
#guestPaymentDialog { box-sizing:border-box; width:min(94vw,720px); max-width:720px; max-height:92dvh; margin:auto; overflow:auto; overscroll-behavior:contain; padding:28px; border:1px solid #e2e6eb; border-radius:24px; background:#fff; color:#17212c; box-shadow:0 24px 80px #10192333; font-family:Arial,Helvetica,sans-serif; font-size:15px; line-height:1.5; }
#guestPaymentDialog::backdrop { background:rgb(13 23 35 / 54%); backdrop-filter:blur(4px); }
#guestPaymentDialog *, #guestPaymentDialog *::before, #guestPaymentDialog *::after { box-sizing:border-box; }
#guestPaymentDialog [hidden], #quickEntryGuestDone [hidden] { display:none!important; }
#guestPaymentDialog .guest-payment-header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 22px; }
#guestPaymentDialog .guest-payment-header h2 { margin:0; font-size:25px; line-height:1.2; letter-spacing:-.025em; font-weight:800; color:#131b24; }
#guestPaymentDialog .guest-payment-close { flex:0 0 40px; width:40px; height:40px; min-height:40px; margin:0; padding:0; border:0; border-radius:50%; background:#f3f5f7; font-size:27px; font-weight:400; }
#guestPaymentDialog .guest-payment-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); list-style:none; padding:0 0 20px; margin:0; border-bottom:1px solid #e8ebef; gap:8px; }
#guestPaymentDialog .guest-payment-steps li { display:flex; align-items:center; gap:7px; color:#6c7681; font-size:12px; }
#guestPaymentDialog .guest-payment-steps span { flex:0 0 27px; display:grid; place-items:center; width:27px; height:27px; border-radius:50%; background:#f0f2f5; font-size:12px; font-weight:700; }
#guestPaymentDialog .guest-payment-steps strong { font-size:12px; font-weight:600; }
#guestPaymentDialog .guest-payment-steps .is-current { color:#815400; }
#guestPaymentDialog .guest-payment-steps .is-current span { background:#ffca4a; color:#332800; }
#guestPaymentDialog .guest-payment-steps .is-complete span { background:#e9f5ef; color:#287653; }
#guestPaymentDialog .guest-payment-stage { margin:20px 0; color:#56616d; font-size:14px; }
#guestPaymentDialog .guest-payment-payer { margin:0; padding:0; }
#guestPaymentDialog label { display:block; margin:16px 0; font-weight:600; font-size:14px; line-height:1.5; color:#26313c; }
#guestPaymentDialog input:not([type=checkbox]), #guestPaymentDialog textarea { display:block; width:100%; min-width:0; min-height:48px; margin:7px 0 0; padding:12px 14px; border:1px solid #d6dce3; border-radius:11px; background:#fff; font:400 16px/1.5 Arial,Helvetica,sans-serif; color:#26313c; text-align:left; }
#guestPaymentDialog input:focus, #guestPaymentDialog textarea:focus { border-color:#b07a12; outline:2px solid #fbe6ba; outline-offset:1px; }
#guestPaymentDialog .guest-payment-check { display:flex; gap:11px; align-items:flex-start; font-weight:400; margin:18px 0; }
#guestPaymentDialog .guest-payment-check input { flex:0 0 20px; width:20px; height:20px; min-height:0; padding:0; margin:2px 0 0; accent-color:#ad7811; }
#guestPaymentDialog .guest-payment-help { margin:8px 0 18px; font-size:13px; color:#63717c; }
#guestPaymentDialog button, .guest-payment-recovery { min-height:44px; padding:11px 16px; margin:5px 6px 5px 0; border:1px solid #d7dde4; border-radius:10px; background:#fff; color:#34414e; font:700 14px/1.4 Arial,Helvetica,sans-serif; cursor:pointer; }
#guestPaymentDialog button:hover:not(:disabled) { background:#fff8e7; border-color:#d5ad5e; }
#guestPaymentDialog .guest-payment-primary { display:block; width:100%; min-height:50px; margin:12px 0; padding:14px 18px; background:#ffbd20; border-color:#e9aa14; color:#201c12; font-size:15px; box-shadow:0 4px 10px #b9850010; }
#guestPaymentDialog .guest-payment-primary:hover:not(:disabled) { background:#f8af09; border-color:#da9703; }
#guestPaymentDialog button:disabled { opacity:.48; cursor:not-allowed; }
#guestPaymentDialog :is(button, summary):focus-visible { outline:3px solid #9d6b0a; outline-offset:3px; }
#guestPaymentDialog .guest-payment-review { margin:20px 0 10px; padding:20px; border:1px solid #e4e8ed; border-radius:16px; background:#fcfcfd; }
#guestPaymentDialog .guest-payment-review summary { color:#25313e; font-weight:700; font-size:15px; cursor:pointer; }
#guestPaymentDialog .guest-payment-review-total { margin:16px 0; padding:14px 16px; border:1px solid #f0dfad; border-radius:12px; background:#fff8e5; color:#694800; font-size:19px; font-weight:800; line-height:1.4; }
#guestPaymentDialog .guest-payment-review-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 22px; margin:0; }
#guestPaymentDialog .guest-payment-review-field { min-width:0; margin:0; padding:0; }
#guestPaymentDialog .guest-payment-review-field.is-wide { grid-column:1/-1; }
#guestPaymentDialog .guest-payment-review-field dt { float:none; width:auto; text-align:left; margin:0 0 4px; padding:0; color:#64717f; font-size:12px; font-weight:400; }
#guestPaymentDialog .guest-payment-review-field dd { float:none; width:auto; text-align:left; margin:0; padding:0; color:#22303e; font-size:14px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
#guestPaymentDialog .guest-payment-amount { display:none; }
#guestPaymentDialog img { display:block; width:256px; max-width:100%; height:auto; margin:16px auto; padding:10px; background:#fff; border:1px solid #e5e9ef; border-radius:12px; }
#guestPaymentDialog textarea[readonly] { font-size:13px; overflow-wrap:anywhere; resize:vertical; }
#guestPaymentDialog .guest-payment-environment { color:#8e5f00; font-size:13px; }
#guestPaymentDialog .guest-payment-refresh { display:block; margin:18px 0 4px; font-size:13px; min-height:40px; padding:9px 13px; }
#guestPaymentDialog .guest-payment-status { padding:12px 14px; margin:14px 0 0; border-radius:10px; background:#f1f5f8; color:#425767; font-size:13px; }
#guestPaymentDialog .guest-payment-status.is-error { background:#fff3ee; color:#92371d; border:1px solid #f4d2c7; }
#guestPaymentDialog p:empty { display:none; }
#quickEntryGuestDone .guest-payment-entry { display:block; box-sizing:border-box; width:100%; min-height:52px; margin:16px 0 4px; padding:14px 18px; border:1px solid #e3a11a; border-radius:12px; background:#ffbd20; color:#211c11; font:800 16px/1.4 Arial,Helvetica,sans-serif; cursor:pointer; }
#quickEntryGuestDone #quickEntryGuestStatus { color:#65717c; font-size:13px; }
#quickEntryGuestContactForm .guest-phone-help { display:block; margin:7px 0 0; color:#687582; font-size:12px; font-weight:400; }
#quickEntryGuestPhone[aria-invalid=true] { border-color:#ba4826; }
.guest-payment-recovery { display:block; width:100%; margin:12px 0 0; color:#815400; background:#fffaf0; border-color:#e7d3a8; font-size:12px; text-align:center; }
@media(max-width:540px) {
  #guestPaymentDialog { width:calc(100vw - 20px); max-height:94dvh; padding:20px 18px; border-radius:20px; font-size:14px; }
  #guestPaymentDialog .guest-payment-header { margin-bottom:18px; }
  #guestPaymentDialog .guest-payment-header h2 { font-size:21px; }
  #guestPaymentDialog .guest-payment-steps { gap:4px; }
  #guestPaymentDialog .guest-payment-steps li { flex-direction:column; align-items:center; gap:5px; text-align:center; }
  #guestPaymentDialog .guest-payment-steps strong { font-size:10px; }
  #guestPaymentDialog .guest-payment-review { padding:15px; }
  #guestPaymentDialog .guest-payment-review-grid { grid-template-columns:1fr; gap:14px; }
  #guestPaymentDialog .guest-payment-review-total { font-size:17px; padding:12px; }
}
@media(prefers-reduced-motion:reduce) { #guestPaymentDialog * { scroll-behavior:auto!important; transition:none!important; } }
