:root {
  color-scheme: light;
  --canvas: #f0f3f4;
  --paper: #fff;
  --ink: #26343b;
  --muted: #627078;
  --line: #dce3e6;
  --graphite: #242e34;
  --petrol: #006e76;
  --aqua: #72d7cf;
  --danger: #a72b35
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas)
}

a {
  color: var(--petrol);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

button,
input,
select {
  font: inherit
}

button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #b7c4ca;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none
}

button:hover,
.button:hover {
  background: #e8f2f2;
  text-decoration: none
}

button:disabled {
  cursor: not-allowed;
  color: #78848a;
  background: #f0f2f3;
  border-color: #dce1e3
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #27a5ab;
  outline-offset: 3px
}

.primary {
  background: var(--petrol);
  border-color: var(--petrol);
  color: #fff
}

.primary:hover {
  background: #00535a;
  color: #fff
}

.danger-button {
  color: var(--danger)
}

input,
select {
  display: block;
  min-height: 43px;
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #b7c4ca;
  border-radius: 3px;
  background: #fff;
  color: var(--ink)
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600
}

label input,
label select {
  margin-top: 7px
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  padding: 32px 18px 20px;
  background: var(--graphite);
  color: #fff;
  display: flex;
  flex-direction: column
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 1.5px;
  padding: 0 8px 40px
}

.brand:hover {
  text-decoration: none
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--petrol);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  border-top: 3px solid var(--aqua)
}

.brand-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: #aebfc7
}

.nav-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #92a4ae;
  padding: 12px
}

.sidebar nav {
  display: grid;
  gap: 5px
}

.sidebar nav a {
  color: #c2cdd3;
  border-left: 3px solid transparent;
  padding: 12px 15px;
  border-radius: 2px
}

.sidebar nav a:hover {
  background: #303e46;
  text-decoration: none
}

.sidebar nav a[aria-current] {
  background: #35464d;
  border-color: var(--aqua);
  color: #fff
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid #415059;
  padding: 20px 12px 0;
  font-size: 11px;
  letter-spacing: 1px
}

.sidebar-footer small {
  display: block;
  color: #aebfc7;
  margin-top: 8px
}

.workspace {
  margin-left: 236px;
  min-height: 100vh
}

.topbar {
  min-height: 74px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 36px;
  font-size: 11px;
  letter-spacing: .6px
}

.identity {
  display: flex;
  align-items: center;
  gap: 20px;
  letter-spacing: 0
}

.identity a,
.text-button {
  font-size: 12px
}

.text-button {
  border: 0;
  padding: 0;
  background: none;
  min-height: 30px;
  color: var(--petrol)
}

main {
  max-width: 1550px;
  margin: auto;
  padding: 38px 36px 20px
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px
}

.eyebrow,
.card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--muted);
  text-transform: uppercase
}

.eyebrow {
  color: var(--petrol)
}

h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.6px;
  margin: 10px 0 12px
}

h2 {
  font-size: 19px;
  line-height: 1.3;
  margin: 8px 0 18px
}

p {
  margin: 10px 0 18px
}

.page-heading p {
  margin: 0;
  color: var(--muted)
}

.grid {
  display: grid;
  gap: 20px;
  margin: 20px 0
}

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 25px;
  box-shadow: 0 2px 3px #20323d04
}

.status-card {
  border-top: 3px solid #b7c6cc
}

.status-card h2 {
  font-size: 24px;
  margin-top: 15px
}

.big-state {
  font-size: 19px;
  font-weight: 600
}

.status-dot {
  display: inline-block;
  height: 8px;
  width: 8px;
  background: var(--aqua);
  margin-right: 9px;
  border-radius: 50%
}

.offline {
  background: #94a2aa
}

.metric {
  font-size: 21px;
  font-weight: 650;
  margin: 16px 0 2px
}

.badge,
.tag {
  display: inline-block;
  padding: 5px 10px;
  background: #edf1f3;
  border: 1px solid var(--line);
  color: #596970;
  font-size: 11px;
  font-weight: 650;
  border-radius: 3px;
  white-space: nowrap
}

.healthy {
  background: #e7f5f2;
  border-color: #c7e6df;
  color: #16665b
}

.tag {
  padding: 2px 6px;
  margin-left: 6px;
  font-size: 9px
}

.alert {
  padding: 16px 20px;
  background: #e5f1f2;
  border: 1px solid #c8e2e4;
  border-left: 3px solid var(--petrol);
  color: #27535a;
  border-radius: 3px;
  margin: 18px 0 24px;
  font-size: 14px
}

.danger {
  color: var(--danger);
  border-color: #e9bfc3;
  border-left-color: var(--danger);
  background: #fcf0f1
}

.muted,
.fine-print {
  color: var(--muted)
}

.fine-print {
  font-size: 12px;
  margin: 18px 0 0
}

