.account-app {
  --account-bg: #05070b;
  --account-sidebar: rgba(7, 10, 15, 0.96);
  --account-panel: rgba(12, 17, 25, 0.9);
  --account-panel-strong: #111824;
  --account-panel-soft: rgba(255, 255, 255, 0.035);
  --account-line: rgba(255, 255, 255, 0.1);
  --account-line-strong: rgba(255, 255, 255, 0.17);
  --account-text: #f4f7fb;
  --account-muted: #8993a5;
  --account-muted-strong: #aeb7c7;
  --account-lime: #c8ff45;
  --account-cyan: #47d8ff;
  --account-violet: #8b6cff;
  --account-pink: #ff4778;
  --account-green: #52d99b;
  --account-yellow: #f4c84c;
  --account-red: #ff657d;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  grid-template-columns: 286px minmax(0, 1fr);
  overflow: clip;
  background: var(--account-bg);
  color: var(--account-text);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html.account-session-active,
body.account-session-active {
  background: #05070b;
}

.account-app::before,
.account-app::after {
  position: fixed;
  z-index: -3;
  inset: 0;
  content: "";
  pointer-events: none;
}

.account-app::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.account-app::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 0.65px, transparent 0.65px);
  background-size: 4px 4px;
  opacity: 0.2;
}

.account-app :focus-visible {
  outline: 2px solid var(--account-lime);
  outline-offset: 3px;
}

.account-skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  border-radius: 9px;
  padding: 10px 14px;
  background: var(--account-lime);
  color: #071006;
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.account-skip-link:focus {
  transform: translateY(0);
}

.account-aurora {
  position: fixed;
  z-index: -4;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.account-orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(125px);
}

.account-orb-violet {
  width: 610px;
  height: 610px;
  top: -330px;
  left: -130px;
  background: var(--account-violet);
  opacity: 0.17;
}

.account-orb-cyan {
  width: 720px;
  height: 720px;
  top: 16%;
  right: -460px;
  background: var(--account-cyan);
  opacity: 0.095;
}

.account-orb-lime {
  width: 420px;
  height: 420px;
  bottom: -270px;
  left: 38%;
  background: var(--account-lime);
  opacity: 0.055;
}

.account-app .account-sidebar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  width: auto;
  height: 100vh;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid var(--account-line);
  padding: 23px 15px 15px;
  background:
    linear-gradient(180deg, rgba(139, 108, 255, 0.055), transparent 30%),
    var(--account-sidebar);
  backdrop-filter: blur(18px);
}

.account-sidebar-heading {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px;
}

.account-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 0;
}

.account-brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(71, 216, 255, 0.18);
  border-radius: 11px;
  object-fit: contain;
  box-shadow: 0 0 26px rgba(71, 216, 255, 0.1);
}

.account-brand > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.account-brand strong {
  overflow: hidden;
  font: 600 14px/1.1 "Space Grotesk", sans-serif;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-brand small {
  color: var(--account-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-mobile-actions,
.sidebar-mobile-menu,
.sidebar-mobile-logout {
  display: none;
}

.account-environment-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 18px 8px 15px;
  border: 1px solid rgba(200, 255, 69, 0.14);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(200, 255, 69, 0.035);
  color: rgba(227, 255, 164, 0.82);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.account-environment-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--account-lime);
  box-shadow: 0 0 10px rgba(200, 255, 69, 0.75);
}

.account-app .nav-label {
  margin: 20px 12px 8px;
  color: #7d8799;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.account-app .account-nav {
  display: grid;
  min-height: 0;
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 1px 20px;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
  scrollbar-width: thin;
}

.account-app .nav-item {
  display: grid;
  width: 100%;
  min-height: 43px;
  grid-template-columns: 19px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 10px;
  background: transparent;
  color: #8791a3;
  font-size: inherit;
  text-align: left;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.account-app .nav-item:hover {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: #e4eaf3;
}

.account-app .nav-item.is-active {
  border-color: rgba(200, 255, 69, 0.2);
  background: linear-gradient(90deg, rgba(200, 255, 69, 0.1), rgba(200, 255, 69, 0.025));
  color: #f3f8fb;
  box-shadow: inset 2px 0 0 var(--account-lime);
}

.account-app .nav-item svg,
.topbar-store-link svg,
.license-banner-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.account-app .nav-item.is-active svg {
  color: var(--account-lime);
}

.account-app .nav-item > span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-app .nav-item > .nav-number {
  color: #5d6677;
  font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.account-app .nav-item.is-active > .nav-number {
  color: rgba(200, 255, 69, 0.67);
}

.account-sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--account-line);
  padding-top: 14px;
}

.account-app .sidebar-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--account-line);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.account-app .avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(71, 216, 255, 0.31);
  border-radius: 10px;
  background: rgba(71, 216, 255, 0.07);
  color: var(--account-cyan);
  font: 700 11px/1 "Space Grotesk", sans-serif;
}

