/* Consent toast. Rendered on marketing, landing and auth pages, which load
   different token sets, so it carries its own palette keyed off data-theme. */
.consent-toast {
  --ct-bg: #FFFFFF;
  --ct-border: #E8E8E4;
  --ct-text: #0F0F0E;
  --ct-muted: #525250;
  --ct-link: #1D4ED8;
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  box-sizing: border-box;
  max-width: 380px;
  padding: 16px 18px;
  background: var(--ct-bg);
  color: var(--ct-text);
  border: 1px solid var(--ct-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
[data-theme="dark"] .consent-toast {
  --ct-bg: #242422;
  --ct-border: #3A3A37;
  --ct-text: #F0F0EE;
  --ct-muted: #A8A8A4;
  --ct-link: #6DAAF5;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}
.consent-toast[hidden] { display: none; }
.consent-toast p { margin: 0 0 12px; color: var(--ct-muted); }
.consent-toast a { color: var(--ct-link); text-decoration: underline; }
.consent-toast-actions { display: flex; gap: 8px; }
/* Accept and Decline are deliberately identical: regulators treat a louder
   Accept as nudging, which invalidates the consent. */
.consent-toast-btn {
  flex: 1;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--ct-border);
  border-radius: 8px;
  background: transparent;
  color: var(--ct-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.consent-toast-btn:hover { border-color: var(--ct-text); }
.consent-toast-btn:focus-visible { outline: 2px solid var(--ct-link); outline-offset: 2px; }
.consent-reopen {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.consent-reopen:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .consent-toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}
