:root {
  --navy: #10213f;
  --accent: #3fa9e0;
  --bg: #f4f6fb;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --text: #1f2937;
  --muted: #6b7280;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  padding: 16px;
}

.card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 3px solid var(--accent);
  background: #ffffff;
}

.topbar img {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

h1 { font-size: 18px; margin: 0; color: var(--navy); }
#contact-label { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

main { padding: 20px; }

h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin: 18px 0 8px; }

.people-list { list-style: none; padding: 0; margin: 0; }

.people-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.people-list li a { color: var(--accent); text-decoration: none; font-size: 13px; }

.person-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  position: relative;
}

.person-row input[type="text"] {
  flex: 1 1 160px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
}

.person-row input[type="file"] {
  flex: 1 1 100%;
  font-size: 13px;
}

.person-row .remove {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
}

.btn-secondary {
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--accent);
  background: #eef2ff;
  color: var(--accent);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
  width: 100%;
  padding: 12px;
  border: none;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.btn-primary:hover { background: #1a2d58; }

.btn-primary:disabled { opacity: .6; cursor: default; }

footer { margin-top: 18px; }

.muted { color: var(--muted); font-size: 13px; }

.status { font-size: 13px; margin-top: 10px; min-height: 18px; }
.status.ok { color: #15803d; }
.status.err { color: #dc2626; }
