/* A quiet first layer; the controls expand only on request. */
.data-preferences{box-sizing:border-box;position:fixed;inset:auto 12px max(12px,env(safe-area-inset-bottom)) auto;width:min(460px,calc(100% - 24px));max-width:none;max-height:calc(100svh - 24px - env(safe-area-inset-bottom));margin:0;padding:18px 20px;overflow:auto;overscroll-behavior:contain;border:1px solid #bca48b;border-radius:0;background:#faf5ed;color:#49352d;box-shadow:0 6px 32px #281b141f;font:15px/1.5 var(--font-brand);text-align:left}
.data-preferences[open]{display:block}
dialog.data-preferences[open]::backdrop{background:rgba(39,27,20,.17);backdrop-filter:none}
.data-preferences [hidden]{display:none!important}
.data-preferences-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}
.data-preferences-heading h2{font:27px/1.15 var(--font-brand);letter-spacing:-.025em;margin:0}
.data-preferences-heading button{flex:none;display:grid;place-items:center;font:26px/1 var(--font-brand);width:44px;height:44px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}
.data-preferences p{font:15px/1.5 var(--font-brand);margin:10px 0}
.data-policy-links{display:flex;gap:24px;margin:0 0 10px;padding:0;border:0;background:none}
.data-policy-links a{display:inline-flex;align-items:center;min-height:44px;font:15px/1.4 var(--font-brand);color:#49352d;text-decoration:underline;text-underline-offset:4px}
.data-preference-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #d2bfaa}
.data-preference-row>div{min-width:0}
.data-preference-row h3,.data-preference-row label{display:block;font:bold 15px/1.4 var(--font-brand);margin:0}
.data-preference-row label{cursor:pointer}
.data-preference-row p{font-size:14px;margin:4px 0 0}
.data-always-active{flex-shrink:0;font-size:13px;color:#5b493a}
.data-preferences input[role=switch]{appearance:none;position:relative;flex:none;width:48px;height:44px;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}
.data-preferences input[role=switch]::before{content:'';box-sizing:border-box;position:absolute;top:8px;left:0;width:48px;height:28px;border:1px solid #796451;border-radius:20px;background:#cdbca7}
.data-preferences input[role=switch]::after{content:'';position:absolute;top:12px;left:4px;width:20px;height:20px;border-radius:50%;background:#fffaf3;box-shadow:0 1px 2px #49352d40}
.data-preferences input[role=switch]:checked::before{background:#49352d}
.data-preferences input[role=switch]:checked::after{left:24px}
.data-preferences input[role=switch]:disabled{opacity:.6;cursor:not-allowed}
.data-preferences [data-analytics-unavailable]{font-size:14px;margin:0 0 12px;color:#635142}
.data-preference-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:0}
.data-preference-actions button{min-width:0;min-height:44px;padding:10px 6px;border:1px solid #49352d;background:transparent;color:#49352d;font:15px/1.3 var(--font-brand);cursor:pointer}
.data-preference-actions.necessary-only{grid-template-columns:1.5fr 1fr}
.data-preference-actions button:hover{background:#ede1d0}
.data-preference-details{border-top:1px solid #d2bfaa;margin-bottom:12px}
.data-preference-details summary{min-height:44px;display:list-item;align-content:center;font-size:14px;cursor:pointer}
.data-preference-details p{font-size:14px}
.data-preferences .data-status{font-size:14px;margin:10px 0}
.data-preferences .data-status:empty{display:none}
.data-clear-button{min-height:48px;padding:.8rem 1.2rem;background:#49352d;color:#fff8ec;border:1px solid #49352d;font:inherit;cursor:pointer}
.data-clear-secondary{background:transparent;color:#49352d}
.data-status{font-size:.9rem}
.data-preferences :focus-visible,.privacy-page :focus-visible{outline:3px solid #9a572c;outline-offset:2px}
.privacy-page a{color:#704c37;text-underline-offset:.22em}
.privacy-page .policy-index{display:flex;flex-wrap:wrap;gap:4px 24px;border-block:1px solid #dfd0be;padding:12px 0;margin:24px 0}
.privacy-page .policy-index a{display:inline-flex;align-items:center;min-height:44px}
.privacy-page [id]{scroll-margin-top:24px}
@media(min-width:640px){.data-preferences{right:24px;bottom:24px;padding:18px 22px}}
@media(max-width:380px){.data-preferences{padding:14px 16px}.data-preferences-heading h2{font-size:25px}.data-preference-actions{gap:6px}.data-preference-actions button{font-size:14px}.data-preference-row{gap:12px}}
.privacy-page{margin:0;background:#faf5ed;color:#49352d;font:1.05rem/1.65 var(--font-brand)}.privacy-page header{max-width:65rem;margin:auto;padding:1.5rem;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;border-bottom:1px solid #dfd0be}.privacy-page main{max-width:49rem;padding:2rem 1.5rem 5rem;margin:auto}.privacy-page h1{font:clamp(2.7rem,8vw,4.2rem)/1.07 var(--font-brand)}.privacy-page h2{font:1.8rem/1.2 var(--font-brand);margin-top:2.7rem}.privacy-page .privacy-note{padding:1.1rem;border-left:3px solid #986749;background:#eee2d2}.privacy-page .storage-list{display:grid;gap:1.1rem}.privacy-page .storage-list>div{padding:1.2rem;background:#f1e8dc}.privacy-page dt{font-weight:bold}.privacy-page dd{margin:.4rem 0 0}.privacy-page code{font-size:.85em;overflow-wrap:anywhere}.privacy-page footer{max-width:49rem;margin:auto;padding:1.5rem;border-top:1px solid #dfd0be}.privacy-page li{margin:.5rem 0}
