:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172335;
  background: #f5f7fa;
  font-size: 15px;
  --blue: #184dd4;
  --muted: #607085;
  --line: #e1e6ed;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 5vw;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.8px;
  color: #152033;
  text-decoration: none;
}
.logo {
  height: 34px;
  width: 34px;
  background: #184dd4;
  color: white;
  border-radius: 10px;
  padding: 6px;
  display: inline-flex;
}
.tag,
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.8px;
  color: var(--muted);
}
nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
main {
  width: 100%;
  margin: 0 auto;
  flex: 1;
  padding: 65px 22px 55px;
}
.narrow {
  max-width: 470px;
}
.wide {
  max-width: 1120px;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.8px;
  line-height: 1.15;
  margin: 12px 0 10px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}
p {
  line-height: 1.55;
}
.muted {
  color: var(--muted);
}
.small,
.hint {
  font-size: 12px;
  color: var(--muted);
}
.hint {
  text-align: center;
  margin: 10px 0 18px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  margin: 24px 0;
  box-shadow: 0 8px 28px #132b4810;
}
.section-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}
.separator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  margin: 21px 0;
}
.separator:before,
.separator:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 16px;
}
input,
select {
  display: block;
  width: 100%;
  padding: 12px 13px;
  font: inherit;
  font-weight: 400;
  border: 1px solid #cfd8e4;
  background: #fff;
  color: #172335;
  border-radius: 8px;
  margin-top: 7px;
  min-height: 44px;
}
input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #9bb9ff;
  outline-offset: 2px;
}
button {
  font: inherit;
  font-weight: 650;
  border: 1px solid #cbd5e2;
  color: #22304a;
  background: white;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  min-height: 44px;
}
button:hover {
  background: #f1f5fc;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.primary,
form button {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.primary:hover,
form button:hover {
  background: #123aa4;
}
.passkey span {
  margin-right: 8px;
}
.error {
  color: #a32228;
  background: #fff2f2;
  border: 1px solid #f4caca;
  border-radius: 8px;
  padding: 10px;
}
.success {
  color: #15734d;
}
.textlink {
  display: block;
  margin-top: 18px;
  font-size: 13px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.grid .panel {
  margin: 0;
}
.metric {
  font-size: 30px;
  font-weight: 700;
  margin: 4px 0;
}
.status {
  font-size: 12px;
  font-weight: 650;
  background: #eaf0f7;
  color: #40506a;
  padding: 5px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.status.on {
  background: #e9f5ee;
  color: #23734b;
}
.headrow,
.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.item {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.item:first-child {
  border-top: 0;
}
.item p {
  margin: 4px 0;
}
.item form,
.inlineform {
  margin: 0;
}
.item button,
.inlineform button {
  width: auto;
  font-size: 12px;
  padding: 8px 12px;
  min-height: 34px;
}
.outline button {
  background: white;
  color: #293c55;
  border-color: #cbd5e2;
}
.outline button:hover {
  background: #edf2fa;
}
.danger button {
  background: white;
  color: #a32228;
  border-color: #e5c2c2;
}
.tablewrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
code {
  overflow-wrap: anywhere;
  font-size: 12px;
}
img.qr {
  width: 185px;
  height: 185px;
  display: block;
  border: 1px solid var(--line);
  margin: 12px auto;
}
footer {
  padding: 22px 5vw;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  background: #fff;
}
.full {
  grid-column: 1/-1;
}
@media (max-width: 700px) {
  header {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    padding: 13px 18px;
  }
  .tag {
    display: none;
  }
  nav {
    font-size: 12px;
    gap: 10px;
  }
  main {
    padding-top: 36px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 20px;
  }
  h1 {
    font-size: 30px;
  }
  footer span {
    display: none;
  }
}
