/* Shared public policies use the same palette as the storefront. */
html body.sc-storefront .policy-page {
    background: var(--sc-bg);
    color: var(--sc-text);
    border-top: 1px solid var(--sc-line);
    padding: 32px 0 88px;
}
.policy-page *, .policy-page *::before, .policy-page *::after { box-sizing: border-box; }
.policy-page [hidden] { display: none !important; }
.policy-shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.policy-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; color: var(--sc-muted); }
.policy-breadcrumb a { color: var(--sc-muted); text-decoration: none; }
.policy-breadcrumb [aria-current] { color: var(--sc-text); }
.policy-header { padding: 42px 0 32px; max-width: 850px; scroll-margin-top: 110px; }
html body .policy-page .policy-eyebrow { color: var(--sc-gold); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 16px; }
html body .policy-page h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.18; letter-spacing: -.04em; font-weight: 500; color: var(--sc-text) !important; -webkit-text-fill-color: currentColor; background: none; margin: 0 0 16px; overflow-wrap: anywhere; }
html body .policy-page .policy-intro { color: var(--sc-muted); font-size: 15px; line-height: 1.8; margin: 0; }
html body .policy-page .policy-date { color: var(--sc-muted); font-size: 11px; margin: 14px 0 0; }
.policy-tabs { display: flex; flex-wrap: wrap; gap: 8px 30px; border-bottom: 1px solid var(--sc-line); margin-bottom: 36px; }
html body .policy-page .policy-tabs a { padding: 14px 0; min-height: 48px; display: inline-flex; align-items: center; color: var(--sc-muted); font-size: 13px; font-weight: 500; border-bottom: 2px solid transparent; text-decoration: none; margin-bottom: -1px; }
html body .policy-page .policy-tabs a[aria-current] { border-color: var(--sc-gold); color: var(--sc-gold); }
.policy-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.policy-sidebar { position: sticky; top: 110px; min-width: 0; max-height: calc(100dvh - 130px); overflow-y: auto; scrollbar-width: thin; }
.policy-index { padding: 22px 20px; border: 1px solid var(--sc-line); background: var(--sc-panel); border-radius: 12px; }
.policy-index summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; min-height: 24px; }
.policy-index summary::-webkit-details-marker { display: none; }
html body .policy-page .policy-index summary .policy-eyebrow { margin: 0; }
.policy-index-toggle { color: var(--sc-gold); font-size: 18px; font-weight: 400; line-height: 1; }
.policy-index[open] .policy-index-toggle { transform: rotate(45deg); }
.policy-index[open] summary { margin-bottom: 14px; }
.policy-index summary:focus-visible { outline: 2px solid var(--sc-gold); outline-offset: 4px; }
.policy-index ol { list-style: none; padding: 0; margin: 0; }
.policy-index li { margin: 0; }
html body .policy-page [data-policy-toc] { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; min-height: 44px; font-size: 12px; line-height: 1.6; color: var(--sc-muted); text-decoration: none; border-bottom: 1px solid var(--sc-line); overflow-wrap: anywhere; }
[data-policy-toc] > span { color: var(--sc-gold); font-size: 10px; min-width: 15px; }
html body .policy-page [data-policy-toc][aria-current] { color: var(--sc-text); font-weight: 600; }
html body .policy-page .policy-back-top { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-top: 16px; color: var(--sc-gold); font-size: 11px; text-decoration: none; }
.policy-sidebar-help { padding: 24px 6px 6px; }
html body .policy-page .policy-sidebar-help p { font-size: 13px; font-weight: 500; margin: 0 0 8px; color: var(--sc-text); }
.policy-sidebar-help > span { display: block; color: var(--sc-muted); font-size: 11px; line-height: 1.8; }
html body .policy-page .policy-sidebar-help a { display: inline-flex; gap: 24px; align-items: center; color: var(--sc-gold); min-height: 44px; font-size: 11px; text-decoration: none; }
.policy-document { min-width: 0; padding: 28px 34px 34px; background: var(--sc-panel); border: 1px solid var(--sc-line); border-radius: 14px; }
.policy-search { padding-bottom: 24px; border-bottom: 1px solid var(--sc-line); margin-bottom: 30px; }
.policy-search label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 10px; color: var(--sc-text); }
.policy-search-controls { display: flex; gap: 10px; align-items: center; }
html body.sc-storefront .policy-page .policy-search input { width: 100%; min-width: 0; min-height: 46px; padding: 12px 14px; border-radius: 8px; background: var(--sc-bg) !important; border: 1px solid var(--sc-line) !important; color: var(--sc-text) !important; font: inherit; font-size: 13px; box-shadow: none; }
html body.sc-storefront .policy-page .policy-search input::placeholder { color: var(--sc-muted); opacity: 1; }
html body.sc-storefront .policy-page .policy-search button { flex-shrink: 0; border: 1px solid var(--sc-line); border-radius: 8px; background: var(--sc-bg); color: var(--sc-text); font: inherit; font-size: 11px; padding: 10px 12px; min-height: 46px; cursor: pointer; }
.policy-search [role=status] { color: var(--sc-muted); margin: 10px 0 0; font-size: 11px; line-height: 1.6; }
.policy-search [role=status]:empty { display: none; }
.policy-prose { color: var(--sc-muted); font-size: 14px; line-height: 1.95; overflow-wrap: anywhere; }
html body .policy-page .policy-section { scroll-margin-top: 110px; margin-bottom: 30px; padding: 0 0 30px !important; border-bottom: 1px solid var(--sc-line); }
html body .policy-page .policy-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0 !important; }
html body .policy-page .policy-prose h2 { display: flex; align-items: baseline; gap: 14px; color: var(--sc-text); font-size: clamp(18px, 2vw, 21px); font-weight: 500; line-height: 1.55; letter-spacing: -.025em; margin: 0 0 16px; }
.policy-section-number { color: var(--sc-gold); font-size: 11px; font-weight: 500; min-width: 18px; letter-spacing: .04em; }
.policy-prose p { margin: 0 0 16px; }
.policy-prose p:last-child { margin-bottom: 0; }
.policy-plain-text { white-space: pre-line; }
html body .policy-page .policy-prose h3, html body .policy-page .policy-prose h4 { font-size: 16px; font-weight: 500; color: var(--sc-text); margin: 24px 0 10px; }
.policy-prose ul, .policy-prose ol { padding-left: 24px; margin: 16px 0; list-style-position: outside; }
.policy-prose ul { list-style-type: disc; }
.policy-prose ol { list-style-type: decimal; }
.policy-prose li { margin: 8px 0; padding-left: 4px; }
.policy-prose li::marker { color: var(--sc-gold); }
html body .policy-page .policy-prose strong { color: var(--sc-text); font-weight: 600; }
html body .policy-page .policy-prose a { color: var(--sc-gold); text-decoration: underline; text-underline-offset: 3px; }
.policy-callout, .policy-prose blockquote { background: var(--sc-bg); border: 1px solid var(--sc-line); border-left: 3px solid var(--sc-gold); padding: 20px; border-radius: 6px; margin: 20px 0; }
html body .policy-page .policy-callout h4 { margin-top: 0; }
.policy-table-wrap { overflow-x: auto; max-width: 100%; margin: 20px 0; border: 1px solid var(--sc-line); border-radius: 8px; }
html body .policy-page .policy-table { border-collapse: collapse; width: 100%; min-width: 480px; margin: 0; font-size: 12px; background: var(--sc-panel); }
html body .policy-page .policy-table th, html body .policy-page .policy-table td { padding: 14px; border-bottom: 1px solid var(--sc-line); text-align: left; color: var(--sc-muted); background: transparent; vertical-align: top; }
html body .policy-page .policy-table th { font-weight: 500; color: var(--sc-text); background: var(--sc-bg); }
html body .policy-page .policy-table tr:last-child td { border-bottom: 0; }
.policy-no-results, .policy-empty { padding: 10px 0 28px; color: var(--sc-muted); }
html body .policy-page .policy-no-results h2, html body .policy-page .policy-empty h2 { color: var(--sc-text); font-size: 19px; font-weight: 500; margin: 0 0 12px; }
html body .policy-page .policy-contact { margin-top: 36px; padding: 28px 0 0 !important; border-top: 1px solid var(--sc-line); }
html body .policy-page .policy-contact h2 { font-weight: 500; color: var(--sc-text); font-size: 21px; margin: 0 0 12px; letter-spacing: -.02em; }
html body .policy-page .policy-contact > p:not(.policy-eyebrow) { color: var(--sc-muted); font-size: 13px; line-height: 1.8; margin: 0 0 22px; }
.policy-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
html body .policy-page .policy-action { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 18px; min-height: 46px; border: 1px solid var(--sc-line); border-radius: 8px; color: var(--sc-text); background: transparent; font-size: 12px; font-weight: 500; text-decoration: none; }
html body .policy-page .policy-action-primary { background: var(--sc-button); color: var(--sc-button-text); border-color: var(--sc-button); }
html body .policy-page a:hover { text-decoration: underline; text-underline-offset: 4px; }
html body .policy-page :is(a, button, input):focus-visible { outline: 2px solid var(--sc-gold) !important; outline-offset: 4px; }
@media (max-width: 960px) {
    .policy-shell { width: min(100% - 40px, 800px); }
    .policy-layout { grid-template-columns: 1fr; gap: 24px; }
    .policy-sidebar { position: static; max-height: none; overflow: visible; }
    .policy-index { padding: 20px; }
    .policy-index ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
    .policy-sidebar-help, .policy-back-top { display: none !important; }
    .policy-tabs { gap: 0 24px; }
}
@media (max-width: 540px) {
    html body.sc-storefront .policy-page { padding: 24px 0 56px; }
    .policy-shell { width: calc(100% - 32px); }
    .policy-breadcrumb { font-size: 10px; gap: 8px; }
    .policy-header { padding: 28px 0 24px; }
    .policy-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-bottom: 24px; }
    html body .policy-page .policy-tabs a { font-size: 11px; }
    .policy-index ol { display: block; }
    .policy-index { padding: 18px; }
    .policy-document { padding: 22px 18px; border-radius: 10px; }
    .policy-prose { font-size: 13px; line-height: 1.9; }
    .policy-search-controls { flex-wrap: wrap; }
    .policy-search-controls input { flex-basis: 100%; }
    .policy-contact-actions { flex-direction: column; align-items: stretch; }
}
@media print {
    body > nav, body > footer, .policy-breadcrumb, .policy-tabs, .policy-sidebar, .policy-search, .policy-contact, .sc-floating-controls { display: none !important; }
    html body .policy-page { background: white; color: black; padding: 0; }
    .policy-shell { width: 100%; }
    .policy-layout { display: block; }
    .policy-document { background: transparent; border: 0; padding: 0; }
    .policy-page .policy-section[hidden] { display: block !important; }
    .policy-no-results { display: none; }
    html body .policy-page :is(h1,h2,h3,h4,p,a,strong,div,span) { color: black !important; }
}
