:root {
  --bg: #05030a;
  --bg-2: #0a0612;
  --panel: #0c0816;
  --panel-2: #120c20;
  --panel-3: #181029;
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.1);
  --accent-line: rgba(139, 92, 246, 0.35);
  --text: #f4f1fa;
  --muted: #9a92ad;
  --dim: #5f5873;
  --p1: #6d28d9;
  --p2: #8b5cf6;
  --p3: #a78bfa;
  --p4: #c4b5fd;
  --green: #4ade80;
  --red: #f87171;
  --amber: #fbbf24;
  --r: 12px;
  --r-sm: 8px;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --display: "Space Grotesk", Inter, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 14px; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 520px at 70% -220px, rgba(109, 40, 217, 0.22), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 32px 100%;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
svg.i { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.num, .val, .mono { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 12px; }

/* ---------- Layout ---------- */
.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; position: relative; z-index: 1; }
.side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 18px 12px;
  border-right: 1px solid var(--line); background: rgba(8, 5, 14, 0.85); backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 6px 10px 20px; }
.mark { width: 34px; height: 34px; flex: none; }
.brand b { font-family: var(--display); font-size: 16px; font-weight: 600; display: block; letter-spacing: -0.01em; }
.brand span { font-family: var(--mono); font-size: 9.5px; color: var(--dim); letter-spacing: 0.22em; text-transform: uppercase; }
.nav-group { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); padding: 18px 12px 8px; }
.nav a {
  position: relative; display: flex; align-items: center; gap: 11px; padding: 8px 12px; margin: 1px 0; border-radius: var(--r-sm);
  text-decoration: none; color: var(--muted); font-size: 13.5px; font-weight: 500; transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.nav a.on { color: #fff; background: linear-gradient(90deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.02)); }
.nav a.on::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--p3); box-shadow: 0 0 12px var(--p2); }
.nav a.on svg { color: var(--p3); }
.side-foot { margin-top: auto; padding: 14px 10px 4px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: 0.1em; display: flex; justify-content: space-between; }

.content { min-width: 0; display: flex; flex-direction: column; }
.main { padding: 28px 32px 64px; min-width: 0; }

/* ---------- Topbar (faturamento) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 32px;
  border-bottom: 1px solid var(--line); background: rgba(5, 3, 10, 0.78); backdrop-filter: blur(18px);
}
.crumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.crumb b { color: var(--text); font-weight: 500; }
.revenue { flex: 1; max-width: 620px; margin-left: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.revenue .lvl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--p4); border: 1px solid var(--accent-line); background: rgba(139, 92, 246, 0.08); padding: 4px 8px; border-radius: 6px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.track { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); overflow: hidden; }
.track .fill {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #5b21b6, #8b5cf6 60%, #c4b5fd);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.7); transition: width 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.track .fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); background-size: 40% 100%; background-repeat: no-repeat;
  animation: sheen 2.6s linear infinite;
}
@keyframes sheen { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.track .ticks { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(5, 3, 10, 0.7) calc(10% - 1px) 10%); pointer-events: none; }
.revenue .nums { font-family: var(--mono); font-size: 12px; white-space: nowrap; color: var(--muted); }
.revenue .nums b { color: #fff; font-weight: 600; }
.revenue.bump .fill { box-shadow: 0 0 28px rgba(196, 181, 253, 0.95); }
.live-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.avatar { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 13px; background: var(--panel-3); border: 1px solid var(--line-2); flex: none; }

/* ---------- Header de página ---------- */
.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.top .eyebrow { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--p3); margin-bottom: 8px; }
.top h1 { font-size: 26px; }
.top p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grid { display: grid; gap: 14px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
@media (max-width: 1200px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr 1fr; } .revenue .nums { display: none; } }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; } .side { position: relative; height: auto; }
  .g4, .g3, .g2 { grid-template-columns: 1fr; } .span2 { grid-column: auto; } .main { padding: 18px; }
  .topbar { padding: 0 16px; gap: 12px; } .crumb, .live-chip { display: none; }
}

