/* System table shortcut chips — shared across home, table viewer, and CRUD page */
.st-table-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  padding: 0.15rem 0.45rem 0.15rem 0.15rem;
  background: rgba(15, 17, 23, 0.65);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
button.st-table-chip {
  font-family: inherit;
}
.st-table-chip:hover {
  border-color: rgba(253, 186, 116, 0.45);
  background: rgba(194, 65, 12, 0.12);
  color: #ffedd5;
  text-decoration: none;
}
.st-table-chip.is-active {
  border-color: rgba(253, 186, 116, 0.55);
  background: rgba(194, 65, 12, 0.22);
}
.st-table-chip-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.25rem;
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.st-table-chip-label {
  padding-right: 0.25rem;
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.st-table-chip.st-table-chip--icon-only {
  padding: 0.12rem;
  gap: 0;
  border-radius: 10px;
}
.st-table-chip.st-table-chip--icon-only .st-table-chip-inner {
  min-width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
}
.st-icon-color-0 .st-table-chip-inner { background: linear-gradient(145deg, rgba(194, 65, 12, 0.45), rgba(22, 26, 36, 0.95)); color: #ffedd5; }
.st-icon-color-1 .st-table-chip-inner { background: linear-gradient(145deg, rgba(99, 102, 241, 0.45), rgba(22, 26, 36, 0.95)); color: #e0e7ff; }
.st-icon-color-2 .st-table-chip-inner { background: linear-gradient(145deg, rgba(34, 197, 94, 0.4), rgba(22, 26, 36, 0.95)); color: #dcfce7; }
.st-icon-color-3 .st-table-chip-inner { background: linear-gradient(145deg, rgba(6, 182, 212, 0.4), rgba(22, 26, 36, 0.95)); color: #cffafe; }
.st-icon-color-4 .st-table-chip-inner { background: linear-gradient(145deg, rgba(168, 85, 247, 0.4), rgba(22, 26, 36, 0.95)); color: #f3e8ff; }
.st-icon-color-5 .st-table-chip-inner { background: linear-gradient(145deg, rgba(245, 158, 11, 0.42), rgba(22, 26, 36, 0.95)); color: #fef3c7; }
.st-icon-color-6 .st-table-chip-inner { background: linear-gradient(145deg, rgba(236, 72, 153, 0.38), rgba(22, 26, 36, 0.95)); color: #fce7f3; }
.st-icon-color-7 .st-table-chip-inner { background: linear-gradient(145deg, rgba(20, 184, 166, 0.4), rgba(22, 26, 36, 0.95)); color: #ccfbf1; }

.st-home-tables-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(45, 49, 66, 0.85);
  border-radius: 12px;
  background: rgba(22, 26, 36, 0.55);
}
.st-home-tables-strip-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.15rem;
}
.tv-quick-launch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--card-border, #2d3142);
  border-radius: 10px;
  background: rgba(18, 21, 30, 0.75);
}
.tv-quick-launch-label {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-right: 0.25rem;
}

.home-tree-toolbar .home-tree-sys-tables {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  max-width: 42%;
}
