:root {
  --bg: #f5f2eb;
  --panel: #ffffff;
  --text: #23342f;
  --muted: #6e7b76;
  --line: #dedbd2;
  --accent: #a78a4a;
  --danger: #a33b3b;
  --success: #2f765b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.topbar {
  background: #243a33;
  color: white;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.brand { font-size: 20px; font-weight: 700; }
.brand span { color: #d7bd7c; }
.topbar nav { display: flex; gap: 8px; flex-wrap: wrap; }
.topbar a { color: white; text-decoration: none; padding: 8px 10px; border-radius: 7px; }
.topbar a:hover { background: rgba(255,255,255,.08); }
.container { max-width: 1180px; margin: 28px auto; padding: 0 18px 50px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.035);
}
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); }
.stat strong { display: block; font-size: 34px; margin-top: 5px; }
.muted { color: var(--muted); }
h1 { margin-top: 0; font-size: 28px; }
h2 { margin-top: 0; }
label { display: block; font-weight: 600; margin: 0 0 6px; }
input, select, textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #cfcac0;
  border-radius: 8px;
  background: white;
  font: inherit;
}
textarea { min-height: 90px; resize: vertical; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
button, .btn {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  padding: 10px 15px;
  background: #243a33;
  color: white;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}
.btn.secondary { background: var(--accent); }
.btn.light { background: #e9e6de; color: var(--text); }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { padding: 10px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: 13px; color: var(--muted); background: #faf9f6; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: white; }
.badge { display: inline-block; border-radius: 999px; padding: 3px 8px; font-size: 12px; background: #ece9e1; }
.badge.booking { background: #e7edf8; }
.badge.direct { background: #e7f2ec; }
.badge.ready { background: #e7f2ec; color: var(--success); }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; }
.alert.success { background: #e7f2ec; color: #245b46; }
.alert.error { background: #f7e5e5; color: #7d2b2b; }
.login-wrap { max-width: 430px; margin: 70px auto; }
.login-wrap .card { padding: 28px; }
.help { font-size: 13px; color: var(--muted); margin-top: 5px; }
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
}
