:root {
  color-scheme: light;
  --ink: #17243a;
  --muted: #526480;
  --dim: #64758e;
  --blue: #345de1;
  --teal: #128674;
  --amber: #a36512;
  --red: #b54c59;
  --line: #e2e8f2;
  --canvas: #f3f6fa;
  --paper: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--canvas);
  font-variant-numeric: tabular-nums;
}
svg {
  display: block;
}
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.small-icon {
  width: 14px;
  height: 14px;
}
.shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}
.side {
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 0 14px 18px;
}
.brand {
  height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 7px;
  border-bottom: 1px solid var(--line);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #345de1;
  color: #fff;
  border-radius: 9px;
}
.brand-mark .icon {
  width: 19px;
  height: 19px;
}
.brand strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.nav {
  margin-top: 20px;
}
.nav-label {
  margin: 0 10px 8px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.065em;
}
.nav-label.manage {
  margin-top: 23px;
}
.nav-item {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #415370;
  padding: 0 10px;
  margin: 2px 0;
  border-radius: 7px;
  font-weight: 550;
}
.nav-item.active {
  background: #e9efff;
  color: #244bbf;
  font-weight: 650;
}
.nav-item.active:after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #345de1;
  margin-left: auto;
  margin-right: 3px;
}
.side-foot {
  margin-top: auto;
  border: 1px solid var(--line);
  background: #f9fbfd;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 12px;
  color: var(--muted);
}
.side-foot strong {
  display: block;
  color: #34465f;
  font-size: 13px;
  font-weight: 650;
}
.side-foot .row {
  margin-top: 5px;
  justify-content: flex-start;
  gap: 7px;
}
.topbar {
  height: 62px;
  padding: 0 30px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.crumb,
.top-right,
.row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.crumb {
  font-size: 13px;
  color: var(--muted);
}
.crumb strong {
  color: var(--ink);
  font-weight: 650;
}
.crumb .slash {
  color: #8391a6;
}
.top-right {
  gap: 16px;
}
.demo {
  font-size: 12px;
  color: #5a6c86;
  background: #f1f4f9;
  border: 1px solid #e6ebf3;
  border-radius: 5px;
  padding: 4px 8px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #455974;
}
.avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #eaf0ff;
  border-radius: 50%;
  font-size: 12px;
  color: #3453ad;
  font-weight: 650;
}
main {
  padding: 26px 30px 20px;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}
