.analytics-consent[hidden] { display: none; }
.analytics-consent {
  background: #fff;
  border-top: 2px solid #f4cd22;
  bottom: 0;
  box-shadow: 0 -8px 32px rgba(17, 19, 24, 0.14);
  color: #172333;
  left: 0;
  padding: 18px 24px max(18px, env(safe-area-inset-bottom));
  position: fixed;
  width: 100%;
  z-index: 3000;
}
.analytics-consent-inner {
  align-items: center;
  display: grid;
  gap: 16px 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1180px;
}
.analytics-consent h2 { font-size: 18px; line-height: 1.3; margin: 0 0 7px; }
.analytics-consent p { font-size: 14px; line-height: 1.5; margin: 0; }
.analytics-consent a { color: #075aa7; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent .analytics-notice { color: #53677f; font-size: 12px; margin-top: 7px; }
.analytics-actions { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.analytics-actions button {
  background: #fff;
  border: 1px solid #9aaabe;
  border-radius: 4px;
  color: #172333;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 44px;
  padding: 10px 15px;
}
.analytics-actions button:hover { background: #f0f5fa; border-color: #075aa7; }
.analytics-actions button:disabled { cursor: not-allowed; opacity: 0.5; }
.analytics-actions button:focus-visible,
.analytics-settings:focus-visible { outline: 3px solid #075aa7; outline-offset: 3px; }
.analytics-settings {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal .analytics-settings { display: block; margin-top: 10px; }
@media (max-width: 760px) {
  .analytics-consent { padding: 15px 16px max(15px, env(safe-area-inset-bottom)); }
  .analytics-consent-inner { grid-template-columns: 1fr; gap: 12px; }
  .analytics-consent h2 { font-size: 17px; }
  .analytics-actions { width: 100%; }
}
