.xa-shell {
  --xa-line: var(--line, #dfe6ef);
  --xa-muted: var(--muted, #667489);
  --xa-ink: var(--ink, #15243a);
  --xa-blue: var(--blue, #1456cf);
  padding-block: 1.1rem 3rem;
  color: var(--xa-ink);
  font-size: 14px;
}
.xa-shell a {
  color: var(--xa-blue);
  text-decoration: none;
}
.xa-shell h1,
.xa-shell h2,
.xa-shell h3,
.xa-shell p {
  margin: 0;
}
.xa-shell a:focus-visible,
.xa-shell button:focus-visible,
.xa-shell input:focus-visible,
.xa-shell select:focus-visible {
  outline: 3px solid #90b7fc;
  outline-offset: 2px;
}
.xa-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  font-size: 13px;
  color: var(--xa-muted);
}
.xa-crumb a {
  color: var(--xa-muted);
}
.xa-hero {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 23px;
  border: 1px solid #d8e4f4;
  border-radius: 12px;
  background: linear-gradient(115deg, #edf5ff, #fff 73%);
  margin-bottom: 16px;
}
.xa-avatar {
  width: 55px;
  height: 55px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d4e6ff;
  color: #2458a2;
  font-size: 26px;
  font-weight: 700;
}
.xa-who {
  min-width: 0;
  flex: 1;
}
.xa-who h1 {
  font-size: 22px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.xa-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--xa-muted);
  font-size: 13px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.xa-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #576373;
  background: #edf1f5;
  padding: 2px 7px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 520;
  line-height: 1.5;
}
.xa-pill.xa-ok,
.xa-pill.xa-paid,
.xa-pill.xa-delivered {
  background: #e4f5ea;
  color: #226344;
}
.xa-pill.xa-pending {
  color: #815e17;
  background: #fcf3da;
}
.xa-layout {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.xa-nav,
.xa-panel,
.xa-metric {
  border: 1px solid var(--xa-line);
  border-radius: 10px;
  background: white;
}
.xa-nav {
  display: grid;
  padding: 7px;
  gap: 2px;
  position: sticky;
  top: 82px;
}
.xa-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 38px;
  padding: 6px 11px;
  border-radius: 6px;
  color: var(--xa-ink);
  font-size: 14px;
}
.xa-nav a[aria-current] {
  color: var(--xa-blue);
  background: #eaf2ff;
  font-weight: 650;
}
.xa-nav a:hover {
  background: #f0f5fc;
}
.xa-shell svg {
  width: 17px;
  height: 17px;
  display: block;
  flex: none;
}
.xa-nav svg {
  color: #60748e;
}
.xa-nav a[aria-current] svg {
  color: var(--xa-blue);
}
.xa-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.xa-panel {
  padding: 17px 19px;
  min-width: 0;
}
.xa-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
}
.xa-heading h2,
.xa-panel h2 {
  font-size: 16px;
  font-weight: 680;
  line-height: 1.45;
}
.xa-heading a {
  font-size: 13px;
}
.xa-overview-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.xa-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 78px;
  gap: 4px;
  padding: 12px 15px;
}
.xa-metric span,
.xa-level-metrics span,
.xa-member small,
.xa-balance > div > span,
.xa-mini-wallet > span {
  color: var(--xa-muted);
  font-size: 13px;
}
.xa-metric strong {
  color: var(--xa-ink);
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.xa-metric:hover {
  border-color: #adc9f2;
}
.xa-level {
  background: linear-gradient(115deg, #f1f6ff, #fff 80%);
}
.xa-member {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 3px 0 15px;
}
.xa-member strong,
.xa-member small {
  display: block;
}
.xa-member strong {
  font-size: 17px;
  margin-top: 2px;
}
.xa-iconbadge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #e2efff;
  color: var(--xa-blue);
  border-radius: 10px;
  flex: none;
}
.xa-iconbadge svg {
  width: 21px;
  height: 21px;
}
.xa-level-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid #dce6f2;
  padding-top: 11px;
}
.xa-level-metrics > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 12px;
  gap: 6px;
}
.xa-level-metrics b {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.xa-empty,
.xa-unavailable,
.xa-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
}
.xa-empty {
  min-height: 100px;
  color: var(--xa-muted);
  font-size: 13px;
}
.xa-empty > span {
  color: #96a6bc;
}
.xa-empty svg {
  width: 24px;
  height: 24px;
}
.xa-order,
.xa-entry {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--xa-line);
  font-size: 13px;
}
.xa-order-item b,
.xa-order-item small,
.xa-entry b,
.xa-entry small,
.xa-entry strong {
  display: block;
  overflow-wrap: anywhere;
}
.xa-order b,
.xa-order strong,
.xa-entry b,
.xa-entry strong {
  color: var(--xa-ink);
  font-weight: 600;
}
.xa-order:hover b {
  color: var(--xa-blue);
}
.xa-order small,
.xa-entry small {
  font-size: 12px;
  color: var(--xa-muted);
  margin-top: 3px;
}
.xa-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.xa-shell input,
.xa-shell select {
  font: inherit;
  color: var(--xa-ink);
  font-size: 14px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #ccd8e6;
  border-radius: 6px;
  outline-offset: 1px;
  background: white;
  box-sizing: border-box;
}
.xa-filters select {
  padding-right: 1.2rem;
}
.xa-filters input {
  max-width: 100%;
}
.xa-balance {
  background: linear-gradient(110deg, #eff5ff, #fff);
}
.xa-balance > div:not(.xa-heading) > strong {
  display: block;
  font-size: 28px;
  color: var(--xa-blue);
  margin: 5px 0 12px;
  font-variant-numeric: tabular-nums;
}
.xa-entry {
  grid-template-columns: minmax(0, 1fr) auto;
}
.xa-entry > div:last-child {
  text-align: right;
}
.xa-entry .xa-credit {
  color: #277453;
}
.xa-primary,
.xa-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  min-height: 35px;
  font: inherit;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.4;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}