.account-app .sidebar-user-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.account-app .sidebar-user-copy strong,
.account-app .sidebar-user-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-app .sidebar-user-copy strong {
  font-size: 11px;
  font-weight: 700;
}

.account-app .sidebar-user-copy small {
  color: var(--account-muted);
  font-size: 9px;
}

.account-app .sidebar-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.account-app .outline-button {
  display: grid;
  min-height: 32px;
  place-items: center;
  border: 1px solid var(--account-line);
  border-radius: 8px;
  padding: 0;
  background: transparent;
  color: var(--account-muted);
  font-size: 10px;
  font-weight: 700;
}

.account-app .outline-button:hover {
  border-color: rgba(71, 216, 255, 0.35);
  color: var(--account-text);
}

.account-app .outline-button.danger:hover {
  border-color: rgba(255, 101, 125, 0.4);
  color: #ffdce3;
}

.account-app .account-main {
  position: relative;
  z-index: 1;
  width: min(100%, 1680px);
  min-width: 0;
  padding: 0 0 70px;
}

.account-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--account-line);
  padding: 0 clamp(24px, 3.7vw, 64px);
  background: rgba(5, 7, 11, 0.82);
  backdrop-filter: blur(18px);
}

.account-topbar-leading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.account-topbar-leading > div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.account-topbar-leading p {
  margin: 0;
  color: #7d8799;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-topbar-leading strong {
  overflow: hidden;
  font: 600 16px/1.1 "Space Grotesk", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-store-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--account-line-strong);
  border-radius: 10px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--account-muted-strong);
  font-size: 11px;
  font-weight: 800;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.topbar-store-link:hover {
  border-color: rgba(71, 216, 255, 0.38);
  background: rgba(71, 216, 255, 0.05);
  color: var(--account-text);
  transform: translateY(-1px);
}

.topbar-store-link svg {
  width: 16px;
  height: 16px;
}

.account-view-host {
  padding: clamp(30px, 4vw, 54px) clamp(24px, 3.7vw, 64px) 0;
}

.account-app .account-view {
  width: 100%;
}

.account-app .view-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.account-app .view-copy {
  max-width: 760px;
}

.account-app .section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--account-lime);
  font: 700 10px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.account-app .section-kicker > span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--account-lime);
  box-shadow: 0 0 12px rgba(200, 255, 69, 0.72);
}

.account-app .view-heading h1 {
  margin: 11px 0 9px;
  font: 600 clamp(34px, 4vw, 48px)/1.02 "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
  scroll-margin-top: 88px;
}

.account-app .view-heading .view-copy > p:last-child {
  margin: 0;
  color: var(--account-muted);
  font-size: 14px;
  line-height: 1.6;
}

.account-app .solid-link,
.account-app .primary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 15px;
  background: var(--account-lime);
  color: #081004;
  font-size: 11px;
  font-weight: 850;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.account-app .solid-link:hover,
