* { box-sizing: border-box; }
body {
  font-family: system-ui, sans-serif;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  color: #1a1a2e;
  background: #fafafa;
}
nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 2px solid #e0e0e8;
  margin-bottom: 1.5rem;
}
nav .brand { font-weight: 700; margin-right: auto; }
nav a { color: #2c4a9e; text-decoration: none; }
nav a.active { font-weight: 700; text-decoration: underline; }
nav button { margin-left: 0.5rem; }
h1 { font-size: 1.5rem; }
form.card, .card {
  background: #fff;
  border: 1px solid #e0e0e8;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
label { display: block; margin: 0.75rem 0 0.25rem; font-weight: 600; font-size: 0.92rem; }
input[type="email"], input[type="password"], input[type="text"], input[type="number"], input[type="date"], select {
  width: 100%;
  max-width: 24rem;
  padding: 0.5rem;
  border: 1px solid #c5c5d2;
  border-radius: 5px;
  font-size: 1rem;
  background: #fff;
}
.checkbox-row { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0.6rem 0; }
.checkbox-row input { margin-top: 0.2rem; }
.checkbox-row label { margin: 0; font-weight: 500; }
.hint { color: #666; font-size: 0.85rem; margin: 0.15rem 0 0; }
button {
  background: #2c4a9e;
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 1rem;
}
button.secondary { background: #eef0f6; color: #2c4a9e; }
.error { color: #b00020; margin-top: 0.75rem; }
.success { color: #1a7a2e; margin-top: 0.75rem; }
.disclaimer {
  background: #fff7e0;
  border: 1px solid #e6c200;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin-top: 2rem;
}
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid #eee; font-size: 0.92rem; }
th { background: #f0f1f6; }
.tag { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 10px; font-size: 0.8rem; background: #eef0f6; color: #2c4a9e; white-space: nowrap; }
.warn-tag { background: #fff0f0; color: #b00020; }
button.danger { background: #b00020; }
footer.legal {
  margin-top: 2.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e0e0e8;
  font-size: 0.8rem;
  color: #666;
}
footer.legal a { color: #2c4a9e; }