/* ---------- Cards ---------- */
.card { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.card::before { content: ""; position: absolute; left: 16px; right: 16px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-line), transparent); }
.card h3 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card h3 .t { display: inline-flex; align-items: center; gap: 8px; }
.card h3 .t svg { color: var(--p3); }
.kpi { padding: 18px 20px; }
.kpi .lbl { font-family: var(--mono); color: var(--muted); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kpi .lbl svg { color: var(--dim); }
.kpi .val { font-family: var(--display); font-size: 28px; font-weight: 600; margin-top: 12px; letter-spacing: -0.03em; }
.kpi .hint { font-size: 12px; color: var(--dim); margin-top: 6px; }
.kpi.hero { background: radial-gradient(400px 160px at 100% 0, rgba(139, 92, 246, 0.35), transparent 70%), linear-gradient(180deg, #170e2b, #0f0a1c); border-color: var(--accent-line); }
.kpi.hero .lbl svg { color: var(--p3); }
.corners::after {
  content: ""; position: absolute; inset: 6px; pointer-events: none; border-radius: 8px;
  background:
    linear-gradient(var(--p3), var(--p3)) 0 0 / 10px 1px no-repeat, linear-gradient(var(--p3), var(--p3)) 0 0 / 1px 10px no-repeat,
    linear-gradient(var(--p3), var(--p3)) 100% 100% / 10px 1px no-repeat, linear-gradient(var(--p3), var(--p3)) 100% 100% / 1px 10px no-repeat;
  opacity: 0.55;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--p3); display: inline-block; flex: none; }
.dot.live { background: var(--green); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15), 0 0 10px var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }

/* ---------- Controles ---------- */
.btn {
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); padding: 8px 14px; border-radius: var(--r-sm);
  cursor: pointer; font-weight: 500; font-size: 13px; transition: 0.15s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; line-height: 1.2;
}
.btn:hover { border-color: var(--accent-line); background: rgba(139, 92, 246, 0.08); }
.btn.pri { background: linear-gradient(180deg, #8b5cf6, #6d28d9); border-color: rgba(196, 181, 253, 0.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 20px rgba(109, 40, 217, 0.35); color: #fff; }
.btn.pri:hover { filter: brightness(1.12); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn.danger:hover { border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.08); color: var(--red); }
.btn.sm { padding: 6px 10px; font-size: 12px; }
.btn.icon { padding: 6px; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; cursor: pointer; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--panel-3); color: #fff; box-shadow: inset 0 0 0 1px var(--accent-line); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field small { color: var(--dim); font-size: 12px; line-height: 1.5; }
input, select, textarea { width: 100%; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 9px 12px; outline: none; transition: 0.15s; }
input:focus, select:focus, textarea:focus { border-color: var(--p2); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15); }
textarea { min-height: 90px; resize: vertical; }
select option { background: #120c20; }
input[type="checkbox"] { width: auto; accent-color: var(--p2); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 7px; font-size: 12.5px; }

/* ---------- Tabelas ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-family: var(--mono); font-weight: 500; color: var(--dim); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.035); vertical-align: middle; }
.table tr:hover td { background: rgba(139, 92, 246, 0.035); }
.table td.r, .table th.r { text-align: right; }
.tw { overflow-x: auto; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.8; }
.tag.plain::before { display: none; }
.tag.green { color: var(--green); border-color: rgba(74, 222, 128, 0.25); background: rgba(74, 222, 128, 0.06); }
.tag.red { color: var(--red); border-color: rgba(248, 113, 113, 0.25); background: rgba(248, 113, 113, 0.06); }
.tag.amber { color: var(--amber); border-color: rgba(251, 191, 36, 0.25); background: rgba(251, 191, 36, 0.06); }
.tag.purple { color: var(--p4); border-color: var(--accent-line); background: rgba(139, 92, 246, 0.08); }
.muted { color: var(--muted); } .dim { color: var(--dim); }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); font-size: 13px; }
.empty .ei { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 12px; display: grid; place-items: center; border: 1px dashed var(--accent-line); color: var(--p3); }
.empty b { display: block; color: var(--text); font-size: 15px; margin-bottom: 6px; font-family: var(--display); font-weight: 600; }

/* ---------- Barras / feed ---------- */
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #6d28d9, #a78bfa); border-radius: 99px; }
.funnel { display: grid; gap: 14px; }
.funnel .f { display: grid; grid-template-columns: 120px 1fr 64px; align-items: center; gap: 12px; font-size: 13px; }
.funnel .f b { text-align: right; font-family: var(--mono); font-weight: 500; font-size: 12.5px; }
.feed { display: grid; max-height: 372px; overflow-y: auto; margin: -6px -8px; }
.feed .it { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 10px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.03); animation: slide 0.35s ease; }
.feed .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--muted); }
.feed .it.sale .ic { color: var(--green); border-color: rgba(74, 222, 128, 0.25); background: rgba(74, 222, 128, 0.07); }
.feed .it.pix .ic { color: var(--amber); border-color: rgba(251, 191, 36, 0.2); background: rgba(251, 191, 36, 0.05); }
.feed .it.lead .ic { color: var(--p3); border-color: var(--accent-line); background: rgba(139, 92, 246, 0.07); }
.feed .t { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .s { font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.feed .tm { font-family: var(--mono); font-size: 10.5px; color: var(--dim); }
@keyframes slide { from { opacity: 0; transform: translateY(-4px); } }
svg.chart text { fill: var(--dim); font-size: 10px; font-family: var(--mono); }
.legend { display: inline-flex; gap: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 2px; background: var(--p3); display: inline-block; }
.legend i.b { height: 8px; width: 8px; background: rgba(255, 255, 255, 0.12); border-radius: 2px; }

/* ---------- Modal / toast ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(2, 1, 5, 0.72); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 50; padding: 20px; animation: fade 0.15s; }
.modal { position: relative; width: min(600px, 100%); max-height: 90vh; overflow-y: auto; background: linear-gradient(180deg, #140d24, #0c0816); border: 1px solid var(--line-2); border-radius: 16px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(139, 92, 246, 0.12); }
.modal h2 { font-size: 19px; margin-bottom: 20px; }
@keyframes fade { from { opacity: 0; } }
#toasts { position: fixed; right: 20px; bottom: 20px; display: grid; gap: 10px; z-index: 60; }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 10px; background: #120c20; border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); font-size: 13px; animation: slide 0.25s; max-width: 380px; }
.toast > svg { color: var(--p3); margin-top: 1px; }
.toast.sale { border-color: rgba(74, 222, 128, 0.35); } .toast.sale > svg { color: var(--green); }
.toast.err > svg { color: var(--red); }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.15fr 1fr; position: relative; z-index: 1; }
.auth .hero { padding: 64px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; border-right: 1px solid var(--line); }
.auth .hero h1 { font-size: 52px; line-height: 1.02; margin: 34px 0 18px; font-weight: 600; letter-spacing: -0.04em; }
.auth .hero h1 em { font-style: normal; background: linear-gradient(90deg, #fff 0%, #c4b5fd 50%, #8b5cf6 100%); -webkit-background-clip: text; color: transparent; }
.auth .hero p { color: var(--muted); font-size: 16px; max-width: 470px; line-height: 1.65; }
.ring { position: absolute; right: -180px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(139, 92, 246, 0.25); box-shadow: inset 0 0 120px rgba(109, 40, 217, 0.25), 0 0 120px rgba(109, 40, 217, 0.15); }
.ring::before, .ring::after { content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 1px dashed rgba(139, 92, 246, 0.2); animation: spin 60s linear infinite; }
.ring::after { inset: 130px; border-style: solid; border-color: rgba(196, 181, 253, 0.12); animation-duration: 30s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.auth .box { display: grid; place-items: center; padding: 30px; }
.auth .form { width: min(380px, 100%); }
.feats { display: grid; grid-template-columns: repeat(3, auto); gap: 18px 28px; margin-top: 40px; justify-content: start; }
.feats div { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.feats svg { color: var(--p3); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth .hero { padding: 36px 24px 0; border: 0; } .auth .hero h1 { font-size: 36px; } .feats { grid-template-columns: 1fr 1fr; } }

/* ---------- Fluxos ---------- */
.node-wrap { position: relative; padding: 0 0 12px 30px; }
.node-wrap::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--accent-line), rgba(139, 92, 246, 0.05)); }
.node-wrap .num { position: absolute; left: 0; top: 16px; width: 21px; height: 21px; border-radius: 6px; background: var(--panel-3); border: 1px solid var(--accent-line); font-family: var(--mono); font-size: 10px; display: grid; place-items: center; color: var(--p4); }
.node { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.node .head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.node .type { font-weight: 600; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.node .type svg { color: var(--p3); }
.flist a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: 13px; }
.flist a:hover { background: rgba(255, 255, 255, 0.03); color: var(--text); }
.flist a.on { background: rgba(139, 92, 246, 0.1); color: #fff; box-shadow: inset 0 0 0 1px var(--accent-line); }

/* ---------- Misc ---------- */
.tool .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; color: var(--p4); background: rgba(139, 92, 246, 0.1); border: 1px solid var(--accent-line); }
.tool .ico svg { width: 19px; height: 19px; }
.tool h4 { margin: 0 0 6px; font-family: var(--display); font-size: 15px; font-weight: 600; }
.award { text-align: left; padding: 18px; }
.award .badge { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--dim); margin-bottom: 14px; }
.award.ok .badge { color: #fde68a; border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); box-shadow: 0 0 20px rgba(251, 191, 36, 0.15); }
.award b { display: block; font-family: var(--display); font-size: 15px; font-weight: 600; }
.pos { font-family: var(--mono); font-weight: 600; font-size: 12px; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); }
.pos.p1 { color: #fde68a; border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.08); }
.pos.p2 { color: #e5e7eb; border-color: rgba(229, 231, 235, 0.35); background: rgba(229, 231, 235, 0.06); }
.pos.p3 { color: #fdba74; border-color: rgba(253, 186, 116, 0.35); background: rgba(253, 186, 116, 0.06); }
.rank-me td { background: rgba(139, 92, 246, 0.07); }
.code { background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line-2); border-radius: 7px; padding: 7px 10px; font-family: var(--mono); font-size: 11.5px; word-break: break-all; color: var(--p4); }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--accent-line); background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.02)); border-radius: 10px; padding: 10px 14px; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.notice > span { display: flex; align-items: center; gap: 10px; }
.notice svg { color: var(--p3); }
.notice b { color: var(--text); font-weight: 600; }
.info { font-size: 13px; line-height: 1.7; color: var(--muted); }
.info b { color: var(--text); font-weight: 600; }
.step { padding: 16px; }
.step .n { font-family: var(--mono); font-size: 10.5px; color: var(--p3); letter-spacing: 0.14em; }
.step b { display: block; margin: 8px 0 6px; font-family: var(--display); font-weight: 600; font-size: 14px; }
.step div.d { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.split { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.stat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.stat2 .l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.stat2 .v { font-family: var(--display); font-size: 20px; font-weight: 600; margin-top: 4px; }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.07); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }

