/* KARBON-BOX AGO — Charte chaleureuse (alignée saisie.karbon-box.fr) */

:root {
  /* Couleurs primaires (alignées sur saisie — indigo) */
  --wiki-primary: #4f46e5;
  --wiki-primary-dark: #4338ca;
  /* Indigo de saisie pour les éléments d'environnement */
  --indigo-50:  #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;

  --wiki-link: #4f46e5;       /* lien = indigo saisie (au lieu de bleu Magento) */
  --wiki-link-hover: #4338ca;
  --wiki-text: #1f2937;        /* gris-bleu (slate-800), plus chaleureux que #333 */
  --wiki-text-muted: #4b5563;
  --wiki-text-faded: #6b7280;

  /* Backgrounds chaleureux (lavande très clair) */
  --wiki-bg: #ffffff;
  --wiki-bg-alt: #f5f5f5;
  --wiki-bg-faint: #fafafa;

  --wiki-border: #c7d2fe;       /* bordure teintée indigo léger */
  --wiki-border-light: #e0e7ff;
  --wiki-border-faint: #eef2ff;

  --wiki-hover-row: rgba(238, 242, 255, 0.85);  /* lavande chaud (saisie) */

  --wiki-thead: #514943;        /* gardé pour l'instant */
  --wiki-thead-border: #6b6258;
  --wiki-thead-sub: #6b5e54;

  --wiki-status-red:    #d6584f;
  --wiki-status-orange: #f47e26;
  --wiki-status-yellow: #ebc132;
  --wiki-status-green:  #36a647;
  --wiki-status-blue:   #1979c3;
  --wiki-status-gray:   #b3b3b3;

  /* Ombres teintées indigo (au lieu de noir pur) */
  --shadow-sm: 0 1px 3px rgba(99, 102, 241, 0.08);
  --shadow-md: 0 4px 12px rgba(99, 102, 241, 0.10);
  --shadow-lg: 0 8px 24px rgba(99, 102, 241, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: 'Nunito Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Mesh gradient lavande (identique saisie) */
  background:
    radial-gradient(ellipse at 20% 0%,   rgba(99, 102, 241, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    #eef2ff;
  background-attachment: fixed;
  color: var(--wiki-text);
  font-size: 12px;          /* base saisie : 12px (compact) */
  line-height: 1.4;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--wiki-link); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--wiki-link-hover); }
svg { display: inline-block; vertical-align: middle; }

/* ===== MEGA HEADER UNIFIÉ — gradient indigo cohérent avec le thead ===== */
.kb-mega-header {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.20);
  position: sticky; top: 0; z-index: 100;
  color: white;
}
.mega-row {
  max-width: 1400px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center; gap: 12px;
}
.mega-row-top {
  min-height: 40px;
  padding-top: 4px; padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mega-row-bottom {
  min-height: 36px;
  padding-top: 3px; padding-bottom: 3px;
  flex-wrap: wrap;
}
.mega-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.mega-right { display: flex; align-items: center; gap: 12px; }

.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-img {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
  color: white; display: grid; place-items: center;
  font-weight: 800; font-size: 13px;
  box-shadow: 0 2px 6px rgba(67, 56, 202, 0.40), inset 0 1px 0 rgba(255,255,255,0.2);
}
.logo-text {
  font-size: 13px; font-weight: 800; color: white;
  letter-spacing: -0.2px; line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.logo-text small {
  display: block; font-size: 8px; color: rgba(255, 255, 255, 0.7);
  font-weight: 400; letter-spacing: 0.7px; margin-top: 2px;
}

.section-divider {
  color: rgba(255, 255, 255, 0.4); font-size: 18px; font-weight: 300;
}
.section-title {
  font-size: 14px; font-weight: 700; color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.cross-nav { display: flex; gap: 4px; }
.cross-nav a {
  color: rgba(255, 255, 255, 0.85); font-size: 12px;
  padding: 5px 10px; border-radius: 5px;
  transition: all 0.12s; font-weight: 600;
}
.cross-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  text-decoration: none;
}

.vsep {
  width: 1px; height: 18px; background: rgba(255, 255, 255, 0.2);
}

.user-info {
  font-size: 12px; color: rgba(255, 255, 255, 0.85);
}
.user-info strong { color: white; font-weight: 700; }

/* ===== Sélecteur de cabinet (header top) ===== */
.cabinet-selector label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255, 255, 255, 0.85);
  font-weight: 600; cursor: pointer;
}
.cabinet-selector label svg { color: rgba(255, 255, 255, 0.7) !important; }
.cabinet-selector select {
  padding: 4px 8px; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px; background: rgba(255, 255, 255, 0.15); font-size: 12px;
  font-family: inherit; font-weight: 700; color: white;
  cursor: pointer; min-width: 130px;
  transition: all 0.12s;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
  padding-right: 24px;
}
.cabinet-selector select option { color: var(--wiki-text); background: white; }
.cabinet-selector select:hover { background: rgba(255, 255, 255, 0.25); border-color: rgba(255, 255, 255, 0.5); }
.cabinet-selector select:focus {
  outline: none; border-color: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.logout-link {
  color: rgba(255, 255, 255, 0.75); padding: 4px 6px;
  border-radius: 5px; text-decoration: none;
  display: inline-flex; align-items: center;
  transition: all 0.12s;
}
.logout-link svg { width: 14px; height: 14px; }
.logout-link:hover {
  background: rgba(255, 100, 100, 0.25);
  color: white;
  text-decoration: none;
}

/* ===== MAIN ===== */
.columns {
  max-width: 1400px; margin: 0 auto;
  padding: 16px 20px;
}
.main-content { min-width: 0; }
.status-count { display: flex; gap: 5px; }
.status-count > div {
  min-width: 42px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; color: white;
  border-radius: 3px; cursor: pointer;
  padding: 0 8px;
  transition: all 0.15s;
  border: 2px solid transparent;
}
.status-count > div:hover { opacity: 0.85; }
.status-count > div {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.status-count > div.active {
  border-color: white;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4), 0 4px 10px rgba(0, 0, 0, 0.20);
}
.status-count .default  { background: var(--wiki-status-gray); }
.status-count .opened   { background: var(--wiki-status-orange); }
.status-count .pending  { background: var(--wiki-status-blue); }
.status-count .closed   { background: var(--wiki-status-green); }
.status-count .manquant { background: var(--wiki-status-red); }

.toolbar-spacer { flex: 1; }

.year-selector {
  display: flex; align-items: center; gap: 4px;
}
.year-selector label {
  font-size: 11px; color: rgba(255, 255, 255, 0.85); font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.year-selector select {
  padding: 4px 8px; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px; background: rgba(255, 255, 255, 0.15); font-size: 12px;
  font-weight: 700; font-family: inherit; cursor: pointer;
  min-width: 64px; color: white;
  transition: all 0.12s;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
  padding-right: 24px;
}
.year-selector select option { color: var(--wiki-text); background: white; }
.year-selector select:hover { background: rgba(255, 255, 255, 0.25); border-color: rgba(255, 255, 255, 0.5); }
.year-selector select:focus {
  outline: none; border-color: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}
.year-nav {
  width: 24px; height: 24px;
  background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px; cursor: pointer;
  color: white;
  display: grid; place-items: center;
  transition: all 0.12s; padding: 0;
  font-size: 13px;
}
.year-nav svg { width: 12px; height: 12px; }
.year-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}
.year-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.year-selector select:focus { outline: none; border-color: white; }

.btn-relance {
  background: rgba(255, 255, 255, 0.15); color: white;
  padding: 5px 10px; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-weight: 600; font-size: 12px; cursor: pointer;
  font-family: inherit;
  display: inline-flex; align-items: center; gap: 5px;
  transition: all 0.15s;
}
.btn-relance svg { width: 13px; height: 13px; color: #e0e7ff; }
.btn-relance:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white; border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.btn-relance:hover svg { color: white; }
.btn-relance:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-create {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  font-weight: 700; font-size: 12px; cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  transition: all 0.15s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-create svg { width: 12px; height: 12px; }
.btn-create:hover {
  background: rgba(255, 255, 255, 0.28);
  color: white; text-decoration: none;
  border-color: white;
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

/* ===== DataTables controls ===== */
.dt-controls {
  display: flex; justify-content: space-between; align-items: center;
  margin: 8px 0; font-size: 12px;
}
.dt-length label { color: #575757; }
.dt-length select {
  padding: 3px 8px; border: 1px solid var(--indigo-200);
  border-radius: 4px; background: rgba(255,255,255,0.8); font-size: 12px;
  margin: 0 3px; cursor: pointer; font-family: inherit;
  transition: all 0.12s;
}
.dt-length select:hover { border-color: var(--indigo-400); }
.dt-length select:focus {
  outline: none; border-color: var(--indigo-600);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}
.dt-filter input {
  padding: 5px 10px; border: 1px solid var(--indigo-200);
  border-radius: 4px; font-size: 12px; width: 240px; height: 26px;
  background: rgba(255,255,255,0.8); font-family: inherit;
  transition: all 0.12s; box-sizing: border-box;
}
.dt-filter input:focus {
  outline: none; border-color: var(--indigo-600);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
  background: white;
}

/* ===== TABLE ===== */
.table-wrap {
  border: 1px solid #d1d1d1;
  overflow: auto;
  max-height: calc(100vh - 250px);
  position: relative;
}
table.ago {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  color: #333;
}
table.ago thead th {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: white;
  text-align: center;
  font-weight: 700;
  padding: 7px 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  vertical-align: middle;
  font-size: 11px;
  white-space: nowrap;
  position: sticky; top: 0; z-index: 3;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
table.ago thead th:last-child { border-right: none; }
table.ago thead th.date-column {
  padding: 7px 0 0 0;
  text-transform: none; letter-spacing: 0;
  font-size: 13px; font-weight: 700;
}
table.ago .suivi {
  width: 100%;
  border-collapse: collapse;
  margin-top: 5px;
  table-layout: fixed;
}
table.ago .suivi td {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 0;
  font-size: 11px;
  font-weight: 800;             /* extra-bold pour bien voir */
  color: #ffffff;
  text-align: center;
  background: rgba(0, 0, 0, 0.15); /* fond plus sombre pour contraste max */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.3px;
}

table.ago tbody td {
  padding: 6px 8px;
  border-right: 1px solid var(--wiki-border-light);
  border-bottom: 1px solid var(--wiki-border-light);
  vertical-align: middle;
}
table.ago tbody td:last-child { border-right: none; }
table.ago tbody tr.odd { background: var(--wiki-bg-faint); }
table.ago tbody tr.even { background: white; }
table.ago tbody tr:hover { background: var(--wiki-hover-row); }
table.ago tbody tr:hover td { transition: background-color 0.08s; }
table.ago td.sorting_1 { font-weight: 700; color: var(--wiki-text); }

/* Sticky 1ère colonne (N°) */
table.ago thead th:first-child,
table.ago tbody td:first-child {
  position: sticky; left: 0; z-index: 2;
  background: white;
}
table.ago thead th:first-child { background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%); z-index: 4; }
table.ago tbody tr.odd td:first-child { background: var(--wiki-bg-faint); }
table.ago tbody tr:hover td:first-child { background: var(--wiki-hover-row); }

/* Sticky dernière colonne (Actions) — reste visible quand on scrolle horizontal */
table.ago thead th:last-child,
table.ago tbody td:last-child {
  position: sticky; right: 0; z-index: 2;
  background: white;
  min-width: 110px;
  border-left: 2px solid var(--wiki-border);
  box-shadow: -3px 0 4px -2px rgba(0,0,0,0.08);
}
table.ago thead th:last-child { background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%); z-index: 4; }
table.ago tbody tr.odd td:last-child { background: var(--wiki-bg-faint); }
table.ago tbody tr:hover td:last-child { background: var(--wiki-hover-row); }

table.ago .bank-name {
  font-size: 12px; line-height: 1.4;
  min-width: 230px; max-width: 280px;
  white-space: nowrap;
}
table.ago .bank-name strong {
  display: block; font-weight: 600; color: var(--wiki-text);
  overflow: hidden; text-overflow: ellipsis;
  max-width: 260px;
}
table.ago .bank-name small.iban-line {
  display: block; color: #777;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: 11px; letter-spacing: 0.3px;
  margin-top: 2px;
  white-space: nowrap;        /* IBAN sur 1 ligne, jamais coupé */
  overflow: visible;
}

/* OCR / Cheque cell (legacy) */
td.ocr, td.cheque { padding: 4px !important; text-align: center; width: 32px; }
td.ocr > div, td.cheque > div {
  width: 22px; height: 22px;
  border-radius: 2px;
  margin: 0 auto;
}
td.ocr .green, td.cheque .green { background: var(--wiki-status-green); }
td.ocr .red, td.cheque .red { background: var(--wiki-status-red); }
td.ocr .gray, td.cheque .gray { background: var(--wiki-status-gray); }
td.ocr .blue, td.cheque .blue { background: var(--wiki-status-blue); }
td.ocr .orange, td.cheque .orange { background: var(--wiki-status-orange); }

/* EBICS + Chèque (nouvelles colonnes) */
th.ebics-h, th.cheque-h { width: 56px; min-width: 56px; padding: 9px 4px !important; }
td.ebics-c, td.cheque-c {
  width: 56px; min-width: 56px;
  text-align: center; padding: 6px 4px !important;
}
td.ebics-c .dot, td.cheque-c .dot {
  display: inline-block; width: 18px; height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  cursor: help;
}
.dot.gray   { background: linear-gradient(135deg, #d1d5db, #9ca3af); }
.dot.green  { background: linear-gradient(135deg, #4ade80, #16a34a); }
.dot.red    { background: linear-gradient(135deg, #f87171, #dc2626); }
.dot.blue   { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.dot.orange { background: linear-gradient(135deg, #fb923c, #ea580c); }

/* Date columns (months sub-grid) — couleurs Wikitoria */
td.date-column { padding: 0 !important; }
td.date-column table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;      /* MÊME logique que .suivi : colonnes égales */
}
td.date-column td {
  /* PAS de width = auto-distribution équitable comme .suivi */
  height: 28px;
  border: 1px solid var(--wiki-border-light) !important;
  padding: 0 !important;
  text-align: center;
  cursor: pointer;
  font-size: 9px;
  color: #555;
  position: relative;
  transition: all 0.1s;
}
td.date-column td:hover {
  filter: brightness(0.9);
  outline: 2px solid var(--wiki-text);
  outline-offset: -2px;
  z-index: 1;
}
td.date-column td.closed  { background: var(--wiki-status-green);  color: white; }
td.date-column td.opened  { background: var(--wiki-status-orange); color: white; }
td.date-column td.pending { background: var(--wiki-status-blue);   color: white; }
td.date-column td.default { background: var(--wiki-status-red);    color: white; }
td.date-column td.empty   { background: var(--wiki-bg-alt); }
td.date-column .badge {
  position: absolute; top: 1px; right: 1px;
  background: rgba(0,0,0,0.45); color: white;
  font-size: 8px; padding: 0 3px; border-radius: 2px;
  font-weight: 600;
}

/* Actions column — style Wikitoria avec SVG stroke icons */
td.action { padding: 4px !important; }
.actions { display: flex; gap: 3px; justify-content: center; }
.actions button {
  width: 28px; height: 28px;
  border: 1px solid var(--wiki-border-light);
  background: white;
  border-radius: 3px;
  cursor: pointer;
  color: var(--wiki-text-muted);
  display: grid; place-items: center;
  transition: all 0.12s ease;
  padding: 0;
}
.actions button svg {
  width: 17px; height: 17px;
  display: block;
}
.actions button:hover {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-color: #4f46e5;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(79, 70, 229, 0.32);
}
.actions button.disabled { opacity: 0.4; cursor: not-allowed; }
.actions button.disabled:hover { background: white; color: var(--wiki-text-muted); transform: none; box-shadow: none; }

/* DataTables footer */
.dt-info { font-size: 13px; color: #575757; }
.dt-paginate {
  display: flex; gap: 4px; justify-content: flex-end;
}
.dt-paginate a {
  padding: 6px 11px;
  border: 1px solid var(--indigo-200);
  background: rgba(255, 255, 255, 0.7);
  color: var(--wiki-text);
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.12s;
}
.dt-paginate a:hover {
  background: var(--indigo-50);
  border-color: var(--indigo-400);
  color: var(--indigo-700);
  text-decoration: none;
}
.dt-paginate a.current {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: white; border-color: #4338ca;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
}
.dt-paginate a.current:hover {
  background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
  color: white;
}
.dt-paginate a.disabled { opacity: 0.4; cursor: not-allowed; }
.dt-paginate a.disabled:hover { background: rgba(255,255,255,0.7); border-color: var(--indigo-200); color: var(--wiki-text); }

/* Footer */
.page-footer {
  background: #2f2f2f; color: #adadad;
  padding: 24px 0; margin-top: 40px;
  font-size: 12px;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-inner ul { display: flex; gap: 16px; list-style: none; }
.footer-inner a { color: #adadad; }
.footer-inner a:hover { color: white; }

/* Loading */
.kb-loading {
  text-align: center; padding: 60px 20px;
  color: #777; font-size: 14px;
}

/* Toast */
#kb-toast {
  position: fixed; top: 20px; right: 20px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}
.kb-toast {
  background: #333; color: white;
  padding: 12px 18px; border-radius: 4px;
  font-size: 13px; max-width: 380px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: opacity 0.3s;
}
.kb-toast.ok { background: #4caf50; }
.kb-toast.err { background: #d32f2f; }

/* Cell menu */
#kb-cell-menu {
  position: fixed; z-index: 9000;
  background: white;
  border: 1px solid #c2c2c2;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  padding: 4px 0;
  min-width: 220px;
  font-size: 13px;
}
#kb-cell-menu .menu-header {
  padding: 8px 12px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  font-size: 11px; color: #575757;
}
#kb-cell-menu .menu-header strong { color: #333; }
#kb-cell-menu button {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 8px 12px;
  background: white; border: none;
  text-align: left; cursor: pointer;
  font-size: 13px; font-family: inherit; color: #333;
}
#kb-cell-menu button:hover { background: #f5f5f5; }
#kb-cell-menu button .swatch {
  width: 12px; height: 12px; border-radius: 2px;
}
