.dispatch-page { min-height: 100vh; background: #f3f3ef; }
.dispatch-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(20px, 5vw, 70px); background: var(--ink); color: white; }
.dispatch-header > div { display: flex; align-items: center; gap: 20px; }
.secure-label { color: #aaa; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.text-button { border: 0; background: transparent; color: white; font: 700 11px var(--body); text-transform: uppercase; cursor: pointer; }
.dispatch-login { min-height: calc(100vh - 84px); display: grid; grid-template-columns: 1.05fr .95fr; }
.dispatch-login[hidden], .dispatch-workspace[hidden] { display: none; }
.login-copy { display: grid; align-content: center; padding: clamp(55px, 9vw, 130px); background: var(--ink); color: white; }
.login-copy h1 { max-width: 740px; margin: 12px 0 25px; font-size: clamp(62px, 8vw, 118px); }
.login-copy > p:last-child { max-width: 570px; color: #aaa; font-size: 16px; }
.login-card { align-self: center; width: min(500px, calc(100% - 48px)); margin: 60px auto; padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); background: white; box-shadow: 12px 12px 0 var(--orange); }
.login-card h2 { margin: 5px 0 30px; font-size: clamp(44px, 5vw, 70px); }
.login-card label { display: grid; gap: 7px; margin: 0 0 18px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.login-card input, .queue-tools select, .booking-controls select, .booking-controls input, .booking-controls textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; background: white; padding: 14px; color: var(--ink); font: 14px var(--body); }
.login-card .button { width: 100%; margin-top: 5px; border: 0; cursor: pointer; }
.login-card .button-demo { display: flex; justify-content: center; margin-top: 10px; border: 1px solid var(--ink); background: white; color: var(--ink); text-decoration: none; }
.login-card small { display: block; margin-top: 16px; color: var(--muted); }
.panel-message { padding: 12px 14px; border-left: 3px solid var(--orange); background: #f7e8e7; color: #7d1713; font-size: 12px; font-weight: 700; }
.dispatch-workspace { width: min(1500px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 100px; }
.demo-banner { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 34px; padding: 14px 20px; background: var(--orange); color: white; text-align: center; }
.demo-banner[hidden] { display: none; }
.demo-banner strong { font-size: 10px; letter-spacing: .1em; }
.demo-banner span { font-size: 11px; }
.workspace-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.workspace-heading h1 { margin: 4px 0; font-size: clamp(58px, 7vw, 100px); }
.workspace-heading p:last-child { margin: 0; color: var(--muted); }
.button-ghost-dark { border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.dispatch-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 52px 0 24px; border: 1px solid var(--line); background: white; }
.dispatch-stats div { padding: 26px 30px; }
.dispatch-stats div + div { border-left: 1px solid var(--line); }
.dispatch-stats strong, .dispatch-stats span { display: block; }
.dispatch-stats strong { color: var(--orange); font: 800 44px var(--display); }
.dispatch-stats span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.queue-tools { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 24px 0; }
.queue-tools label { width: min(280px, 100%); display: grid; gap: 7px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.queue-tools .panel-message { margin: 0; }
.booking-list { display: grid; gap: 18px; }
.booking-card { display: grid; grid-template-columns: 1fr 1.15fr .95fr; border: 1px solid var(--line); background: white; }
.booking-card > section, .booking-card > form { padding: 28px; }
.booking-card > * + * { border-left: 1px solid var(--line); }
.booking-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.status-badge { padding: 6px 8px; background: var(--ink); color: white; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.status-badge.is-paid { background: #23663b; }
.booking-card h2 { margin: 0 0 8px; font-size: 35px; }
.booking-card h3 { margin: 0 0 10px; font: 800 22px var(--display); text-transform: uppercase; }
.booking-card p { color: var(--muted); font-size: 12px; }
.booking-card dl { margin: 18px 0 0; }
.booking-card dl div { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; border-top: 1px solid var(--line); }
.booking-card dt { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.booking-card dd { margin: 0; text-align: right; font-size: 12px; font-weight: 700; }
.customer-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.customer-links a { padding: 8px 10px; background: #ecece7; color: var(--ink); font-size: 10px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.booking-controls { display: grid; align-content: start; gap: 12px; background: #f9f9f6; }
.booking-controls label { display: grid; gap: 6px; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.booking-controls textarea { min-height: 85px; resize: vertical; }
.booking-controls button { border: 0; cursor: pointer; }
.booking-controls button:disabled { cursor: wait; opacity: .6; }
.card-message { margin: 0; color: #23663b !important; font-weight: 800; }
.empty-queue { padding: 55px; border: 1px dashed #bbb; text-align: center; }
.empty-queue strong, .empty-queue span { display: block; }
.empty-queue strong { font: 800 30px var(--display); text-transform: uppercase; }
.empty-queue span { margin-top: 6px; color: var(--muted); font-size: 12px; }

@media (max-width: 1000px) {
  .dispatch-login, .booking-card { grid-template-columns: 1fr; }
  .login-copy { min-height: 520px; }
  .booking-card > * + * { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 650px) {
  .secure-label { display: none; }
  .dispatch-login { display: block; }
  .login-copy { min-height: 420px; padding: 55px 24px; }
  .login-copy h1 { font-size: 64px; }
  .workspace-heading, .queue-tools { align-items: stretch; flex-direction: column; }
  .dispatch-stats { grid-template-columns: 1fr; }
  .dispatch-stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .queue-tools label { width: 100%; }
  .booking-card > section, .booking-card > form { padding: 22px; }
}
