.carlove-consent-root {
  --cc-ink: #31475a;
  --cc-muted: #687986;
  --cc-surface: #fff;
  --cc-soft: #edf3f6;
  --cc-line: #d9e3e8;
  --cc-action: #365c7e;
  --cc-focus: #0b70b7;
  color: var(--cc-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
.carlove-consent-root *, .carlove-consent-root *::before, .carlove-consent-root *::after { box-sizing: border-box; }
.carlove-consent-root button, .carlove-consent-root input { font: inherit; }
.carlove-consent-root button, .carlove-consent-root a { -webkit-tap-highlight-color: transparent; }
.carlove-consent-root :focus-visible { outline: 3px solid var(--cc-focus); outline-offset: 3px; }
.carlove-consent-root .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.carlove-consent-root .consent-layer { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: end center; padding: 20px; background: rgba(15, 19, 22, .62); contain: layout paint; }
.carlove-consent-root .consent-layer[hidden], .carlove-consent-root .consent-prompt[hidden], .carlove-consent-root .consent-card[hidden] { display: none; }
.carlove-consent-root .consent-prompt { width: min(712px, 100%); color: var(--cc-ink); background: var(--cc-surface); border-radius: 8px; box-shadow: 0 16px 48px rgba(0,0,0,.26); }
.carlove-consent-root .consent-prompt:focus, .carlove-consent-root .consent-card:focus { outline: none; }
.carlove-consent-root .prompt-copy { padding: 25px 27px 22px; }
.carlove-consent-root .prompt-copy h2 { margin: 0 0 13px; color: var(--cc-ink); font-size: 17px; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.carlove-consent-root .prompt-copy > p { max-width: 688px; margin: 0 0 9px; color: var(--cc-ink); font-size: 14px; line-height: 1.55; }
.carlove-consent-root .prompt-actions { display: flex; justify-content: space-between; gap: 16px; padding: 16px 27px; border-top: 1px solid var(--cc-line); }
.carlove-consent-root .prompt-actions .consent-button { min-width: 152px; }
.carlove-consent-root .consent-card { width: min(704px, 100%); max-height: calc(100dvh - 40px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; color: var(--cc-ink); background: var(--cc-surface); border: 1px solid rgba(255,255,255,.5); border-radius: 8px; box-shadow: 0 16px 48px rgba(0,0,0,.26); }
.carlove-consent-root .consent-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 20px 12px; border-bottom: 1px solid var(--cc-line); }
.carlove-consent-root .consent-kicker { margin: 0 0 8px; color: var(--cc-muted); font-size: 12px; line-height: 1; }
.carlove-consent-root .consent-header h2 { margin: 0; color: var(--cc-ink); font-size: 19px; line-height: 1.25; text-transform: none; letter-spacing: 0; }
.carlove-consent-root .icon-button { width: 44px; height: 44px; flex: 0 0 auto; color: var(--cc-ink); font-size: 26px; line-height: 1; background: var(--cc-soft); border: 0; border-radius: 6px; cursor: pointer; }
.carlove-consent-root .consent-content { overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px 10px; }
.carlove-consent-root .consent-content > p { margin: 0 0 8px; color: var(--cc-ink); font-size: 15px; line-height: 1.55; }
.carlove-consent-root .policy-link { color: var(--cc-action); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.carlove-consent-root .consent-options { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; border: 0; }
.carlove-consent-root .consent-option { min-height: 58px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 13px; padding: 9px 14px; background: var(--cc-soft); border-radius: 6px; }
.carlove-consent-root .option-copy { display: grid; gap: 3px; }
.carlove-consent-root .option-title { color: var(--cc-ink); font-size: 14px; font-weight: 700; }
.carlove-consent-root .option-description { color: var(--cc-muted); font-size: 12px; line-height: 1.35; }
.carlove-consent-root .switch { min-width: 56px; min-height: 44px; display: inline-grid; place-items: center; cursor: pointer; }
.carlove-consent-root .switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.carlove-consent-root .switch-track { position: relative; width: 54px; height: 26px; background: #718794; border-radius: 32px; transition: background-color .12s ease; }
.carlove-consent-root .switch-track::before { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .12s ease; }
.carlove-consent-root .switch input:checked + .switch-track { background: var(--cc-action); }
.carlove-consent-root .switch input:checked + .switch-track::before { transform: translateX(28px); }
.carlove-consent-root .switch input:focus-visible + .switch-track { outline: 3px solid var(--cc-focus); outline-offset: 3px; }
.carlove-consent-root .switch input:disabled + .switch-track { opacity: .7; cursor: not-allowed; }
.carlove-consent-root .consent-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; padding: 12px 20px; border-top: 1px solid var(--cc-line); }
.carlove-consent-root .consent-button { min-height: 43px; padding: 8px 14px; color: var(--cc-ink); font-size: 13px; font-weight: 700; line-height: 1.25; border: 1px solid transparent; border-radius: 6px; cursor: pointer; }
.carlove-consent-root .consent-button-primary { color: #fff; background: var(--cc-action); }
.carlove-consent-root .consent-button-secondary { color: var(--cc-action); background: #fff; border-color: var(--cc-action); }
.carlove-consent-root .consent-button-muted { color: var(--cc-ink); background: var(--cc-soft); }
.carlove-consent-root .consent-fab { position: fixed; right: 18px; bottom: 18px; z-index: 2147482000; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--cc-action); border: 1px solid rgba(255,255,255,.7); border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.24); cursor: pointer; }
.carlove-consent-root .consent-fab span { font-size: 18px; line-height: 1; }
html[dir="rtl"] .carlove-consent-root .consent-card, html[dir="rtl"] .carlove-consent-root .consent-actions, html[dir="rtl"] .carlove-consent-root .consent-option, html[dir="rtl"] .carlove-consent-root .consent-header, html[dir="rtl"] .carlove-consent-root .consent-prompt { direction: rtl; }
@media (max-width: 672px) {
  .carlove-consent-root .consent-layer { align-items: end; padding: 0; }
  .carlove-consent-root .consent-card { width: 100%; max-height: 94dvh; border-radius: 8px 8px 0 0; }
  .carlove-consent-root .consent-prompt { width: 100%; border-radius: 8px 8px 0 0; }
  .carlove-consent-root .prompt-copy { padding: 18px 18px 15px; }
  .carlove-consent-root .prompt-copy h2 { margin-bottom: 9px; }
  .carlove-consent-root .prompt-copy > p { font-size: 13px; line-height: 1.45; }
  .carlove-consent-root .prompt-actions { display: grid; grid-template-columns: 1fr 1fr; padding: 13px 18px max(13px, env(safe-area-inset-bottom)); }
  .carlove-consent-root .prompt-actions .consent-button { min-width: 0; }
  .carlove-consent-root .consent-header, .carlove-consent-root .consent-content { padding-left: 16px; padding-right: 16px; }
  .carlove-consent-root .consent-content > p { font-size: 13px; line-height: 1.42; }
  .carlove-consent-root .consent-option { min-height: 54px; padding: 7px 12px; }
  .carlove-consent-root .consent-actions { grid-template-columns: 1fr; gap: 6px; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); }
  .carlove-consent-root .consent-button-primary { order: -1; }
  .carlove-consent-root .consent-fab { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .carlove-consent-root *, .carlove-consent-root *::before, .carlove-consent-root *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
@media (forced-colors: active) { .carlove-consent-root .switch-track { border: 1px solid ButtonText; } }
