:root {
  color-scheme: dark;
  --ink: #eef4ff;
  --muted: #8291aa;
  --bg: #060a12;
  --panel: #0d1420;
  --raised: #111b2a;
  --line: #202c3e;
  --cyan: #4bdcff;
  --blue: #2e89ff;
  --green: #35d99a;
  --amber: #ffbd5b;
  --red: #ff6078;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(1000px 520px at 85% -10%, #12345b66, transparent 62%),
    var(--bg);
  color: var(--ink);
  font:
    14px Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  min-height: 100vh;
}
.shell {
  display: grid;
  grid-template-columns: 76px 1fr;
  min-height: 100vh;
}
.rail {
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 22px 0;
  gap: 18px;
  background: #070c14cc;
}
.mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  color: #02101e;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 8px 28px #278cff44;
}
.rail-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: #65738b;
  writing-mode: vertical-rl;
  margin-top: 16px;
}
main {
  width: min(1480px, 100%);
  padding: 32px 38px 50px;
  margin: auto;
}
.eyebrow,
.panel-kicker {
  display: block;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.topbar h1,
.auth-copy h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1;
}
.auth-copy h1 {
  font-size: clamp(44px, 6vw, 78px);
}
h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0;
}
em {
  font-style: normal;
  color: var(--cyan);
}
p {
  line-height: 1.6;
}
.muted {
  color: var(--muted);
}
button {
  border: 0;
  border-radius: 11px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #03101e;
  font: 800 13px inherit;
  cursor: pointer;
  transition:
    transform 0.15s,
    filter 0.15s;
}
button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.ghost {
  background: #111b28;
  color: var(--ink);
  border: 1px solid var(--line);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.freshness {
  color: var(--muted);
  font-size: 12px;
}
.panel {
  background: linear-gradient(145deg, #101927e8, #0a111ce8);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 70px #0007;
}
.auth-wrap {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1.3fr minmax(320px, 460px);
  align-items: center;
  gap: 8vw;
}
.auth-copy p {
  color: var(--muted);
  font-size: 17px;
}
.auth-card {
  padding: 32px;
}
.auth-card h2 {
  font-size: 27px;
  margin-bottom: 7px;
}
.auth-card label {
  display: grid;
  gap: 8px;
  margin: 20px 0 12px;
  color: #aab7ca;
  font-size: 12px;
  font-weight: 700;
}
.auth-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #070d16;
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
}
.auth-card button {
  width: 100%;
}
.auth-card #verifyFields {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 2px;
}
.notice {
  min-height: 22px;
  color: var(--amber);
  font-size: 12px;
  margin: 14px 0 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.metric {
  background: linear-gradient(145deg, #111b29, #0b121d);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.metric:after {
  content: "";
  position: absolute;
  inset: auto -20px -38px auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #308fff12;
}
.metric span,
.metric small {
  display: block;
  color: var(--muted);
}
.metric strong {
  font-size: 37px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.metric small {
  font-size: 11px;
}
.alert-metric strong {
  color: var(--red);
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 14px;
}
.fleet-panel,
.incidents-panel {
  padding: 22px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 18px;
}
.readonly {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #65738b;
  border: 1px solid var(--line);
  padding: 7px 9px;
  border-radius: 20px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
}
th {
  text-align: left;
  color: #64738a;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 12px;
  border-bottom: 1px solid #1a2535;
  color: #cbd6e7;
  vertical-align: middle;
}
.account-name strong,
.account-name small {
  display: block;
}
.account-name small {
  color: var(--muted);
  margin-top: 3px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  padding: 6px 9px;
  background: #172131;
  color: #aebbd0;
  font-size: 11px;
  text-transform: capitalize;
}
.pill:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #697a92;
}
.pill.good {
  color: var(--green);
  background: #35d99a12;
}
.pill.good:before {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.pill.warn {
  color: var(--amber);
  background: #ffbd5b12;
}
.pill.warn:before {
  background: var(--amber);
}
.pill.bad {
  color: var(--red);
  background: #ff607812;
}
.pill.bad:before {
  background: var(--red);
}
.incident {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.incident:first-child {
  padding-top: 0;
}
.incident:last-child {
  border-bottom: 0;
}
.incident-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.incident strong {
  font-size: 13px;
}
.incident time,
.incident small {
  font-size: 10px;
  color: var(--muted);
}
.incident p {
  font-size: 12px;
  color: #adb9cc;
  margin: 8px 0 0;
}
.healthy {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #35d99a0c;
  border: 1px solid #35d99a25;
  border-radius: 14px;
  padding: 16px;
}
.healthy > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #35d99a20;
  color: var(--green);
  font-weight: 900;
}
.healthy strong,
.healthy small {
  display: block;
}
.healthy small {
  color: var(--muted);
  margin-top: 3px;
}
.empty {
  text-align: center;
  padding: 38px;
  color: var(--muted);
}
footer {
  text-align: center;
  color: #526078;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding-top: 24px;
}
@media (max-width: 980px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-copy {
    display: none;
  }
}
@media (max-width: 680px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .rail {
    display: none;
  }
  main {
    padding: 20px 14px 38px;
  }
  .topbar {
    align-items: flex-start;
  }
  .top-actions {
    flex-direction: column;
    align-items: flex-end;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .metric {
    padding: 15px;
  }
  .metric strong {
    font-size: 29px;
  }
  .fleet-panel,
  .incidents-panel {
    padding: 17px;
  }
  .auth-wrap {
    min-height: calc(100vh - 40px);
  }
}

.operations-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.operations-strip article { border: 1px solid #223047; border-radius: 14px; background: #0e1622; padding: 14px; }
.operations-strip span, .operations-strip small { display: block; color: #8494ac; }
.operations-strip strong { display: block; margin: 5px 0; }
.fleet-tools { display: flex; gap: 10px; align-items: center; }
.fleet-tools input { border: 1px solid #223047; border-radius: 10px; background: #070e18; color: #eff5ff; padding: 10px; }
@media (max-width: 760px) {
  .operations-strip { grid-template-columns: 1fr; }
  .fleet-tools { display: grid; }
  .fleet-tools input { width: 100%; }
}
