:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #252334;
  background: #f7f8fc;
  --bg: #f7f8fc;
  --card: #fff;
  --text: #252334;
  --muted: #757486;
  --line: #e9e9f1;
  --purple: #7153d9;
  --tint: #f1edfc;
  --input: #fff;
  --danger: #b93953;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: var(--purple);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
h1,
h2,
h3,
p {
  margin: 0 0 14px;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.1px;
  line-height: 1.2;
  font-weight: 720;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.35px;
  line-height: 1.35;
}
p {
  color: var(--muted);
}
small,
.small {
  font-size: 12px;
  color: var(--muted);
}
strong {
  font-weight: 620;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 13px;
}
code {
  overflow-wrap: anywhere;
}
.skip {
  position: fixed;
  top: -100px;
  left: 15px;
  padding: 8px 20px;
  z-index: 99;
  background: var(--card);
}
.skip:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid #a68af4;
  outline-offset: 4px;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 252px;
  flex: 0 0 252px;
  background: var(--card);
  border-right: 1px solid var(--line);
  padding: 36px 20px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 740;
  letter-spacing: -0.6px;
  font-size: 20px;
}
.brand:hover {
  text-decoration: none;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2.3px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--muted);
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: var(--purple);
  color: white;
  font-size: 29px;
  font-weight: 780;
  letter-spacing: -5px;
  padding-right: 5px;
  line-height: 1;
}
.brand-mark span {
  opacity: 0.7;
}
.sidebar .brand {
  margin: 0 10px 49px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 650;
  margin: 0 16px 12px;
}
nav {
  display: grid;
  gap: 5px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 15px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
}
nav a > span {
  font-size: 19px;
  line-height: 1;
  width: 20px;
  text-align: center;
}
nav a:hover,
nav a[aria-current] {
  color: var(--purple);
  background: var(--tint);
  text-decoration: none;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 22px;
  font-size: 12px;
}
.sidebar-bottom > div {
  flex: 1;
  min-width: 0;
}
.sidebar-bottom strong,
.sidebar-bottom small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--purple);
  font-size: 16px;
}
.icon-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  padding: 5px;
}
.workspace {
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 79px;
  border-bottom: 1px solid var(--line);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.topbar a {
  color: var(--muted);
}
.main {
  max-width: 1230px;
  padding: 42px 48px 54px;
  margin: auto;
}
.page-heading {
  margin-bottom: 30px;
}
.page-heading p:last-child {
  margin: 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.9px;
  font-weight: 750;
  color: var(--purple);
  margin-bottom: 10px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 23px;
  box-shadow: 0 3px 12px #22194502;
}
.grid {
  display: grid;
  gap: 24px;
}
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid > .card {
  margin: 0;
}
.grid + .card,
.grid + .grid {
  margin-top: 24px;
}
.grid {
  margin-bottom: 24px;
}
.stack {
  display: grid;
  gap: 17px;
}
.stack p {
  margin: 0;
}
.stack a.form-link {
  margin-top: -7px;
  text-align: right;
  font-size: 12px;
}
.stack label {
  margin: 0;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
input:not([type="checkbox"]),
select {
  display: block;
  width: 100%;
  border: 1px solid #dcdde7;
  border-radius: 8px;
  padding: 11px 12px;
  margin-top: 7px;
  outline-offset: 2px;
  background: var(--input);
  color: var(--text);
  font-size: 14px;
}
input[readonly] {
  background: var(--bg);
  color: var(--muted);
}
input::placeholder {
  color: #9a98a9;
  font-size: 12px;
}
input[type="checkbox"] {
  accent-color: var(--purple);
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 17px;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.6;
  text-decoration: none;
}
a.button:hover {
  text-decoration: none;
  filter: brightness(0.97);
}
button:hover {
  filter: brightness(0.97);
}
.primary {
  background: var(--purple);
  color: #fff;
}
.primary span {
  margin-left: auto;
}
.secondary {
  background: var(--card);
  border-color: #dadbe6;
  color: var(--text);
}
.discord {
  background: #5865f2;
  color: white;
}
.light {
  background: white;
  color: #6242c1;
}
.subtle {
  background: var(--bg);
  color: var(--muted);
  white-space: nowrap;
}
.danger-outline {
  border-color: #efd7dc;
  background: transparent;
  color: var(--danger);
}
.danger {
  background: var(--danger);
  color: white;
}
.full {
  width: 100%;
  margin-top: 12px;
}
.help {
  font-size: 12px;
  line-height: 1.7;
}
.muted {
  color: var(--muted);
}
.block {
  display: block;
}
.break {
  overflow-wrap: anywhere;
}
.compact {
  max-width: 430px;
}
.spaced {
  margin-top: 16px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 0;
}
.badge {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--tint);
  color: var(--purple);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}
.badge.good {
  color: #2a806a;
  background: #eaf6ef;
}
.text-link {
  font-size: 13px;
  font-weight: 650;
}
.welcome-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(115deg, #7254d9, #9a78e2);
  border-radius: 17px;
  padding: 32px 36px;
  color: white;
  margin-bottom: 25px;
  overflow: hidden;
}
.welcome-banner h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  margin: 16px 0 10px;
}
.welcome-banner p {
  color: #eeebff;
  font-size: 13px;
  margin-bottom: 22px;
}
.pill {
  display: inline-block;
  padding: 5px 10px;
  background: #ffffff20;
  border: 1px solid #ffffff30;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.4px;
}
.banner-monogram {
  font-size: 111px;
  letter-spacing: -17px;
  font-weight: 800;
  line-height: 0.9;
  color: #ffffffb3;
  transform: rotate(-8deg);
  padding: 0 30px 0 45px;
}
.banner-monogram span {
  display: block;
  font-size: 9px;
  letter-spacing: 6px;
  margin-top: 20px;
  transform: rotate(8deg);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
  margin-bottom: 25px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 21px 24px;
  color: var(--text);
}
.stat:hover {
  text-decoration: none;
  border-color: #c9bbea;
}
.stat > span {
  color: var(--muted);
  font-size: 12px;
}
.stat > strong {
  font-size: 31px;
  line-height: 1.35;
}
.stat > strong.status-word {
  font-size: 23px;
  padding: 5px 0;
}
.stat > small {
  font-size: 10px;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.list-row > div {
  min-width: 0;
}
.list-row small {
  display: block;
  font-size: 11px;
  margin-top: 4px;
}
.list-row strong {
  font-size: 13px;
}
.list-row form {
  flex-shrink: 0;
}
.check-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  margin: 0;
}
.check-row strong {
  font-size: 13px;
}
.check-row small {
  display: block;
  margin-top: 3px;
  font-weight: 400;
  font-size: 10px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.form-actions p {
  margin: 0;
}
.form-actions button {
  flex-shrink: 0;
}
.password-form {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  margin-bottom: 0;
}
.password-form label {
  margin: 0;
}
.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 700;
}
.purple {
  color: var(--purple);
  background: var(--tint);
}
.blue {
  color: #4c86c7;
  background: #eaf3fc;
}
.empty {
  text-align: center;
  padding: 55px 30px;
}
.empty .service-icon {
  margin: 0 auto 20px;
}
.empty p {
  max-width: 500px;
  margin: 0 auto 25px;
}
.empty-inline {
  padding: 12px 0;
  font-size: 12px;
}
.danger-zone {
  border-color: #eed5dc;
}
.notice {
  padding: 13px 17px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13px;
  margin-bottom: 23px;
}
.notice.info {
  background: var(--tint);
  border-color: #e4dcf6;
  color: #685497;
}
.notice.success {
  background: #eaf6ef;
  color: #277556;
  border-color: #d4eadf;
}
.notice.error {
  background: #fbedef;
  color: #a4384d;
  border-color: #f1d3d9;
}
.client-message {
  font-size: 12px;
  color: var(--danger);
  margin-top: 12px;
}
.client-message:empty {
  display: none;
}
.qr {
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 12px;
  margin: 25px auto;
  max-width: 260px;
}
.qr svg {
  display: block;
  width: 100%;
  height: auto;
}
.secret {
  display: block;
  text-align: center;
  padding: 15px;
  border: 1px dashed var(--line);
  margin-bottom: 24px;
  letter-spacing: 1px;
  word-break: break-all;
}
.recovery-codes {
  padding: 22px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 10px;
  line-height: 2;
  text-align: center;
  font-size: 16px;
}
.scope-list {
  padding-left: 22px;
  font-size: 14px;
  margin-bottom: 24px;
}
.scope-list li {
  padding: 4px 0;
}
.narrow {
  max-width: 510px;
  margin: 20px auto 45px;
}
.narrow h1 {
  font-size: 27px;
}
.narrow p {
  font-size: 14px;
}
footer {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 48px 28px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  gap: 20px;
}
.public-shell {
  max-width: 1220px;
  margin: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 50px;
}
.public-header > a:last-child {
  font-size: 12px;
  color: var(--muted);
}
.public-main {
  flex: 1;
  padding: 25px 50px 45px;
}
.public-shell footer {
  margin: 0;
  width: 100%;
  padding: 20px 50px;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
  min-height: 650px;
}
.intro h1 {
  font-size: 51px;
  letter-spacing: -2.1px;
  line-height: 1.13;
  margin: 20px 0;
}
.intro > p {
  max-width: 430px;
  font-size: 14px;
  line-height: 1.9;
}
.intro .pill {
  background: var(--tint);
  color: var(--purple);
  border-color: #e4ddf7;
}
.intro-note {
  font-size: 11px !important;
  display: flex;
  align-items: center;
  gap: 9px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8f76d6;
}
.login-card {
  padding: 34px;
  box-shadow: 0 12px 45px #30246307;
  margin: 0;
}
.login-card h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
}
.login-card > .muted {
  font-size: 13px;
  margin-bottom: 26px;
}
.login-card .stack {
  gap: 14px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
  margin: 24px 0 3px;
}
.divider:before,
.divider:after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}
.card-foot {
  text-align: center;
  font-size: 12px;
  margin: 23px 0 12px;
}
.login-card > .small {
  display: block;
  text-align: center;
  font-size: 10px;
}
.orbit {
  position: relative;
  width: 330px;
  height: 230px;
  margin: 24px 0 16px;
}
.orbit-ring {
  position: absolute;
  border: 1px solid #ddd4f4;
  border-radius: 50%;
  width: 270px;
  height: 175px;
  top: 25px;
  left: 24px;
  transform: rotate(-14deg);
}
.orbit-ring:after {
  content: "";
  position: absolute;
  inset: 21px;
  border: 1px dashed #e3dcf5;
  border-radius: 50%;
}
.orbit-core {
  position: absolute;
  left: 132px;
  top: 77px;
  width: 68px;
  height: 68px;
  border-radius: 23px;
  background: linear-gradient(135deg, #7857e0, #ad92ee);
  color: white;
  font-size: 47px;
  letter-spacing: -8px;
  padding-right: 9px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 9px 30px #8f6cdc2c;
  transform: rotate(-7deg);
}
.orbit-node {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 16px;
  box-shadow: 0 4px 15px #40315b06;
  font-size: 11px;
  color: var(--muted);
}
.node-top {
  top: 10px;
  left: 150px;
}
.node-left {
  top: 86px;
  left: 0;
}
.node-right {
  top: 110px;
  right: 0;
}
.node-bottom {
  bottom: 5px;
  left: 84px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #181721;
    --card: #211f2c;
    --text: #eeebf9;
    --muted: #a6a0b9;
    --line: #322f41;
    --purple: #b59aef;
    --tint: #332948;
    --input: #262332;
    --danger: #eb91a5;
    color: var(--text);
    background: var(--bg);
  }
}
:root[data-theme="dark"] {
  --bg: #181721;
  --card: #211f2c;
  --text: #eeebf9;
  --muted: #a6a0b9;
  --line: #322f41;
  --purple: #b59aef;
  --tint: #332948;
  --input: #262332;
  --danger: #eb91a5;
  color: var(--text);
  background: var(--bg);
}
@media (max-width: 1100px) {
  .sidebar {
    width: 225px;
    flex-basis: 225px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .main {
    padding: 32px;
  }
  .topbar {
    padding: 0 32px;
  }
  .banner-monogram {
    padding-right: 10px;
  }
  .login-layout {
    gap: 45px;
  }
  .intro h1 {
    font-size: 44px;
  }
  .password-form {
    grid-template-columns: 1fr 1fr;
  }
  .password-form button {
    grid-column: 2;
    justify-self: end;
  }
  .stat {
    padding: 20px;
  }
  .stats {
    gap: 15px;
  }
}
@media (max-width: 800px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: auto;
    height: auto;
    padding: 18px 20px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    margin: 0 0 20px;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 3px;
  }
  .sidebar nav a {
    white-space: nowrap;
    font-size: 12px;
    padding: 8px 12px;
  }
  .sidebar nav a > span {
    display: none;
  }
  .nav-label,
  .sidebar-bottom,
  .topbar {
    display: none;
  }
  .main {
    padding: 28px 22px;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .welcome-banner {
    padding: 28px;
  }
  .banner-monogram {
    font-size: 85px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat > strong.status-word {
    font-size: 17px;
  }
  .stat > small {
    font-size: 9px;
  }
  .login-layout {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .public-header {
    padding: 25px;
  }
  .public-main {
    padding: 20px 25px;
  }
  .intro h1 {
    font-size: 36px;
  }
  .orbit {
    transform: scale(0.8);
    transform-origin: left center;
    margin-right: -60px;
  }
  .login-card {
    padding: 25px;
  }
  footer,
  .public-shell footer {
    padding: 0 22px 25px;
  }
  .intro-note {
    max-width: 250px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
}
@media (max-width: 620px) {
  .public-header .brand {
    font-size: 17px;
  }
  .public-header > a:last-child {
    font-size: 10px;
  }
  .public-main {
    padding: 16px 20px 35px;
  }
  .login-layout {
    display: block;
    min-height: 0;
  }
  .intro {
    margin: 15px 5px 28px;
  }
  .intro h1 {
    font-size: 35px;
    line-height: 1.15;
  }
  .intro h1 br {
    display: none;
  }
  .intro > p {
    font-size: 13px;
  }
  .orbit,
  .intro-note {
    display: none !important;
  }
  .intro .pill {
    font-size: 8px;
  }
  .login-card {
    padding: 25px;
  }
  .main {
    padding: 28px 18px;
  }
  .card {
    padding: 23px;
  }
  .welcome-banner {
    padding: 25px;
  }
  .welcome-banner h2 {
    font-size: 22px;
  }
  .banner-monogram {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3px;
    padding: 17px 21px;
  }
  .stat > strong {
    grid-row: span 2;
    font-size: 25px;
  }
  .stat > small {
    font-size: 10px;
  }
  .stat > strong.status-word {
    font-size: 20px;
  }
  .password-form {
    grid-template-columns: 1fr;
  }
  .password-form button {
    grid-column: 1;
    width: 100%;
  }
  .list-row {
    align-items: flex-start;
    gap: 10px;
  }
  .list-row button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .section-head {
    gap: 8px;
  }
  footer span {
    display: none;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .narrow {
    margin: 8px auto;
  }
  .narrow h1 {
    font-size: 26px;
  }
}
@media print {
  .sidebar,
  .topbar,
  footer,
  button,
  a.button {
    display: none !important;
  }
  .card {
    border: none;
    box-shadow: none;
  }
  .main {
    padding: 0;
  }
  .shell {
    display: block;
  }
  .recovery-codes {
    background: white;
    color: black;
  }
}

.mobile-logout {
  display: none;
}
@media (max-width: 800px) {
  .sidebar {
    position: relative;
  }
  .mobile-logout {
    display: block;
    position: absolute;
    top: 21px;
    right: 22px;
  }
}
