.cc-banner, .cc-dialog, .cc-status { box-sizing: border-box; color: #183443; font-family: Arial, Roboto, sans-serif; font-size: 14px; line-height: 1.55; }
.cc-banner *, .cc-dialog *, .cc-status * { box-sizing: border-box; }
.cc-banner[hidden], .cc-status[hidden] { display: none !important; }
.cc-dialog:not([open]) { display: none; }
.cc-banner { position: fixed; z-index: 1000; inset: auto 20px 20px; max-width: 1160px; margin: 0 auto; padding: 22px 26px; background: #fff; border: 1px solid #cbdce6; border-radius: 16px; box-shadow: 0 8px 40px #163b5926; }
.cc-banner h2, .cc-dialog h2 { color: #163b59; font-size: 21px; line-height: 1.3; font-weight: 700; margin: 0 0 10px; }
.cc-banner p, .cc-dialog p { font-size: 14px; line-height: 1.55; margin: 0; }
.cc-banner a, .cc-dialog a { color: #005b99; text-decoration: underline; text-underline-offset: 3px; }
.cc-actions { display: flex; gap: 10px; margin-top: 18px; }
.cc-button { flex: 1 1 0; appearance: none; background: #eff5f8; border: 1px solid #92b4cc; border-radius: 8px; color: #005b99; cursor: pointer; font: 600 14px/1.3 Arial, Roboto, sans-serif; padding: 12px 16px; min-height: 46px; text-align: center; transition: background-color .15s, border-color .15s; }
.cc-button:hover { background: #dcebf5; border-color: #005b99; }
.cc-banner :focus-visible, .cc-dialog :focus-visible, [data-cookie-settings]:focus-visible { outline: 3px solid #005b99; outline-offset: 3px; }
.cc-dialog { width: min(650px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 26px; border: 1px solid #cbdce6; border-radius: 16px; background: #fff; box-shadow: 0 20px 70px #163b5938; overscroll-behavior: contain; }
.cc-dialog::backdrop { background: #102b3ec2; }
.cc-dialog-heading { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.cc-dialog-heading h2 { margin-top: 8px; }
.cc-close { display: flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; background: #eff5f8; border: 1px solid #cbdce6; border-radius: 50%; color: #163b59; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.cc-close:hover { background: #dcebf5; }
.cc-category { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 16px; background: #eff5f8; border: 1px solid #d6e3ec; border-radius: 10px; }
label.cc-category { cursor: pointer; }
.cc-category h3, .cc-category strong { display: block; font: 700 16px/1.4 Arial, Roboto, sans-serif; color: #163b59; margin: 0 0 5px; }
.cc-category-description { display: block; font-size: 14px; }
.cc-category input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0 2px; accent-color: #005b99; cursor: pointer; }
.cc-essential { flex: 0 0 90px; color: #416374; font-size: 12px; font-weight: 700; text-align: center; }
.cc-dialog .cc-policy { margin-top: 16px; }
.cc-dialog .cc-actions { flex-wrap: wrap; }
.cc-dialog .cc-button { min-width: 150px; }
.cc-status { position: fixed; z-index: 1100; right: 20px; bottom: 20px; max-width: min(470px, calc(100% - 40px)); padding: 16px 20px; background: #fff; border: 1px solid #92b4cc; border-radius: 10px; box-shadow: 0 5px 24px #163b5926; }
.cc-dialog-fallback { position: fixed; z-index: 1200; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); box-shadow: 0 0 0 100vmax #102b3ec2; }
@media (max-width: 600px) {
  .cc-banner { inset: auto 10px 10px; max-height: calc(100dvh - 20px); overflow-y: auto; padding: 18px; border-radius: 12px; }
  .cc-banner h2, .cc-dialog h2 { font-size: 19px; }
  .cc-actions { flex-direction: column; gap: 8px; margin-top: 14px; }
  .cc-button { flex-basis: auto; padding: 11px 14px; }
  .cc-dialog { padding: 20px 16px; max-height: calc(100dvh - 24px); }
  .cc-category { padding: 14px; gap: 12px; }
  .cc-essential { flex-basis: 64px; }
}
@media (prefers-reduced-motion: reduce) { .cc-button { transition: none; } }
