/* Ownlybiz marketing only. Expert-site consent retains its existing styles. */
.privacy-consent--platform {
  position: fixed; inset: auto 16px max(16px, env(safe-area-inset-bottom)) auto;
  z-index: 100000; width: min(390px, calc(100vw - 32px)); box-sizing: border-box;
  max-height: min(70dvh, 520px); overflow-y: auto; overscroll-behavior: contain;
  display: none; padding: 14px 16px 8px; border: 1px solid #d8d2ca; border-radius: 12px;
  background: #fffdf8; color: #29241f; box-shadow: 0 5px 24px rgba(37,24,16,.12);
  font-family: var(--font-body, sans-serif); font-size: 14px; line-height: 1.45;
}
.privacy-consent--platform.active { display: block; }
.privacy-consent--platform [hidden], .ob-platform-privacy-control[hidden] { display: none; }
.ob-consent-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; margin-bottom: 6px; }
.ob-consent-heading h3 { margin: 0; font-family: inherit; font-size: 16px; font-weight: 700; color: #29241f; line-height: 1.3; }
.privacy-consent--platform p { margin: 0 0 12px; color: #5a5149; font-size: 13px; line-height: 1.45; }
.privacy-consent--platform button { font: inherit; cursor: pointer; }
.ob-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ob-consent-actions button { min-height: 44px; padding: 8px; border: 1px solid #b5a99d; border-radius: 8px; background: #fffdf8; color: #29241f; font-size: 13px; font-weight: 650; }
.ob-consent-actions button:hover { background: #f2ece3; border-color: #7a6757; }
.ob-consent-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.ob-consent-footer button, .ob-consent-footer a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; background: none; border: 0; padding: 6px 0; color: #924223; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ob-consent-close { background: transparent; color: #5a5149; border: 0; border-radius: 6px; height: 40px; min-width: 40px; margin: -6px -8px -6px 0; font-size: 23px !important; line-height: 1; }
.ob-consent-options { margin-bottom: 12px; }
.privacy-consent--platform .ob-consent-essential { margin: 0 0 8px; font-size: 12px; }
.ob-consent-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; margin: 0; border-top: 1px solid #e6dfd6; cursor: pointer; }
.ob-consent-description { min-width: 0; }
.ob-consent-description strong { display: block; font-size: 13px; font-weight: 650; color: #29241f; }
.ob-consent-description > span { display: block; color: #5a5149; font-size: 12px; line-height: 1.4; margin-top: 2px; }
.ob-consent-switch { display: grid; flex: 0 0 42px; justify-items: center; gap: 2px; }
.ob-consent-switch input { appearance: none; -webkit-appearance: none; box-sizing: border-box; position: relative; width: 40px; height: 24px; margin: 0; border: 1px solid #887e74; border-radius: 20px; background: #e5dfd7; cursor: pointer; }
.ob-consent-switch input::before { content: ''; position: absolute; width: 18px; height: 18px; top: 2px; left: 2px; border-radius: 50%; background: #5a5149; }
.ob-consent-switch input:checked { background: #924223; border-color: #924223; }
.ob-consent-switch input:checked::before { left: 18px; background: #fffdf8; }
.ob-consent-switch input:disabled { opacity: .55; cursor: not-allowed; }
.ob-consent-switch-state { color: #5a5149; font-size: 11px; line-height: 1.2; }
.privacy-consent--platform .ob-consent-signal { padding: 6px 8px; border-radius: 6px; background: #eeeee5; font-size: 12px; }
.privacy-consent--platform button:focus-visible, .privacy-consent--platform a:focus-visible, .privacy-consent--platform input:focus-visible, .ob-platform-privacy-control:focus-visible { outline: 2px solid #924223; outline-offset: 3px; }
.ob-platform-privacy-control { position: fixed; bottom: max(12px,env(safe-area-inset-bottom)); left: 12px; z-index: 99990; padding: 7px 11px; border: 1px solid #d8d2ca; border-radius: 20px; background: #fffdf8; color: #5a5149; font: 12px var(--font-body,sans-serif); cursor: pointer; box-shadow: 0 2px 8px #2518100d; }
body.ob-conversion-overlay-open .privacy-consent--platform.active, body.ob-conversion-overlay-open .ob-platform-privacy-control { display: none; }
@media (max-width: 480px) {
  .privacy-consent--platform { right: 10px; bottom: max(10px,env(safe-area-inset-bottom)); width: calc(100vw - 20px); padding: 12px 14px 6px; }
}
@media (forced-colors: active) {
  .ob-consent-switch input { appearance: auto; -webkit-appearance: auto; }
  .ob-consent-switch input::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .privacy-consent--platform * { scroll-behavior: auto; } }
