/**
 * Cookie Banner Custom CSS (Vanilla, No external dependencies)
 * Architettura a schede e distinzioni ispirate a Cookiebot CMP by Usercentrics.
 * Scoped con namespace .cb-* per azzerare conflitti con il sito ospitante.
 */

:root {
  --cb-primary: #00a2ff;
  --cb-primary-hover: #2cb7ff;
  --cb-primary-text: #ffffff;
  --cb-bg: #18181b;
  --cb-card-bg: #27272a;
  --cb-text: #f4f4f5;
  --cb-text-muted: #a1a1aa;
  --cb-border: rgba(255, 255, 255, 0.12);
  --cb-radius: 12px;
  --cb-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --cb-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.6), 0 10px 12px -6px rgba(0, 0, 0, 0.4);
  --cb-overlay-bg: rgba(0, 0, 0, 0.7);
}

/* Modalità Chiara */
.cb-light-theme {
  --cb-bg: #ffffff;
  --cb-card-bg: #f8fafc;
  --cb-text: #0f172a;
  --cb-text-muted: #64748b;
  --cb-border: rgba(0, 0, 0, 0.12);
  --cb-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 12px -6px rgba(0, 0, 0, 0.08);
  --cb-overlay-bg: rgba(15, 23, 42, 0.45);
}

/* Reset base per gli elementi del banner */
.cb-dialog-backdrop,
.cb-dialog-backdrop * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--cb-font-family);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   DIALOG WRAPPER & POSIZIONI (COOKIEBOT-STYLE)
   ========================================================================== */

.cb-dialog-backdrop {
  position: fixed;
  z-index: 999990;
  display: flex;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modal Center (Default Cookiebot) */
.cb-dialog-backdrop.cb-pos-modal-center {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cb-overlay-bg);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cb-pos-modal-center .cb-dialog-container {
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
}

/* Posizione: Floating Box Destra */
.cb-dialog-backdrop.cb-pos-floating-right {
  bottom: 24px;
  right: 24px;
  max-width: 520px;
  width: calc(100% - 48px);
}

/* Posizione: Floating Box Sinistra */
.cb-dialog-backdrop.cb-pos-floating-left {
  bottom: 24px;
  left: 24px;
  max-width: 520px;
  width: calc(100% - 48px);
}

/* Posizione: Bottom Bar */
.cb-dialog-backdrop.cb-pos-bottom-bar {
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
}

.cb-pos-bottom-bar .cb-dialog-container {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  max-width: 100%;
}

.cb-dialog-backdrop.cb-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.98);
}

.cb-pos-modal-center.cb-hidden {
  transform: scale(0.96);
}

/* Contenitore Dialog */
.cb-dialog-container {
  background: var(--cb-bg);
  color: var(--cb-text);
  border: 1px solid var(--cb-border);
  border-radius: var(--cb-radius);
  box-shadow: var(--cb-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-height: 88vh;
  animation: cbFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cbFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   HEADER & SCHEDE INTEGRATE (TABS)
   ========================================================================== */

.cb-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 12px;
  background: var(--cb-bg);
}

.cb-dialog-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-dialog-logo {
  font-size: 20px;
}

.cb-dialog-brand-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--cb-text);
  letter-spacing: -0.2px;
}

.cb-dialog-close {
  background: transparent;
  border: none;
  color: var(--cb-text-muted);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}

.cb-dialog-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cb-text);
}

/* Barra di navigazione schede stile Cookiebot */
.cb-tab-nav {
  display: flex;
  border-bottom: 1px solid var(--cb-border);
  background: var(--cb-bg);
  padding: 0 12px;
}

.cb-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--cb-text-muted);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 14px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.cb-tab-btn:hover {
  color: var(--cb-text);
  background: rgba(255, 255, 255, 0.03);
}

.cb-tab-btn.cb-tab-active {
  color: var(--cb-primary);
  border-bottom-color: var(--cb-primary);
  font-weight: 700;
}

/* ==========================================================================
   CORPO PRINCIPALE & SCHEDE (PANES)
   ========================================================================== */

.cb-dialog-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  max-height: 58vh;
}

.cb-tab-pane {
  display: none;
}

.cb-tab-pane.cb-pane-active {
  display: block;
  animation: cbPaneIn 0.2s ease;
}

@keyframes cbPaneIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scheda 1: Consenso */
.cb-pane-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--cb-text);
  line-height: 1.35;
}

.cb-pane-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--cb-text-muted);
}

.cb-policy-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cb-policy-links a {
  color: var(--cb-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  font-size: 13px;
  transition: opacity 0.2s;
}

.cb-policy-links a:hover {
  opacity: 0.85;
}

/* ==========================================================================
   SCHEDA 2: DETTAGLI (CATEGORIE, SWITCH & FORNITORI)
   ========================================================================== */

.cb-categories-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cb-cat-row {
  background: var(--cb-card-bg);
  border: 1px solid var(--cb-border);
  border-radius: calc(var(--cb-radius) - 3px);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.cb-cat-row:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.cb-cat-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}

.cb-cat-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cb-accordion-arrow {
  font-size: 11px;
  color: var(--cb-text-muted);
  width: 14px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.cb-cat-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cb-text);
}

