.pwp-consent { color: #111827; background: #fff; font: 1rem/1.5 system-ui, sans-serif; padding: 1rem; border: 1px solid #64748b; }
.pwp-consent *, .pwp-consent *::before, .pwp-consent *::after { box-sizing: border-box; }
.pwp-consent [hidden] { display: none !important; }
.pwp-consent:has([data-pwp-banner][hidden]) { padding: 0; border: 0; background: transparent; }
.pwp-consent h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.pwp-consent p { margin: .5rem 0; }
.pwp-consent a { color: #163b5c; text-decoration: underline; }
.pwp-consent .pwp-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.pwp-consent button { font: inherit; color: #fff; background: #163b5c; border: 2px solid #163b5c; border-radius: .5rem; min-height: 44px; padding: .5rem 1rem; cursor: pointer; }
.pwp-consent :focus-visible { outline: 3px solid #b45309; outline-offset: 3px; }
.pwp-consent dialog { color: #111827; background: #fff; border: 1px solid #64748b; border-radius: 1.25rem; padding: 0; width: min(46rem, calc(100vw - 32px)); max-width: none; max-height: min(88dvh, 52rem); box-shadow: 0 24px 80px rgb(0 0 0 / 25%); }
.pwp-consent dialog[open] { display: flex; flex-direction: column; }
.pwp-consent dialog::backdrop { background: rgb(0 0 0 / 60%); }
.pwp-consent .pwp-panel-header { display: flex; align-items: center; gap: 1rem; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid #cbd5e1; flex: none; }
.pwp-consent .pwp-panel-header h2 { margin: 0; }
.pwp-consent [data-pwp-close] { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; padding: 0; border-radius: 50%; background: #f1f5f9; color: #111827; font-size: 1.75rem; line-height: 1; }
.pwp-consent .pwp-panel-body { padding: 1rem 1.5rem; overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
.pwp-consent .pwp-category { border-top: 1px solid #cbd5e1; padding: 1rem 0; }
.pwp-consent .pwp-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pwp-consent .pwp-category h3 { font: 700 1rem/1.4 system-ui, sans-serif; margin: 0; }
.pwp-consent .pwp-category > p { font-size: .925rem; }
.pwp-consent .pwp-badge { font-size: .75rem; font-weight: 700; white-space: nowrap; color: #166534; background: #f0fdf4; border-radius: 999px; padding: .25rem .5rem; }
.pwp-consent .pwp-switch { display: grid; align-items: center; position: relative; width: 48px; height: 44px; flex: none; cursor: pointer; }
.pwp-consent .pwp-switch input { position: absolute; opacity: 0; margin: 0; inset: 0; width: 48px; height: 44px; cursor: pointer; }
.pwp-consent .pwp-switch-track { display: block; width: 48px; height: 28px; border: 2px solid #64748b; background: #fff; border-radius: 999px; pointer-events: none; }
.pwp-consent .pwp-switch-track::before { content: ''; display: block; width: 18px; height: 18px; border-radius: 50%; background: #64748b; margin: 3px; transition: transform .15s; }
.pwp-consent .pwp-switch input:checked + .pwp-switch-track { background: #163b5c; border-color: #163b5c; }
.pwp-consent .pwp-switch input:checked + .pwp-switch-track::before { background: #fff; transform: translateX(20px); }
.pwp-consent .pwp-switch input:focus-visible + .pwp-switch-track { outline: 3px solid #b45309; outline-offset: 4px; }
.pwp-consent .pwp-switch input:disabled { cursor: not-allowed; }
.pwp-consent .pwp-switch input:disabled + .pwp-switch-track { background: #e2e8f0; border-color: #94a3b8; opacity: .65; }
.pwp-consent .pwp-unavailable, .pwp-consent .pwp-empty { font-size: .875rem; color: #475569; }
.pwp-consent .pwp-cookie-details { border: 0; padding: 0; }
.pwp-consent summary { display: list-item; list-style: disclosure-closed inside; cursor: pointer; font-family: inherit; font-size: .875rem; font-weight: 600; line-height: 1.5; padding: .5rem 0; color: #163b5c; }
.pwp-consent details[open] > summary { list-style-type: disclosure-open; }
.pwp-consent summary::-webkit-details-marker { display: initial; }
.pwp-consent .pwp-count { font-weight: 400; }
.pwp-consent .pwp-cookie-record { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; background: #f1f5f9; border-radius: .5rem; margin: .5rem 0; padding: .875rem; }
.pwp-consent .pwp-cookie-record div:last-child { grid-column: 1 / -1; }
.pwp-consent .pwp-cookie-record dt { font-size: .75rem; font-weight: 700; margin: 0 0 .25rem; color: #475569; }
.pwp-consent .pwp-cookie-record dd { font-size: .875rem; margin: 0; overflow-wrap: anywhere; }
.pwp-consent .pwp-service { font-size: .875rem; }
.pwp-consent .pwp-panel-footer { display: flex; flex-wrap: wrap; gap: .625rem; padding: 1rem 1.5rem; border-top: 1px solid #cbd5e1; flex: none; }
.pwp-consent .pwp-panel-footer button { flex: 1 1 9rem; font-size: .875rem; }
.pwp-consent [data-pwp-panel-reject] { background: #fff; color: #163b5c; }
.pwp-consent [data-pwp-manage] { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); width: 48px; height: 48px; min-height: 48px; padding: 10px; border-radius: 50%; display: grid; place-items: center; z-index: 100; box-shadow: 0 3px 16px rgb(0 0 0 / 18%); }
.pwp-consent [data-pwp-manage] svg { width: 24px; height: 24px; display: block; }
.pwp-consent [data-pwp-status]:empty { display: none; }
@media (max-width: 480px) {
 .pwp-consent .pwp-panel-header { padding: 1rem; }
 .pwp-consent .pwp-panel-body { padding: .75rem 1rem; }
 .pwp-consent .pwp-panel-footer { padding: .75rem 1rem; gap: .5rem; }
 .pwp-consent .pwp-panel-footer button { padding: .5rem; flex-basis: 40%; }
 .pwp-consent [data-pwp-save] { flex-basis: 100%; }
 .pwp-consent .pwp-cookie-record { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pwp-consent *, .pwp-consent *::before, .pwp-consent *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
