/**
 * Grid View Styles - Стили для режима таблицы
 * Полное соответствие Ninox Design System
 */

/* Grid View контейнер */
#record-grid {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: auto;
  overflow: hidden;
  background: #FFFFFF;
}

#record-grid.hidden {
  display: none;
}

/* Grid Header */
.grid-header {
  display: grid;
  grid-template-columns: 40px minmax(200px, 1fr) repeat(auto-fit, minmax(120px, auto));
  background: #F7F7FB;
  border-bottom: 2px solid #E0E0E0;
  position: sticky;
  top: 0;
  z-index: 10;
  font-weight: 600;
  font-size: 14px;
  color: #140E14;
  transition: background-color 0.15s ease;
}

.grid-header .grid-cell {
  padding: 12px 16px;
  border-right: 1px solid #E0E0E0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  position: relative;
  user-select: none;
}

.grid-header .grid-cell:hover {
  background: #F1F1F1;
}

.grid-header .grid-cell:last-child {
  border-right: none;
}

/* Column header content */
.column-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.column-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Column resizer */
.column-resizer {
  width: 8px;
  height: 24px;
  cursor: col-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s ease;
  margin-right: -4px;
}

.column-resizer::after {
  content: '';
  width: 1px;
  height: 16px;
  background: #cbd5e1;
}

.grid-header .grid-cell:hover .column-resizer {
  opacity: 1;
}

.column-resizer:hover::after {
  background: #6f86cf;
  width: 2px;
}

/* Grid Rows */
.grid-rows {
  flex: 1;
  overflow: auto;
}

.grid-row {
  display: grid;
  grid-template-columns: 40px minmax(200px, 1fr) repeat(auto-fit, minmax(120px, auto));
  border-bottom: 1px solid #F1F1F1;
  transition: background-color 0.15s ease;
}

#record-grid .grid-rows > .grid-row:nth-child(odd) {
  background-color: #FFFFFF;
}

#record-grid .grid-rows > .grid-row:nth-child(even) {
  background-color: #F7F7FB;
}

.grid-row:hover {
  background: rgba(28, 44, 114, 0.04);
}

.grid-row.selected {
  background: rgba(28, 44, 114, 0.08);
  border-left: 3px solid #1C2C72;
}

.grid-row .grid-cell {
  padding: 12px 16px;
  border-right: 1px solid #F1F1F1;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #140E14;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grid-row .grid-cell:last-child {
  border-right: none;
}

/* Checkbox cell */
.checkbox-cell {
  justify-content: center;
  background: #fafafa;
}

.grid-header .checkbox-cell {
  background: #f8fafc;
}

.checkbox-cell input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #6f86cf;
}

/* Title cell */
.title-cell {
  font-weight: 500;
  color: #1e293b;
}

/* Empty value */
.empty-value {
  color: #cbd5e1;
  font-style: italic;
}

/* Inline edit input */
.inline-edit-input {
  border: 2px solid #6f86cf;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: white;
  width: 100%;
}

/* Select badges */
.select-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: white;
  background: #6f86cf;
  white-space: nowrap;
}

/* Sort indicator */
.sort-indicator {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  color: #6f86cf;
}

/* Board View Styles */
.board-container {
  display: flex;
  gap: 16px;
  padding: 20px;
  height: 100%;
  overflow-x: auto;
  background: #f1f5f9;
}

.board-column {
  min-width: 300px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  background: #e2e8f0;
  border-radius: 8px;
  max-height: 100%;
}

.board-column-header {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: 8px 8px 0 0;
  border-left: 4px solid #9ca3af;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.board-column-title {
  font-weight: 600;
  font-size: 14px;
  color: #374151;
}

.board-column-count {
  background: #f3f4f6;
  color: #6b7280;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.board-column-body {
  flex: 1;
  padding: 8px;
  overflow-y: auto;
  min-height: 100px;
  transition: background-color 0.15s ease;
}

.board-column-body.drag-over {
  background: #dbeafe;
}

.board-card {
  background: white;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: grab;
  transition: all 0.15s ease;
  border: 1px solid #e5e7eb;
}

