.cb-root {
  --cb-accent: #235b48;
  color: #222;
  font: 15px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cb-root * { box-sizing: border-box; }
.cb-root [hidden] { display: none !important; }
.cb-banner {
  position: fixed; z-index: 999990; right: 20px; bottom: 20px; left: 20px;
  max-height: 85vh; padding: 26px 30px; overflow: auto;
  background: #fff; border: 1px solid #d8d8d8; border-radius: 16px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, .15);
}
.cb-banner.cb-left { right: auto; width: 430px; max-width: calc(100% - 40px); }
.cb-banner.cb-right { left: auto; width: 430px; max-width: calc(100% - 40px); }
.cb-root h2 { margin: 8px 0 12px; color: #222; font: 650 24px/1.25 system-ui, sans-serif; }
.cb-root p { margin: 8px 0 16px; }
.cb-root .cb-banner > p { font-size: 1rem; }
.cb-eyebrow { color: var(--cb-accent); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.cb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cb-root .cb-button {
  min-height: 44px; padding: 11px 18px; color: #222;
  font: 600 14px/1.3 system-ui, sans-serif; cursor: pointer;
  background: #fff; border: 1px solid #777; border-radius: 8px; appearance: none;
}
.cb-root .cb-button:hover { background: #f3f3f3; }
.cb-root .cb-button-outline { color: var(--cb-accent); background: #fff; border: 2px solid var(--cb-accent); }
.cb-root .cb-button-outline:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--cb-accent); }
.cb-root .cb-button-primary { color: #fff; background: var(--cb-accent); border: 2px solid var(--cb-accent); }
.cb-root .cb-button-primary:hover { color: #fff; background: var(--cb-accent); filter: brightness(.9); }
.cb-root button:focus-visible, .cb-root a:focus-visible, .cb-root input:focus-visible {
  outline: 3px solid #1767d2; outline-offset: 3px;
}
.cb-root a { color: var(--cb-accent); text-decoration: underline; }
.cb-revisit {
  position: fixed; z-index: 999989; bottom: 12px; left: 12px;
  min-height: 44px; padding: 10px 15px; color: #222;
  font: 600 12px system-ui; cursor: pointer; background: #fff;
  border: 1px solid #777; border-radius: 30px; box-shadow: 0 3px 15px rgba(0, 0, 0, .13);
}
.cb-dialog {
  width: 570px; max-width: calc(100% - 32px); max-height: 85vh;
  padding: 30px; overflow: auto; color: #222;
  font: 15px/1.55 system-ui, sans-serif; background: #fff;
  border: 1px solid #d8d8d8; border-radius: 18px;
}
.cb-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.cb-category { padding: 16px 0; border-top: 1px solid #ddd; }
.cb-category label {
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  font-weight: 650; cursor: pointer;
}
.cb-category input { width: 21px; height: 21px; accent-color: var(--cb-accent); }
.cb-category p { margin: 6px 0; color: #555; font-size: 13px; }
.cb-category .cb-cookie {
  padding: 8px; overflow-wrap: anywhere; font-size: 12px;
  background: #f3f3f3; border-radius: 5px;
}
@media (max-width: 600px) {
  .cb-banner { right: 10px; bottom: 10px; left: 10px; padding: 20px; }
  .cb-banner.cb-left, .cb-banner.cb-right { max-width: calc(100% - 20px); }
  .cb-actions .cb-button { flex: 1 1 140px; }
  .cb-dialog { padding: 22px; }
}
