#statistics-choice[hidden], [data-statistics-settings][hidden] { display: none !important; }
#statistics-choice { position: fixed; inset: auto 20px 20px; z-index: 1000; max-width: 820px; margin: 0 auto; padding: 24px; border: 1px solid #d6d4d0; border-top: 4px solid #c4161c; background: #fff; color: #242424; box-shadow: 0 8px 40px #0003; border-radius: 6px; max-height: calc(100dvh - 40px); overflow: auto; font: 16px/1.5 Arial, sans-serif; }
#statistics-choice h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; }
#statistics-choice p { margin: 8px 0; }
#statistics-choice a { color: #9c1217; text-decoration: underline; }
#statistics-choice .statistics-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
#statistics-choice button { flex: 1 1 190px; border: 2px solid #363636; border-radius: 3px; padding: 12px 18px; background: #fff; color: #242424; font: inherit; font-weight: 600; cursor: pointer; }
#statistics-choice button:hover { background: #f3f1ed; }
#statistics-choice button:focus-visible, [data-statistics-settings]:focus-visible { outline: 3px solid #c4161c; outline-offset: 3px; }
#statistics-status { font-size: 14px; }
[data-statistics-settings] { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 540px) { #statistics-choice { inset: auto 10px 10px; padding: 18px; max-height: calc(100dvh - 20px); } }