.board-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.board-card:active {
  cursor: grabbing;
}

.board-card.dragging {
  opacity: 0.5;
  transform: rotate(3deg);
}

.board-card-title {
  font-weight: 500;
  font-size: 14px;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.4;
}

.board-card-meta {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.board-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
}

.board-card-date {
  font-size: 11px;
  color: #9ca3af;
}

.board-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #9ca3af;
  font-size: 16px;
}

/* Chart View Styles */
.chart-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  background: white;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.chart-header h3 {
  margin: 0;
  font-size: 18px;
  color: #1f2937;
}

.chart-controls {
  display: flex;
  gap: 8px;
}

.chart-type-button {
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #6b7280;
}

.chart-type-button:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.chart-type-button.active {
  background: #6f86cf;
  color: white;
  border-color: #6f86cf;
}

.chart-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: #f9fafb;
  border-radius: 8px;
  padding: 20px;
}

#main-chart {
  max-width: 100%;
  max-height: 100%;
}

/* Active toolbar button */
.toolbar-icon-button.active {
  background: #eef3ff;
  border-color: #6f86cf;
}

.toolbar-icon-button.active svg {
  stroke: #6f86cf;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .board-container {
    padding: 12px;
    gap: 12px;
  }

  .board-column {
    min-width: 260px;
    max-width: 260px;
  }

  .grid-header,
  .grid-row {
    grid-template-columns: 35px minmax(150px, 1fr);
  }

  .grid-header .grid-cell:not(:first-child):not(:nth-child(2)),
  .grid-row .grid-cell:not(:first-child):not(:nth-child(2)) {
    display: none;
  }
}

/* Dark theme support */
body.dark-theme .grid-header {
  background: #1e293b;
  border-bottom-color: #334155;
}

body.dark-theme .grid-header .grid-cell {
  border-right-color: #334155;
  color: #94a3b8;
}

body.dark-theme .grid-header .grid-cell:hover {
  background: #334155;
}

body.dark-theme .grid-row {
  border-bottom-color: #1e293b;
}

body.dark-theme .grid-row:hover {
  background: #1e293b;
}

body.dark-theme .grid-row.selected {
  background: #1e3a5f;
  border-left-color: #6f86cf;
}

body.dark-theme .grid-row .grid-cell {
  border-right-color: #1e293b;
  color: #e2e8f0;
}

body.dark-theme .checkbox-cell {
  background: #0f172a;
}

body.dark-theme .board-column {
  background: #1e293b;
}

body.dark-theme .board-column-header {
  background: #334155;
}

body.dark-theme .board-column-title {
  color: #e2e8f0;
}

body.dark-theme .board-column-count {
  background: #475569;
  color: #e2e8f0;
}

body.dark-theme .board-card {
  background: #334155;
  border-color: #475569;
}

body.dark-theme .board-card-title {
  color: #f1f5f9;
}

body.dark-theme .board-card-meta {
  color: #94a3b8;
}

body.dark-theme .board-card-footer {
  border-top-color: #475569;
}

body.dark-theme .board-column-body.drag-over {
  background: #1e3a5f;
}

/* Calendar View Styles */
.calendar-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-nav-btn {
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  color: #6b7280;
  font-size: 13px;
}

.calendar-nav-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.calendar-nav-btn svg {
  width: 16px;
  height: 16px;
}

.calendar-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  min-width: 200px;
  text-align: center;
}

.calendar-view-switcher {
  display: flex;
  gap: 4px;
  background: #e5e7eb;
  padding: 3px;
  border-radius: 6px;
}

.calendar-view-switcher .view-btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #6b7280;
}

.calendar-view-switcher .view-btn:hover {
  color: #374151;
}

.calendar-view-switcher .view-btn.active {
  background: white;
  color: #1f2937;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.calendar-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.calendar-weekdays .weekday {
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
}

.calendar-days {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 1fr;
  overflow: auto;
}

.calendar-day {
  border-right: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  padding: 8px;
  min-height: 100px;
  transition: background-color 0.15s ease;
  cursor: pointer;
}

