/* Small, accessible opt-in panel matching the site's green and warm-neutral palette. */
.turnover-consent {
  position: fixed;
  z-index: 9999;
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  max-width: 860px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  margin-inline: auto;
  padding: 22px 25px;
  background: #fbfaf5;
  color: #1a3e31;
  border: 1px solid #b7c7b9;
  border-radius: 12px;
  box-shadow: 0 12px 42px rgb(15 44 35 / 22%);
  display: flex;
  align-items: center;
  gap: 30px;
}
.turnover-consent-copy { flex: 1 1 auto; min-width: 0; }
.turnover-consent-kicker {
  margin: 0 0 5px;
  color: #567461;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.turnover-consent h2 {
  margin: 0 0 7px;
  color: #173b30;
  font: 700 clamp(1.2rem, 3vw, 1.55rem)/1.2 Georgia, serif;
}
.turnover-consent-description {
  margin: 0;
  font-size: .87rem;
  line-height: 1.55;
}
.turnover-consent a { color: #235c46; text-decoration: underline; text-underline-offset: 3px; }
.turnover-consent-preferences { margin-top: 10px; font-size: .83rem; }
.turnover-consent-preferences summary { color: #245944; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.turnover-consent-preferences p { margin: 9px 0; }
.turnover-consent-preferences label { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-weight: 700; }
.turnover-consent-preferences input { width: 18px; height: 18px; accent-color: #245944; }
.turnover-consent-preferences .turnover-consent-save { background: #fffdfa; color: #245944; }
.turnover-consent-actions { display: flex; flex: 0 0 160px; flex-direction: column; gap: 9px; }
.turnover-consent button {
  min-height: 43px;
  padding: 10px 14px;
  border-radius: 7px;
  border: 1px solid #245944;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
.turnover-consent-allow { background: #245944; color: #fff; }
.turnover-consent-decline { background: #fffdfa; color: #245944; }
.turnover-consent-manage { background: transparent; color: #245944; text-decoration: underline; text-underline-offset: 3px; }
.turnover-consent button:hover:not(:disabled) { filter: brightness(.94); }
.turnover-consent button:disabled { opacity: .55; cursor: not-allowed; }
.turnover-consent button:focus-visible,
.turnover-privacy-settings:focus-visible { outline: 3px solid #bd8c3e; outline-offset: 3px; }
.turnover-privacy-settings {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 650px) {
  .turnover-consent { flex-direction: column; align-items: stretch; gap: 16px; padding: 17px 18px; }
  .turnover-consent-actions { flex: 0 1 auto; display: grid; grid-template-columns: 1fr 1fr; }
  .turnover-consent-manage { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .turnover-consent * { scroll-behavior: auto; }
}
