:root {
  color-scheme: light;
  --abc-ink: #14251c;
  --abc-muted: #65746a;
  --abc-line: #e4ebe5;
  --abc-bg: #f8faf7;
  --abc-green: #087b49;
  --abc-green-dark: #0d9156;
  --abc-soft: #edf6ef;
}

* { -webkit-font-smoothing: antialiased; }
body {
  color: var(--abc-ink) !important;
  background: var(--abc-bg) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: -.018em;
}
.card {
  border: 1px solid var(--abc-line) !important;
  border-radius: 20px !important;
  box-shadow: 0 5px 20px rgba(25, 52, 34, .045) !important;
}
.btn-primary {
  background: var(--abc-green) !important;
  box-shadow: 0 8px 20px rgba(8, 123, 73, .16) !important;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn-primary:hover { background: var(--abc-green-dark) !important; transform: translateY(-1px); }
.muted { color: var(--abc-muted) !important; }
.status-message { padding: .75rem 1rem; border-radius: 12px; background: #edf7f0; color: #24573a; font-size: .875rem; }
input, button, a { -webkit-tap-highlight-color: transparent; }
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(8, 123, 73, .3);
  outline-offset: 2px;
}
button, a { touch-action: manipulation; }
.avatar-choice {
  aspect-ratio: 1;
  padding: .25rem;
  border: 2px solid var(--abc-line);
  border-radius: 1rem;
  background: #fff;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.avatar-choice:hover { border-color: #9bd8b6; transform: translateY(-1px); }
.avatar-choice-selected { border-color: var(--abc-green); background: var(--abc-soft); box-shadow: 0 0 0 2px rgba(8,123,73,.12); }
.avatar-choice:disabled { cursor: wait; opacity: .65; }
.profile-error { background: #fff1f0; color: #9f2f2a; }
button:disabled { cursor: not-allowed; opacity: .65; }
@media (max-width: 640px) {
  main { padding-left: 1rem !important; padding-right: 1rem !important; }
  .card { border-radius: 18px !important; }
  table { min-width: 600px; }
}