.page-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 680;
}
h2 {
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -0.012em;
}
p.sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}
.controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.periods {
  display: flex;
  gap: 2px;
  border: 1px solid #dde5f0;
  background: #edf1f7;
  border-radius: 7px;
  padding: 3px;
}
.periods span {
  padding: 5px 10px;
  color: var(--muted);
  font-size: 13px;
}
.periods .selected {
  background: white;
  border-radius: 5px;
  box-shadow: 0 1px 3px #192b4b1a;
  color: #244bbf;
  font-weight: 650;
}
.date {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  padding: 0 11px;
  font-size: 13px;
  color: #40536f;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 620;
  white-space: nowrap;
}
.pill.good {
  background: #e8f6f1;
  color: #176a59;
}
.pill.watch {
  background: #fff3de;
  color: #92590e;
}
.pill.neutral {
  background: #eef2f8;
  color: #50627d;
}
.dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex: none;
  border-radius: 50%;
  background: #16937b;
}
.dot.amber {
  background: #e6aa46;
}
.panel,
.metrics {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 16px;
}
.metric {
  padding: 13px 17px 12px;
  min-width: 0;
}
.metric + .metric {
  border-left: 1px solid var(--line);
}
.metric-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #495d7a;
}
.metric-label .icon {
  color: #5b72ab;
}
.metric-label.queue-label .icon {
  color: #a66919;
}
.metric-main {
  height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.metric-value {
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -0.03em;
}
.metric-value.warn {
  color: #92590e;
}
.metric-foot {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.metric-foot strong {
  color: #167662;
  font-weight: 650;
}
.metric-foot .warn {
  color: #92590e;
}
.spark {
  width: 72px;
  height: 25px;
  flex: none;
}
.primary {
  display: grid;
  grid-template-columns: minmax(0, 2.12fr) minmax(350px, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.panel-head {
  padding: 15px 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.panel-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.legend {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.key {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #4d70e5;
}
.key.teal {
  background: #49ad9b;
}
.key.amber {
  background: #e7ac4c;
}
.key.off {
  background: #e8edf4;
}
.traffic {
  height: 337px;
  display: flex;
  flex-direction: column;
}
.traffic .legend {
  padding-top: 4px;
}
.chart-wrap {
  height: 231px;
  margin: 8px 17px 0 13px;
}
.chart-wrap svg {
  width: 100%;
  height: 100%;
}
.chart-footer {
  margin-top: auto;
  height: 42px;
  border-top: 1px solid #edf1f6;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 17px;
  font-size: 12px;
  color: var(--muted);
}
.chart-footer strong {
  color: #40536f;
  font-weight: 650;
}
.chart-footer .icon {
  color: #5773c3;
}
.delivery {
  height: 337px;
}
.delivery-body {
  padding: 13px 17px 0;
}
.stack {
  display: flex;
  gap: 3px;
  height: 10px;
  border-radius: 3px;
  overflow: hidden;
  margin: 0 0 10px;
}
.stack i {
  background: #329e86;
}
.stack i:nth-child(2) {
  background: #dc7884;
}
.stack i:nth-child(3) {
  background: #e5ac50;
}
.delivery table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.delivery th,
.delivery td {
  padding: 6px 0;
  border-bottom: 1px solid #edf1f6;
  text-align: left;
}
.delivery th {
  font-size: 12px;
  color: var(--muted);
  font-weight: 550;
}
.delivery td:last-child,
.delivery th:last-child,
.delivery td:nth-child(2),
.delivery th:nth-child(2) {
  text-align: right;
}
.delivery td:nth-child(2) {
  font-weight: 650;
}
.delivery td:last-child {
  color: var(--muted);
  width: 71px;
}
.table-state {
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-state i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex: none;
}
.queue-block {
  margin: 12px 17px 0;
}
.queue-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 7px;
}
.queue-age {
  font-size: 12px;
  color: #92590e;
  font-weight: 600;
}
.queue-meter {
  height: 6px;
  display: flex;
  gap: 3px;
  overflow: hidden;
  border-radius: 3px;
}
.queue-meter i:first-child {
  background: #e5ad55;
  flex: 9;
}
.queue-meter i:last-child {
  background: #a494e0;
  flex: 4;
}
.queue-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.queue-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.queue-legend strong {
  font-weight: 650;
  color: #3a4b64;
}
.secondary {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.99fr);
  gap: 16px;
}
.secondary .panel {
  height: 303px;
}
.availability-grid {
  padding: 12px 17px 0;
}
.uptime-row {
  display: grid;
  grid-template-columns: 79px minmax(0, 1fr) 66px;
  align-items: center;
  gap: 9px;
  height: 36px;
  font-size: 13px;
  border-bottom: 1px solid #edf1f6;
}
.uptime-row:last-of-type {
  border-bottom: 0;
}
.uptime-bars {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 3px;
}
.uptime-bars i {
  height: 14px;
  background: #85cbbb;
  border-radius: 2px;
}
.uptime-bars .issue {
  background: #e8ac48;
}
.uptime-bars .idle {
  background: #e8edf4;
}
.uptime-value {
  text-align: right;
  font-size: 12px;
  color: #3e5b56;
}
.uptime-value.issue {
  color: #92590e;
}
.timeline-axis {
  padding: 4px 75px 0 88px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--dim);
}
.service-footer {
  padding: 11px 17px 0;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
.service-footer .legend {
  gap: 10px;
}
.service-footer .key.teal {
  background: #85cbbb;
}
.resources-list {
  padding: 12px 17px 0;
}
.resource {
  margin-bottom: 12px;
}
.resource:last-child {
  margin-bottom: 0;
}
.resource-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  color: #3e506d;
  font-size: 13px;
}
.resource-label strong {
  font-weight: 650;
  color: var(--ink);
}
.resource-label small {
  color: var(--muted);
  font-size: 12px;
  margin-left: 4px;
}
.meter {
  height: 6px;
  background: #edf1f7;
  border-radius: 4px;
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  background: #5778e5;
  border-radius: 4px;
}
.resource:nth-child(2) .meter i {
  background: #7d6bd4;
}
.resource:nth-child(3) .meter i {
  background: #459f90;
}
.network {
  padding: 9px 0 0;
  border-top: 1px solid #edf1f6;
  margin-top: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #3e506d;
}
.network .rates {
  display: flex;
  gap: 10px;
  font-size: 12px;
  font-weight: 650;
}
.network .rates span:first-child {
  color: #345cc4;
}
.network .rates span:last-child {
  color: #167662;
}
.checks {
  padding: 8px 17px 0;
}
.check {
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  height: 36px;
  border-bottom: 1px solid #edf1f6;
  font-size: 13px;
}
.check:last-child {
  border-bottom: 0;
}
.check strong {
  font-weight: 650;
}
.check .desc {
  color: var(--muted);
  white-space: nowrap;
}
.check .pill {
  padding: 2px 6px;
  font-size: 11px;
}
.screen-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0 0;
  color: var(--dim);
  font-size: 12px;
}
.screen-footer .row {
  gap: 6px;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.profile {
  border: 0;
  background: transparent;
  padding: 0;
}
.demo {
  line-height: inherit;
}
.login-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}
.login-form {
  width: min(400px, 100%);
  padding: 26px;
}
.login-form h1 {
  margin-top: 14px;
  font-size: 23px;
}
.login-form label {
  margin: 21px 0 12px;
}
.login-form .form-error {
  margin-top: 12px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #415370;
  font-size: 13px;
}
input,
select {
  min-width: 0;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #d9e2ef;
  border-radius: 6px;
  background: white;
  color: var(--ink);
}
.button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: white;
  color: #415370;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.button:hover {
  background: #f0f4fb;
}
.primary-button {
  background: #345de1;
  border-color: #345de1;
  color: white;
}
.primary-button:hover {
  background: #284dc7;
}
.content-panel {
  padding: 17px;
}
.customer-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(270px, 0.33fr) minmax(0, 1fr);
}
.settings-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.group-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}
.group-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}
.group-list button {
  justify-content: space-between;
  white-space: normal;
}
.counter {
  display: inline-block;
  min-width: 18px;
  margin-left: 4px;
  font-size: 12px;
  font-weight: 600;
  color: inherit;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 13px;
}
.data-table th,
.data-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #e9edf4;
  text-align: left;
}
.data-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  background: #f6f8fc;
}
.data-table td:last-child {
  text-align: right;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table code {
  font-size: 12px;
}
.table-meter {
  width: 124px;
  margin-top: 5px;
}
.empty-state {
  color: var(--muted);
  font-size: 13px;
  padding: 20px 0;
}
.form-error {
  color: #9b324a;
  font-size: 13px;
  margin-bottom: 8px;
}
.form-error:empty {
  display: none;
}
.filter-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.filter-form .button {
  min-height: 36px;
}
.log-dates,
.log-pagination,
.log-pagination nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.log-pagination {
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.log-pagination label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.log-pagination .button:disabled {
  cursor: default;
}
.form-stack {
  display: grid;
  align-content: start;
  justify-items: stretch;
  gap: 12px;
  margin-top: 14px;
}
.form-stack > .button {
  justify-self: start;
}
.definition-list {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 10px;
  font-size: 13px;
}
.definition-list dt {
  color: var(--muted);
}
.definition-list dd {
  margin: 0;
}
dialog {
  width: min(465px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
}
dialog::backdrop {
  background: #15233955;
}
.dialog-header,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dialog-actions {
  justify-content: flex-end;
  margin-top: 14px;
}
.input-suffix {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}
.uptime-bars:has(.pill) {
  display: block;
}
@media (max-width: 1199px) {
  .shell {
    grid-template-columns: 186px minmax(0, 1fr);
  }
  .topbar,
  main {
    padding-left: 18px;
    padding-right: 18px;
  }
  .secondary {
    grid-template-columns: 1fr 1fr;
  }
  .primary,
  .customer-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .spark {
    display: none;
  }
}
@media (max-width: 750px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .side {
    padding-bottom: 0;
  }
  .side-foot,
  .nav-label {
    display: none;
  }
  .nav {
    display: flex;
    flex-wrap: wrap;
    margin: 4px 0;
  }
  .nav-item {
    height: 34px;
  }
  .topbar {
    height: 48px;
  }
  .profile {
    font-size: 0;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .secondary {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric {
    border-bottom: 1px solid var(--line);
  }
  .content-panel {
    overflow-x: auto;
  }
}