.inline-link {
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  padding: 7px 0
}

.actions,
.inline-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center
}

.actions button,
.inline-form button {
  font-size: 12px
}

.inline-form select {
  width: auto;
  font-size: 12px
}

.footnote {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 12px
}

.footnote span {
  color: var(--muted)
}

.page-footer {
  max-width: 1550px;
  margin: 0 auto;
  padding: 20px 36px 28px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  color: #77878e
}

.auth-workspace {
  min-height: 100vh;
  display: flex;
  flex-direction: column
}

.auth-workspace main {
  width: 100%;
  flex: 1;
  display: grid;
  align-items: center
}

.auth-workspace .page-footer {
  width: 100%
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 430px;
  max-width: 1100px;
  gap: 70px;
  align-items: center;
  margin: 50px auto
}

.auth-intro h1 {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -1.8px;
  margin: 22px 0
}

.auth-intro p {
  color: var(--muted);
  font-size: 17px
}

.auth-intro small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px
}

.intro-rule {
  width: 70px;
  height: 4px;
  background: var(--petrol);
  margin: 45px 0 22px
}

.auth-card {
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--petrol);
  border-radius: 4px;
  box-shadow: 0 12px 40px #1f303c0a
}

.auth-card h2 {
  font-size: 27px;
  margin: 26px 0 6px
}

.stack {
  display: grid;
  gap: 20px;
  margin-top: 28px
}

.stack .primary {
  margin-top: 6px;
  width: 100%;
  justify-content: space-between
}

.centered {
  max-width: 580px;
  width: 100%;
  margin: 50px auto
}

.parameter-list {
  margin: 0
}

.parameter-list>div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f2
}

.parameter-list>div:last-child {
  border-bottom: 0
}

dt {
  color: var(--muted);
  font-size: 13px
}

dd {
  margin: 0;
  text-align: right;
  font-size: 13px;
  overflow-wrap: anywhere
}

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px
}

.empty-state {
  text-align: center;
  padding: 70px 30px
}

.empty-symbol {
  font-size: 48px;
  color: #8aa0aa
}

.create-user {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 20px;
  align-items: end
}

.table-card {
  padding: 0;
  overflow: hidden
}

.table-scroll {
  overflow-x: auto
}

table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 13px
}

caption {
  text-align: left;
  font-weight: 650;
  font-size: 16px;
  padding: 22px
}

th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .6px;
  background: #f8fafb
}

td,
th {
  padding: 16px;
  border-top: 1px solid var(--line)
}

td {
  vertical-align: middle
}

.cell-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px
}

.credential-card {
  max-width: 780px;
  margin: 30px auto
}

#temporary-password {
  font-size: 16px;
  user-select: all
}

@media(min-width:1600px) {
  main {
    padding-top: 48px
  }

  .grid {
    gap: 26px
  }

  .card {
    padding: 30px
  }

  .table-card {
    padding: 0
  }
}

@media(max-width:1100px) {
  .sidebar {
    width: 195px;
    padding-inline: 12px
  }

  .workspace {
    margin-left: 195px
  }

  .topbar,
  main,
  .page-footer {
    padding-left: 24px;
    padding-right: 24px
  }

  .identity {
    gap: 10px
  }

  .auth-layout {
    gap: 35px;
    grid-template-columns: 1fr 390px
  }

  .auth-intro h1 {
    font-size: 38px
  }

  .create-user {
    grid-template-columns: 1fr 1fr
  }

  .create-user button {
    grid-column: 1/-1
  }

  .footnote {
    align-items: start;
    flex-direction: column
  }

  .topbar>span {
    display: none
  }
}

@media(max-width:760px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 16px
  }

  .brand {
    padding: 0 0 15px
  }

  .nav-label,
  .sidebar-footer {
    display: none
  }

  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 4px
  }

  .sidebar nav a {
    white-space: nowrap;
    padding: 9px 12px
  }

  .workspace {
    margin-left: 0
  }

  .topbar {
    padding: 12px 16px
  }

  .identity {
    flex-wrap: wrap
  }

  main {
    padding: 24px 16px
  }

  .two,
  .three {
    grid-template-columns: 1fr
  }

  .auth-layout {
    grid-template-columns: 1fr;
    margin: 10px auto;
    gap: 25px;
    max-width: 480px
  }

  .auth-intro h1 {
    font-size: 30px
  }

  .intro-rule,
  .auth-intro small {
    display: none
  }

  .auth-card {
    padding: 25px
  }

  .page-heading {
    align-items: start;
    flex-direction: column
  }

  .page-footer {
    padding: 20px 16px;
    gap: 20px
  }

  .parameter-list>div {
    flex-wrap: wrap
  }

  .create-user {
    grid-template-columns: 1fr
  }

  .centered {
    margin: 20px auto
  }
}
