:root {
  --ink: #18181b;
  --ink-strong: #09090b;
  --navy: #18181b;
  --navy-soft: #27272a;
  --blue: #a548f3;
  --blue-dark: #8b16d9;
  --aqua: #c4b5fd;
  --paper: #f4f2f7;
  --surface: #ffffff;
  --surface-soft: #f7f9fa;
  --line: #e4e4e7;
  --line-strong: #d4d4d8;
  --muted: #71717b;
  --muted-light: #9f9fa9;
  --success: #00bb7f;
  --warning: #f99c00;
  --danger: #fb2c36;
  --tigger-500: #bf7dff;
  --tigger-600: #a548f3;
  --tigger-700: #8b16d9;
  --shadow: 0 1px 2px rgba(9, 9, 11, .04), 0 10px 30px rgba(9, 9, 11, .06);
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(9, 9, 11, .015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 9, 11, .015) 1px, transparent 1px),
    var(--paper) !important;
  background-size: 32px 32px !important;
  color: var(--ink) !important;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
}

button, input, select, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a { text-underline-offset: 3px; }
h1, h2, h3 { font-family: "Plus Jakarta Sans", sans-serif; letter-spacing: -.025em; }

:focus-visible {
  outline: 3px solid rgba(21, 94, 239, .24) !important;
  outline-offset: 2px;
}

::selection { background: #c9dcff; color: var(--ink-strong); }

.mono, code, pre {
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
}

.app-shell { min-height: 100vh; }

.glass {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow);
  backdrop-filter: none !important;
}

.glow { box-shadow: var(--shadow) !important; }

/* Legacy utility colors are remapped into the new visual system so every screen
   benefits without coupling the application to a second component framework. */
