/* Optional analytics controls. Both choices have equal visual weight. */
.analytics-preferences { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.analytics-preferences:hover { color: var(--mint, #5eead4); }
.analytics-preferences:focus-visible, .analytics-choice:focus-visible, .analytics-close:focus-visible { outline: 3px solid var(--mint, #5eead4); outline-offset: 4px; }
.analytics-banner { position: fixed; z-index: 1000; inset: auto 20px 20px; width: min(760px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; margin: 0 auto; padding: 22px 24px; border: 1px solid #587081; border-radius: 16px; background: #102333; color: #f4f8fb; box-shadow: 0 12px 50px rgba(0,0,0,.35); }
.analytics-banner[hidden], .analytics-close[hidden] { display: none !important; }
.analytics-banner h2 { padding-right: 36px; margin: 0 0 10px; color: #fff; font-size: 1.15rem; letter-spacing: -.02em; }
.analytics-banner p { max-width: 100%; margin: 8px 0; color: #d5e1e9; font-size: .88rem; line-height: 1.55; }
.analytics-banner a { color: #9af5e5; text-decoration: underline; text-underline-offset: 3px; }
.analytics-banner .analytics-status { color: #b7c9d6; font-size: .8rem; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.analytics-choice { display: inline-flex; align-items: center; justify-content: center; min-width: 138px; min-height: 44px; padding: 10px 18px; border: 1px solid #9bb4c4; border-radius: 9px; background: #19384b; color: #fff; font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer; }
.analytics-choice:hover { background: #244b62; }
.analytics-choice:disabled { opacity: .55; cursor: not-allowed; }
.analytics-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 6px; background: transparent; color: #d5e1e9; font: inherit; font-size: 1.3rem; cursor: pointer; }
.analytics-close:hover { background: #244b62; }
@media (max-width: 540px) { .analytics-banner { inset: auto 12px 12px; width: calc(100% - 24px); padding: 20px; max-height: calc(100dvh - 24px); } .analytics-actions { display: grid; grid-template-columns: 1fr 1fr; } .analytics-choice { min-width: 0; padding-inline: 10px; } }
