/* Scoped to the consent UI; the rest of the site's design stays unchanged. */
.cc-root {
  --cc-brand: #4d70b1;
  --cc-surface: #fff;
  --cc-text: #1a1a1a;
  --cc-muted: #4b5563;
  --cc-border: #e5e7eb;
  --cc-overlay: rgba(0,0,0,.5);
  --cc-shadow: 0 24px 60px -18px rgba(0,0,0,.28);
  color: var(--cc-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
}
.cc-banner-space { height: 340px; }
.cc-panel {
  box-sizing: border-box;
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 70;
  max-width: 480px;
  margin-left: auto;
  padding: 24px;
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  border-radius: 8px;
  box-shadow: var(--cc-shadow);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}
.cc-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cc-heading svg { color: var(--cc-brand); flex-shrink: 0; }
.cc-root h2 { color: var(--cc-text); font-size: 19px; line-height: 1.3; margin: 0; text-wrap: balance; }
.cc-root p { font-size: 16px; line-height: 1.55; color: var(--cc-muted); margin: 0 0 18px; text-wrap: pretty; }
.cc-root a { color: var(--cc-brand); text-decoration: underline; text-underline-offset: 3px; }
.cc-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cc-root .cc-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  height: auto;
  padding: 10px 14px;
  border: 1px solid var(--cc-brand);
  border-radius: 9999px;
  background: var(--cc-brand);
  color: var(--cc-surface);
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  white-space: normal;
}
.cc-root .cc-button:hover { filter: brightness(.94); }
.cc-root .cc-button:focus-visible, .cc-root input:focus-visible { outline: 2px solid var(--cc-brand); outline-offset: 3px; }
.cc-root .cc-secondary { background: var(--cc-surface); color: var(--cc-brand); grid-column: 1 / -1; }
.cc-settings { display: grid; gap: 12px; margin-bottom: 18px; }
.cc-category { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--cc-border); cursor: pointer; }
.cc-category small { display: block; font-size: 14px; color: var(--cc-muted); }
.cc-category input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--cc-brand); }
.cc-legal { display: flex; gap: 18px; margin-top: 16px; font-size: 14px; }
#footer .cc-footer-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; height: auto; cursor: pointer; text-align: left; box-shadow: none; }
#footer .cc-footer-link:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .cc-panel { padding: 20px; left: 12px; right: 12px; bottom: 12px; max-height: calc(100dvh - 24px); }
  .cc-banner-space { height: 420px; }
}