/* ---------- Verificação do seller (KYC) ---------- */
.tag svg { width: 12px; height: 12px; }
.notice.warn { border-color: rgba(251, 191, 36, 0.35); background: linear-gradient(90deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.02)); }
.notice.warn svg { color: var(--amber); }
.notice.danger { border-color: rgba(248, 113, 113, 0.35); background: linear-gradient(90deg, rgba(248, 113, 113, 0.1), rgba(248, 113, 113, 0.02)); }
.notice.danger svg { color: var(--red); }
.onb { min-height: 100vh; position: relative; z-index: 1; display: flex; flex-direction: column; }
.onb-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 32px; border-bottom: 1px solid var(--line); background: rgba(5, 3, 10, 0.6); backdrop-filter: blur(8px); }
.onb-wrap { width: min(860px, 100%); margin: 0 auto; padding: 40px 24px 80px; }
.stepper { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.stepper .st { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dim); white-space: nowrap; }
.stepper .st small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.stepper .sd { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--panel); }
.stepper .sd svg { width: 15px; height: 15px; }
.stepper .st.done { color: var(--muted); }
.stepper .st.done .sd { color: var(--green); border-color: rgba(74, 222, 128, 0.3); background: rgba(74, 222, 128, 0.06); }
.stepper .st.cur { color: var(--text); }
.stepper .st.cur .sd { color: var(--p4); border-color: var(--p2); background: rgba(139, 92, 246, 0.14); box-shadow: 0 0 18px rgba(139, 92, 246, 0.35); }
.stepper .sl { flex: 1; height: 1px; min-width: 16px; background: linear-gradient(90deg, var(--line-2), transparent); }
.onb-card { padding: 34px; }
.onb-card h2 { font-size: 26px; margin: 6px 0 8px; letter-spacing: -0.03em; }
.onb-card > p { font-size: 13.5px; line-height: 1.65; margin: 0 0 22px; max-width: 640px; }
.onb-card.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.onb-card.center > p { margin-left: auto; margin-right: auto; }
.eyebrow-s { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--p3); }
.drops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.drop { border: 1px dashed var(--accent-line); border-radius: 12px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 12px; background: rgba(139, 92, 246, 0.03); transition: border-color 0.15s, background 0.15s; }
.drop:hover { border-color: var(--p2); background: rgba(139, 92, 246, 0.07); }
.drop.ok { border-style: solid; border-color: rgba(74, 222, 128, 0.35); background: rgba(74, 222, 128, 0.03); }
.dp-prev { aspect-ratio: 16 / 10; border-radius: 8px; display: grid; place-items: center; background: #000; border: 1px solid var(--line); color: var(--p3); overflow: hidden; }
.dp-prev svg { width: 34px; height: 34px; stroke-width: 1.3; }
.dp-prev img { width: 100%; height: 100%; object-fit: cover; }
.dp-txt b { display: block; font-size: 13px; font-weight: 600; }
.dp-txt small { color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.dp-st { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--p3); }
.dp-st svg { width: 13px; height: 13px; }
.drop.ok .dp-st { color: var(--green); text-transform: none; letter-spacing: 0; }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-bottom: 22px; font-size: 12.5px; color: var(--muted); }
.rules span { display: flex; align-items: center; gap: 8px; }
.rules svg { width: 14px; height: 14px; color: var(--p3); flex: none; }
.onb-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.06); }
.onb-ic svg { width: 28px; height: 28px; }
.onb-ic.pulse { animation: glow 2.4s ease-in-out infinite; }
.onb-ic.red { color: var(--red); border-color: rgba(248, 113, 113, 0.3); background: rgba(248, 113, 113, 0.06); }
@keyframes glow { 50% { box-shadow: 0 0 28px rgba(251, 191, 36, 0.25); } }
.kvs { display: grid; grid-template-columns: auto auto; gap: 10px 22px; margin: 4px 0 24px; font-size: 13px; text-align: left; }
.kvs dt { color: var(--dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 2px; }
.kvs dd { margin: 0; }
@media (max-width: 760px) { .drops, .rules { grid-template-columns: 1fr; } .stepper .st span:last-child { display: none; } .onb-top { padding: 14px 16px; } .onb-card { padding: 22px; } }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: saturate(0.6); }

/* ---------- Acesso administrativo e recuperação de senha ---------- */
.imp-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 9px 18px; font-size: 12.5px; color: #fde68a; background: linear-gradient(90deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.08)); border-bottom: 1px solid rgba(245, 158, 11, 0.4); backdrop-filter: blur(8px); }
.imp-bar > svg { color: #fbbf24; flex: none; }
.imp-bar span { flex: 1; }
.imp-bar b { color: #fff; }
.imp-bar .btn { border-color: rgba(245, 158, 11, 0.5); }
.forgot-link { font-family: Inter, sans-serif; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--p3); }
.forgot-link:hover { color: var(--p4); }
.auth-alt { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-alt a { color: var(--p3); font-weight: 500; }
