body.consent-modal-open { overflow: hidden; }
.consent-dialog {
  box-sizing: border-box; color-scheme: dark; width: min(920px, calc(100% - 40px));
  max-width: none; max-height: calc(100svh - 40px); margin: auto; padding: 0;
  border: 1px solid #655183; border-radius: 18px; background: #11192b; color: #f8fafc;
  font: 400 14px/1.7 "Inter", Arial, sans-serif; text-align: left; letter-spacing: normal;
  box-shadow: 0 26px 100px rgb(0 0 0 / .48);
}
.consent-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.consent-dialog *, .consent-dialog *::before, .consent-dialog *::after { box-sizing: border-box; }
.consent-dialog [hidden], .consent-widget-placeholder[hidden] { display: none !important; }
.consent-reopen[hidden] { display: none !important; }
.consent-reopen {
  position: fixed; left: calc(16px + env(safe-area-inset-left)); bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 35; display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid #78618f; border-radius: 50%; background: #151e30; color: #cfb8ff;
  box-shadow: 0 3px 14px rgb(0 0 0 / .2); cursor: pointer;
  transition: transform 140ms cubic-bezier(.23, 1, .32, 1);
}
.consent-reopen svg { display: block; pointer-events: none; }
.consent-reopen:active { transform: scale(.96); }
.consent-reopen:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 4px; transform: none; transition: none; }
.has-consent-choice .scroll-hint { left: max(var(--page-gutter), calc(78px + env(safe-area-inset-left))); }
.menu-open .consent-reopen { visibility: hidden; pointer-events: none; }
.consent-dialog::backdrop { background: rgb(3 6 17 / .76); }
.consent-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 30px 22px; flex-shrink: 0; }
.consent-kicker { display: block; margin-bottom: 6px; color: #ac98dc; font-size: 9px; letter-spacing: .17em; }
.consent-dialog h2 { margin: 0; padding: 0; font-size: 26px; line-height: 1.2; font-weight: 720; letter-spacing: -.035em; color: #f8fafc; }
.consent-header img { display: block; width: 98px; height: auto; flex-shrink: 0; }
.consent-tabs { display: grid; grid-template-columns: repeat(3, 1fr); flex-shrink: 0; border-block: 1px solid #303a50; }
.consent-tabs button { position: relative; min-height: 56px; padding: 12px 8px; border: 0; background: none; color: #adb8cb; font: 620 13px/1.4 "Inter", Arial, sans-serif; cursor: pointer; }
.consent-tabs button[aria-selected="true"] { color: #c4acff; background: #191f36; }
.consent-tabs button[aria-selected="true"]::after { content: ""; position: absolute; height: 2px; inset: auto 0 0; background: #ae82ff; }
.consent-content { padding: 26px 30px 18px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #716080 #151c2b; }
.consent-dialog h3 { margin: 0 0 13px; padding: 0; color: #f8fafc; font-size: 18px; font-weight: 660; line-height: 1.4; letter-spacing: -.025em; }
.consent-dialog p { margin: 0 0 16px; color: #d0d8e6; }
.consent-dialog strong { color: #f8fafc; font-weight: 600; }
.consent-dialog a, .consent-text-button { color: #cbb6ff; text-decoration: underline; text-underline-offset: 3px; }
.consent-setup-note { padding: 12px 15px; border-left: 2px solid #9a7bc8; background: #1d2439; font-size: 12px; }
.consent-setup-note > span { color: #e7dbff; }
.consent-footer { flex-shrink: 0; border-top: 1px solid #303a50; padding: 18px 22px 14px; background: #11192b; }
.consent-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.consent-button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 16px; border: 1px solid #9981ca; border-radius: 8px; background: #51358c; color: #fff; font: 620 13px/1.4 "Inter", Arial, sans-serif; cursor: pointer; transition: background-color 140ms ease, transform 140ms ease; }
.consent-button > span { font-size: 24px; line-height: .6; font-weight: 400; }
.consent-button:active { transform: scale(.98); }
.consent-footer-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: #9eabc0; font-size: 10px; }
.consent-footer-meta > div { display: flex; flex-wrap: wrap; gap: 16px; }
.consent-footer-meta a { color: #c7b5ed; }
.consent-details-intro { font-size: 12px; color: #aebad0 !important; }
.consent-category { padding: 19px 0; border-bottom: 1px solid #303a50; }
.consent-category-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.consent-category-expand { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; min-height: 40px; padding: 0; border: 0; background: none; color: #f8fafc; font: inherit; text-align: left; cursor: pointer; }
.consent-category-expand h3 { margin: 0; font-size: 15px; }
.consent-chevron { width: 20px; font-size: 22px; line-height: 1; color: #c4b1e6; }
.consent-category-expand[aria-expanded="true"] .consent-chevron { transform: rotate(180deg); }
.consent-count { padding: 2px 7px; border-radius: 5px; background: #252e44; color: #b9c6da; font-size: 10px; line-height: 1.6; }
.consent-category > p { margin: 0 0 0 29px; font-size: 13px; }
.consent-category .consent-pending { margin-top: 8px; color: #aeb8cc; font-size: 11px; }
.consent-switch { position: relative; display: flex; align-items: center; width: 56px; height: 44px; flex: 0 0 56px; cursor: pointer; }
.consent-switch input { position: absolute; z-index: 1; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.consent-switch > span { display: block; position: relative; width: 56px; height: 30px; border: 1px solid #758198; border-radius: 18px; background: #293246; }
.consent-switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #f8fafc; }
.consent-switch input:checked + span { background: #7c4cd5; border-color: #ab8ce8; }
.consent-switch input:checked + span::after { transform: translateX(25px); }
.consent-switch input:disabled { cursor: not-allowed; }
.consent-switch input:disabled + span { opacity: .45; }
.consent-switch input:checked:disabled + span { opacity: .8; }
.consent-switch input:focus-visible + span { outline: 3px solid #c4b5fd; outline-offset: 4px; }
.consent-service-list { margin: 16px 0 0 29px; }
.consent-service { margin-top: 12px; padding: 16px; border: 1px solid #39435a; border-radius: 8px; background: #151f33; }
.consent-service-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.consent-service h4 { margin: 0; color: #f8fafc; font-size: 13px; line-height: 1.5; }
.consent-service-state { color: #c2aedf; font-size: 10px; }
.consent-service dl, .consent-receipt { margin: 0 0 10px; font-size: 11px; }
.consent-service dl > div, .consent-receipt > div { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 15px; margin: 7px 0; }
.consent-service dt, .consent-receipt dt { color: #9eafc8; }
.consent-service dd, .consent-receipt dd { margin: 0; overflow-wrap: anywhere; color: #d0d8e6; }
.consent-service a { font-size: 11px; }
.consent-hosting { margin-top: 22px; font-size: 12px; }
.consent-hosting h3 { font-size: 15px; }
.consent-receipt { margin-top: 22px; padding: 15px; border: 1px solid #39435a; border-radius: 8px; }
.consent-text-button { min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; cursor: pointer; }
.consent-status:not(:empty) { margin-top: 16px; font-size: 12px; color: #d2c0f4; }
.consent-dialog :focus-visible, .consent-widget-placeholder :focus-visible { outline: 3px solid #c4b5fd; outline-offset: 4px; }
.consent-reviews { margin-top: 60px; }
.consent-reviews h3 { color: #f8fafc; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 28px; text-align: center; text-wrap: balance; }
.consent-widget-placeholder { padding: 25px; border: 1px solid #4d4565; border-radius: 12px; background: #131d31; color: #cbd5e1; }
.consent-widget-placeholder p { max-width: 58ch; margin: 0 0 16px; font-size: 14px; }
.consent-widget-placeholder a { display: inline-flex; align-items: center; min-height: 44px; color: #c4b5fd; text-underline-offset: 4px; }
.consent-whatsapp { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(76px, env(safe-area-inset-bottom)); z-index: 35; max-width: calc(100% - 32px); padding: 0; border-radius: 30px; overflow: hidden; }
.consent-whatsapp a { min-height: 46px; padding: 10px 18px; font: 550 12px/1.4 "Inter", Arial, sans-serif; color: #e6d9ff; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .consent-reopen:hover { background: #242b43; border-color: #b89be8; }
  .consent-button:hover { background: #6542a4; }
  .consent-category-expand:hover h3, .consent-tabs button:hover { color: #d5bfff; }
}
@media (max-width: 600px) {
  .consent-dialog { width: calc(100% - 24px); max-height: calc(100svh - 24px); border-radius: 14px; font-size: 13px; line-height: 1.65; }
  .consent-header { padding: 19px 19px 16px; gap: 12px; }
  .consent-dialog h2 { font-size: 20px; }
  .consent-header img { width: 70px; }
  .consent-kicker { font-size: 8px; letter-spacing: .09em; }
  .consent-tabs button { min-height: 50px; font-size: 12px; padding-inline: 4px; }
  .consent-content { padding: 20px 19px 14px; }
  .consent-dialog h3 { font-size: 17px; }
  .consent-footer { padding: 13px 15px; }
  .consent-actions { grid-template-columns: 1fr; gap: 7px; }
  .consent-button { min-height: 44px; padding: 10px; font-size: 12px; }
  .consent-footer-meta { margin-top: 10px; font-size: 9px; gap: 6px; flex-wrap: wrap; }
  .consent-category-expand { gap: 6px; }
  .consent-category-expand h3 { font-size: 14px; }
  .consent-count { font-size: 9px; }
  .consent-service-list { margin-left: 0; }
  .consent-service { padding: 12px; }
  .consent-service dl > div, .consent-receipt > div { grid-template-columns: 1fr; gap: 1px; margin: 10px 0; }
  .consent-switch { width: 50px; flex-basis: 50px; }
  .consent-switch > span { width: 50px; }
  .consent-switch input:checked + span::after { transform: translateX(19px); }
  .consent-whatsapp a { padding: 10px 14px; }
}
@media (max-height: 520px) and (min-width: 601px) {
  .consent-header { padding-block: 12px; }
  .consent-tabs button { min-height: 44px; }
  .consent-footer { padding-block: 10px; }
}
@media (prefers-reduced-motion: reduce) { .consent-button, .consent-reopen { transition: none; } .consent-button:active, .consent-reopen:active { transform: none; } }
