.analytics-consent-panel[hidden] { display: none; }
.analytics-consent-panel {
  position: relative;
  display: flex;
  width: min(620px, calc(100% - 24px));
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px auto 20px;
  padding: 16px;
  color: #20372c;
  background: #fffefa;
  border: 1px solid #cbd8ce;
  border-radius: 10px;
  box-shadow: 0 10px 34px rgba(24, 42, 32, .2);
  font: 14px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.analytics-consent-copy { min-width: 0; }
.analytics-consent-copy strong { display: block; margin-bottom: 3px; font-size: 14px; }
.analytics-consent-copy p { margin: 0; color: #526159; font-size: 13px; }
.analytics-consent-details { color: #194d39; font-weight: 700; text-underline-offset: 2px; }
.analytics-consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.analytics-consent-button {
  min-height: 42px;
  padding: 8px 11px;
  color: #194d39;
  background: #fffefa;
  border: 1px solid #7f9b89;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
}
.analytics-consent-allow { color: #fffefa; background: #286b4e; border-color: #286b4e; }
.analytics-consent-button:focus-visible, .analytics-consent-details:focus-visible, .privacy-choice-link:focus-visible { outline: 3px solid #b46a19; outline-offset: 2px; }
.analytics-consent-button:hover { filter: brightness(.95); }
@media (max-width: 560px) {
  .analytics-consent-panel { display: block; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 6px 10px; }
  .analytics-consent-copy strong { display: inline; margin: 0; }
  .analytics-consent-copy p { font-size: 12px; line-height: 1.25; }
  .analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
  .analytics-consent-button { width: 100%; min-height: 44px; }
}
