:root {
  --bg: #f4f6f5;
  --surface: #ffffff;
  --text: #1c2421;
  --muted: #5f6b66;
  --primary: #128c4a;
  --primary-hover: #0e7340;
  --danger: #b3261e;
  --border: #dde3e0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); }

.center { display: grid; place-items: center; min-height: 100vh; padding: 16px; }

.card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

h1 { font-size: 1.35rem; margin: 0 0 4px; }
.subtitle { color: var(--muted); margin: 0 0 24px; font-size: 0.95rem; }

label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 16px;
}
input:focus { outline: 2px solid var(--primary); border-color: transparent; }

button {
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
button:hover { background: var(--primary-hover); }
button:disabled { opacity: 0.6; cursor: wait; }
button.secondary { width: auto; background: transparent; color: var(--muted); border: 1px solid var(--border); padding: 8px 14px; }

.error { color: var(--danger); font-size: 0.9rem; min-height: 1.2em; margin: 0 0 12px; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.topbar strong { font-size: 1.05rem; }
.topbar .who { color: var(--muted); font-size: 0.9rem; margin-right: 12px; }
main { max-width: 900px; margin: 0 auto; padding: 24px 16px; }
