.consent-layer[hidden] { display: none !important; }
.consent-layer { position: fixed; inset: auto 0 0; z-index: 10000; display: flex; align-items: flex-end; justify-content: flex-start; padding: 14px; pointer-events: none; }
.consent-dialog { width: min(560px, 100%); max-height: calc(100vh - 28px); overflow: auto; padding: 18px 20px 16px; border: 1px solid #d6e0e3; border-radius: 12px; background: #fff; color: #10202c; box-shadow: 0 18px 50px rgba(3,13,21,.2); pointer-events: auto; }
.consent-kicker { margin: 0 0 3px; color: #087da3; font-size: .58rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.consent-dialog h2 { margin: 0; color: #07131f; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.28rem; font-weight: 550; letter-spacing: -.025em; line-height: 1.15; }
.consent-intro { margin: 7px 0 11px; color: #53666f; font-size: .77rem; line-height: 1.5; }
.consent-settings { margin: 0 0 11px; border: 1px solid #d9e2e5; border-radius: 8px; background: #f8fafa; }
.consent-settings summary { padding: 9px 12px; color: #17313e; cursor: pointer; font-size: .72rem; font-weight: 800; }
.consent-settings[open] summary { border-bottom: 1px solid #d9e2e5; }
.consent-options { display: grid; gap: 7px; padding: 9px; }
.consent-option { position: relative; display: grid; grid-template-columns: 1fr 42px; gap: 12px; align-items: center; min-height: 52px; padding: 8px 10px; border: 1px solid #e0e7e9; border-radius: 7px; background: #fff; cursor: pointer; }
.consent-option:hover { border-color: #9fc8d4; }
.consent-option-required { cursor: default; background: #f1f5f5; }
.consent-option span, .consent-option strong, .consent-option small { display: block; }
.consent-option strong { color: #1a303a; font-size: .76rem; }
.consent-option small { margin-top: 1px; color: #667981; font-size: .65rem; line-height: 1.35; }
.consent-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.consent-option i { position: relative; width: 39px; height: 22px; border: 1px solid #a9b9bf; border-radius: 999px; background: #cad4d7; transition: background .18s ease, border-color .18s ease; }
.consent-option i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .18s ease; }
.consent-option input:checked + i { border-color: #087da3; background: #40c9f3; }
.consent-option input:checked + i::after { transform: translateX(17px); }
.consent-option input:focus-visible + i { outline: 3px solid #f06464; outline-offset: 2px; }
.consent-option input:disabled + i { opacity: .62; }
.consent-button, .consent-manage, .consent-inline-button { appearance: none; font: inherit; cursor: pointer; }
.consent-button { min-height: 39px; padding: 8px 12px; border: 1px solid #17313e; border-radius: 6px; font-size: .7rem; font-weight: 800; }
.consent-reject { background: #fff; color: #17313e; }
.consent-save { width: calc(100% - 18px); margin: 0 9px 9px; background: #17313e; color: #fff; }
.consent-accept { border-color: #40c9f3; background: #40c9f3; color: #03131c; }
.consent-button:hover, .consent-button:focus-visible { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(7,19,31,.13); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-links { display: flex; gap: 15px; margin: 9px 0 0; font-size: .64rem; font-weight: 700; }
.consent-links a { color: #087da3; border-bottom: 1px solid #abd0db; }
.consent-manage { padding: 0; border: 0; background: transparent; color: inherit; font-size: inherit; }
.consent-manage:hover, .consent-manage:focus-visible { color: #fff; }
.consent-inline-button { min-height: 44px; padding: 10px 16px; border: 1px solid #087da3; border-radius: 6px; background: #eaf5f8; color: #075e7a; font-size: .82rem; font-weight: 800; }
.consent-inline-button:hover, .consent-inline-button:focus-visible { background: #d8eff5; }
@media (max-width: 640px) {
  .consent-layer { padding: 8px; }
  .consent-dialog { max-height: calc(100vh - 16px); padding: 15px 15px 13px; border-radius: 10px; }
  .consent-dialog h2 { font-size: 1.12rem; }
  .consent-intro { font-size: .72rem; }
  .consent-button { padding-inline: 8px; font-size: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
  .consent-button, .consent-option i, .consent-option i::after { transition: none !important; }
}
