@charset "UTF-8";
:root {
  --ink: #172d32;
  --muted: #5f7073;
  --paper: #f5f6f3;
  --line: #dbe1dd;
  --accent: #225f53;
  --white: #fff;
  --bad: #8b3c32;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
}
header {
  max-width: 1240px;
  margin: auto;
  padding: 28px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  line-height: 1.35;
  letter-spacing: -0.2px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 6px;
  font-weight: 500;
  color: var(--muted);
}
small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.mark {
  width: 35px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 10px 3px 10px 3px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 24px;
}
.identity,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.identity {
  font-size: 13px;
}
.private-note {
  font-size: 12px;
  color: var(--muted);
}
nav {
  max-width: 1152px;
  margin: auto;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 32px;
}
nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
}
nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--accent);
  font-weight: 650;
}
main {
  max-width: 1240px;
  padding: 48px 44px 80px;
  margin: auto;
  min-height: calc(100vh - 215px);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 550;
  margin-bottom: 12px;
}
h2 {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  font-weight: 550;
}
h3 {
  font-size: 18px;
  margin-bottom: 7px;
  font-weight: 550;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 15px;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 12px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}
.page-heading p {
  margin-bottom: 0;
}
.page-heading .eyebrow {
  margin-bottom: 12px;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 550;
  font-size: 13px;
  background: var(--white);
  color: var(--ink);
}
button:hover,
.button:hover {
  filter: brightness(0.96);
}
.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.secondary {
  background: transparent;
}
.quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding: 6px 8px;
}
.danger {
  border-color: transparent;
  background: transparent;
  color: var(--bad);
}
.full {
  width: 100%;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 30px 0 44px;
}
.stats > div {
  padding: 24px 20px 24px 0;
}
.stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}
.stats strong {
  display: block;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.section-heading a {
  font-size: 13px;
}
.device-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.device,
.panel,
.empty {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  padding: 24px;
  margin-bottom: 20px;
}
.device {
  margin-bottom: 0;
  min-width: 0;
}
.device-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.device h3 {
  overflow-wrap: anywhere;
}
.device-top > strong {
  text-align: right;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 500;
}
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1.8;
  background: #edf0ec;
  border: 1px solid #e2e7e1;
  border-radius: 4px;
  color: var(--muted);
  padding: 2px 7px;
}
.badge.good {
  color: #245c49;
  background: #eaf2eb;
  border-color: #dbe7dc;
}
.device dl {
  margin: 15px 0 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
}
.device .actions {
  gap: 4px;
}
.device .actions button {
  font-size: 12px;
  padding: 8px 12px;
}
.narrow {
  max-width: 560px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  max-width: 1150px;
  padding-top: 75px;
  padding-bottom: 110px;
}
.auth-intro h1 {
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin: 24px 0;
}
.auth-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
}
.intro-rule {
  height: 1px;
  background: var(--line);
  width: 50px;
  margin: 32px 0;
}
.auth-card {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.auth-card h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.auth-card > .muted {
  font-size: 13px;
  margin-bottom: 26px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 18px;
}
input,
textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd5ce;
  background: #fff;
  border-radius: 5px;
  color: var(--ink);
  margin-top: 7px;
  min-width: 0;
}
textarea {
  overflow-wrap: anywhere;
  resize: vertical;
  font-size: 13px;
}
input:focus,
textarea:focus {
  border-color: var(--accent);
}
.alert {
  padding: 14px 16px;
  background: #f6efe4;
  border-left: 3px solid #b58a42;
  border-radius: 3px;
  font-size: 13px;
  color: #6b512e;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  margin-bottom: 24px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  background: #f9faf7;
  font-weight: 600;
}
td,
th {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tr:last-child td {
  border-bottom: none;
}
td > a {
  font-weight: 600;
}
.invite-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: end;
}
.invite-form label {
  margin: 0;
}
.quota-form {
  display: flex;
  gap: 15px;
  align-items: end;
  margin-top: 24px;
  max-width: 560px;
}
.quota-form label {
  flex: 1;
  margin: 0;
}
.credential {
  max-width: 740px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 10px;
}
.credential [role="tablist"] {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 10px;
  margin: 26px 0;
}
.credential [role="tab"] {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--muted);
}
.credential [aria-selected="true"] {
  color: var(--accent);
  border-color: var(--accent);
}
.credential [role="tabpanel"] {
  padding: 5px 0 28px;
}
.credential [role="tabpanel"] p {
  font-size: 13px;
  color: var(--muted);
}
.qr {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 10px 0 18px;
}
.credential > .button {
  margin-top: 16px;
}
[hidden] {
  display: none !important;
}
.empty {
  padding: 42px;
  text-align: center;
  color: var(--muted);
}
footer {
  max-width: 1152px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
#notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 6px;
  font-size: 13px;
  max-width: 90%;
  padding: 12px 20px;
}
#notice:empty {
  display: none;
}
.skip {
  position: absolute;
  top: -60px;
  left: 10px;
  z-index: 10;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 850px) {
  header {
    padding: 22px 24px;
  }
  nav {
    margin: 0 24px;
    gap: 24px;
    overflow-x: auto;
  }
  main {
    padding: 32px 24px 56px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 520px;
    padding-top: 32px;
  }
  .auth-intro h1 {
    font-size: 34px;
  }
  .auth-intro > p:not(.eyebrow),
  .intro-rule,
  .auth-intro > span {
    display: none;
  }
  .auth-intro h1 br {
    display: none;
  }
  .auth-intro h1 {
    margin: 12px 0 0;
  }
  .auth-card {
    padding: 28px;
  }
  footer {
    margin: 0 24px;
  }
  .device-list {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats strong {
    font-size: 21px;
  }
  .invite-form {
    grid-template-columns: 1fr 1fr;
  }
  .invite-form button {
    grid-column: 1/-1;
  }
  .credential {
    padding: 22px;
  }
}
@media (max-width: 480px) {
  header {
    padding: 18px;
  }
  .brand {
    font-size: 13px;
    gap: 9px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .private-note {
    display: none;
  }
  .identity {
    gap: 3px;
  }
  .identity > span {
    display: none;
  }
  nav {
    margin: 0 18px;
    gap: 23px;
  }
  nav a {
    white-space: nowrap;
    font-size: 12px;
  }
  main {
    padding: 28px 18px 50px;
  }
  h1 {
    font-size: 29px;
  }
  .stats {
    margin: 24px 0 32px;
  }
  .stats > div {
    padding: 19px 10px 19px 0;
  }
  .stats strong {
    font-size: 19px;
  }
  .device {
    padding: 19px;
  }
  .device-top {
    gap: 12px;
  }
  .device-top > strong {
    font-size: 16px;
  }
  .auth-card {
    padding: 23px;
  }
  .auth-intro h1 {
    font-size: 30px;
  }
  .quota-form {
    flex-direction: column;
    align-items: stretch;
  }
  .credential [role="tab"] {
    font-size: 11px;
    padding: 10px;
  }
  .credential .actions {
    align-items: stretch;
    flex-direction: column;
  }
  footer {
    margin: 0 18px;
    flex-direction: column;
    gap: 7px;
  }
  .section-heading {
    align-items: baseline;
  }
  .section-heading a {
    font-size: 11px;
  }
}
