/* Tailwind is injected via CDN in HTML headers. Keep this file for small shared polish. */

:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 48%, #f8fafc 100%);
}

::selection {
  background: #c7d2fe;
  color: #111827;
}

.app-nav-link {
  border: 1px solid transparent;
  border-radius: 12px;
  color: #475569;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25rem;
  padding: 0.5rem 0.75rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.app-nav-link:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #1e293b;
}

.app-nav-link-active {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #3730a3;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgb(99 102 241 / 0.25);
  outline-offset: 2px;
}

table tbody tr {
  transition: background-color 140ms ease;
}

table tbody tr:hover {
  background: rgb(248 250 252 / 0.72);
}

@media (max-width: 640px) {
  .app-nav-link {
    font-size: 0.8125rem;
    padding: 0.45rem 0.65rem;
  }
}

