/* Small, keyboard-accessible optional statistics consent for TrackAppCW public website. */
.cw-stats-settings {
  padding: 0; border: 0; background: none; color: var(--muted);
  font: inherit; text-align: left; cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px;
}
.cw-stats-settings:hover, .cw-stats-settings:focus-visible { color: var(--mint); }
.cw-stats-prompt {
  position: fixed; z-index: 120; bottom: max(14px, env(safe-area-inset-bottom));
  right: 16px; left: 16px; width: min(530px, calc(100% - 32px)); margin-inline: auto;
  color: var(--text); background: #102921; border: 1px solid rgba(167,227,208,.35);
  border-radius: 18px; box-shadow: 0 22px 70px rgba(0,0,0,.58); padding: 18px 20px;
}
.cw-stats-prompt[hidden] { display: none !important; }
.cw-stats-prompt h2 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin: 0 0 6px; }
.cw-stats-prompt p { font-size: .87rem; color: var(--muted); margin: 0 0 13px; line-height: 1.5; }
.cw-stats-prompt a { color: var(--mint); text-decoration: underline; }
.cw-stats-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cw-stats-actions button {
  border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer;
  padding: 8px 13px; font-size: .87rem; font-family: inherit; font-weight: 600; line-height: 1.45;
}
.cw-stats-allow { color: #04140f; background: var(--emerald-bright); }
.cw-stats-decline { color: var(--text); background: transparent; }
.cw-stats-actions button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
