.sw-consent { font: 14px/1.5 system-ui, sans-serif; color: #172033; }
.sw-consent *, .sw-consent *::before, .sw-consent *::after { box-sizing: border-box; }
.sw-consent h2 { font: 600 18px/1.4 system-ui, sans-serif; margin: 0 0 8px; }
.sw-consent p { margin: 0 0 12px; }
.sw-consent a { color: #174ea6; text-decoration: underline; }
.sw-consent-banner {
    position: fixed; inset: auto 16px 16px; z-index: 10000;
    max-width: 720px; max-height: calc(100dvh - 32px); overflow: auto;
    margin: auto; padding: 20px; background: #fff; border: 1px solid #cbd5e1;
    border-radius: 10px; box-shadow: 0 4px 24px #0003;
}
.sw-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-consent button {
    min-height: 44px; padding: 10px 16px; border: 1px solid #64748b;
    border-radius: 6px; font: inherit; font-weight: 500; cursor: pointer;
    background: #fff; color: #172033; white-space: normal;
}
.sw-consent button:focus-visible, .sw-consent input:focus-visible, .sw-consent a:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.sw-cookie-settings-bar { display: flex; justify-content: center; padding: 4px 16px calc(4px + env(safe-area-inset-bottom, 0px)); background: #f8fafc; border-top: 1px solid #e2e8f0; }
.sw-consent .sw-cookie-settings { border: 0; background: transparent; color: #475569; font-size: 12px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.sw-consent-dialog { color: #172033; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; padding: 24px; width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.sw-consent-dialog::backdrop { background: #0007; }
.sw-consent-dialog label { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; cursor: pointer; }
.sw-consent-dialog input { margin-top: 4px; flex-shrink: 0; }
.sw-consent [hidden] { display: none !important; }
@media (max-width: 420px) {
    .sw-consent-banner { padding: 16px; }
    .sw-consent-actions button { flex: 1 1 100%; }
}
