*{ box-sizing:border-box; }
body{ margin:0; padding:24px 26px; background:#f6f4ee; color:#1e2a2a;
      font-family:-apple-system,'Segoe UI',Roboto,Arial,sans-serif; font-size:14px; }
h1{ margin:0 0 14px; font-size:24px; font-weight:800; }
a{ color:#8a7327; font-weight:700; text-decoration:none; }
.card{ background:#fffdf8; border:1px solid #ece7da; border-radius:14px; padding:18px 20px; }
.top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.btn, button{ background:#1e2a2a; color:#fff; border:0; border-radius:8px; padding:8px 16px;
      font-weight:700; font-size:14px; cursor:pointer; }
.wrap{ overflow-x:auto; padding:0; }
table{ width:100%; border-collapse:collapse; white-space:nowrap; }
th{ text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.04em;
    color:#8a938f; padding:10px 12px; border-bottom:1px solid #ece7da; }
td{ padding:8px 12px; border-bottom:1px solid #f0ece0; }
form.card{ max-width:640px; }
label{ display:grid; grid-template-columns:170px 1fr; gap:10px; align-items:center; margin-bottom:10px; }
label span{ font-weight:600; color:#5b6662; }
input, textarea, select{ width:100%; padding:7px 9px; border:1px solid #d9d3c3; border-radius:7px;
      font:inherit; background:#fff; }
.actions{ display:flex; gap:16px; align-items:center; margin-top:16px; }
.msg{ background:#f8ece4; color:#c0532e; border-radius:10px; padding:10px 14px; margin-bottom:14px; font-weight:600; }
@media (max-width:560px){ label{ grid-template-columns:1fr; gap:4px; } body{ padding:16px; } }
