/* Same cookie-though component and semantic colors as OrdeON, using landing tokens. */
.cookie-though {
  --ct-primary-400: var(--green, #497c00);
  --ct-primary-300: #eff5dc;
  --ct-primary-200: #eff5dc;
  --ct-primary-100: #f4f5f0;
  --ct-text: var(--muted, #60665f);
  --ct-subtitle: var(--muted, #60665f);
  --ct-title: var(--ink, #141614);
  --ct-cookie: var(--green, #497c00);
  --ct-policy: #fff;
  --ct-policy-enabled: var(--green, #497c00);
  --ct-policy-text: var(--green, #497c00);
  --ct-policy-text-enabled: #fff;
  --ct-policy-essential: #f4f5f0;
  --ct-slider-enabled-primary: var(--green, #497c00);
  --ct-slider-enabled-secondary: #eff5dc;
  --ct-enabled-option-color: #fff;
  --ct-white: #fff;
  --ct-button: var(--green, #497c00);
  --ct-button-color: #fff;
  --ct-button-secondary: #eff5dc;
  --ct-button-secondary-color: #2f5200;
  --ct-button-radius: 8px;
  --ct-button-padding: 1rem;
  --ct-primary-font: Geist, Inter, sans-serif;
  --ct-secondary-font: Geist, Inter, sans-serif;
  --ct-z-index: 9999;
  pointer-events: auto;
  left: auto !important;
  right: max(16px, env(safe-area-inset-right)) !important;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cookie-though.visible {
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
}
[data-cookie-settings] {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  min-height: 44px;
}
[data-cookie-settings]:focus-visible {
  outline: 2px solid #497c00;
  outline-offset: 4px;
}
html:has(dialog.onboarding-dialog[open]) .cookie-though {
  visibility: hidden;
}
