.analytics-consent,
.analytics-consent *,
.analytics-settings,
.analytics-settings * { box-sizing: border-box; letter-spacing: 0; }
.analytics-consent[hidden], .analytics-consent [hidden] { display: none; }
.analytics-consent {
  position: fixed; z-index: 90; inset: auto 16px 16px;
  max-width: 880px; max-height: calc(100dvh - 32px); overflow: auto;
  margin: 0 auto; padding: 20px 24px;
  border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #17202b;
  box-shadow: 0 4px 20px rgb(15 23 42 / 14%);
}
.analytics-consent h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.4; }
.analytics-consent p { margin: 0; font-size: 14px; line-height: 1.65; font-weight: 400; }
.analytics-consent a { display: inline; color: #007873; margin-left: 8px; text-decoration: underline; font-weight: 600; }
.analytics-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.analytics-consent__actions button {
  flex: 1 1 160px; min-height: 44px; padding: 10px 16px; border: 1px solid #007873;
  border-radius: 6px; background: #fff; color: #005f5b;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.analytics-consent__actions button:hover { background: #edf8f7; }
.analytics-consent__actions .analytics-consent__close { flex: 0 1 auto; border-color: #64748b; color: #334155; }
.analytics-consent button:focus-visible, .analytics-settings button:focus-visible { outline: 3px solid #007873; outline-offset: 3px; }
.analytics-settings { padding: 12px 20px 20px; text-align: center; }
.analytics-settings button { min-height: 44px; border: 0; background: transparent; padding: 8px; color: #475569; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.analytics-settings__status { display: block; color: #475569; font-size: 12px; }
@media (max-width: 600px) {
  .analytics-consent { inset: auto 10px 10px; padding: 16px; max-height: calc(100dvh - 20px); }
  .analytics-consent__actions button { flex-basis: calc(50% - 5px); min-width: 0; }
}
