#fenedo-consent-root { position: relative; z-index: 2147483000; }
.fenedo-consent-banner { position: fixed; left: 24px; right: 24px; bottom: 20px; max-width: 1120px; margin: 0 auto; color: #17202b; background: #fff; border: 1px solid #d7dce2; border-radius: 12px; box-shadow: 0 16px 48px rgba(20, 31, 46, .2); font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.fenedo-consent-content { padding: 24px 28px; }
.fenedo-consent-banner h2, .fenedo-consent-dialog h2 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.2; }
.fenedo-consent-description { max-width: 960px; }
.fenedo-consent-description a { color: #174c85; text-decoration: underline; }
.fenedo-consent-mobile-summary { display: none; }
.fenedo-consent-actions, .fenedo-consent-dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.fenedo-consent-button { appearance: none; min-height: 44px; padding: 9px 16px; border: 2px solid #174c85; border-radius: 6px; color: #174c85; background: #fff; cursor: pointer; font: inherit; font-weight: 650; }
.fenedo-consent-actions > .fenedo-consent-button:not(.settings-action) { flex: 0 0 200px; }
.fenedo-consent-button.is-primary, .fenedo-consent-button.is-secondary:hover, .fenedo-consent-button.is-secondary:focus-visible { color: #fff; background: #174c85; }
.fenedo-consent-button:focus-visible, .fenedo-consent-close:focus-visible, .fenedo-consent-settings:focus-visible, .fenedo-consent-switch input:focus-visible + span { outline: 3px solid #e3a008; outline-offset: 3px; }
.fenedo-consent-settings { position: relative; z-index: 1; display: inline-block; min-height: 40px; margin: 8px 0; padding: 8px 12px; border: 1px solid #174c85; border-radius: 6px; color: #174c85; background: #fff; cursor: pointer; box-shadow: 0 3px 12px rgba(20, 31, 46, .15); font: 13px/1.2 system-ui, sans-serif; }
.fenedo-consent-settings.is-visible { display: block; }
.fenedo-consent-overlay { position: fixed; inset: 0; z-index: 2147483001; display: grid; place-items: center; padding: 20px; background: rgba(11, 20, 31, .58); overflow: auto; font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.fenedo-consent-overlay[hidden] { display: none; }
.fenedo-consent-dialog { width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 26px; color: #17202b; background: #fff; border-radius: 12px; box-shadow: 0 24px 80px rgba(0, 0, 0, .3); }
.fenedo-consent-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.fenedo-consent-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #eef2f6; color: #17202b; cursor: pointer; font-size: 26px; line-height: 1; }
.fenedo-consent-category { padding: 18px 0; border-top: 1px solid #d7dce2; }
.fenedo-consent-category-head { display: flex; justify-content: space-between; gap: 18px; }
.fenedo-consent-category h3 { margin: 0 0 5px; font-size: 1.08rem; }
.fenedo-consent-category p { margin: 0; }
.fenedo-consent-switch { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; min-width: 130px; color: #174c85; font-weight: 650; cursor: pointer; }
.fenedo-consent-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fenedo-consent-switch > span:first-of-type { position: relative; display: block; width: 44px; height: 24px; border-radius: 24px; background: #9aa5b1; }
.fenedo-consent-switch > span:first-of-type::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.fenedo-consent-switch input:checked + span { background: #174c85; }
.fenedo-consent-switch input:checked + span::after { transform: translateX(20px); }
.fenedo-consent-switch input:disabled + span { opacity: .65; }
.fenedo-consent-table-wrap { margin-top: 14px; overflow-x: auto; }
.fenedo-consent-dialog table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fenedo-consent-dialog th, .fenedo-consent-dialog td { padding: 8px; border: 1px solid #d7dce2; text-align: left; vertical-align: top; }
.fenedo-consent-dialog th { background: #f3f6f8; }
.fenedo-consent-empty { color: #5b6673; font-style: italic; }
body.fenedo-consent-open { overflow: hidden; }
@media (max-width: 600px) {
    .fenedo-consent-banner { left: 0; right: 0; bottom: 0; border-radius: 10px 10px 0 0; max-height: none; overflow: visible; }
    .fenedo-consent-content { padding: 10px 12px 8px; }
    .fenedo-consent-banner h2 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
    .fenedo-consent-description { display: none; }
    .fenedo-consent-mobile-summary { display: -webkit-box; margin: 0; overflow: hidden; font-size: .78rem; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .fenedo-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 7px; }
    .fenedo-consent-button { min-height: 38px; padding: 6px 7px; font-size: .8rem; }
    .fenedo-consent-actions > .fenedo-consent-button:not(.settings-action) { flex: initial; width: 100%; }
    .fenedo-consent-button.settings-action { grid-column: 1 / -1; order: 3; min-height: 27px; padding: 2px 6px; border: 0; background: transparent; color: #174c85; text-decoration: underline; }
    .fenedo-consent-dialog { padding: 18px; }
    .fenedo-consent-category-head { display: block; }
    .fenedo-consent-switch { margin-top: 12px; }
}
