#analytics-consent[hidden], #analytics-settings[hidden] { display: none !important; }
  .analytics-consent { position: fixed; z-index: 100; inset: auto 20px 70px; max-width: 740px; padding: 24px; background: var(--paper); color: var(--ink); border: 1px solid #68817e; box-shadow: 0 8px 40px #0005; border-radius: var(--radius); max-height: calc(100dvh - 110px); overflow-y: auto; }
  .analytics-consent h2 { font-size: 23px; margin-bottom: 14px; }
  .analytics-consent p { font-size: 14px; margin-bottom: 16px; }
  .analytics-consent a { text-decoration: underline; }
  .analytics-choices { display: flex; flex-wrap: wrap; gap: 12px; }
  .analytics-choice { flex: 1 1 220px; min-height: 48px; padding: 10px 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
  .analytics-choice:hover { background: #d8e6e4; }
  .analytics-settings { display: block; width: 100%; padding: 12px 20px; min-height: 44px; border: 0; border-top: 1px solid #68817e; background: var(--bg); color: var(--paper); text-align: left; font-size: 13px; cursor: pointer; }
  .analytics-status:empty { display: none; }
  @media (max-width: 540px) { .analytics-consent { inset-inline: 12px; padding: 18px; } .analytics-choices { gap: 8px; } }
