:root {
  font-family:
    Inter,
    Segoe UI,
    system-ui,
    sans-serif;
  color: #f7f6f3;
  background: #18191f;
  color-scheme: dark;
  --bg: #18191f;
  --panel: #1d1f27;
  --panel2: #22242d;
  --line: #343846;
  --soft: #b5bbd0;
  --ice: #d9e3f0;
  --ink: #11141b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 0, #292b36 0, transparent 32%), var(--bg);
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.customer-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 245px 1fr;
}
.customer-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 245px;
  padding: 28px 20px 22px;
  border-right: 1px solid var(--line);
  background: #17181e;
  display: flex;
  flex-direction: column;
}
.customer-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
}
.customer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.customer-brand b {
  font-size: 23px;
  letter-spacing: -1.5px;
}
.customer-sidebar > p {
  margin: 48px 10px 12px;
  font:
    9px "Space Mono",
    monospace;
  letter-spacing: 0.12em;
  color: #747b91;
}
.customer-sidebar nav {
  display: grid;
  gap: 4px;
}
.customer-sidebar nav a {
  height: 48px;
  padding: 0 13px;
  border-radius: 12px;
  color: #9299ad;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
}
.customer-sidebar nav a > span {
  width: 21px;
  text-align: center;
  font-size: 16px;
}
.customer-sidebar nav a.active {
  background: #242730;
  color: #f6f5f2;
  box-shadow: inset 0 0 0 1px #3b4050;
}
.sidebar-foot {
  margin-top: auto;
  display: grid;
  gap: 9px;
}
.sidebar-foot form {
  margin: 0;
}
.sidebar-foot button,
.admin-access {
  width: 100%;
  height: 42px;
  border: 1px solid #343846;
  border-radius: 11px;
  background: #1d1f27;
  color: #aeb5c8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
}
.admin-access {
  justify-content: space-between;
  padding: 0 13px;
  color: #e6e9f0;
}
.customer-main {
  grid-column: 2;
  padding: 0 42px 70px;
  min-width: 0;
}
.customer-top {
  height: 88px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-brand {
  display: none;
}
.customer-top > div {
  display: grid;
  gap: 4px;
}
.customer-top > div small,
.eyebrow,
.customer-panel span,
.customer-stats span,
.license-meta > span,
.current-plan span,
.customer-plans > article > span,
.download-stage > div > span,
.profile-card span {
  font:
    9px "Space Mono",
    monospace;
  letter-spacing: 0.1em;
  color: #8990a5;
}
.customer-top > div b {
  font-size: 14px;
}
.customer-user {
  display: flex;
  align-items: center;
  gap: 11px;
}
.customer-user > div,
.profile-avatar {
  width: 39px;
  height: 39px;
  border: 1px solid #414655;
  border-radius: 12px;
  background: #242730;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.customer-user img,
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.customer-user > span {
  display: grid;
  gap: 3px;
}
.customer-user > span b {
  font-size: 12px;
}
.customer-user > span small {
  font-size: 10px;
  color: #8f96aa;
}
.customer-hero {
  padding: 65px 0 43px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.customer-hero h1,
.page-heading h1 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 14px 0;
}
.customer-hero > div > p:last-child,
.page-heading > p:last-child {
  max-width: 620px;
  color: #aeb4c6;
  line-height: 1.6;
}
.access-pill {
  height: 34px;
  padding: 0 13px;
  border: 1px solid #3b4050;
  border-radius: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  font:
    9px "Space Mono",
    monospace;
  color: #8c93a7;
}
.access-pill i,
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #777e91;
}
.access-pill.online i,
.status-dot.paid,
.status-dot.active {
  background: #cbd8e8;
  box-shadow: 0 0 9px #b7c8e8;
}
.customer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #1c1e25;
  overflow: hidden;
}
.customer-stats article {
  padding: 25px;
}
.customer-stats article + article {
  border-left: 1px solid var(--line);
}
.customer-stats strong {
  display: block;
  font-size: 23px;
  margin: 13px 0 8px;
}
.customer-stats small {
  color: #8f96a9;
}
.customer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 17px;
  margin-top: 17px;
}
.customer-panel {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #20222a, #1a1c22);
}
.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.panel-title h2 {
  font-size: 23px;
  margin: 7px 0;
}
.panel-title > a {
  font-size: 11px;
  color: #aeb5c9;
}
.orb {
  width: 50px;
  height: 50px;
  border: 1px solid #51586a;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 23px !important;
  color: #e8ebf2 !important;
  background: #272a34;
}
.orb img,
.license-mark img,
.download-visual span img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.license-focus > p {
  max-width: 570px;
  color: #aeb4c6;
  line-height: 1.6;
}
.panel-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.primary,
.customer-plans button,
.current-plan button {
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 11px;
  background: var(--ice);
  color: var(--ink);
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  cursor: pointer;
}
.panel-actions > a:not(.primary) {
  font-size: 12px;
  color: #abb2c4;
}
.activity-list {
  margin-top: 16px;
}
.activity-list > div {
  min-height: 58px;
  border-top: 1px solid #303440;
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 8px;
}
.activity-list p {
  display: grid;
  gap: 4px;
  margin: 0;
}
.activity-list p b {
  font-size: 12px;
}
.activity-list p small {
  font-size: 9px;
  color: #858c9e;
}
.activity-list > div > strong {
  font-size: 12px;
}
.empty-state {
  color: #8e95a8;
  line-height: 1.6;
}
.page-heading {
  padding: 60px 0 35px;
}
.license-list {
  display: grid;
  gap: 12px;
}
.license-download {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #414655;
  border-radius: 17px;
  background: linear-gradient(115deg, #242731, #1c1e25 65%);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  scroll-margin-top: 24px;
}
.license-download.locked {
  border-color: #353946;
}
.license-download-mark {
  width: 50px;
  height: 50px;
  border: 1px solid #4a5060;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #292c35;
}
.license-download-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.license-download > div:nth-child(2) > span {
  color: #8f96a9;
  font:
    9px "Space Mono",
    monospace;
  letter-spacing: 0.08em;
}
.license-download h2 {
  margin: 4px 0 3px;
  font-size: 18px;
  letter-spacing: -0.025em;
}
.license-download p {
  margin: 0;
  color: #8f96a9;
  font-size: 10px;
}
.license-download > .primary,
.license-download > button {
  min-width: 168px;
  margin: 0;
  white-space: nowrap;
}
.license-item {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #1d1f27;
  display: grid;
  grid-template-columns: 55px 1.5fr repeat(3, 0.6fr);
  align-items: center;
  gap: 18px;
}
.license-mark {
  width: 48px;
  height: 48px;
  border: 1px solid #414655;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.license-item > div:nth-child(2) > span {
  font-size: 10px;
  color: #969daf;
}
.license-item h2 {
  font:
    14px "Space Mono",
    monospace;
  margin: 6px 0;
}
.license-item p {
  font-size: 9px;
  color: #7f8699;
  margin: 0;
}
.license-meta {
  display: grid;
  gap: 9px;
}
.license-meta > b {
  font-size: 12px;
}
.badge {
  width: max-content;
  padding: 5px 8px;
  border: 1px solid #444a59;
  border-radius: 8px;
  font:
    9px "Space Mono",
    monospace;
  text-transform: uppercase;
}
.badge.good {
  color: #d9e3f0;
}
.badge.warn {
  color: #e5d5a8;
}
.badge.bad {
  color: #e4aeb2;
}
.current-plan {
  padding: 25px 27px;
  border: 1px solid #596071;
  border-radius: 18px;
  background: #242730;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.current-plan h2 {
  margin: 7px 0;
}
.current-plan p {
  color: #aab1c4;
}
.customer-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.customer-plans > article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #1d1f27;
}
.customer-plans > article.lifetime {
  background: linear-gradient(145deg, #282b35, #1b1d24);
  border-color: #535a6b;
}
.customer-plans > article > div {
  margin: 22px 0 13px;
}
.customer-plans strong {
  font-size: 55px;
  letter-spacing: -0.06em;
}
.customer-plans > article > p {
  color: #aab0c2;
  line-height: 1.55;
}
.customer-plans ul {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  color: #c1c6d4;
  font-size: 12px;
  margin: 23px 0;
}
.customer-plans li:before {
  content: "✓";
  margin-right: 9px;
  color: #d9e3f0;
}
.customer-plans form,
.customer-plans button {
  width: 100%;
}
.customer-plans button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.payments-table {
  margin-top: 17px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
th,
td {
  text-align: left;
  padding: 14px;
  border-top: 1px solid #303440;
  font-size: 11px;
}
th {
  color: #858c9f;
  font:
    9px "Space Mono",
    monospace;
}
.download-stage {
  min-height: 390px;
  border: 1px solid #454b5a;
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 50%, #303442, transparent 42%), #1d1f27;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  padding: 45px;
}
.download-stage.locked {
  filter: saturate(0.65);
}
.download-visual {
  height: 250px;
  display: grid;
  place-items: center;
  position: relative;
}
.download-visual span {
  width: 125px;
  height: 125px;
  border: 1px solid #555d70;
  border-radius: 37px;
  display: grid;
  place-items: center;
  font-size: 54px;
  background: #242730;
  box-shadow: 0 35px 80px #08090c99;
}
.download-visual i {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid #343947;
  border-radius: 50%;
}
.download-stage h2 {
  font-size: 38px;
  letter-spacing: -0.04em;
  margin: 12px 0;
}
.download-stage p {
  max-width: 520px;
  color: #aab1c4;
  line-height: 1.6;
}
.account-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-size: 26px;
}
.profile-card h2 {
  margin: 7px 0;
}
.profile-card p {
  color: #aab1c4;
}
.provider-list > div {
  min-height: 68px;
  border-top: 1px solid #303440;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
}
.provider-list > div > b {
  width: 34px;
  height: 34px;
  border: 1px solid #414655;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.provider-list p {
  display: grid;
  gap: 4px;
}
.provider-list small {
  color: #9097aa;
}
.provider-list > div > span {
  font-size: 10px;
  color: #c6ccda;
}
.customer-mobile-nav {
  display: none;
}
.admin-account {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-account h2 {
  margin: 7px 0;
}
.admin-account p {
  margin-bottom: 0;
  color: #aab1c4;
}
body.oauth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 12%, #343846 0, transparent 34%),
    radial-gradient(circle at 100% 100%, #252936 0, transparent 31%), #15161b;
}
body.oauth:before,
body.oauth:after {
  content: "";
  position: fixed;
  border: 1px solid #ffffff08;
  border-radius: 50%;
  pointer-events: none;
}
body.oauth:before {
  width: 680px;
  height: 680px;
  left: -360px;
  top: -360px;
}
body.oauth:after {
  width: 520px;
  height: 520px;
  right: -310px;
  bottom: -330px;
}
body.oauth main {
  width: 100%;
}
.oauth-shell {
  position: relative;
  width: min(510px, 100%);
  margin: auto;
  padding: 38px 40px 34px;
  border: 1px solid #3b4050;
  border-radius: 26px;
  background: linear-gradient(145deg, #20222a, #1a1c22);
  box-shadow:
    0 45px 120px #07080ca8,
    inset 0 1px #ffffff0a;
  overflow: hidden;
}
.oauth-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  right: -110px;
  top: -120px;
  background: #aebde00c;
  border-radius: 50%;
  filter: blur(30px);
}
.oauth-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 28px;
  border-bottom: 1px solid #303440;
}
.oauth-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.oauth-brand span {
  margin-left: auto;
  padding: 7px 9px;
  border: 1px solid #3d4251;
  border-radius: 8px;
  color: #8f96aa;
  font:
    8px "Space Mono",
    monospace;
  letter-spacing: 0.1em;
}
.oauth-brand b {
  font-size: 24px;
  letter-spacing: -1.5px;
}
.oauth-copy {
  padding-top: 35px;
}
.oauth-copy .eyebrow {
  margin: 0;
}
.oauth-copy h1 {
  font-size: 45px;
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 13px 0 16px;
}
.oauth-copy > p:last-child {
  margin: 0;
  color: #adb3c5;
  line-height: 1.6;
  max-width: 390px;
}
.oauth-actions {
  display: grid;
  gap: 11px;
  margin: 30px 0 20px;
}
.oauth-button {
  height: 58px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  align-items: center;
  padding: 0 13px 0 10px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}
.oauth-button:hover {
  transform: translateY(-2px);
}
.oauth-button:focus-visible {
  outline: 3px solid #9eabd466;
  outline-offset: 3px;
}
.oauth-button strong {
  font-size: 14px;
  text-align: center;
}
.oauth-button > i {
  font-style: normal;
  font-size: 16px;
  opacity: 0.55;
  text-align: right;
}
.provider-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.provider-icon img {
  width: 21px;
  height: 21px;
  display: block;
}
.oauth-button.google {
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #747775;
  font-family: Arial, sans-serif;
}
.oauth-button.google .provider-icon {
  background: #fff;
}
.oauth-button.google:hover {
  box-shadow: 0 13px 30px #05060855;
}
.oauth-button.discord {
  background: #5865f2;
  color: #fff;
  border: 1px solid #707bf4;
}
.oauth-button.discord .provider-icon {
  background: #ffffff12;
}
.oauth-button.discord .provider-icon img {
  width: 24px;
  height: 24px;
}
.oauth-button.discord:hover {
  filter: brightness(1.08);
  box-shadow: 0 13px 30px #5865f229;
}
.oauth-button.disabled {
  opacity: 0.42;
  pointer-events: none;
}
.oauth-legal {
  display: block;
  color: #737a8e;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}
.oauth-trust {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 2px 0 17px;
  color: #969daf;
  font-size: 9px;
}
.oauth-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.oauth-trust i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbd5e5;
  box-shadow: 0 0 8px #afbedc;
}
.setup-note {
  padding: 10px;
  border: 1px solid #594c3d;
  border-radius: 9px;
  color: #c7b28f !important;
  margin-bottom: 14px;
}
.oauth-error {
  padding: 11px;
  border: 1px solid #70424a;
  border-radius: 10px;
  color: #e2afb7;
  font-size: 11px;
}
@media (max-width: 900px) {
  .customer-shell {
    display: block;
  }
  .customer-sidebar {
    display: none;
  }
  .customer-main {
    padding: 0 18px 95px;
  }
  .customer-top {
    height: 72px;
  }
  .customer-top > div small {
    display: none;
  }
  .customer-top > div {
    display: none;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .mobile-brand img {
    width: 35px;
    height: 35px;
  }
  .mobile-brand b {
    font-size: 19px;
    letter-spacing: -1px;
  }
  .customer-user > span {
    display: none;
  }
  .customer-hero {
    padding: 43px 0 30px;
    display: block;
  }
  .access-pill {
    width: max-content;
    margin-top: 24px;
  }
  .customer-stats {
    grid-template-columns: 1fr;
  }
  .customer-stats article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .customer-grid,
  .customer-plans,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .admin-account {
    display: grid;
    gap: 18px;
  }
  .customer-mobile-nav {
    position: fixed;
    z-index: 20;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    height: 65px;
    padding: 6px;
    border: 1px solid #414655;
    border-radius: 18px;
    background: #1b1d24ee;
    backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 20px 60px #000;
  }
  .customer-mobile-nav a {
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #8d94a7;
  }
  .customer-mobile-nav a b {
    display: none;
  }
  .customer-mobile-nav a.active {
    background: #2a2d37;
    color: white;
  }
  .license-item {
    grid-template-columns: 48px 1fr;
  }
  .license-download {
    grid-template-columns: 48px 1fr;
  }
  .license-download > .primary,
  .license-download > button {
    grid-column: 1 / -1;
    width: 100%;
  }
  .license-meta {
    padding-top: 12px;
    border-top: 1px solid #303440;
  }
  .download-stage {
    grid-template-columns: 1fr;
    padding: 25px;
  }
  .download-visual {
    height: 210px;
  }
  .current-plan {
    display: block;
  }
  .current-plan form {
    margin-top: 20px;
  }
  .page-heading {
    padding-top: 42px;
  }
}
@media (max-width: 520px) {
  .customer-main {
    padding-inline: 13px;
  }
  .customer-top {
    padding-inline: 4px;
  }
  .customer-hero h1,
  .page-heading h1 {
    font-size: 45px;
  }
  .customer-panel {
    padding: 21px;
  }
  .panel-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .license-item {
    padding: 18px;
  }
  .customer-plans > article {
    padding: 23px;
  }
  .download-stage {
    padding: 18px;
  }
  .download-stage h2 {
    font-size: 31px;
  }
  .oauth-shell {
    padding: 25px 20px 24px;
    border-radius: 20px;
  }
  .oauth-copy h1 {
    font-size: 39px;
  }
  .oauth-copy {
    padding-top: 29px;
  }
  .oauth-brand {
    padding-bottom: 22px;
  }
  .oauth-trust {
    gap: 13px;
    flex-wrap: wrap;
  }
  .oauth-button {
    height: 56px;
  }
}
