.analytics-choice[hidden] { display: none; }
.analytics-choice { position: fixed; inset: auto 0 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 18px max(24px, calc((100vw - 1120px) / 2)) calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #dee6ef; background: #fff; color: #183250; box-shadow: 0 -4px 18px #191c2510; font: 14px/1.7 "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif; max-height: 70dvh; overflow: auto; }
.analytics-choice p { margin: 6px 0 0; }
.analytics-choice strong { font-size: 16px; }
.analytics-choice a { color: #2452ce; text-decoration: underline; text-underline-offset: 3px; }
.analytics-actions { display: flex; flex-shrink: 0; gap: 10px; }
.analytics-actions button { min-width: 104px; min-height: 44px; padding: 10px 16px; border: 1px solid #3564f5; border-radius: 6px; background: #fff; color: #2452ce; font: inherit; font-weight: 700; cursor: pointer; }
.analytics-actions button:disabled { cursor: default; opacity: .55; }
.analytics-choice :focus-visible { outline: 3px solid #183250; outline-offset: 3px; }
.analytics-status { color: #55647b; }
body.analytics-choice-open { padding-bottom: var(--analytics-choice-height, 240px) !important; }
html:has(body.analytics-choice-open) { scroll-padding-bottom: calc(var(--analytics-choice-height, 240px) + 16px); }
body.analytics-choice-open .mobile-contact:not([hidden]) { display: none; }
body:has(dialog[open]) .analytics-choice { visibility: hidden; }
@media(max-width:800px) { .analytics-choice { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px)); } .analytics-actions button { flex: 1; } }
@media print { .analytics-choice { display: none; } body.analytics-choice-open { padding-bottom: 0 !important; } }
