:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'Microsoft YaHei',
    sans-serif;
  color: #172d37;
  background: #f3f6f7;
  font-size: 14px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 230px;
  padding: 36px 25px;
  background: #112b35;
  color: #e3edf0;
}
.brand {
  font-size: 25px;
  font-weight: 750;
  color: white;
  text-decoration: none;
}
.brand span {
  color: #7fddd1;
}
aside nav {
  display: grid;
  gap: 8px;
  margin: 42px 0;
}
aside nav a {
  color: #d5e4e8;
  text-decoration: none;
  padding: 11px;
  border-radius: 6px;
}
aside nav a:hover {
  background: #21424e;
}
aside small {
  position: absolute;
  bottom: 30px;
  color: #aac4cc;
}
main {
  max-width: 1320px;
  margin-left: 230px;
  padding: 36px 5%;
}
header,
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
h1 {
  font-size: 32px;
  margin: 3px 0 8px;
  letter-spacing: -1px;
}
h2 {
  font-size: 20px;
  margin-top: 0;
}
h3 {
  font-size: 16px;
}
.eyebrow {
  color: #428475;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}
.muted {
  color: #667c85;
  font-size: 13px;
}
.badge {
  border: 1px solid #cbdcde;
  border-radius: 30px;
  padding: 6px 13px;
  font-size: 12px;
  background: #e9f3f0;
}
.auth,
section {
  background: #fff;
  border: 1px solid #dee7e9;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  scroll-margin-top: 24px;
}
section section {
  margin: 0;
}
.auth form,
.inline {
  display: flex;
  gap: 12px;
  align-items: end;
}
.auth label {
  flex: 1;
}
label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
input {
  padding: 11px 12px;
  border: 1px solid #cad9dd;
  border-radius: 6px;
  background: white;
  min-width: 0;
  width: 100%;
  font: inherit;
  color: #173541;
}
input:focus {
  outline: 2px solid #8cd2c9;
  outline-offset: 1px;
}
button {
  border: 0;
  border-radius: 6px;
  padding: 11px 17px;
  background: #147568;
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
button:hover {
  filter: brightness(0.95);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  color: #265462;
  border: 1px solid #c9dadd;
  background: #f6f9fa;
}
.auth button,
.inline button {
  margin-bottom: 14px;
}
.grid,
.grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.grid-form {
  margin-top: 20px;
  gap: 12px 20px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 12px;
}
.card {
  border: 1px solid #dbe7e8;
  padding: 16px;
  border-radius: 9px;
}
.card strong {
  font-size: 16px;
  display: block;
}
.card p {
  margin: 5px 0 14px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}
.check input {
  width: auto;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  background: #f1f6f7;
  border-radius: 7px;
  padding: 15px;
}
#notice {
  position: sticky;
  top: 10px;
  background: #fff7e7;
  border: 1px solid #e2cc9d;
  border-radius: 8px;
  padding: 14px;
  z-index: 2;
}
#device-detail {
  margin-top: 25px;
  border-top: 1px solid #e0e8ea;
  padding-top: 20px;
}
.row {
  padding: 12px 0;
  border-bottom: 1px solid #e7edef;
  overflow-wrap: anywhere;
}
.row a {
  color: #147568;
}
.row button {
  margin-left: 10px;
  padding: 5px 10px;
  font-size: 12px;
}
summary {
  cursor: pointer;
  color: #147568;
  font-weight: 600;
}
footer {
  color: #70848b;
  font-size: 12px;
  margin: 30px 0;
}
#secret-output {
  color: #815222;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  aside {
    position: relative;
    width: auto;
    padding: 20px;
  }
  aside nav {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0 0;
    gap: 5px;
  }
  aside small {
    display: none;
  }
  main {
    margin: 0;
    padding: 24px 5%;
  }
  .grid,
  .grid-form {
    grid-template-columns: 1fr;
  }
  .auth form {
    display: block;
  }
  header {
    align-items: start;
  }
  .inline {
    flex-wrap: wrap;
  }
  h1 {
    font-size: 26px;
  }
}
