* {
  box-sizing: border-box;
}
html {
  font-size: 14px;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: #111315;
  color: #e9ecef;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #d8dde4;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #a7afb8;
  outline-offset: 1px;
}
button {
  border: 0;
}
svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 600;
  line-height: 1.25;
}
h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 15px;
  font-weight: 550;
}
small,
.small {
  font-size: 12px;
}
.muted {
  color: #939ca7;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #9aa3ad;
  font-weight: 600;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 9px 15px;
  border: 1px solid #363c43;
  border-radius: 5px;
  background: #24292e;
  color: #eef0f2;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.btn:hover:not(:disabled) {
  background: #30363c;
  border-color: #535c65;
}
.btn.primary {
  background: #e2e5e9;
  color: #16191c;
  border-color: #e2e5e9;
}
.btn.primary:hover:not(:disabled) {
  background: #fff;
}
.btn.quiet {
  background: transparent;
}
.btn.danger {
  color: #f1b0aa;
  border-color: #65413f;
  background: #302221;
}
.btn.small {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 11px;
}
.icon-btn {
  width: 32px;
  height: 32px;
  padding: 7px;
  display: grid;
  place-items: center;
  color: #aab2bb;
  background: transparent;
  border-radius: 4px;
}
.icon-btn:hover {
  background: #2b3036;
  color: #f3f4f6;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #3b424a;
  background: #24292e;
  color: #bdc5ce;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.pill.positive {
  color: #b0c9b6;
  background: #202c25;
  border-color: #354c3d;
}
.pill.warning {
  color: #d3c397;
  background: #2d291f;
  border-color: #50472f;
}
.pill.negative {
  color: #d4a29d;
  background: #302423;
  border-color: #503834;
}
.pill.neutral {
  background: #202429;
}
.pill.dot:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
}
.sidebar {
  background: #141719;
  border-right: 1px solid #2a2f34;
  display: flex;
  flex-direction: column;
  padding: 31px 19px 20px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 222px;
  z-index: 5;
}
.nav-label {
  padding: 0 12px 11px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 43px;
  padding: 10px 13px;
  color: #959fa9;
  font-size: 12px;
  border: 1px solid transparent;
  border-radius: 5px;
}
.nav a:hover {
  background: #1d2226;
  color: #e9ecef;
}
.nav a.active {
  background: #272c31;
  border-color: #373e45;
  color: #f2f4f6;
}
.nav a.active:after {
  content: "";
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #c7ced5;
  margin-left: auto;
}
.nav.admin-nav {
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid #2a2f34;
}
.sidebar-foot {
  margin-top: auto;
  padding: 24px 8px 0;
}
.account-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 20px;
}
.account-text {
  min-width: 0;
  flex: 1;
}
.account-text strong {
  display: block;
  font-weight: 550;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-text small {
  display: block;
  color: #8f99a4;
  font-size: 10px;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 74px;
  border-bottom: 1px solid #2a2f34;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  color: #929da8;
  font-size: 11px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb span:last-child {
  color: #d5dbe1;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.balance-mini {
  display: flex;
  gap: 9px;
  align-items: center;
}
.balance-mini strong {
  color: #e5e9ed;
  font-size: 12px;
  font-weight: 550;
}
.content {
  max-width: 1450px;
  padding: 40px 42px 60px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
}
.page-heading .eyebrow {
  margin-bottom: 9px;
}
.page-heading p {
  margin-top: 9px;
  color: #929ca7;
  font-size: 12px;
  max-width: 620px;
}
.heading-actions {
  display: flex;
  gap: 9px;
  padding-top: 25px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 27px;
}
.stat {
  border: 1px solid #30363c;
  background: #191d21;
  border-radius: 6px;
  padding: 21px 23px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a5aeb8;
  font-size: 11px;
}
.stat-top svg {
  width: 17px;
  height: 17px;
  color: #77838e;
}
.stat-value {
  margin-top: 17px;
  font-size: 29px;
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.2;
}
.stat-foot {
  font-size: 11px;
  color: #7f8b96;
  margin-top: 9px;
}
.stat-foot a {
  color: #bdc6ce;
}
.section {
  border: 1px solid #30363c;
  background: #181c20;
  border-radius: 6px;
  margin-bottom: 24px;
  overflow: hidden;
}
.section-head {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 23px;
  border-bottom: 1px solid #2c3238;
  gap: 14px;
}
.section-head p {
  font-size: 11px;
  color: #909ba6;
  margin-top: 4px;
}
.section-body {
  padding: 24px;
}
.text-link {
  color: #cbd1d8;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 23px;
}
.stack > * + * {
  margin-top: 17px;
}
.callout {
  border: 1px solid #353d45;
  background: #1b2025;
  border-radius: 5px;
  padding: 16px 18px;
  color: #a8b2bc;
  font-size: 12px;
  line-height: 1.7;
}
.callout h3 {
  color: #dde2e7;
  font-size: 13px;
  margin-bottom: 5px;
}
.callout .btn {
  margin-top: 15px;
}
.feature-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  padding: 12px 0;
  border-top: 1px solid #30363c;
  color: #a0aab4;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.feature-list strong {
  color: #d8dfe6;
  font-weight: 500;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  padding: 12px 23px;
  background: #1b2024;
  color: #7e8b96;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
td {
  padding: 16px 23px;
  border-top: 1px solid #2a3036;
  font-size: 12px;
  vertical-align: middle;
}
td .secondary {
  display: block;
  color: #7f8a96;
  font-size: 10px;
  margin-top: 3px;
}
.table-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-end;
}
.money-positive {
  color: #b3c9b7;
}
.mono,
code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}
.key-token {
  display: inline-block;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
  color: #b9c3cc;
}
.toolbar {
  padding: 16px 22px;
  border-bottom: 1px solid #2d3339;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.toolbar .search {
  max-width: 280px;
  flex: 1;
}
.filters {
  display: flex;
  gap: 5px;
}
.filter {
  color: #8f9aa5;
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
}
.filter.active {
  border-color: #424b54;
  background: #293038;
  color: #dbe1e7;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-top: 1px solid #2d3339;
  color: #84909b;
  font-size: 11px;
}
.empty {
  padding: 45px 24px;
  text-align: center;
  color: #8e9aa5;
}
.empty h3 {
  color: #d2dae2;
  margin-bottom: 6px;
}
.empty p {
  font-size: 12px;
  max-width: 370px;
  margin: auto;
}
.empty .btn {
  margin-top: 18px;
}
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.product {
  padding: 25px;
  background: #191e22;
  border: 1px solid #343b42;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  min-height: 270px;
}
.product .eyebrow {
  margin-bottom: 15px;
}
.product h2 {
  font-size: 20px;
}
.price {
  margin: 25px 0 5px;
  font-size: 33px;
  font-weight: 550;
  letter-spacing: -1px;
}
.price span {
  font-size: 11px;
  color: #8d99a5;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 5px;
}
.product p {
  font-size: 11px;
  color: #8e9ba7;
}
.product-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #30373e;
  gap: 12px;
}
.product-detail {
  padding-bottom: 24px;
}
.product-footer .btn {
  flex: 1;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: block;
}
.form-field.full {
  grid-column: 1/-1;
}
.form-field label,
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #c0c9d2;
}
.form-field small {
  display: block;
  color: #7f8c98;
  font-size: 10px;
  margin-top: 7px;
}
.input,
input:not([type="checkbox"]),
textarea,
select {
  width: 100%;
  min-height: 40px;
  background: #14191d;
  border: 1px solid #3a434c;
  border-radius: 4px;
  color: #dce3e9;
  padding: 10px 12px;
  font-size: 12px;
}
input::placeholder,
textarea::placeholder {
  color: #64717d;
}
textarea {
  resize: vertical;
  min-height: 125px;
  line-height: 1.7;
}
select {
  color-scheme: dark;
}
input[type="checkbox"] {
  accent-color: #d1d7dd;
}
form .form-actions {
  margin-top: 23px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  align-items: center;
}
.field-error,
.form-error {
  color: #e4ada6;
  font-size: 11px;
  line-height: 1.7;
}
.form-error {
  padding: 12px 14px;
  background: #302322;
  border: 1px solid #563b39;
  border-radius: 4px;
  margin: 16px 0 0;
}
.form-error:empty {
  display: none;
}
.amount-prefix {
  position: relative;
}
.amount-prefix span {
  position: absolute;
  left: 13px;
  top: 10px;
  color: #84919c;
}
.amount-prefix input {
  padding-left: 29px;
}
.amount-options {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.amount-options button {
  flex: 1;
}
.payment-details {
  margin-top: 23px;
  padding-top: 21px;
  border-top: 1px solid #343c44;
}
.payment-amount {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.6px;
  overflow-wrap: anywhere;
  margin: 11px 0 3px;
}
.copy-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 9px;
}
.copy-row code {
  flex: 1;
  min-width: 0;
  word-break: break-all;
  color: #c2ccd5;
  padding: 11px;
  background: #12171b;
  border: 1px solid #364049;
  border-radius: 4px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  border-bottom: 1px solid #2e353d;
  padding: 13px 0;
  font-size: 11px;
  color: #8f9daa;
}
.detail-row strong {
  color: #d4dce4;
  font-weight: 500;
  text-align: right;
}
.review {
  padding: 22px;
  border-bottom: 1px solid #313940;
}
.review:last-child {
  border-bottom: 0;
}
.review-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}
.review p {
  color: #a0acb7;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review .contact {
  font-size: 11px;
  margin-top: 12px;
  color: #c0cbd5;
}
.review-controls {
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  gap: 10px;
  align-items: end;
  margin-top: 18px;
}
.review-controls label {
  font-size: 10px;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-form-area {
  display: grid;
  place-items: center;
  padding: 45px 40px;
}
.auth-card {
  width: 100%;
  max-width: 350px;
}
.auth-card h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
}
.auth-card > p {
  color: #8997a3;
  font-size: 12px;
  margin: 10px 0 32px;
}
.auth-card .form-field + .form-field {
  margin-top: 20px;
}
.auth-card .btn.primary {
  width: 100%;
  margin-top: 26px;
}
.auth-switch {
  margin-top: 25px;
  color: #8c99a5;
  text-align: center;
  font-size: 11px;
}
.auth-switch button {
  color: #dce3e9;
  padding: 0 0 2px;
  background: none;
  border-bottom: 1px solid #6e7c88;
  font-size: 11px;
}
.auth-legal {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #2b333b;
  color: #75838f;
  font-size: 10px;
  line-height: 1.8;
}
.notice {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 50;
  max-width: 420px;
  padding: 15px 19px;
  background: #2b343d;
  border: 1px solid #586675;
  border-radius: 5px;
  color: #edf2f6;
  font-size: 12px;
  box-shadow: 0 6px 24px #0005;
}
.notice.error {
  background: #332726;
  border-color: #825b55;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 15px;
  background: #fff;
  color: #111;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
dialog {
  background: #1b2127;
  color: #e8edf2;
  border: 1px solid #4b5863;
  border-radius: 7px;
  padding: 0;
  width: min(500px, calc(100vw - 32px));
  max-height: 90vh;
  box-shadow: 0 20px 80px #0008;
}
dialog::backdrop {
  background: #070b0fc9;
}
dialog .dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 24px;
  border-bottom: 1px solid #37414a;
}
dialog .dialog-body {
  padding: 24px;
}
dialog p {
  color: #9cabb8;
  font-size: 12px;
  margin: 0 0 20px;
}
dialog .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 23px;
}
.receipt-keys {
  max-height: 230px;
  overflow: auto;
  padding: 13px;
  background: #11171c;
  border: 1px solid #38444f;
  border-radius: 4px;
  margin-top: 12px;
}
.receipt-keys code {
  display: block;
  color: #cbd7e1;
  padding: 7px 0;
  word-break: break-all;
  font-size: 10px;
}
.initial {
  padding: 60px;
  color: #9aabb9;
  text-align: center;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 48px;
  }
  .stat {
    padding: 25px;
  }
  .page-heading {
    margin-bottom: 34px;
  }
}
@media (max-width: 1150px) {
  .content {
    padding: 32px 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .auth-copy h1 {
    font-size: 36px;
  }
  .review-controls {
    grid-template-columns: 100px 1fr;
  }
  .review-controls .btn {
    width: 100%;
  }
  td,
  th {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 760px) {
  html {
    font-size: 13px;
  }
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: auto;
    inset: auto;
    padding: 18px 18px 0;
    border-right: 0;
    border-bottom: 1px solid #303a43;
    display: block;
  }
  .nav-label,
  .sidebar-foot {
    display: none;
  }
  .nav {
    flex-direction: row;
    overflow: auto;
    gap: 2px;
    padding-bottom: 12px;
  }
  .nav a {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 11px;
    gap: 7px;
    white-space: nowrap;
  }
  .nav a svg {
    height: 15px;
    width: 15px;
  }
  .nav a.active:after {
    display: none;
  }
  .nav.admin-nav {
    margin: 0;
    padding: 0 0 12px;
    border: 0;
  }
  .topbar {
    height: 55px;
    padding: 0 22px;
  }
  .topbar-right .pill {
    display: none;
  }
  .content {
    padding: 28px 20px 40px;
  }
  h1 {
    font-size: 26px;
  }
  .page-heading {
    display: block;
    margin-bottom: 24px;
  }
  .heading-actions {
    padding-top: 17px;
  }
  .stats {
    gap: 10px;
    margin-bottom: 22px;
  }
  .stat {
    padding: 16px 14px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-top svg {
    display: none;
  }
  .stat-value {
    font-size: 23px;
    margin-top: 12px;
  }
  .stat-foot {
    font-size: 10px;
  }
  .products {
    grid-template-columns: 1fr;
  }
  .product {
    min-height: 245px;
  }
  .toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px;
  }
  .toolbar .search {
    max-width: none;
    flex-basis: 100%;
  }
  .filters {
    width: 100%;
    overflow: auto;
  }
  .section-head {
    padding: 17px 18px;
  }
  .section-body {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-field.full {
    grid-column: auto;
  }
  .auth-page {
    display: block;
  }
  .auth-form-area {
    min-height: 100vh;
    padding: 40px 25px;
  }
  .auth-card h2 {
    font-size: 25px;
  }
  .notice {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
  }
  .copy-row code {
    font-size: 10px;
  }
  .footer span:last-child {
    display: none;
  }
  .table-wrap table {
    min-width: 560px;
  }
  .review-controls {
    grid-template-columns: 1fr 1fr;
  }
  .review-controls .form-field:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .key-token {
    max-width: 170px;
  }
  .auth-form-area .auth-card {
    max-width: 390px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

@media (max-width: 760px) {
  .nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }
  .nav a {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px 2px;
    font-size: 10px;
    min-width: 0;
  }
  .nav.admin-nav {
    grid-template-columns: 1fr;
  }
  .nav.admin-nav a {
    flex-direction: row;
    justify-content: flex-start;
    padding: 8px 12px;
  }
  .stat-value {
    overflow-wrap: anywhere;
  }
  .section-head .text-link {
    flex-shrink: 0;
  }
}

/* Text-only account interface. */
.auth-page {
  display: block;
}
.auth-form-area {
  min-height: 100vh;
}
.auth-card {
  max-width: 340px;
}
.sidebar {
  padding-top: 25px;
}
.icon-btn {
  width: auto;
  min-width: 38px;
  height: auto;
  min-height: 30px;
  padding: 5px 8px;
  font-size: 11px;
  border: 1px solid #3a424a;
}
.account-row {
  flex-wrap: wrap;
}
.account-row .icon-btn {
  margin-top: 10px;
  width: 100%;
}
.topbar-right .icon-btn {
  margin: 0;
}
.pill.dot:before,
.nav a.active:after {
  content: none;
}
.heading-actions {
  padding-top: 0;
}
.product .product-detail {
  padding-top: 0;
}
@media (max-width: 760px) {
  .sidebar {
    padding-top: 13px;
  }
  .nav a {
    flex-direction: row;
    min-height: 36px;
    padding: 8px 2px;
  }
  .sidebar-foot {
    display: none;
  }
  .auth-form-area {
    padding: 32px 24px;
  }
  .table-actions {
    gap: 4px;
  }
}

