:root {
  --bg: #0d1715;
  --panel: #15231f;
  --panel-2: #1b2e28;
  --text: #eff2e9;
  --muted: #84928a;
  --line: rgba(215, 239, 136, 0.14);
  --lime: #d7ef88;
  --coral: #f1845b;
  --blue: #87c8c2;
  --amber: #dfb76e;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    13px "DM Sans",
    sans-serif;
}
.staff-login {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(circle at 75% 15%, rgba(215, 239, 136, 0.12), transparent 26%), #091310;
}

.staff-login.hidden {
  display: none;
}

.login-card {
  width: min(430px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  background: rgba(21, 35, 31, 0.96);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.login-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 11px 11px 11px 2px;
  background: var(--lime);
  color: #092019;
  font: 700 22px "Space Grotesk", sans-serif;
  box-shadow: 5px 5px 0 var(--coral);
}

.login-card .kicker {
  margin: 0 0 11px;
}

.login-card h1 {
  margin: 0 0 12px;
  font: 600 34px "Space Grotesk", sans-serif;
  letter-spacing: -1.5px;
}

.login-card > p:not(.kicker) {
  margin: 0 0 27px;
  color: var(--muted);
  line-height: 1.55;
}

.login-card small {
  min-height: 14px;
  color: var(--coral);
  font-size: 11px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  padding: 30px 22px;
  background: #091310;
  border-right: 1px solid var(--line);
}
.ops-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font: 700 21px "Space Grotesk";
  letter-spacing: -1px;
}
.ops-brand > span:last-child > span {
  color: var(--coral);
}
.ops-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px 10px 10px 2px;
  background: var(--lime);
  color: #092019;
  box-shadow: 4px 4px 0 var(--coral);
}
.side-label,
.kicker {
  margin: 50px 0 14px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 12px;
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
}
.sidebar nav a.active,
.sidebar nav a:hover {
  background: rgba(215, 239, 136, 0.09);
  color: var(--lime);
}
.sidebar nav a:first-letter {
  font-size: 17px;
}
.side-bottom {
  position: absolute;
  bottom: 35px;
  left: 34px;
  color: #b5c0b8;
  font-size: 11px;
  line-height: 1.7;
}
.side-bottom small {
  color: var(--muted);
}
.online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(215, 239, 136, 0.1);
}
.workspace {
  margin-left: 238px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb {
  color: var(--lime);
}
.staff-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.staff-avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font: bold 10px "Space Grotesk";
}
.staff-profile strong,
.staff-profile small {
  display: block;
}
.staff-profile strong {
  color: var(--text);
  font-size: 11px;
}
.staff-profile small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}
.chevron {
  margin-left: 10px;
  color: var(--muted);
}
.content {
  max-width: 1400px;
  margin: auto;
  padding: 58px 5% 90px;
}
.welcome {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 42px;
}
.welcome .kicker {
  margin: 0 0 12px;
}
.welcome h1 {
  margin: 0 0 10px;
  font: 600 clamp(32px, 4vw, 49px) "Space Grotesk";
  letter-spacing: -2px;
}
.welcome p:not(.kicker) {
  margin: 0;
  color: var(--muted);
}
.view-site,
.accent-button {
  border: 0;
  border-radius: 3px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.view-site {
  padding: 12px 16px;
  font-size: 11px;
}
.accent-button {
  padding: 12px 16px;
  box-shadow: 4px 4px 0 rgba(215, 239, 136, 0.55);
}
.accent-button:hover {
  background: #ff976e;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-bottom: 70px;
}
.metric {
  position: relative;
  min-height: 140px;
  padding: 18px 19px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.metric-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  margin-bottom: 20px;
  border-radius: 7px;
  background: rgba(215, 239, 136, 0.12);
  color: var(--lime);
}
.metric-icon.coral {
  background: rgba(241, 132, 91, 0.12);
  color: var(--coral);
}
.metric-icon.blue {
  background: rgba(135, 200, 194, 0.12);
  color: var(--blue);
}
.metric-icon.amber {
  background: rgba(223, 183, 110, 0.12);
  color: var(--amber);
}
.metric small,
.metric em {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}
.metric strong {
  display: block;
  margin: 5px 0 3px;
  font: 600 26px "Space Grotesk";
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-head .kicker {
  margin: 0 0 9px;
}
.section-head h2 {
  margin: 0;
  font: 600 27px "Space Grotesk";
  letter-spacing: -1px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
}
.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.panel-toolbar strong {
  font: 600 15px "Space Grotesk";
}
.panel-toolbar input {
  width: 230px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: #0e1a17;
  color: var(--text);
  outline: 0;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
th,
td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
td {
  font-size: 12px;
}
.route-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.route-arrow {
  color: var(--coral);
}
.status-pill {
  padding: 5px 8px;
  border-radius: 20px;
  background: rgba(215, 239, 136, 0.1);
  color: var(--lime);
  font-size: 9px;
}
.price-edit {
  width: 88px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: #0e1a17;
  color: var(--text);
}
.save-price {
  padding: 7px 9px;
  border: 1px solid rgba(215, 239, 136, 0.3);
  background: transparent;
  color: var(--lime);
  font-size: 10px;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 67px;
}
.route-form-panel,
.order-panel {
  padding: 22px;
}
.route-form-panel > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.ops-form {
  display: grid;
  gap: 13px;
}
.ops-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
}
.ops-form input,
.ops-form select {
  height: 39px;
  padding: 0 10px;
  border: 1px solid var(--line);
  outline: 0;
  background: #0e1a17;
  color: var(--text);
}
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-message {
  min-height: 16px;
  color: var(--lime);
  font-size: 11px;
}
.order-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.order-entry strong {
  font-size: 11px;
}
.order-entry small {
  color: var(--muted);
  font-size: 10px;
}
.order-entry span {
  grid-column: 1/-1;
  color: var(--coral);
  font-size: 10px;
}
.order-actions{display:flex;gap:8px;grid-column:1/-1;margin-top:8px}.order-actions button{padding:7px 9px;border:1px solid var(--line);background:transparent;color:var(--lime);font-size:10px}.order-actions .reject-payment{color:var(--coral)}
.staff-ticket-link{grid-column:1/-1;color:var(--lime);font-size:10px;text-decoration:none}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 12, 10, 0.8);
}
.modal-backdrop[hidden] {
  display: none;
}
.trip-modal {
  position: relative;
  width: min(500px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
}
.trip-modal h2 {
  margin: 0 0 23px;
  font: 600 29px "Space Grotesk";
}
.mobile-nav {
  display: none;
}
@media (max-width: 900px) {
  .sidebar {
    width: 70px;
    padding: 25px 15px;
  }
  .ops-brand > span:last-child,
  .side-label,
  .sidebar nav a span,
  .side-bottom {
    display: none;
  }
  .sidebar nav {
    margin-top: 48px;
  }
  .sidebar nav a {
    justify-content: center;
    font-size: 20px;
    padding: 13px 0;
  }
  .workspace {
    margin-left: 70px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .topbar {
    height: 66px;
    padding: 0 20px;
  }
  .mobile-nav {
    display: block;
    border: 0;
    background: transparent;
    color: var(--lime);
    font-size: 19px;
  }
  .staff-profile {
    display: none;
  }
  .content {
    padding: 38px 17px 60px;
  }
  .welcome {
    align-items: start;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 33px;
  }
  .welcome h1 {
    font-size: 34px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 55px;
  }
  .metric {
    min-height: 125px;
    padding: 14px;
  }
  .metric-icon {
    margin-bottom: 14px;
  }
  .metric strong {
    font-size: 22px;
  }
  .section-head h2 {
    font-size: 23px;
  }
  .panel-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .panel-toolbar input {
    width: 100%;
  }
  .two-columns {
    gap: 48px;
  }
  .input-row {
    grid-template-columns: 1fr;
  }
  .trip-modal {
    padding: 26px 20px;
  }
}
