:root {
  color-scheme: light;
  --tzl-ink: #203047;
  --tzl-muted: #63738a;
  --tzl-brand: #3867d6;
  --tzl-surface: #f4f7fb;
}

body {
  min-height: 100vh;
  background: var(--tzl-surface);
  color: var(--tzl-ink);
}

.navbar-brand img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.page-shell {
  max-width: 46rem;
}

.page-shell-wide {
  max-width: 65rem;
}

.main-card,
.status-card,
.code-card {
  border: 1px solid #e3e9f2;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.75rem rgb(32 48 71 / 6%);
}

.main-card {
  max-width: 38rem;
}

.brand-muted,
.form-text {
  color: var(--tzl-muted);
}

.code-input {
  letter-spacing: 0.08em;
}

.message-counter {
  text-align: right;
  color: var(--tzl-muted);
  font-variant-numeric: tabular-nums;
}

.message-counter.is-over-limit {
  color: var(--bs-danger);
}

.dashboard-header {
  gap: 1rem;
}

.plan-badge {
  text-transform: capitalize;
}

.code-value {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.message-entry {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.reply-message {
  border-left: 0.25rem solid #dbe5f5;
}

.reply-message.is-latest {
  border-left-color: var(--tzl-brand);
}

.page-footer {
  color: var(--tzl-muted);
}

@media (max-width: 575.98px) {
  .dashboard-header {
    align-items: flex-start !important;
  }

  .dashboard-header .btn {
    white-space: nowrap;
  }
}
