.site-analytics { color: var(--ink,#202326); font-family: inherit; }
.analytics-settings { left: 18px; bottom: calc(14px + env(safe-area-inset-bottom,0px)); z-index: 70; color: rgb(89, 96, 95); cursor: pointer; backdrop-filter: blur(10px); background: rgba(247, 245, 240, 0.93); border: 1px solid rgb(216, 212, 204); border-radius: 24px; align-items: center; gap: 8px; min-height: 44px; padding: 0px 14px; font-size: 11px; line-height: 1.2; display: inline-flex; position: fixed; box-shadow: rgba(32, 35, 38, 0.03) 0px 2px 12px; }
.analytics-settings:hover { color: rgb(32, 35, 38); border-color: rgb(162, 157, 148); }
.analytics-preferences { z-index: 100; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom,0px)); background: rgb(247, 245, 240); border-width: 2px 1px 1px; border-style: solid; border-color: rgb(243, 106, 33) rgb(217, 213, 204) rgb(217, 213, 204); border-image: none; border-radius: 4px; grid-template-columns: minmax(0px, 1fr) 210px; align-items: center; gap: 32px; width: min(960px, 100% - 36px); max-height: calc(-36px + 100svh); padding: 24px 28px; display: grid; position: fixed; overflow: auto; transform: translate(-50%); box-shadow: rgba(32, 35, 38, 0.15) 0px 12px 70px; }
.analytics-choice-kicker { letter-spacing: 0.14em; color: rgb(124, 116, 104); margin-bottom: 10px; font-size: 9px; line-height: 1.3; display: block; }
.analytics-choice-copy h2 { letter-spacing: -0.035em; margin: 0px 0px 9px; font-size: 19px; font-weight: 500; line-height: 1.35; }
.analytics-choice-copy p { color: rgb(98, 104, 103); margin: 0px; font-size: 12px; line-height: 1.7; }
.analytics-choice-copy a { color: rgb(48, 55, 53); text-underline-offset: 3px; white-space: nowrap; text-decoration: underline; }
.analytics-choice-copy .analytics-signal { color: rgb(103, 83, 62); margin-top: 8px; }
.analytics-current { color: rgb(119, 125, 120); margin-top: 8px; font-size: 10px; line-height: 1.5; display: block; }
.analytics-choice-actions { grid-template-columns: 1fr; gap: 8px; display: grid; }
.analytics-choice-actions button { color: rgb(32, 35, 38); cursor: pointer; background: 0px 0px; border: 1px solid rgb(153, 158, 150); border-radius: 3px; min-height: 44px; padding: 10px 14px; font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1.35; }
.analytics-choice-actions button:hover { background: rgb(237, 233, 224); border-color: rgb(32, 35, 38); }
.analytics-choice-actions button:disabled { color: rgb(163, 166, 160); cursor: not-allowed; background: 0px 0px; border-color: rgb(214, 217, 209); }
.analytics-choice-actions .analytics-close-preferences { color: rgb(115, 120, 115); text-underline-offset: 3px; border: 0px; min-height: 32px; padding: 4px 8px; font-size: 10px; text-decoration: underline; }
:is(.site-analytics button:focus-visible, .site-analytics a:focus-visible) { outline-offset: 4px; outline: rgb(243, 106, 33) solid 2px; }
@media (max-width: 700px) {
  .analytics-preferences { width: calc(100% - 24px); bottom: calc(12px + env(safe-area-inset-bottom,0px)); grid-template-columns: 1fr; gap: 17px; max-height: calc(-24px + 100svh); padding: 20px; }
  .analytics-choice-copy h2 { font-size: 18px; }
  .analytics-choice-copy p { font-size: 11px; line-height: 1.65; }
  .analytics-choice-kicker { margin-bottom: 8px; }
  .analytics-choice-actions { grid-template-columns: 1fr 1fr; gap: 10px; }
  .analytics-choice-actions .analytics-close-preferences { grid-column: 1 / -1; }
  .analytics-settings { left: 12px; bottom: calc(10px + env(safe-area-inset-bottom,0px)); min-height: 44px; padding: 0px 11px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-analytics * { scroll-behavior: auto; }
}