body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background-color);
  color: #111827;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-color);
  color: white;
  padding: 1rem 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.card, .login-card {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
}

.wide {
  grid-column: span 2;
}

input, button {
  display: block;
  margin: .35rem 0 1rem;
  padding: .6rem;
  width: 100%;
  box-sizing: border-box;
}

button {
  background: var(--accent-color);
  color: white;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.inline {
  display: inline;
}

.inline button {
  display: inline-block;
  width: auto;
}

.lead {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-card {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  width: 360px;
}

.hidden {
  display: none;
}
