* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f4f7fc;
  color: #12243e;
  font:
    15px system-ui,
    -apple-system,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
  background: #2154ed;
  color: white;
  font-weight: 650;
  text-decoration: none;
  display: inline-block;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:hover,
.button:hover {
  filter: brightness(0.96);
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #82adff;
  outline-offset: 3px;
}
.secondary {
  background: white;
  border: 1px solid #dae3f2;
  color: #315078;
}
aside {
  width: 235px;
  background: #0b1c32;
  color: #dbe6f8;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 24px;
  font-weight: 750;
  color: white;
  text-decoration: none;
  line-height: 1.6;
}
.brand b {
  background: #2758f0;
  border-radius: 10px;
  padding: 4px 10px;
  margin-right: 5px;
}
.brand span {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  color: #91a6c4;
  margin: 8px 0 0 48px;
}
nav {
  display: grid;
  gap: 8px;
  margin-top: 55px;
}
nav button {
  text-align: left;
  color: #9fb2ce;
  background: transparent;
  padding: 14px 18px;
}
nav button.active {
  background: #1c3557;
  color: white;
  border-left: 3px solid #4c80ff;
  border-radius: 0 10px 10px 0;
}
.aside-bottom {
  margin-top: auto;
  font-size: 12px;
  color: #c8d7ee;
}
.aside-bottom p {
  color: #8ca2bf;
  font-size: 11px;
}
.dot {
  width: 7px;
  height: 7px;
  background: #41d6ac;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}
main {
  margin-left: 235px;
  padding: 44px 48px;
  max-width: 1700px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
small {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 750;
  color: #3164e7;
}
h1 {
  font-size: 31px;
  letter-spacing: -1px;
  margin: 12px 0;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
}
p {
  color: #72819a;
  line-height: 1.6;
  margin: 0;
}
header p {
  font-size: 14px;
}
.badge {
  font-size: 10px;
  letter-spacing: 1px;
  color: #96641d;
  background: #fff1d8;
  border: 1px solid #f4dfb8;
  padding: 8px 12px;
  border-radius: 7px;
  display: inline-block;
  margin: 5px 0 12px;
}
.toolbar {
  margin: 36px 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.toolbar #organization {
  font-weight: 700;
  margin-right: auto;
}
.muted {
  color: #7f8ba1;
  font-size: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.metric {
  border: 1px solid #e1e8f3;
  background: white;
  padding: 23px;
  border-radius: 16px;
  box-shadow: 0 4px 10px #182b4b03;
}
.metric p {
  font-size: 12px;
}
.metric strong {
  display: block;
  font-size: 32px;
  margin: 10px 0;
  letter-spacing: -1px;
}
.metric small {
  color: #7d8ca4;
  letter-spacing: 0;
  font-weight: 400;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 34px 0 20px;
}
.section-head p {
  font-size: 13px;
}
.pill {
  font-size: 11px;
  background: #e7f5ee;
  color: #218567;
  border-radius: 20px;
  padding: 7px 12px;
  white-space: nowrap;
}
.station-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.station {
  background: white;
  border: 1px solid #dfe7f3;
  border-radius: 16px;
  padding: 24px;
}
.station-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}
.station-icon {
  font-size: 25px;
  background: #eef3ff;
  border-radius: 12px;
  padding: 8px 14px;
  color: #2859ec;
}
.offline {
  background: #edf0f5;
  color: #778297;
}
.station h3 {
  margin: 0 0 5px;
  font-size: 18px;
}
.station .stats {
  display: flex;
  gap: 35px;
  margin: 24px 0;
  border-top: 1px solid #eaf0f6;
  padding-top: 20px;
}
.station .stats p {
  font-size: 11px;
}
.station .stats b {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}
.station-actions {
  display: flex;
  gap: 8px;
}
.station-actions button {
  font-size: 12px;
  padding: 10px 12px;
}
.notice {
  background: #edf3ff;
  border: 1px solid #d9e5fe;
  border-radius: 12px;
  padding: 20px 23px;
  margin-top: 24px;
}
.notice b {
  font-size: 13px;
  color: #244eab;
}
.notice p {
  font-size: 12px;
  color: #5d759d;
  margin-top: 5px;
}
footer {
  display: flex;
  justify-content: space-between;
  margin: 45px 0 0;
  padding-top: 20px;
  border-top: 1px solid #dee6f0;
  font-size: 11px;
  color: #8b98af;
}
footer b {
  color: #58708e;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 12px;
}
th,
td {
  text-align: left;
  padding: 17px 18px;
  border-bottom: 1px solid #e9eef6;
}
th {
  color: #7a8ba4;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  background: #f9fbfe;
}
td {
  color: #3b506c;
}
.table-wrap {
  border: 1px solid #e0e7f3;
  border-radius: 14px;
  overflow: auto;
}
#message {
  margin: 20px 0;
  color: #315078;
  font-size: 13px;
  white-space: pre-wrap;
}
#message[data-error="true"] {
  color: #b14330;
}
.login-card {
  max-width: 450px;
  margin: 70px auto;
  background: white;
  border: 1px solid #e0e8f4;
  border-radius: 20px;
  padding: 38px;
}
.symbol {
  color: #2154ed;
  font-size: 35px;
  font-weight: 900;
  margin-bottom: 25px;
}
.login-card h2 {
  font-size: 24px;
}
.login-card p {
  font-size: 13px;
}
.login-card form {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}
#identity-qr {
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  display: block;
}
#identity-setup-uri {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 12px;
  font-size: 11px;
}
#identity-mfa h2 {
  margin-top: 24px;
}
label {
  font-size: 12px;
  font-weight: 650;
  display: grid;
  gap: 9px;
}
input,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d4dfef;
  border-radius: 8px;
  background: white;
  color: #17304f;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}
