:root {
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #e6e8e9;
  background: #121617;
  color-scheme: dark;
  --panel: #1a2022;
  --line: #343d40;
  --muted: #a2afb3;
  --accent: #b3e3d0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 0 32px;
}
header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.brand {
  color: inherit;
  text-decoration: none;
  font-size: 17px;
  font-weight: 650;
}
.header-actions {
  display: flex;
  gap: 8px;
}
button,
a.open {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:hover,
a.open:hover {
  background: var(--line);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: var(--accent);
  color: #152a21;
  border-color: transparent;
  padding: 13px 19px;
}
.danger {
  color: #ffb6a3;
  border-color: #805348;
}
h1 {
  font-size: clamp(32px, 5vw, 50px);
  letter-spacing: -1.8px;
  line-height: 1.1;
  font-weight: 550;
  margin: 8px 0 24px;
}
h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
}
p {
  line-height: 1.6;
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.muted,
.access {
  color: var(--muted);
  font-size: 14px;
}
#signin,
#enrollment {
  max-width: 550px;
  padding: 85px 0 100px;
}
#dashboard {
  padding: 36px 0;
}
.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
}
.metric {
  background: var(--panel);
  padding: 18px 20px;
}
.metric p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.metric strong {
  font-size: 21px;
  font-weight: 500;
  display: block;
  margin-top: 8px;
}
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 25px;
}
.service {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 23px;
}
.service-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
}
.category {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 7px;
}
.service h2 {
  margin-bottom: 0;
}
.state {
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: 5px 8px;
  border-radius: 20px;
  color: var(--muted);
}
.state.good {
  color: var(--accent);
  border-color: #416554;
}
.service p {
  font-size: 14px;
}
.service-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.access {
  font-size: 12px !important;
  min-height: 20px;
}
.account {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.account summary {
  cursor: pointer;
  margin-bottom: 20px;
}
.passkey {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.account h2 {
  margin-top: 35px;
}
.account ol {
  padding: 0;
  list-style: none;
}
.account li {
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--muted);
}
.account time {
  display: inline-block;
  min-width: 160px;
}
label {
  display: block;
  font-size: 14px;
  margin-bottom: 20px;
}
input {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: inherit;
  font: inherit;
}
#message {
  min-height: 0;
  margin: 0;
}
#message:not(:empty) {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 20px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
dialog {
  max-width: 500px;
  width: calc(100% - 40px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: inherit;
}
dialog::backdrop {
  background: #000a;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 650px) {
  main {
    padding: 0 18px;
  }
  header {
    min-height: 80px;
  }
  .header-actions {
    gap: 5px;
  }
  .header-actions button {
    padding: 8px;
    font-size: 12px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .title-row {
    display: block;
  }
  footer {
    display: block;
  }
  footer span {
    display: block;
    margin-top: 8px;
  }
  .account time {
    display: block;
  }
}
@media (prefers-color-scheme: light) {
  :root {
    color: #22302c;
    background: #f5f5f0;
    color-scheme: light;
    --panel: #fff;
    --line: #d9dfdb;
    --muted: #61736c;
    --accent: #255b44;
  }
  .primary {
    color: #fff;
  }
  .state.good {
    color: #255b44;
    border-color: #b3cbbd;
  }
  .danger {
    color: #a43d2c;
    border-color: #dcb9af;
  }
}