.cb-cat-count-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--cb-text-muted);
}

.cb-cat-details {
  padding: 0 16px 16px;
  border-top: 1px dashed var(--cb-border);
  margin-top: 4px;
  padding-top: 12px;
}

.cb-cat-details.cb-hidden {
  display: none !important;
}

.cb-cat-description {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--cb-text-muted);
  margin-bottom: 12px;
}

/* Accordion Fornitori (Providers) */
.cb-providers-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cb-provider-card {
  border: 1px solid var(--cb-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.cb-provider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}

.cb-provider-header:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cb-provider-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cb-provider-name {
  color: var(--cb-text);
}

.cb-provider-count {
  font-size: 11.5px;
  color: var(--cb-text-muted);
}

.cb-provider-policy-link {
  font-size: 11.5px;
  color: var(--cb-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.cb-provider-policy-link:hover {
  text-decoration: underline;
}

.cb-provider-body {
  padding: 10px 12px;
  border-top: 1px solid var(--cb-border);
}

.cb-provider-body.cb-hidden {
  display: none !important;
}

/* Singolo Cookie / Item Storage */
.cb-cookie-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cb-cookie-item {
  border: 1px solid var(--cb-border);
  border-radius: 6px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.2);
}

.cb-light-theme .cb-cookie-item {
  background: #ffffff;
}

.cb-cookie-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.cb-cookie-name {
  font-size: 13px;
  color: var(--cb-text);
}

.cb-cookie-badge-type {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 162, 255, 0.15);
  color: var(--cb-primary);
  border: 1px solid rgba(0, 162, 255, 0.3);
}

.cb-cookie-purpose {
  font-size: 12px;
  line-height: 1.45;
  color: var(--cb-text-muted);
  margin-bottom: 8px;
}

.cb-cookie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11.5px;
  padding-top: 6px;
  border-top: 1px dashed var(--cb-border);
}

.cb-meta-label {
  color: var(--cb-text-muted);
  margin-right: 4px;
}

.cb-meta-value {
  font-weight: 600;
  color: var(--cb-text);
}

.cb-no-cookies-note {
  font-size: 12px;
  color: var(--cb-text-muted);
  font-style: italic;
  padding: 8px 0;
}

/* ==========================================================================
   SCHEDA 3: INFORMAZIONI SUI COOKIE & CERTIFICATO DI CONSENSO
   ========================================================================== */

.cb-about-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cb-about-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--cb-text-muted);
}

.cb-consent-proof-box {
  background: var(--cb-card-bg);
  border: 1px solid var(--cb-border);
  border-radius: calc(var(--cb-radius) - 3px);
  padding: 16px;
}

.cb-proof-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.cb-proof-icon {
  font-size: 18px;
}

.cb-proof-header h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--cb-text);
}

.cb-proof-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cb-proof-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  gap: 12px;
  flex-wrap: wrap;
}

.cb-proof-label {
  color: var(--cb-text-muted);
}

.cb-proof-val {
  color: var(--cb-text);
}

.cb-proof-uuid {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--cb-border);
}

.cb-proof-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--cb-text);
}

.cb-proof-actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--cb-border);
}

.cb-btn-inline-reset {
  background: transparent;
  border: none;
  color: var(--cb-primary);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  transition: opacity 0.2s;
}

.cb-btn-inline-reset:hover {
  opacity: 0.8;
}

/* ==========================================================================
   SWITCH TOGGLE (APPLE-STYLE)
   ========================================================================== */

.cb-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cb-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cb-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.cb-light-theme .cb-slider {
  background-color: rgba(0, 0, 0, 0.18);
}

.cb-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

input:checked + .cb-slider {
  background-color: var(--cb-primary);
}

input:checked + .cb-slider:before {
  transform: translateX(20px);
}

input:disabled + .cb-slider {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ==========================================================================
   FOOTER CON TASTI D'AZIONE (RIFIUTA | ACCETTA SELEZIONATI | ACCETTA TUTTI)
   ========================================================================== */

.cb-dialog-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--cb-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--cb-bg);
}

.cb-btn {
  padding: 10px 18px;
  border-radius: calc(var(--cb-radius) - 4px);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 auto;
}

.cb-btn:active {
  transform: scale(0.98);
}

.cb-btn-accept {
  background: var(--cb-primary);
  color: var(--cb-primary-text);
  border-color: var(--cb-primary);
}

.cb-btn-accept:hover {
  background: var(--cb-primary-hover);
  border-color: var(--cb-primary-hover);
}

.cb-btn-reject {
  background: transparent;
  color: var(--cb-text);
  border-color: var(--cb-border);
}

.cb-btn-reject:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cb-text);
}

