/* NEXAS_FINANCE_DASHBOARD_V3 */
.admin-command.nx-finance-command{
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;padding:8px 0 24px;margin:0;
  background:none;border:0;border-radius:0;box-shadow:none;
}
.nx-finance-command:before,.nx-finance-command:after{display:none!important}
.nx-finance-title .eyebrow{
  border:0;background:none;padding:0;font-size:10px;
  letter-spacing:.16em;color:#6baaff;
}
.nx-finance-command h1{
  font-size:clamp(25px,3vw,36px);line-height:1.2;
  letter-spacing:-.045em;margin:9px 0 0;font-weight:650;
}
.nx-finance-toolbar{display:flex;align-items:center;gap:16px}
.nx-finance-connection{
  display:inline-flex;align-items:center;gap:8px;
  font-size:11px;opacity:.7;white-space:nowrap;
}
.nx-finance-connection:before{
  content:"";width:6px;height:6px;border-radius:50%;background:#7caeef;
}
.nx-finance-command button{
  display:inline-flex;align-items:center;gap:9px;
  border-radius:12px;padding:10px 15px;font-size:12px;
  background:rgba(135,157,186,.06);border:1px solid rgba(135,157,186,.2);
}
.nx-finance-command[aria-busy=true] button svg{animation:nx-finance-spin 1s linear infinite}
@keyframes nx-finance-spin{to{transform:rotate(360deg)}}

.nx-finance-panel{
  margin:0 0 24px;padding:0;
  border:1px solid rgba(135,157,186,.18);border-radius:22px;
  overflow:hidden;background:rgba(135,157,186,.025);
  box-shadow:0 16px 48px rgba(0,0,0,.06);
}
.nx-finance-main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.nx-finance-card{
  min-width:0;padding:30px 28px 29px;position:relative;
}
.nx-finance-card+.nx-finance-card{border-left:1px solid rgba(135,157,186,.15)}
.nx-finance-card>span,.nx-finance-day article>span{
  display:block;font-size:12px;font-weight:500;opacity:.7;
}
.nx-finance-card strong{
  display:block;margin-top:19px;font-size:clamp(23px,2.7vw,42px);
  font-weight:620;line-height:1.12;letter-spacing:-.025em;
}
.nx-finance-profit{
  background:linear-gradient(135deg,rgba(38,120,227,.11),rgba(38,120,227,.025));
}
.nx-finance-profit:before{
  content:"";position:absolute;left:28px;right:28px;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(94,161,255,.65),transparent);
}
.nx-finance-day{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  border-top:1px solid rgba(135,157,186,.15);
}
.nx-finance-day article{min-width:0;padding:20px 28px 22px}
.nx-finance-day article+article{border-left:1px solid rgba(135,157,186,.15)}
.nx-finance-day strong{
  display:block;margin-top:11px;font-size:25px;line-height:1.12;font-weight:600;
}
.nx-finance-status{
  font-size:12px;line-height:1.5;padding:12px 28px;margin:0;
  border-top:1px solid rgba(135,157,186,.15);
}
.nx-finance-status:empty{display:none}
.nx-finance-panel[data-provider-stale=true] [data-finance-value=provider]{opacity:.5}

