/* NEXO Trading Edition — camada visual. Não altera ações financeiras. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');
html[data-theme="nexo-trading"]{
  color-scheme:dark;
  --bg:#0b0e11;--bg2:#0b0e11;--panel:#181a20;--panel2:#21262d;--panel3:#1e2329;
  --text:#eaecef;--muted:#a0a8b5;--subtle:#87909f;--accent:#3861fb;--accent2:#81a1ff;
  --accent-soft:#202b4a;--success:#0ecb81;--success-soft:#15372e;--warning:#f0b90b;--warning-soft:#3a3015;
  --info:#6890ff;--red:#f6465d;--border:#2b313a;--shadow:0 12px 34px rgba(0,0,0,.13);
  --nav:#181a20;--input:#1e2329;--code:#0d1117;--grid:#2b313a;--overlay:rgba(1,4,8,.88);
  --gradient:linear-gradient(120deg,#3861fb,#456ef9);
  --trade-green:#0ecb81;--trade-red:#f6465d;--trade-yellow:#f0b90b;--trade-blue:#3861fb;
  --cp-font-ui:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --cp-font-display:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --cp-font-number:'JetBrains Mono',Consolas,monospace;
  background:#0b0e11
}
html[data-theme="nexo-trading"] *{box-sizing:border-box}
html[data-theme="nexo-trading"] body{
  background:#0b0e11!important;color:var(--text)!important;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif!important; font-size:13px;
}
html[data-theme="nexo-trading"] ::selection{background:#3861fb;color:#fff}
html[data-theme="nexo-trading"] ::-webkit-scrollbar{width:7px;height:7px}
html[data-theme="nexo-trading"] ::-webkit-scrollbar-track{background:#0b0e11}
html[data-theme="nexo-trading"] ::-webkit-scrollbar-thumb{background:#414956;border-radius:7px}
html[data-theme="nexo-trading"] .cp-header{position:sticky;top:0;background:#181a20!important;border-bottom:1px solid #2b313a!important;box-shadow:none;backdrop-filter:none}
html[data-theme="nexo-trading"] .cp-header-inner{max-width:1600px;gap:14px;padding:10px 22px}
html[data-theme="nexo-trading"] .cp-brandmark{background:linear-gradient(135deg,#3861fb,#203d9f)!important;border-radius:9px!important;width:37px;height:37px;box-shadow:none!important;color:#fff}
html[data-theme="nexo-trading"] .cp-brand b{font-weight:800;letter-spacing:.045em;color:#f0b90b}
html[data-theme="nexo-trading"] .cp-brand small{color:#a0a8b5}
html[data-theme="nexo-trading"] .cp-nav a{padding:10px 11px;border-radius:6px;font-weight:600;font-size:11.5px;color:#adb5c2}
html[data-theme="nexo-trading"] .cp-nav a.active{background:#3861fb!important;color:#fff!important}
html[data-theme="nexo-trading"] .cp-nav a:hover:not(.active){background:#21262d!important;color:#f8fafc!important}
html[data-theme="nexo-trading"] .cp-user{color:#a0a8b5}
html[data-theme="nexo-trading"] .cp-logout{color:#f6465d}
html[data-theme="nexo-trading"] .cp-wrap{max-width:1600px;padding:23px 22px 54px}
html[data-theme="nexo-trading"] .cp-pagehead{margin-bottom:21px}
html[data-theme="nexo-trading"] .cp-pagehead h1{font-family:var(--cp-font-ui);font-size:clamp(21px,2vw,28px);font-weight:750;letter-spacing:-.04em}
html[data-theme="nexo-trading"] .cp-eyebrow{color:#f0b90b;font-size:10px;letter-spacing:.12em}
html[data-theme="nexo-trading"] .card,html[data-theme="nexo-trading"] .panel,html[data-theme="nexo-trading"] .cp-surface{
  background:#181a20!important;background-image:none!important;border:1px solid #2b313a!important;border-radius:11px!important;
  box-shadow:none!important;color:#eaecef!important
}
html[data-theme="nexo-trading"] .card h2,html[data-theme="nexo-trading"] .panel h2,html[data-theme="nexo-trading"] .card h3,html[data-theme="nexo-trading"] .panel h3{
  font-family:var(--cp-font-ui);font-weight:700;color:#f5f7f9;letter-spacing:-.015em
}
html[data-theme="nexo-trading"] .muted,html[data-theme="nexo-trading"] .small{color:#a0a8b5}
html[data-theme="nexo-trading"] .kpi,html[data-theme="nexo-trading"] .numeric{font-family:var(--cp-font-number);font-variant-numeric:tabular-nums;letter-spacing:-.035em}
html[data-theme="nexo-trading"] th{color:#a0a8b5!important;background:#1e2329;font-family:var(--cp-font-number);font-size:10px!important;text-transform:uppercase;letter-spacing:.045em}
html[data-theme="nexo-trading"] table{border-collapse:collapse;color:#eaecef}
html[data-theme="nexo-trading"] tr{border-color:#2b313a}
html[data-theme="nexo-trading"] td,html[data-theme="nexo-trading"] th{border-bottom:1px solid #2b313a;padding:11px 12px;vertical-align:middle}
html[data-theme="nexo-trading"] tbody tr:hover td{background:#20252d}
html[data-theme="nexo-trading"] input:not([type=checkbox]):not([type=radio]),html[data-theme="nexo-trading"] textarea,html[data-theme="nexo-trading"] select{
  background:#1e2329!important;background-image:none!important;border:1px solid #38404b!important;color:#eaecef!important;
  border-radius:7px!important;box-shadow:none!important;-webkit-text-fill-color:#eaecef!important;min-height:35px;font-family:var(--cp-font-ui)
}
html[data-theme="nexo-trading"] input::placeholder,html[data-theme="nexo-trading"] textarea::placeholder{color:#7e899a!important}
html[data-theme="nexo-trading"] input:focus,html[data-theme="nexo-trading"] select:focus,html[data-theme="nexo-trading"] textarea:focus{border-color:#3861fb!important;outline:2px solid rgba(56,97,251,.21)!important;outline-offset:0}
html[data-theme="nexo-trading"] input[type=checkbox],html[data-theme="nexo-trading"] input[type=radio]{accent-color:#3861fb}
html[data-theme="nexo-trading"] .btn,html[data-theme="nexo-trading"] button:not(.tab-btn):not(.ns-tab){
  background:#3861fb;color:white;border:1px solid #3861fb;border-radius:7px;font-size:12px;font-weight:650;
  padding:9px 13px;box-shadow:none;transition:filter .18s,background .18s
}
html[data-theme="nexo-trading"] .btn:hover,html[data-theme="nexo-trading"] button:hover:not(:disabled){filter:brightness(1.12)}
html[data-theme="nexo-trading"] button:disabled{opacity:.48;cursor:not-allowed}
html[data-theme="nexo-trading"] .btn.secondary,html[data-theme="nexo-trading"] button.secondary{background:#21262d;color:#eaecef;border-color:#38404b}
html[data-theme="nexo-trading"] .btn.green,html[data-theme="nexo-trading"] button.green{background:#0ecb81;color:#0b0e11;border-color:#0ecb81}
html[data-theme="nexo-trading"] .btn.red,html[data-theme="nexo-trading"] button.red{background:#3a1b29;color:#f6465d;border-color:#632d3b}
html[data-theme="nexo-trading"] .badge{background:#21262d;border-color:#38404b;color:#eaecef;border-radius:6px}
html[data-theme="nexo-trading"] .ok{background:#163a2c;color:#0ecb81}
html[data-theme="nexo-trading"] .bad{background:#3d2028;color:#f6465d}
html[data-theme="nexo-trading"] .warn{background:#3c3114;color:#f0b90b}
html[data-theme="nexo-trading"] .code,html[data-theme="nexo-trading"] pre{background:#0d1117!important;border:1px solid #2b313a!important;color:#cbd5e1;border-radius:7px}
html[data-theme="nexo-trading"] a:hover{color:#92b0ff}
html[data-theme="nexo-trading"] .cp-flash,html[data-theme="nexo-trading"] .flash{background:#21262d;color:#eaecef;border-color:#38404b;border-radius:7px}
html[data-theme="nexo-trading"] .cp-flash.success,html[data-theme="nexo-trading"] .flash.success{background:#15372e;color:#0ecb81}
html[data-theme="nexo-trading"] .cp-flash.error,html[data-theme="nexo-trading"] .flash.error{background:#3b202b;color:#ff8496}
html[data-theme="nexo-trading"] .cp-flash.info,html[data-theme="nexo-trading"] .flash.info{background:#1c2d50;color:#8eb0ff}
html[data-theme="nexo-trading"] label{color:#c0c7d2}
/* Login and fullscreen operations retain their server-side behavior. */
html[data-theme="nexo-trading"] .login-shell{background:#181a20;border:1px solid #2b313a;border-radius:14px;max-width:430px}
html[data-theme="nexo-trading"] .login-shell button{background:#3861fb}
/* Split Pix / trading edition */
.ns-ticker{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;padding:12px 16px;border:1px solid #2b313a;border-radius:10px;background:#181a20;margin-bottom:20px}
.ns-ticker-brand{font-size:12px;letter-spacing:.07em;font-weight:800;color:#f6f8fa;display:flex;align-items:center;gap:8px}
.ns-ticker-brand strong{color:#0ecb81}
.ns-dot{display:inline-block;width:8px;height:8px;background:#0ecb81;border-radius:50%;vertical-align:middle;margin-right:4px;box-shadow:0 0 0 3px rgba(14,203,129,.12)}
.ns-dot.warning{background:#f0b90b;box-shadow:0 0 0 3px rgba(240,185,11,.13)}
.ns-ticker-items{display:flex;flex-wrap:wrap;gap:15px;align-items:center}
.ns-ticker-items span{font:500 10px var(--cp-font-number);color:#929bab;white-space:nowrap}
.ns-ticker-items b{color:#eaecef}
.ns-ticker-items b.ok{color:#0ecb81;background:none}.ns-ticker-items b.warn{color:#f0b90b;background:none}
.ns-ticker-money{display:flex;align-items:center;gap:12px;font:500 11px var(--cp-font-number)}
.ns-ticker-money span{padding:7px 11px;border:1px solid #2b313a;border-radius:6px;color:#a0a8b5;background:#1e2329}
.ns-ticker-money b{color:#0ecb81;margin-left:7px}.ns-ticker-money .pending{color:#f0b90b}
.ns-trade-shell{min-width:0;display:block}
.ns-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #2b313a;margin:0 0 20px;padding:0 0 12px}
html[data-theme="nexo-trading"] .ns-tab{display:inline-flex;gap:9px;align-items:center;background:#21262d;border:1px solid #2b313a;color:#a0a8b5;border-radius:7px;padding:10px 15px;font-size:12px;font-weight:650;text-decoration:none;line-height:1.2}
html[data-theme="nexo-trading"] .ns-tab:hover{color:#fff;background:#303640}
html[data-theme="nexo-trading"] .ns-tab.is-active{background:#3861fb;border-color:#3861fb;color:#fff}
.ns-tab .ns-tab-icon{font-size:14px;opacity:.93}
.ns-view{animation:ns-appear .16s ease-out;min-width:0}
.ns-view[hidden]{display:none!important}
@keyframes ns-appear{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
.ns-intro{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:0 0 18px}
.ns-intro h2{margin:0 0 6px;font-size:17px}
.ns-intro p{margin:0;font-size:12px;color:#a0a8b5}
.ns-chips{display:flex;gap:7px;flex-wrap:wrap}
.ns-subheading{color:#eef1f5;font-size:14px;font-weight:700;margin:0 0 12px}
.ns-section-description{font-size:12px;color:#a0a8b5;line-height:1.65}
.ns-actions-panel{margin:16px 0 4px}
.ns-actions-panel .split-actions{margin:13px 0}
.ns-actions-panel .split-actions form{flex:1 1 175px;min-width:170px}
.ns-actions-panel .split-actions button{width:100%;justify-content:center;min-height:40px}
.ns-banner{display:flex;flex-wrap:wrap;gap:13px;justify-content:space-between;align-items:center;background:#181a20;border:1px solid #2b313a;border-radius:11px;padding:15px 18px;margin-bottom:16px}
.ns-banner h2{margin:0;font-size:15px}.ns-banner p{margin:6px 0 0;color:#a0a8b5;line-height:1.6;font-size:12px}
.ns-stat-badge{font:600 11px var(--cp-font-number);border:1px solid #375f4e;background:#173729;color:#0ecb81;padding:6px 10px;border-radius:6px}
.ns-stat-badge.off{border-color:#785f2c;background:#382d18;color:#f0b90b}
.ns-stat-badge.error{border-color:#753241;background:#43232b;color:#ff8496}
.ns-quiet{color:#87909f;font-size:11px;line-height:1.6}
html[data-theme="nexo-trading"] .ns-view .card{margin-bottom:15px}
html[data-theme="nexo-trading"] .split-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
html[data-theme="nexo-trading"] .split-kpis .card{padding:17px}
html[data-theme="nexo-trading"] .split-kpis .kpi{font:700 clamp(16px,2vw,23px) var(--cp-font-number);color:#0ecb81}
html[data-theme="nexo-trading"] .split-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 15px}
html[data-theme="nexo-trading"] .split-metric-card{padding:17px;min-width:0}
html[data-theme="nexo-trading"] .split-metric-label{font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.035em;color:#929bab;margin-bottom:10px}
html[data-theme="nexo-trading"] .split-metric-value{font:700 clamp(17px,1.9vw,25px) var(--cp-font-number);letter-spacing:-.05em;color:#eaecef;white-space:normal;overflow-wrap:anywhere}
html[data-theme="nexo-trading"] .split-metric-card:first-child .split-metric-value{color:#0ecb81}
html[data-theme="nexo-trading"] .split-metric-card:nth-child(2) .split-metric-value{color:#f0b90b}
html[data-theme="nexo-trading"] .split-metric-card:nth-child(3) .split-metric-value{color:#f6465d}
html[data-theme="nexo-trading"] .split-metric-hint{color:#a0a8b5;font-size:11px;margin-top:9px}
html[data-theme="nexo-trading"] .split-chart-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:15px;margin:0 0 15px}
html[data-theme="nexo-trading"] .split-chart-card{padding:20px}
html[data-theme="nexo-trading"] .split-chart-title{font-size:14px;font-weight:700;margin:0 0 7px;color:#f5f7fa}
html[data-theme="nexo-trading"] .split-chart-subtitle{font-size:11px;color:#929bab;margin:0 0 21px}
html[data-theme="nexo-trading"] .split-bars{height:170px;display:flex;align-items:end;gap:7px;border-bottom:1px solid #2b313a;padding:8px 4px 1px}
html[data-theme="nexo-trading"] .split-bar-slot{display:flex;flex:1;height:100%;min-width:0;align-items:center;justify-content:flex-end;flex-direction:column;gap:5px}
html[data-theme="nexo-trading"] .split-bar{display:block;width:min(100%,34px);min-height:2px;background:#0ecb81;border-radius:3px 3px 0 0;transition:filter .2s}
html[data-theme="nexo-trading"] .split-bar-slot:hover .split-bar{filter:brightness(1.2)}
html[data-theme="nexo-trading"] .split-bar-label{font:500 10px var(--cp-font-number);color:#9ca5b2;position:relative;bottom:-20px}
html[data-theme="nexo-trading"] .split-donut{width:164px;height:164px;border-radius:50%;margin:6px auto 19px;display:flex;justify-content:center;align-items:center;position:relative}
html[data-theme="nexo-trading"] .split-donut:after{content:'';position:absolute;inset:28px;background:#181a20;border-radius:50%}
html[data-theme="nexo-trading"] .split-donut-center{position:relative;z-index:1;color:#eaecef;text-align:center;font:700 24px var(--cp-font-number)}
html[data-theme="nexo-trading"] .split-donut-center small{display:block;color:#929bab;font:500 11px var(--cp-font-ui)}
html[data-theme="nexo-trading"] .split-legend{display:grid;gap:8px}
html[data-theme="nexo-trading"] .split-legend-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#a0a8b5}
html[data-theme="nexo-trading"] .split-legend-row b{font-family:var(--cp-font-number);color:#eef1f5}
html[data-theme="nexo-trading"] .split-legend-dot{width:8px;height:8px;border-radius:2px;margin-right:7px;display:inline-block}
html[data-theme="nexo-trading"] .split-pill{display:inline-flex;padding:5px 9px;border-radius:5px;font:650 10px var(--cp-font-number);color:#b6c0cb;background:#303742;white-space:nowrap}
html[data-theme="nexo-trading"] .split-pill.sent,html[data-theme="nexo-trading"] .split-pill.complete{background:#16382c;color:#0ecb81}
html[data-theme="nexo-trading"] .split-pill.pending,html[data-theme="nexo-trading"] .split-pill.queued,html[data-theme="nexo-trading"] .split-pill.review{background:#403317;color:#f0b90b}
html[data-theme="nexo-trading"] .split-pill.failed,html[data-theme="nexo-trading"] .split-pill.sending{background:#422128;color:#f6465d}
html[data-theme="nexo-trading"] .split-alloc-row{margin:14px 0}
html[data-theme="nexo-trading"] .split-alloc-top{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;margin:0 0 8px;color:#c7cbd3;font-size:11px}
html[data-theme="nexo-trading"] .split-alloc-top b:last-child{font-family:var(--cp-font-number);color:#0ecb81}
html[data-theme="nexo-trading"] .split-alloc-track{height:8px;border-radius:4px;overflow:hidden;background:#2b313a}
html[data-theme="nexo-trading"] .split-alloc-fill{height:100%;background:#3861fb;border-radius:3px}
html[data-theme="nexo-trading"] .split-note{font-size:12px;color:#a0a8b5;line-height:1.7;opacity:1}
html[data-theme="nexo-trading"] .split-muted{font-size:11px;color:#929bab;opacity:1}
html[data-theme="nexo-trading"] .split-code{font-family:var(--cp-font-number);overflow-wrap:anywhere;word-break:break-all}
html[data-theme="nexo-trading"] .split-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
html[data-theme="nexo-trading"] .split-actions form{display:inline-flex}
html[data-theme="nexo-trading"] .split-section{margin:0 0 16px}
html[data-theme="nexo-trading"] .split-section h2{font-size:15px;margin:0 0 12px}
html[data-theme="nexo-trading"] .split-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
html[data-theme="nexo-trading"] .split-form .span{grid-column:1/-1}
html[data-theme="nexo-trading"] .split-form input:not([type=checkbox]),html[data-theme="nexo-trading"] .split-form select{width:100%}
html[data-theme="nexo-trading"] .split-form label{font-size:11px;margin:2px 0 7px;color:#bac1cb}
html[data-theme="nexo-trading"] .split-scroll{overflow-x:auto}
html[data-theme="nexo-trading"] .split-scroll table{min-width:730px;width:100%}
html[data-theme="nexo-trading"] .split-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}
html[data-theme="nexo-trading"] .split-filters>div{min-width:135px;flex:1}
html[data-theme="nexo-trading"] .split-filters input,html[data-theme="nexo-trading"] .split-filters select{width:100%}
/* The previous version forced a WHITE accounts table. This version explicitly replaces it. */
html[data-theme="nexo-trading"] #contas-pix.card{background:#181a20!important;color:#eaecef!important;border-color:#2b313a!important;box-shadow:none!important}
html[data-theme="nexo-trading"] #contas-pix h2,html[data-theme="nexo-trading"] #contas-pix h3,
html[data-theme="nexo-trading"] #contas-pix p,html[data-theme="nexo-trading"] #contas-pix label,
html[data-theme="nexo-trading"] #contas-pix b,html[data-theme="nexo-trading"] #contas-pix strong,
html[data-theme="nexo-trading"] #contas-pix summary,html[data-theme="nexo-trading"] #contas-pix .split-account-pix{color:#eaecef!important;opacity:1!important}
html[data-theme="nexo-trading"] #contas-pix .split-muted,html[data-theme="nexo-trading"] #contas-pix .split-note{color:#9ca6b3!important}
html[data-theme="nexo-trading"] #contas-pix .split-pill{background:#2b313a!important;color:#bec7d3!important}
html[data-theme="nexo-trading"] #contas-pix .split-pill.sent{background:#17382e!important;color:#0ecb81!important}
html[data-theme="nexo-trading"] #contas-pix .split-pill.review{background:#463518!important;color:#f0b90b!important}
html[data-theme="nexo-trading"] .split-account-table-wrap{overflow:auto;width:100%;background:#181a20!important;border:1px solid #2b313a;border-radius:8px;margin-top:14px}
html[data-theme="nexo-trading"] #contas-pix .split-account-table{width:100%;min-width:1080px;background:#181a20!important;color:#eaecef!important}
html[data-theme="nexo-trading"] #contas-pix .split-account-table th{background:#1e2329!important;color:#a0a8b5!important;font-size:10px!important;text-align:left;padding:12px!important;border-color:#2b313a!important;font-family:var(--cp-font-number)}
html[data-theme="nexo-trading"] #contas-pix .split-account-table td{background:#181a20!important;color:#eaecef!important;padding:13px 12px!important;border-color:#2b313a!important;font-size:12px!important;vertical-align:middle}
html[data-theme="nexo-trading"] #contas-pix .split-account-table tr:hover td{background:#21262d!important}
html[data-theme="nexo-trading"] #contas-pix .split-account-table .split-account-pix{display:block;max-width:300px;overflow-wrap:anywhere;font:500 11px var(--cp-font-number);user-select:text}
html[data-theme="nexo-trading"] #contas-pix input:not([type=checkbox]),html[data-theme="nexo-trading"] #contas-pix select{background:#1e2329!important;color:#eaecef!important;-webkit-text-fill-color:#eaecef!important;border:1px solid #3b4350!important;border-radius:6px!important;font-size:12px;padding:9px!important}
html[data-theme="nexo-trading"] #contas-pix input[type=checkbox]{accent-color:#3861fb}
html[data-theme="nexo-trading"] #contas-pix button:not(:disabled){background:#3861fb!important;color:#fff!important;border:1px solid #3861fb!important;border-radius:6px!important;font-weight:650;padding:8px 11px!important}
html[data-theme="nexo-trading"] #contas-pix button:disabled{background:#2b313a!important;color:#828a98!important;cursor:not-allowed!important}
html[data-theme="nexo-trading"] #contas-pix .split-danger-button{background:#40252b!important;border-color:#6b2e3d!important;color:#f6465d!important}
html[data-theme="nexo-trading"] #contas-pix .split-account-action-details,html[data-theme="nexo-trading"] #contas-pix .split-account{background:#1e2329!important;border:1px solid #38404b!important;border-radius:8px;padding:12px;margin-top:7px}
html[data-theme="nexo-trading"] #contas-pix .split-account-action-details summary{cursor:pointer;font-weight:600;list-style:inside}
html[data-theme="nexo-trading"] #contas-pix .split-account-action-details[open]>summary{margin-bottom:14px}
html[data-theme="nexo-trading"] #contas-pix .split-account-editor{padding-top:14px;border-top:1px solid #38404b}
html[data-theme="nexo-trading"] #contas-pix .split-account-data{display:flex;gap:9px 18px;flex-wrap:wrap;margin-top:10px}
html[data-theme="nexo-trading"] #contas-pix .split-inline-percentage{display:flex;gap:6px;align-items:center;white-space:nowrap}
html[data-theme="nexo-trading"] #contas-pix .split-inline-percentage input{width:78px!important;text-align:right;font:700 12px var(--cp-font-number)!important;color:#0ecb81!important;-webkit-text-fill-color:#0ecb81!important}
html[data-theme="nexo-trading"] #contas-pix .split-inline-percentage button{padding:8px 9px!important}
html[data-theme="nexo-trading"] #contas-pix .split-inline-percentage input.split-invalid{border:2px solid #f6465d!important;outline:0!important}
html[data-theme="nexo-trading"] #contas-pix .split-total-warning{color:#f6465d!important;font-weight:700}
.ns-logs{background:#0d1117;border:1px solid #2b313a;border-radius:8px;max-height:380px;overflow:auto;padding:4px 10px}
.ns-logs .ns-logrow{display:grid;grid-template-columns:155px 85px 1fr;gap:8px;align-items:start;border-bottom:1px solid #222a34;padding:10px 4px;font:500 11px var(--cp-font-number);line-height:1.6}
.ns-logs .ns-logrow:last-child{border-bottom:0}
.ns-logtime{color:#8d96a4}.ns-loglevel{color:#0ecb81;text-transform:uppercase}.ns-loglevel.error{color:#f6465d}.ns-loglevel.warning{color:#f0b90b}.ns-logmessage{color:#bec7d3;overflow-wrap:anywhere}
.ns-copy-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
html[data-theme="nexo-trading"] .ns-view .split-account-table-wrap a,html[data-theme="nexo-trading"] .ns-view .split-scroll a{color:#82a0ff}
html[data-theme="nexo-trading"] .split-doc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
html[data-theme="nexo-trading"] .split-doc-item{padding:14px;background:#1e2329;border:1px solid #2b313a;border-radius:8px;overflow-wrap:anywhere}
html[data-theme="nexo-trading"] .split-doc-item small{display:block;color:#9da5b1;margin-bottom:8px}
html[data-theme="nexo-trading"] .split-doc-item b{font-family:var(--cp-font-number);font-size:12px;font-weight:600}
html[data-theme="nexo-trading"] .split-doc-table{width:100%;border-collapse:collapse;min-width:680px}
@media(max-width:1100px){html[data-theme="nexo-trading"] .split-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme="nexo-trading"] .split-chart-grid{grid-template-columns:1fr}}
@media(max-width:800px){html[data-theme="nexo-trading"] .split-kpis,html[data-theme="nexo-trading"] .split-form{grid-template-columns:1fr 1fr}html[data-theme="nexo-trading"] .split-doc-grid{grid-template-columns:1fr 1fr}.ns-logs .ns-logrow{grid-template-columns:1fr}}
@media(max-width:580px){html[data-theme="nexo-trading"] .split-kpis,html[data-theme="nexo-trading"] .split-form,html[data-theme="nexo-trading"] .split-metric-grid,html[data-theme="nexo-trading"] .split-doc-grid{grid-template-columns:1fr}html[data-theme="nexo-trading"] .cp-wrap{padding:15px 10px 35px}.ns-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ns-tab{justify-content:center}.ns-ticker{padding:12px}.ns-ticker-money{width:100%;flex-wrap:wrap}.ns-intro{align-items:flex-start;flex-direction:column}}
@media print{.ns-tabs,.ns-ticker,.cp-header,.cp-nav,.ns-actions-panel,.btn,.no-print{display:none!important}.ns-view[hidden]{display:block!important}html[data-theme="nexo-trading"] body{background:#fff!important;color:#111!important}}
/* The main operational dashboard loads two legacy stylesheets after layout_top. */
html[data-theme="nexo-trading"] .cp-dashboard{font-family:'Inter',system-ui,sans-serif}
html[data-theme="nexo-trading"] .cp-dash-top{margin-top:0!important;gap:15px}
html[data-theme="nexo-trading"] .cp-dashboard .cp-control{background:#21262d!important;color:#d8dde6!important;border:1px solid #39414e!important;border-radius:7px!important;font-size:11px;font-weight:600;box-shadow:none!important}
html[data-theme="nexo-trading"] .cp-dashboard .cp-control.primary{background:#3861fb!important;border-color:#3861fb!important;color:#fff!important}
html[data-theme="nexo-trading"] .cp-dashboard .cp-control.on{background:#203a36!important;color:#0ecb81!important}
html[data-theme="nexo-trading"] .cp-dashboard .cp-metric,html[data-theme="nexo-trading"] .cp-dashboard .cp-panel,html[data-theme="nexo-trading"] .cp-dashboard .cp-goal{border:1px solid #2b313a!important;border-radius:10px!important}
html[data-theme="nexo-trading"] .cp-dashboard .cp-metric-value,html[data-theme="nexo-trading"] .cp-dashboard .cp-clock strong,
html[data-theme="nexo-trading"] .cp-dashboard .cp-goal-head span,html[data-theme="nexo-trading"] .cp-dashboard .cp-goal-foot strong,
html[data-theme="nexo-trading"] .cp-dashboard .cp-donut-center strong,html[data-theme="nexo-trading"] .cp-dashboard .cp-tx-amt strong,
html[data-theme="nexo-trading"] .cp-dashboard .cp-mini-amount{font-family:'JetBrains Mono',Consolas,monospace!important}
html[data-theme="nexo-trading"] .cp-dashboard .cp-metric.emphasis .cp-metric-value{color:#0ecb81}
html[data-theme="nexo-trading"] .cp-dashboard .cp-goal-track,html[data-theme="nexo-trading"] .cp-dashboard .cp-funnel-track{height:9px;border-radius:4px;background:#2b313a}
html[data-theme="nexo-trading"] .cp-dashboard .cp-goal-fill,html[data-theme="nexo-trading"] .cp-dashboard .cp-funnel-fill{background:#3861fb;border-radius:4px}
html[data-theme="nexo-trading"] .cp-dashboard .cp-goal.done .cp-goal-fill{background:#0ecb81}
html[data-theme="nexo-trading"] .cp-dashboard .cp-metric-icon{border-radius:7px}
html[data-theme="nexo-trading"] .cp-dashboard .cp-metric-label,html[data-theme="nexo-trading"] .cp-dashboard .cp-goal-head b{letter-spacing:.06em}
html[data-theme="nexo-trading"] .cp-dashboard .cp-tx{border-radius:7px;background:#1e2329;border-color:#2b313a}
html[data-theme="nexo-trading"] .cp-dashboard .cp-bar{background:#0ecb81;border-radius:4px 4px 0 0}
html[data-theme="nexo-trading"] .cp-dashboard .cp-ticker-label{background:#263246;border-color:#34466d;border-radius:5px;color:#91acff}
html[data-theme="nexo-trading"] .cp-dashboard .cp-metric-sub,html[data-theme="nexo-trading"] .cp-dashboard .cp-mini-main small{color:#a0a8b5}

/* V6 — identidade Trade dos comandos, retornos AJAX e visualizacoes adicionais. */
html[data-theme="nexo-trading"] .ns-api-top{margin:0 0 18px!important;padding:19px 21px!important;background:#181a20!important}
html[data-theme="nexo-trading"] .ns-api-top-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:13px}
html[data-theme="nexo-trading"] .ns-api-top-head h2{font-family:'Inter',sans-serif!important;font-size:15px!important;color:#f5f7f9!important;margin:0 0 4px!important}
html[data-theme="nexo-trading"] .ns-api-top-head p{margin:0!important}
html[data-theme="nexo-trading"] .ns-api-caption{padding:5px 8px;border:1px solid #38404b;border-radius:5px;color:#8d99aa;font:600 10px var(--cp-font-number)}
html[data-theme="nexo-trading"] .ns-api-command-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html[data-theme="nexo-trading"] .ns-api-command-grid form{display:block;margin:0;min-width:0}
html[data-theme="nexo-trading"] .ns-api-command-grid button.ns-trade-button{
 width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
 min-height:45px!important;line-height:1.35!important;padding:10px 11px!important;text-align:center!important;
 border-radius:7px!important;font:650 12px 'Inter',system-ui,sans-serif!important;letter-spacing:0!important;
 box-shadow:none!important;text-shadow:none!important;text-transform:none!important;background-image:none!important;
 transition:background .18s,border-color .18s,box-shadow .18s,transform .18s!important;
}
html[data-theme="nexo-trading"] .ns-api-command-grid button.ns-btn-neutral{background:#21262d!important;border:1px solid #3b444f!important;color:#eaecef!important}
html[data-theme="nexo-trading"] .ns-api-command-grid button.ns-btn-neutral:hover:not(:disabled){background:#303742!important;border-color:#4b5664!important}
html[data-theme="nexo-trading"] .ns-api-command-grid button.ns-btn-blue{background:#3861fb!important;border:1px solid #3861fb!important;color:#fff!important}
html[data-theme="nexo-trading"] .ns-api-command-grid button.ns-btn-blue:hover:not(:disabled){background:#2c50dc!important;border-color:#5e7dff!important}
html[data-theme="nexo-trading"] .ns-api-command-grid button.ns-btn-green{background:#0ecb81!important;border:1px solid #0ecb81!important;color:#09160f!important;font-weight:750!important}
html[data-theme="nexo-trading"] .ns-api-command-grid button.ns-btn-green:hover:not(:disabled){background:#14df90!important;border-color:#45edaa!important}
html[data-theme="nexo-trading"] .ns-api-command-grid button:disabled{opacity:.53!important;filter:none!important;cursor:wait!important}
html[data-theme="nexo-trading"] .ns-api-command-grid button:focus-visible{outline:2px solid #9bafff!important;outline-offset:3px!important}
html[data-theme="nexo-trading"] .ns-api-command-grid .ns-btn-symbol{font-family:var(--cp-font-number);font-size:16px;line-height:1}
html[data-theme="nexo-trading"] .ns-api-command-grid button.is-loading{cursor:wait!important}
html[data-theme="nexo-trading"] .ns-api-command-grid button.is-loading:after{content:' ';width:11px;height:11px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ns-spinner .7s linear infinite;flex:0 0 11px}
@keyframes ns-spinner{to{transform:rotate(360deg)}}
html[data-theme="nexo-trading"] .ns-api-feedback{margin-top:14px;border-radius:8px;border:1px solid #2c4b40;background:#11241d;color:#cceedd;padding:14px 16px;max-height:450px;overflow:auto}
html[data-theme="nexo-trading"] .ns-api-feedback[hidden]{display:none!important}
html[data-theme="nexo-trading"] .ns-api-feedback[data-state="error"]{background:#291b23;border-color:#753748;color:#ffb9c4}
html[data-theme="nexo-trading"] .ns-api-feedback[data-state="loading"]{background:#1b2745;border-color:#3e5fa4;color:#cfdaff}
html[data-theme="nexo-trading"] .ns-api-feedback-head{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:12px}
html[data-theme="nexo-trading"] .ns-api-feedback-head b{color:inherit}
html[data-theme="nexo-trading"] #pix-api-when{color:#879cad;font:500 11px var(--cp-font-number)}
html[data-theme="nexo-trading"] #pix-api-message{font-size:12px;margin:10px 0!important;color:inherit!important;line-height:1.6}
html[data-theme="nexo-trading"] .ns-api-result-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid rgba(133,162,160,.21);padding:9px 0;font-size:11px}
html[data-theme="nexo-trading"] .ns-api-result-row b{font:600 11px var(--cp-font-number);color:inherit;text-align:right}
html[data-theme="nexo-trading"] .ns-api-batch-scroll{max-height:235px;overflow:auto;border:1px solid #384a46;border-radius:5px;margin-top:8px}
html[data-theme="nexo-trading"] .ns-api-batch-table{width:100%;min-width:600px;border-collapse:collapse}
html[data-theme="nexo-trading"] .ns-api-batch-table td,html[data-theme="nexo-trading"] .ns-api-batch-table th{padding:8px 9px!important;background:transparent!important;border-bottom:1px solid rgba(133,162,160,.18);font-size:11px}
html[data-theme="nexo-trading"] .ns-api-batch-table th{background:#182824!important;color:#a3bec0!important}
html[data-theme="nexo-trading"] .ns-api-batch-table a{color:#84a5ff!important}
html[data-theme="nexo-trading"] .ns-api-batch-table .ns-tx-sent{color:#0ecb81!important;font-weight:700}
html[data-theme="nexo-trading"] .ns-api-batch-table .ns-tx-failed,html[data-theme="nexo-trading"] .ns-api-batch-table .ns-tx-cancelled{color:#f6465d!important;font-weight:700}
html[data-theme="nexo-trading"] .ns-api-batch-table .ns-tx-queued,html[data-theme="nexo-trading"] .ns-api-batch-table .ns-tx-review,html[data-theme="nexo-trading"] .ns-api-batch-table .ns-tx-pending{color:#f0b90b!important}
html[data-theme="nexo-trading"] .ns-api-batch-hint{font-size:11px;color:#f0b90b!important;margin:10px 0 0}
html[data-theme="nexo-trading"] .ns-api-hint{font-size:11px;color:#8491a4!important;line-height:1.6;margin:11px 0 0!important}
html[data-theme="nexo-trading"] .ns-hour-chart{display:flex;gap:5px;align-items:end;height:190px;padding:10px 0 19px;border-bottom:1px solid #39414b;margin-top:10px}
html[data-theme="nexo-trading"] .ns-hour-group{min-width:0;flex:1;height:100%;display:flex;position:relative;justify-content:end;flex-direction:column;cursor:help}
html[data-theme="nexo-trading"] .ns-hour-fill{width:100%;min-height:0;background:linear-gradient(0deg,#0c8e63,#0ecb81);border-radius:3px 3px 0 0;transition:filter .2s}
html[data-theme="nexo-trading"] .ns-hour-group:hover .ns-hour-fill{filter:brightness(1.35)}
html[data-theme="nexo-trading"] .ns-hour-tick{position:absolute;left:0;bottom:-21px;white-space:nowrap;color:#8390a0;font:500 10px var(--cp-font-number)}
html[data-theme="nexo-trading"] .ns-top-accounts{display:flex;flex-direction:column;gap:14px;margin-top:17px;min-height:175px}
html[data-theme="nexo-trading"] .ns-top-account-label{display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:11px;margin-bottom:6px}
html[data-theme="nexo-trading"] .ns-top-account-label span{color:#dce2e8;overflow-wrap:anywhere}
html[data-theme="nexo-trading"] .ns-top-account-label em{font:500 10px var(--cp-font-number);color:#8e9dac;font-style:normal;margin-right:5px}
html[data-theme="nexo-trading"] .ns-top-account-label b{font:600 11px var(--cp-font-number);color:#0ecb81;white-space:nowrap}
html[data-theme="nexo-trading"] .ns-top-track{height:7px;background:#2b313a;border-radius:5px;overflow:hidden}
html[data-theme="nexo-trading"] .ns-top-fill{height:100%;background:#3861fb;border-radius:5px}
/* Botões secundários do Split Pix sempre seguem o Trade, ignorando resíduos de central-ui.css. */
html[data-theme="nexo-trading"] .ns-trade-shell .btn,html[data-theme="nexo-trading"] .ns-trade-shell button:not(.ns-trade-button){
 font-family:'Inter',system-ui,sans-serif!important;border-radius:7px!important;box-shadow:none!important;text-shadow:none!important;background-image:none!important;
 font-weight:650!important;font-size:12px!important;line-height:1.3!important;
}
html[data-theme="nexo-trading"] .ns-trade-shell .btn.secondary,html[data-theme="nexo-trading"] .ns-trade-shell button.secondary{background:#21262d!important;color:#eaecef!important;border:1px solid #424b57!important}
html[data-theme="nexo-trading"] .ns-trade-shell .btn.secondary:hover:not(:disabled),html[data-theme="nexo-trading"] .ns-trade-shell button.secondary:hover:not(:disabled){background:#303640!important;color:#fff!important}
html[data-theme="nexo-trading"] .ns-trade-shell .btn.red,html[data-theme="nexo-trading"] .ns-trade-shell button.red{background:#40232d!important;color:#ff7188!important;border-color:#7b3445!important}
html[data-theme="nexo-trading"] .ns-trade-shell .btn.green,html[data-theme="nexo-trading"] .ns-trade-shell button.green{background:#0ecb81!important;color:#0b0e11!important;border-color:#0ecb81!important}
html[data-theme="nexo-trading"] #contas-pix button.split-danger-button{background:#40232d!important;color:#ff7188!important;border-color:#7b3445!important}
@media(max-width:1180px){html[data-theme="nexo-trading"] .ns-api-command-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html[data-theme="nexo-trading"] .ns-api-command-grid{grid-template-columns:1fr}html[data-theme="nexo-trading"] .ns-api-top{padding:14px!important}.ns-hour-chart{gap:2px!important}}

/* Uniformiza links-botões também nas telas gerais do hub. */
html[data-theme="nexo-trading"] a.btn,
html[data-theme="nexo-trading"] .cp-wrap button[type="submit"],
html[data-theme="nexo-trading"] .cp-wrap button[type="button"]{
 font-family:'Inter',system-ui,-apple-system,sans-serif!important;font-weight:650!important;
 border-radius:7px!important;box-shadow:none!important;text-shadow:none!important;background-image:none!important;
 text-transform:none!important;letter-spacing:0!important;
}
html[data-theme="nexo-trading"] a.btn:not(.secondary):not(.green):not(.red){background:#3861fb!important;border:1px solid #3861fb!important;color:#fff!important}
html[data-theme="nexo-trading"] a.btn.secondary{background:#21262d!important;border:1px solid #38404b!important;color:#eaecef!important}
html[data-theme="nexo-trading"] a.btn.secondary:hover{background:#303640!important}
html[data-theme="nexo-trading"] a.btn.green{background:#0ecb81!important;border:1px solid #0ecb81!important;color:#0b0e11!important}
html[data-theme="nexo-trading"] a.btn.red{background:#40232d!important;border:1px solid #7b3445!important;color:#ff7188!important}

/* NEXO V7 - Editor de finalidade inline, sem herança do tema legado. */
html[data-theme="nexo-trading"] #contas-pix .split-inline-purpose{
 display:flex!important;align-items:center!important;gap:7px!important;min-width:215px!important;
}
html[data-theme="nexo-trading"] #contas-pix .split-inline-purpose input[name="label"]{
 width:170px!important;min-width:125px!important;max-width:230px!important;
 background:#1e2329!important;color:#eaecef!important;-webkit-text-fill-color:#eaecef!important;
 padding:8px 9px!important;border:1px solid #38404b!important;
 border-radius:6px!important;font:500 12px 'Inter',sans-serif!important;
}
html[data-theme="nexo-trading"] #contas-pix .split-inline-purpose input.split-invalid{
 border:2px solid #f6465d!important;
}
html[data-theme="nexo-trading"] #contas-pix .split-inline-purpose button{
 white-space:nowrap!important;padding:8px 10px!important;
 background:#3861fb!important;border:1px solid #3861fb!important;color:#fff!important;
}
html[data-theme="nexo-trading"] #contas-pix .split-inline-purpose button:disabled{
 background:#2b313a!important;border-color:#2b313a!important;color:#87909f!important;
}
html[data-theme="nexo-trading"] .split-unlimited-note{
 display:flex;flex-direction:column;gap:7px;justify-content:center;
 padding:12px 14px;border:1px solid #335243;border-radius:8px;background:#142721;
}
html[data-theme="nexo-trading"] .split-unlimited-note strong{color:#0ecb81;font-size:12px}
html[data-theme="nexo-trading"] .split-unlimited-note span{color:#b1c7bd;font-size:11px;line-height:1.5}

/* NEXO V8: saldos gerenciais e lançamentos manuais, sem descaracterizar Trading Edition. */
html[data-theme="nexo-trading"] .ns-ledger-total{font:700 24px var(--cp-font-number);color:#0ecb81}
html[data-theme="nexo-trading"] .ns-account-balance{font:700 13px var(--cp-font-number);color:#0ecb81;white-space:nowrap}
html[data-theme="nexo-trading"] .ns-account-balance.ns-neg,html[data-theme="nexo-trading"] .ns-neg{color:#f6465d!important}
html[data-theme="nexo-trading"] .ns-credit{color:#0ecb81}
html[data-theme="nexo-trading"] .ns-ledger-table{width:100%;min-width:900px;border-collapse:collapse}
html[data-theme="nexo-trading"] .ns-ledger-table th{font:650 10px var(--cp-font-number);letter-spacing:.02em;text-transform:uppercase;padding:12px 10px;background:#1e2329!important;color:#a0a8b5!important;border-bottom:1px solid #323947}
html[data-theme="nexo-trading"] .ns-ledger-table td{background:#181a20!important;color:#d5dce6!important;font-size:12px;padding:13px 10px;border-bottom:1px solid #2b313a;vertical-align:middle}
html[data-theme="nexo-trading"] .ns-ledger-table tr:hover td{background:#21262d!important}
html[data-theme="nexo-trading"] .ns-ledger-forms{align-items:start}
html[data-theme="nexo-trading"] .ns-ledger-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
html[data-theme="nexo-trading"] .ns-ledger-form label{display:block;color:#bbc4d0;font-size:11px;font-weight:600;margin-bottom:6px}
html[data-theme="nexo-trading"] .ns-ledger-form input,html[data-theme="nexo-trading"] .ns-ledger-form select{background:#1e2329!important;color:#eaecef!important;border:1px solid #424b57!important;border-radius:6px!important;width:100%;padding:10px!important;font-size:12px;min-width:0}
html[data-theme="nexo-trading"] .ns-ledger-form input:focus,html[data-theme="nexo-trading"] .ns-ledger-form select:focus{border-color:#3861fb!important;outline:1px solid #3861fb}
html[data-theme="nexo-trading"] .ns-ledger-form>button{grid-column:1/-1}
html[data-theme="nexo-trading"] .ns-ledger-summary-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px 18px;margin-top:15px}
html[data-theme="nexo-trading"] .ns-ledger-summary-head{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;color:#bac4d0;margin-bottom:6px}
html[data-theme="nexo-trading"] .ns-ledger-summary-head b{font-family:var(--cp-font-number);color:#0ecb81;font-size:11px}
html[data-theme="nexo-trading"] .ns-ledger-summary-track{height:7px;border-radius:8px;background:#2b313a;overflow:hidden}
html[data-theme="nexo-trading"] .ns-ledger-summary-fill{height:100%;background:#0ecb81;border-radius:8px;min-width:0}
html[data-theme="nexo-trading"] .ns-ledger-summary-fill.negative{background:#f6465d}
html[data-theme="nexo-trading"] .ns-ledger-kpis .split-metric-card:nth-child(3) .split-metric-value{color:#f0b90b}
@media(max-width:800px){html[data-theme="nexo-trading"] .ns-ledger-form{grid-template-columns:1fr}}
