#ne_docs .ne-ui-system-gallery {
  margin: 0;
  padding: 0;
  background: #1e1e1e;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #eee;
}

#ne_docs .ne-ui-system-gallery--docs {
  min-height: calc(100vh - 300px);
}

#ne_docs .ne-ui-demo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2px;
  /* padding: 10px; */
  background: #1e1e1e;
}

#ne_docs .ne-ui-auto-refresh-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  color: #b8b8b8;
  font-size: 12px;
  cursor: pointer;
}

#ne_docs .ne-ui-auto-refresh-toggle.is-active,
#ne_docs .ne-ui-auto-refresh-toggle.ne-ui-button.is-secondary.is-active {
  background: #243124;
  border-color: #415741;
  color: #a9d9a9;
}

#ne_docs .ne-ui-demo-card {
  background: #262626;
  /* border: 1px solid #3a3a3a; */
  min-width: 0;
}

#ne_docs .ne-ui-span-4 {
  grid-column: span 4;
}

#ne_docs .ne-ui-span-6 {
  grid-column: span 6;
}

#ne_docs .ne-ui-span-12 {
  grid-column: span 12;
}

#ne_docs .ne-ui-demo-header {
  background: #383636;
  font-size: 11px;
  color: #aaa;
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#ne_docs .ne-ui-demo-body {
  padding: 4px;
}

#ne_docs .ne-ui-demo-cell {
  border-top: 1px solid #3a3a3a;
  padding: 12px 6px;
}

#ne_docs .ne-ui-demo-cell--first {
  border-top: 0;
}

#ne_docs .ne-ui-demo-label {
  font-size: 10px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 9px;
}

#ne_docs .ne-ui-demo-value {
  font-size: 33px;
  line-height: 1.6;
  color: #eee;
}

#ne_docs .ne-ui-demo-btn {
  display: inline-block;
  background: #f5a623;
  color: #111;
  padding: 6px 10px;
  font-weight: 600;
  font-size: 12px;
}

#ne_docs .ne-ui-demo-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#ne_docs .ne-ui-demo-metric {
  /* border: 1px solid #3a3a3a; */
  padding: 16px;
  background: #2a2a2a;
}

#ne_docs .ne-ui-demo-kpi-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 0 0 6px;
}

#ne_docs .ne-ui-demo-small {
  font-size: 12px;
  color: #aaa;
}

#ne_docs .ne-ui-demo-status {
  display: inline-block;
  font-size: 10px;
  padding: 2px 6px;
  border: 1px solid #3a3a3a;
  color: #eee;
  background: #383838;
  text-transform: uppercase;
}

#ne_docs .ne-ui-demo-status--live {
  color: #111;
  background: #f5a623;
  border-color: #f5a623;
}

#ne_docs .ne-ui-demo-status--warn {
  background: #4a3920;
  color: #f8c56a;
  border-color: #6b4e1f;
}

#ne_docs .ne-ui-demo-status--ok {
  background: #2d3a2d;
  color: #9ed39e;
  border-color: #415741;
}

#ne_docs .ne-ui-demo-table-head,
#ne_docs .ne-ui-demo-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  align-items: center;
}

#ne_docs .ne-ui-demo-table-head {
  padding: 6px;
  font-size: 10px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#ne_docs .ne-ui-demo-table-row {
  border-top: 1px solid #3a3a3a;
  padding: 8px;
  font-size: 12px;
}

#ne_docs .ne-ui-demo-table-head--ops,
#ne_docs .ne-ui-demo-table-row--ops {
  grid-template-columns: 2fr 1fr 1fr auto;
}

#ne_docs .ne-ui-demo-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#ne_docs .ne-ui-demo-list li {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr auto;
  gap: 8px;
  align-items: center;
  border-top: 1px solid #3a3a3a;
  padding: 8px;
  font-size: 12px;
}

#ne_docs .ne-ui-demo-actions {
  display: flex;
  justify-content: flex-end;
}

#ne_docs .ne-ui-page-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  margin: 0;
  background: #141414;
  border-top: 1px solid #2e2e2e;
  border-bottom: 1px solid #2e2e2e;
}

#ne_docs .ne-ui-page-header__main h2 {
  margin: 4px 0 6px;
  color: #f5f5f5;
  font-size: 22px;
  line-height: 1.15;
}

