:root {
  --blue: #0084FF;
  --green: #22c55e;
  --red: #ef4444;
  --ink: #111318;
  --bg: #f5f7fa;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 20px;
  line-height: 1.5;
}
.wrap { max-width: 480px; margin: 0 auto; padding: 16px; }
nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
nav a {
  flex: 1 1 auto;
  text-align: center;
  padding: 10px 8px;
  background: white;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
h1 { font-size: 28px; margin: 8px 0 20px; }
h2 { font-size: 22px; color: var(--blue); margin: 24px 0 8px; }
.card {
  background: white;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.appt-line { font-size: 19px; margin-bottom: 6px; }
.appt-flag { color: var(--red); font-weight: 600; }
button, .btn {
  display: block;
  width: 100%;
  font-size: 22px;
  padding: 18px;
  border: none;
  border-radius: 14px;
  background: var(--blue);
  color: white;
  text-align: center;
  text-decoration: none;
  margin-top: 14px;
  cursor: pointer;
}
button.green, .btn.green { background: var(--green); }
button.red, .btn.red { background: var(--red); }
input[type=text], input[type=password], input[type=date], input[type=file], textarea, select {
  width: 100%;
  font-size: 20px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
}
label { font-weight: 600; display: block; margin-top: 10px; }
.flash {
  background: #fff3cd;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 18px;
}
.muted { color: #666; font-size: 16px; }
.patient-choice { display: flex; gap: 10px; }
.patient-choice button { flex: 1; }
form.delete-form { margin-top: 0; }
