.nstats { --ns-muted: var(--muted, #a7b9d0); --ns-line: var(--line, #283448); color: var(--text, #f3f6fc); }
.ns-stack, .ns-columns { display: grid; gap: 16px; }
.ns-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ns-columns:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.ns-head, .ns-card-head, .ns-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ns-head { margin: 0 0 20px; }
.ns-head h1, .ns-card h2 { margin: 0; }
.ns-head h1 { font-size: clamp(1.65rem, 3.4vw, 2.35rem); line-height: 1.12; }
.ns-card h2 { font-size: clamp(1.12rem, 2vw, 1.4rem); line-height: 1.25; }
.ns-note, .ns-updated, .ns-peak { color: var(--ns-muted, #a7b9d0); font-size: .875rem; }
.ns-note { margin: 6px 0 0; }
.ns-updated { margin: 18px 0 0; }
.ns-filters { gap: 8px; justify-content: flex-start; }
.ns-period { display: inline-flex; align-items: stretch; gap: 2px; padding: 3px; border: 1px solid #2b394c; border-radius: 10px; background: #101925; }
.ns-period button { min-height: 34px; padding: .28rem .67rem; border: 0; border-radius: 7px; background: transparent; color: #a6b6cb; font: inherit; font-size: .875rem; white-space: nowrap; cursor: pointer; }
.ns-period button[aria-pressed="true"] { color: #e8f4ff; background: #253d58; box-shadow: inset 0 0 0 1px #405c79; }
.ns-select { display: inline-flex; min-width: 0; }
.ns-select select { display: block; max-width: 100%; height: 40px; padding: 0 29px 0 12px; appearance: none; cursor: pointer; border: 1px solid #334358; border-radius: 9px; background: #14212f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23a8bed6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center / 14px 14px; color: #e7f0fb; font: inherit; font-size: .875rem; text-overflow: ellipsis; }
.ns-card { min-width: 0; padding: clamp(16px, 2.2vw, 26px); border: 1px solid var(--ns-line, #283448); border-radius: var(--radius, 17px); background: var(--card, #111925); }
.ns-card-head { align-items: center; }
.ns-chart { overflow: hidden; background: linear-gradient(117deg, #152435, #111c2a 55%, #101926); }
.ns-plot[hidden] { display: none !important; }
.ns-metric { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ns-big { color: #f2f7ff; font-size: clamp(1.65rem, 4.3vw, 2.75rem); font-weight: 680; line-height: 1.16; letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ns-unit { color: #a8bed6; font-weight: 570; font-size: 1rem; overflow-wrap: anywhere; }
.ns-plot-intro, .ns-xaxis { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ns-muted); font-size: .82rem; }
.ns-plot-intro { margin-top: 4px; }
.ns-plot-intro span:last-child { white-space: nowrap; }
.ns-deposit { --ns-tone: #5eaffc; }
.ns-hold_open { --ns-tone: #ac95ff; }
.ns-income { --ns-tone: #54d5a1; }
.ns-principal { --ns-tone: #59c9dd; }
.ns-referral { --ns-tone: #f1c774; }
.ns-withdrawal { --ns-tone: #fb92a1; }
.ns-plot-grid,.ns-empty-plot { height: clamp(126px,17vw,172px); margin-top: 15px; }
.ns-plot-grid { border-block: 1px solid #3a4a5b; background: linear-gradient(to bottom, transparent calc(50% - .5px), #2a394b calc(50% - .5px), #2a394b calc(50% + .5px), transparent calc(50% + .5px)); }
.ns-bars { display: block; overflow: hidden; color: var(--ns-tone); fill: currentColor; }
.ns-bars rect { opacity: .88; }
.ns-bars rect:hover { opacity: 1; }
.ns-empty-plot { display: grid; place-items: center; padding: 15px; border: 1px dashed #34465a; border-radius: 9px; color: #adbed0; font-size: .94rem; text-align: center; }
.ns-xaxis { padding-top: 5px; }
.ns-peak { margin-top: .5rem; overflow-wrap: anywhere; }
.ns-day-table { margin-top: 15px; padding-top: 10px; border-top: 1px solid #2b3a4d; }
.ns-day-table summary, .ns-levels summary { width: fit-content; cursor: pointer; color: #84c3ff; font-size: .875rem; }
.ns-day-table dl { max-height: 260px; margin: 8px 0 0; overflow: auto; scrollbar-color: #40546b #142131; }
.ns-day-table dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: .38rem 0; }
.ns-day-table dt, .ns-day-table dd { margin: 0; font-size: .875rem; }
.ns-day-table dt { color: var(--ns-muted); }
.ns-day-table dd { overflow-wrap: anywhere; text-align: right; font-variant-numeric: tabular-nums; }
.ns-table-wrap { max-width: 100%; margin-top: 9px; overflow: auto; }
.ns-table { width: 100%; border-spacing: 0; font-size: .94rem; }
.ns-table th, .ns-table td { padding: .66rem .42rem; vertical-align: middle; }
.ns-table tr > :first-child { padding-left: 0; text-align: left; }
.ns-table tr > :last-child { padding-right: 0; }
.ns-table thead th { color: var(--ns-muted); font-size: .84rem; font-weight: 400; }
.ns-table tr > :not(:first-child) { text-align: right; }
.ns-table tbody tr > * { border-top: 1px solid var(--ns-line); }
.ns-table th[scope="row"] { font-weight: 500; }
.ns-table td { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ns-dot { display: inline-block; width: .53rem; height: .53rem; margin-right: .45rem; border-radius: 50%; background: var(--ns-tone); }
.ns-list { margin: 9px 0 0; }
.ns-reading { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 12px; align-items: baseline; padding: .6rem 0; font-size: .94rem; }
.ns-reading + .ns-reading { border-top: 1px solid var(--ns-line); }
.ns-reading dd { margin: 0; }
.ns-reading dd.ns-reading-help { margin-top: 2px; color: var(--ns-muted); font-size: .83rem; }
.ns-value { justify-self: end; text-align: right; font-weight: 560; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ns-levels summary { color: var(--text, #f3f6fc); font-size: 1.06rem; font-weight: 650; }
.ns-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 780px) {
  .ns-columns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .ns-stack, .ns-columns { gap: 11px; }
  .ns-head { margin-bottom: 14px; }
  .ns-filters { width: 100%; }
  .ns-period button { padding-inline: .5rem; }
  .ns-table th, .ns-table td { padding-inline: .2rem; }
  .ns-chart .ns-card-head { align-items: flex-start; }
  .ns-card-head .ns-select { flex: 0 1 auto; max-width: 100%; }
}