.text-zinc-100, .text-white { color: var(--ink) !important; }
.text-zinc-200, .text-zinc-300 { color: #344359 !important; }
.text-zinc-400 { color: #556479 !important; }
.text-zinc-500, .text-zinc-600 { color: var(--muted) !important; }
.text-violet-200, .text-violet-300, .text-violet-400 { color: var(--blue) !important; }
.text-fuchsia-300, .text-fuchsia-400 { color: var(--blue) !important; }
.text-emerald-300, .text-emerald-400 { color: var(--success) !important; }
.text-amber-300, .text-amber-400 { color: var(--warning) !important; }
.text-red-300, .text-red-400 { color: var(--danger) !important; }

.bg-violet-600, .bg-violet-500, .bg-emerald-600 {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.hover\:bg-violet-500:hover, .hover\:bg-violet-600:hover, .hover\:bg-emerald-500:hover {
  background: var(--blue-dark) !important;
}
.bg-white\/5, .bg-white\/10, .bg-white\/\[0\.03\], .bg-white\/\[0\.04\],
.bg-white\/\[0\.05\], .bg-white\/\[0\.06\], .bg-white\/\[0\.08\] {
  background: var(--surface-soft) !important;
}
.bg-black\/40, .bg-black\/50, .bg-\[\#1a1033\] { background: #f1f4f6 !important; }
.border-white\/5, .border-white\/10, .border-white\/\[0\.04\], .border-white\/\[0\.05\],
.border-white\/\[0\.06\] { border-color: var(--line) !important; }
.divide-white\/5 > :not([hidden]) ~ :not([hidden]),
.divide-white\/\[0\.04\] > :not([hidden]) ~ :not([hidden]) { border-color: var(--line) !important; }

input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 1px rgba(12, 32, 55, .02);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
input:not([type="checkbox"]):not([type="radio"]):hover, select:hover, textarea:hover {
  border-color: #aebac5 !important;
}
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, .11) !important;
  outline: none !important;
}
input::placeholder, textarea::placeholder { color: #a2acb9 !important; }
input[type="checkbox"] { accent-color: var(--blue); }
label.uppercase, label[class*="uppercase"] {
  color: #526176 !important;
  letter-spacing: .06em !important;
}

button, a[class*="bg-violet-600"], a[class*="bg-emerald-600"] {
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
button:active, a[class*="bg-violet-600"]:active { transform: translateY(1px); }

table { border-collapse: collapse; }
thead { background: #f7f9fa; }
th {
  color: #71717b !important;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px !important;
  letter-spacing: .085em !important;
  font-weight: 600 !important;
}
tbody tr { transition: none !important; }
tbody tr:hover { background: #f8fafb !important; }

.status-badge, .method-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f5f9;
  color: #51465e;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge i { width: 5px; height: 5px; border-radius: 50%; background: #8d8397; }
.status-paid { border-color: #bcded4; background: #eff9f6; color: #19745f; }
.status-paid i { background: #23a47f; }
.status-pending, .status-processing { border-color: #ead2aa; background: #fff8ec; color: #98600e; }
.status-pending i, .status-processing i { background: #d58a21; }
.status-failed, .status-rejected, .status-chargeback { border-color: #ebc3c3; background: #fff3f3; color: #a83a3a; }
.status-failed i, .status-rejected i, .status-chargeback i { background: #cc4b4b; }
.method-badge { border-color: #d9cee9; background: #f7f3fc; color: #67449b; font-family: "IBM Plex Mono", monospace; letter-spacing: .03em; text-transform: uppercase; }

.scrollbar-thin::-webkit-scrollbar { width: 6px; height: 6px; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: #c7d0d8; border-radius: 99px; }

/* Sidebar */
.sidebar-shell {
  width: 256px;
  background: var(--navy);
  border-right: 0;
  color: #fff;
  box-shadow: 12px 0 35px rgba(7, 25, 45, .08);
}
.sidebar-brand {
  height: 78px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: #fff;
  color: var(--navy);
}
.brand-mark svg { width: 25px; height: 25px; }
.brand-name {
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.045em;
}
.brand-caption {
  margin-top: 2px;
  color: #8fa6bd;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.sidebar-nav { padding: 18px 14px 14px; }
.nav-label {
  padding: 0 10px;
  margin: 16px 0 7px;
  color: #6f89a3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-item {
  min-height: 42px;
  border-radius: 9px;
  color: #aabbd0;
  font-size: 13px;
  font-weight: 500;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-item.is-active {
  background: rgba(165, 72, 243, .14);
  color: var(--tigger-600);
  font-weight: 600;
  border: 1px solid rgba(165, 72, 243, .18);
}
.nav-icon { width: 18px; height: 18px; opacity: .84; }
.nav-item.is-active .nav-icon { color: var(--blue); opacity: 1; }
.nav-badge {
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 5px;
  padding: 2px 5px;
  color: #8fa6bd;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: .04em;
}
.nav-item.is-active .nav-badge { color: var(--blue); border-color: #d8e3f7; background: #edf3ff; }
.sidebar-note {
  margin: 16px 2px 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  background: rgba(255,255,255,.035);
}
.sidebar-note-kicker { color: var(--aqua); font: 600 9px/1 "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.sidebar-note-title { margin-top: 7px; color: #fff; font-size: 12px; font-weight: 600; }
.sidebar-note-copy { margin-top: 4px; color: #8399b1; font-size: 10px; line-height: 1.45; }
.sidebar-note a { display: inline-flex; margin-top: 10px; color: #d7e4f2; font-size: 10px; font-weight: 600; }
.sidebar-account { border-top: 1px solid rgba(255,255,255,.09); padding: 13px 14px; }
.sidebar-account-card { padding: 9px 10px; border-radius: 9px; background: rgba(255,255,255,.04); }
.account-avatar { background: var(--aqua); color: var(--navy); }
.account-name { color: #edf4fa; }
.account-role { color: #7790aa; }
.sidebar-shell .text-white { color: #fff !important; }

.standalone-header {
  background: rgba(37,16,59,.96);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}
.standalone-header .text-white { color: #fff !important; }
.standalone-header .brand-mark { background: #fff; color: var(--navy); }
.standalone-badge { padding: 4px 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 5px; color: #c4b4dd; font: 600 8px/1 "IBM Plex Mono", monospace; letter-spacing: .08em; }
.standalone-link { padding: 7px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; color: #fff; font-size: 10px; font-weight: 600; }
.standalone-muted { color: #a895bd; font-size: 10px; }

/* Topbar */
.topbar {
  height: 78px;
  padding: 0 32px;
  background: rgba(242,245,247,.9);
  border-bottom: 1px solid rgba(203, 213, 221, .78);
  backdrop-filter: blur(14px);
}
.topbar-title {
  color: var(--ink-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.035em;
}
.topbar-subtitle { margin-top: 2px; color: var(--muted); font-size: 11px; }
.api-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #beded5;
  border-radius: 8px;
  background: #eef9f6;
  color: #19745f;
  font: 600 10px/1 "IBM Plex Mono", monospace;
  letter-spacing: .02em;
}
.api-state-dot { width: 6px; height: 6px; border-radius: 50%; background: #25a985; box-shadow: 0 0 0 3px rgba(37,169,133,.12); }
.topbar-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
}
.topbar-action:hover { background: var(--blue-dark); }
.topbar-action svg { width: 15px; height: 15px; }

/* Dashboard */
.dashboard-wrap { max-width: 1240px; margin: 0 auto; padding: 28px 32px 48px; }
.context-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.context-date { color: var(--muted); font: 500 10px/1 "IBM Plex Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.merchant-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.merchant-pill { border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.7); padding: 6px 9px; color: #526176; font: 500 10px/1 "IBM Plex Mono", monospace; }

.cash-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  min-height: 260px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(9, 9, 11, .06), 0 10px 30px rgba(9, 9, 11, .04);
}
.cash-board::before { display: none; }
.cash-primary { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); }
.cash-kicker { color: var(--muted); font: 600 10px/1 "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.cash-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tigger-600); }
.cash-value { margin-top: 12px; color: var(--ink-strong); font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(36px, 5vw, 44px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.cash-state { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 11px; }
.cash-state-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(0,187,127,.12); }
.cash-actions { display: flex; gap: 9px; margin-top: auto; padding-top: 22px; }
.cash-action-primary, .cash-action-secondary { display: inline-flex; align-items: center; justify-content: center; height: 40px; border-radius: 10px; padding: 0 16px; font-size: 13px; font-weight: 600; }
.cash-action-primary { background: var(--tigger-600); color: #fff !important; }
.cash-action-primary:hover { background: var(--tigger-700); }
.cash-action-secondary { border: 1px solid var(--line); color: var(--ink) !important; background: #fff; }
.cash-action-secondary:hover { background: var(--surface-soft); }
.cash-ledger { position: relative; z-index: 1; display: grid; align-content: center; padding: 24px; gap: 4px; background: #fff; }
.ledger-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.ledger-row + .ledger-row { margin-top: 8px; }
.ledger-label { color: var(--ink); font-size: 13px; font-weight: 600; }
.ledger-note { margin-top: 2px; color: var(--muted); font: 500 11px/1 "JetBrains Mono", monospace; }
.ledger-value { color: var(--ink-strong); font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; font-weight: 700; text-align: right; }

.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.metric-card { position: relative; padding: 17px 18px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.88); box-shadow: 0 1px 1px rgba(12,32,55,.025); }
.metric-card::before { content: ""; position: absolute; left: 0; top: 17px; bottom: 17px; width: 3px; border-radius: 0 3px 3px 0; background: #c7d1da; }
.metric-card.is-pix::before { background: var(--blue); }
.metric-card.is-card::before { background: #6c7e91; }
.metric-card.is-withdrawal::before { background: var(--aqua); }
.metric-label { color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.metric-value { margin-top: 8px; color: var(--ink-strong); font-family: "Space Grotesk", sans-serif; font-size: 23px; font-weight: 600; letter-spacing: -.04em; }
.metric-note { margin-top: 4px; color: var(--muted); font-size: 10px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, .8fr); gap: 12px; margin-top: 12px; }
.panel { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.panel-header { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.panel-title { color: var(--ink-strong); font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 650; letter-spacing: -.025em; }
.panel-meta, .panel-link { color: var(--muted); font: 500 9px/1 "IBM Plex Mono", monospace; letter-spacing: .04em; text-transform: uppercase; }
.panel-link { color: var(--blue); }
.activity-chart { position: relative; height: 195px; display: flex; align-items: end; gap: 11px; padding: 24px 22px 26px; background: linear-gradient(to bottom, transparent 32%, #edf1f4 33%, transparent 34%, transparent 65%, #edf1f4 66%, transparent 67%); }
.chart-column { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 9px; }
.chart-bar { width: min(42px, 75%); min-height: 8px; border-radius: 4px 4px 2px 2px; background: var(--blue); opacity: .88; }
.chart-column:nth-child(6) .chart-bar { background: var(--aqua); opacity: 1; }
.chart-label { color: #8996a6; font: 9px/1 "IBM Plex Mono", monospace; }
.chart-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.chart-stat { padding: 13px 18px; border-right: 1px solid var(--line); }
.chart-stat:last-child { border-right: 0; }
.chart-stat-value { color: var(--ink-strong); font-family: "Space Grotesk", sans-serif; font-size: 18px; font-weight: 650; }
.chart-stat-label { color: var(--muted); font-size: 10px; }

.quick-panel { padding: 18px; }
.quick-panel .panel-title { margin-bottom: 12px; }
.quick-action { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 0 11px; border-radius: 9px; color: #2f4055; font-size: 12px; font-weight: 550; }
.quick-action:hover { background: #f2f6f8; }
.quick-action + .quick-action { margin-top: 3px; }
.quick-action-icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafb; color: var(--blue); font-size: 14px; }
.quick-action:first-of-type { background: var(--blue); color: #fff; }
.quick-action:first-of-type:hover { background: var(--blue-dark); }
.quick-action:first-of-type .quick-action-icon { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.12); color: #fff; }
.ops-note { margin-top: 14px; padding: 12px; border-left: 3px solid var(--aqua); background: #f2faf8; color: #48635f; font-size: 10px; line-height: 1.5; }
.ops-note strong { display: block; margin-bottom: 2px; color: #237b6c; font-family: "IBM Plex Mono", monospace; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }

.empty-state { padding: 48px 24px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 11px; border: 1px solid var(--line); border-radius: 11px; background: #f7f9fa; color: #8290a0; }

/* Login */
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, .92fr) minmax(520px, 1.08fr); background: #fff; }
.login-panel { display: flex; align-items: center; justify-content: center; padding: 46px; background: #fff; }
.login-box { width: 100%; max-width: 410px; }
.login-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 68px; }
.login-brand .brand-mark { background: var(--navy); color: #fff; }
.login-brand .brand-name { color: var(--navy); }
.login-brand .brand-caption { color: #77879a; }
.login-kicker { color: var(--blue); font: 600 10px/1 "IBM Plex Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.login-title { margin: 10px 0 0; color: var(--ink-strong); font-family: "Space Grotesk", sans-serif; font-size: 34px; font-weight: 600; letter-spacing: -.055em; line-height: 1.08; }
.login-copy { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.login-form { margin-top: 30px; }
.login-form label { display: block; margin-bottom: 6px; color: #526176; font: 600 10px/1 "IBM Plex Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.login-form input { width: 100%; height: 47px; padding: 0 14px; }
.login-field + .login-field { margin-top: 17px; }
.login-submit { width: 100%; height: 47px; margin-top: 22px; border: 0; background: var(--blue); color: #fff !important; font-weight: 600; cursor: pointer; }
.login-submit:hover { background: var(--blue-dark); }
.login-help { margin-top: 15px; color: #8a97a6; font-size: 10px; text-align: center; }
.login-error { margin: 18px 0 0; padding: 11px 13px; border-left: 3px solid var(--danger); background: #fff3f3; color: #9b3333; font-size: 12px; }
.login-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  overflow: hidden;
  padding: 58px;
  background: var(--navy);
  color: #fff;
}
.login-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 22%, rgba(173,147,230,.22), transparent 24%),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(255,255,255,.04) 80px),
    repeating-linear-gradient(0deg, transparent 0, transparent 79px, rgba(255,255,255,.04) 80px);
}
.login-art::after { content: ""; position: absolute; width: 430px; height: 430px; right: -95px; top: 15%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.login-art-content { position: relative; z-index: 1; max-width: 560px; }
.login-art-kicker { color: var(--aqua); font: 600 10px/1 "IBM Plex Mono", monospace; letter-spacing: .13em; text-transform: uppercase; }
.login-art-title { margin-top: 16px; color: #fff; font-family: "Space Grotesk", sans-serif; font-size: clamp(38px, 5vw, 66px); font-weight: 500; letter-spacing: -.06em; line-height: .98; }
.login-art-copy { max-width: 470px; margin-top: 22px; color: #9eb3c7; font-size: 14px; line-height: 1.6; }
.login-security { display: flex; gap: 18px; margin-top: 34px; color: #6f89a3; font: 500 9px/1 "IBM Plex Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.login-security span { display: flex; align-items: center; gap: 7px; }
.login-security i { width: 5px; height: 5px; border-radius: 50%; background: var(--aqua); }

@media (max-width: 1023px) {
  .sidebar-shell { width: 256px; }
  .topbar { padding: 0 18px; }
  .dashboard-wrap { padding: 22px 18px 42px; }
  .cash-board { grid-template-columns: 1fr; }
  .cash-ledger { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .login-page { grid-template-columns: 1fr; }
  .login-panel { min-height: 100vh; padding: 28px 22px; }
  .login-brand { margin-bottom: 48px; }
  .login-art { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .context-row { align-items: flex-start; flex-direction: column; }
  .cash-primary { padding: 25px 22px; }
  .cash-ledger { padding: 16px 22px; }
  .cash-actions { flex-wrap: wrap; }
  .dashboard-wrap { padding: 18px 14px 36px; }
  .topbar { height: 68px; padding: 0 14px; }
  .topbar-title { font-size: 17px; }
  .chart-summary { grid-template-columns: 1fr 1fr 1fr; }
  .chart-stat { padding: 11px; }
}

.app-content { width: 100%; max-width: none; margin: 0; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; }
.dashboard-heading h1 { margin: 0; color: #fff; font-size: 18px; font-weight: 700; }
.dashboard-heading p { margin-top: 3px; color: var(--muted); font-size: 10px; }
.period-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.period-switch a { padding: 7px 11px; border-radius: 6px; color: var(--muted); font-size: 10px; font-weight: 600; }
.period-switch a:hover { color: #fff; }
.period-switch a.is-active { color: #fff; background: var(--blue); }
.dashboard-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.mobile-menu-trigger {
  position: fixed; top: 12px; left: 12px; z-index: 30; display: grid; place-items: center;
  width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 8px;
  color: #fff; background: rgba(18,16,24,.94); backdrop-filter: blur(10px);
}
@media (max-width: 900px) { .dashboard-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 767px) {
  .app-content { padding-top: 62px !important; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .period-switch { width: 100%; }
  .period-switch a { flex: 1; text-align: center; }
  .dashboard-kpis { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* CrowPay dark system — informed by the compact hierarchy of the reference. */
:root {
  color-scheme: dark;
  --ink: #f4f1f7; --ink-strong: #fff; --navy: #09070c; --navy-soft: #17111d;
  --blue: #a548f3; --blue-dark: #8424ca; --aqua: #bf7dff; --paper: #0b080f;
  --surface: #121018; --surface-soft: #1b1522; --line: #2b2333; --line-strong: #3b3046;
  --muted: #958d9f; --muted-light: #6f6778; --success: #45d6a2;
  --warning: #f2b45b; --danger: #ef7279; --shadow: none;
}
html, body { background: var(--paper) !important; }
body { background-image: none !important; color: var(--ink) !important; }
.app-shell, main[class*="flex-1"] { background: var(--paper) !important; }
.glass { background: var(--surface) !important; border-color: var(--line) !important; box-shadow: none !important; }
.glow { box-shadow: none !important; }
.rounded-2xl { border-radius: 12px !important; }
.rounded-\[24px\] { border-radius: 14px !important; }
::selection { background: rgba(165,72,243,.55); color: #fff; }
:focus-visible { outline-color: var(--aqua) !important; }

.text-zinc-100, .text-white { color: #fff !important; }
.text-zinc-200, .text-zinc-300 { color: #d8d2de !important; }
.text-zinc-400 { color: var(--muted) !important; }
.text-zinc-500, .text-zinc-600 { color: var(--muted-light) !important; }
.text-violet-200, .text-violet-300, .text-violet-400, .text-fuchsia-300, .text-fuchsia-400 { color: var(--aqua) !important; }
.text-emerald-300, .text-emerald-400 { color: var(--success) !important; }
.text-amber-300, .text-amber-400 { color: var(--warning) !important; }
.text-red-300, .text-red-400 { color: var(--danger) !important; }
.bg-white\/5, .bg-white\/10, .bg-white\/\[0\.03\], .bg-white\/\[0\.04\], .bg-white\/\[0\.05\], .bg-white\/\[0\.06\], .bg-white\/\[0\.08\] { background: var(--surface-soft) !important; }
.bg-black\/40, .bg-black\/50, .bg-\[\#1a1033\] { background: #09070c !important; }
.border-white\/5, .border-white\/10, .border-white\/\[0\.04\], .border-white\/\[0\.05\], .border-white\/\[0\.06\], .border-zinc-800 { border-color: var(--line) !important; }
.divide-white\/5 > :not([hidden]) ~ :not([hidden]), .divide-white\/\[0\.04\] > :not([hidden]) ~ :not([hidden]) { border-color: var(--line) !important; }

input:not([type="checkbox"]):not([type="radio"]), select, textarea { background: #09070c !important; color: var(--ink) !important; border-color: var(--line-strong) !important; border-radius: 8px !important; box-shadow: none !important; }
input:not([type="checkbox"]):not([type="radio"]):hover, select:hover, textarea:hover { border-color: #594567 !important; }
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 3px rgba(165,72,243,.12) !important; }
input::placeholder, textarea::placeholder { color: #5f5768 !important; }
label.uppercase, label[class*="uppercase"] { color: var(--muted) !important; }
thead { background: #0e0b12; }
th { color: var(--muted) !important; }
tbody tr { transition: none !important; }
tbody tr:hover { background: rgba(165,72,243,.045) !important; transition: none !important; }
.status-badge, .method-badge { background: var(--surface-soft); border-color: var(--line-strong); color: #bdb5c5; }
.status-paid { border-color: rgba(69,214,162,.24); background: rgba(69,214,162,.08); color: var(--success); }
.status-pending, .status-processing { border-color: rgba(242,180,91,.24); background: rgba(242,180,91,.08); color: var(--warning); }
.status-failed, .status-rejected, .status-chargeback { border-color: rgba(239,114,121,.24); background: rgba(239,114,121,.08); color: var(--danger); }
.method-badge { border-color: rgba(165,72,243,.25); background: rgba(165,72,243,.1); color: #d3a8f8; }

.sidebar-tigger { width: 264px !important; color: var(--ink); background: #09070c !important; border-color: var(--line) !important; }
.appbar-tigger {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center;
  justify-content: space-between; height: 64px; padding: 0 28px; border-bottom: 1px solid var(--line);
  background: #08060a;
}
.appbar-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 18px; }
.appbar-brand svg { width: 20px; height: 20px; color: #a548f3; }
.appbar-user { display: flex; align-items: center; gap: 11px; color: #f2edf5; font-size: 12px; }
.appbar-avatar { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: #1b1520; color: var(--muted); font-size: 10px; }
.appbar-bell { width: 32px; height: 32px; padding: 7px; color: #e7e1ea; }
.appbar-bell svg { width: 18px; height: 18px; stroke-width: 1.6; }
a.appbar-bell { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 8px; transition: background .15s ease; }
a.appbar-bell:hover { background: rgba(255,255,255,.08); }
.appbar-badge { position: absolute; top: 2px; right: 2px; min-width: 15px; height: 15px; padding: 0 3px; display: grid; place-items: center; border-radius: 999px; background: #e5484d; color: #fff; font-size: 9.5px; font-weight: 700; line-height: 1; }
.appbar-notif-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 320px; max-width: calc(100vw - 24px); max-height: 420px; overflow-y: auto; background: var(--sx-ground); border: 1px solid var(--sx-rule-lit); box-shadow: 0 12px 32px rgba(0,0,0,.4); z-index: 60; }
.appbar-notif-head { padding: 12px 14px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--sx-ink); border-bottom: 1px solid var(--sx-rule); }
.appbar-notif-list { display: flex; flex-direction: column; }
.appbar-notif-empty { padding: 24px 14px; text-align: center; font-size: 12.5px; color: var(--sx-ink-3); }
.appbar-notif-item { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-bottom: 1px solid var(--sx-rule); text-decoration: none; position: relative; }
.appbar-notif-item:hover { background: var(--sx-band-2); }
.appbar-notif-item.is-unread::before { content: ""; position: absolute; left: 5px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--sx-signal); }
.appbar-notif-item.is-unread { padding-left: 20px; }
.appbar-notif-item-title { font-size: 12.5px; font-weight: 600; color: var(--sx-ink); }
.appbar-notif-item-body { font-size: 12px; color: var(--sx-ink-2); }
.appbar-notif-item-time { font-size: 10.5px; color: var(--sx-ink-3); margin-top: 2px; }
@media (max-width: 640px) {
  /* Em tela estreita, dropdown ancorado no ícone corta ou fica espremido — vira uma folha
     fixa na parte de baixo da tela, como a maioria dos apps mobile faz. */
  .appbar-notif-panel { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: auto; max-width: none; max-height: 65vh; border-radius: 14px 14px 0 0; box-shadow: 0 -12px 32px rgba(0,0,0,.5); border-bottom: none; }
  .appbar-notif-head { padding: 14px 16px; font-size: 13px; }
  .appbar-notif-item { padding: 13px 16px; }
}
.sidebar-tigger { top: 64px !important; bottom: 0 !important; height: calc(100vh - 64px); }
body > .flex.min-h-screen > main { padding-top: 64px; }
.sidebar-tigger + main, body > .flex.min-h-screen > main.md\:ml-60 { margin-left: 264px !important; }
.sidebar-tigger {
  display: flex !important;
  flex-direction: column !important;
  width: 264px !important;
  background: #09070c !important;
  border-right: 1px solid var(--line) !important;
}
.sidebar-tigger nav {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0% !important;
  gap: 2px !important;
  padding: 8px 12px 24px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}
.sidebar-tigger nav::-webkit-scrollbar { width: 5px; }
.sidebar-tigger nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-tigger nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
.sidebar-tigger nav::-webkit-scrollbar-thumb:hover { background: #a548f3; }

.sidebar-tigger nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 12px !important;
  border: 1px solid transparent !important;
  border-radius: 8px;
  font-size: 13.5px !important;
  line-height: 18px;
  color: #9f96aa !important;
  text-decoration: none;
  transition: all .15s ease-in-out;
}
.sidebar-tigger nav a svg { width: 17px; height: 17px; flex-shrink: 0; opacity: 0.85; transition: opacity .15s ease, transform .15s ease; }
.sidebar-tigger nav a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.055) !important;
}
.sidebar-tigger nav a:hover svg { opacity: 1; transform: scale(1.05); }

.sidebar-tigger nav a[class*="bg-[#a548f3]"],
.sidebar-tigger nav a.is-active {
  color: #ffffff !important;
  background: linear-gradient(90deg, rgba(165,72,243,0.18) 0%, rgba(165,72,243,0.06) 100%) !important;
  border-color: rgba(165,72,243,0.28) !important;
  box-shadow: inset 3px 0 0 #a548f3 !important;
  font-weight: 600 !important;
}
.sidebar-tigger nav a[class*="bg-[#a548f3]"] svg,
.sidebar-tigger nav a.is-active svg {
  color: #bf7dff !important;
  opacity: 1 !important;
}

.sidebar-tigger .nav-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 4px;
  padding: 5px 10px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: .08em;
  color: #7a7087;
  text-transform: uppercase;
  user-select: none;
}
.sidebar-tigger .nav-label:first-of-type {
  margin-top: 4px;
}
.sidebar-tigger .nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
}
.seller-main { margin-left: 270px; padding-top: 64px; }
.seller-sidebar { width: 270px !important; }
.seller-sidebar nav { gap: 2px !important; padding: 10px 12px !important; }
.seller-sidebar nav a { min-height: 38px; padding: 7px 12px !important; border-radius: 9px; font-size: 13.5px !important; line-height: 18px; }
.seller-sidebar nav a svg { width: 17px; height: 17px; }
.seller-sidebar .nav-label { margin: 10px 0 2px; padding: 0 8px; font-size: 10px; line-height: 13px; }
.seller-sidebar .nav-label:first-child { margin-top: 0; }
.sidebar-wallet { display: flex !important; flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 2px !important; min-height: 86px !important; margin: 0 0 8px; padding: 12px 16px !important; border: 1px solid rgba(165,72,243,.25) !important; border-radius: 10px !important; background: linear-gradient(135deg,rgba(165,72,243,.17),rgba(165,72,243,.05)) !important; }
.sidebar-wallet span { color: #bcaec7; font-size: 11px; font-weight: 600; }
.sidebar-wallet strong { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.sidebar-wallet small { margin-top: 3px; color: #be7bf6; font-size: 10px; }
.sidebar-wallet:hover,.sidebar-wallet.is-active { border-color: rgba(191,125,255,.5) !important; background: linear-gradient(135deg,rgba(165,72,243,.25),rgba(165,72,243,.08)) !important; }
.seller-sidebar-footer { padding: 12px !important; }
.seller-logout { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: #bdb5c5; font-size: 14px; font-weight: 600; }
.seller-logout:hover { border-color: rgba(239,114,121,.35); background: rgba(239,114,121,.08); color: var(--danger); }
.seller-logout svg { width: 18px; height: 18px; }

/* Backoffice modules follow the compact controls and table rhythm used by the
   authenticated reference screens. */
.module-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}
.module-search { width: min(320px, 100%); height: 36px; padding: 0 12px; font-size: 13px; }
.filter-pill { height: 34px; min-width: 160px; padding: 0 30px 0 11px; border-radius: 18px !important; font-size: 12px; }
.primary-button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: center; height: 36px;
  padding: 0 16px; border: 1px solid transparent; border-radius: 8px !important;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.primary-button { background: var(--blue); color: #fff; }
.primary-button:hover { background: var(--blue-dark); }
.secondary-button { background: var(--surface); color: #d8d2de; border-color: var(--line-strong); }
.module-table, .module-form {
  overflow: hidden; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface);
}
.module-table table { width: 100%; font-size: 13px; }
.module-table thead { background: transparent; }
.module-table th {
  padding: 14px 16px; color: #eee9f2 !important; font-family: inherit;
  font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0 !important;
  text-align: left; text-transform: none;
}
.module-table td { padding: 12px 16px; border-top: 1px solid var(--line); color: #d8d2de; vertical-align: middle; }
.table-title { padding: 16px; color: #f8f5fa; font-size: 14px; font-weight: 600; }
.cell-main { color: #f6f3f8; font-size: 13px; font-weight: 500; }
.cell-sub { margin-top: 2px; max-width: 440px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.cell-money { color: #fff !important; font-size: 14px; font-weight: 600; }
.empty-cell { height: 150px; color: var(--muted) !important; text-align: center; }
.module-form { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.module-form h2 { color: #fff; font-size: 15px; font-weight: 600; }
.module-form label, .module-form legend { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 500; }
.module-form input, .module-form select, .module-form textarea { width: 100%; min-height: 38px; padding: 9px 11px; font-size: 12px; }
.permission-picker, .inline-permissions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.permission-picker { max-width: 720px; padding: 5px 7px; border: 1px solid var(--line-strong); border-radius: 8px; background: #09070c; }
.permission-picker label, .inline-permissions label {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px;
  border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 10px; white-space: nowrap;
}
.inline-permissions button, .balance-adjust button { color: #d5a6ff; font-size: 11px; font-weight: 600; }
.danger-link, .success-link, .secondary-link { font-size: 11px; font-weight: 600; white-space: nowrap; }
.danger-link { color: var(--danger); }.success-link { color: var(--success); }.secondary-link { color: #d5a6ff; }
.row-actions, .reject-form, .balance-adjust { display: flex; align-items: center; gap: 8px; }
.reject-form input { width: 150px; height: 30px; padding: 0 9px; font-size: 10px; }
.balance-adjust select { width: 82px; height: 30px; padding: 0 7px; font-size: 10px; }
.balance-adjust input { width: 100px; height: 30px; padding: 0 8px; font-size: 10px; }
.balance-adjust input[name="reason"] { width: 150px; }
.seller-picker { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.seller-picker label { flex-direction: row; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: #ece7f0; }
.seller-picker small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.notice { padding: 11px 13px; border: 1px solid; border-radius: 9px; font-size: 12px; }
.notice-success { border-color: rgba(69,214,162,.2); background: rgba(69,214,162,.08); color: var(--success); }
.notice-error { border-color: rgba(239,114,121,.2); background: rgba(239,114,121,.08); color: var(--danger); }
.empty-state { display: grid; min-height: 280px; place-content: center; text-align: center; }
.empty-state .empty-icon { margin: 0 auto 12px; color: #a548f3; font-size: 28px; }
.empty-state h2 { color: #f5f1f7; font-size: 14px; font-weight: 600; }
.empty-state p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.danger-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px;
  border: 1px solid rgba(239,114,121,.25); border-radius: 8px !important; background: rgba(239,114,121,.08); color: var(--danger); font-size: 11px; font-weight: 600;
}
.admin-action-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; min-width: 280px; }
.admin-action-menu details { position: relative; }
.admin-action-menu summary { color: #d5a6ff; font-size: 11px; font-weight: 600; cursor: pointer; list-style: none; }
.popover-form { position: absolute; z-index: 10; top: 24px; right: 0; display: flex; gap: 6px; width: 260px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: #151019; }
.popover-form input { width: 165px; height: 30px; padding: 0 8px; font-size: 10px; }.popover-form button { color: #d5a6ff; font-size: 10px; }
.review-kpis, .security-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.review-kpis > div, .security-kpis > div { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.review-kpis span, .security-kpis span { display: block; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.review-kpis strong, .security-kpis strong { display: block; margin-top: 4px; color: #fff; font-size: 22px; }
.review-pending { color: var(--warning) !important; }.review-approved { color: var(--success) !important; }.review-rejected { color: var(--danger) !important; }
.review-list { display: grid; gap: 12px; }
.review-card { display: flex; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.review-main { flex: 1; min-width: 0; }.review-avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: var(--surface-soft); color: var(--muted); font-size: 12px; font-weight: 700; }
.review-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 14px; }
.review-facts > div { padding: 9px 11px; border-radius: 8px; background: var(--surface-soft); }.review-facts span { display: block; color: var(--muted); font-size: 8px; text-transform: uppercase; }.review-facts strong { display: block; margin-top: 4px; color: #e9e3ed; font-size: 11px; }
.review-actions { display: flex; flex-direction: column; gap: 8px; width: 220px; }.review-actions form { display: flex; flex-direction: column; gap: 6px; }.review-actions input { height: 32px; padding: 0 9px; font-size: 10px; }
.review-reason { margin-top: 10px; padding: 8px 10px; border-radius: 7px; background: rgba(239,114,121,.08); color: var(--danger); font-size: 10px; }
.review-media { display: flex; gap: 8px; margin-top: 10px; }.review-media a { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; color: #d5a6ff; font-size: 10px; }
.ranking-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ranking-card { position: relative; display: grid; grid-template-columns: 44px 48px 1fr 1fr; gap: 10px; align-items: end; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ranking-position { align-self: center; color: #b36af6; font: 700 16px/1 "JetBrains Mono",monospace; }.ranking-avatar { display: grid; width: 42px; height: 42px; place-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-soft); color: var(--muted); font-weight: 700; }.ranking-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ranking-card label { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 9px; }.ranking-card input,.ranking-card select { height: 34px; padding: 0 8px; font-size: 10px; }.ranking-card input[type=file] { padding: 6px; }
.segmented-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }.segmented-tabs a { padding: 7px 12px; border-radius: 7px; color: var(--muted); font-size: 10px; font-weight: 600; }.segmented-tabs a.active { background: var(--blue); color: #fff; }
.route-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }.route-grid label { padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }.route-grid strong { color: #eee8f1; font-size: 12px; }.route-grid small,.toggle-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }.route-grid select { margin-top: 12px; }
.acquirer-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }.acquirer-card > div { display: flex; align-items: center; gap: 12px; }.acquirer-card h2 { font-size: 13px; }.acquirer-card p { margin-top: 3px; color: var(--muted); font-size: 10px; }.acquirer-monogram { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: rgba(165,72,243,.15); color: #d5a6ff; font-size: 11px; font-weight: 700; }
.toggle-row { flex-direction: row !important; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }.toggle-row strong { color: #eee8f1; font-size: 11px; }
.seller-fee-form { display: flex; align-items: center; gap: 9px; }.seller-fee-form input { width: 110px; height: 30px; padding: 0 8px; font-size: 10px; }
.security-kpis { grid-template-columns: repeat(4,minmax(0,1fr)); }.security-block-form { display: flex; gap: 7px; }.security-block-form input { width: 150px; height: 34px; padding: 0 9px; font-size: 10px; }
.module-tabs { display: flex; border-bottom: 1px solid var(--line); }.module-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 11px; font-weight: 600; }.module-tabs a.active { border-color: var(--blue); color: #fff; }.module-tabs span { min-width: 17px; padding: 1px 5px; border-radius: 20px; background: var(--surface-soft); color: var(--muted); font-size: 8px; text-align: center; }
@media (max-width: 760px) {
  .appbar-tigger { height: 56px; padding: 0 14px; }
  .appbar-user strong { display: none; }
  .sidebar-tigger { top: 56px !important; height: calc(100vh - 56px); }
  body > .flex.min-h-screen > main { padding-top: 56px; }
  .sidebar-tigger + main, body > .flex.min-h-screen > main.md\:ml-60 { margin-left: 0 !important; }
  .seller-main { margin-left: 0; padding-top: 56px; }
  .permission-picker { width: 100%; }
  .seller-picker { grid-template-columns: 1fr; }
  .balance-adjust { min-width: 500px; }
  .review-kpis, .security-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .review-card { flex-direction: column; }.review-actions { width: 100%; }.review-facts { grid-template-columns: 1fr; }
  .ranking-grid { grid-template-columns: 1fr; }.ranking-card { grid-template-columns: 36px 42px 1fr; }.ranking-card label { grid-column: span 1; }
  .route-grid { grid-template-columns: 1fr; }.security-block-form { width: 100%; flex-wrap: wrap; }.security-block-form input { flex: 1; min-width: 130px; }
}

.topbar { height: 64px; padding: 0 24px; background: rgba(9,7,12,.94); border-color: var(--line); }
.topbar-title { color: #fff; font-size: 15px; }
.topbar-subtitle { color: var(--muted); font-size: 10px; }
.api-state { border-color: rgba(69,214,162,.2); background: rgba(69,214,162,.07); color: var(--success); }
.api-state-dot { background: var(--success); box-shadow: none; }
.topbar-action { height: 34px; border-radius: 7px; background: var(--blue); font-size: 11px; }

.context-row { margin-bottom: 4px; }
.context-date { color: var(--muted); }
.merchant-pill { background: var(--surface); border-color: var(--line); color: var(--muted); }
.cash-board { min-height: 260px; border-color: var(--line); border-radius: 14px; background: var(--surface); box-shadow: none; }
.cash-board::before { display: block; content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--blue); }
.cash-primary { padding: 28px 30px; border-color: var(--line); background: radial-gradient(circle at 0 100%,rgba(165,72,243,.14),transparent 44%); }
.cash-kicker { color: var(--muted); }
.cash-kicker::before { background: var(--success); }
.cash-value { color: #fff; font-size: clamp(36px,5vw,48px); }
.cash-state { color: var(--muted); }
.cash-state-dot { background: var(--success); box-shadow: 0 0 0 4px rgba(69,214,162,.09); }
.cash-action-primary { background: var(--blue); }
.cash-action-secondary { border-color: var(--line-strong); color: #d7d1dc !important; background: transparent; }
.cash-ledger { padding: 20px; background: #100d14; }
.ledger-row { border-color: var(--line); border-radius: 8px; background: #18131f; }
.ledger-label { color: #e7e2ea; }
.ledger-note { color: var(--muted-light); }
.ledger-value { color: #fff; }
.metric-grid { gap: 10px; margin-top: 10px; }
.metric-card { border-color: var(--line); border-radius: 10px; background: var(--surface); box-shadow: none; }
.metric-card.is-pix::before { background: var(--blue); }
.metric-card.is-card::before { background: #8c7d9b; }
.metric-card.is-withdrawal::before { background: var(--success); }
.metric-label, .metric-note { color: var(--muted); }
.metric-value { color: #fff; }
.dashboard-grid { gap: 10px; margin-top: 10px; }
.panel { border-color: var(--line); border-radius: 11px; background: var(--surface); box-shadow: none; }
.panel-header { min-height: 54px; border-color: var(--line); }
.panel-title { color: #fff; font-size: 12px; }
.panel-meta { color: var(--muted); }
.panel-link { color: var(--aqua); }
.activity-chart { background: linear-gradient(to bottom,transparent 32%,#241d2b 33%,transparent 34%,transparent 65%,#241d2b 66%,transparent 67%); }
.chart-bar { background: linear-gradient(180deg,var(--aqua),var(--blue)); }
.chart-column:nth-child(6) .chart-bar { background: var(--success); }
.chart-label, .chart-stat-label { color: var(--muted); }
.chart-summary, .chart-stat { border-color: var(--line); }
.chart-stat-value { color: #fff; }
.quick-action { color: #c6bfcc; }
.quick-action:hover { color: #fff; background: var(--surface-soft); }
.quick-action-icon { border-color: var(--line); background: #0d0a10; color: var(--aqua); }
.dashboard-kpis:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3,minmax(0,1fr)); }
.method-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.method-summary:last-child { border-bottom: 0; }.method-summary > div { display: flex; flex-direction: column; gap: 3px; }.method-summary > div:last-child { text-align: right; }.method-summary strong,.method-summary b { color: #f4eff7; font-size: 14px; }.method-summary span { color: var(--muted); font-size: 10px; }
.allow-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height:64px; }.allow-page-heading h1 { color:#fff; font-size:24px; font-weight:700; }.allow-page-heading h1 strong { color:#b65cf4; font-weight:700; }.allow-refresh { min-height:38px; padding:0 15px; border:1px solid var(--line-strong); border-radius:9px; background:var(--surface); color:#d8d1dd; font-size:12px; font-weight:600; }.allow-refresh:hover { border-color:rgba(165,72,243,.55); color:#fff; }
.allow-dashboard { display: grid; gap: 18px; }.allow-hero { display: grid; grid-template-columns: minmax(280px,.85fr) minmax(600px,2fr); gap: 14px; }.allow-today,.allow-metrics article,.allow-sales { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }.allow-today { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 190px; padding: 28px; overflow: hidden; }.allow-today::after { content:""; position:absolute; width:180px; height:180px; right:-55px; bottom:-80px; border-radius:50%; background:rgba(165,72,243,.15); filter:blur(3px); }.allow-today span,.allow-metrics span,.allow-sales footer span { color:var(--muted); font-size:11px; font-weight:600; }.allow-today strong { margin:8px 0 3px; color:#fff; font-size:34px; letter-spacing:-.04em; }.allow-today small,.allow-metrics small { color:var(--muted); font-size:10px; }.allow-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }.allow-metrics article { display:flex; flex-direction:column; justify-content:center; min-height:88px; padding:17px 20px; }.allow-metrics strong { margin-top:6px; color:#fff; font-size:19px; }.allow-metrics strong.positive { color:var(--success); }.allow-metrics strong.negative { color:var(--danger); }
.allow-sales { overflow:hidden; }.allow-sales > header { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:68px; padding:14px 20px; border-bottom:1px solid var(--line); }.allow-sales h2 { color:#fff; font-size:15px; font-weight:700; }.allow-sales header p { margin-top:3px; color:var(--muted); font-size:10px; }.allow-sales nav { display:flex; gap:4px; padding:3px; border:1px solid var(--line); border-radius:9px; background:#0b080f; }.allow-sales nav a { padding:7px 11px; border-radius:6px; color:var(--muted); font-size:10px; font-weight:600; }.allow-sales nav a.active { background:var(--blue); color:#fff; }.allow-chart { display:flex; align-items:flex-end; gap:clamp(4px,1vw,14px); height:280px; padding:30px 24px 24px; background:linear-gradient(to bottom,transparent 24%,rgba(255,255,255,.035) 25%,transparent 26%,transparent 49%,rgba(255,255,255,.035) 50%,transparent 51%,transparent 74%,rgba(255,255,255,.035) 75%,transparent 76%); }.allow-column { display:flex; flex:1; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; min-width:5px; }.allow-bar { width:min(24px,75%); min-height:3px; border-radius:5px 5px 2px 2px; background:linear-gradient(180deg,#c27cff,var(--blue)); }.allow-column span { margin-top:8px; color:var(--muted); font-size:9px; }.allow-sales footer { display:flex; gap:40px; padding:16px 20px; border-top:1px solid var(--line); }.allow-sales footer div { display:flex; flex-direction:column; gap:4px; }.allow-sales footer strong { color:#fff; font-size:18px; }
@media(max-width:900px){.allow-hero{grid-template-columns:1fr}.allow-sales>header{align-items:flex-start;flex-direction:column}.allow-sales nav{width:100%}.allow-sales nav a{flex:1;text-align:center}}
.withdrawal-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; }.withdrawal-heading a { color:#b669ef; font-size:11px; font-weight:600; }.withdrawal-heading h1 { margin-top:10px; color:#fff; font-size:26px; font-weight:700; }.withdrawal-heading p { margin-top:4px; color:var(--muted); font-size:12px; }.withdrawal-balance { min-width:230px; padding:14px 18px; border:1px solid rgba(165,72,243,.3); border-radius:12px; background:rgba(165,72,243,.09); }.withdrawal-balance span,.withdrawal-balance small { display:block; color:var(--muted); font-size:9px; }.withdrawal-balance strong { display:block; margin:3px 0; color:#fff; font-size:22px; }
.withdrawal-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr); gap:16px; align-items:start; }.withdrawal-form,.withdrawal-help { border:1px solid var(--line); border-radius:14px; background:var(--surface); }.withdrawal-form { display:grid; gap:18px; padding:22px; }.withdrawal-form-title { display:flex; align-items:center; gap:12px; padding-bottom:16px; border-bottom:1px solid var(--line); }.withdrawal-form-title>span { display:grid; width:36px; height:36px; place-items:center; border-radius:10px; background:rgba(165,72,243,.14); color:#c988fb; font-weight:700; }.withdrawal-form h2,.withdrawal-help h2 { color:#fff; font-size:15px; font-weight:700; }.withdrawal-form-title p { margin-top:3px; color:var(--muted); font-size:10px; }.withdrawal-form label { display:flex; flex-direction:column; gap:7px; color:#bbb2c1; font-size:11px; font-weight:600; }.withdrawal-form label>input,.withdrawal-form select { height:42px; padding:0 12px; }.withdrawal-form label small { color:var(--muted); font-size:9px; font-weight:400; }.money-input { display:flex; align-items:center; height:50px; border:1px solid var(--line-strong); border-radius:9px; background:#09070c; overflow:hidden; }.money-input:focus-within { border-color:var(--blue); box-shadow:0 0 0 3px rgba(165,72,243,.12); }.money-input span { padding-left:14px; color:#c681f7; font-size:14px; font-weight:700; }.money-input input { flex:1; height:100%; border:0 !important; background:transparent !important; box-shadow:none !important; font-size:20px !important; font-weight:700; }.withdrawal-review { display:grid; grid-template-columns:1fr 1fr; gap:10px; }.withdrawal-review div { padding:12px; border-radius:9px; background:var(--surface-soft); }.withdrawal-review span { display:block; color:var(--muted); font-size:9px; }.withdrawal-review strong { display:block; margin-top:4px; color:#fff; font-size:12px; }.withdrawal-submit { min-height:44px; border-radius:9px; background:var(--blue); color:#fff; font-size:13px; font-weight:700; }.withdrawal-submit:hover { background:var(--blue-dark); }.withdrawal-submit:disabled { cursor:not-allowed; opacity:.45; }
.withdrawal-help { padding:22px; }.withdrawal-help>div { display:flex; gap:12px; padding:17px 0; border-bottom:1px solid var(--line); }.withdrawal-help>div:last-child { border-bottom:0; }.withdrawal-help b { display:grid; width:26px; height:26px; flex:0 0 26px; place-items:center; border:1px solid var(--line-strong); border-radius:50%; color:#c47df5; font-size:10px; }.withdrawal-help p { display:flex; flex-direction:column; gap:4px; }.withdrawal-help strong { color:#eee8f1; font-size:11px; }.withdrawal-help span { color:var(--muted); font-size:9px; line-height:1.5; }
@media(max-width:800px){.withdrawal-heading{align-items:flex-start;flex-direction:column}.withdrawal-balance{width:100%}.withdrawal-layout{grid-template-columns:1fr}}

/* Withdrawal form refinement */
.withdrawal-form { grid-template-columns: repeat(2,minmax(0,1fr)); gap:18px 14px; padding:24px; }
.withdrawal-form-title { grid-column:1/-1; padding-bottom:18px; }
.withdrawal-form label { gap:8px; color:#d1c9d6; font-size:12px; }
.withdrawal-form label:first-of-type { grid-column:1/-1; }
.withdrawal-form label>input,.withdrawal-form select { height:48px; padding:0 14px; border:1px solid #3a3042 !important; border-radius:10px !important; background:#0d0a11 !important; color:#f5f1f7 !important; font-size:14px !important; }
.withdrawal-form label>input:focus,.withdrawal-form select:focus { border-color:#a548f3 !important; box-shadow:0 0 0 3px rgba(165,72,243,.13) !important; }
.withdrawal-form label small { font-size:10px; }
.money-input { height:58px; border-color:#3a3042; border-radius:11px; background:#0d0a11; }
.money-input span { display:flex; flex:0 0 auto; align-items:center; height:100%; padding:0 0 0 16px; border:0; color:#8f8798; font-size:22px; font-weight:700; line-height:58px; }
.money-input input { min-width:0; height:100%; padding:0 16px 0 7px !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; color:#f5f1f7 !important; font-size:22px !important; font-weight:700; line-height:58px; }
.money-input input::placeholder { color:#8f8798 !important; opacity:1; }
.money-input input:focus { border:0 !important; box-shadow:none !important; }

/* One visual control: the currency prefix sits inside the actual input. */
.money-input { position:relative; display:block; height:58px; overflow:visible; border:0 !important; border-radius:0; background:transparent !important; box-shadow:none !important; }
.money-input:focus-within { border:0 !important; box-shadow:none !important; }
.money-input span { position:absolute; z-index:2; top:0; bottom:0; left:0; display:flex; width:auto; height:auto; padding:0 0 0 16px; align-items:center; border:0; background:transparent; pointer-events:none; }
.money-input input { display:block; width:100%; height:58px; padding:0 16px 0 51px !important; border:1px solid #3a3042 !important; border-radius:11px !important; background:#0d0a11 !important; line-height:58px; }
.money-input input:focus { border:1px solid #a548f3 !important; box-shadow:0 0 0 3px rgba(165,72,243,.13) !important; }
.withdrawal-review,.withdrawal-submit { grid-column:1/-1; }
.withdrawal-submit { min-height:48px; border-radius:10px; font-size:14px; }
.withdrawal-rejection { max-width:320px; margin-top:8px; padding:8px 10px; border:1px solid rgba(239,114,121,.24); border-radius:8px; background:rgba(239,114,121,.08); }
.withdrawal-rejection span { display:block; margin-bottom:3px; color:#ef7279; font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.withdrawal-rejection strong { display:block; color:#f3c0c3; font-size:11px; font-weight:500; line-height:1.45; white-space:normal; overflow-wrap:anywhere; }
@media(max-width:800px){.withdrawal-form{grid-template-columns:1fr}.withdrawal-form>*{grid-column:1!important}}
.ops-note { border-color: var(--blue); background: rgba(165,72,243,.1); color: #bcb1c6; }
.ops-note strong { color: #d7aaff; }
.empty-icon { border-color: var(--line); background: var(--surface-soft); color: var(--muted); }

.login-page { grid-template-columns: minmax(470px,1.08fr) minmax(430px,.92fr); background: #09070c; }
.login-panel { order: 2; background: #0b090e; border-left: 1px solid var(--line); }
.login-brand .brand-mark { background: var(--blue); color: #fff; }
.login-brand .brand-name, .login-title { color: #fff; }
.login-brand .brand-caption, .login-copy, .login-help { color: var(--muted); }
.login-kicker { color: var(--aqua); }
.login-form label { color: #b9b1c0; }
.login-submit { border-radius: 8px; background: var(--blue); }
.login-error { border: 1px solid rgba(239,114,121,.2); border-left: 3px solid var(--danger); background: rgba(239,114,121,.07); color: #f3a2a7; }
.login-art { background: #0c0811; }
.login-art::before { background: radial-gradient(circle at 68% 28%,rgba(165,72,243,.28),transparent 22%),linear-gradient(125deg,transparent 45%,rgba(165,72,243,.065)); }
.login-art::after { content: "A"; width: auto; height: auto; right: 4%; top: 2%; border: 0; border-radius: 0; box-shadow: none; color: transparent; font-size: min(55vw,690px); font-weight: 800; line-height: 1; letter-spacing: -.15em; -webkit-text-stroke: 1px rgba(191,125,255,.16); transform: rotate(6deg); }
.login-art-kicker { color: var(--aqua); }
.login-art-copy { color: #a49aaa; }
.login-security { color: #746b7d; }
.login-security i { background: var(--success); }
.standalone-header { background: rgba(9,7,12,.94); border-color: var(--line); }

@media (max-width: 760px) {
  .login-page { grid-template-columns: 1fr; }
  .login-panel { order: 1; border-left: 0; }
}

body > .flex.min-h-screen > main > .app-content { padding: 32px !important; }
@media (max-width: 760px) {
  body > .flex.min-h-screen > main > .app-content { padding: 16px !important; }
  .mobile-menu-trigger { top: 68px; }
}

/* Ícones da interface — dimensionados pelo texto que acompanham. */
.ui-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  vertical-align: -0.135em;
}
.ui-icon-sm { width: 14px; height: 14px; }
.ui-icon-md { width: 16px; height: 16px; }
.ui-icon-lg { width: 20px; height: 20px; }
.ui-icon-xl { width: 24px; height: 24px; }

/* Marca oficial do Pix — cor institucional por padrão. */
.pix-logo { width: 1em; height: 1em; flex: 0 0 auto; color: #32bcad; vertical-align: -0.15em; }
.pix-logo-sm { width: 13px; height: 13px; }
.pix-logo-md { width: 18px; height: 18px; }
.pix-logo-lg { width: 26px; height: 26px; }
.pix-logo-xl { width: 36px; height: 36px; }
.method-badge .pix-logo { margin-right: 5px; }

/* Sub-adquirente: monograma em vez de emoji. */
.acq-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  vertical-align: middle;
}
.acq-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .02em;
}
.acq-pagpixhub .acq-mark { border-color: rgba(165, 72, 243, .3); background: rgba(165, 72, 243, .1); color: #cd9bf7; }
.acq-egitopay .acq-mark { border-color: rgba(69, 214, 162, .28); background: rgba(69, 214, 162, .09); color: var(--success); }
.acq-name { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   PAINEL DO SELLER — sistema "instrumento"
   Escopado inteiro em body.sx: não afeta o admin, que ainda usa o
   sistema de cards antigo. Quando o admin for refeito, este bloco vira a base.
   ========================================================================== */
body.sx {
  --sx-ground:     #0a0a0d;
  --sx-band:       #101014;
  --sx-band-2:     #16161b;
  --sx-rule:       #24242c;
  --sx-rule-lit:   #34343f;
  --sx-ink:        #f4f4f7;
  --sx-ink-2:      #a3a3b0;
  --sx-ink-3:      #6f6f7d;
  --sx-signal:     #a548f3;
  --sx-signal-lo:  #c88ffa;
  --sx-paid:       #3fcf8e;
  --sx-hold:       #e8b04b;
  --sx-fail:       #f2666f;
  --sx-display:    "Archivo", "Plus Jakarta Sans", sans-serif;
  --sx-mono:       "JetBrains Mono", ui-monospace, monospace;

  background: var(--sx-ground) !important;
  color: var(--sx-ink) !important;
  font-family: var(--sx-display) !important;
}
body.sx .app-content,
body.sx .seller-main { background: var(--sx-ground); font-family: var(--sx-display); }
body.sx h1, body.sx h2, body.sx h3, body.sx h4 { font-family: var(--sx-display); letter-spacing: -.025em; }
body.sx .mono, body.sx code, body.sx pre { font-family: var(--sx-mono) !important; }

/* Topo fixo */
body.sx .appbar-tigger { background: var(--sx-ground) !important; border-color: var(--sx-rule) !important; }
body.sx .appbar-brand { color: var(--sx-ink) !important; }
body.sx .appbar-brand svg { color: var(--sx-signal); }
body.sx .appbar-user { color: var(--sx-ink-2) !important; }
body.sx .appbar-avatar { background: var(--sx-band-2); color: var(--sx-ink-2); border: 1px solid var(--sx-rule-lit); }
body.sx .appbar-bell { color: var(--sx-ink-2); }
body.sx .appbar-bell:hover { color: var(--sx-ink); }
/* A conta já aparece na sidebar — o topo não repete o e-mail. */
body.sx .appbar-user strong { display: none; }

/* Menu lateral */
body.sx .seller-sidebar.sidebar-tigger {
  background: #08080b !important;
  border-color: var(--sx-rule) !important;
}
body.sx .seller-sidebar .nav-label {
  font-family: var(--sx-mono);
  font-size: 9.5px !important;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--sx-ink-3) !important;
}
body.sx .seller-sidebar nav a {
  position: relative;
  border-radius: 0 !important;
  border: 0 !important;
  color: var(--sx-ink-2) !important;
  font-weight: 500 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.sx .seller-sidebar nav a:hover {
  color: var(--sx-ink) !important;
  background: var(--sx-band) !important;
}
body.sx .seller-sidebar nav a.is-active {
  background: var(--sx-band) !important;
  color: var(--sx-ink) !important;
  font-weight: 600 !important;
}
/* barra de item ativo já vem do markup (span.absolute) — só achata a forma */
body.sx .seller-sidebar nav a > span.absolute {
  width: 2px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.sx .seller-sidebar nav a > span.ml-auto,
body.sx .seller-sidebar nav a b.ml-auto {
  font-family: var(--sx-mono) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  color: var(--sx-ink-3) !important;
  background: transparent !important;
  border: 1px solid var(--sx-rule-lit) !important;
}

/* Widget de saldo no menu — sem gradiente, sem emoji */
body.sx .sidebar-balance {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 4px 6px;
  padding: 14px;
  border: 1px solid var(--sx-rule-lit);
  border-radius: 8px;
  background: var(--sx-band-2);
}
body.sx .sidebar-balance-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sx-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sx-ink-3);
}
body.sx .sidebar-balance-label::before { content: ""; width: 3px; height: 11px; background: var(--sx-paid); flex: 0 0 auto; }
body.sx .sidebar-balance.is-retained .sidebar-balance-label::before { background: var(--sx-hold); }
body.sx .sidebar-balance-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.sx .sidebar-balance-value { font-family: var(--sx-display); font-size: 19px; font-weight: 600; letter-spacing: -.03em; color: var(--sx-ink); font-variant-numeric: tabular-nums; }
body.sx .sidebar-balance-eye {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid var(--sx-rule-lit);
  border-radius: 6px;
  background: transparent;
  color: var(--sx-ink-3);
  cursor: pointer;
}
body.sx .sidebar-balance-eye:hover { color: var(--sx-ink); border-color: var(--sx-ink-3); }
body.sx .sidebar-balance-eye svg { width: 14px; height: 14px; }
body.sx .sidebar-balance-actions { display: flex; gap: 6px; }

body.sx .seller-sidebar-footer { border-color: var(--sx-rule) !important; }
body.sx .seller-sidebar-footer, body.sx .seller-sidebar-footer * { background: transparent; }

/* Botões */
body.sx .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--sx-signal);
  border-radius: 6px;
  background: var(--sx-ground);
  color: var(--sx-signal-lo);
  font-family: var(--sx-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.008em;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease, color .14s ease;
}
body.sx .btn:hover { background: var(--sx-signal); color: var(--sx-ground); }
body.sx .btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
body.sx .btn-ghost { background: transparent; border-color: var(--sx-rule-lit); color: var(--sx-ink); }
body.sx .btn-ghost:hover { background: var(--sx-band-2); border-color: var(--sx-ink-3); color: var(--sx-ink); }
body.sx .btn-quiet { background: transparent; border-color: transparent; color: var(--sx-ink-2); padding: 0 10px; min-height: auto; }
body.sx .btn-quiet:hover { color: var(--sx-ink); background: var(--sx-band-2); }
body.sx .btn:disabled { opacity: .45; cursor: not-allowed; }

/* Faixas registradas na régua — não é card: é uma seção marcada na página,
   sem caixa fechando os 4 lados. A marca roxa é o mesmo traço usado em toda
   a identidade (marca de escala), não decoração de card. */
body.sx .sx-band {
  position: relative;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--sx-rule);
  padding-top: 24px;
}
body.sx .sx-band::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 28px;
  height: 3px;
  background: var(--sx-ink);
}
body.sx .sx-band + .sx-band { margin-top: 28px; }
body.sx .sx-band-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 20px;
  border-bottom: 1px solid var(--sx-rule);
}
body.sx .sx-band-head h2, body.sx .sx-band-head h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--sx-ink); }
body.sx .sx-band-head p { margin: 2px 0 0; color: var(--sx-ink-3); font-size: 11px; }
body.sx .sx-band-head a { font-family: var(--sx-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--sx-signal-lo); text-decoration: none; white-space: nowrap; }
body.sx .sx-band-head a:hover { text-decoration: underline; }

/* Valor como objeto — moeda / inteiro / centavos */
body.sx .amount {
  display: inline-flex;
  align-items: baseline;
  gap: .3em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
body.sx .amount-cur { font-family: var(--sx-mono); font-size: .5em; font-weight: 500; letter-spacing: .08em; color: var(--sx-ink-3); text-transform: uppercase; }
body.sx .amount-int { font-family: var(--sx-display); font-weight: 600; letter-spacing: -.038em; color: var(--sx-ink); }
body.sx .amount-cents { font-family: var(--sx-mono); font-size: .58em; font-weight: 500; letter-spacing: -.01em; color: var(--sx-ink-2); }
body.sx .amount-sign { font-family: var(--sx-mono); font-size: .55em; font-weight: 500; color: var(--sx-ink-3); }
body.sx .amount.is-in .amount-sign { color: var(--sx-paid); }
body.sx .amount.is-out .amount-sign { color: var(--sx-signal-lo); }
body.sx .amt-xxl { font-size: 44px; }
body.sx .amt-xl  { font-size: 32px; }
body.sx .amt-lg  { font-size: 22px; }
body.sx .amt-md  { font-size: 16px; }
body.sx .amt-sm  { font-size: 13.5px; }

/* KPIs em faixa — não em cards soltos */
body.sx .sx-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-strip > div { display: flex; flex-direction: column; gap: 5px; padding: 16px 20px; border-right: 1px solid var(--sx-rule); }
body.sx .sx-strip > div:last-child { border-right: 0; }
body.sx .sx-strip span.sx-label { font-family: var(--sx-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--sx-ink-3); }
body.sx .sx-strip small { color: var(--sx-ink-3); font-size: 11px; }
body.sx .sx-delta { font-family: var(--sx-mono); font-size: 11px; font-weight: 500; }
body.sx .sx-delta.up { color: var(--sx-paid); }
body.sx .sx-delta.down { color: var(--sx-fail); }
@media (max-width: 900px) {
  body.sx .sx-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.sx .sx-strip > div:nth-child(2) { border-right: 0; }
  body.sx .sx-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--sx-rule); }
}

/* Destaque do número principal — o valor que o seller mostra em print */
body.sx .sx-strip-hero > div:first-child {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .035), transparent 75%);
}
body.sx .sx-strip-hero > div:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: var(--sx-ink-3);
}
body.sx .sx-strip-hero > div:first-child .sx-label { padding-left: 4px; }
body.sx .sx-strip-hero > div:first-child .amount { padding-left: 4px; }
body.sx .sx-band > .sx-chart-block:last-child { border-bottom: 0; }

/* Gráfico de vendas */
body.sx .sx-chart-block { padding: 20px 20px 16px; border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-chart-head { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
body.sx .sx-chart-head h4 { margin: 0; font-size: 13.5px; font-weight: 600; letter-spacing: -.02em; color: var(--sx-ink); }
body.sx .sx-chart { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 140px; }
body.sx .sx-chart-col { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; align-items: flex-end; height: 100%; cursor: pointer; }
body.sx .sx-chart-bar { width: 100%; max-width: 34px; min-height: 2px; border-radius: 3px 3px 1px 1px; background: var(--sx-rule-lit); transition: height .2s ease, background .12s ease; }
body.sx .sx-chart-bar.is-peak { background: var(--sx-ink); }
body.sx .sx-chart-col:hover .sx-chart-bar, body.sx .sx-chart-col.is-active .sx-chart-bar { background: var(--sx-signal-lo); }
body.sx .sx-chart-col:hover .sx-chart-bar.is-peak, body.sx .sx-chart-col.is-active .sx-chart-bar.is-peak { background: var(--sx-signal-lo); }
body.sx .sx-chart-axis { display: flex; gap: 3px; margin-top: 8px; font-family: var(--sx-mono); font-size: 9.5px; letter-spacing: .04em; color: var(--sx-ink-3); }
body.sx .sx-chart-axis span { flex: 1 1 0; min-width: 0; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }

body.sx .sx-chart-tip {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 11px;
  border: 1px solid var(--sx-rule-lit);
  border-radius: 7px;
  background: var(--sx-band-2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
  pointer-events: none;
  white-space: nowrap;
}
body.sx .sx-chart-tip[hidden] { display: none; }
body.sx .sx-chart-tip-label { font-family: var(--sx-mono); font-size: 9px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-ink-3); }
body.sx .sx-chart-tip-value { font-family: var(--sx-display); font-size: 14px; font-weight: 600; letter-spacing: -.02em; color: var(--sx-ink); }
body.sx .sx-chart-tip-count { font-size: 10.5px; color: var(--sx-ink-2); }
body.sx .sx-chart-foot { display: flex; gap: 28px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sx-rule); }
body.sx .sx-chart-foot > div { display: flex; flex-direction: column; gap: 3px; }
body.sx .sx-chart-foot span { font-family: var(--sx-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--sx-ink-3); }
body.sx .sx-chart-foot strong { font-size: 14px; font-weight: 600; color: var(--sx-ink); }

body.sx .sx-tabs { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--sx-rule); flex: 0 0 auto; }
body.sx .sx-tabs a {
  padding: 6px 11px;
  font-family: var(--sx-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sx-ink-3);
  text-decoration: none;
  white-space: nowrap;
}
body.sx .sx-tabs a:hover { color: var(--sx-ink); }
body.sx .sx-tabs a.is-active { background: var(--sx-ground); color: var(--sx-signal-lo); box-shadow: inset 0 0 0 1px var(--sx-signal); }

/* Tabela */
body.sx .sx-table-wrap { overflow-x: auto; }
body.sx .sx-bulk-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--sx-signal); background: var(--sx-band-2); font-size: 12.5px; color: var(--sx-ink); }
body.sx .sx-bulk-bar b { color: var(--sx-signal-lo); }
body.sx .sx-bulk-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
body.sx table.sx-table { width: 100%; border-collapse: collapse; font-size: 13px; }
body.sx table.sx-table th {
  padding: 10px 20px;
  border-bottom: 1px solid var(--sx-rule);
  font-family: var(--sx-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sx-ink-3);
  text-align: left;
  white-space: nowrap;
}
body.sx table.sx-table td { padding: 13px 20px; border-bottom: 1px solid var(--sx-rule); vertical-align: middle; color: var(--sx-ink-2); }
body.sx table.sx-table tr:last-child td { border-bottom: 0; }
body.sx table.sx-table tbody tr:hover td { background: var(--sx-band); }
body.sx table.sx-table .sx-td-right { text-align: right; }
body.sx .sx-cell-strong { display: block; color: var(--sx-ink); font-size: 13.5px; font-weight: 500; }
body.sx .sx-cell-sub { display: block; margin-top: 2px; font-family: var(--sx-mono); font-size: 10.5px; letter-spacing: -.01em; color: var(--sx-ink-3); }
body.sx .sx-cell-time { font-family: var(--sx-mono); font-size: 11.5px; color: var(--sx-ink-3); white-space: nowrap; }

/* Status — barra vertical em vez de pílula colorida */
body.sx .status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: auto !important;
  padding: 4px 9px 4px 7px !important;
  border: 1px solid var(--sx-rule-lit) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--sx-ink-2) !important;
  font-family: var(--sx-mono) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  white-space: nowrap;
}
body.sx .status-badge i { width: 3px !important; height: 12px !important; border-radius: 0 !important; background: var(--sx-ink-3) !important; }
body.sx .status-paid { border-color: rgba(63, 207, 142, .32) !important; color: #7fe0b5 !important; background: transparent !important; }
body.sx .status-paid i { background: var(--sx-paid) !important; }
body.sx .status-pending, body.sx .status-processing { border-color: rgba(232, 176, 75, .32) !important; color: #f0cb8a !important; background: transparent !important; }
body.sx .status-pending i, body.sx .status-processing i { background: var(--sx-hold) !important; }
body.sx .status-failed, body.sx .status-rejected, body.sx .status-chargeback { border-color: rgba(242, 102, 111, .32) !important; color: #f8a2a8 !important; background: transparent !important; }
body.sx .status-failed i, body.sx .status-rejected i, body.sx .status-chargeback i { background: var(--sx-fail) !important; }

body.sx .method-badge {
  border: 1px solid var(--sx-rule-lit) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--sx-ink-2) !important;
  font-family: var(--sx-mono) !important;
}

/* Adquirente — monograma sobre o fundo do instrumento */
body.sx .acq-mark { border-radius: 3px; background: transparent; }
body.sx .acq-pagpixhub .acq-mark { border-color: rgba(165, 72, 243, .38); color: var(--sx-signal-lo); }
body.sx .acq-egitopay .acq-mark { border-color: rgba(63, 207, 142, .32); color: #7fe0b5; }

/* Contagem no título de página */
body.sx .sx-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid var(--sx-rule-lit);
  border-radius: 20px;
  font-family: var(--sx-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--sx-ink-3);
}

/* Filtros de tabela */
body.sx .sx-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
body.sx .sx-search { position: relative; flex: 1 1 240px; min-width: 0; display: flex; align-items: center; }
body.sx .sx-search svg { position: absolute; left: 12px; color: var(--sx-ink-3); pointer-events: none; }
body.sx .sx-search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 36px;
  border: 1px solid var(--sx-rule-lit);
  border-radius: 6px;
  background: var(--sx-band);
  color: var(--sx-ink);
  font-family: var(--sx-display);
  font-size: 13px;
}
body.sx .sx-search input::placeholder { color: var(--sx-ink-3); }
body.sx .sx-search input:focus { outline: none; border-color: var(--sx-signal); box-shadow: 0 0 0 3px rgba(165, 72, 243, .16); }
body.sx .sx-select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--sx-rule-lit);
  border-radius: 6px;
  background: var(--sx-band);
  color: var(--sx-ink);
  font-family: var(--sx-display);
  font-size: 13px;
  cursor: pointer;
}
body.sx .sx-select:focus { outline: none; border-color: var(--sx-signal); }

/* Célula de identificador com botão de copiar */
body.sx .sx-id-cell { display: flex; align-items: center; gap: 8px; }
body.sx .sx-id-cell button { color: var(--sx-ink-3); }
body.sx .sx-id-cell button:hover { color: var(--sx-ink); }

/* Estado vazio de tabela */
body.sx .sx-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 20px; text-align: center; }
body.sx .sx-empty svg { color: var(--sx-ink-3); }
body.sx .sx-empty h3 { margin: 4px 0 0; font-size: 13.5px; font-weight: 600; color: var(--sx-ink); }
body.sx .sx-empty p { margin: 0; max-width: 360px; font-size: 12px; color: var(--sx-ink-3); }

/* Rótulo mono reutilizável (faixas, modais, painéis) */
body.sx .sx-label {
  font-family: var(--sx-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sx-ink-3);
}

/* Modal de detalhes */
body.sx .sx-modal-panel { background: var(--sx-band); border: 1px solid var(--sx-rule); }
body.sx .sx-modal-header, body.sx .sx-modal-footer { border-color: var(--sx-rule); background: var(--sx-ground); }
body.sx .sx-modal-header { border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-modal-footer { border-top: 1px solid var(--sx-rule); }
body.sx .sx-modal-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--sx-rule-lit); border-radius: 8px; background: var(--sx-band-2); color: var(--sx-ink-2); }
body.sx .sx-modal-title { margin: 0; font-family: var(--sx-display); font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--sx-ink); }
body.sx .sx-modal-close { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--sx-rule-lit); border-radius: 8px; background: transparent; color: var(--sx-ink-3); }
body.sx .sx-modal-close:hover { color: var(--sx-ink); background: var(--sx-band-2); }

body.sx .sx-modal-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--sx-rule); background: var(--sx-band-2); }
body.sx .sx-modal-badges > div { display: flex; align-items: center; gap: 8px; }
body.sx .sx-modal-badges > div > span:first-child { font-size: 11.5px; color: var(--sx-ink-3); }

body.sx .sx-modal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--sx-rule); border: 1px solid var(--sx-rule); }
body.sx .sx-modal-stat { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: var(--sx-band); }
body.sx .sx-modal-stat.is-fee .amount-int, body.sx .sx-modal-stat.is-fee .amount-cents { color: var(--sx-fail); }
body.sx .sx-modal-stat.is-net .amount-int, body.sx .sx-modal-stat.is-net .amount-cents { color: var(--sx-paid); }

body.sx .sx-modal-box { border: 1px solid var(--sx-rule); background: var(--sx-band); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
body.sx .sx-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.sx .sx-modal-field > span.sx-label { display: block; margin-bottom: 4px; }
body.sx .sx-modal-field strong { display: block; font-size: 12.5px; font-weight: 500; color: var(--sx-ink); word-break: break-word; }

body.sx .sx-modal-list > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-modal-list > div:last-child { border-bottom: 0; }
body.sx .sx-modal-list .sx-value { font-family: var(--sx-mono); font-size: 11.5px; color: var(--sx-ink); text-align: right; word-break: break-all; }

body.sx .sx-pix-block { border: 1px solid var(--sx-rule); border-left: 3px solid var(--sx-signal); background: var(--sx-band); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
body.sx .sx-pix-code { padding: 10px 12px; border: 1px solid var(--sx-rule-lit); border-radius: 6px; background: var(--sx-ground); font-family: var(--sx-mono); font-size: 11px; color: var(--sx-ink-2); word-break: break-all; }

body.sx .btn-warning { background: rgba(232, 176, 75, .09); border-color: rgba(232, 176, 75, .32); color: #f0cb8a; }
body.sx .btn-warning:hover { background: rgba(232, 176, 75, .16); }

@media (max-width: 640px) {
  body.sx .sx-modal-grid { grid-template-columns: 1fr; }
  body.sx .sx-modal-stats { grid-template-columns: 1fr; }
}

/* Passos numerados — só faz sentido porque é uma sequência real (como o compliance processa o pedido) */
body.sx .sx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--sx-rule); border: 1px solid var(--sx-rule); }
body.sx .sx-step { display: flex; gap: 12px; padding: 16px; background: var(--sx-band); }
body.sx .sx-step-num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid var(--sx-rule-lit);
  border-radius: 6px;
  font-family: var(--sx-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--sx-signal-lo);
}
body.sx .sx-step strong { display: block; font-size: 12.5px; font-weight: 600; color: var(--sx-ink); }
body.sx .sx-step p { margin: 3px 0 0; font-size: 11.5px; color: var(--sx-ink-3); line-height: 1.5; }
@media (max-width: 767px) { body.sx .sx-steps { grid-template-columns: 1fr; } }
body.sx .sx-steps.is-vertical { grid-template-columns: 1fr; }

/* Divisão genérica conteúdo + complemento (formulário + explicação, etc.) */
body.sx .sx-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 16px; align-items: start; }
body.sx .sx-split.is-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 900px) { body.sx .sx-split, body.sx .sx-split.is-even { grid-template-columns: 1fr; } }

/* Chips de valor rápido */
body.sx .sx-chip-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
body.sx .sx-chip-row > span { font-size: 11px; color: var(--sx-ink-3); }
body.sx .sx-chip {
  padding: 5px 11px;
  border: 1px solid var(--sx-rule-lit);
  border-radius: 20px;
  background: var(--sx-band-2);
  color: var(--sx-ink-2);
  font-family: var(--sx-mono);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}
body.sx .sx-chip:hover { border-color: var(--sx-signal); color: var(--sx-ink); }

/* Grupo de checkboxes em linha (métodos de pagamento etc.) */
body.sx .sx-checkbox-group { display: flex; gap: 8px; height: 42px; }
body.sx .sx-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--sx-rule-lit);
  border-radius: 6px;
  background: var(--sx-band);
  color: var(--sx-ink-2);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}
body.sx .sx-checkbox:has(input:checked) { border-color: var(--sx-signal); color: var(--sx-ink); background: rgba(165, 72, 243, .08); }
body.sx .sx-checkbox input { width: 16px; height: 16px; margin: 0; flex: 0 0 auto; accent-color: var(--sx-signal); cursor: pointer; }
body.sx .sx-chip.is-active { border-color: var(--sx-signal); background: rgba(165, 72, 243, .12); color: var(--sx-ink); }

/* Seleção única em lista (adquirente etc.) — o estado vem do :checked, sem JS */
body.sx .sx-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--sx-rule); border: 1px solid var(--sx-rule); }
body.sx .sx-option { position: relative; display: block; background: var(--sx-band); cursor: pointer; }
body.sx .sx-option input { position: absolute; width: 0; height: 0; opacity: 0; }
body.sx .sx-option-body { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-left: 3px solid transparent; }
body.sx .sx-option:hover .sx-option-body { background: var(--sx-band-2); }
body.sx .sx-option:has(input:checked) .sx-option-body { border-left-color: var(--sx-signal); background: rgba(165, 72, 243, .07); }
body.sx .sx-option:has(input:focus-visible) .sx-option-body { box-shadow: inset 0 0 0 2px var(--sx-signal); }
body.sx .sx-option-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--sx-rule-lit); border-radius: 8px; background: var(--sx-ground); font-family: var(--sx-mono); font-size: 11px; font-weight: 600; color: var(--sx-ink-2); }
body.sx .sx-option:has(input:checked) .sx-option-mark { border-color: rgba(165, 72, 243, .5); color: var(--sx-signal-lo); }
body.sx .sx-option-text { display: block; flex: 1 1 auto; min-width: 0; }
body.sx .sx-option-name { display: block; font-size: 13.5px; font-weight: 600; color: var(--sx-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.sx .sx-option-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 4px; font-family: var(--sx-mono); font-size: 10.5px; color: var(--sx-ink-3); }
body.sx .sx-option-meta b { font-weight: 500; color: var(--sx-ink-2); }
body.sx .sx-option-radio { position: relative; width: 16px; height: 16px; flex: 0 0 auto; border: 1.5px solid var(--sx-rule-lit); border-radius: 50%; }
body.sx .sx-option:has(input:checked) .sx-option-radio { border-color: var(--sx-signal); }
body.sx .sx-option:has(input:checked) .sx-option-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--sx-ink); }
@media (max-width: 767px) { body.sx .sx-options { grid-template-columns: 1fr; } }

/* Interruptor */
body.sx .sx-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-switch-row strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--sx-ink); }
body.sx .sx-switch-row p { margin: 3px 0 0; font-size: 12px; color: var(--sx-ink-3); }
body.sx .sx-switch { position: relative; width: 44px; height: 24px; flex: 0 0 auto; padding: 0; border: 1px solid var(--sx-rule-lit); border-radius: 999px !important; background: var(--sx-band-2); cursor: pointer; transition: background .15s ease, border-color .15s ease; }
body.sx .sx-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--sx-ink-3); transition: transform .15s ease, background .15s ease; }
body.sx .sx-switch.is-on { background: var(--sx-ground); border-color: var(--sx-signal); }
body.sx .sx-switch.is-on::after { background: var(--sx-ink); transform: translateX(20px); }

/* Progresso */
body.sx .sx-progress { height: 6px; overflow: hidden; border-radius: 3px; background: var(--sx-band-2); }
body.sx .sx-progress-fill { height: 100%; border-radius: 3px; background: var(--sx-ink); transition: width .3s ease; }
body.sx .sx-ab-variant { padding: 14px 20px; border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-ab-variant:last-child { border-bottom: 0; }
body.sx .sx-ab-variant .sx-progress { margin: 10px 0 8px; }

/* Linha de variante no formulário de teste A/B */
body.sx .sx-variant { display: flex; align-items: center; gap: 12px; }
body.sx .sx-variant .sx-field { flex: 1 1 auto; }
body.sx .sx-variant-spacer { width: 88px; flex: 0 0 auto; }

body.sx .status-badge.status-signal { border-color: rgba(165, 72, 243, .38) !important; color: var(--sx-signal-lo) !important; }
body.sx .status-badge.status-signal i { background: var(--sx-signal) !important; }

body.sx .btn-danger { background: rgba(242, 102, 111, .09); border-color: rgba(242, 102, 111, .32); color: #f8a2a8; }
body.sx .btn-danger:hover { background: rgba(242, 102, 111, .16); }

/* ==========================================================================
   ESQUELETO v2 — sem sidebar. Navegação no topo em duas linhas, conteúdo
   na largura toda, régua de escala na margem esquerda, grid de engenharia
   no fundo, canto chanfrado como forma da marca.
   ========================================================================== */
body.sx {
  --sx-nav-h: 60px;
  --sx-sub-h: 44px;
  --sx-gutter: 96px;
  --sx-notch: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  background-color: var(--sx-ground) !important;
  background-image:
    radial-gradient(1100px 600px at -5% -10%, rgba(165, 72, 243, .025), transparent 45%),
    linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px) !important;
  background-size: auto, 32px 32px, 32px 32px !important;
}
html:has(body.sx) { scrollbar-width: none; }
html:has(body.sx)::-webkit-scrollbar { display: none; width: 0; height: 0; }
body.sx { scrollbar-width: none; }
body.sx::-webkit-scrollbar { display: none; width: 0; height: 0; }
body.sx .appbar-tigger,
body.sx .mobile-menu-trigger,
body.sx #overlay { display: none !important; }
body.sx .seller-main,
body.sx > .flex.min-h-screen > main { margin-left: 0 !important; padding-top: calc(var(--sx-nav-h) + var(--sx-sub-h)) !important; background: transparent !important; }
/* Atalhos do admin — células na régua, não cards */
body.sx .sx-shortcuts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--sx-rule); border: 1px solid var(--sx-rule); }
body.sx .sx-shortcuts a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 18px 16px; background: var(--sx-ground); color: var(--sx-ink-2); text-decoration: none; transition: background .12s ease; }
body.sx .sx-shortcuts a:hover { background: var(--sx-band); color: var(--sx-ink); }
body.sx .sx-shortcuts a svg { color: var(--sx-signal-lo); }
body.sx .sx-shortcuts a strong { font-size: 13px; font-weight: 600; color: var(--sx-ink); }
body.sx .sx-shortcuts a span { font-family: var(--sx-mono); font-size: 10px; letter-spacing: .06em; color: var(--sx-ink-3); }
@media (max-width: 1100px) { body.sx .sx-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { body.sx .sx-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* chips da barra do admin */
body.sx .sx-nav-role { flex: 0 0 auto; }
body.sx .sx-nav-api { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 1px solid var(--sx-rule-lit); font-family: var(--sx-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-ink-3); white-space: nowrap; }
body.sx .sx-nav-api i { width: 6px; height: 6px; border-radius: 50%; background: var(--sx-fail); }
body.sx .sx-nav-api.is-on { color: var(--sx-ink-2); }
body.sx .sx-nav-api.is-on i { background: var(--sx-paid); box-shadow: 0 0 0 3px rgba(63, 207, 142, .15); }
@media (max-width: 1200px) { body.sx .sx-nav-role, body.sx .sx-nav-api { display: none; } }
/* especificidade alta de propósito: a regra global de .app-content também usa !important */
body.sx > .flex.min-h-screen > main > .app-content {
  position: relative;
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 40px 40px 72px calc(40px + var(--sx-gutter)) !important;
  background: transparent !important;
}
/* a régua: linha tracejada que desce a margem esquerda do conteúdo */
body.sx > .flex.min-h-screen > main > .app-content::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 72px;
  left: calc(40px + var(--sx-gutter) - 28px);
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--sx-rule-lit) 0 6px, transparent 6px 14px);
}

/* Barra superior */
body.sx .sx-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--sx-nav-h);
  padding: 0 28px;
  background: rgba(9, 9, 11, .98);
  border-bottom: 1px solid var(--sx-rule);
}
body.sx .sx-brand { display: flex; align-items: center; gap: 10px; color: var(--sx-ink); text-decoration: none; flex: 0 0 auto; }
body.sx .sx-brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--sx-band-2); border: 1px solid var(--sx-rule-lit); color: var(--sx-signal-lo); clip-path: var(--sx-notch); }
body.sx .sx-brand-mark svg { width: 17px; height: 17px; }
body.sx .sx-brand-name { font-family: var(--sx-display); font-variation-settings: "wdth" 118; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
body.sx .sx-nav-sections { display: flex; gap: 2px; margin-left: 12px; }
body.sx .sx-nav-sections a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--sx-nav-h);
  padding: 0 12px;
  font-family: var(--sx-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sx-ink-3);
  text-decoration: none;
  white-space: nowrap;
}
body.sx .sx-nav-sections a:hover { color: var(--sx-ink); }
body.sx .sx-nav-sections a.is-active { color: var(--sx-ink); }
body.sx .sx-nav-sections a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--sx-ink); }
body.sx .sx-nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
body.sx .sx-nav-balance { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 6px 0 12px; border: 1px solid var(--sx-rule-lit); }
body.sx .sx-nav-balance .sx-label { font-size: 9px; }
body.sx .sx-nav-balance .sidebar-balance-value { font-size: 15px; font-variation-settings: "wdth" 110; }
body.sx .sx-nav-balance .sidebar-balance-eye { width: 24px; height: 24px; border: 0; }
body.sx .sx-nav-balance.is-retained .sidebar-balance-label::before { background: var(--sx-hold); }
body.sx .sx-drawer-toggle { display: none; }
body.sx .sx-drawer-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--sx-rule-lit); }
body.sx .sx-drawer-balance .sidebar-balance-value { font-size: 18px; }
body.sx .sx-nav-icon, body.sx .sx-nav-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--sx-rule-lit);
  border-radius: 0 !important;
  background: transparent;
  color: var(--sx-ink-2);
  cursor: pointer;
}
body.sx .sx-nav-icon svg { width: 16px; height: 16px; }
body.sx .sx-nav-icon:hover, body.sx .sx-nav-avatar:hover { color: var(--sx-ink); border-color: var(--sx-ink-3); }
body.sx .sx-nav-avatar { background: var(--sx-band-2); font-family: var(--sx-mono); font-size: 11px; font-weight: 600; color: var(--sx-ink); }
body.sx .sx-nav-account { position: relative; }
body.sx .sx-nav-account .sidebar-account-container { position: static; width: auto; }
body.sx .sx-nav-account #accountSwitcherDropdown {
  bottom: auto !important;
  top: calc(100% + 8px) !important;
  left: auto !important;
  right: 0 !important;
  width: 320px;
  margin: 0 !important;
  border-radius: 0 !important;
  border-color: var(--sx-rule-lit) !important;
  background: var(--sx-band) !important;
}
body.sx .sx-nav-account .sidebar-account-container > div:last-child { display: none; }

/* Linha de itens da seção ativa */
body.sx .sx-subnav {
  position: fixed;
  top: var(--sx-nav-h);
  left: 0;
  right: 0;
  z-index: 59;
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--sx-sub-h);
  padding: 0 28px;
  background: rgba(10, 10, 13, .96);
  border-bottom: 1px solid var(--sx-rule);
  overflow-x: auto;
  scrollbar-width: none;
}
body.sx .sx-subnav::-webkit-scrollbar { display: none; }
body.sx .sx-subnav a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid transparent;
  color: var(--sx-ink-2);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
body.sx .sx-subnav a svg { width: 14px; height: 14px; opacity: .75; }
body.sx .sx-subnav a:hover { color: var(--sx-ink); }
body.sx .sx-subnav a.is-active { color: var(--sx-ink); border-color: var(--sx-rule-lit); background: var(--sx-band); }
body.sx .sx-subnav a.is-active svg { color: var(--sx-signal-lo); opacity: 1; }
body.sx .sx-subnav .sx-badge { padding: 1px 6px; border: 1px solid var(--sx-rule-lit); font-family: var(--sx-mono); font-size: 9.5px; color: var(--sx-ink-3); }
body.sx .sx-subnav .sx-badge.is-alert { border-color: rgba(232, 176, 75, .4); color: #f0cb8a; }
body.sx .sx-subnav .sx-badge.is-ok { border-color: rgba(63, 207, 142, .35); color: #7fe0b5; }

/* Gaveta mobile */
body.sx .sx-drawer { position: fixed; inset: 0; z-index: 70; display: none; background: rgba(10, 10, 13, .98); overflow-y: auto; padding: 24px 20px 40px; scrollbar-width: none; }
body.sx .sx-drawer::-webkit-scrollbar { display: none; width: 0; height: 0; }
#accountSwitchableList { scrollbar-width: none; }
#accountSwitchableList::-webkit-scrollbar { display: none; width: 0; height: 0; }
body.sx .sx-drawer.is-open { display: block; }
body.sx .sx-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
body.sx .sx-drawer-group { margin-top: 22px; }
body.sx .sx-drawer-group > span { display: block; margin-bottom: 8px; font-family: var(--sx-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sx-ink-3); }
body.sx .sx-drawer-group a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border-left: 2px solid transparent; color: var(--sx-ink-2); font-size: 15px; text-decoration: none; }
body.sx .sx-drawer-group a svg { width: 18px; height: 18px; }
body.sx .sx-drawer-group a.is-active { color: var(--sx-ink); border-left-color: var(--sx-signal); background: var(--sx-band); }

/* Faixas na régua v2: marca maior na linha + rótulo no gutter (via data-mark) */
body.sx .sx-band { border-top: 0; padding-top: 0; }
body.sx .sx-band::before { content: ""; position: absolute; left: -29px; top: 2px; width: 3px; height: 30px; background: var(--sx-ink); }
body.sx .sx-band::after {
  content: attr(data-mark);
  position: absolute;
  top: 8px;
  right: calc(100% + 40px);
  width: 76px;
  font-family: var(--sx-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-align: right;
  text-transform: uppercase;
  color: var(--sx-ink-3);
  white-space: nowrap;
}
body.sx .sx-band:not([data-mark])::after { display: none; }
body.sx .sx-band + .sx-band { margin-top: 44px; }

/* Tipografia de display — larga, em tamanho de display */
body.sx .sx-title { margin: 0; font-family: var(--sx-display); font-variation-settings: "wdth" 118; font-weight: 700; font-size: 38px; letter-spacing: -.025em; line-height: 1; color: var(--sx-ink); }
body.sx .sx-title em { font-style: normal; color: var(--sx-signal-lo); }
body.sx .sx-context { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-family: var(--sx-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--sx-ink-3); }
body.sx .sx-context b { font-weight: 500; color: var(--sx-ink-2); }
body.sx .amount-int { font-variation-settings: "wdth" 112; }
body.sx .amt-hero { font-size: 76px; letter-spacing: -.04em; }
body.sx .amt-hero .amount-int { font-variation-settings: "wdth" 120; font-weight: 700; }

/* Forma da marca: canto chanfrado nos botões cheios */
body.sx .btn { border-radius: 0 !important; }
body.sx .btn:not(.btn-ghost):not(.btn-quiet):not(.btn-warning):not(.btn-danger) { clip-path: var(--sx-notch); }
body.sx .sx-count-badge, body.sx .sx-chip, body.sx .sx-modal-close, body.sx .sx-modal-icon { border-radius: 0; }

/* Hero do dashboard */
body.sx .sx-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); border: 1px solid var(--sx-rule-lit); background: var(--sx-band); }
body.sx .sx-hero-main { display: flex; flex-direction: column; justify-content: center; padding: 40px 40px 36px; border-right: 1px solid var(--sx-rule); }
body.sx .sx-hero-main .sx-ledger-note { margin-top: 18px; }
body.sx .sx-hero-side { display: flex; flex-direction: column; justify-content: center; }
body.sx .sx-hero-side .sx-ledger-split { padding: 20px 26px; }
body.sx .sx-hero-side .sx-ledger-split:first-child { border-top: 0; }
body.sx .sx-chart { height: 220px; }
body.sx .sx-chart-bar { max-width: 22px; border-radius: 0; }

@media (max-width: 1023px) {
  body.sx .sx-nav-sections { display: none; }
  body.sx .sx-nav-balance { display: none; }
  body.sx .sx-drawer-toggle { display: grid; }
}
@media (max-width: 900px) {
  body.sx { --sx-gutter: 0px; }
  body.sx .app-content { padding: 24px 18px 56px !important; }
  body.sx .app-content::before { display: none; }
  /* no celular o rótulo vira eyebrow ANTES do conteúdo: ::before precede, ::after seguiria */
  body.sx .sx-band::after { display: none; }
  body.sx .sx-band::before {
    content: attr(data-mark);
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 3px solid var(--sx-signal);
    background: none;
    font-family: var(--sx-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sx-ink-3);
  }
  body.sx .sx-band:not([data-mark])::before { display: none; }
  body.sx .sx-hero { grid-template-columns: 1fr; }
  body.sx .sx-hero-main { padding: 26px 20px; border-right: 0; border-bottom: 1px solid var(--sx-rule); }
  body.sx .sx-title { font-size: 30px; }
  body.sx .amt-hero { font-size: 48px; }
  body.sx .sx-nav { padding: 0 16px; gap: 12px; }
  body.sx .sx-subnav { padding: 0 16px; }
  body.sx .sx-chart { height: 170px; }
}

/* Hero de saldo — a Carteira. O valor grande é a assinatura da marca, não um card de destaque. */
body.sx .sx-ledger-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr); }
body.sx .sx-ledger-primary { display: flex; flex-direction: column; padding: 24px 20px; border-right: 1px solid var(--sx-rule); }
body.sx .sx-ledger-key {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sx-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sx-ink-3);
}
body.sx .sx-ledger-key::before { content: ""; width: 3px; height: 12px; background: var(--sx-paid); flex: 0 0 auto; }
body.sx .sx-ledger-hero.is-retained .sx-ledger-key::before { background: var(--sx-hold); }
body.sx .sx-ledger-value { margin-top: 12px; }
body.sx .sx-ledger-note { max-width: 46ch; margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--sx-ink-3); }
body.sx .sx-ledger-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
body.sx .sx-ledger-splits { display: flex; flex-direction: column; }
body.sx .sx-ledger-split { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-ledger-split:last-child { border-bottom: 0; }
body.sx .sx-ledger-split > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body.sx .sx-ledger-split-name { font-size: 12.5px; font-weight: 500; color: var(--sx-ink); }
body.sx .sx-ledger-split-sub { font-family: var(--sx-mono); font-size: 10px; letter-spacing: .04em; color: var(--sx-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 900px) {
  body.sx .sx-ledger-hero { grid-template-columns: 1fr; }
  body.sx .sx-ledger-primary { border-right: 0; border-bottom: 1px solid var(--sx-rule); }
}

/* Campos de formulário — primitivo reutilizável em qualquer módulo */
body.sx .sx-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body.sx .sx-field > span.sx-label { display: block; }
body.sx .sx-field input:not([type="checkbox"]):not([type="radio"]),
body.sx .sx-field select,
body.sx .sx-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--sx-rule-lit) !important;
  border-radius: 6px !important;
  background: var(--sx-band) !important;
  color: var(--sx-ink) !important;
  box-shadow: none !important;
  font-family: var(--sx-display);
  font-size: 13.5px;
}
body.sx .sx-field textarea { min-height: 80px; padding: 10px 12px; resize: vertical; }
body.sx .sx-field input::placeholder, body.sx .sx-field textarea::placeholder { color: var(--sx-ink-3); }
body.sx .sx-field input:not([type="checkbox"]):not([type="radio"]):focus,
body.sx .sx-field select:focus,
body.sx .sx-field textarea:focus {
  outline: none;
  border-color: var(--sx-signal) !important;
  box-shadow: 0 0 0 3px rgba(165, 72, 243, .16) !important;
}
body.sx .sx-field input[type="file"] { padding: 8px 10px; font-size: 12px; cursor: pointer; }
body.sx .sx-field small { font-size: 11px; color: var(--sx-ink-3); }
body.sx .sx-field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
body.sx .sx-field-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { body.sx .sx-field-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { body.sx .sx-field-grid, body.sx .sx-field-grid-2 { grid-template-columns: 1fr; } }

/* Alertas de tela (sucesso/erro) — sem gradiente, sem emoji */
body.sx .sx-alert { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--sx-rule); border-left: 3px solid var(--sx-ink-3); background: var(--sx-band); font-size: 13px; color: var(--sx-ink-2); }
body.sx .sx-alert svg { flex: 0 0 auto; width: 18px; height: 18px; }
body.sx .sx-alert.is-success { border-left-color: var(--sx-paid); }
body.sx .sx-alert.is-success svg { color: var(--sx-paid); }
body.sx .sx-alert.is-error { border-left-color: var(--sx-fail); }
body.sx .sx-alert.is-error svg { color: var(--sx-fail); }

/* Link "voltar" */
body.sx .sx-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--sx-signal-lo); font-size: 12px; font-weight: 500; text-decoration: none; }
body.sx .sx-back:hover { text-decoration: underline; }
body.sx .sx-back svg { width: 14px; height: 14px; }

/* Formulário com painel lateral de resumo — usado em saques e telas de valor único */
body.sx .sx-form-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); }
body.sx .sx-form-main { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px; border-right: 1px solid var(--sx-rule); align-content: start; }
body.sx .sx-form-main > .full { grid-column: 1 / -1; }
body.sx .sx-form-side { display: flex; flex-direction: column; }
body.sx .sx-side-row { display: flex; flex-direction: column; gap: 3px; padding: 14px 20px; border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-side-row strong { font-size: 13.5px; font-weight: 500; color: var(--sx-ink); }
body.sx .sx-side-foot { padding: 18px 20px; }

body.sx .sx-money-field { display: flex; flex-direction: column; gap: 8px; }
body.sx .sx-money-input {
  position: relative;
  display: block;
  height: 60px;
  border: 1px solid var(--sx-rule-lit);
  border-radius: 8px;
  background: var(--sx-band);
}
body.sx .sx-money-input:focus-within { border-color: var(--sx-signal); box-shadow: 0 0 0 3px rgba(165, 72, 243, .16); }
body.sx .sx-money-input .amount-cur { position: absolute; z-index: 1; top: 0; bottom: 0; left: 16px; display: flex; align-items: center; font-size: 13px; pointer-events: none; }
body.sx .sx-money-input input {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 16px 0 48px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--sx-ink);
  font-family: var(--sx-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
body.sx .sx-money-input input:focus { outline: none; }
body.sx .sx-money-field small { font-size: 11px; color: var(--sx-ink-3); }
body.sx .sx-money-field .sx-money-help { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--sx-ink-3); }
body.sx .sx-money-field .sx-money-help strong { color: var(--sx-ink); font-weight: 600; }

body.sx .sx-tips { display: flex; flex-direction: column; gap: 0; }
body.sx .sx-tips li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--sx-rule); font-size: 12.5px; color: var(--sx-ink-2); line-height: 1.5; list-style: none; }
body.sx .sx-tips li:last-child { border-bottom: 0; }
body.sx .sx-tips li svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; color: var(--sx-ink-3); }
body.sx .sx-tips strong { color: var(--sx-ink); font-weight: 600; }

@media (max-width: 900px) {
  body.sx .sx-form-wrap { grid-template-columns: 1fr; }
  body.sx .sx-form-main { border-right: 0; border-bottom: 1px solid var(--sx-rule); grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body.sx .sx-form-main { grid-template-columns: 1fr; padding: 18px; }
}

/* Faixa de aviso (KYC etc.) — sem emoji, sem gradiente */
body.sx .sx-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--sx-rule);
  border-left: 3px solid var(--sx-hold);
  background: var(--sx-band);
}
body.sx .sx-notice svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--sx-hold); }
body.sx .sx-notice strong { display: block; color: var(--sx-ink); font-size: 13px; font-weight: 600; }
body.sx .sx-notice p { margin: 2px 0 0; color: var(--sx-ink-3); font-size: 11.5px; }
body.sx .sx-notice a { margin-left: auto; flex: 0 0 auto; font-family: var(--sx-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--sx-signal-lo); text-decoration: none; white-space: nowrap; }
body.sx .sx-notice a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  body.sx .sx-band-head { padding: 0 16px; }
  body.sx .sx-strip > div { padding: 13px 16px; }
  body.sx .sx-chart-block { padding: 16px; }
  body.sx .amt-xxl { font-size: 32px; }
  body.sx .amt-xl { font-size: 26px; }
}

/* Filtro inline (datas no sx-filter-row) */
body.sx .sx-field-inline { flex-direction: row; align-items: center; gap: 8px; flex: 0 0 auto; }
body.sx .sx-field-inline input:not([type="checkbox"]):not([type="radio"]) { width: auto; min-height: 40px; font-family: var(--sx-mono); font-size: 12px; color-scheme: dark; }
@media (max-width: 640px) { body.sx .sx-field-inline { flex: 1 1 100%; } body.sx .sx-field-inline input { flex: 1 1 auto; } }
body.sx .sx-table.is-dense th, body.sx .sx-table.is-dense td { padding-left: 10px; padding-right: 10px; }
body.sx #txDetailModal, body.sx [role="dialog"].fixed { z-index: 120; }
body.sx .hidden { display: none !important; }

/* Sellers (merchants.php) */
body.sx .sx-option-check { position: relative; width: 16px; height: 16px; flex: 0 0 auto; border: 1.5px solid var(--sx-rule-lit); border-radius: 3px; }
body.sx .sx-option:has(input:checked) .sx-option-check { border-color: var(--sx-ink); background: var(--sx-ink); }
body.sx .sx-option:has(input:checked) .sx-option-check::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid var(--sx-ground); border-width: 0 2px 2px 0; transform: rotate(45deg); }
body.sx .sx-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid var(--sx-rule-lit); background: var(--sx-band-2); font-family: var(--sx-mono); font-size: 11px; font-weight: 600; color: var(--sx-signal-lo); }
body.sx .sx-tag { display: inline-flex; align-items: center; padding: 2px 7px; border: 1px solid var(--sx-rule-lit); background: var(--sx-band-2); font-family: var(--sx-mono); font-size: 10px; letter-spacing: .04em; color: var(--sx-ink-2); white-space: nowrap; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
body.sx .sx-diversion { border: 1px solid var(--sx-rule); border-left: 3px solid var(--sx-rule-lit); background: var(--sx-band); padding: 16px 18px; }
body.sx .sx-diversion.is-on { border-left-color: var(--sx-hold); }
body.sx .sx-diversion .is-disabled { opacity: .4; pointer-events: none; }
body.sx .sx-range { width: 100%; height: 4px; appearance: none; -webkit-appearance: none; background: var(--sx-rule-lit); border-radius: 2px; outline: none; accent-color: var(--sx-signal); }
body.sx .sx-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--sx-signal); border: 2px solid var(--sx-ground); cursor: pointer; }
body.sx .sx-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--sx-signal); border: 2px solid var(--sx-ground); cursor: pointer; }
body.sx .sx-money-input input[type="number"] { -moz-appearance: textfield; }
body.sx .sx-money-input input::-webkit-outer-spin-button, body.sx .sx-money-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.sx .sx-tips code, body.sx .sx-switch-row code, body.sx .sx-field small code { font-family: var(--sx-mono); font-size: 10.5px; color: var(--sx-signal-lo); }
@media (max-width: 640px) {
  body.sx .sx-tabs { flex-wrap: wrap; flex: 1 1 100%; min-width: 0; }
  body.sx .sx-switch-row { flex-wrap: wrap; }
  body.sx .sx-band-head { flex-wrap: wrap; }
}

/* Compliance (compliance.php) */
body.sx .sx-review-list { display: flex; flex-direction: column; gap: 16px; }
body.sx .sx-review { border: 1px solid var(--sx-rule); border-left: 3px solid var(--sx-rule-lit); background: var(--sx-band); }
body.sx .sx-review.is-pending { border-left-color: var(--sx-hold); }
body.sx .sx-review-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-review-data { border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-review-data > div { padding: 14px 18px; }
body.sx .sx-review-data strong { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--sx-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.sx .sx-review-data strong.is-mono { font-family: var(--sx-mono); font-weight: 500; font-size: 12.5px; }
body.sx .sx-review-data small { display: block; margin-top: 3px; font-size: 11px; color: var(--sx-ink-3); }
body.sx .sx-review .sx-alert { border-left: 0; border-right: 0; }
body.sx .sx-review-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
body.sx .sx-review-foot .sx-chip { text-decoration: none; }

/* Ranking (ranking.php) */
body.sx .sx-rank-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--sx-rule); border: 1px solid var(--sx-rule); }
body.sx .sx-rank { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--sx-band); border-top: 3px solid transparent; }
body.sx .sx-rank.is-filled { border-top-color: var(--sx-rule-lit); }
body.sx .sx-rank.is-podium.is-filled { border-top-color: var(--sx-signal); }
body.sx .sx-rank-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.sx .sx-rank-pos { font-family: var(--sx-display); font-variation-settings: "wdth" 75; font-size: 28px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--sx-ink-3); }
body.sx .sx-rank.is-podium .sx-rank-pos { color: var(--sx-signal-lo); }
body.sx .sx-rank-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
body.sx .sx-rank-avatar { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--sx-rule-lit); background: var(--sx-band-2); cursor: pointer; font-family: var(--sx-mono); font-size: 12px; font-weight: 600; color: var(--sx-ink-2); }
body.sx .sx-rank-avatar:hover { border-color: var(--sx-signal); }
body.sx .sx-rank-avatar img { width: 100%; height: 100%; object-fit: cover; }
body.sx .sx-rank-avatar input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
body.sx .sx-rank-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; }
@media (max-width: 1100px) { body.sx .sx-rank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { body.sx .sx-rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { body.sx .sx-rank-grid { grid-template-columns: 1fr; } }

/* Adquirentes (acquirers.php) */
body.sx .sx-route-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 0; border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-route-row:first-child { padding-top: 0; }
body.sx .sx-route-row > div { flex: 1 1 260px; min-width: 0; }
body.sx .sx-route-row strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--sx-ink); }
body.sx .sx-route-row strong svg { color: var(--sx-signal-lo); vertical-align: -3px; }
body.sx .sx-route-row p { margin: 3px 0 0; font-size: 12px; color: var(--sx-ink-3); }
body.sx .sx-route-row .sx-select { flex: 0 1 380px; max-width: 100%; }
body.sx .sx-route-row.is-muted { opacity: .55; }
body.sx .sx-acq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.sx .sx-acq { display: flex; flex-direction: column; border: 1px solid var(--sx-rule); border-left: 3px solid var(--sx-rule-lit); background: var(--sx-band); }
body.sx .sx-acq.is-live { border-left-color: var(--sx-paid); }
body.sx .sx-acq.is-off { opacity: .6; }
body.sx .sx-acq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--sx-rule); }
body.sx .sx-acq-stats > div { padding: 12px 18px; }
body.sx .sx-acq-key { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--sx-rule); font-family: var(--sx-mono); }
body.sx .sx-acq-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 18px; margin-top: auto; }
@media (max-width: 900px) { body.sx .sx-acq-grid { grid-template-columns: 1fr; } }
body.sx .sx-strip > div { min-width: 0; }
body.sx .sx-acq-head { flex-wrap: wrap; }

/* Webhooks / logs */
body.sx .sx-log-list { display: flex; flex-direction: column; gap: 1px; background: var(--sx-rule); border: 1px solid var(--sx-rule); }
body.sx .sx-log { background: var(--sx-band); padding: 12px 16px; }
body.sx .sx-log summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
body.sx .sx-log summary::-webkit-details-marker { display: none; }
body.sx .sx-log[open] { background: var(--sx-band-2); }
body.sx .sx-inline-details summary { list-style: none; }
body.sx .sx-inline-details summary::-webkit-details-marker { display: none; }

/* Configurações (settings.php) */
body.sx .sx-conn { border: 1px solid var(--sx-rule); border-left: 3px solid var(--sx-hold); background: var(--sx-band); padding: 16px 18px; }
body.sx .sx-conn.is-ok { border-left-color: var(--sx-paid); }
body.sx .sx-conn-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--sx-rule); margin-bottom: 4px; }
body.sx .sx-band-head p code { font-family: var(--sx-mono); color: var(--sx-signal-lo); }

/* Backoffice */
body.sx label.sx-chip-check { position: relative; display: inline-flex; align-items: center; user-select: none; }
body.sx label.sx-chip-check input { position: absolute; width: 0; height: 0; opacity: 0; }
body.sx label.sx-chip-check:has(input:checked) { border-color: var(--sx-signal); background: rgba(165, 72, 243, .12); color: var(--sx-ink); }
body.sx label.sx-chip-check:has(input:focus-visible) { box-shadow: 0 0 0 2px var(--sx-signal); }
body.sx .sx-conn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.sx .sx-conn.is-bad { border-left-color: var(--sx-fail); }
body.sx .sx-conn .sx-avatar svg { width: 16px; height: 16px; }
@media (max-width: 900px) { body.sx .sx-conn-grid { grid-template-columns: 1fr; } }
body.sx .sx-form-main.is-stack { display: flex; flex-direction: column; gap: 24px; }
body.sx .sx-strip.sx-strip-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { body.sx .sx-strip.sx-strip-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { body.sx .sx-strip.sx-strip-3 { grid-template-columns: 1fr; } }

/* Steps states */
body.sx .sx-step-num.is-done { border-color: rgba(63, 207, 142, .5); background: rgba(63, 207, 142, .12); color: var(--sx-paid); }
body.sx .sx-step-num.is-active { border-color: var(--sx-signal); background: rgba(165, 72, 243, .14); color: var(--sx-signal-lo); }
body.sx .sx-step-num svg { width: 14px; height: 14px; }
body.sx .sx-tips li svg { flex: 0 0 auto; margin-top: 2px; color: var(--sx-signal-lo); }
body.sx .sx-tips code { font-family: var(--sx-mono); font-size: 11px; color: var(--sx-signal-lo); }

/* Docs / code */
body.sx .sx-doc-p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--sx-ink-2); }
body.sx .sx-doc-p code { font-family: var(--sx-mono); font-size: 11.5px; color: var(--sx-signal-lo); }
body.sx .sx-code { margin: 0; padding: 14px 16px; border: 1px solid var(--sx-rule); background: var(--sx-ground); font-family: var(--sx-mono); font-size: 11.5px; line-height: 1.6; color: var(--sx-ink-2); overflow-x: auto; white-space: pre; }
body.sx .sx-code-k { color: var(--sx-hold); }
body.sx .sx-code-wrap { position: relative; }
body.sx .sx-code-copy { position: absolute; top: 8px; right: 8px; font-size: 11px; background: var(--sx-band); }
body.sx .sx-endpoint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
body.sx .sx-endpoint code { font-family: var(--sx-mono); font-size: 13px; color: var(--sx-ink); word-break: break-all; }

/* Auth (login / cadastro) */
body.sx.sx-auth { min-height: 100vh; }
body.sx .sx-auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr); }
body.sx .sx-auth-page.is-wide { grid-template-columns: minmax(0, .8fr) minmax(560px, 1.2fr); }
body.sx .sx-auth-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px 48px; border-right: 1px solid var(--sx-rule); overflow: hidden; }
body.sx .sx-auth-art::after { content: "A"; position: absolute; right: -4%; bottom: -12%; font-family: var(--sx-display); font-variation-settings: "wdth" 62; font-weight: 800; font-size: min(48vw, 640px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(200, 143, 250, .16); pointer-events: none; }
body.sx .sx-auth-art-body { position: relative; z-index: 1; max-width: 520px; display: flex; flex-direction: column; gap: 18px; }
body.sx .sx-auth-headline { margin: 0; font-family: var(--sx-display); font-variation-settings: "wdth" 88; font-size: clamp(34px, 4.2vw, 58px); font-weight: 800; letter-spacing: -.045em; line-height: .98; color: var(--sx-ink); }
body.sx .sx-auth-headline em { font-style: normal; color: var(--sx-signal-lo); }
body.sx .sx-auth-copy { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--sx-ink-2); max-width: 480px; }
body.sx .sx-auth-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--sx-rule); border: 1px solid var(--sx-rule); margin-top: 8px; }
body.sx .sx-auth-facts > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: rgba(16, 16, 20, .8); }
body.sx .sx-auth-facts strong { font-family: var(--sx-display); font-variation-settings: "wdth" 75; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--sx-ink); line-height: 1; }
body.sx .sx-auth-facts small { font-size: 11px; color: var(--sx-ink-3); }
body.sx .sx-auth-foot { position: relative; z-index: 1; display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--sx-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-ink-3); }
body.sx .sx-auth-foot span { display: inline-flex; align-items: center; gap: 8px; }
body.sx .sx-auth-foot i { width: 6px; height: 6px; background: var(--sx-paid); }
body.sx .sx-auth-panel { display: flex; align-items: center; justify-content: center; padding: 48px 40px; background: var(--sx-band); }
body.sx .sx-auth-box { width: 100%; max-width: 440px; }
body.sx .sx-auth-box.is-wide { max-width: 680px; }
body.sx .sx-auth-box .sx-alert, body.sx .sx-auth-box .sx-notice { margin-top: 18px; }
body.sx .sx-auth-form { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
body.sx .sx-auth-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--sx-rule); }
body.sx .sx-auth-section { display: flex; flex-direction: column; gap: 16px; }
body.sx .sx-auth-block { border: 1px solid var(--sx-rule); border-left: 3px solid var(--sx-rule-lit); background: var(--sx-ground); padding: 4px 16px 16px; }
body.sx .sx-upload-list { display: flex; flex-direction: column; gap: 8px; }
body.sx .sx-upload { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed var(--sx-rule-lit); background: var(--sx-band); cursor: pointer; }
body.sx .sx-upload:hover { border-color: var(--sx-signal); }
body.sx .sx-upload.is-filled { border-style: solid; border-color: rgba(63, 207, 142, .5); }
body.sx .sx-upload input { position: absolute; width: 0; height: 0; opacity: 0; }
body.sx .sx-upload-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid var(--sx-rule-lit); background: var(--sx-band-2); color: var(--sx-signal-lo); }
body.sx .sx-upload.is-filled .sx-upload-icon { color: var(--sx-paid); }
body.sx .sx-upload-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
body.sx .sx-upload-text strong { font-size: 13px; font-weight: 600; color: var(--sx-ink); }
body.sx .sx-upload-text small { font-size: 11px; color: var(--sx-ink-3); }
body.sx .sx-upload-file { font-family: var(--sx-mono); color: var(--sx-paid) !important; }
@media (max-width: 960px) {
  body.sx .sx-auth-page, body.sx .sx-auth-page.is-wide { grid-template-columns: 1fr; }
  body.sx .sx-auth-art { border-right: 0; border-bottom: 1px solid var(--sx-rule); padding: 24px 20px; gap: 24px; }
  body.sx .sx-auth-art::after { display: none; }
  body.sx .sx-auth-art-body > .sx-tips, body.sx .sx-auth-facts, body.sx .sx-auth-foot, body.sx .sx-auth-art .sx-auth-copy { display: none; }
  body.sx .sx-auth-headline { font-size: 26px; }
  body.sx .sx-auth-panel { padding: 28px 20px 40px; }
}
body.sx .sx-steps.sx-steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { body.sx .sx-steps.sx-steps-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { body.sx .sx-steps.sx-steps-4 { grid-template-columns: 1fr; } }
