/* Existing Manrope/UI palette; no new font, imagery, motion or dependency. */
.statistics-panel,.statistics-settings{box-sizing:border-box;font-family:Manrope,Arial,sans-serif;font-size:1rem;line-height:1.5;color:var(--ui-ink,#3c342f)}
.statistics-panel[hidden]{display:none!important}
.statistics-panel{position:fixed;z-index:100;inset:auto 16px 16px auto;width:min(42rem,calc(100% - 32px));max-height:calc(100svh - 32px);overflow:auto;overscroll-behavior:contain;padding:24px;background:var(--ui-surface,#fffdfb);border:1px solid var(--ui-control-line,#978a81);border-radius:var(--ui-control-radius,14px);box-shadow:0 8px 32px #0002}
.statistics-panel h2{margin:0 0 12px;font:750 1.375rem/1.3 Manrope,Arial,sans-serif;letter-spacing:-.02em;color:inherit}
.statistics-panel p{margin:0 0 12px;font-size:1rem;line-height:1.55;color:inherit}
.statistics-panel .statistics-status{font-weight:650}
.statistics-panel a{color:inherit;text-decoration:underline;text-underline-offset:4px}
.statistics-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.statistics-actions button,.statistics-close,.statistics-settings{min-height:44px;padding:10px 14px;border:1px solid var(--ui-control-line,#978a81);border-radius:var(--ui-control-radius,14px);background:var(--ui-surface,#fffdfb);color:var(--ui-ink,#3c342f);font:650 1rem/1.4 Manrope,Arial,sans-serif;text-align:center;white-space:normal;cursor:pointer}
.statistics-actions button:hover,.statistics-close:hover,.statistics-settings:hover{background:var(--ui-surface-muted,#f4f0eb)}
.statistics-actions [hidden]{display:none!important}
.statistics-close{display:block;margin:12px 0 0 auto}
.statistics-settings{margin:8px 0}
.statistics-panel :focus-visible,.statistics-settings:focus-visible{outline:3px solid currentColor;outline-offset:4px}
@media(max-width:560px){.statistics-panel{padding:20px}.statistics-actions{grid-template-columns:1fr}}
