:root {
  --paper: #fff6eb;
  --teal: #0f4c4c;
  --muted: #3e5654;
  --sun: #ffc857;
  --coral: #ff6b57;
  --line: #f0e2d0;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--teal);
}
main { width: min(960px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 64px; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.mark { width: 44px; height: 44px; border-radius: 16px; background: var(--sun); display: grid; place-items: center; }
h1, h2 { letter-spacing: -0.04em; }
.card, .list { background: white; border-radius: 28px; padding: 22px; }
.list { margin-top: 16px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.92rem; margin-bottom: 12px; }
.check { align-items: center; grid-template-columns: auto 1fr; }
input, select, textarea, button {
  font: inherit;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 10px 12px;
}
textarea { min-height: 96px; }
button { background: var(--teal); color: white; border: 0; cursor: pointer; }
button.quiet, #reset-form, #sign-out { background: transparent; color: var(--teal); border: 1px solid var(--line); }
.actions { display: flex; gap: 8px; }
.error { color: #8c2e24; min-height: 1.2em; }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hint { color: var(--muted); margin-top: 0; }
.meta { color: var(--muted); font-size: 0.9rem; }
ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); }
li button { margin-left: 6px; }
@media (max-width: 700px) { .grid, li { grid-template-columns: 1fr; display: grid; } }
