#analytics-settings-root { padding: 0 24px 24px; text-align: center; font-family: "DM Sans", system-ui, sans-serif; color: #20352f; font-size: 16px; line-height: 1.5; }
#app ~ #analytics-settings-root { margin-left: 224px; }
#analytics-settings-root [hidden] { display: none !important; }
.analytics-settings-button { min-height: 44px; padding: 9px 14px; border: 0; border-radius: 8px; background: transparent; color: #20352f; font: inherit; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.analytics-consent-panel { position: fixed; z-index: 91; right: 16px; bottom: 16px; box-sizing: border-box; width: min(470px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px; border: 1px solid #82938b; border-radius: 12px; background: #fffdf7; box-shadow: 0 8px 40px #152c2426; text-align: left; }
.analytics-consent-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.analytics-consent-panel h2 { margin: 0; color: #183b30; font: 600 21px/1.3 "DM Sans", system-ui, sans-serif; }
.analytics-consent-panel p { margin: 12px 0; font-size: 16px; line-height: 1.5; }
.analytics-consent-panel .analytics-consent-state { font-size: 15px; font-weight: 600; }
.analytics-close { flex: 0 0 32px; width: 32px; height: 32px; border: 0; border-radius: 5px; color: #20352f; background: transparent; font: 26px/1 system-ui; cursor: pointer; }
.analytics-consent-actions { display: flex; gap: 12px; margin: 16px 0; }
.analytics-consent-actions button { flex: 1; min-height: 46px; padding: 10px 12px; border: 1px solid #34574b; border-radius: 7px; background: #f1f5ee; color: #203e32; font: 600 16px/1.3 "DM Sans", system-ui, sans-serif; cursor: pointer; }
.analytics-consent-actions button:hover, .analytics-settings-button:hover, .analytics-close:hover { background: #e4eddf; }
.analytics-consent-panel .analytics-consent-help { margin-bottom: 0; font-size: 14px; }
.analytics-consent-panel a { color: #205b45; text-decoration: underline; }
#analytics-settings-root :focus-visible { outline: 3px solid #247252; outline-offset: 3px; }
@media (max-width: 1199px) { #app ~ #analytics-settings-root { margin-left: 200px; } }
@media (max-width: 1030px) { #app ~ #analytics-settings-root { margin-left: 184px; } }
@media (max-width: 870px) { #app ~ #analytics-settings-root { margin-left: 170px; } }
@media (max-width: 630px) { #app ~ #analytics-settings-root { margin-left: 0; } }
@media (max-width: 520px) { .analytics-consent-panel { right: 12px; width: calc(100vw - 24px); padding: 18px; bottom: 12px; max-height: calc(100dvh - 24px); } }
