.analytics-choice{position:fixed;z-index:160;bottom:16px;left:16px;width:380px;max-width:calc(100% - 32px);box-sizing:border-box;margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:8px 12px 12px;border:1px solid #dce4ea;border-radius:8px;background:#fff;color:#345b83;box-shadow:0 4px 20px #345b8317;font:13px/1.5 Onest,sans-serif;max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}
.analytics-choice[hidden]{display:none}
/* A modal makes the background inert; show the unanswered choice again on close. */
body:has(dialog:modal)>.analytics-choice{display:none}
.analytics-choice__heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.analytics-choice strong{font-size:14px;font-weight:600}
.analytics-choice p{margin:4px 0 8px;overflow-wrap:anywhere}
.analytics-choice a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.analytics-choice__actions{display:flex;gap:6px;min-width:0;flex-wrap:wrap}
.analytics-choice button{cursor:pointer;padding:7px 10px;min-height:40px;background:#fff;color:#345b83;border:1px solid #c5d2dd;border-radius:4px;box-shadow:none;font:inherit;font-weight:500}
.analytics-choice button:hover{background:#f3f6f8}
.analytics-choice button:focus-visible,.analytics-choice a:focus-visible,.analytics-choice summary:focus-visible{outline:2px solid #b95c35;outline-offset:2px}
.analytics-choice button[data-choice="close"]{display:grid;place-items:center;flex-shrink:0;width:36px;min-height:36px;padding:0;margin-right:-6px;border-color:transparent;font-size:22px;font-weight:400;line-height:1}
.analytics-choice__details{min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.analytics-choice__details summary{display:flex;align-items:center;min-height:40px;padding:0;cursor:pointer;list-style:none;font:inherit;text-decoration:underline;text-underline-offset:3px}
.analytics-choice__details summary::-webkit-details-marker{display:none}
.analytics-choice__details[open]{grid-column:1/-1}
/* Match the shared mobile dock breakpoint, including narrow desktop panels. */
@media(max-width:850px){.analytics-choice{bottom:calc(76px + env(safe-area-inset-bottom));left:8px;max-width:calc(100% - 16px);max-height:calc(100dvh - 92px - env(safe-area-inset-bottom))}}
@media(max-width:360px){.analytics-choice{padding-inline:10px;column-gap:6px;font-size:12px}.analytics-choice button{padding-inline:7px}}
@media print{.analytics-choice{display:none!important}}
