/* Consent UI for the public samples; private workspaces never load analytics. */
.consent-banner{position:fixed;z-index:150;bottom:16px;left:16px;right:16px;max-width:1000px;margin:auto;background:#fffef9;color:#203e36;border:1px solid #cbd0c6;box-shadow:0 10px 45px #142c3330;padding:20px;display:flex;gap:24px;align-items:center;border-radius:12px;font:15px/1.5 system-ui}
.consent-banner h2{font:600 20px/1.2 system-ui;margin:0 0 8px}.consent-banner p{font:14px/1.5 system-ui;margin:0}.consent-actions{display:flex;gap:12px;flex-wrap:wrap}.consent-actions button{min-height:44px;border:1px solid #203e36;border-radius:8px;padding:10px 16px;font:15px/1.4 system-ui;background:#203e36;color:white}.consent-actions [data-consent=rejected]{background:white;color:#203e36}.consent-banner a{color:#854832;text-decoration:underline}
#analytics-settings{max-width:min(560px,calc(100vw - 32px));box-sizing:border-box;border:1px solid #cbd0c6;border-radius:14px;padding:24px;background:#fffef9;color:#203e36;font:16px/1.5 system-ui}#analytics-settings::backdrop{background:#102b2666}#analytics-settings .dialog-head{display:flex;align-items:start;justify-content:space-between;gap:15px}#analytics-settings h2{font:600 24px/1.2 system-ui}#analytics-settings .close-dialog{min-width:44px;min-height:44px}#analytics-settings .privacy-note{font-size:14px}
@media(max-width:700px){.consent-banner{display:block;max-height:65dvh;overflow:auto}.consent-banner .consent-actions{margin-top:16px}}
@media print{.consent-banner,#analytics-settings,[data-cookie-settings]{display:none!important}}

/* Compact consent banner on phones (11 Nov 2026): same wording, Reject and Accept equally prominent, about 26% of a 375x812 screen instead of 38% */
@media(max-width:700px){.consent-banner{left:0;right:0;bottom:0;border-radius:14px 14px 0 0;padding:12px 14px calc(12px + env(safe-area-inset-bottom));max-height:45dvh}.consent-banner h2{font-size:16px;line-height:1.25;margin:0 0 4px}.consent-banner p{font-size:12px;line-height:1.45}.consent-banner .consent-actions{margin-top:10px;gap:10px}.consent-banner .consent-actions .button,.consent-banner .consent-actions button{min-height:44px;padding:8px 12px;flex:1}}