.form-grid button {
  align-self: end;
}
details {
  background: white;
  border: 1px solid #dfe6f2;
  border-radius: 12px;
  padding: 20px;
  margin-top: 22px;
}
summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}
.command-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.command-card {
  min-width: 0;
  background: white;
  border: 1px solid #dfe7f3;
  border-radius: 14px;
  padding: 20px;
}
.command-card p {
  overflow-wrap: anywhere;
}
.command-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.command-card-top > div {
  min-width: 0;
  flex: 1 1 180px;
}
.command-card h3 {
  overflow-wrap: anywhere;
}
.form-grid label,
.form-grid input,
.form-grid select {
  min-width: 0;
}
.command-card h3 {
  font-size: 15px;
  margin: 0 0 5px;
}
.command-card p {
  font-size: 12px;
}
.command-card .station-actions {
  margin-top: 14px;
  flex-wrap: wrap;
}
.command-card.warning {
  border-color: #efc67f;
  background: #fffcf5;
}
.pill.warning {
  background: #fff0d3;
  color: #9a661f;
}
.pill.failure {
  background: #fdebea;
  color: #a2433e;
}
.check-label {
  display: flex;
  align-items: center;
  line-height: 1.6;
  font-weight: 400;
}
.check-label input {
  width: auto;
}
.wide {
  grid-column: 1/-1;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  main {
    padding: 30px 26px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .station-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  aside {
    position: static;
    width: auto;
    padding: 18px 20px;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 20px;
    gap: 4px;
  }
  nav button {
    white-space: nowrap;
    padding: 10px;
    font-size: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .brand span,
  .aside-bottom {
    display: none;
  }
  main {
    margin: 0;
    padding: 24px 18px;
  }
  header {
    display: block;
  }
  h1 {
    font-size: 26px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 17px;
  }
  .metric strong {
    font-size: 26px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar #organization {
    width: 100%;
  }
  .section-head {
    align-items: start;
  }
  .section-head .pill {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .login-card {
    margin: 20px auto;
    padding: 25px;
  }
  footer {
    gap: 20px;
  }
}
.telemetry-chart svg {
  display: block;
  width: 100%;
  max-height: 380px;
  background: white;
  border-radius: 14px;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  margin: 12px 0 24px;
}
