.desk-body {
  min-height: 100vh;
  background: var(--cream);
}
.desk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.desk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.desk-brand img { width: 40px; height: 40px; }
.desk-nav { display: flex; align-items: center; gap: 18px; }
.desk-nav a, .desk-nav button {
  font: inherit;
  font-weight: 700;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  text-decoration: none;
}
.desk-nav button { color: var(--muted); }
.desk-main {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.desk-status { color: var(--muted); font-weight: 600; }
.desk-kicker {
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.desk-h1 { margin: 0 0 8px; font-size: 32px; }
.desk-lead { color: var(--muted); margin: 0 0 22px; max-width: 52ch; }

.desk-login {
  max-width: 400px;
  margin: 48px auto;
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.desk-login label { display: block; font-weight: 700; font-size: 13px; margin: 12px 0 6px; }
.desk-login input, .desk-field {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.desk-login button, .desk-btn {
  font: inherit;
  font-weight: 800;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  background: var(--green);
  color: var(--cream);
}
.desk-login button.desk-text-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 8px 0;
  background: none;
  border-radius: 0;
  font-weight: 700;
  color: var(--green);
}
.desk-login button.desk-text-btn:hover { text-decoration: underline; }
.desk-btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.desk-btn.ink { background: var(--ink); }
.desk-btn:disabled { opacity: 0.45; cursor: default; }
.desk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }

.desk-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.desk-table th, .desk-table td { padding: 12px 14px; text-align: left; }
.desk-table th { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--cream-2); }
.desk-table tr { cursor: pointer; }
.desk-table tr:hover td { background: var(--gold-soft); }
.desk-empty { padding: 32px; text-align: center; color: var(--muted); }

.desk-steps { display: flex; gap: 8px; margin: 8px 0 18px; }
.desk-step {
  width: 28px; height: 28px; border-radius: 14px;
  background: #e8e3d5; font-weight: 800; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.desk-step.on { background: var(--ink); color: var(--cream); }
.desk-step.done { background: var(--green); color: var(--cream); }

.desk-card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 8px;
  cursor: pointer;
}
.desk-card.on { border-color: var(--green); }
.desk-card strong { display: block; }
.desk-card span { color: var(--muted); font-size: 13px; }

.desk-grid { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; }
.desk-pane {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  min-height: 420px;
}
.desk-pane h2 { margin: 0 0 10px; font-size: 16px; }
.desk-player {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}
.desk-player:hover, .desk-player.on { background: var(--gold-soft); }
.desk-group {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.desk-group h3 { margin: 0 0 8px; font-size: 15px; }
.desk-group input[type="text"] {
  font: inherit;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  width: 140px;
}
.desk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.desk-chip {
  background: var(--cream-2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.desk-add {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.desk-add input { flex: 1; font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); }

.desk-meta { color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.desk-err { color: #9b1c1c; font-weight: 700; margin-top: 10px; }

.desk-regs { margin-top: 18px; background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.desk-reg-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
  .desk-grid { grid-template-columns: 1fr; }
}

.desk-setup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}
.desk-setup-wide { grid-column: 1 / -1; }
.tee-row.held { background: #efe6c4; }
.desk-setup .desk-pane { min-height: 0; }
.desk-setup label { display: block; font-weight: 700; font-size: 13px; margin: 12px 0 6px; }
.desk-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-top: 14px !important;
}
.desk-field, select.desk-field {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.tee-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 16px 0;
}
.tee-nav input[type="date"] {
  font: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.tee-grid {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tee-row {
  display: grid;
  grid-template-columns: 110px 1fr 80px 80px;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  align-items: center;
}
.tee-row:hover { background: var(--gold-soft); }
.tee-row.booked { background: #f7f3e6; }
.tee-row.blocked { opacity: 0.55; }
.tee-time { font-weight: 800; font-variant-numeric: tabular-nums; }
.tee-who { font-weight: 700; }
.tee-price, .tee-st { font-weight: 800; text-align: right; text-transform: capitalize; }
.tee-st { font-size: 12px; color: var(--muted); }

.tee-overlay {
  position: fixed;
  inset: 0;
  background: rgba(95, 21, 19, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 20px;
}
.tee-modal {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  width: min(440px, 100%);
  box-shadow: var(--shadow);
}
.tee-modal h2 { margin: 0 0 8px; }
.tee-modal label { display: block; font-weight: 700; font-size: 13px; margin: 10px 0 6px; }

@media (max-width: 900px) {
  .desk-setup { grid-template-columns: 1fr; }
  .tee-row { grid-template-columns: 88px 1fr 64px; }
  .tee-st { display: none; }
}
