.analytics-choice{position:fixed;bottom:12px;left:12px;right:12px;z-index:9000;max-width:1120px;margin:0 auto;padding:12px 16px;background:#fff;color:#17232a;border:1px solid #482683;box-shadow:0 3px 16px #0002;border-radius:8px;font-size:.875rem;line-height:1.45;display:flex;align-items:center;gap:12px 20px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}.analytics-choice[hidden]{display:none}.analytics-choice p{margin:0;flex:1}.analytics-choice a{color:#482683;text-decoration:underline;text-underline-offset:3px}.analytics-choice__actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.analytics-choice .btn,.analytics-choice .btn-o{min-height:40px;padding:9px 14px;font-size:.875rem;line-height:1.2;white-space:nowrap;border-radius:5px}.analytics-choice .btn-o{color:#482683;border-color:#482683}.analytics-choice :focus-visible{outline:3px solid #006bb4;outline-offset:3px}html.analytics-choice-open{height:100%;overflow:hidden}html.analytics-choice-open body{height:calc(100vh - var(--analytics-choice-space,0px));height:calc(100dvh - var(--analytics-choice-space,0px));overflow-y:auto}.analytics-choice-open .nav.is-open{max-height:calc(100vh - var(--analytics-choice-space,0px) - var(--header-bottom,200px) - 8px);max-height:calc(100dvh - var(--analytics-choice-space,0px) - var(--header-bottom,200px) - 8px)}.analytics-settings{background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit;padding:0}.map-placeholder{padding:20px;background:#f5f5f5}.legal-review-note{padding:16px;border:2px solid #9a6700;background:#fff8c5;color:#333}@media(max-width:760px){.analytics-choice{padding:12px;flex-direction:column;align-items:stretch;gap:10px}}

/* Non-modal analytics card. Existing JS keeps site controls clear of this region. */
.analytics-choice--popup{left:auto;right:12px;width:min(31rem,calc(100% - 24px));max-width:none;margin:0;display:block;padding:13px 15px;border-radius:10px;max-height:44vh;max-height:44dvh;overflow:auto;overscroll-behavior:contain}
.analytics-choice--popup .analytics-choice__title{font-size:1.0625rem;font-weight:700;line-height:1.22;color:#482683;margin:0 0 5px;overflow-wrap:anywhere}
.analytics-choice--popup .analytics-choice__text{font-size:.875rem;line-height:1.4;margin:0 0 10px;overflow-wrap:anywhere}
.analytics-choice--popup .analytics-choice__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}
.analytics-choice--popup .btn,.analytics-choice--popup .btn-o{min-height:44px;min-width:0;padding:8px 10px;font-size:.875rem;line-height:1.2;white-space:normal;overflow-wrap:anywhere;text-align:center;width:100%;border:1px solid #482683}
.analytics-choice--popup .btn{background:#482683;color:#fff}
.analytics-choice--popup .btn-o{background:#fff;color:#482683}
.analytics-choice--popup .btn:hover{background:#382061;color:#fff}
.analytics-choice--popup .btn-o:hover{background:#f2edf9;color:#482683}
@media(max-width:760px){.analytics-choice--popup{left:12px;width:auto;padding:11px 12px}}
@media(max-height:500px){html.analytics-choice-open .site-header{position:relative;top:auto}}
@media(max-height:500px) and (min-width:520px){
 .analytics-choice--popup:not([hidden]){left:12px;width:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,38%);grid-template-rows:auto 1fr;column-gap:16px;padding:8px 12px;max-height:35vh;max-height:35dvh}
 .analytics-choice--popup .analytics-choice__title{grid-column:1;grid-row:1}
 .analytics-choice--popup .analytics-choice__text{grid-column:1;grid-row:2;margin:0}
 .analytics-choice--popup .analytics-choice__actions{grid-column:2;grid-row:1/span 2;align-self:center}
}