.account-app .primary:hover {
  background: #d8ff79;
  box-shadow: 0 14px 34px rgba(200, 255, 69, 0.18);
  transform: translateY(-1px);
}

.account-app .license-banner {
  position: relative;
  display: grid;
  min-height: 138px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(139, 108, 255, 0.18);
  border-radius: 18px;
  padding: 22px 24px;
  background:
    linear-gradient(120deg, rgba(139, 108, 255, 0.12), transparent 48%),
    linear-gradient(300deg, rgba(71, 216, 255, 0.07), transparent 52%),
    var(--account-panel);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.15);
}

.account-app .license-banner::after {
  position: absolute;
  right: 9%;
  bottom: -110px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--account-violet);
  content: "";
  filter: blur(75px);
  opacity: 0.1;
  pointer-events: none;
}

.license-banner-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(139, 108, 255, 0.34);
  border-radius: 16px;
  background: rgba(139, 108, 255, 0.09);
  color: #c6b8ff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.license-banner-icon svg {
  width: 25px;
  height: 25px;
}

.account-app .license-banner-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
}

.account-app .license-banner .eyebrow {
  color: #b6a5ff;
}

.account-app .license-banner h2 {
  margin: 1px 0 0;
  font: 600 21px/1.15 "Space Grotesk", sans-serif;
  letter-spacing: -0.025em;
}

.account-app .license-banner p {
  margin: 0;
  color: var(--account-muted);
  font-size: 13px;
  line-height: 1.5;
}

.account-app .license-banner .solid-link {
  position: relative;
  z-index: 1;
  margin: 0;
}

.account-app .summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.account-app .metric {
  --metric-color: var(--account-cyan);
  position: relative;
  min-height: 138px;
  overflow: hidden;
  border: 1px solid var(--account-line);
  border-radius: 16px;
  padding: 19px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 55%),
    var(--account-panel);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.account-app .metric::after {
  position: absolute;
  right: -50px;
  bottom: -64px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--metric-color);
  content: "";
  filter: blur(48px);
  opacity: 0.11;
}

.account-app .metric.is-orders { --metric-color: var(--account-cyan); }
.account-app .metric.is-active { --metric-color: var(--account-green); }
.account-app .metric.is-pending { --metric-color: var(--account-yellow); }
.account-app .metric.is-invested { --metric-color: var(--account-violet); }

.account-app .metric-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-app .metric-label {
  color: var(--account-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.account-app .metric-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--metric-color) 27%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--metric-color) 6%, transparent);
  color: var(--metric-color);
  font: 700 10px/1 "Space Grotesk", sans-serif;
}

.account-app .metric-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.account-app .metric .metric-value {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: var(--account-text);
  font: 600 clamp(25px, 3vw, 33px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.045em;
}

.account-app .metric-foot {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 12px;
  color: #737d8e;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: 16px;
}

.account-app .content-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--account-line);
  border-radius: 16px;
  background: var(--account-panel);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.12);
}

.account-app .panel-heading {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--account-line);
  padding: 17px 20px;
}

.account-app .panel-heading > div {
  min-width: 0;
}

