/* Page-specific fine-tuning */
.section-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 14px;
  letter-spacing: 0.01em;
}
.section-title:first-child { margin-top: 0; }

.empty-state {
  text-align: center; padding: 40px 20px;
  color: var(--text-secondary); font-style: italic;
}

.flow-diagram {
  display: flex; align-items: stretch; gap: 4px;
  height: 220px; padding: 12px 0;
}
.flow-col {
  flex: 1; display: flex; flex-direction: column; gap: 4px;
  justify-content: stretch;
}
.flow-step {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  display: flex; flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.flow-step .fs-label {
  color: var(--g); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.flow-step .fs-pct { color: var(--text-secondary); font-size: 10px; }

/* Login page */
.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--g) 0%, #1a2c22 100%);
  padding: 20px;
}
.login-card {
  background: var(--c);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%; max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.login-card .brand {
  text-align: center; margin-bottom: 28px;
}
.login-card .brand img { width: 60px; height: 60px; object-fit: contain; }
.login-card .brand h1 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 600;
  color: var(--g);
  margin: 12px 0 4px;
}
.login-card .brand p {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--go);
  margin: 0;
}
.login-card label {
  display: block;
  font-size: 12px;
  color: var(--t);
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.login-card input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--w);
  color: var(--g);
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 16px;
  transition: border-color .15s;
}
.login-card input:focus {
  outline: none; border-color: var(--go);
}
.login-card .btn { width: 100%; padding: 12px; font-size: 14px; }
.login-error {
  color: var(--danger); font-size: 12px; margin-bottom: 12px;
  display: none;
}
.login-error.show { display: block; }
