:root {
  color-scheme: light;
  --ink: #282b27;
  --muted: #656b72;
  --paper: #f4f2ed;
  --panel: #fffefa;
  --accent: #46543b;
  --accent-hover: #303c27;
  --line: #222c3b20;
  --white: #f9fafc;
  --error: #a52b32;
  --success: #246344;
  --sidebar: #eeefedeb;
  --key-bg: #f0f1f2;
  --font:
    Satoshi, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "SF Mono", SFMono-Regular, Menlo, monospace;
  font-family: var(--font);
  font-synthesis: none;
  color: var(--ink);
  background: #171916;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0, #8a743b45, transparent 60%),
    linear-gradient(160deg, #252b21, #171916 70%);
}
button,
input {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  transition:
    background-color 160ms,
    color 160ms,
    opacity 160ms;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
code:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
h1,
h2,
p {
  margin: 0;
}
p {
  line-height: 1.55;
}
.symbol {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: currentColor;
  mask: var(--symbol) center / contain no-repeat;
  -webkit-mask: var(--symbol) center / contain no-repeat;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.desktop-menu {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 24px;
  color: var(--white);
  background: #12243445;
  font-size: 12px;
}
.menu-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
}
.menu-brand img {
  object-fit: contain;
}
.menu-location {
  opacity: 0.85;
}
.menu-home {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}
.menu-home .symbol {
  width: 12px;
  height: 12px;
}
.menu-home:hover {
  text-decoration: underline;
}
.desktop-menu a:focus-visible,
.login-profile :focus-visible {
  outline-color: var(--white);
}
.desktop-footer {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  color: var(--white);
}
.desktop-footer .symbol {
  width: 10px;
  height: 12px;
}
.login-stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 64px 24px 88px;
}
.login-profile {
  width: min(100%, 320px);
  color: var(--white);
  text-align: center;
  animation: arrive 240ms ease-out both;
}
.login-avatar {
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6edf32b;
  border: 1px solid #ffffff65;
  box-shadow:
    0 8px 28px #071b3925,
    inset 0 1px 0 #ffffff40;
}
.login-avatar img {
  filter: drop-shadow(0 5px 5px #10253630);
}
.login-profile h1 {
  font-size: 26px;
  letter-spacing: -0.6px;
  font-weight: 650;
  text-shadow: 0 2px 12px #0b203c40;
}
.login-intro {
  font-size: 14px;
  margin: 7px 0 26px;
}
.email-control {
  display: flex;
  align-items: center;
  position: relative;
}
.login-profile input {
  width: 100%;
  min-width: 0;
  border: 1px solid #ffffff66;
  border-radius: 9px;
  background: #112b4599;
  color: var(--white);
  padding: 13px 48px 13px 14px;
  font-size: 14px;
  box-shadow: inset 0 1px 2px #12243420;
}
.login-profile input::placeholder {
  color: #edf1f6df;
}
.login-submit {
  position: absolute;
  right: 8px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #ffffffb0;
  border-radius: 50%;
  color: var(--white);
  background: #ffffff20;
}
.login-submit:hover {
  background: #ffffff45;
}
.login-submit .symbol {
  width: 14px;
  height: 14px;
}
.login-submit:disabled .symbol {
  animation: sending 900ms ease-in-out infinite alternate;
}
.login-claim {
  margin-top: 16px;
  font-size: 12px;
}
.login-claim summary {
  display: list-item;
  list-style-position: inside;
  padding: 4px;
}
.login-claim[open] summary {
  margin-bottom: 12px;
}
.login-claim label {
  text-align: left;
  display: block;
  margin-bottom: 7px;
}
.login-claim input {
  padding: 12px;
  font-size: 13px;
}
.login-claim p {
  margin-top: 8px;
  font-size: 12px;
}
.login-hint {
  margin-top: 24px;
  font-size: 12px;
  color: var(--white);
  text-shadow: 0 1px 6px #102a4b60;
}
.login-message {
  padding: 20px;
  border: 1px solid #ffffff45;
  background: #102b4599;
  border-radius: 12px;
}
.login-message > .symbol {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}
.login-message h2 {
  font-size: 17px;
  margin-bottom: 10px;
}
.login-message p {
  font-size: 13px;
}
.login-message button {
  margin-top: 18px;
  color: var(--white);
  border: 1px solid #ffffff60;
  background: #ffffff15;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
}
.login-message button:hover {
  background: #ffffff30;
}
.login-profile .error {
  color: var(--white);
  padding: 10px;
  margin-top: 12px;
  background: #71202ae0;
  border-radius: 6px;
}
.window-stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 32px 28px;
}
.account-window {
  width: min(100%, 960px);
  min-height: 610px;
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  border: 1px solid #ffffff75;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  box-shadow:
    0 32px 85px #06152666,
    0 8px 24px #06152640,
    0 0 0 1px #0d203940;
  animation: arrive 240ms ease-out both;
}
.window-sidebar {
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 0 12px 14px;
  min-width: 0;
}
.traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding-left: 8px;
}
.traffic-lights span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #00000018;
}
.traffic-lights span:nth-child(1) {
  background: #ff6058;
}
.traffic-lights span:nth-child(2) {
  background: #ffbd2e;
}
.traffic-lights span:nth-child(3) {
  background: #28c840;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 4px 24px;
  font-size: 13px;
  font-weight: 650;
}
.sidebar-brand span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.sidebar-nav {
  display: grid;
  gap: 5px;
}
.sidebar-nav a {
  min-height: 35px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 6px;
  font-size: 12px;
}
.sidebar-nav a > .symbol {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.sidebar-nav a:hover {
  background: #222c3b0c;
}
.sidebar-nav a.is-selected {
  color: var(--white);
  background: var(--accent);
}
.sidebar-nav a.is-selected .symbol {
  color: inherit;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.sidebar-account {
  margin: auto 4px 0;
  padding-top: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.account-avatar {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: #d4dce4;
  color: #485c70;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
}
.sidebar-account > div {
  min-width: 0;
}
.account-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 3px;
}
.account-email {
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.4;
}
#signout-form {
  margin: 12px 4px 0;
}
#signout-form button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 11px;
}
#signout-form button:hover {
  color: var(--ink);
}
#signout-form .symbol {
  width: 11px;
  height: 11px;
}
.window-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.window-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 17px 26px;
  border-bottom: 1px solid var(--line);
  background: #faf9f680;
}
.window-toolbar h1 {
  font-size: 17px;
  letter-spacing: -0.3px;
  font-weight: 650;
}
.window-toolbar p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.toolbar-button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 1px 2px #1725380a;
}
.toolbar-button:hover {
  background: var(--key-bg);
}
.window-content {
  padding: 25px 26px 28px;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.list-heading h2 {
  font-size: 12px;
  font-weight: 600;
}
.list-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.license-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 2px 4px #1a2d4205;
  padding: 20px;
  margin-bottom: 18px;
}
.license-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
}
.license-heading h2 {
  font-size: 14px;
  font-weight: 650;
}
.license-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.license-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 11px;
  text-transform: capitalize;
}
.license-status .symbol {
  width: 12px;
  height: 12px;
}
.is-active {
  color: var(--success);
}
.is-inactive {
  color: var(--error);
}
.license-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  margin: 0 0 20px;
}
.license-details dt {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}
.license-details dd {
  margin: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.key-field {
  background: var(--key-bg);
  border: 1px solid #28394b14;
  border-radius: 7px;
  overflow: hidden;
}
.key-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 0;
  color: var(--muted);
  font-size: 10px;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-size: 11px;
  background: transparent;
  border: 0;
  padding: 5px 0 5px 6px;
}
.copy-button:hover {
  color: var(--accent-hover);
}
.copy-button .symbol {
  width: 12px;
  height: 12px;
}
.key {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  padding: 6px 12px 13px;
  overflow-wrap: anywhere;
  user-select: all;
}
.copy-feedback:not(.sr-only) {
  padding: 0 12px 12px;
  font-size: 11px;
  color: var(--muted);
}
.note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
}
.note strong {
  font-weight: 600;
}
.purchase-history {
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding-top: 13px;
}
.purchase-history summary {
  font-size: 11px;
  font-weight: 500;
}
.purchase-history summary span {
  margin-left: 5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.history-scroll {
  overflow-x: auto;
}
.history {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 11px;
}
.history th,
.history td {
  text-align: left;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.history th {
  font-weight: 500;
  color: var(--muted);
}
.history tbody tr:last-child td {
  border-bottom: 0;
}
.claim-panel {
  padding-top: 9px;
  scroll-margin-top: 24px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}
.section-heading .symbol {
  width: 13px;
  height: 13px;
  color: var(--muted);
}
.section-heading h2 {
  font-size: 12px;
  font-weight: 600;
}
.claim-panel > p {
  font-size: 11px;
  color: var(--muted);
  max-width: 430px;
}
.claim-panel label {
  display: block;
  margin: 15px 0 6px;
  font-size: 11px;
}
.claim-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.claim-controls input {
  min-width: 0;
  flex: 1;
  border: 1px solid #90969d80;
  border-radius: 5px;
  box-shadow: inset 0 1px 2px #1d304008;
  background: var(--panel);
  color: var(--ink);
  padding: 8px 10px;
  font-size: 12px;
}
.claim-controls input::placeholder {
  color: var(--muted);
}
.primary-button {
  color: var(--white);
  background: var(--accent);
  border: 1px solid #0055b399;
  box-shadow:
    0 1px 2px #1b3f6220,
    inset 0 1px 0 #ffffff25;
  border-radius: 5px;
  padding: 8px 13px;
  font-size: 12px;
  white-space: nowrap;
}
.primary-button:hover {
  background: var(--accent-hover);
}
.error {
  color: var(--error);
  font-size: 12px;
  margin-top: 10px;
}
.success {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
  background: #e5efe7;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  margin-bottom: 14px;
}
.empty-state {
  text-align: center;
  padding: 35px 26px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  margin-bottom: 20px;
}
.empty-state > .symbol {
  width: 30px;
  height: 30px;
  color: var(--muted);
  margin-bottom: 14px;
}
.empty-state h2 {
  font-size: 14px;
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  max-width: 320px;
  margin: 0 auto;
}
.window-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 10px 26px;
  font-size: 10px;
  color: var(--muted);
}
.window-status .symbol {
  width: 9px;
  height: 10px;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sending {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 1500px) {
  .account-window {
    width: 1000px;
  }
}
@media (max-width: 700px) {
  .desktop-menu {
    padding: 0 16px;
    gap: 16px;
  }
  .menu-location {
    display: none;
  }
  .window-stage {
    padding: 24px 16px 12px;
  }
  .account-window {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .window-sidebar {
    padding: 0 14px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .traffic-lights {
    height: 36px;
    grid-column: 1 / -1;
    padding-left: 2px;
  }
  .sidebar-brand {
    margin: 0 0 14px;
  }
  .sidebar-nav {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .sidebar-nav a {
    padding: 9px;
    min-height: 40px;
  }
  .nav-count {
    margin-left: 2px;
  }
  .sidebar-account {
    grid-column: 1 / -1;
    margin: 12px 0 0;
    padding: 0;
  }
  .sidebar-account .account-avatar {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .sidebar-account > div {
    display: flex;
    gap: 5px;
    align-items: baseline;
  }
  .account-label {
    flex-shrink: 0;
  }
  #signout-form {
    grid-row: 2;
    grid-column: 2;
    margin: 0;
    align-self: start;
  }
  #signout-form button {
    min-height: 38px;
  }
  #signout-form .error {
    max-width: 110px;
  }
  .window-toolbar {
    padding: 17px 20px;
  }
  .window-content {
    padding: 20px;
  }
  .window-status {
    padding: 10px 20px;
  }
  .claim-controls input,
  .login-profile input {
    font-size: 16px;
  }
  .claim-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .primary-button {
    min-height: 40px;
  }
  .copy-button {
    min-height: 36px;
  }
}
@media (max-width: 400px) {
  .menu-home {
    font-size: 11px;
  }
  .window-stage {
    padding: 16px 10px 8px;
  }
  .window-content {
    padding: 18px 14px;
  }
  .license-card {
    padding: 16px;
  }
  .license-details {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .license-heading {
    gap: 7px;
    flex-wrap: wrap;
  }
  .license-status {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