.account-app .panel-heading .eyebrow {
  margin: 0 0 5px;
  color: var(--account-lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.account-app .panel-heading h2 {
  margin: 0;
  font: 600 17px/1.18 "Space Grotesk", sans-serif;
  letter-spacing: -0.025em;
}

.account-app .panel-heading small {
  display: block;
  margin-top: 5px;
  color: var(--account-muted);
  font-size: 10px;
}

.account-app .text-button {
  flex: 0 0 auto;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--account-cyan);
  font-size: 10px;
  font-weight: 800;
}

.account-app .text-button:hover {
  color: #a8efff;
}

.account-app .order-list {
  display: grid;
}

.account-app .order-row {
  display: grid;
  width: 100%;
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  border: 0;
  border-bottom: 1px solid var(--account-line);
  padding: 15px 20px;
  background: transparent;
  color: inherit;
  text-align: left;
  transition: background 0.18s ease;
}

.account-app .order-row:last-child {
  border-bottom: 0;
}

.account-app .order-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.account-app .order-product {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.account-app .product-thumb {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--account-line-strong);
  border-radius: 12px;
  padding: 5px;
  background: #080c12;
  object-fit: contain;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.account-app .order-product-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.account-app .order-product-copy strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-app .order-product-copy span {
  overflow: hidden;
  color: var(--account-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-app .status-badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  padding: 6px 9px;
  color: #c4d3d8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-app .status-badge.pending { border-color: rgba(244, 200, 76, 0.3); background: rgba(244, 200, 76, 0.055); color: #f5d969; }
.account-app .status-badge.paid,
.account-app .status-badge.active { border-color: rgba(82, 217, 155, 0.3); background: rgba(82, 217, 155, 0.055); color: #83e3b0; }
.account-app .status-badge.failed { border-color: rgba(255, 101, 125, 0.34); background: rgba(255, 101, 125, 0.06); color: #ff9fa7; }
.account-app .status-badge.expired { border-color: rgba(174, 183, 199, 0.22); background: rgba(174, 183, 199, 0.04); color: #b8bfca; }

.account-app .order-amount {
  min-width: 88px;
  color: var(--account-text);
  font: 600 14px/1 "Space Grotesk", sans-serif;
  text-align: right;
}

.account-app .empty-state {
  margin: 0;
  padding: 36px 24px;
  color: var(--account-muted);
  font-size: 13px;
}

.empty-state-rich {
  display: grid;
  min-height: 214px;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 16px;
}

.empty-state-rich .empty-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(71, 216, 255, 0.28);
  border-radius: 15px;
  background: rgba(71, 216, 255, 0.06);
  color: var(--account-cyan);
  font: 700 12px/1 "Space Grotesk", sans-serif;
}

.empty-state-rich > span + span {
  display: grid;
  gap: 5px;
}

.empty-state-rich strong {
  color: var(--account-text);
  font: 600 16px/1.2 "Space Grotesk", sans-serif;
}

.empty-state-rich small {
  color: var(--account-muted);
  font-size: 11px;
  line-height: 1.5;
}

.quick-panel .panel-heading {
  min-height: 82px;
}

.account-app .quick-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 8px;
}

.account-app .quick-action {
  display: grid;
  min-height: 82px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 12px;
  background: transparent;
  color: inherit;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.account-app .quick-action:hover {
  border-color: var(--account-line);
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(2px);
}

.account-app .quick-action-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(71, 216, 255, 0.24);
  border-radius: 11px;
  background: rgba(71, 216, 255, 0.055);
  color: var(--account-cyan);
  font: 700 10px/1 "Space Grotesk", sans-serif;
}

.account-app .quick-action-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.account-app .quick-action-icon.is-lime {
  border-color: rgba(200, 255, 69, 0.22);
  background: rgba(200, 255, 69, 0.05);
  color: var(--account-lime);
  font-size: 16px;
}

.account-app .quick-action > span:not(.quick-action-icon) {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.account-app .quick-action strong {
  color: var(--account-text);
  font-size: 12px;
}

.account-app .quick-action small {
  overflow: hidden;
  color: var(--account-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-app .quick-action b {
  color: #5f697a;
  font-size: 15px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.account-app .quick-action:hover b {
  color: var(--account-cyan);
  transform: translateX(2px);
}

.account-app .summary-grid-compact {
  margin-bottom: 16px;
}

.account-app .summary-grid-compact .metric {
  min-height: 128px;
}

.account-app .orders-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  border: 1px solid var(--account-line);
  border-radius: 14px;
  padding: 11px;
  background: var(--account-panel);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}

.account-app .search-field {
  flex: 1 1 310px;
}

.account-app .search-field input,
.account-app .profile-form input,
.account-app .password-form input {
  border-color: var(--account-line-strong);
  border-radius: 10px;
  background: #080d14;
}

.account-app .search-field input {
  height: 40px;
}

.account-app .search-field input:focus,
.account-app .profile-form input:focus,
.account-app .password-form input:focus {
  border-color: var(--account-cyan);
  box-shadow: 0 0 0 3px rgba(71, 216, 255, 0.1);
}

.account-app input.is-invalid,
.account-app input.is-invalid:focus {
  border-color: var(--account-red);
  box-shadow: 0 0 0 3px rgba(255, 101, 125, 0.12);
}

.account-app .status-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.account-app .filter-button {
  min-height: 32px;
  border: 1px solid var(--account-line);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--account-muted);
  font-size: 10px;
  font-weight: 800;
}

.account-app .filter-button:hover {
  border-color: var(--account-line-strong);
  color: var(--account-text);
}

.account-app .filter-button.is-active {
  border-color: rgba(200, 255, 69, 0.25);
  background: rgba(200, 255, 69, 0.08);
  color: #eaffbb;
}

.account-app .profile-hero {
  position: relative;
  display: grid;
  min-height: 132px;
  grid-template-columns: auto minmax(0, 1fr) minmax(180px, 280px);
  align-items: center;
  gap: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(71, 216, 255, 0.16);
  border-radius: 18px;
  padding: 22px 24px;
  background:
    linear-gradient(125deg, rgba(71, 216, 255, 0.08), transparent 45%),
    linear-gradient(315deg, rgba(139, 108, 255, 0.08), transparent 42%),
    var(--account-panel);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.13);
}

.account-app .profile-hero::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--account-cyan);
  content: "";
  filter: blur(80px);
  opacity: 0.09;
}

.account-app .profile-hero > * {
  position: relative;
  z-index: 1;
}

.account-app .profile-hero .avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 18px;
}

.account-app .profile-hero h2 {
  margin: 0 0 5px;
  font: 600 21px/1.15 "Space Grotesk", sans-serif;
  letter-spacing: -0.025em;
}

.account-app .profile-hero p {
  margin: 0;
  color: var(--account-muted);
  font-size: 11px;
}

.account-app .profile-load-error {
  display: grid;
  grid-column: 1 / -1;
  justify-items: start;
  gap: 7px;
}

.account-app .profile-load-error strong {
  font: 600 17px/1.2 "Space Grotesk", sans-serif;
}

.account-app .profile-load-error small {
  color: var(--account-muted);
  font-size: 11px;
}

.account-app .profile-load-error .text-button {
  margin-top: 5px;
}

.account-app .completion {
  display: grid;
  gap: 9px;
}

.account-app .completion-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--account-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.account-app .completion-row strong {
  color: var(--account-cyan);
}

.account-app .completion-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #080d14;
}

.account-app .completion-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--account-violet), var(--account-cyan));
  box-shadow: 0 0 14px rgba(71, 216, 255, 0.26);
}

