/* Keep the footer control clear of the floating chat launcher. */
.agency-footer .agency-footer-bottom { justify-content: flex-start; padding-right: 120px; }

.cookie-toast {
  --toast-surface: #fff9f4;
  --toast-text: #251b29;
  --toast-muted: #564b59;
  --toast-edge: #d9c9d6;
  --toast-accent: #803a61;
  --toast-button: #ff9c7f;
  position: fixed;
  z-index: 1200;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(14px + env(safe-area-inset-bottom));
  width: min(430px, calc(100% - 28px));
  max-height: min(560px, calc(100vh - 44px));
  max-height: min(560px, calc(100dvh - 44px - env(safe-area-inset-bottom)));
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(15px, 3vw, 22px);
  border: 1px solid var(--toast-edge);
  border-radius: 16px;
  background: var(--toast-surface);
  color: var(--toast-text);
  box-shadow: 0 14px 42px #1c102a38, inset 0 1px #ffffff60;
  font: 14px/1.55 system-ui, sans-serif;
}
.cookie-toast[hidden], .cookie-toast-open .peps-chat-launch, .cookie-toast-open .peps-chat-panel {
  display: none !important;
}
:root[data-theme="dark"] .cookie-toast {
  --toast-surface: #231c32;
  --toast-text: #faf5ff;
  --toast-muted: #ddd2e8;
  --toast-edge: #78678c;
  --toast-accent: #efa9db;
  --toast-button: #87edf4;
}
.cookie-toast-heading { display: flex; align-items: center; gap: 10px; }
.cookie-toast .cookie-toast-heading h2 {
  margin: 0;
  color: var(--toast-text);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.cookie-toast-icon {
  position: relative;
  display: block;
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--toast-accent);
  color: var(--toast-accent);
}
.cookie-toast-icon i { position: absolute; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.cookie-toast-icon i:nth-child(1) { top: 7px; left: 7px; }
.cookie-toast-icon i:nth-child(2) { top: 10px; right: 6px; }
.cookie-toast-icon i:nth-child(3) { bottom: 5px; left: 10px; }
.cookie-toast p, .cookie-toast li { color: var(--toast-muted); }
.cookie-toast p { margin: 10px 0; }
.cookie-toast details { margin: 0 0 12px; border-top: 1px solid var(--toast-edge); }
.cookie-toast summary { padding: 8px 0; color: var(--toast-accent); font-weight: 700; cursor: pointer; }
.cookie-toast ul { margin: 0 0 4px; padding-left: 20px; }
.cookie-toast li + li { margin-top: 6px; }
.cookie-toast-confirm {
  min-height: 42px;
  padding: 8px 17px;
  border: 0;
  border-radius: 9px;
  background: var(--toast-button);
  color: #201724;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.cookie-toast :focus-visible { outline: 2px solid var(--toast-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .cookie-toast:not([hidden]) { animation: cookie-toast-enter .32s ease-out both; }
}
@keyframes cookie-toast-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
