/* Optional measurement controls use the same readable treatment on light and dark pages. */
.analytics-settings {appearance:none;border:0;background:none;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer;padding:8px 0;min-height:44px;text-align:left}
.analytics-consent {position:fixed;inset:auto 20px 20px auto;z-index:1000;max-width:510px;width:calc(100% - 40px);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:24px;background:#fafbf8;color:#151a1c;border:1px solid #aab3b4;box-shadow:0 8px 32px #07161e24;font:16px/1.5 Arial,sans-serif;text-align:left}
.analytics-consent[hidden] {display:none!important}
.analytics-consent h2 {font:600 20px/1.3 Arial,sans-serif;letter-spacing:0;margin:0 0 10px;color:#151a1c}
.analytics-consent p {font:16px/1.5 Arial,sans-serif;letter-spacing:normal;margin:0 0 16px;color:#374346}
.analytics-consent a {color:#29393e;text-decoration:underline;text-underline-offset:3px}
.analytics-consent .analytics-buttons {display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.analytics-consent button {appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;flex:1 1 auto;font:600 15px/1.35 Arial,sans-serif;letter-spacing:normal;padding:11px 14px;border:1px solid #354245;border-radius:0;background:#fff;color:#151a1c;cursor:pointer}
.analytics-consent button:hover {background:#e8ece8}
.analytics-consent :focus-visible,.analytics-settings:focus-visible {outline:3px solid #f9581c;outline-offset:3px}
.analytics-consent .analytics-customize {display:block;border:0;background:transparent;padding:8px 0;margin-top:6px;text-decoration:underline;font-weight:400;min-height:44px}
.analytics-consent .analytics-option {display:flex;gap:10px;align-items:flex-start;font:16px/1.5 Arial,sans-serif;margin:10px 0}
.analytics-consent input {appearance:auto;flex:none;margin:5px 0 0;width:18px;height:18px;accent-color:#1a3039}
.analytics-consent small {display:block;font:14px/1.5 Arial,sans-serif;color:#4b595d;margin-top:14px}
.analytics-consent .analytics-description {overflow:visible}
@media(max-width:540px){.analytics-consent{inset:auto 12px 12px;width:calc(100% - 24px);padding:18px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}.analytics-consent .analytics-buttons{gap:8px}.analytics-consent button{font-size:14px;padding:11px}}
@media(prefers-reduced-motion:reduce){.analytics-consent *{scroll-behavior:auto}}