.profile-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-app .profile-panel {
  margin: 0;
}

.account-app .security-panel {
  border-color: rgba(139, 108, 255, 0.16);
}

.account-app .security-panel .panel-heading .eyebrow {
  color: #b5a4ff;
}

.account-app .profile-form,
.account-app .password-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 20px;
}

.account-app .profile-form > div,
.account-app .password-form > div {
  display: grid;
  gap: 7px;
}

.account-app .profile-form label,
.account-app .password-form label {
  color: #d9e0ea;
  font-size: 11px;
  font-weight: 750;
}

.account-app .profile-form input:disabled {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.018);
  color: #7d8797;
}

.account-app .profile-form small,
.account-app .password-form small {
  color: var(--account-muted);
  font-size: 10px;
}

.account-app .form-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.account-app .form-footer .primary {
  min-width: 155px;
}

.account-app .password-form > div:first-child {
  grid-column: 1 / -1;
}

.account-app .status {
  min-height: 18px;
  color: var(--account-muted);
  font-size: 11px;
}

.account-app .status.error { color: #ff9da4; }
.account-app .status.success { color: var(--account-green); }

.order-dialog {
  --line: rgba(255, 255, 255, 0.1);
  --muted: #8993a5;
  --cyan: #47d8ff;
  --green: #52d99b;
  --yellow: #f4c84c;
  --panel: #0c121b;
  --panel-strong: #111824;
  width: min(760px, calc(100% - 32px));
  max-height: min(820px, calc(100vh - 32px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 0;
  background:
    linear-gradient(145deg, rgba(139, 108, 255, 0.055), transparent 35%),
    #0a0f17;
  color: #f4f7fb;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.7);
}

.order-dialog::backdrop {
  background: rgba(2, 4, 8, 0.82);
  backdrop-filter: blur(7px);
}

.order-dialog .dialog-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  padding: 22px 24px;
}

.order-dialog .dialog-header h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.order-dialog .eyebrow {
  color: #c8ff45;
}

.order-dialog .icon-button {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.order-dialog .icon-button:hover {
  border-color: rgba(71, 216, 255, 0.38);
  color: #47d8ff;
}

.order-dialog .detail-body {
  padding: 24px;
}

.order-dialog .detail-card,
.order-dialog .timeline {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.order-dialog .order-product {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.order-dialog .product-thumb {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  padding: 5px;
  background: #080c12;
  object-fit: contain;
}

.order-dialog .order-product-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.order-dialog .order-product-copy strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-dialog .order-product-copy span,
.order-dialog .detail-meta {
  color: #8993a5;
  font-size: 10px;
}

.order-dialog .status-badge {
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 9px;
}

.order-dialog .order-amount {
  color: #f4f7fb;
  font: 600 14px/1 "Space Grotesk", sans-serif;
}

.order-dialog .solid-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0 15px;
  background: #c8ff45;
  color: #081004;
  font-size: 11px;
  font-weight: 850;
}

.order-dialog .solid-link:hover {
  background: #d8ff79;
  box-shadow: 0 14px 34px rgba(200, 255, 69, 0.18);
}

.order-dialog .copy-button {
  border-color: rgba(71, 216, 255, 0.28);
  border-radius: 9px;
  background: rgba(71, 216, 255, 0.065);
  color: #d9f8ff;
}

.order-dialog .copy-button:hover {
  background: rgba(71, 216, 255, 0.12);
}

.order-dialog .pix-code {
  width: 100%;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #080d14;
  color: #dce5f0;
  outline: 0;
}

.order-dialog .pix-code:focus {
  border-color: rgba(71, 216, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(71, 216, 255, 0.1);
}

.order-dialog .timeline-item {
  background: #0c121b;
}

@media (max-width: 1180px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .account-app .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1050px) {
  .account-app .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-app .orders-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .account-app .search-field,
  .account-app .status-filters {
    width: 100%;
  }

  .account-app .search-field {
    flex: 0 0 auto;
  }

  .account-app .status-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .account-app {
    display: block;
    overflow: visible;
  }

  .account-app .account-sidebar {
    position: sticky;
    z-index: 50;
    top: 0;
    width: 100%;
    height: auto;
    min-height: 64px;
    padding: 10px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--account-line);
    background: rgba(7, 10, 15, 0.94);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  }

  .account-sidebar-heading {
    min-height: 43px;
    padding: 0;
  }

  .account-brand img {
    width: 34px;
    height: 34px;
  }

  .account-brand strong {
    font-size: 13px;
  }

  .sidebar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .sidebar-mobile-menu,
  .sidebar-mobile-logout {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--account-line-strong);
    border-radius: 9px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--account-muted-strong);
    font-size: 10px;
    font-weight: 800;
  }

  .sidebar-mobile-menu svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
  }

  .account-sidebar.is-mobile-open .sidebar-mobile-menu {
    border-color: rgba(200, 255, 69, 0.35);
    background: rgba(200, 255, 69, 0.08);
    color: #e7ffad;
  }

  .account-environment-badge,
  .account-app .nav-label,
  .account-sidebar-footer {
    display: none;
  }

  .account-app .account-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    display: none;
    max-height: min(440px, calc(100vh - 88px));
    gap: 4px;
    margin-top: 0;
    overflow: auto;
    border: 1px solid var(--account-line);
    border-radius: 0 0 16px 16px;
    padding: 9px;
    background:
      linear-gradient(145deg, rgba(139, 108, 255, 0.055), transparent 42%),
      rgba(8, 12, 18, 0.985);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  }

  .account-app .account-sidebar.is-mobile-open .account-nav {
    display: grid;
  }

  .account-app .nav-item {
    width: 100%;
    min-width: 0;
    grid-template-columns: 19px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 0 12px;
  }

  .account-app .nav-item > .nav-number {
    display: inline;
  }

  .account-app .account-main {
    width: 100%;
    padding: 0 24px 54px;
  }

  .account-topbar {
    display: none;
  }

  .account-view-host {
    padding: 28px 0 0;
  }

  .account-app .profile-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .account-app .completion {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .account-app .account-sidebar {
    padding: 10px 16px;
  }

  .account-app .account-main {
    padding: 0 16px 44px;
  }

  .account-topbar {
    display: none;
  }

  .topbar-store-link {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .topbar-store-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .account-view-host {
    padding: 26px 0 0;
  }

  .account-app .view-heading {
    display: grid;
    align-items: start;
    gap: 15px;
    margin-bottom: 23px;
  }

  .account-app .view-heading h1 {
    font-size: 34px;
  }

  .account-app .view-heading > .solid-link {
    width: 100%;
    margin: 0;
  }

  .account-app .license-banner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 15px;
    padding: 19px;
  }

  .license-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .account-app .license-banner .solid-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .account-app .summary-grid {
    gap: 8px;
  }

  .account-app .metric {
    min-height: 124px;
    padding: 15px;
  }

  .account-app .metric-value {
    font-size: 25px;
  }

  .account-app .quick-actions {
    grid-template-columns: 1fr;
  }

  .account-app .panel-heading {
    min-height: 78px;
    padding: 16px;
  }

  .account-app .recent-orders-panel .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .account-app .recent-orders-panel .text-button {
    margin: 0;
  }

  .account-app .order-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 12px;
    padding: 14px 16px;
  }

  .account-app .order-amount {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .account-app .order-row .status-badge {
    grid-column: 1 / -1;
  }

  .empty-state-rich {
    min-height: 230px;
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 28px 20px;
  }

  .account-app .profile-hero {
    gap: 13px;
    padding: 18px;
  }

  .account-app .profile-load-error {
    grid-column: 1 / -1;
  }

  .account-app .profile-form,
  .account-app .password-form {
    grid-template-columns: 1fr;
    padding: 18px 16px;
  }

  .account-app .password-form > div:first-child {
    grid-column: auto;
  }

  .account-app .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .account-app .form-footer .primary {
    width: 100%;
  }

  .order-dialog .dialog-header,
  .order-dialog .detail-body {
    padding: 19px;
  }
}

@media (max-width: 380px) {
  .account-brand small,
  .sidebar-mobile-menu span {
    display: none;
  }

  .sidebar-mobile-menu {
    width: 34px;
    padding: 0;
  }

  .account-app .summary-grid {
    grid-template-columns: 1fr;
  }

  .account-app .metric {
    min-height: 116px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-app *,
  .account-app *::before,
  .account-app *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
