.pb-consent-lock { overflow: hidden; }
.pb-consent-banner, .pb-consent-modal { --pb-ink: #1d1f21; --pb-muted: #676a6d; --pb-line: #dedbd4; --pb-paper: #fff; --pb-bg: #f5f3ef; --pb-red: #c91f28; font-family: "Geist", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.pb-consent-banner[hidden], .pb-consent-modal[hidden] { display: none !important; }
.pb-consent-banner { position: fixed; z-index: 9998; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(calc(100% - 40px), 1040px); margin: 0 auto; padding: 22px; border: 1px solid var(--pb-line); border-radius: 22px; background: rgba(255, 255, 255, .97); color: var(--pb-ink); box-shadow: 0 22px 80px rgba(29, 31, 33, .24); backdrop-filter: blur(18px); }
.pb-consent-copy { max-width: 650px; }
.pb-consent-copy strong { display: block; margin-bottom: 6px; font-size: 17px; }
.pb-consent-copy p { margin: 0; color: var(--pb-muted); font-size: 13px; line-height: 1.55; }
.pb-consent-copy a { color: var(--pb-ink); font-weight: 750; text-underline-offset: .18em; }
.pb-consent-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.pb-consent-button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--pb-line); border-radius: 999px; background: var(--pb-paper); color: var(--pb-ink); font: 750 13px/1 inherit; cursor: pointer; }
.pb-consent-button.primary { border-color: var(--pb-ink); background: var(--pb-ink); color: #fff; }
.pb-consent-button:hover { border-color: #989691; transform: translateY(-1px); }
.pb-consent-button:focus-visible, .pb-consent-close:focus-visible, .pb-consent-switch input:focus-visible + span { outline: 3px solid var(--pb-red); outline-offset: 3px; }

.pb-consent-modal { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(19, 20, 22, .58); color: var(--pb-ink); }
.pb-consent-dialog { width: min(100%, 620px); max-height: min(820px, calc(100vh - 40px)); overflow: auto; border: 1px solid var(--pb-line); border-radius: 28px; background: var(--pb-paper); box-shadow: 0 32px 100px rgba(0, 0, 0, .35); }
.pb-consent-head { position: sticky; z-index: 1; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 25px 18px; border-bottom: 1px solid var(--pb-line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.pb-consent-head h2 { margin: 0 0 7px; font-size: 25px; letter-spacing: -.035em; }
.pb-consent-head p { margin: 0; color: var(--pb-muted); font-size: 13px; line-height: 1.5; }
.pb-consent-close { flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid var(--pb-line); border-radius: 50%; background: #fff; color: var(--pb-ink); font-size: 20px; cursor: pointer; }
.pb-consent-body { display: grid; gap: 10px; padding: 18px 25px 22px; }
.pb-consent-category { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 17px; border: 1px solid var(--pb-line); border-radius: 17px; background: #fbfaf8; }
.pb-consent-category strong { display: block; margin-bottom: 5px; font-size: 14px; }
.pb-consent-category p { margin: 0; color: var(--pb-muted); font-size: 12px; line-height: 1.5; }
.pb-consent-switch { position: relative; display: inline-flex; }
.pb-consent-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pb-consent-switch span { position: relative; width: 48px; height: 28px; border-radius: 999px; background: #cbc9c4; cursor: pointer; transition: .2s ease; }
.pb-consent-switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); transition: .2s ease; }
.pb-consent-switch input:checked + span { background: #08713a; }
.pb-consent-switch input:checked + span::after { transform: translateX(20px); }
.pb-consent-switch input:disabled + span { background: #08713a; cursor: not-allowed; opacity: .7; }
.pb-consent-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 25px 24px; border-top: 1px solid var(--pb-line); }
.pb-consent-foot a { color: var(--pb-muted); font-size: 12px; font-weight: 700; }
.pb-consent-foot-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

@media (max-width: 760px) {
  .pb-consent-banner { right: 10px; bottom: 10px; left: 10px; width: calc(100% - 20px); align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; }
  .pb-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .pb-consent-actions .pb-consent-button:first-child { grid-column: 1 / -1; }
  .pb-consent-modal { padding: 10px; }
  .pb-consent-dialog { max-height: calc(100vh - 20px); border-radius: 22px; }
  .pb-consent-head, .pb-consent-body, .pb-consent-foot { padding-right: 18px; padding-left: 18px; }
  .pb-consent-foot { align-items: stretch; flex-direction: column; }
  .pb-consent-foot-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
