:root {
  --bs-body-bg: #f8f9fa;
}

.stat-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: transform .15s;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.stat-card .stat-icon {
  font-size: 2rem;
  opacity: .6;
}
.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
}

.table th {
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #6c757d;
}

.form-card {
  max-width: 640px;
}

/* Workspace tools: descriptions use full content width; cap height with scroll */
.wf-binding-description {
  width: 100%;
  max-width: 100%;
  max-height: 10rem;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* New run page: catalog description spans the main column (full width) */
.wf-run-function-description {
  width: 100%;
  max-width: 100%;
  max-height: min(40vh, 24rem);
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
}

/* Wider upload form on workspace tool run page */
.wf-run-form-card {
  max-width: min(100%, 56rem);
}

.audit-row td {
  font-size: .875rem;
}
.audit-row .badge {
  font-size: .75rem;
}
