#mandu-statistics-settings {position:fixed;left:12px;bottom:12px;z-index:2147483000;font:14px/1.55 system-ui,sans-serif;color:#252b32;text-align:left;max-width:calc(100vw - 24px)}
#mandu-statistics-settings button {font:inherit;cursor:pointer;padding:8px 12px;border:1px solid #66717e;border-radius:8px;background:#fff;color:#252b32;min-height:44px}
#mandu-statistics-panel {width:420px;max-width:calc(100vw - 24px);box-sizing:border-box;padding:16px;margin-bottom:8px;border:1px solid #abb3bf;border-radius:12px;background:#fff;box-shadow:0 4px 24px #0002;max-height:65vh;overflow:auto}
#mandu-statistics-panel[hidden] {display:none}
#mandu-statistics-panel strong {font-size:16px}
#mandu-statistics-panel p {margin:8px 0}
#mandu-statistics-panel a {color:#174d8c;text-decoration:underline}
.mandu-statistics-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
/* Keep refusal reachable; this only changes layout, never Sentry consent. */
body[data-mandu-statistics-open] #mandu-feedback-open {display:none}
body:not([data-mandu-statistics-open]) #mandu-statistics-settings {bottom:calc(76px + env(safe-area-inset-bottom, 0px))}
/* Slotted pages keep the trigger in their own chrome, so the panel needs no feedback-button offset. */
body #mandu-statistics-settings[data-slotted] {bottom:calc(16px + env(safe-area-inset-bottom, 0px))}

/* Quiet utility icon; the visible circle is smaller than its 44px target.
   ID specificity also keeps workshop sidebar slots from stretching it. */
body button#mandu-statistics-trigger {position:relative;display:inline-grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:50%;background:transparent;color:#59645e;cursor:pointer;vertical-align:middle}
body #mandu-statistics-trigger::before {content:"";position:absolute;inset:8px;width:auto;height:auto;border:1px solid #cbd2cc;border-radius:50%;background:#fdfcf6;mask:none;-webkit-mask:none}
body #mandu-statistics-trigger svg {position:relative;width:18px;height:18px;pointer-events:none}
body #mandu-statistics-trigger:hover::before {background:#eaf0e9;border-color:#829388}
body #mandu-statistics-trigger:focus-visible {outline:2px solid #256344;outline-offset:2px}
body [data-mandu-statistics-slot] #mandu-statistics-trigger:focus-visible {outline-color:#ffb300}
@media (width < 600px) {body button#mandu-statistics-trigger {display:none}}
