body {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 10pt;
  background: #f2f4f7;
}

.container-fluid {
  max-width: 1600px;
}

.card {
  border-radius: 0.4rem;
  border: 1px solid #d9dee7;
  box-shadow: 0 0.15rem 0.5rem rgba(15, 23, 42, 0.05);
}

.panel-flow {
  column-count: 2;
  column-gap: 1rem;
}

.panel-flow-item {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
}

.card-header {
  font-weight: 600;
  padding: 0;
}

.panel-toggle {
  width: 100%;
  padding: 0.65rem 0.85rem;
  text-align: left;
  color: inherit;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font: inherit;
}

.panel-toggle:hover,
.panel-toggle:focus {
  color: inherit;
  text-decoration: none;
}

.panel-toggle-icon {
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}

.panel-collapsed .panel-toggle-icon {
  transform: rotate(-90deg);
}

.table td,
.table th,
.form-control,
.form-select,
.btn,
.badge {
  font-size: 0.85rem;
}

.navbar-brand {
  letter-spacing: 0.04em;
  font-weight: 700;
}

.compact-grid {
  display: grid;
  gap: 0.75rem;
}

.compact-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.table thead th {
  white-space: nowrap;
}

.stack-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-icon-square {
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .compact-grid.two,
  .compact-grid.three {
    grid-template-columns: 1fr;
  }

  .panel-flow {
    column-count: 1;
  }
}
