.payment-page{max-width:860px;margin:0 auto;padding:40px 24px 80px}.payment-intro{display:flex;align-items:center;gap:32px;margin-bottom:36px}.payment-logo{width:155px;height:230px;object-fit:contain;border-radius:6px}.payment-intro h1{font-size:clamp(32px,6vw,56px);line-height:1.1}.payment-page .owner-form{margin:24px 0}.payment-summary{display:flex;flex-wrap:wrap;gap:8px 16px;margin:14px 0;color:#47382b}.payment-summary strong{padding:3px 8px;border-radius:4px;background:#eee5d8}.payment-panel form{margin:24px 0}.payment-history{padding-left:20px;overflow-wrap:anywhere}.payment-history li{margin:12px 0}.payment-help{margin-top:32px}.payment-page input{max-width:100%}.payment-panel details{padding:18px 0;border-top:1px solid #d8cebe}.payment-panel summary{cursor:pointer;font-weight:600}.payment-panel .form-help{max-width:70ch}@media(max-width:500px){.payment-page{padding:24px 18px 60px}.payment-intro{gap:18px}.payment-logo{width:90px;height:135px}.payment-intro h1{font-size:32px}.payment-intro p{font-size:14px}.payment-page .button{white-space:normal}.payment-panel .owner-heading{flex-wrap:wrap}}
.price-estimate{margin:20px 0}.price-estimate div{display:flex;justify-content:space-between;gap:18px;padding:7px 0;border-bottom:1px solid #e4ddd2}.price-estimate dt{max-width:70%}.price-estimate dd{margin:0;white-space:nowrap}.price-estimate div:first-child,.price-estimate div:last-child{font-weight:700}
.payment-queue{margin:24px 0 32px}.payment-queue[hidden]{display:none}.payment-queue-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.payment-queue-heading h2{margin:0}.payment-queue-list{list-style:none;margin:16px 0;padding:0;max-height:340px;overflow-y:auto;border:1px solid #d8cebe;border-radius:8px;background:#faf7f1;overscroll-behavior:contain}.payment-queue-list:empty{display:none}.payment-queue-list li+li{border-top:1px solid #e4ddd2}.payment-queue-order{display:flex;align-items:center;gap:14px;width:100%;padding:16px;text-align:left;color:inherit;background:transparent;border:0;font:inherit;cursor:pointer}.payment-queue-order:hover,.payment-queue-order[aria-pressed=true]{background:#eee5d8}.payment-queue-order:focus-visible,.payment-queue-list:focus-visible{outline:3px solid #9b512e;outline-offset:-3px}.payment-queue-order strong,.payment-queue-order small{display:block;overflow-wrap:anywhere}.payment-queue-order small{margin-top:3px;color:#675c51;font-size:12px}.payment-queue-position{min-width:24px;font-size:14px;color:#675c51}.payment-queue-select{margin-left:auto;font-size:13px;white-space:nowrap}@media(max-width:500px){.payment-queue-order{gap:10px;padding:14px 10px}.payment-queue-list{max-height:300px}}
body.payment-dialog-open{overflow:hidden}
.payment-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);box-shadow:0 20px 80px #0005;overflow:auto;overscroll-behavior:contain}
.payment-dialog::backdrop{background:#211c17a6}
.payment-dialog-header{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 26px;background:var(--paper);border-bottom:1px solid var(--line)}
.payment-dialog-header h2{font-size:26px;margin:0 0 8px}.payment-dialog-header p{margin:0;overflow-wrap:anywhere}.payment-dialog-header .button{flex-shrink:0}
.payment-dialog .payment-panel{margin:0;border:0;padding:24px 26px;background:transparent}.payment-dialog input{max-width:100%}
@media(max-width:500px){.payment-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.payment-dialog-header{padding:18px;gap:12px}.payment-dialog-header h2{font-size:23px}.payment-dialog .payment-panel{padding:18px}.payment-dialog .button{white-space:normal}}
.payment-price-lock{padding:18px;margin:18px 0;border:1px solid #c7a36c;border-left:4px solid #9b672a;border-radius:6px;background:#fff3de;color:#46331d}.payment-price-lock strong{display:block;margin-bottom:10px}.payment-price-lock p{line-height:1.5;margin-bottom:14px}.payment-price-lock .button{width:auto;max-width:100%;white-space:normal}

.payment-status-badge{display:inline-block;padding:3px 8px;border-radius:4px;background:#eee5d8}.payment-summary .payment-status-unpriced,.payment-status-unpriced{background:#fce4e4}.payment-summary .payment-status-partial,.payment-status-partial{background:#fff1ad}.payment-summary .payment-status-paid,.payment-status-paid{background:#d8efdc}
