:root {
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  color: #171717;
  background: #fff;
  font-synthesis: none;
  --muted: #777;
  --line: #e7e7e3;
  --paper: #f8f8f5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #333;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.brand {
  height: 91px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5.5%;
  border-bottom: 1px solid var(--line);
}
.brand > a {
  font-size: 27px;
  font-weight: 550;
  letter-spacing: 2px;
}
.brand a span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 22px;
  padding-left: 22px;
  border-left: 1px solid #ccc;
}
.brand #identity {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  font-weight: 500;
}
p {
  line-height: 1.9;
}
.login-view {
  max-width: 1100px;
  margin: 0 auto;
  min-height: calc(100vh - 91px);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 120px;
  align-items: center;
  padding: 70px 36px;
}
.login-intro h1 {
  font-size: 44px;
  letter-spacing: -1px;
  line-height: 1.55;
  margin: 22px 0;
}
.login-intro p {
  font-size: 14px;
  color: var(--muted);
}
.trail-mark {
  width: 260px;
  margin-top: 55px;
}
.trail-mark svg {
  width: 100%;
  fill: none;
  stroke: #272727;
  stroke-width: 1.2;
}
.login-form h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.login-form label {
  margin-top: 27px;
}
.login-form .primary {
  width: 100%;
  margin-top: 30px;
  justify-content: space-between;
}
.login-form .footnote {
  margin-top: 24px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: #525252;
}
input,
select {
  background: white;
  color: #171717;
  border: 1px solid #d6d6d1;
  border-radius: 0;
  padding: 13px 12px;
  min-height: 46px;
  font-size: 14px;
  min-width: 0;
}
input::placeholder {
  color: #999;
  font-size: 13px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  background: #191919;
  color: white;
  padding: 14px 22px;
  font-size: 13px;
  min-height: 46px;
}
.primary:hover:not(:disabled) {
  background: #363636;
}
.quiet {
  padding: 10px 0;
  font-size: 12px;
  white-space: nowrap;
}
.quiet:hover:not(:disabled) {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footnote {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.message {
  font-size: 12px;
  min-height: 23px;
  color: #6e392c;
  margin: 14px 0;
  overflow-wrap: anywhere;
}
.workspace {
  max-width: 1520px;
  margin: auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 0 5.5%;
  gap: 55px;
}
aside {
  padding-top: 47px;
  border-right: 1px solid var(--line);
  min-height: calc(100vh - 91px);
  position: relative;
}
nav {
  margin-top: 25px;
  padding-right: 28px;
}
nav button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 20px 0;
  color: #858585;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
nav button span {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
nav button[aria-current="page"] {
  color: #171717;
  font-weight: 550;
}
nav button[aria-current="page"] span {
  border-bottom: 1px solid #171717;
  padding-bottom: 3px;
}
.sidebar-note {
  font-size: 10px;
  color: #999;
  margin-top: 90px;
}
.content {
  min-width: 0;
  padding-top: 43px;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  gap: 28px;
}
.stats div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.stats span {
  font-size: 11px;
  color: var(--muted);
}
.stats strong {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 450;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}
.stats small {
  font-size: 10px;
  color: #888;
  min-height: 13px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 39px 0 28px;
}
.section-heading h1 {
  font-size: 29px;
  letter-spacing: -0.5px;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.invite-form {
  display: grid;
  grid-template-columns: 95px 110px minmax(120px, 1fr) auto;
  gap: 14px;
  align-items: end;
}
.invite-form .primary {
  margin-bottom: 0;
}
.invite-form select {
  padding: 13px 9px;
}
.invite-form + .footnote {
  margin-top: 12px;
}
.new-invite {
  margin-top: 20px;
  background: var(--paper);
  padding: 21px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.new-invite strong {
  font-size: 13px;
  font-weight: 500;
}
.new-invite p {
  font-size: 11px;
  color: #777;
  margin: 5px 0 12px;
}
.new-invite output {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
  user-select: all;
}
.table-wrap {
  overflow-x: auto;
  min-height: 240px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th {
  font-size: 11px;
  font-weight: 400;
  color: #888;
  background: var(--paper);
  padding: 13px 12px;
  white-space: nowrap;
}
td {
  padding: 20px 12px;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
  vertical-align: middle;
  max-width: 210px;
  overflow-wrap: anywhere;
}
td:first-child,
th:first-child {
  padding-left: 16px;
}
td:last-child {
  text-align: right;
  white-space: nowrap;
}
.subline {
  display: block;
  color: #999;
  font-size: 10px;
  margin-top: 4px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.status:before {
  content: "";
  width: 5px;
  height: 5px;
  background: #222;
  border-radius: 50%;
}
.status.off {
  color: #999;
}
.status.off:before {
  background: #bbb;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #999;
  padding: 20px 0;
}
.pagination > div {
  display: flex;
  gap: 26px;
}
.search {
  display: flex;
  gap: 20px;
  max-width: 380px;
}
.search input {
  width: 100%;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #aaa;
  padding: 20px 0 35px;
  margin-top: 30px;
}
dialog {
  padding: 32px;
  border: 1px solid #ddd;
  max-width: 440px;
  width: calc(100% - 32px);
  color: #171717;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.22);
}
dialog h2 {
  font-size: 23px;
  margin: 17px 0;
}
dialog p {
  font-size: 13px;
  color: #777;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  margin-top: 30px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1600px) {
  .workspace {
    padding: 0 45px;
  }
}
@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 160px 1fr;
    gap: 30px;
    padding: 0 30px;
  }
  .invite-form {
    grid-template-columns: 85px 95px 1fr;
  }
  .invite-form .primary {
    grid-column: 1/-1;
    justify-self: start;
  }
  .login-view {
    gap: 60px;
  }
  .login-intro h1 {
    font-size: 38px;
  }
}
@media (max-width: 700px) {
  .brand {
    height: 73px;
    padding: 0 24px;
  }
  .brand > a {
    font-size: 24px;
  }
  .brand #identity {
    gap: 12px;
  }
  .login-view {
    display: block;
    padding: 45px 28px;
  }
  .login-intro h1 {
    font-size: 31px;
    line-height: 1.5;
  }
  .login-intro p,
  .trail-mark {
    display: none;
  }
  .login-form {
    margin-top: 48px;
    max-width: 420px;
  }
  .login-intro .eyebrow {
    font-size: 10px;
  }
  .workspace {
    display: block;
    padding: 0 22px;
  }
  aside {
    min-height: 0;
    border: 0;
    padding-top: 25px;
  }
  aside > .eyebrow,
  .sidebar-note {
    display: none;
  }
  nav {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 28px;
  }
  nav button {
    padding: 15px 0;
    font-size: 13px;
    gap: 12px;
  }
  nav button span {
    display: none;
  }
  .content {
    padding-top: 30px;
  }
  .stats {
    gap: 12px;
  }
  .stats strong {
    font-size: 30px;
  }
  .stats span {
    font-size: 10px;
  }
  .stats small {
    font-size: 9px;
  }
  .section-heading {
    padding: 30px 0 25px;
  }
  .section-heading h1 {
    font-size: 25px;
  }
  .invite-form {
    grid-template-columns: 1fr 1fr;
  }
  .label-field {
    grid-column: 1/-1;
  }
  .invite-form .primary {
    justify-self: stretch;
  }
  .new-invite {
    flex-direction: column;
  }
  table {
    min-width: 620px;
  }
  footer {
    display: block;
    line-height: 2;
  }
  footer span {
    display: block;
  }
  .pagination > div {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
