.legal-consents{padding:10px 14px;margin:12px 0;border-color:#ddd;background:#fafafa}
.legal-consents>p:not(.checkout-consent-note){display:none}
.legal-consents label{margin:8px 0!important;line-height:1.5!important}
.legal-consents label>span{min-width:0;overflow-wrap:anywhere}
.legal-consents a{color:inherit;text-underline-offset:3px}
.legal-consents .custom-notice{padding-top:0;border-top:0}
.legal-consents .checkout-consent-note{margin:6px 0 0;font-size:11px!important;color:#666!important}
.checkout-transfer-link{display:inline-block;font-size:11px;margin-top:5px}
.checkout-policy-dialog{box-sizing:border-box;width:min(680px,calc(100vw - 28px));max-width:none;max-height:85dvh;padding:0;border:1px solid #ddd;border-radius:12px;background:#fff;color:#222;box-shadow:0 20px 70px #0003;font:14px/1.7 "Malgun Gothic",sans-serif}
.checkout-policy-dialog::backdrop{background:#0007}
.checkout-policy-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #eee}
.checkout-policy-dialog h2{margin:0;font-size:18px}
.checkout-policy-dialog>header button{width:40px;height:40px;padding:0;border:0;background:#f1f1f1;color:#222;border-radius:50%;font-size:26px;cursor:pointer}
.checkout-policy-body{max-height:calc(85dvh - 80px);overflow:auto;overscroll-behavior:contain;padding:16px 20px;box-sizing:border-box}
.checkout-policy-body .legal-content{margin:0;padding:0;font-size:14px}
.checkout-policy-body .legal-content h2{font-size:16px;margin:20px 0 8px}
.checkout-policy-summary{margin:0 0 18px;padding:12px;background:#f4f4f4;border-radius:6px}
@media(max-width:480px){.checkout-policy-body{padding:14px}.checkout-policy-dialog h2{font-size:16px}.legal-consents{padding:8px 10px}}
