/* Cifraro opt-in measurement banner; isolated from the site's base styles. */
.cifraro-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 10050;
  width: min(640px, calc(100vw - 32px));
  margin-inline: auto;
  padding: 20px 22px;
  border: 1px solid #d9e2db;
  border-radius: 18px;
  background: #fff;
  color: #17221c;
  box-shadow: 0 10px 44px rgba(18, 35, 24, .18);
  font: 400 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.cifraro-consent h2 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.cifraro-consent p { margin: 0 0 12px; color: #354a3b; font-size: 14px; }
.cifraro-consent a { font-size: 13px; color: #235e45; text-decoration: underline; }
.cifraro-consent-actions { display:flex; align-items:center; gap: 8px; margin-top: 14px; flex-wrap:wrap; }
.cifraro-consent button, .cifraro-privacy-settings {
  cursor: pointer;
  border-radius: 9px;
  padding: 9px 14px;
  font: 600 13px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 40px;
}
.cifraro-consent-primary {
  border: 1px solid #235e45;
  color: #fff;
  background: #235e45;
}
.cifraro-consent-secondary {
  border: 1px solid #bfcfc5;
  color: #203e2c;
  background: #f6faf7;
}
.cifraro-consent button:focus-visible,
.cifraro-privacy-settings:focus-visible {
  outline: 3px solid #8abfa4;
  outline-offset: 2px;
}
.cifraro-consent-options { border-top: 1px solid #e3e9e4; margin-top: 12px; padding-top: 12px; }
.cifraro-consent-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  color: #223b2b;
  cursor: pointer;
  font-size: 13px;
}
.cifraro-consent-option input { accent-color: #235e45; margin-top: 3px; width: 17px; height: 17px; }
.cifraro-consent-options button { margin-top: 8px; }
.cifraro-privacy-settings {
  color: inherit;
  border: 1px solid currentColor;
  background: transparent;
  opacity: .9;
  margin-left: 10px;
}
@media (max-width: 480px) {
  .cifraro-consent { padding: 16px; inset: auto 8px 8px; width: calc(100vw - 16px); max-height: 75dvh; overflow-y: auto; }
  .cifraro-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cifraro-consent-actions button:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .cifraro-consent { scroll-behavior: auto; }
}
