/* PPC-009 GA i001: optional analytics choice, unobtrusive on mobile. */
.site-footer nav { flex-wrap: wrap; }
.cd-analytics-settings {
  align-self: flex-start;
  border: 1px solid #82a5bd;
  border-radius: 4px;
  background: transparent;
  color: #eff7fc;
  padding: .42rem .6rem;
  cursor: pointer;
  font-size: .84rem;
}
.cd-analytics-settings:hover { background: #24485d; }
.cd-analytics-consent[hidden], .cd-analytics-settings[hidden] { display: none !important; }
.cd-analytics-consent {
  position: fixed;
  z-index: 1200;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 12px;
  right: 12px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 1.2rem;
  color: #173247;
  background: #f4f8fa;
  border: 1px solid #a8c1ce;
  border-left: 4px solid #0d618c;
  border-radius: 7px;
  box-shadow: 0 5px 24px rgba(0,0,0,.2);
}
.cd-analytics-consent-text { max-width: 500px; }
.cd-analytics-consent-text strong { font-size: 1rem; }
.cd-analytics-consent-text p { margin: .35rem 0 0; font-size: .9rem; line-height: 1.5; }
.cd-analytics-consent-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.cd-analytics-consent-actions button {
  cursor: pointer;
  border: 1px solid #0d618c;
  border-radius: 4px;
  padding: .55rem .75rem;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}
.cd-analytics-allow { color: white; background: #0d618c; }
.cd-analytics-decline { color: #0d618c; background: white; }
@media(max-width:650px) {
  .cd-analytics-consent { flex-direction: column; align-items: stretch; gap: .8rem; }
  .cd-analytics-consent-actions button { flex: 1; }
}
