.footer-legal-links {border-top:1px solid var(--line);padding:22px 0;display:flex;flex-wrap:wrap;gap:10px 24px;font-size:12px}
.footer-legal-links a:hover,.footer-legal-links a:focus-visible {text-decoration:underline;text-underline-offset:5px}
.legal-page {padding-top:34px;padding-bottom:80px}
.legal-page-heading {padding:42px 0 36px;border-bottom:1px solid #e6d9dc;margin-bottom:38px}
.legal-page-heading h1 {font:400 clamp(30px,4vw,48px)/1.2 var(--serif);color:#46323c;margin:14px 0 18px;max-width:850px}
.legal-page-heading p {color:#75666d;font-size:13px}
.legal-layout {display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;align-items:start}
.legal-navigation {display:grid;gap:4px;position:sticky;top:190px}
.legal-navigation a {padding:12px 14px;border-left:2px solid transparent;color:#64535b;line-height:1.5}
.legal-navigation a[aria-current],.legal-navigation a:hover {background:#f6eff1;border-color:#805969;color:#4c3240}
.legal-document {max-width:780px;min-width:0;font-size:15px;line-height:1.9;color:#443b40;overflow-wrap:anywhere}
.legal-document section {margin-bottom:30px}
.legal-document h2 {font:600 15px/1.5 var(--sans);letter-spacing:.035em;color:#714c5c;margin:28px 0 12px}
.legal-document p {white-space:pre-line;margin:0 0 25px}
.checkout-legal {background:#f7f1f3;border:1px solid #e3d6dc;padding:20px;border-radius:8px;margin:22px 0}
.checkout-legal h3 {font-family:var(--serif);font-size:23px;margin:0 0 10px}
.checkout-legal-links {display:flex;flex-wrap:wrap;gap:12px 18px;margin:14px 0}
.checkout-legal a,.checkout-legal button {text-decoration:underline;text-underline-offset:4px;color:#694451}
.checkout-legal-status {font-size:12px;color:#634955;margin-top:12px}
.checkout-legal p {font-size:13px;line-height:1.8}
.legal-quote-dialog {width:min(900px,94vw);max-height:90dvh;padding:0;border:1px solid #ddcbd2;border-radius:12px;background:#fffcfd;color:#443b40}
.legal-quote-dialog::backdrop {background:#302129aa}
.legal-quote-dialog[open] {display:flex;flex-direction:column;overflow:hidden}
.legal-quote-header,.legal-quote-actions {flex-shrink:0}
.legal-quote-dialog .legal-quote-content {min-height:0;flex:1}
.legal-quote-header {position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f5edef;padding:20px 24px;border-bottom:1px solid #ddcbd2;z-index:1}
.legal-quote-header h2 {font:400 26px/1.2 var(--serif)}
.legal-quote-header button {font-size:27px;line-height:1;padding:10px}
.legal-quote-content {padding:24px;max-height:65dvh;overflow:auto}
.legal-quote-content details {margin-bottom:16px;border:1px solid #e5d9de;border-radius:6px}
.legal-quote-content summary {cursor:pointer;font-weight:600;padding:16px;background:#faf5f7}
.legal-quote-content pre {white-space:pre-wrap;overflow-wrap:anywhere;font:400 14px/1.85 var(--sans);padding:20px;margin:0}
.legal-quote-actions {padding:18px 24px;border-top:1px solid #e4d8dd;display:flex;justify-content:flex-end;gap:12px}
.legal-quote-actions .button {min-height:44px}
.checkout-order-documents{margin:16px 0;display:grid;gap:8px}
.checkout-order-documents[hidden]{display:none}
.checkout-order-documents details{border:1px solid #e1d2d8;border-radius:5px;background:#fffdfd}
.checkout-order-documents summary{padding:14px;font-size:13px;font-weight:500;cursor:pointer}
.checkout-order-documents pre{padding:0 14px 14px;margin:0;max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:400 12px/1.8 var(--sans)}
.review-consent:has(input:disabled){opacity:.6}
.legal-quote-actions {display:grid;grid-template-columns:auto minmax(180px,1fr);align-items:center}
.legal-dialog-consent {grid-column:1/-1;grid-row:1;display:flex;align-items:flex-start;gap:12px;margin:0;padding:16px;background:#f5eff1;border:1px solid #d9c5cc;border-radius:4px;font-size:14px;line-height:1.6;color:#3b2c32}
.legal-dialog-consent input {flex:0 0 20px;width:20px;height:20px;margin:2px 0 0;accent-color:#76535f}
.legal-quote-actions [data-confirm-legal] {justify-self:stretch}
.legal-quote-actions [data-confirm-legal]:disabled {opacity:.45;cursor:not-allowed}
#checkout-legal-status[role="alert"] {padding:16px;background:#f8ecec;border:1px solid #c68c94;color:#6f2636;font-size:14px;line-height:1.6}
#payment-fee-status strong {display:block;font-size:14px;margin-bottom:6px}
#payment-fee-status p {margin:0;line-height:1.7}
.contact-official {grid-column:1/-1}
.contact-official p {max-width:760px}
@media(max-width:800px){
 .legal-quote-actions {grid-template-columns:1fr 1fr;gap:10px;padding:12px}
 .legal-quote-actions [data-confirm-legal] {grid-column:1/-1}
 .legal-quote-content {max-height:48dvh!important}
 .legal-page {padding-top:20px;padding-bottom:45px}
 .legal-page-heading {padding:25px 0;margin-bottom:24px}
 .legal-layout {display:block}
 .legal-navigation {position:static;display:flex;overflow-x:auto;gap:8px;padding-bottom:14px;margin-bottom:24px;scrollbar-width:thin}
 .legal-navigation a {flex:0 0 auto;max-width:210px;border:1px solid #e1d2d8;border-radius:5px;padding:10px 12px;font-size:12px}
 .legal-document {font-size:14px;line-height:1.9}
 .checkout-legal {padding:16px}
 .legal-quote-header {padding:12px 16px}
 .legal-quote-header h2 {font-size:23px}
 .legal-quote-content {padding:14px;max-height:62dvh}
 .legal-quote-content pre {padding:14px;font-size:13px}
 .footer-legal-links {gap:10px 16px;font-size:11px}
}
@media print{.site-header,.site-footer,.footer-invite,.topbar,.floating-social,.store-music,.music-launcher,.legal-navigation,.mobile-bottom-nav{display:none!important}.legal-layout{display:block}.legal-page-heading{padding:10px 0}.legal-document{max-width:none;color:#000}.legal-page{padding:0}}
