.analytics-consent:not([open]){display:none}
.analytics-consent[open].is-floating{box-sizing:border-box;display:block;position:fixed;inset:0;z-index:1200;width:calc(100% - 48px);max-width:520px;height:fit-content;max-height:calc(100dvh - 48px);margin:auto;padding:0;overflow:auto;border:1px solid #e7d8c6;border-radius:24px;background:#fffaf5;color:#39291e;box-shadow:0 20px 64px #39291e26;overscroll-behavior:contain;font-family:system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif}
.analytics-consent::backdrop{background:#39291e52}
.analytics-consent[open].is-floating .analytics-consent__panel{display:block;box-sizing:border-box;width:100%;max-width:none;margin:0;padding:26px;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left}
.analytics-consent[open].is-floating h2{margin:0 0 12px;font-size:21px;font-weight:700;line-height:1.4;letter-spacing:-.03em;color:#39291e}
.analytics-consent[open].is-floating .analytics-consent__panel>p{margin:0 0 18px;color:#806b56;font-size:13px;line-height:1.7}
.analytics-consent[open] .analytics-choice{display:flex;align-items:flex-start;gap:12px;min-height:44px;margin:10px 0;padding:14px;border:1px solid #eadfD2;border-radius:14px;background:#fffdf9;cursor:pointer}
.analytics-consent[open] .analytics-choice input{flex:none;width:20px;height:20px;margin:2px 0;accent-color:#b54d32}
.analytics-consent[open] .analytics-choice strong{display:block;color:#39291e;font-size:15px;line-height:1.5}
.analytics-consent[open] .analytics-choice small{display:block;margin-top:5px;color:#806b56;font-size:12px;line-height:1.65}
.analytics-consent[open] .analytics-choice:has(input:checked){border-color:#c98c73;background:#faf1e8}
.analytics-consent[open].is-floating .analytics-consent__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.analytics-consent[open] .analytics-consent__actions button{flex:1;min-height:44px;padding:10px 16px;border:1px solid #dfcdb9;border-radius:12px;background:#fffdf9;color:#6e5a45;font:inherit;font-size:14px;line-height:1.5;cursor:pointer}
.analytics-consent[open] #analytics-consent-save{border-color:#b54d32;background:#b54d32;color:#fff}
.analytics-consent[open] .analytics-consent__panel a{display:inline;padding:0;background:none;color:#a64932;font-size:inherit;text-decoration:underline;text-underline-offset:3px}
.analytics-consent[open] :focus-visible{outline:2px solid #b54d32;outline-offset:3px}
@media(max-width:600px){.analytics-consent[open].is-floating{inset:auto 0 0;width:100%;max-width:none;max-height:85dvh;margin:0;border-radius:24px 24px 0 0}.analytics-consent[open].is-floating .analytics-consent__panel{padding:22px 20px calc(20px + env(safe-area-inset-bottom))}.analytics-consent[open].is-floating h2{font-size:20px}}
