:root {
  --bg: #f4f6f5;
  --surface: #ffffff;
  --ink: #1d2623;
  --muted: #5c6b66;
  --line: #d8e0dd;
  --accent: #1f6f5c;
  --accent-ink: #ffffff;
  --danger: #a3312a;
  --ok-bg: #e3f2ec;
  --err-bg: #f8e4e2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a18;
    --surface: #1d2522;
    --ink: #e6ecea;
    --muted: #9aa9a4;
    --line: #2f3a36;
    --accent: #4fb89c;
    --accent-ink: #0d1412;
    --danger: #e0766e;
    --ok-bg: #1c3a31;
    --err-bg: #43211e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.top {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface);
}
.brand { font-weight: 700; color: var(--ink); text-decoration: none; }
.brand span { font-weight: 400; color: var(--muted); }
.top nav { display: flex; gap: 0.8rem; align-items: center; font-size: 0.95rem; }
.who { color: var(--muted); }
main { max-width: 40rem; margin: 0 auto; padding: 1.5rem 1rem 2rem; }
h1 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 1rem; text-wrap: balance; }
h2 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.lead { font-size: 1.05rem; color: var(--muted); }
a { color: var(--accent); }
.actions, .cards { display: grid; gap: 0.8rem; margin-top: 1.2rem; }
@media (min-width: 34rem) { .cards { grid-template-columns: 1fr 1fr; } }
.card, .panel {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 1rem 1.1rem; color: var(--ink); text-decoration: none; margin-bottom: 1rem;
}
.card:hover, .card:focus-visible { border-color: var(--accent); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.muted { color: var(--muted); font-size: 0.9rem; }
label { display: block; font-weight: 600; margin: 0.8rem 0 0.3rem; font-size: 0.95rem; }
input {
  width: 100%; padding: 0.65rem 0.75rem; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
}
input:focus-visible, .button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.button {
  display: inline-block; margin-top: 1rem; padding: 0.65rem 1.1rem; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--accent); background: transparent; color: var(--accent);
  font: inherit; font-weight: 600; text-decoration: none; text-align: center;
}
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.danger { border-color: var(--danger); color: var(--danger); margin-top: 0; }
.alert { padding: 0.7rem 0.9rem; border-radius: 8px; }
.alert.error { background: var(--err-bg); }
.alert.ok { background: var(--ok-bg); }
.note { color: var(--muted); font-size: 0.9rem; }
.secret { border-color: var(--accent); }
.code {
  font: 600 1.15rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all;
  background: var(--bg); padding: 0.7rem; border-radius: 8px; user-select: all;
}
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: grid; gap: 0.5rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
form.inline { display: flex; gap: 0.5rem; flex-wrap: wrap; }
form.inline input { flex: 1 1 12rem; width: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 1rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