#ne_docs .ne-ui-page-header__main p,
#ne_docs .ne-ui-card__title-description,
#ne_docs .ne-ui-muted {
  color: #b8b8b8;
}

#ne_docs .ne-ui-page-header__eyebrow {
  color: #f3a83c;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#ne_docs .ne-ui-page-header__aside {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#ne_docs .ne-ui-pill,
#ne_docs .ne-ui-chip,
#ne_docs .ne-ui-button,
#ne_docs .ne-ui-kebab,
#ne_docs .ne-ui-field__fake-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  min-height: 28px;
}

#ne_docs .ne-ui-pill {
  padding: 0 10px;
  font-size: 11px;
  font-weight: 600;
  background: #2e2e2e;
  color: #f0f0f0;
  border: 1px solid #444444;
}

#ne_docs .ne-ui-pill.tone-warning {
  background: rgba(243, 168, 60, 0.16);
  color: #f3c27d;
  border-color: rgba(243, 168, 60, 0.4);
}

#ne_docs .ne-ui-pill.tone-success {
  background: rgba(89, 177, 120, 0.16);
  color: #9fd9b3;
  border-color: rgba(89, 177, 120, 0.32);
}

#ne_docs .ne-ui-pill.tone-danger {
  background: rgba(201, 92, 92, 0.16);
  color: #e4aaaa;
  border-color: rgba(201, 92, 92, 0.32);
}

#ne_docs .ne-ui-button,
#ne_docs .ne-ui-chip {
  padding: 0 10px;
  border: 1px solid #444444;
  color: #c9c9c9;
  font-size: 11px;
  background: #2e2e2e;
}

#ne_docs .ne-ui-button.is-primary {
  background: #f3a83c;
  border-color: #f3a83c;
  color: #1c1c1c;
}

#ne_docs .ne-ui-button.is-secondary,
#ne_docs .ne-ui-chip.is-active {
  background: #383636;
  border-color: #555555;
  color: #ffffff;
}

#ne_docs .ne-ui-button.is-ghost {
  background: transparent;
}

#ne_docs .ne-ui-button--danger {
  background: #4a2424;
  border-color: #6b3232;
  color: #f0c2c2;
}

#ne_docs .ne-ui-filter-bar {
  display: grid;
  grid-template-columns: 1.4fr 2fr auto;
  gap: 10px;
  margin: 0;
  padding: 12px 18px;
  background: #262626;
  border-bottom: 1px solid #333333;
}

#ne_docs .ne-ui-filter-bar__search input,
#ne_docs .ne-ui-field input,
#ne_docs .ne-ui-field textarea {
  width: 100%;
  background: #202020;
  border: 1px solid #3a3a3a;
  border-radius: 2px;
  color: #efefef;
  padding: 9px 11px;
  font-size: 12px;
}

#ne_docs .ne-ui-filter-bar__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#ne_docs .ne-ui-system-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 18px 20px;
  background: #111111;
}

#ne_docs .ne-ui-card {
  background: #1a1a1a;
  border: 1px solid #303030;
  border-radius: 2px;
  overflow: hidden;
}

#ne_docs .ne-ui-card__header,
#ne_docs .ne-ui-card__body {
  padding: 8px 19px 24px;
}

#ne_docs .ne-ui-card__header {
  /* border-bottom: 1px solid #2b2b2b; */
  /* background: #181818; */
  padding: 0px 0 0;
}

#ne_docs .ne-ui-card__title-row {
  display: block;
}

#ne_docs .ne-ui-card__header h3 {
  margin: 0;
  color: #f2f2f2;
  font-size: 18px;
}

#ne_docs .ne-ui-card__title-description {
  display: inline;
  margin-left: 10px;
  color: #b8b8b8;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

#ne_docs .ne-ui-color-group {
  margin: 0 0 18px;
}

#ne_docs .ne-ui-color-group:last-child {
  margin-bottom: 0;
}

#ne_docs .ne-ui-color-group__title {
  margin: 0 0 10px;
  color: #f3a83c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#ne_docs .ne-ui-table-wrap {
  overflow-x: auto;
}

#ne_docs .ne-ui-table {
  width: 100%;
  border-collapse: collapse;
  background: #262626;
}

#ne_docs .ne-ui-table th,
#ne_docs .ne-ui-table td {
  padding: 9px 8px;
  /* border-bottom: 1px solid #2b2b2b; */
  text-align: left;
  color: #e6e6e6;
  font-size: 12px;
}