.calendar-day:hover {
  background: #f9fafb;
}

.calendar-day.other-month {
  background: #fafafa;
}

.calendar-day.other-month .day-number {
  color: #d1d5db;
}

.calendar-day.today {
  background: #eff6ff;
}

.calendar-day.today .day-number {
  background: #6f86cf;
  color: white;
}

.day-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.day-records {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-record {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #1f2937;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid transparent;
}

.calendar-record:hover {
  transform: translateX(2px);
  border-color: rgba(0, 0, 0, 0.1);
}

.calendar-more {
  font-size: 11px;
  color: #6b7280;
  padding: 4px 8px;
  cursor: pointer;
}

.calendar-more:hover {
  color: #374151;
}

.calendar-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #9ca3af;
  font-size: 16px;
}

/* Calendar dark theme */
body.dark-theme .calendar-header {
  background: #1e293b;
  border-bottom-color: #334155;
}

body.dark-theme .calendar-title {
  color: #f1f5f9;
}

body.dark-theme .calendar-nav-btn {
  background: #334155;
  border-color: #475569;
  color: #e2e8f0;
}

body.dark-theme .calendar-nav-btn:hover {
  background: #475569;
}

body.dark-theme .calendar-view-switcher {
  background: #334155;
}

body.dark-theme .calendar-view-switcher .view-btn {
  color: #94a3b8;
}

body.dark-theme .calendar-view-switcher .view-btn.active {
  background: #475569;
  color: #f1f5f9;
}

body.dark-theme .calendar-weekdays {
  background: #1e293b;
  border-bottom-color: #334155;
}

body.dark-theme .calendar-weekdays .weekday {
  color: #94a3b8;
}

body.dark-theme .calendar-day {
  border-right-color: #1e293b;
  border-bottom-color: #1e293b;
}

body.dark-theme .calendar-day:hover {
  background: #1e293b;
}

body.dark-theme .calendar-day.other-month {
  background: #0f172a;
}

body.dark-theme .calendar-day.today {
  background: #1e3a5f;
}

body.dark-theme .day-number {
  color: #e2e8f0;
}

body.dark-theme .calendar-record {
  color: #f1f5f9;
}

/* Command Palette Styles */
.command-palette-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.command-palette-overlay.hidden {
  display: none;
}

.command-palette {
  width: 100%;
  max-width: 560px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin: 0 20px;
}

.command-palette-input {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  gap: 12px;
}

.command-palette-input .search-icon {
  color: #9ca3af;
  flex-shrink: 0;
}

.command-palette-input input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #1f2937;
}

.command-palette-input input::placeholder {
  color: #9ca3af;
}

.shortcut-hint {
  font-size: 12px;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
}

.command-palette-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 8px 0;
}

.command-category {
  margin-bottom: 8px;
}

.category-label {
  padding: 8px 20px 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #9ca3af;
  letter-spacing: 0.05em;
}

.category-commands {
  display: flex;
  flex-direction: column;
}

.command-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.command-item:hover,
.command-item.selected {
  background: #f3f4f6;
}

.command-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.command-content {
  flex: 1;
  min-width: 0;
}

.command-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 2px;
}

.command-description {
  display: block;
  font-size: 12px;
  color: #6b7280;
}

.command-title mark {
  background: #fef3c7;
  color: #92400e;
  padding: 0 2px;
  border-radius: 2px;
}

.command-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #9ca3af;
}

.empty-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.command-empty p {
  margin: 0;
  font-size: 14px;
}

/* Command Palette dark theme */
body.dark-theme .command-palette {
  background: #1e293b;
}

body.dark-theme .command-palette-input {
  border-bottom-color: #334155;
}

body.dark-theme .command-palette-input input {
  color: #f1f5f9;
}

body.dark-theme .command-palette-input input::placeholder {
  color: #6b7280;
}

body.dark-theme .shortcut-hint {
  background: #334155;
  color: #94a3b8;
}