.nx-roll-number{font-variant-numeric:tabular-nums;white-space:nowrap}
.nx-number-visual{display:inline-flex;align-items:baseline;max-width:100%}
.nx-currency{font-size:.43em;font-weight:500;margin-right:.45em;opacity:.68;letter-spacing:0}
.nx-number-separator{display:inline-block;letter-spacing:0}
.nx-digit{
  display:inline-block;width:.64em;height:1.12em;line-height:1.12em;
  overflow:hidden;vertical-align:baseline;letter-spacing:0;
}
.nx-digit-reel{display:block;line-height:1.12em;will-change:transform}
.nx-digit-reel>span{display:block;height:1.12em;line-height:1.12em;text-align:center}
.nx-digit-fraction{font-size:.7em}
.admin-command.nx-finance-command~.admin-kpis.premium{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;
}
.nx-summary-card{
  padding:21px 23px;border:1px solid rgba(135,157,186,.15);
  border-radius:16px;background:rgba(135,157,186,.025);min-width:0;
}
.nx-summary-card>span{display:block;font-size:12px;opacity:.72}
.nx-summary-card>strong{display:block;margin:12px 0 8px;font-size:25px;line-height:1.12}
.nx-summary-card>small{display:block;font-size:11px;opacity:.55}
.admin-command.nx-finance-command~.admin-ops-grid{grid-template-columns:minmax(0,1fr)}
.admin-command.nx-finance-command~.admin-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){
 .nx-finance-card{padding:25px 20px}
 .nx-finance-card strong{font-size:28px}
}
@media(max-width:700px){
 .admin-command.nx-finance-command{align-items:flex-start;gap:14px}
 .nx-finance-toolbar{gap:9px}
 .nx-finance-connection{font-size:10px}
 .nx-finance-command button{padding:9px 11px}
 .nx-finance-command button>span{display:none}
 .nx-finance-main{grid-template-columns:1fr}
 .nx-finance-card{padding:24px}
 .nx-finance-card+.nx-finance-card{border-left:0;border-top:1px solid rgba(135,157,186,.15)}
 .nx-finance-card strong{font-size:35px;margin-top:14px}
 .nx-finance-day article{padding:18px 16px}
 .nx-finance-day strong{font-size:22px}
 .nx-finance-day article>span{font-size:11px}
 .admin-command.nx-finance-command~.admin-kpis.premium{grid-template-columns:1fr}
 .admin-command.nx-finance-command~.admin-quick-actions{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 .nx-finance-command[aria-busy=true] button svg{animation:none}
}


/* NEXAS_FINANCE_REFERENCE_V4 */
html.nx-finance-screen,html.nx-finance-screen body,html.nx-finance-screen #app{
 background:#1b1c1f!important
}
.nx-finance-surface{
 --nx-panel:#111315;--nx-line:rgba(171,187,210,.09);
 background:#1b1c1f!important;color:#f1f3f8
}
.nx-finance-command.admin-command{
 padding:0!important;margin:0 0 22px!important;min-height:0!important;
 background:none!important;border:0!important;box-shadow:none!important;
 display:flex;justify-content:space-between;align-items:center;gap:20px
}
.nx-finance-command h1{
 font-size:27px!important;font-weight:650!important;letter-spacing:-.04em!important;
 margin:7px 0 0!important;line-height:1.2!important
}
.nx-finance-title .eyebrow{
 font-size:10px!important;letter-spacing:.12em!important;color:#699cda!important
}
.nx-finance-toolbar{gap:14px}
.nx-finance-command button{
 background:#121518!important;border-color:var(--nx-line)!important;
 border-radius:10px!important;padding:10px 14px!important
}
.nx-finance-panel{
 background:none!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;overflow:visible!important;margin:0 0 18px!important
}
.nx-finance-main{gap:15px}
.nx-finance-card,.nx-finance-day article,.nx-summary-card{
 background:radial-gradient(ellipse at 100% 0,rgba(21,136,255,.045),transparent 64%),#111315!important;
 border:1px solid var(--nx-line)!important;border-bottom:3px solid #1689ff!important;
 border-radius:13px!important;
 box-shadow:0 3px 14px rgba(0,0,0,.12),0 4px 16px rgba(21,136,255,.025)!important
}
.nx-finance-card{padding:23px 22px!important;min-height:125px;position:relative}
.nx-finance-card>span,.nx-finance-day article>span,.nx-summary-card>span{
 font-size:12px!important;color:#aab0bb!important;opacity:1!important;font-weight:500!important
}
.nx-finance-card strong{
 font-size:30px!important;margin-top:16px!important;
 line-height:1.12!important;font-weight:650!important
}
.nx-finance-card:before,.nx-finance-profit:before{display:none!important}
.nx-finance-profit{
 background:radial-gradient(ellipse at 100% 0,rgba(21,136,255,.085),transparent 70%),#111315!important
}
.nx-finance-card:after{
 content:"";position:absolute;right:20px;top:23px;width:37px;height:37px;border-radius:10px;
 background:rgba(21,136,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%231589ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 8V6a2 2 0 0 0-2-2H6a3 3 0 0 0 0 6h14v9a1 1 0 0 1-1 1H6a3 3 0 0 1-3-3V7'/%3E%3Cpath d='M20 12h-5v4h5M16 14h.01'/%3E%3C/svg%3E") center/21px no-repeat
}
.nx-finance-day{gap:15px;border:0!important;margin-top:15px}
.nx-finance-day article{padding:18px 22px!important;min-height:99px}
.nx-finance-day strong{font-size:25px!important;margin-top:12px!important}
.nx-finance-status{
 background:#111315;border:1px solid var(--nx-line);
 border-radius:10px;margin-top:12px!important;color:#bec7d6
}
.nx-currency{font-size:.64em!important;opacity:.85!important;margin-right:.35em!important}
.nx-digit-fraction{font-size:.82em!important}
.nx-roll-number{font-weight:650!important;letter-spacing:-.025em!important}
.nx-finance-command~.admin-kpis.premium{gap:15px!important;margin:0 0 18px!important}
.nx-summary-card{
 padding:19px 22px!important;border-bottom-color:rgba(21,136,255,.65)!important;
 min-height:113px
}
.nx-summary-card>strong{font-size:25px!important;margin:13px 0 8px!important}
.nx-summary-card>small{font-size:11px!important;color:#8e97a7!important;opacity:1!important}
.nx-finance-command~.admin-ops-grid{
 display:grid!important;grid-template-columns:minmax(0,2.1fr) minmax(260px,1fr)!important;
 gap:16px!important;align-items:stretch
}
.nx-finance-surface .admin-flow,.nx-finance-actions,.nx-finance-surface .admin-recent{
 background:#111315!important;border:1px solid var(--nx-line)!important;
 border-radius:14px!important;box-shadow:0 5px 22px rgba(0,0,0,.12)!important;min-width:0
}
.nx-finance-surface .admin-flow{padding:22px!important}
.nx-finance-surface .admin-flow>header,
.nx-finance-surface .admin-flow>.flow-foot{display:none!important}
.nx-finance-actions{padding:22px!important}
.nx-finance-actions>header{margin-bottom:22px!important}
.nx-finance-actions h3{font-size:17px;margin:0 0 7px}
.nx-finance-actions p{font-size:12px;color:#8e97a7;margin:0}
.nx-finance-actions .admin-quick-actions{
 display:flex!important;flex-direction:column!important;gap:9px!important;margin:0!important
}
.nx-finance-actions .admin-quick-actions button{
 background:#171a1d!important;border:1px solid var(--nx-line)!important;
 border-radius:10px!important;padding:16px 13px!important;
 box-shadow:none!important;text-align:left
}
.nx-finance-actions .admin-quick-actions button:hover{
 border-color:rgba(21,136,255,.3)!important;background:#191e25!important
}
.nx-finance-surface .admin-status-strip{gap:13px}
.nx-finance-surface .admin-status-strip article{
 background:#111315!important;border:1px solid var(--nx-line)!important;
 border-radius:12px!important
}
.nx-flow-heading{
 display:flex!important;align-items:center;justify-content:space-between;
 gap:14px;margin-bottom:21px
}
.nx-flow-heading h3{font-size:18px;letter-spacing:-.025em;margin:7px 0 0}
.nx-flow-heading .eyebrow{
 font-size:10px;color:#7193bf;letter-spacing:.1em;background:none;padding:0;border:0
}
.nx-flow-periods{display:flex;gap:3px;background:#1a1d21;padding:4px;border-radius:9px}
.nx-flow-periods button{
 border:0;background:none;color:#9aa5b5;font-size:11px;
 padding:7px 9px;border-radius:6px;white-space:nowrap;cursor:pointer
}
.nx-flow-periods button[aria-pressed=true]{
 background:#172c44;color:#77b6ff;box-shadow:inset 0 0 0 1px rgba(21,136,255,.2)
}
.nx-flow-totals{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:10px;margin-bottom:25px
}
.nx-flow-totals article{
 background:#171a1d;border:1px solid var(--nx-line);
 padding:13px 12px;border-radius:9px;min-width:0
}
.nx-flow-totals article>span{
 font-size:11px;color:#a2acba;display:flex;align-items:center;gap:6px
}
.nx-flow-totals i{width:6px;height:6px;border-radius:2px}
.nx-flow-totals b{display:block;font-size:17px;margin:8px 0 6px;white-space:nowrap}
.nx-flow-totals small{font-size:10px;color:#7f8a9b}
.nx-series-incoming{background:#1689ff}
.nx-series-outgoing{background:#385a83}
.nx-series-med{background:#8a91b6}
.nx-flow-scroll{
 overflow-x:auto;scrollbar-width:thin;scrollbar-color:#343d49 transparent;padding-top:8px
}
.nx-flow-canvas{height:260px;position:relative}
.nx-flow-axis{
 position:absolute;inset:4px auto 32px 0;width:45px;font-size:10px;color:#8490a2
}
.nx-flow-axis>span{
 position:absolute;right:7px;transform:translateY(50%);white-space:nowrap
}
.nx-flow-axis>small{position:absolute;left:0;top:-19px;font-size:9px;opacity:.7}
.nx-flow-plot{position:absolute;inset:4px 2px 32px 50px}
.nx-flow-grid{position:absolute;inset:0}
.nx-flow-grid>i{
 position:absolute;left:0;right:0;border-top:1px dashed rgba(145,165,194,.14)
}
.nx-flow-columns{position:absolute;inset:0;display:flex;gap:5px;align-items:stretch}
.nx-flow-column{
 position:relative;flex:1;min-width:0;border:0!important;
 background:none!important;padding:0 2px!important;cursor:pointer;border-radius:6px
}
.nx-flow-column:focus-visible{outline:1px solid #67acff;outline-offset:3px}
.nx-flow-column.is-selected{background:rgba(70,140,230,.07)!important}
.nx-flow-bars{display:flex;align-items:flex-end;gap:2px;position:absolute;inset:0 3px}
.nx-flow-bars>span{
 flex:1;min-width:2px;border-radius:5px 5px 2px 2px;
 transition:height .55s ease;box-shadow:0 0 12px rgba(21,136,255,.04)
}
.nx-flow-column>small{
 position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);
 font-size:9px;color:#8d99ab;white-space:nowrap
}
.nx-flow-readout{
 font-size:11px;line-height:1.6;color:#a7b4c7;min-height:36px;
 margin-top:14px;padding:9px 11px;background:#171a1d;border-radius:8px
}
.nx-flow-data{margin-top:12px;font-size:11px;color:#8e9caf}
.nx-flow-data summary{cursor:pointer;padding:7px 0;color:#6ea9ef}
.nx-flow-data>div{overflow:auto}
.nx-flow-data table{width:100%;border-collapse:collapse;white-space:nowrap}
.nx-flow-data th,.nx-flow-data td{
 padding:9px 10px;text-align:left;border-bottom:1px solid var(--nx-line);font-size:11px
}
@media(max-width:1100px){
 .nx-finance-command~.admin-ops-grid{grid-template-columns:minmax(0,1fr)!important}
 .nx-finance-actions .admin-quick-actions{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important
 }
}
@media(max-width:700px){
 .nx-finance-command h1{font-size:23px!important}
 .nx-finance-main{grid-template-columns:1fr!important}
 .nx-finance-card{min-height:112px;padding:21px!important}
 .nx-finance-card strong{font-size:30px!important}
 .nx-finance-day{grid-template-columns:1fr!important}
 .nx-finance-day article{padding:18px 21px!important}
 .nx-flow-heading{align-items:flex-start;flex-direction:column}
 .nx-flow-totals{gap:6px}.nx-flow-totals article{padding:10px 7px}
 .nx-flow-totals b{font-size:13px}.nx-flow-totals small{font-size:9px}
 .nx-finance-actions .admin-quick-actions{display:flex!important}
 .nx-finance-surface .admin-flow{padding:17px!important}
}

/* NEXAS_CHART_CLEAN_V5 */
html.nx-finance-screen{
  --nx5-page:#151719;--nx5-panel:#101214;--nx5-soft:#191c20;
  --nx5-text:#edf2fa;--nx5-muted:#a0adbf;--nx5-border:rgba(150,170,200,.13);
}
html.nx-finance-screen.nx-finance-light{
  --nx5-page:#f5f7fb;--nx5-panel:#ffffff;--nx5-soft:#f1f5fa;
  --nx5-text:#172235;--nx5-muted:#617087;--nx5-border:#e2e8f1;
}
html.nx-finance-screen,
html.nx-finance-screen body,
html.nx-finance-screen #app,
html.nx-finance-screen .nx-finance-surface,
html.nx-finance-screen .nx-finance-command{
  background:var(--nx5-page)!important;
}
html.nx-finance-screen .nx-finance-surface{
  color:var(--nx5-text)!important;
}
html.nx-finance-screen .nx-finance-surface .panel,
html.nx-finance-screen .nx-finance-main article,
html.nx-finance-screen .nx-finance-day article,
html.nx-finance-screen .nx-summary-card{
  background:var(--nx5-panel)!important;
  color:var(--nx5-text)!important;
  border-color:var(--nx5-border)!important;
  box-shadow:0 6px 24px rgba(0,0,0,.035)!important;
}
html.nx-finance-screen .nx-finance-surface h1,
html.nx-finance-screen .nx-finance-surface h3,
html.nx-finance-screen .nx-finance-surface strong,
html.nx-finance-screen .nx-finance-surface b,
html.nx-finance-screen .nx-finance-surface .nx-roll-number{
  color:var(--nx5-text)!important;
}
html.nx-finance-screen .nx-finance-surface p,
html.nx-finance-screen .nx-finance-surface small,
html.nx-finance-screen .nx-finance-main article>span,
html.nx-finance-screen .nx-finance-day article>span,
html.nx-finance-screen .nx-summary-card>span{
  color:var(--nx5-muted)!important;
}
html.nx-finance-screen .nx-finance-actions .admin-quick-actions button,
html.nx-finance-screen .nx-finance-toolbar button{
  background:var(--nx5-soft)!important;
  color:var(--nx5-text)!important;
  border-color:var(--nx5-border)!important;
}
.nx5-chart{padding:2px;color:var(--nx5-text);font-variant-numeric:tabular-nums}
.nx5-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}
.nx5-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#479dff}
.nx5-head h3{font-size:19px!important;margin:8px 0 0!important;font-weight:650}
.nx5-period{display:flex;gap:4px;background:var(--nx5-soft);padding:4px;border:1px solid var(--nx5-border);border-radius:11px}
.nx5-period button{font:inherit;font-size:12px;white-space:nowrap;padding:8px 13px;border:0;border-radius:7px;background:transparent;color:var(--nx5-muted);cursor:pointer}
.nx5-period button[aria-pressed=true]{background:#1677ef;color:white;box-shadow:0 2px 8px #1677ef26}
.nx5-period button:focus-visible,.nx5-day:focus-visible{outline:2px solid #479dff;outline-offset:3px}
.nx5-totals{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}
.nx5-totals article{padding:17px 19px;background:var(--nx5-soft);border:1px solid var(--nx5-border);border-radius:12px}
.nx5-totals span{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--nx5-muted)}
.nx5-totals i{width:7px;height:7px;border-radius:50%;background:#268bfa}
.nx5-totals article+article i{background:#829fbe}
.nx5-totals strong{display:block;margin-top:10px;font-size:22px!important;font-weight:650;letter-spacing:-.5px}
.nx5-plot{width:100%;overflow:hidden}
.nx5-plot svg{display:block;width:100%;height:auto;min-height:200px;max-height:360px}
.nx5-gridline{stroke:var(--nx5-border);stroke-dasharray:3 5}
.nx5-axis{fill:var(--nx5-muted);font-size:11px;font-family:inherit}
.nx5-day{cursor:pointer;outline:none}
.nx5-day-highlight{fill:#278cff;opacity:0;transition:opacity .18s}
.nx5-day:hover .nx5-day-highlight,.nx5-day.is-selected .nx5-day-highlight{opacity:.045}
.nx5-readout{padding:12px 14px;border-radius:9px;background:var(--nx5-soft);color:var(--nx5-muted);font-size:12px;min-height:42px;margin-top:12px;line-height:1.6}
.nx5-data{margin-top:18px;font-size:12px;color:var(--nx5-muted)}
.nx5-data summary{cursor:pointer;color:#479dff}
.nx5-data table{width:100%;border-collapse:collapse;margin-top:12px}
.nx5-data td,.nx5-data th{padding:11px 8px;border-bottom:1px solid var(--nx5-border);text-align:right}
.nx5-data td:first-child,.nx5-data th:first-child{text-align:left}
.nx5-empty{padding:40px;text-align:center}
@media(max-width:600px){
  .nx5-head{align-items:flex-start;flex-direction:column;gap:14px}
  .nx5-totals{gap:10px}
  .nx5-totals article{padding:13px 11px}
  .nx5-totals strong{font-size:17px!important}
  .nx5-totals span{font-size:11px}
  .nx5-readout{font-size:11px}
}