#ne_docs .ne-ui-table--colors td strong,
#ne_docs .ne-ui-table--registry td strong {
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
}

#ne_docs .ne-ui-table th {
  font-size: 11px;
  color: #a8a8a8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #383636;
}

#ne_docs .ne-ui-kebab {
  width: 28px;
  background: #262626;
  border: 1px solid #3a3a3a;
  color: #cfcfcf;
}

#ne_docs .ne-ui-meta-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: #262626;
  padding: 16px;
}

#ne_docs .ne-ui-meta-list__item {
  padding: 18px;
  border-radius: 2px;
  background: #202020;
  border: 1px solid #303030;
}

#ne_docs .ne-ui-meta-list__item .label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  color: #a8a8a8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#ne_docs .ne-ui-form-fields {
  display: grid;
  gap: 12px;
  background: #262626;
  padding: 20px;
}

#ne_docs .ne-ui-field {
  display: grid;
  gap: 8px;
  color: #f0f0f0;
}

#ne_docs .ne-ui-field textarea {
  min-height: 120px;
  resize: vertical;
}

#ne_docs .ne-ui-field__fake-select {
  justify-content: flex-start;
  padding: 0 14px;
  background: #202020;
  border: 1px solid #3f3f3f;
  color: #efefef;
}

#ne_docs .ne-ui-sticky-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #2b2b2b;
  flex-wrap: wrap;
}

#ne_docs .ne-ui-status-radios {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#ne_docs .ne-ui-empty-state {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #202020;
  border: 1px solid #303030;
  color: #d7d7d7;
}

#ne_docs .ne-ui-empty-state span {
  color: #a8a8a8;
  font-size: 12px;
}

#ne_docs .ne-ui-alert-stack {
  display: grid;
  gap: 8px;
}

#ne_docs .ne-ui-alert {
  padding: 10px 12px;
  background: #202020;
  border: 1px solid #3a3a3a;
  color: #d8d8d8;
  font-size: 12px;
}

#ne_docs .ne-ui-alert.tone-success {
  background: #243124;
  border-color: #415741;
  color: #a9d9a9;
}

#ne_docs .ne-ui-alert.tone-warning {
  background: #3a2e1d;
  border-color: #6b4e1f;
  color: #f3c27d;
}

#ne_docs .ne-ui-alert.tone-danger {
  background: #3d2424;
  border-color: #6b3232;
  color: #e4aaaa;
}

#ne_docs .ne-ui-color-swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  vertical-align: middle;
}

#ne_docs .ne-ui-icons-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 1px;
}

#ne_docs .ne-ui-icon-card {
  display: grid;
  gap: 4px;
  padding: 8px;
  background: #202020;
  /* border: 1px solid #303030; */
  min-width: 0;
}

#ne_docs .ne-ui-icon-card strong {
  font-size: 11px;
  color: #f0f0f04d;
  line-height: 1.1;
}

#ne_docs .ne-ui-icon-card span {
  font-size: 9px;
  color: #a8a8a852;
  line-height: 1.15;
}

#ne_docs .ne-ui-icon-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #262626;
  /* border: 1px solid #3a3a3a; */
  padding: 8px;
}

#ne_docs .ne-ui-icon-preview img {
  display: block;
  max-width: 100%;
  max-height: 24px;
  object-fit: contain;
}

@media (max-width: 980px) {
  #ne_docs .ne-ui-demo-grid {
    grid-template-columns: 1fr;
  }

  #ne_docs .ne-ui-span-4,
  #ne_docs .ne-ui-span-6,
  #ne_docs .ne-ui-span-12 {
    grid-column: span 1;
  }

  #ne_docs .ne-ui-demo-metric-grid,
  #ne_docs .ne-ui-demo-table-head,
  #ne_docs .ne-ui-demo-table-row,
  #ne_docs .ne-ui-demo-list li,
  #ne_docs .ne-ui-demo-table-head--ops,
  #ne_docs .ne-ui-demo-table-row--ops,
  #ne_docs .ne-ui-filter-bar,
  #ne_docs .ne-ui-meta-list,
  #ne_docs .ne-ui-icons-grid {
    grid-template-columns: 1fr;
  }

  #ne_docs .ne-ui-page-header {
    display: grid;
  }
}
