.sc-consent[hidden], .sc-consent-toggle[hidden] { display: none !important; }
.sc-consent {
  position: fixed; z-index: 10000; inset: auto 16px 16px;
  width: min(700px, calc(100% - 32px)); margin: 0 auto;
  max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column;
  padding: 0; background: #fff; color: #141c33; border: 1px solid #b7bdc9;
  border-radius: 16px; box-shadow: 0 8px 48px #141c3340;
  font: 15px/1.5 Arial, sans-serif; text-align: left;
}
.sc-consent-content { min-height: 0; overflow-y: auto; padding: 24px 24px 0; }
.sc-consent h2 { margin: 0 0 10px; font: 700 21px/1.3 Arial, sans-serif; }
.sc-consent p { margin: 0 0 14px; }
.sc-consent a { color: #193b72; text-decoration: underline; }
.sc-consent label { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; }
.sc-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: #141c33; }
.sc-consent-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 10px; padding: 12px 24px 24px; }
.sc-consent button, .sc-consent-toggle {
  font: 600 14px/1.4 Arial, sans-serif; cursor: pointer;
  padding: 12px 16px; border: 1px solid #141c33; border-radius: 8px;
  background: #141c33; color: #fff;
}
.sc-consent-actions button { flex: 1 1 180px; }
.sc-consent button:focus-visible, .sc-consent a:focus-visible, .sc-consent input:focus-visible,
.sc-consent-toggle:focus-visible { outline: 3px solid #397ed5; outline-offset: 3px; }
.sc-consent-toggle { position: fixed; z-index: 9000; bottom: 12px; left: 12px; box-shadow: 0 2px 12px #0002; }
.sc-consent .sc-consent-close { flex: 0 0 auto; background: #fff; color: #141c33; margin: 0 24px 12px; }
.sc-consent-error { color: #8d1c1c; padding: 0 24px; }
@media (max-width: 480px) {
  .sc-consent { inset-inline: 10px; bottom: 10px; width: calc(100% - 20px); }
  .sc-consent-content { padding: 18px 18px 0; }
  .sc-consent-actions { gap: 8px; padding: 12px 18px 18px; border-top: 1px solid #e7e7e3; }
  .sc-consent-actions button { flex-basis: calc(50% - 4px); padding: 10px 8px; }
  .sc-consent-actions button:last-child { flex-basis: 100%; }
}
