/* Loaded after legacy fundamental.css; only scopes the analysis details workspace. */
.nx-fa2-detail-content .nx-fund-detail-card{
  overflow:hidden;
  border:1px solid #e2e8f0!important;
  border-radius:18px!important;
  box-shadow:0 12px 34px rgba(15,23,42,.07)!important;
  background:#fff;
}
.nx-fa2-detail-content .nx-table-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  padding:.85rem 1rem;
  border-top:1px solid #e2e8f0;
  background:#f8fafc;
  color:#0f172a;
  font-size:.82rem;
  font-weight:900;
}
.nx-fa2-detail-content .nx-table-title span{
  padding:.25rem .55rem;
  border:1px solid #dbeafe;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:.7rem;
}
.nx-fa2-detail-content .dynamic-table-area{
  scrollbar-width:thin;
  scrollbar-color:#cbd5e1 transparent;
}
.nx-fa2-detail-content .dynamic-table-area table{
  width:100%;
  min-width:760px;
  table-layout:fixed;
  margin:0!important;
  border-collapse:separate;
  border-spacing:0;
}
.nx-fa2-detail-content .dynamic-table-area th,
.nx-fa2-detail-content .dynamic-table-area td{
  vertical-align:middle!important;
  border-color:#edf2f7!important;
  line-height:1.75;
}
.nx-fa2-detail-content .dynamic-table-area thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#f8fafc!important;
  color:#475569!important;
  font-size:.72rem!important;
  font-weight:900!important;
  white-space:normal;
}
.nx-fa2-detail-content .dynamic-table-area .sticky-col{
  position:sticky;
  right:0;
  z-index:3;
  width:220px;
  min-width:220px;
  background:#fff!important;
  color:#1e293b;
  text-align:right!important;
  font-weight:750;
}
.nx-fa2-detail-content .dynamic-table-area thead .sticky-col{
  z-index:4;
  background:#f8fafc!important;
}
.nx-fa2-detail-content .dynamic-table-area tbody tr:hover td{
  background:#f8fbff!important;
}
@media(max-width:767.98px){
  .nx-fa2-detail-content .nx-fund-detail-card{
    border-radius:14px!important;
    box-shadow:0 8px 24px rgba(15,23,42,.06)!important;
  }
  .nx-fa2-detail-content .dynamic-table-area{
    overflow:visible!important;
    padding:.65rem;
    background:#f8fafc;
  }
  .nx-fa2-detail-content .dynamic-table-area table,
  .nx-fa2-detail-content .dynamic-table-area tbody,
  .nx-fa2-detail-content .dynamic-table-area tr,
  .nx-fa2-detail-content .dynamic-table-area td{
    display:block;
    width:100%!important;
    min-width:0!important;
  }
  .nx-fa2-detail-content .dynamic-table-area table{
    min-width:0;
  }
  .nx-fa2-detail-content .dynamic-table-area thead{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    clip-path:inset(50%)!important;
  }
  .nx-fa2-detail-content .dynamic-table-area tbody{
    display:grid;
    gap:.7rem;
  }
  .nx-fa2-detail-content .dynamic-table-area tbody tr{
    overflow:hidden;
    border:1px solid #e2e8f0;
    border-radius:13px;
    background:#fff;
    box-shadow:0 5px 16px rgba(15,23,42,.045);
  }
  .nx-fa2-detail-content .dynamic-table-area tbody td{
    position:static!important;
    display:grid;
    grid-template-columns:minmax(86px,42%) minmax(0,1fr);
    align-items:center;
    gap:.7rem;
    padding:.62rem .75rem!important;
    border:0!important;
    border-bottom:1px solid #eef2f7!important;
    background:#fff!important;
    text-align:left!important;
    font-size:.74rem!important;
    direction:ltr;
    overflow-wrap:anywhere;
  }
  .nx-fa2-detail-content .dynamic-table-area tbody td::before{
    content:attr(data-label);
    color:#64748b;
    font-size:.68rem;
    font-weight:800;
    direction:rtl;
    text-align:right;
  }
  .nx-fa2-detail-content .dynamic-table-area tbody td:first-child,
  .nx-fa2-detail-content .dynamic-table-area tbody td.sticky-col{
    display:block;
    padding:.72rem .78rem!important;
    border-bottom:1px solid #dbe7f3!important;
    background:#f5f9ff!important;
    color:#0f172a!important;
    direction:rtl;
    text-align:right!important;
    font-size:.78rem!important;
    font-weight:900;
  }
  .nx-fa2-detail-content .dynamic-table-area tbody td:first-child::before,
  .nx-fa2-detail-content .dynamic-table-area tbody td.sticky-col::before{
    content:none;
  }
  .nx-fa2-detail-content .dynamic-table-area tbody td:last-child{
    border-bottom:0!important;
  }
  .nx-fa2-detail-content .dynamic-table-area tbody td[colspan]{
    display:block;
    direction:rtl;
    text-align:right!important;
  }
  .nx-fa2-detail-content .dynamic-table-area tbody td[colspan]::before{content:none}
}

/* Analysis chart controls: compact on laptops, horizontally scrollable on mobile. */
.nx-fa2-detail-content .nx-chart-controls{
  gap:.75rem;
}
.nx-fa2-detail-content .nx-control-block{
  min-width:0;
}
.nx-fa2-detail-content .nx-is-views,
.nx-fa2-detail-content .nx-is-periods,
.nx-fa2-detail-content .nx-is-metrics,
.nx-fa2-detail-content .nx-ratios-keys{
  max-width:100%;
}
@media(max-width:991.98px){
  .nx-fa2-detail-content .nx-chart-controls{
    display:grid;
    grid-template-columns:1fr;
  }
  .nx-fa2-detail-content .nx-chip-group{
    flex-wrap:nowrap!important;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:thin;
    padding-bottom:4px;
  }
  .nx-fa2-detail-content .nx-chip-group .nx-chip{
    flex:0 0 auto;
    white-space:nowrap;
  }
}