.xa-primary,
.xa-shell a.xa-primary {
  color: white;
  background: var(--xa-blue);
  border: 1px solid var(--xa-blue);
}
.xa-secondary,
.xa-shell a.xa-secondary {
  color: var(--xa-blue);
  background: white;
  border: 1px solid #ccd9ea;
}
.xa-primary:disabled,
.xa-secondary:disabled {
  opacity: 0.55;
  cursor: wait;
}
.xa-primary:hover {
  filter: brightness(0.94);
}
.xa-secondary:hover {
  background: #eef5ff;
}
.xa-form {
  display: grid;
  gap: 13px;
  max-width: 420px;
}
.xa-form h3,
.xa-unavailable h3 {
  font-size: 14px;
  font-weight: 650;
}
.xa-form button {
  width: max-content;
}
.xa-field {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 550;
}
.xa-field output {
  font-size: 14px;
  font-weight: 440;
  overflow-wrap: anywhere;
  color: var(--xa-muted);
}
.xa-form .xa-hint,
.xa-muted,
.xa-login p {
  color: var(--xa-muted);
  font-size: 13px;
  line-height: 1.7;
}
.xa-feedback {
  font-size: 13px;
  color: #246a41;
  padding: 7px 9px;
  border-radius: 5px;
  background: #edf8ee;
}
.xa-feedback.xa-error {
  color: #983537;
  background: #fff0ef;
}
.xa-feedback[hidden] {
  display: none;
}
.xa-mini-wallet {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.xa-mini-wallet strong {
  font-size: 18px;
}
.xa-mini-wallet a {
  margin-left: auto;
  font-size: 13px;
}
.xa-unavailable {
  min-height: 150px;
  color: var(--xa-muted);
}
.xa-login {
  min-height: 235px;
  margin-top: 10px;
}
.xa-login h1,
.xa-page-title {
  font-size: 22px;
}
.xa-login > div {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.xa-shell h1.xa-page-title {
  margin-bottom: 12px;
}
@media (max-width: 800px) {
  .xa-layout {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 12px;
  }
  .xa-overview-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .xa-metric {
    min-height: 65px;
  }
  .xa-level-metrics > div {
    display: block;
  }
  .xa-level-metrics b {
    display: block;
    margin-top: 3px;
  }
  .xa-panel {
    padding: 14px;
  }
  .xa-hero {
    padding: 14px;
  }
}
@media (max-width: 620px) {
  .xa-layout {
    display: block;
  }
  .xa-nav {
    position: static;
    display: flex;
    gap: 3px;
    overflow-x: auto;
    margin-bottom: 12px;
    scrollbar-width: thin;
  }
  .xa-nav a {
    flex: none;
    min-height: 34px;
    padding: 5px 8px;
    gap: 4px;
    font-size: 13px;
  }
  .xa-nav svg {
    width: 14px;
    height: 14px;
  }
  .xa-identity {
    gap: 4px 6px;
  }
  .xa-who h1 {
    font-size: 18px;
  }
  .xa-hero {
    gap: 10px;
    flex-wrap: wrap;
  }
  .xa-avatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .xa-logout {
    padding: 5px 8px;
    min-height: 30px;
  }
  .xa-overview-metrics {
    gap: 8px;
  }
  .xa-order,
  .xa-entry {
    gap: 7px;
  }
  .xa-filters input {
    width: min(190px, 100%);
    flex: 1;
    min-width: 90px;
  }
}
