* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #faf6f0;
  color: #3a2e22;
  min-height: 100vh;
}
header {
  background: linear-gradient(135deg, #8b4513, #b5651d);
  color: #fff8ec;
  padding: 1.5rem 1rem;
  text-align: center;
}
header h1 { font-size: 1.8rem; }
header p { opacity: 0.9; margin-top: 0.25rem; font-size: 0.95rem; }
main { max-width: 720px; margin: 0 auto; padding: 1rem; }
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 1rem;
  margin-bottom: 1rem;
}
.card h2 { font-size: 1.1rem; margin-bottom: 0.75rem; color: #8b4513; }
label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.25rem; }
input, select, textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d9cbb8;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  background: #fffdf9;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #b5651d; }
button {
  background: #8b4513;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}
button:hover { background: #6f3610; }
button.secondary { background: #999; }
button.danger { background: #b03030; }
.row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee4d8;
}
.item:last-child { border-bottom: none; }
.item .name { font-weight: 600; font-size: 1rem; }
.item .by { font-size: 0.85rem; color: #7a6a55; }
.item .notes { font-size: 0.85rem; color: #999; margin-top: 0.2rem; }
.badge {
  display: inline-block;
  background: #f0e2d0;
  color: #8b4513;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-top: 0.25rem;
}
.item .actions { display: flex; gap: 0.3rem; flex-shrink: 0; }
.item .actions button { padding: 0.3rem 0.6rem; font-size: 0.8rem; }
.status {
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  display: none;
}
.status.error { display: block; background: #fde8e8; color: #b03030; }
.status.ok { display: block; background: #e8f5e8; color: #2e7d32; }
.signin { display: flex; gap: 0.5rem; }
.signin input { margin-bottom: 0; }
.authbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.empty { color: #999; text-align: center; padding: 1rem; font-size: 0.95rem; }
.filter { margin-bottom: 1rem; }
.filter select { width: auto; margin-bottom: 0; }
.hidden { display: none; }
