body { background: #f4f6f9; }
.sidebar { width: 230px; background: #171e2b; flex-shrink: 0; }
.sidebar .nav-link { color: #aeb8c8; padding: .45rem 1rem; font-size: .92rem; border-left: 3px solid transparent; }
.sidebar .nav-link:hover { color: #fff; background: #202a3c; }
.sidebar .nav-link.active { color: #fff; background: #202a3c; border-left-color: #3b82f6; }
.card { border: 1px solid #e3e7ee; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.table > :not(caption) > * > * { padding: .5rem .75rem; }
th { font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: #667085; }
.badge-status { font-weight: 600; }
.step-pill { font-size: .8rem; font-weight: 600; }
.stat-card .value { font-size: 1.6rem; font-weight: 700; }
.stat-card .label { font-size: .75rem; color: #667085; text-transform: uppercase; letter-spacing: .03em; }
.email-preview-frame { width: 100%; height: 460px; border: 1px solid #e3e7ee; border-radius: 6px; background: #fff; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }
.var-chip { cursor: pointer; }
.multicheck .mc-item:hover { background: #f1f5f9; }
/* CheckboxSelectMultiple rendered as a tidy grid (e.g. CID services) */
.multi-checkbox-grid > div,
.multi-checkbox-grid > ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 2px 14px;
  border: 1px solid #dee2e6; border-radius: 6px; padding: 10px 12px;
  max-height: 260px; overflow: auto; background: #fff;
}
.multi-checkbox-grid label { font-weight: 400; font-size: .9rem; margin: 0; cursor: pointer; }
.multi-checkbox-grid input[type="checkbox"] {
  margin-right: 6px; width: 1em; height: 1em; accent-color: #0d6efd; vertical-align: -1px;
}
