header #policy-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0;border:0;background:none;box-shadow:none;color:inherit;font:inherit;white-space:nowrap}header #policy-button[hidden]{display:none}#policy-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;flex-shrink:0}.admin-page #policy-button{display:none}
/* The dialog shell is shared with the contact card in shop-notices.css. */
.policy-notice-head{padding:28px 32px 20px;border-bottom:1px solid var(--line);flex:none;text-align:center}
.policy-notice-head .small-label{font-size:12px;color:var(--muted);letter-spacing:0}
.policy-notice-head h2{margin:8px 0 0;font-size:26px;line-height:1.35;font-weight:600}
.policy-notice-head p{font-size:13px;line-height:1.75;margin:12px 0 0;color:var(--muted)}
.policy-notice-scroll{flex:1;min-height:0;overflow:auto;padding:16px 32px;overscroll-behavior:contain;font-size:14px;line-height:1.85}
.policy-notice-scroll section{padding:14px 0;border-bottom:1px solid var(--line)}
.policy-notice-scroll h3{font-size:16px;margin:0 0 10px}
.policy-notice-scroll p{margin:8px 0}
.policy-welcome{color:var(--muted)}
.policy-notice-footer{padding:12px 32px 30px;border-top:1px solid var(--line);background:var(--bg);flex:none}
.policy-notice-footer p{font-size:12px;min-height:20px;line-height:1.6;color:var(--muted);margin:0 0 8px}
.policy-notice-footer p:empty{display:none}
.policy-notice-footer button{min-height:46px;padding:10px 18px;border:0;border-radius:7px;background:var(--ink);color:#fff;font-size:14px}
.policy-notice-footer button:hover:not(:disabled){background:#405348}
.policy-notice-footer button:disabled{background:#e3e5df;color:#92998e;opacity:1;border-color:#e3e5df}
.policy-leaving{pointer-events:none}.policy-leaving::backdrop{background:transparent;backdrop-filter:none}
.policy-panel{padding:20px;margin:20px 0;border:1px solid #dce3d8;border-radius:14px;background:#f8f9f3;line-height:1.7;overflow-wrap:anywhere}.policy-panel h3{margin:0}.policy-status{margin:12px 0;padding:12px 14px;background:#f4eddf;border-left:3px solid #ad703f;color:#714721;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.policy-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.policy-form label{display:flex;flex-direction:column;gap:6px;font-size:14px;min-width:0}.policy-form label.check{flex-direction:row;align-items:flex-start}.policy-form label.check input{margin-top:5px;flex-shrink:0}.policy-form input,.policy-form select{max-width:100%;min-width:0}.policy-wide{grid-column:1/-1}.policy-form h4,.policy-form p{margin:0}.policy-form input[type=file]{font-size:13px;padding:10px 0;border:0;background:transparent}.policy-pay-qr{display:block;width:220px;max-width:100%;margin:16px auto}.policy-panel details{margin-top:16px}.policy-panel summary{cursor:pointer;line-height:1.6}.policy-proof-record{padding:16px 0;border-bottom:1px solid #dfe3d9}.policy-panel .proof-photos{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.policy-panel .proof-photos img{width:96px;height:112px;object-fit:contain;background:white;border:1px solid #dfe3d9;border-radius:6px}.policy-admin-section{padding:14px 0;border-top:1px solid #dce3d8}.policy-ledger small{display:block;color:#707b74}.policy-ledger p{padding:10px 0;margin:0;border-bottom:1px solid #e3e6dc}.policy-lot{display:flex;gap:20px;padding:20px 0;border-bottom:1px solid #ddd}.policy-lot img{width:85px;height:100px;object-fit:contain}.policy-lot h3{margin:0}.policy-lot>div{min-width:0}.policy-lot p{overflow-wrap:anywhere}.policy-cash{margin:20px 0}.domestic-note{color:#526e54}.policy-account-risk:empty{display:none}
@media(max-width:760px){header:not(.admin-page header){grid-template-columns:repeat(4,max-content);justify-content:space-between;gap:8px 10px}header .brand{grid-column:1/-1}header #contact,header #policy-button,header #customer-button,header #open-checkout{grid-row:2;grid-column:auto!important;font-size:13px;gap:5px;min-height:40px}header #contact svg,header #policy-button svg,header #customer-button svg{width:21px;height:21px}header #cart-bag{width:21px;height:24px}header.contact-inline{grid-template-columns:minmax(0,1fr) repeat(4,max-content)}header.contact-inline .brand{grid-column:1}header.contact-inline #contact,header.contact-inline #policy-button,header.contact-inline #customer-button,header.contact-inline #open-checkout{grid-row:1}.policy-panel{padding:15px}.policy-notice-head{padding:24px 24px 18px}.policy-notice-head h2{font-size:24px}.policy-notice-scroll{padding:12px 24px}.policy-notice-footer{padding:12px 24px max(24px,env(safe-area-inset-bottom))}.policy-form{grid-template-columns:minmax(0,1fr)}.policy-panel .section-head{align-items:flex-start;gap:10px}.policy-panel .section-head h3{font-size:18px}.policy-lot{gap:12px}.policy-lot .actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.policy-notice{scroll-behavior:auto}}
body:not(.admin-page)>header #policy-button{font-size:14px;min-height:44px}
#policy-account-alert{max-width:1440px;margin:12px auto;padding:12px 20px;background:#f4eddf;color:#714721;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}#policy-account-alert[hidden]{display:none}#policy-account-alert button{background:transparent;color:inherit;white-space:nowrap;min-height:40px}
body:not(.admin-page)>header :is(#contact,#policy-button,#customer-button,#open-checkout){order:0}
@media(max-width:360px){body:not(.admin-page)>header :is(#contact,#policy-button,#customer-button,#open-checkout){font-size:11px!important;gap:3px}body:not(.admin-page)>header :is(#contact,#policy-button,#customer-button) svg{width:15px!important;height:17px!important}body:not(.admin-page)>header #cart-bag{width:18px;height:22px}body:not(.admin-page)>header{column-gap:4px!important}}
@media(max-width:760px){body:not(.admin-page)>header{grid-template-columns:repeat(4,max-content);justify-content:space-between;gap:6px 8px}body:not(.admin-page)>header .brand{grid-column:1/-1;grid-row:1}body:not(.admin-page)>header :is(#contact,#policy-button,#customer-button,#open-checkout){grid-row:2;grid-column:auto!important;margin:0;width:auto;font-size:12px;gap:4px}body:not(.admin-page)>header.contact-inline{grid-template-columns:minmax(0,1fr) repeat(4,max-content)}body:not(.admin-page)>header.contact-inline .brand{grid-column:1}body:not(.admin-page)>header.contact-inline :is(#contact,#policy-button,#customer-button,#open-checkout){grid-row:1}body:not(.admin-page)>header :is(#contact,#policy-button,#customer-button) svg{width:18px;height:19px}#policy-account-alert{margin:8px 14px;padding:10px 12px;align-items:flex-start;font-size:12px}#policy-account-alert button{font-size:12px;min-height:32px}}

.policy-notice-head h2:focus{outline:none}

#account-bill-count{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 3px;font-size:10px;font-weight:600;border-radius:8px;background:#ad4d29;color:#fff}#account-bill-count[hidden]{display:none}

.policy-panel .section-head>button{flex-shrink:0;white-space:nowrap;padding:8px 10px;font-size:12px}
.policy-delivery{margin:20px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.policy-delivery h4{margin:0 0 12px;font-size:17px}
.policy-delivery-info{padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--bg);overflow-wrap:anywhere}
.policy-delivery-info p{margin:8px 0 0;white-space:pre-wrap}
.policy-delivery fieldset{min-width:0;margin:16px 0 0;padding:0;border:0}
.policy-delivery legend{margin-bottom:12px;font-size:14px;font-weight:600}