body.dark-theme .command-item:hover,
body.dark-theme .command-item.selected {
  background: #334155;
}

body.dark-theme .category-label {
  color: #6b7280;
}

body.dark-theme .command-title {
  color: #f1f5f9;
}

body.dark-theme .command-description {
  color: #94a3b8;
}

body.dark-theme .command-title mark {
  background: #422006;
  color: #fcd34d;
}

/* Formula Editor Styles */
.formula-editor {
  background: white;
  border-radius: 8px;
  padding: 20px;
  max-width: 700px;
}

.formula-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.formula-editor-header h4 {
  margin: 0;
  font-size: 16px;
  color: #1f2937;
}

.formula-help-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #6f86cf;
  color: white;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formula-input-container {
  margin-bottom: 20px;
}

.formula-input {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.15s ease;
}

.formula-input:focus {
  outline: none;
  border-color: #6f86cf;
}

.formula-result {
  margin-top: 8px;
  padding: 8px 12px;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 13px;
  color: #6b7280;
}

.formula-functions-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.function-category h5 {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  color: #9ca3af;
  letter-spacing: 0.05em;
}

.function-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.function-btn {
  padding: 6px 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}

.function-btn:hover {
  background: #eef3ff;
  border-color: #6f86cf;
  color: #6f86cf;
}

.formula-fields-picker {
  margin-bottom: 20px;
}

.formula-fields-picker h5 {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  color: #9ca3af;
  letter-spacing: 0.05em;
}

.fields-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.field-btn {
  padding: 6px 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  font-size: 12px;
  color: #1e40af;
  cursor: pointer;
  transition: all 0.15s ease;
}

.field-btn:hover {
  background: #dbeafe;
  border-color: #6f86cf;
}

.formula-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.formula-cancel-btn {
  padding: 8px 16px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

.formula-cancel-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.formula-help {
  background: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
}

.formula-help h3 {
  margin: 0 0 20px;
  font-size: 18px;
  color: #1f2937;
}

.help-section {
  margin-bottom: 20px;
}

.help-section h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #374151;
}

.help-section p {
  margin: 0 0 8px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.help-section code {
  display: block;
  background: #f3f4f6;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 12px;
  color: #1f2937;
}

.help-section ul {
  margin: 0;
  padding-left: 20px;
}

.help-section li {
  margin-bottom: 6px;
  font-size: 13px;
  color: #6b7280;
}

.help-section li code {
  display: inline;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Formula dark theme */
body.dark-theme .formula-editor {
  background: #1e293b;
}

body.dark-theme .formula-editor-header h4 {
  color: #f1f5f9;
}

body.dark-theme .formula-input {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}

body.dark-theme .formula-input:focus {
  border-color: #6f86cf;
}

body.dark-theme .formula-result {
  background: #334155;
  color: #e2e8f0;
}

body.dark-theme .function-btn {
  background: #334155;
  border-color: #475569;
  color: #e2e8f0;
}

body.dark-theme .function-btn:hover {
  background: #1e3a5f;
  border-color: #6f86cf;
  color: #6f86cf;
}

body.dark-theme .field-btn {
  background: #1e3a5f;
  border-color: #3b82f6;
  color: #93c5fd;
}

body.dark-theme .field-btn:hover {
  background: #1e40af;
}

body.dark-theme .formula-actions {
  border-top-color: #334155;
}

body.dark-theme .formula-cancel-btn {
  background: #334155;
  border-color: #475569;
  color: #e2e8f0;
}

body.dark-theme .formula-cancel-btn:hover {
  background: #475569;
}

body.dark-theme .formula-help {
  background: #1e293b;
}

body.dark-theme .formula-help h3 {
  color: #f1f5f9;
}

body.dark-theme .help-section h4 {
  color: #e2e8f0;
}

body.dark-theme .help-section p {
  color: #94a3b8;
}

body.dark-theme .help-section code {
  background: #0f172a;
  color: #e2e8f0;
}

body.dark-theme .help-section li {
  color: #94a3b8;
}

body.dark-theme .help-section li code {
  background: #0f172a;
}