/* Tasto Centrale (Personalizza > oppure Accetta selezionati) */
.cb-btn-middle {
  background: rgba(0, 162, 255, 0.1);
  color: var(--cb-primary);
  border-color: rgba(0, 162, 255, 0.3);
}

.cb-btn-middle:hover {
  background: rgba(0, 162, 255, 0.2);
  border-color: var(--cb-primary);
}

/* ==========================================================================
   FLOATING REVOKE BADGE ("Preferenze Cookie")
   ========================================================================== */

.cb-badge-trigger {
  position: fixed;
  z-index: 999980;
  bottom: 20px;
  left: 20px;
  background: var(--cb-bg);
  color: var(--cb-text);
  border: 1px solid var(--cb-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  border-radius: 9999px;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.cb-badge-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border-color: var(--cb-primary);
}

.cb-badge-trigger.cb-badge-right {
  left: auto;
  right: 20px;
}

.cb-badge-trigger.cb-hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .cb-dialog-header {
    padding: 12px 16px 8px;
  }
  .cb-tab-nav {
    padding: 0 6px;
  }
  .cb-tab-btn {
    padding: 10px 8px;
    font-size: 12px;
  }
  .cb-dialog-body {
    padding: 16px;
    max-height: 52vh;
  }
  .cb-dialog-footer {
    padding: 12px 16px;
    flex-direction: column;
  }
  .cb-btn {
    width: 100%;
  }
}

/* ==========================================================================
   PRIVACY POLICY MODAL & EMBED (IUBENDA/COOKIEBOT-STYLE)
   ========================================================================== */

.cb-privacy-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background: var(--cb-overlay-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: cbFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cb-privacy-modal-card {
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  background: var(--cb-bg);
  color: var(--cb-text);
  border: 1px solid var(--cb-border);
  border-radius: var(--cb-radius);
  box-shadow: var(--cb-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: cbSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cb-privacy-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--cb-border);
  background: var(--cb-card-bg);
}

.cb-privacy-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cb-privacy-header-icon {
  font-size: 24px;
}

.cb-privacy-header-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--cb-text);
}

.cb-privacy-header-subtitle {
  font-size: 12px;
  color: var(--cb-text-muted);
}

.cb-privacy-close {
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--cb-text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.cb-privacy-close:hover {
  color: var(--cb-text);
  background: rgba(255, 255, 255, 0.08);
}

.cb-privacy-modal-body {
  padding: 28px 32px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.65;
}

.cb-privacy-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--cb-border);
  background: var(--cb-card-bg);
  display: flex;
  justify-content: flex-end;
}

.cb-privacy-close-btn {
  padding: 10px 24px;
  font-size: 13.5px;
}

/* Document Body Styling */
.cb-privacy-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.cb-badge-gdpr {
  background: rgba(0, 162, 255, 0.15);
  color: var(--cb-primary);
  border: 1px solid rgba(0, 162, 255, 0.3);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
}

.cb-badge-date {
  font-size: 11.5px;
  color: var(--cb-text-muted);
  padding: 4px 6px;
}

.cb-privacy-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--cb-text);
  margin-bottom: 12px;
}

.cb-privacy-intro {
  color: var(--cb-text-muted);
  margin-bottom: 24px;
}

.cb-privacy-card {
  background: var(--cb-card-bg);
  border: 1px solid var(--cb-border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.cb-privacy-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--cb-text);
  margin-bottom: 12px;
}

.cb-privacy-card ul {
  padding-left: 20px;
  margin-top: 8px;
}

.cb-privacy-card li {
  margin-bottom: 8px;
}

.cb-controller-box {
  background: rgba(0, 162, 255, 0.06);
  border-left: 4px solid var(--cb-primary);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 10px 0;
  color: var(--cb-text);
}

.cb-controller-box a,
.cb-privacy-card a {
  color: var(--cb-primary);
  text-decoration: none;
}

.cb-controller-box a:hover,
.cb-privacy-card a:hover {
  text-decoration: underline;
}

.cb-legal-table-wrapper {
  overflow-x: auto;
  margin-top: 10px;
}

.cb-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.cb-legal-table th {
  text-align: left;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cb-text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--cb-border);
}

.cb-legal-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--cb-text);
}

/* Services Grid */
.cb-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.cb-service-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cb-border);
  border-radius: 8px;
  padding: 14px;
}

.cb-service-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--cb-text);
  margin-bottom: 4px;
}

.cb-service-desc {
  font-size: 12px;
  color: var(--cb-text-muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

.cb-service-link {
  font-size: 11.5px;
  color: var(--cb-primary);
  text-decoration: none;
  font-weight: 600;
}

.cb-service-link:hover {
  text-decoration: underline;
}

/* Embed Diretto Inline (#cb-privacy-policy) */
#cb-privacy-policy .cb-privacy-doc {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  font-family: var(--cb-font-family);
  color: var(--cb-text);
}
