* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #F1EFE8;
  color: #2C2C2A;
  margin: 0;
  padding: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 640px;
  margin: 0 auto 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
h1 { font-size: 22px; font-weight: 500; margin: 0 0 16px; }
h2 { font-size: 18px; font-weight: 500; margin: 0 0 12px; }
label { display: block; font-size: 13px; color: #5F5E5A; margin: 12px 0 4px; }
input, select, textarea {
  width: 100%; padding: 10px; border: 1px solid #D3D1C7; border-radius: 8px; font-size: 14px;
}
button {
  background: #0F6E56; color: #fff; border: none; border-radius: 8px;
  padding: 10px 18px; font-size: 14px; cursor: pointer; margin-top: 16px;
}
button.secondary { background: #888780; }
button.small { padding: 6px 12px; font-size: 12px; margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid #D3D1C7; }
.error { color: #A32D2D; font-size: 13px; margin-top: 8px; }
.success { color: #3B6D11; font-size: 13px; margin-top: 8px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; }
.modal-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  align-items: center; justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal { background: #fff; border-radius: 12px; padding: 24px; width: 90%; max-width: 480px; max-height: 85vh; overflow-y: auto; }
