:root {
  --brand-accent: #4f46e5;
}

body {
  min-height: 100vh;
}

.navbar-brand i {
  color: var(--brand-accent);
}

main {
  min-height: calc(100vh - 190px);
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.stat-card .stat-icon {
  font-size: 1.6rem;
  color: var(--brand-accent);
  opacity: .85;
}

.chart-box {
  position: relative;
  width: 100%;
  height: 260px;
}

.chart-box canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-secondary-color);
  font-size: .9rem;
}

.login-wrap {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-card {
  width: 100%;
  max-width: 380px;
}

.login-logo {
  font-size: 2.2rem;
  color: var(--brand-accent);
}

code.key {
  word-break: break-all;
}

.table td {
  vertical-align: middle;
}

.hash-cell {
  font-family: var(--bs-font-monospace);
  font-size: .78rem;
}

.filter-form .form-select,
.filter-form .form-control {
  min-width: 9rem;
}

.changelog-text {
  max-width: 320px;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-doc {
  max-height: 460px;
  overflow: auto;
  padding: 1rem 1.25rem;
  font-size: .78rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-prompt {
  font-size: .82rem;
  line-height: 1.55;
  resize: vertical;
}

footer a {
  text-decoration: none;
}

@media (max-width: 576px) {
  .changelog-text {
    max-width: 200px;
  }
}
