/* Shared QR requests: scoped styles preserve the existing customer and vendor shells. */
.stamp-tools,.stamp-entry{border:1px solid #dce4ee;border-radius:14px;background:#fff;padding:16px 20px;margin-block:0 20px;color:#183049}
.stamp-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.stamp-tools p,.stamp-entry p{margin:5px 0 0}.stamp-tools p,.stamp-muted{font-size:13px;color:#586a7d}
.stamp-entry{border-inline-start:4px solid var(--orange,#ee6c16);background:#fffaf4;font-size:14px}.stamp-entry small{display:block;margin-top:8px;line-height:1.7}
.stamp-dialog{box-sizing:border-box;width:min(580px,calc(100vw - 32px));max-width:580px;max-height:85dvh;padding:0;border:1px solid #dce4ee;border-radius:20px;color:#183049;background:white;box-shadow:0 24px 100px #13243c33;text-align:start}
.stamp-dialog::backdrop{background:#15283b66;backdrop-filter:blur(3px)}
.stamp-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid #e6ecf2}
.stamp-dialog-heading h2{font-size:20px;line-height:1.5;margin:0;letter-spacing:normal}.stamp-dialog-body{padding:24px;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.stamp-dialog .stamp-close{border:0;background:#f0f4f8;border-radius:50%;width:36px;height:36px;font-size:24px;flex-shrink:0;cursor:pointer;color:inherit}
.stamp-business{text-align:center;margin-bottom:20px}.stamp-business h3{font-size:22px;line-height:1.5;margin:12px 0 4px}.stamp-business p{margin:0;color:#586a7d}.stamp-symbol{margin:auto;background:#fff2e5;color:#b94705;border-radius:20px;width:60px;height:60px;display:grid;place-items:center;font-size:32px}
.stamp-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.stamp-button{display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:10px 16px;border:1px solid #cfdae5;background:#fff;color:#183049;border-radius:10px;font:inherit;font-size:14px;line-height:1.5;cursor:pointer;text-decoration:none;white-space:normal}
.stamp-button.stamp-primary{background:var(--orange,#c44b00);border-color:transparent;color:#fff;font-weight:600}.stamp-button:hover{filter:brightness(.95)}.stamp-button:disabled{opacity:.65;cursor:wait}.stamp-button:focus-visible,.stamp-close:focus-visible,.stamp-field input:focus-visible{outline:3px solid #2768bd;outline-offset:3px}
.stamp-field{display:flex;flex-direction:column;gap:8px;margin-block:16px}.stamp-field input{box-sizing:border-box;min-width:0;width:100%;height:46px;border:1px solid #cbd7e3;border-radius:10px;padding:10px 12px;font:inherit;background:#fff;color:#183049}.stamp-field small{color:#586a7d;font-size:12px}.stamp-link{font-size:12px!important;text-align:left!important}
.stamp-status{border-radius:14px;background:#fff7e9;border:1px solid #f2d4a0;padding:18px;margin-bottom:20px}.stamp-status strong{font-size:18px}.stamp-status p{margin:6px 0 0}.stamp-approved{background:#eef9f2;border-color:#b4ddc1}.stamp-rejected,.stamp-canceled{background:#f5f7fa;border-color:#d9e1eb}
.stamp-alert{margin:16px 24px 0;padding:12px;background:#fff0f0;color:#a12424;border:1px solid #f2c3c3;border-radius:10px;font-size:14px}.stamp-alert[hidden]{display:none}
.stamp-request-list{list-style:none;padding:0;margin:20px 0}.stamp-request-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dce4ee;padding:16px;border-radius:12px;margin-bottom:12px}.stamp-request-list small{display:block;color:#586a7d;margin-top:5px;font-size:12px}.stamp-count{background:#fff1e2;border-radius:30px;padding:7px 12px;color:#8c3d0b}.stamp-empty{padding:32px 20px;background:#f6f8fb;border-radius:12px;text-align:center}.stamp-qr{background:white;display:flex;justify-content:center;padding:12px}.stamp-qr canvas{max-width:100%;height:auto!important}
html[dir=rtl] .stamp-dialog{letter-spacing:normal}
@media(max-width:600px){.stamp-dialog-heading{padding:16px}.stamp-dialog-body{padding:18px}.stamp-dialog-heading h2{font-size:18px}.stamp-request-list li{align-items:stretch;flex-direction:column}.stamp-request-list .stamp-actions .stamp-button{flex:1}.stamp-tools{padding:14px}.stamp-tools>.stamp-actions{width:100%}.stamp-tools .stamp-actions>.stamp-button{flex:1}.stamp-dialog .stamp-business h3{font-size:20px}}

.stamp-request-list li>div:first-child{flex:1;min-width:0}.stamp-request-list .stamp-actions{flex-shrink:0}

.checkout-columns{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(340px,1.1fr);gap:24px;align-items:start}
.vendor-qr-panel{text-align:center;padding:32px!important;position:sticky;top:24px}.vendor-qr-panel h2{font-size:24px;margin:18px 0 8px}.vendor-qr-panel p{line-height:1.7}
.vendor-qr-frame{width:min(100%,340px);aspect-ratio:1;margin:24px auto 12px;display:grid;place-items:center;background:white;border:1px solid #d9e1ec;border-radius:20px;overflow:hidden}
.vendor-qr-frame canvas{max-width:100%;height:auto!important}.vendor-qr-frame [hidden]{display:none!important}.vendor-qr-status{padding:24px;line-height:1.6}.vendor-qr-timer{color:#52647b;font-size:13px;margin-bottom:22px}.vendor-qr-timer b{display:inline-block;min-width:28px}
.checkout-scan-panel .scan-region{min-height:140px}.checkout-scan-panel .scan-region svg{width:32px;height:32px}.checkout-scan-panel .scan-region h3{margin:8px 0}.checkout-manual{margin:16px 0;padding-bottom:12px;border-bottom:1px solid #d9e1ec}.checkout-manual summary{cursor:pointer;color:#52647b;margin-bottom:12px}.checkout-scan-panel #checkout-form{border-top:1px solid #d9e1ec;padding-top:20px;margin-top:16px}.checkout-scan-panel .checkout-summary{display:none}
@media(max-width:900px){.checkout-columns{grid-template-columns:1fr}.vendor-qr-panel{position:static;padding:22px!important}.vendor-qr-frame{max-width:300px}}

[data-section=checkout] .stamp-tools{margin:0 0 24px}[data-section=checkout] .stamp-tools [data-stamp-action=qr]{display:none}.checkout-reference summary{cursor:pointer;color:#52647b;font-size:13px}.checkout-reference[open] summary{margin-bottom:12px}
