/* Navexa monthly activity report — lazy-loaded only for the monthly tab. */
.nx-ma-report{
  --nx-ma-text:#0f172a;
  --nx-ma-muted:#64748b;
  --nx-ma-border:#e2e8f0;
  --nx-ma-soft:#f8fafc;
  --nx-ma-primary:#2563eb;
  --nx-ma-primary-soft:#eff6ff;
  --nx-ma-positive:#047857;
  --nx-ma-negative:#b91c1c;
  display:grid;
  gap:14px;
  min-width:0;
  color:var(--nx-ma-text);
  font-family:inherit;
}
.nx-ma-report [hidden]{display:none!important}

.nx-ma-hero{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
  gap:18px;
  align-items:stretch;
  padding:20px;
  border:1px solid #dbe7f5;
  border-radius:20px;
  background:radial-gradient(circle at 10% -20%,rgba(37,99,235,.09),transparent 36%),linear-gradient(135deg,#fff 0%,#f8fbff 100%);
  box-shadow:0 12px 32px rgba(15,23,42,.055);
}
.nx-ma-hero__copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.nx-ma-eyebrow{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;margin-bottom:8px;padding:5px 9px;border-radius:999px;background:#eaf3ff;color:#1d4ed8;font-size:.72rem;font-weight:900}
.nx-ma-hero h3{margin:0;color:#0f172a;font-size:clamp(1.08rem,1rem + .3vw,1.35rem);font-weight:950}
.nx-ma-hero p{max-width:760px;margin:7px 0 0;color:var(--nx-ma-muted);font-size:.8rem;line-height:1.95;font-weight:650}
.nx-ma-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-content:center}
.nx-ma-meta__item{display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-items:center;min-width:0;padding:10px;border:1px solid #e4ebf3;border-radius:13px;background:rgba(255,255,255,.86)}
.nx-ma-meta__item>i{grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--nx-ma-primary-soft);color:var(--nx-ma-primary);font-size:.78rem}
.nx-ma-meta__item>span{overflow:hidden;color:#8492a6;font-size:.64rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.nx-ma-meta__item>strong{overflow:hidden;color:#1e293b;font-size:.73rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}
.nx-ma-meta__item small{display:block;margin-top:2px;color:#94a3b8;font-size:.59rem;font-weight:750;direction:ltr;text-align:right}

.nx-ma-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center;padding:12px;border:1px solid var(--nx-ma-border);border-radius:16px;background:#fff}
.nx-ma-period-control{display:flex;align-items:center;gap:8px;min-width:0}
.nx-ma-period-control>span{color:#64748b;font-size:.67rem;font-weight:850;white-space:nowrap}
.nx-ma-period-buttons{display:inline-flex;gap:3px;max-width:100%;overflow-x:auto;padding:3px;border:1px solid #dfe7ef;border-radius:11px;background:#f8fafc;scrollbar-width:thin}
.nx-ma-period-buttons button{flex:0 0 auto;min-height:30px;padding:5px 9px;border:0;border-radius:8px;background:transparent;color:#475569;font:inherit;font-size:.66rem;font-weight:850;cursor:pointer;transition:.15s ease}
.nx-ma-period-buttons button:hover{background:#fff;color:#1d4ed8}
.nx-ma-period-buttons button:focus-visible,.nx-ma-metrics button:focus-visible,.nx-ma-add-builder:focus-visible{outline:3px solid rgba(59,130,246,.18);outline-offset:2px}
.nx-ma-period-buttons button.is-active{background:#fff;color:#1d4ed8;box-shadow:0 3px 9px rgba(15,23,42,.09)}
.nx-ma-zero-toggle{display:flex;align-items:center;gap:8px;min-width:0;cursor:pointer;user-select:none}
.nx-ma-zero-toggle input{position:absolute;opacity:0;pointer-events:none}
.nx-ma-zero-toggle__track{position:relative;flex:0 0 34px;width:34px;height:19px;border-radius:999px;background:#cbd5e1;transition:background .18s ease}
.nx-ma-zero-toggle__track::after{content:"";position:absolute;top:3px;right:3px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(15,23,42,.2);transition:transform .18s ease}
.nx-ma-zero-toggle input:checked+.nx-ma-zero-toggle__track{background:var(--nx-ma-primary)}
.nx-ma-zero-toggle input:checked+.nx-ma-zero-toggle__track::after{transform:translateX(-15px)}
.nx-ma-zero-toggle input:focus-visible+.nx-ma-zero-toggle__track{outline:3px solid rgba(59,130,246,.2);outline-offset:2px}
.nx-ma-zero-toggle>span:last-child{display:flex;flex-direction:column;color:#334155;font-size:.68rem;font-weight:850;line-height:1.45}
.nx-ma-zero-toggle small{color:#94a3b8;font-size:.59rem;font-weight:700}

.nx-ma-toolbar-status{display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding:0 2px}
.nx-ma-toolbar-status>span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #e6edf4;border-radius:999px;background:#fff;color:#64748b;font-size:.69rem;font-weight:800}
.nx-ma-toolbar-status i{color:#3b82f6}.nx-ma-toolbar-status b{color:#0f172a;font-weight:950}
.nx-ma-history-note,.nx-ma-method-note{display:flex;align-items:flex-start;gap:8px;margin:0;padding:9px 11px;border:1px solid #dbeafe;border-radius:12px;background:#f5f9ff;color:#52657d;font-size:.7rem;font-weight:700;line-height:1.8}
.nx-ma-history-note i,.nx-ma-method-note i{margin-top:3px;color:#2563eb}
.nx-ma-mobile-scroll-hint{display:none}

.nx-ma-section{min-width:0;overflow:hidden;border:1px solid var(--nx-ma-border);border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04);content-visibility:auto;contain-intrinsic-size:auto 760px}
.nx-ma-section__head{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:64px;padding:11px 13px;border-bottom:1px solid #e8eef5;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.nx-ma-section__head>div:first-child{min-width:0}.nx-ma-section__index{display:block;margin-bottom:2px;color:#3b82f6;font-size:.61rem;font-weight:900}
.nx-ma-section h4{margin:0;overflow:hidden;color:#172033;font-size:.87rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}
.nx-ma-metrics{display:flex;align-items:center;gap:5px;max-width:min(72%,880px);overflow-x:auto;padding:2px 1px 4px;scrollbar-width:thin}
.nx-ma-metrics button{flex:0 0 auto;min-height:31px;padding:5px 9px;border:1px solid #dfe7ef;border-radius:9px;background:#fff;color:#526174;font:inherit;font-size:.66rem;font-weight:850;cursor:pointer;transition:.15s ease}
.nx-ma-metrics button:hover{border-color:#bfdbfe;background:#f8fbff;color:#1d4ed8}
.nx-ma-metrics button.is-active{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8;box-shadow:0 3px 9px rgba(37,99,235,.08)}
.nx-ma-single-metric{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #dbeafe;border-radius:9px;background:#eff6ff;color:#1d4ed8;font-size:.66rem;font-weight:850}
.nx-ma-panel{min-width:0}

.nx-ma-analysis{display:grid;gap:12px;padding:14px;border-bottom:1px solid #e8eef5;background:linear-gradient(180deg,#fcfdff,#fff)}
.nx-ma-analysis__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.nx-ma-analysis__head>div{display:grid;gap:2px;min-width:0}
.nx-ma-analysis__head span{color:#64748b;font-size:.64rem;font-weight:800}
.nx-ma-analysis__head strong{overflow:hidden;color:#172033;font-size:.82rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}
.nx-ma-analysis__head small{overflow:hidden;color:#94a3b8;font-size:.62rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.nx-ma-analysis__period{display:inline-flex!important;align-items:center;gap:5px;flex:0 0 auto;padding:6px 9px;border:1px solid #dbeafe;border-radius:999px;background:#eff6ff;color:#1d4ed8!important}
.nx-ma-compare-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.nx-ma-compare-card{display:grid;gap:4px;min-width:0;padding:11px;border:1px solid #e3eaf2;border-radius:13px;background:#fff}
.nx-ma-compare-card>span{color:#64748b;font-size:.63rem;font-weight:850}
.nx-ma-compare-card>strong{color:#172033;font-size:1rem;font-weight:950;direction:ltr;text-align:right}
.nx-ma-compare-card>small{overflow:hidden;color:#94a3b8;font-size:.59rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.nx-ma-compare-card.is-positive{border-color:#bbf7d0;background:#f7fff9}.nx-ma-compare-card.is-positive>strong{color:var(--nx-ma-positive)}
.nx-ma-compare-card.is-negative{border-color:#fecaca;background:#fffafa}.nx-ma-compare-card.is-negative>strong{color:var(--nx-ma-negative)}
.nx-ma-compare-card.is-unavailable{background:#f8fafc;opacity:.78}


.nx-ma-table-wrap{max-width:100%;height:auto;max-height:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;outline:none;isolation:isolate}
.nx-ma-table-wrap:focus-visible{box-shadow:inset 0 0 0 3px rgba(59,130,246,.14)}
.nx-ma-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;color:#1e293b;font-size:.72rem}
.nx-ma-table th,.nx-ma-table td{height:46px;padding:7px 10px;border-bottom:1px solid #edf1f5;border-left:1px solid #f0f3f7;background:#fff;vertical-align:middle}
.nx-ma-table thead th{position:sticky;top:0;z-index:4;min-width:118px;height:56px;border-bottom:1px solid #dce5ee;background:#f7f9fc;color:#334155;text-align:center;font-size:.66rem;font-weight:950;line-height:1.45;white-space:nowrap;box-shadow:0 1px 0 #dce5ee}
.nx-ma-table thead th>span{display:block;color:#334155}.nx-ma-table thead th>small{display:block;margin-top:2px;color:#94a3b8;font-size:.62rem;font-weight:700;direction:ltr}
.nx-ma-table tbody tr:last-child>*{border-bottom:0}.nx-ma-table tbody tr:hover>*{background:#f8fbff}
.nx-ma-table .nx-ma-sticky{position:sticky;right:0;z-index:3;border-left:1px solid #dce5ee;background:#fff}
.nx-ma-table thead .nx-ma-sticky{z-index:7;background:#f7f9fc}
.nx-ma-item-col{width:280px;min-width:280px;max-width:280px;text-align:right!important}
.nx-ma-item-col>span{display:block;overflow:hidden;color:#1e293b;line-height:1.55;text-overflow:ellipsis;white-space:nowrap;font-weight:900}
.nx-ma-item-col>small{display:block;overflow:hidden;margin-top:2px;color:#94a3b8;font-size:.58rem;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.nx-ma-unit-col{position:sticky;right:280px;z-index:3;width:105px;min-width:105px;max-width:105px;border-left:1px solid #dce5ee!important;background:#fff!important;color:#64748b;text-align:center!important;font-size:.69rem;font-weight:800;white-space:nowrap}
.nx-ma-table thead .nx-ma-unit-col{z-index:7;background:#f7f9fc!important}
.nx-ma-table tbody tr:hover>.nx-ma-unit-col,.nx-ma-table tbody tr:hover>.nx-ma-item-col{background:#f8fbff!important}
.nx-ma-value{text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}.nx-ma-value bdi{font-size:.73rem;font-weight:850}.nx-ma-value.is-negative bdi{color:var(--nx-ma-negative)}
.nx-ma-empty-value{color:#cbd5e1;font-weight:700}
.nx-ma-add-builder{display:inline-flex;align-items:center;gap:4px;margin-top:5px;padding:3px 6px;border:1px solid #dbeafe;border-radius:7px;background:#f5f9ff;color:#2563eb;font:inherit;font-size:.56rem;font-weight:850;cursor:pointer;transition:.15s ease}
.nx-ma-add-builder:hover{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}
.nx-ma-no-result{display:flex;align-items:center;justify-content:center;gap:8px;min-height:110px;padding:20px;color:#64748b;font-size:.75rem;font-weight:800}
.nx-ma-no-result i{color:#94a3b8;font-size:1rem}

.nx-ma-empty-state{display:flex;align-items:center;gap:13px;min-height:145px;padding:22px;border:1px dashed #cbd5e1;border-radius:18px;background:#f8fafc;color:#475569}
.nx-ma-empty-state.is-error{border-color:#fecaca;background:#fffafa}.nx-ma-empty-state__icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#eaf2ff;color:#2563eb;font-size:1.1rem}
.nx-ma-empty-state.is-error .nx-ma-empty-state__icon{background:#fee2e2;color:#b91c1c}.nx-ma-empty-state h3{margin:0;color:#172033;font-size:.9rem;font-weight:950}.nx-ma-empty-state p{margin:5px 0 0;color:#64748b;font-size:.73rem;font-weight:700;line-height:1.8}
.nx-ma-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media (max-width:1100px){
  .nx-ma-hero{grid-template-columns:1fr}.nx-ma-meta{grid-template-columns:repeat(3,minmax(0,1fr))}
  .nx-ma-compare-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nx-ma-section__head{align-items:flex-start;flex-direction:column}.nx-ma-metrics{max-width:100%;width:100%}
}
@media (max-width:700px){
  .nx-ma-report{gap:10px}.nx-ma-hero{padding:14px;border-radius:16px}.nx-ma-meta{grid-template-columns:1fr}.nx-ma-meta__item{padding:8px}
  .nx-ma-toolbar{align-items:stretch;flex-direction:column}.nx-ma-period-control{align-items:flex-start;flex-direction:column}.nx-ma-period-buttons{width:100%}
  .nx-ma-toolbar-status{gap:5px}.nx-ma-toolbar-status>span{font-size:.62rem}.nx-ma-mobile-scroll-hint{display:flex;align-items:flex-start;gap:7px;padding:8px 10px;border-radius:10px;background:#fff7ed;color:#9a5b13;font-size:.65rem;font-weight:750;line-height:1.7}
  .nx-ma-section{border-radius:14px}.nx-ma-analysis{padding:10px}.nx-ma-analysis__head{align-items:flex-start;flex-direction:column}.nx-ma-compare-cards{grid-template-columns:1fr 1fr;gap:6px}.nx-ma-compare-card{padding:9px}.nx-ma-compare-card>strong{font-size:.86rem}
  .nx-ma-item-col{width:210px;min-width:210px;max-width:210px}.nx-ma-unit-col{right:210px;width:84px;min-width:84px;max-width:84px}.nx-ma-table th,.nx-ma-table td{padding:6px 8px}.nx-ma-table thead th{min-width:106px}.nx-ma-add-builder{font-size:.52rem}
}
@media (max-width:420px){.nx-ma-compare-cards{grid-template-columns:1fr}.nx-ma-item-col{width:185px;min-width:185px;max-width:185px}.nx-ma-unit-col{right:185px;width:72px;min-width:72px;max-width:72px}}
@media (prefers-reduced-motion:reduce){.nx-ma-report *{scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* v7 — concise monthly insight and centered comparison cards. */
.nx-ma-compare-card{place-items:center;text-align:center}
.nx-ma-compare-card>span,.nx-ma-compare-card>strong,.nx-ma-compare-card>small{width:100%;text-align:center}
.nx-ma-analysis__head>div{align-items:center;text-align:center}
.nx-ma-analysis__head{align-items:center}
.nx-ma-table-wrap{height:auto!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important}
@media(max-width:575.98px){
  .nx-ma-analysis__head{align-items:center;flex-direction:column;text-align:center}
  .nx-ma-analysis__period{align-self:center}
  .nx-ma-compare-card>small{white-space:normal;line-height:1.55}
}

/* v8 — monthly grid follows the exact V60 table geometry. */
.nx-financial-reports-page .nx-ma-table{
  table-layout:auto;
  color:var(--nx-fr-ink);
  font-size:.72rem;
}
.nx-financial-reports-page .nx-ma-table th,
.nx-financial-reports-page .nx-ma-table td{
  min-width:126px;
  height:47px;
  padding:.58rem .68rem;
  border:0;
  border-bottom:1px solid #edf2f6;
  border-left:1px solid #f0f3f7;
  line-height:1.65;
}
.nx-financial-reports-page .nx-ma-table thead th{
  top:0;
  height:54px;
  background:var(--nx-fr-header)!important;
  color:#3e5268;
  font-size:.68rem;
  box-shadow:0 1px 0 #dce5ee;
}
.nx-financial-reports-page .nx-ma-item-col{
  width:var(--nx-fr-item-width);
  min-width:var(--nx-fr-item-width);
  max-width:var(--nx-fr-item-width);
  padding-right:.8rem;
  padding-left:.55rem;
  box-shadow:-8px 0 16px rgba(15,23,42,.045);
}
.nx-financial-reports-page .nx-ma-unit-col{
  right:var(--nx-fr-item-width);
  width:var(--nx-fr-unit-width);
  min-width:var(--nx-fr-unit-width);
  max-width:var(--nx-fr-unit-width);
  background:#fbfcfe!important;
  color:#66788c;
  font-size:.64rem;
  box-shadow:-7px 0 13px rgba(15,23,42,.025);
}
.nx-financial-reports-page .nx-ma-table thead .nx-ma-item-col,
.nx-financial-reports-page .nx-ma-table thead .nx-ma-unit-col{background:var(--nx-fr-header)!important}
.nx-financial-reports-page .nx-ma-table tbody tr:hover>.nx-ma-item-col,
.nx-financial-reports-page .nx-ma-table tbody tr:hover>.nx-ma-unit-col{background:#f8fbfe!important}
@media(max-width:767.98px){
  .nx-financial-reports-page .nx-ma-table th,
  .nx-financial-reports-page .nx-ma-table td{min-width:112px;height:44px;padding:.48rem .55rem;font-size:.66rem}
  .nx-financial-reports-page .nx-ma-table thead th{height:50px;font-size:.63rem}
}

/* v9 — follow V61 responsive table contract; monthly no longer reserves two
   fixed columns on small screens. */
@media(max-width:991.98px){
  .nx-financial-reports-page .nx-ma-unit-col{position:static!important;right:auto!important;z-index:2!important;box-shadow:none!important}
}
@media(max-width:767.98px){
  .nx-financial-reports-page .nx-ma-unit-col{display:none!important}
  .nx-financial-reports-page .nx-ma-item-col{width:var(--nx-fr-item-width)!important;min-width:var(--nx-fr-item-width)!important;max-width:var(--nx-fr-item-width)!important}
}
