.cmp-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    flex-direction: column;
    gap: 1rem;
    font-family: system-ui, -apple-system, sans-serif;
    border-top: 1px solid #e5e7eb;
}
.cmp-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}
.cmp-desc {
    margin: 0;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.4;
}
.cmp-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.cmp-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 1px solid #d1d5db;
    background: #f3f4f6;
    color: #374151;
    transition: background-color 0.2s;
}
.cmp-btn:hover {
    background: #e5e7eb;
}
.cmp-btn:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}
/* Exact identical visual weight for both Accept and Reject ensures no dark patterns */
.cmp-btn-equal {
    flex: 1;
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}
.cmp-btn-equal:hover {
    background: #1d4ed8;
}

/* Preferences Modal */
.cmp-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.cmp-modal {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}
.cmp-category {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0;
}
.cmp-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.cmp-category-header h3 {
    font-size: 1rem;
    margin: 0;
}
.cmp-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.cmp-toggle-bg {
    width: 2.75rem; height: 1.5rem; background-color: #e5e7eb; border-radius: 9999px; transition: background-color 0.2s; position: relative;
}
.cmp-toggle-input:checked + .cmp-toggle-bg { background-color: #2563eb; }
.cmp-toggle-input:disabled + .cmp-toggle-bg { background-color: #9ca3af; cursor: not-allowed; }
.cmp-toggle-dot {
    position: absolute; top: 0.125rem; left: 0.125rem; background: #ffffff; border-radius: 50%; height: 1.25rem; width: 1.25rem; transition: transform 0.2s;
}
.cmp-toggle-input:checked + .cmp-toggle-bg .cmp-toggle-dot { transform: translateX(1.25rem); }
.cmp-modal-actions {
    display: flex; gap: 1rem; margin-top: 1.5rem;
}
.cmp-footer-link {
    margin-top: 1.5rem; text-align: center; font-size: 0.875rem;
}
.cmp-footer-link a { color: #2563eb; text-decoration: underline; }
