/* Overlay only: no resizing or restyling of the approved Ring. */
.outfit-dialog{--receipt-paper:#f6f5ef;position:fixed;inset:0 0 0 auto;margin:0;border:0;padding:0;width:min(460px,100%);max-width:100%;height:100dvh;max-height:100dvh;overflow:hidden;background-color:var(--receipt-paper);background-image:radial-gradient(#292b2510 .45px,transparent .55px);background-size:4px 4px;color:#262923;box-shadow:-12px 0 48px #171a1812;transform:translateX(100%);transition:transform 320ms cubic-bezier(.22,.75,.2,1);font-family:Arial,"Noto Sans TC",sans-serif}
.outfit-dialog[open]{display:flex;flex-direction:column}.outfit-dialog.is-open{transform:translateX(0)}
.outfit-dialog::backdrop{background:#16191400;transition:background 320ms ease}.outfit-dialog.is-open::backdrop{background:#16191438}
.receipt-header{padding:25px 30px 20px;flex:none;border-bottom:1px dashed #b8bbb0}.receipt-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.receipt-brand{font-weight:900;letter-spacing:-1px;font-size:22px}.receipt-close{border:1px solid #c4c7bc;border-radius:50%;background:transparent;width:40px;height:40px;display:grid;place-items:center;font-size:24px;line-height:1;font-weight:300;flex:none}.receipt-close:hover{background:#e8e9df}.receipt-kicker,.receipt-meta,.receipt-footer,.product-number{font:10px/1.5 "SFMono-Regular",Consolas,monospace;letter-spacing:1.1px}.receipt-kicker{margin:25px 0 8px;color:#74786e}.receipt-title{font:400 29px/1.08 "SFMono-Regular",Consolas,monospace;letter-spacing:-1.5px;margin:0 0 18px}.receipt-meta{display:flex;justify-content:space-between;color:#646a5b}.receipt-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:0 30px;-webkit-overflow-scrolling:touch}.receipt-demo{font-size:11px;line-height:1.8;padding:15px 0 13px;border-bottom:1px dashed #c4c7bc;color:#686e61;margin:0}.receipt-demo strong{display:block;font-size:10px;font-weight:500;letter-spacing:1px;color:#343b2d}.receipt-products{list-style:none;margin:0;padding:0}.receipt-item{display:grid;grid-template-columns:78px 1fr;gap:18px;padding:22px 0;border-bottom:1px dashed #c4c7bc}.product-thumb{height:100px;align-self:start;background:#eaece3;border:1px solid #dfe2d5;display:grid;place-items:center;overflow:hidden}.product-thumb img{width:100%;height:100%;object-fit:contain}.product-number{font-size:8px;color:#878c7f;letter-spacing:.8px}.product-name{font-size:14px;font-weight:500;line-height:1.5;margin:5px 0 2px;letter-spacing:.3px}.product-name-en{font-size:10px;line-height:1.5;color:#83897a;margin:0}.product-price{font-size:11px;margin:10px 0 9px;color:#595f51}.product-link{font-size:10px;text-decoration:underline;text-underline-offset:4px;display:inline-block;padding:4px 0}.product-link:hover{color:#697452}.product-link.is-unset{color:#898e81;text-decoration:none}.receipt-footer{padding:19px 30px 22px;border-top:1px dashed #b8bbb0;display:flex;justify-content:space-between;gap:15px;flex:none;color:#7e8476;font-size:8px;background:#f6f5ef}.receipt-empty{padding:35px 0;color:#73796a;font-size:13px}.receipt-close:focus-visible,.product-link:focus-visible{outline:2px solid #697452;outline-offset:4px}
@media(max-width:760px){.outfit-dialog{inset:auto 0 0;width:100%;height:min(86dvh,760px);max-height:calc(100dvh - 24px);border-radius:16px 16px 0 0;transform:translateY(100%);box-shadow:0 -12px 48px #171a1815}.outfit-dialog.is-open{transform:translateY(0)}.receipt-header{padding:18px 24px 17px}.receipt-brand{font-size:20px}.receipt-kicker{margin:16px 0 6px}.receipt-title{font-size:26px;margin-bottom:14px}.receipt-scroll{padding:0 24px}.receipt-item{grid-template-columns:70px 1fr;gap:16px;padding:18px 0}.product-thumb{height:94px}.receipt-footer{padding:16px 24px calc(16px + env(safe-area-inset-bottom));font-size:7px}.receipt-demo{padding-top:13px}.receipt-close{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.outfit-dialog,.outfit-dialog::backdrop{transition:none}}
