:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f3f4f6;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --panel: #ffffff;
  --accent: #111827;
  --danger: #b91c1c;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100%; background: #f3f4f6; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.page-shell {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

h1 { margin: 0; font-size: clamp(28px, 7vw, 44px); line-height: 1.05; }
.hero-copy { margin: 10px 0 0; color: var(--muted); max-width: 560px; line-height: 1.5; }

.admin-link {
  flex: 0 0 auto;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 700;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(18px, 4vw, 28px);
}

.narrow-card { max-width: 520px; }
.field { margin-bottom: 18px; }
label { display: block; margin-bottom: 7px; font-weight: 750; }

input, select, textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  min-height: 48px;
  font-size: 16px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(17,24,39,.18);
  outline-offset: 2px;
}
select:disabled { background: #f9fafb; color: #9ca3af; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.primary-btn, .secondary-btn, .danger-btn {
  border-radius: 12px;
  min-height: 46px;
  padding: 11px 15px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}
.primary-btn { width: 100%; background: var(--accent); color: white; }
.primary-btn:disabled { opacity: .55; cursor: not-allowed; }
.secondary-btn { background: white; border: 1px solid var(--line); color: var(--ink); }
.danger-btn { background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); }

.summary {
  border: 1px solid var(--line);
  background: #f9fafb;
  padding: 14px;
  border-radius: 12px;
  margin: 0 0 16px;
  line-height: 1.5;
}
.message { min-height: 22px; margin: 2px 0 12px; color: var(--muted); }
.message.success { color: #047857; }
.message.error { color: var(--danger); }
.hidden { display: none !important; }
.muted { color: var(--muted); font-weight: 500; }
.small { font-size: 13px; margin: 4px 0 0; }
.footer-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.booking-list { display: grid; gap: 12px; }
.booking-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}
.booking-title { font-weight: 850; font-size: 17px; margin-bottom: 5px; }
.booking-meta { color: var(--muted); line-height: 1.55; font-size: 14px; }
.empty-state { background: white; border: 1px dashed #d1d5db; border-radius: 16px; padding: 28px; text-align: center; color: var(--muted); }

@media (max-width: 620px) {
  .page-shell { padding-top: 22px; }
  .hero { flex-direction: column; }
  .grid-2 { grid-template-columns: 1fr; gap: 0; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .booking-item { grid-template-columns: 1fr; }
  .danger-btn { width: 100%; }
}
