body.storefront #receiptPreviewModal{font:400 16px/1.7 YSTBody,sans-serif}
body.storefront #receiptPreviewModal .receipt-preview-dialog{width:min(960px,calc(100% - 40px));max-width:960px;max-height:calc(100dvh - 40px);border:0;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(24,35,54,.22);overflow:hidden;display:flex;flex-direction:column}
body.storefront #receiptPreviewModal .receipt-preview-toolbar{padding:20px 28px;border-bottom:1px solid var(--yst-line);background:#fff;flex:none}
body.storefront #receiptPreviewKicker{display:none}
body.storefront #receiptPreviewModal .receipt-preview-toolbar h2{font:600 20px/1.5 YSTBody,sans-serif;color:var(--yst-ink)}
body.storefront #receiptPreviewModal .receipt-close-button{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:10px;background:var(--yst-soft);color:var(--yst-ink);font-size:28px;line-height:1}
body.storefront #receiptPreviewModal .receipt-preview-body{padding:0;overflow:auto;min-height:0;background:#fff}
body.storefront #receiptPreviewImage{display:none!important}
body.storefront #receiptPreviewModal .receipt-preview-actions{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 28px;border-top:1px solid var(--yst-line);background:#fff;flex:none}
body.storefront #receiptPreviewModal .receipt-preview-actions button{min-height:44px;font:600 16px/1.5 YSTBody,sans-serif;padding:10px 18px;border-radius:10px}
body.storefront #saveReceiptButton{background:var(--yst-blue);color:#fff;border:0}
body.storefront #receiptPreviewLoading{font:400 14px/1.6 YSTBody,sans-serif;padding:20px 28px}
body.storefront .order-sheet{padding:32px 40px;color:var(--yst-ink)}
body.storefront .order-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--yst-line)}
body.storefront .order-sheet-header>div{display:flex;flex-direction:column;gap:2px}
body.storefront .order-sheet-brand{font:900 22px/1.5 YSTWordmark,sans-serif}
body.storefront .order-sheet-header span,body.storefront .order-sheet-header a{font-size:14px;color:var(--yst-muted)}
body.storefront .order-sheet-header a{color:var(--yst-blue);text-underline-offset:4px}
body.storefront .order-sheet-heading{padding:28px 0 20px}
body.storefront .order-sheet-heading h3{font:600 30px/1.4 YSTBody,sans-serif;letter-spacing:-.025em;margin:0 0 12px}
body.storefront .order-sheet-status{color:var(--yst-muted);font-size:14px;margin:0}
body.storefront .order-sheet-status[data-paid=true]{color:#08724c}
body.storefront .order-sheet-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:var(--yst-soft);padding:20px;border-radius:12px;margin:0 0 28px}
body.storefront .order-sheet dl{font-size:16px;line-height:1.7}
body.storefront .order-sheet dt{color:var(--yst-muted);font-size:14px}
body.storefront .order-sheet dd{font-weight:600;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
body.storefront .order-sheet h4{font:600 20px/1.5 YSTBody,sans-serif;margin:0 0 16px}
body.storefront .order-sheet :is(.order-sheet-customer,.order-sheet-pricing,.order-sheet-sounds){margin-top:28px}
body.storefront .order-sheet :is(.order-sheet-customer,.order-sheet-pricing,.order-sheet-sounds) dl{margin:0}
body.storefront .order-sheet :is(.order-sheet-customer,.order-sheet-pricing,.order-sheet-sounds) dl>div{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;border-bottom:1px solid var(--yst-line);padding:12px 0}
body.storefront .order-sheet-pricing dd{text-align:right}
body.storefront .order-sheet .is-discount dd{color:#08724c}
body.storefront .order-sheet-product{font-weight:600;margin:0 0 12px}
body.storefront .order-sheet-amounts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:24px}
body.storefront .order-sheet-amounts>div{display:flex;flex-direction:column;gap:10px;background:var(--yst-soft);border-radius:12px;padding:20px}
body.storefront .order-sheet-amounts .is-total{background:var(--yst-yellow)}
body.storefront .order-sheet-amounts span{font-size:14px}
body.storefront .order-sheet-amounts strong{font-size:26px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums}
body.storefront .order-sheet-method{font-size:14px;margin:16px 0 0}
body.storefront .order-sheet-footer{border-top:1px solid var(--yst-line);margin-top:32px;padding-top:24px;font-size:16px}
body.storefront .order-sheet-footer p{color:var(--yst-muted);font-size:14px;margin:8px 0 0}
@media(max-width:600px){
 body.storefront #receiptPreviewModal .receipt-preview-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}
 body.storefront #receiptPreviewModal :is(.receipt-preview-toolbar,.receipt-preview-actions){padding:16px}
 body.storefront .order-sheet{padding:24px 20px}
 body.storefront .order-sheet-header{display:block}
 body.storefront .order-sheet-header a{display:block;margin-top:12px}
 body.storefront .order-sheet-heading h3{font-size:26px}
 body.storefront .order-sheet-meta{grid-template-columns:1fr;gap:16px;padding:16px}
 body.storefront .order-sheet :is(.order-sheet-customer,.order-sheet-pricing,.order-sheet-sounds) dl>div{grid-template-columns:1fr;gap:4px}
 body.storefront .order-sheet-pricing dd{text-align:left}
 body.storefront .order-sheet-amounts{grid-template-columns:1fr}
 body.storefront .order-sheet-amounts>div{padding:16px}
 body.storefront #receiptPreviewModal .receipt-preview-actions button{flex:1}
}
