/* ارتفاع تقریبی نوار بالا (navbar) */
:root {
  --nx-navbar-height: 48px;
}

/* صفحه‌هایی که سرویس‌های فاندامنتال دارند */
.fundamental-page {
  /* اگر در base.css padding-top ندادی، این خط کمک می‌کند محتوا زیر navbar قایم نشه */
  /* padding-top: calc(var(--nx-navbar-height) + 0.5rem); */
}

/* باکس اسکرول برای جداول بزرگ: ارتفاع داینامیک متناسب با اندازه صفحه */
.fundamental-page .dynamic-table-area {
  max-height: calc(100vh - var(--nx-navbar-height) - 120px);
  overflow-y: auto;
}

/* لپ‌تاپ و تبلت: چون هدر چند خطی‌تر می‌شود، کمی ارتفاع جدول را کم می‌کنیم */
@media (max-width: 992px) {
  .fundamental-page .dynamic-table-area {
    max-height: calc(100vh - var(--nx-navbar-height) - 160px);
  }
}

/* موبایل: هدر و تب‌ها فضای بیشتری می‌گیرند → جدول کم‌ارتفاع‌تر شود */
@media (max-width: 576px) {
  .fundamental-page .dynamic-table-area {
    max-height: calc(100vh - var(--nx-navbar-height) - 200px);
  }
}

/* اسکرول‌بار نرم و ظریف برای جدول‌ها */
.fundamental-page .dynamic-table-area::-webkit-scrollbar {
  width: 6px;
}
.fundamental-page .dynamic-table-area::-webkit-scrollbar-thumb {
  background: #cbd5f5;
  border-radius: 10px;
}
.fundamental-page .dynamic-table-area::-webkit-scrollbar-track {
  background: #f1f5f9;
}
/* ردیف عنوان ستون‌ها همیشه در بالای جدول بماند */
table thead th {
    position: sticky;
    top: 0;
    z-index: 4;           /* بالاتر از سلول‌های معمولی */
}

/* بک‌گراند ردیف عنوان ستون‌ها */
table thead th,
table thead td {
    background: #f8f7fc !important;
}

/* From fundamental/templates/fundamental/financial_reports.html */
.custom-tabs {
  display: flex;
  flex-wrap: wrap; /* در صفحه‌های کوچک، تب‌ها بروند زیر هم */
  gap: 0.5rem;
  justify-content: center;
  padding: 0.5rem;
}
.custom-tab {
  flex: 1 1 110px; /* مقدار پیشنهادی پایه‌ی طول تب است */
  max-width: 140px;
  font-size: .75rem;
  font-weight: 200;
  text-align: center;
  background-color: white;
  color: #00036d;
  padding: .3rem .2rem;  /* ↓ ارتفاع را کم کردیم */
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* برای صفحه‌های کوچکتر از 768px */
@media (max-width: 768px) {
  .custom-tab {
    flex: 1 1 80px;
    max-width: 130px;
    font-size: 10px;
    padding: 0.3rem 0.2rem;  /* ↓ حتی کوتاه‌تر در تبلت */
  }
}

/* برای موبایل کوچکتر از 480px */
@media (max-width: 480px) {
  .custom-tab {
    flex: 0 0 auto;
    min-width: 100px;
    padding: 0.3rem 0.2rem;  /* ↓ کوتاه در موبایل */
  }
}

  .custom-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }


.custom-tab:hover {
  background-color: #e9f3ff;
}

.custom-tab.active {
  background-color: #0d6efd;
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.tab-pane  {
display: none;
}

.tab-pane.active {
display: block;
}


.highcharts-legend-item text {
    direction: rtl !important;
    text-anchor: end !important;
    white-space: normal !important;
}
#search-form .form-control {
        min-width: 0;
        flex: 1 1 auto;
        height: 2.5rem;
        direction: rtl; /* تاکید: نمایش RTL */
    }
#search-form .input-group {
    position: relative;
    }
#search-form .input-group > .btn {
  border-top-left-radius: .5rem !important;
  border-bottom-left-radius: .5rem !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  height: 2.5rem;               /* همقد اینپوت */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* خود اینپوت: گوشه‌های راست گرد، چپ صاف (کنار دکمه) */
#search-form .input-group > .form-control {
  border-top-right-radius: .5rem !important;
  border-bottom-right-radius: .5rem !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  height: 2.5rem;
}

/* باکس ساجست: کامل زیر گروه بیفته و گوشه‌های پایین گرد باشه */
#search-form .suggest-box {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: .5rem;
  border-bottom-right-radius: .5rem;
  margin-top: 2px;       /* کمی فاصله از کادر بالا */
}

/* وقتی لیست بازه، مرز پایین گروه یکپارچه بشه (اختیاری) */
#search-form .input-group.show-suggest > .form-control,
#search-form .input-group.show-suggest > .btn {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.responsive-title {
    background-color: #d6e5fe;
    text-align: right;
    font-weight: bold;
    font-size: 11px; /* پیش‌فرض برای موبایل */
    padding: 0.5rem 1rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.responsive-title span {
    color: #00036d;
    font-weight: bold;
    font-size: 12px;
}

@media (min-width: 768px) {
    .responsive-title {
        font-size: 12px;
    }

.responsive-title span {
        font-size: 14px;
    }
}

/* تنظیمات کلی */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    direction: rtl;
}

/* -------------------------------------------------------------------------- */
/* Fundamental Pro (Snapshot + Charts + Screener/Movers)                       */
/* -------------------------------------------------------------------------- */

.nx-snap-title{
  font-weight: 800;
  color: #0f172a;
  font-size: 14px;
}
.nx-snap-sub{
  color:#64748b;
  font-size:12px;
}
.nx-dot{ margin: 0 6px; }

.nx-kpi{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:10px 12px;
  height:100%;
}
.nx-kpi-label{ color:#64748b; font-size:11px; }
.nx-kpi-value{ font-weight:800; font-size:14px; color:#0f172a; margin-top:2px;}
.nx-kpi-value[data-bs-toggle="tooltip"]{ cursor: help; }
.nx-kpi-sub{ display:flex; gap:8px; align-items:center; margin-top:6px; font-size:11px; }
.nx-kpi-sub-muted{ color:#94a3b8; }
.nx-kpi-growth{ font-weight:700; }
.nx-kpi-growth.up{ color:#16a34a; }
.nx-kpi-growth.down{ color:#dc2626; }
.nx-kpi-growth.muted{ color:#94a3b8; }

/* LTR numeric isolation inside RTL pages (fix -/+ placement) */
.nx-num{
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* Bootstrap tooltip for numeric values */
.nx-tooltip .tooltip-inner{
  direction: ltr;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

/* Highcharts HTML tooltip helpers (optional) */
.nx-hc-tooltip{ font-size: 12px; line-height: 1.6; }
.nx-hc-row{ margin-top: 2px; }
.nx-hc-dot{ margin-left: 6px; }
.nx-hc-x{ margin-bottom: 4px; }

.nx-box{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:12px 14px;
  height:100%;
}
.nx-box-title{ font-weight:800; color:#0f172a; font-size:12px; margin-bottom:10px; }

.nx-overall{ display:flex; align-items:baseline; gap:8px; margin-bottom:8px; }
.nx-overall-num{ font-weight:900; font-size:22px; color:#0f172a; }
.nx-overall-sub{ color:#64748b; font-size:12px; }

.nx-meter-row{ display:grid; grid-template-columns: 100px 1fr 34px; gap:10px; align-items:center; margin:8px 0; }
.nx-meter-label{ font-size:12px; color:#334155; }
.nx-meter-bar{ background:#eef2ff; height:8px; border-radius:99px; overflow:hidden; }
.nx-meter-fill{ background:#0d6efd; height:100%; border-radius:99px; }
.nx-meter-val{ font-size:12px; color:#334155; text-align:left; }

.nx-narr-head{ font-weight:800; color:#0f172a; font-size:13px; margin-bottom:8px; }
.nx-tags{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.nx-tag{ background:#f1f5f9; border:1px solid #e5e7eb; color:#0f172a; padding:4px 8px; border-radius:999px; font-size:11px; }
.nx-bullets{ margin:0; padding-right: 18px; color:#334155; font-size:12px; }
.nx-bullets li{ margin:6px 0; }
.nx-warnings{ margin-top:10px; }
.nx-warning{ background:#fff7ed; border:1px solid #fed7aa; color:#9a3412; padding:8px 10px; border-radius:10px; font-size:12px; margin-top:8px; }

.nx-chip-row{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:space-between; }
.nx-chip-group{ display:flex; flex-wrap:wrap; gap:6px; }
.nx-chip{
  border:1px solid #e5e7eb;
  background:#fff;
  color:#0f172a;
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  cursor:pointer;
  transition:all .15s ease;
  user-select:none;
}
.nx-chip:hover{ background:#f8fafc; }
.nx-chip.active{ background:#0d6efd; border-color:#0d6efd; color:#fff; font-weight:800; }

.nx-chart-wrap{ padding:12px 12px 4px 12px; }
.nx-chart{ width:100%; min-height:300px; }
.nx-chart-meta{ display:flex; justify-content:space-between; align-items:center; gap:10px; color:#94a3b8; font-size:11px; padding:0 12px 12px 12px; }

.nx-badges{ display:flex; gap:6px; flex-wrap:wrap; justify-content:center; }
.nx-badge{ background:#eef2ff; border:1px solid #e0e7ff; color:#1e3a8a; padding:3px 8px; border-radius:999px; font-size:11px; }

.nx-report{
  color:#334155;
  font-size:11px;
  white-space:nowrap;
}


/* Executive fundamental snapshot */
.nx-snapshot-shell{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border-radius:16px;
}
.nx-snap-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.nx-snap-kicker{
  color:#0d6efd;
  font-size:.76rem;
  font-weight:900;
  margin-bottom:4px;
}
.nx-snap-title{font-weight:900;color:#0f172a;font-size:1rem;}
.nx-snap-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.nx-snap-action{border-radius:999px;font-size:.75rem;font-weight:800;}
.nx-exec-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.nx-exec-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:13px 14px;
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.nx-exec-card span{display:block;color:#64748b;font-size:.72rem;font-weight:800;margin-bottom:5px;}
.nx-exec-card strong{display:block;color:#0f172a;font-size:.9rem;font-weight:900;margin-bottom:6px;}
.nx-exec-card p{margin:0;color:#475569;font-size:.78rem;line-height:1.85;}
.nx-score-box{background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);}
.nx-score-label{font-weight:900;color:#0d6efd;font-size:.84rem;margin-bottom:6px;}
.nx-score-note{color:#64748b;font-size:.75rem;line-height:1.8;margin:0 0 12px;}
.nx-reason-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.nx-reason-col{border:1px solid #e2e8f0;border-radius:14px;padding:11px;background:#fff;}
.nx-reason-col.strengths{background:#f7fef9;border-color:#bbf7d0;}
.nx-reason-col.risks{background:#fff7ed;border-color:#fed7aa;}
.nx-reason-col.watch{background:#f8fafc;border-color:#e2e8f0;}
.nx-reason-title{font-weight:900;color:#0f172a;font-size:.78rem;margin-bottom:7px;}
.nx-reason-col ul{margin:0;padding-right:16px;color:#334155;font-size:.76rem;line-height:1.85;}
.nx-reason-col li{margin:4px 0;}
.nx-snap-disclaimer,.nx-fs-disclaimer{
  margin-top:10px;
  padding:8px 10px;
  border-radius:12px;
  background:#f8fafc;
  border:1px dashed #cbd5e1;
  color:#64748b;
  font-size:.75rem;
  line-height:1.8;
}
.nx-snap-error{
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-radius:14px;
}
.nx-unit{font-size:.76em;color:#64748b;font-weight:800;margin-right:3px;}

/* Screener UX */
.nx-fs-table th{font-size:.75rem;color:#475569;background:#f8fafc!important;}
.nx-fs-table td{font-size:.78rem;min-width:auto;}
.nx-fs-reason{font-weight:800;color:#0f172a;line-height:1.8;}
.nx-fs-risk{color:#9a3412;font-size:.74rem;line-height:1.8;margin-top:2px;}
.nx-fs-score{background:#eef2ff;color:#1e3a8a;border:1px solid #dbeafe;border-radius:999px;padding:4px 8px;font-weight:900;}
.nx-fs-mobile{display:none;}
.nx-fs-card{
  margin:10px;
  padding:13px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,.05);
}
.nx-fs-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
.nx-fs-symbol{font-weight:900;color:#0d6efd;text-decoration:none;font-size:1rem;}
.nx-fs-name{font-size:.76rem;color:#64748b;line-height:1.7;}
.nx-fs-sector{font-size:.72rem;color:#334155;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:4px 8px;white-space:nowrap;}
.nx-fs-card-body{display:grid;gap:8px;margin:10px 0;}
.nx-fs-card-body span{display:block;font-size:.7rem;color:#64748b;font-weight:900;margin-bottom:3px;}
.nx-fs-card-body p{margin:0;font-size:.78rem;color:#334155;line-height:1.85;}
.nx-empty-state{color:#64748b;background:#f8fafc;border-top:1px solid #e2e8f0;font-size:.82rem;line-height:1.9;}

/* Chart polish */
.nx-chart-wrap{background:#fff;border-radius:14px;}
.nx-chart{width:100%;min-height:310px;overflow:hidden;}
.nx-chart .highcharts-container,.nx-chart .highcharts-root{max-width:100%!important;}
.nx-hc-tooltip{font-size:12px;line-height:1.75;color:#fff;min-width:150px;direction:rtl;text-align:right;}
.nx-hc-row{display:flex;align-items:center;gap:5px;justify-content:flex-start;margin-top:3px;color:#e5e7eb;}
.nx-hc-dot{margin-left:4px;font-size:10px;}
.nx-hc-x{margin-bottom:5px;color:#fff;border-bottom:1px solid rgba(255,255,255,.16);padding-bottom:4px;}
.highcharts-tooltip span{direction:rtl!important;text-align:right!important;}


@media (max-width: 576px){
  .nx-meter-row{ grid-template-columns: 84px 1fr 30px; }
  .nx-kpi-value{ font-size:13px; }
}

/* جدول کلی */
.period-header {
    white-space: normal !important;
    word-break: break-word;
    font-size: 12px;
    vertical-align: middle;
    text-align: center;
    line-height: 1.7;
    min-width: 120px;
}

table {
    border-collapse: separate; /* برای جلوگیری از مشکل با sticky */
    border-spacing: 0;
    font-size: 12px;
}
/* هاور روی سطر */
table tbody tr:hover > td,
table tbody tr:hover > th {
    background-color: #eff2f5 !important;
}
/* جدول */
table th,
table td {
    white-space: nowrap;
    vertical-align: middle;
    background: #fff;            /* بک گراند پیش فرض */
    transition: background 0.2s;
    min-width: 175px;
}

/* ستون اول (شرح) فیکس شود */
table th.sticky-col,
table td.sticky-col {
    position: sticky;
    right: 0; /* چون راست به چپ هست، باید از right استفاده شود */
    z-index: 2;
    text-align: right;
    direction: rtl;
}
/* تنظیم متن چندخطی برای ستون شرح */
table td.sticky-col {
    min-width: 290px;
    max-width: 350px;
    font-size: 12px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* بالاتر بردن header */
table thead th.sticky-col {
    z-index: 5;
}
/* ستون اول (شرح) فیکس شود */
table th.sticky-col-currency,
table td.sticky-col-currency {
    position: sticky;
    right: 0; /* چون راست به چپ هست، باید از right استفاده شود */
    z-index: 2;
    text-align: right;
    direction: rtl;
}
/* تنظیم متن چندخطی برای ستون شرح */
table td.sticky-col-currency {
    max-width: 120px;
    font-size: 12px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* بالاتر بردن header */
table thead th.sticky-col-currency {
    z-index: 5;
}
/* فونت و ارتفاع  ستون‌های تایتل */
table thead th{
font-size: 12px;
line-height: 1.7;
}
/* بک‌گراند  ستون‌های تایتل */
table thead th,
table thead td {
    background: #f8f7fc !important;
}
/* تنظیم ارتفاع رکوردهای جدول و نازکتر کردن بوردها */
table tbody td {
    border-bottom: 1px solid rgba(229, 231, 235, 0.7);  /* نازک و کمرنگ */
    height: 2.6rem;
}
.table-border {
    border: 1px solid #f1f1f1;   /* خطوط معمولی */
}

/* برای مواردی از رکوردها ک باید هایلایت شود */
.highlight-codal{
    background-color: #f8fafc !important;
}
/* فونت و سایز ریسپانسیو برای موبایل */
@media (max-width: 576px) {
    table td.sticky-col {
        min-width: 120px ;
        font-size: 12px;
    }
}
@media (max-width: 576px) {
    table td{
        font-size: 11px;
    }
}
.bg-white.shadow-sm.rounded {
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 6px 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  direction: rtl; /* متن سمت راست */
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
  padding-left: 60px; /* جا برای آیکن‌ها سمت چپ */
}

/* آیکن جستجو (دکمه submit) */
.search-icon {
  position: absolute;
  left: 12px;
  background: none;
  border: none;
  color: #555;
  font-size: 15px;
  cursor: pointer;
}

/* دکمه پاک کردن */
.clear-btn {
  position: absolute;
  left: 40px;   /* دقیقا کنار آیکن جستجو */
  background: none;
  border: none;
  color: #aaa;
  font-size: 15px;
  cursor: pointer;
  display: none;
}

.clear-btn:hover {
  color: #dc3545; /* قرمز روی hover */
}

.suggest-box {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-height: 240px;
  overflow-y: auto;
  z-index: 1000;
}
/* اسکرول‌بار سفارشی */
.suggest-box::-webkit-scrollbar {
    width: 5px;
}

.suggest-box::-webkit-scrollbar-thumb {
    background: #c7c7c7;
    border-radius: 10px;
}

.suggest-box::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* حذف کامل فلش‌های بالا/پایین */
.suggest-box::-webkit-scrollbar-button {
    display: none;
    height: 0;
}
.suggest-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #111827;
  display: flex;
  justify-content: space-between;
}
.suggest-item:hover {
  background: #f0f9ff;
}
.suggest-symbol {
  font-weight: 700;
  color: #0f172a;
}
.suggest-name {
  font-size: 0.85rem;
  color: #64748b;
}
#symbol-input::placeholder, #commoditySearch::placeholder {
    font-size: 12px;
    color: #999; /* دلخواه */
}
#symbol-input, #commoditySearch {
    font-size: 13px;
}

/* استاتوس */
.status-open,
.status-closed {
    font-size: 12px;
    vertical-align: middle;
}
.status-unknown {
    color: #00036d;
}

/* نام نماد (responsive) */
#market-symbol {
    font-size: 1rem;     /* پیش‌فرض: موبایل */
    font-weight: 700;
    color: #00036d;
    padding-right:6px;
}

@media (min-width: 576px) {   /* sm به بالا */
    #market-symbol {
        font-size: 1.25rem;
        padding-right:6px;
    }
}

@media (min-width: 768px) {   /* md به بالا */
    #market-symbol {
        font-size: 1.4rem;
    }
}

@media (min-width: 1200px) {  /* xl به بالا */
    #market-symbol {
        font-size: 1.5rem;
    }
}

/* نام شرکت */
#market-name {
    color: #00036d;
    font-size: clamp(0.80rem, 1vw + 0.8rem, 1.1rem);
}

/* قیمت پایانی */
.stock-close {
    font-size: 0.85rem;
    line-height: 1.3;
}

/* درصد تغییر */
.stock-change {
    display: inline-block;
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

/* فلش بالا/پایین */
.stock-arrow {
    font-size: 0.85rem;
    margin-left: 0.2rem;
}


/* باکس اطلاعات بازار همیشه همین‌قدر فضا نگه دارد */
#market-data-container{
  min-height: 64px;            /* بسته به طراحی‌ات: 56-72px خوبه */
}

/* وقتی نمی‌خواهیم نمایش بدهیم، فقط نامرئی شود اما فضا حفظ شود */
.market-hidden{
  visibility: hidden;           /* فضا حفظ می‌شود */
  pointer-events: none;         /* کلیک نخورد */
  opacity: 0;                   /* محو */
}


/* ستون اول (شرح) فیکس شود */
table th.sticky-col-shareholder,
table td.sticky-col-shareholder {
    position: sticky;
    right: 0; /* چون راست به چپ هست، باید از right استفاده شود */
    z-index: 2;
    text-align: right;
    direction: rtl;
}
/* تنظیم متن چندخطی برای ستون شرح */
table td.sticky-col-shareholder {
    max-width: 90px;
    font-size: 12px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* بالاتر بردن header */
table thead th.sticky-col-shareholder {
    z-index: 5
}
/* فونت و سایز ریسپانسیو برای موبایل */
@media (max-width: 576px) {
    table td.sticky-col-shareholder {
        min-width: 80px ;
        font-size: 12px;
    }
}
.shareholder-info {
font-size: clamp(10px, 12px, 14px);
line-height: 2;
}
@media (max-width: 576px) {
.shareholder-info {
font-size: clamp(9px, 12px, 14px);
text-align: center;
}
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* سلول قیمت به‌طور کلی */
.price-cell {
transition: background-color 0.8s ease-out;
}

/* وقتی قیمت عوض شده باشد */
.price-cell.price-changed {
animation: priceHighlight 1.5s ease-out;
}

@keyframes priceHighlight {
0%   { background-color: #fff3a3; }  /* زرد پررنگ */
60%  { background-color: #fff9c4; }  /* زرد ملایم‌تر */
100% { background-color: transparent; } /* برگرد به حالت عادی */
}

/* ========== Skeleton Loading برای صفحات سیگنال هوشمند ========== */

.fm-skeleton-line {
  display: inline-block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5e7eb, #f9fafb, #e5e7eb);
  background-size: 200% 100%;
  animation: fm-skeleton-loading 1.1s ease-in-out infinite;
}

@keyframes fm-skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.fm-skeleton-wrapper {
  padding: 1.25rem 0.75rem;
}

.fm-skeleton-table table {
  margin-bottom: 0;
}

.fm-skeleton-table .fm-skeleton-line {
  height: 9px;
}

.fm-marketdata-skeleton .card-skeleton {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.fm-blur {
  filter: blur(2px);
  opacity: 0.6;
  pointer-events: none;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

/* ==========================
   Fundamental Header layout (market data + quickbar)
   ========================== */
.fm-header-info{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* مارکت دیتا همیشه فضای اصلی را بگیرد */
.fm-market-wrap{
  flex: 1 1 auto;
  min-width: 0;
}

/* ستون quickbar عرضش اتومات باشد */
.sd-quickbar-col{
  flex: 0 0 auto;
  margin-left:1%;
  text-align: left;   /* در دسکتاپ سمت چپ */
}

/* موبایل: زیر هم بیفتند */
@media (max-width: 767.98px){
  .fm-header-info{
    flex-direction: column;
    align-items: stretch;
  }
  .sd-quickbar-col{
    margin-top:-22px;
    text-align: right; /* در موبایل طبیعی‌تر برای RTL */
  }
}


/* ==========================
   Quickbar (همان طراحی صفحه جزئیات نماد)
   ========================== */
.sd-quickbar{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  background: none;
  border: none;
  border-radius: 14px;

  padding: 6px 10px;
  min-height: 24px;
  max-width: 100%;
}

.sd-quickbar-text{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1;
  font-size: 0.88rem;
  font-weight: 800;
  color: #111827;
}

.sd-quickbar-ticker{ font-weight: 900; }
.sd-quickbar-muted{ color: #6b7280; font-weight: 700; }

.sd-quickbar-icons{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
}

.sd-quickicon{
  width: 34px;
  height: 34px;
  border-radius: 10px;

  background: #ffffff;
  border: 1px solid rgba(203,213,225,.95);
  display: grid;
  place-items: center;
  text-decoration: none;

  color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(15,23,42,.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}

.sd-quickicon i{
  font-size: 1.05rem;
  line-height: 1;
}

.sd-quickicon:hover{
  background: #eef2ff;
  transform: translateY(-1px);
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 8px 16px rgba(15,23,42,.10);
}

.sd-quickicon:focus-visible{
  outline: 3px solid rgba(37,99,235,.28);
  outline-offset: 2px;
}

.sd-quickicon.disabled{
  opacity: .45;
  pointer-events: none;
  box-shadow: none;
}

/* Active state برای همین صفحه */
.sd-quickicon.is-active{
  background: #eef2ff;
  border-color: rgba(37,99,235,.35);
  color: #1d4ed8;
  box-shadow: none;
}

@media (max-width: 360px){
  .sd-quickbar-muted{ display:none; }
  .sd-quickicon{ width:32px; height:32px; }
}


/* ==========================
   Professional Tooltip Style
   ========================== */
.sd-tooltip .tooltip-inner{
  background: #0b1220;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15,23,42,.22);
  direction: rtl;
  text-align: center;
  letter-spacing: .1px;
}

.sd-tooltip.bs-tooltip-top .tooltip-arrow::before    { border-top-color: #0b1220; }
.sd-tooltip.bs-tooltip-bottom .tooltip-arrow::before { border-bottom-color: #0b1220; }
.sd-tooltip.bs-tooltip-start .tooltip-arrow::before  { border-left-color: #0b1220; }
.sd-tooltip.bs-tooltip-end .tooltip-arrow::before    { border-right-color: #0b1220; }

.sd-tooltip.show .tooltip-inner{
  animation: sdTooltipPop .14s ease-out;
}
@keyframes sdTooltipPop{
  from { transform: translateY(2px) scale(.98); opacity: .0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
/* Highcharts tooltip should be RTL, numbers inside stay LTR via .nx-num */
.nx-hc-tooltip{
  direction: rtl;
  text-align: right;
}

/* dot spacing should work in RTL/LTR */
.nx-hc-dot{
  margin-inline-end: 6px;
  margin-inline-start: 0;
}
/* فقط برای وسط‌چین کردن عدد و درصد کارت KPI */
.nx-kpi .nx-kpi-center{
  text-align: center;
  justify-content: center;
   width: 100%;
}

.nx-kpi .nx-kpi-sub-center{
  justify-content: center;   /* چون display:flex هست */
  text-align: center;
  width: 100%;
}

.nx-lock-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  white-space: nowrap;
  direction: rtl;
  cursor: default !important;
}
.nx-lock-title {
  cursor: default !important;
  pointer-events: none;
}
.nx-locked-th {
  cursor: default !important;
}
.nx-lock-info-btn {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: #334155;
  cursor: help !important;
  line-height: 1;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.nx-lock-info-btn:hover,
.nx-lock-info-btn:focus {
  background: #ffffff;
  color: #0f172a;
  transform: translateY(-1px);
  outline: none;
  cursor: help !important;
}
.nx-locked-th {
  position: relative;
  white-space: nowrap;
}
.nx-locked-th .nx-lock-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  cursor: help;
}
.nx-locked-th .nx-lock-head i {
  color: #f59e0b;
  font-size: .9rem;
}
.nx-locked-cell {
  min-width: 118px;
}
.nx-locked-cta {
  border: 1px solid rgba(245, 158, 11, .38);
  background: linear-gradient(135deg, rgba(255, 247, 237, .98), rgba(255, 255, 255, .88));
  color: #92400e;
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(245, 158, 11, .10);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  white-space: nowrap;
  direction: rtl;
}
.nx-locked-cta:hover,
.nx-locked-cta:focus {
  transform: translateY(-1px);
  border-color: rgba(245, 158, 11, .75);
  color: #78350f;
  box-shadow: 0 12px 28px rgba(245, 158, 11, .18);
  text-decoration: none;
}
.nx-locked-cta-upgrade {
  border-color: rgba(37, 99, 235, .28);
  background: linear-gradient(135deg, rgba(239, 246, 255, .98), rgba(255, 255, 255, .9));
  color: #1d4ed8;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .10);
}
.nx-locked-cta-upgrade:hover,
.nx-locked-cta-upgrade:focus {
  border-color: rgba(37, 99, 235, .58);
  color: #1e40af;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .16);
}
.nx-locked-value-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-width: 92px;
  height: 28px;
  border-radius: 999px;
  background: repeating-linear-gradient(135deg, rgba(148, 163, 184, .16) 0 7px, rgba(148, 163, 184, .25) 7px 14px);
  color: transparent;
  user-select: none;
  filter: blur(.15px);
}
.nx-pro-modal .modal-content {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
  overflow: hidden;
}
.nx-pro-modal-hero {
  background: radial-gradient(circle at top right, rgba(245, 158, 11, .26), transparent 34%), linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #fff;
}
.nx-pro-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
}
.nx-pro-feature-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.tooltip .tooltip-inner {
  background: linear-gradient(135deg, #012d67 30%, #123f73 100%) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  line-height: 1.7;
  padding: .15rem .35rem;
  border-radius: .45rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .42);
  max-width: 240px;
  text-align: center;
}

 /* برای حذف کردن علامت سوال زمانی که تولتیپ میخوایم ببینیم */
[data-bs-toggle="tooltip"],
[data-bs-toggle="tooltip"] *,
.nx-compact-number,
.nx-compact-number *,
.tooltip-trigger,
.tooltip-trigger *,
.has-tooltip,
.has-tooltip * {
  cursor: default !important;
}
/* Shared lock content wrapper for returns/symbol pages */
.sd-locked-cell-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
@media (max-width: 576px) {
  .nx-locked-cta { font-size: 10px; padding: .24rem .55rem; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Navexa Pro Export Toolbar (Excel/PDF)
   ────────────────────────────────────────────────────────────────────────── */
.nx-export-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin:12px 0 14px;
    padding:12px 14px;
    border:1px solid rgba(15,118,110,.16);
    border-radius:20px;
    background:
      radial-gradient(circle at top right, rgba(20,184,166,.14), transparent 32%),
      linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.92));
    box-shadow:0 14px 34px rgba(15,23,42,.08);
}
.nx-export-main{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
.nx-export-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    flex:0 0 auto;
    padding:7px 10px;
    border-radius:999px;
    font-size:.78rem;
    font-weight:800;
    color:#0f766e;
    background:rgba(20,184,166,.12);
    border:1px solid rgba(20,184,166,.24);
}
.nx-export-title{
    font-weight:900;
    color:#0f172a;
    line-height:1.8;
}
.nx-export-subtitle{
    color:#64748b;
    font-size:.84rem;
    line-height:1.7;
}
.nx-export-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
}
.nx-export-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:42px;
    padding:8px 12px;
    border-radius:14px;
    text-decoration:none !important;
    font-weight:850;
    border:1px solid transparent;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    white-space:nowrap;
}
.nx-export-btn small{
    display:inline-flex;
    color:inherit;
    opacity:.72;
    font-size:.68rem;
    font-weight:700;
    margin-inline-start:2px;
}
.nx-export-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 24px rgba(15,23,42,.12);
}
.nx-export-btn-excel{
    color:#166534;
    background:#ecfdf5;
    border-color:#bbf7d0;
}
.nx-export-btn-pdf{
    color:#991b1b;
    background:#fef2f2;
    border-color:#fecaca;
}
.nx-export-modal{
    border:0;
    border-radius:22px;
    box-shadow:0 24px 60px rgba(15,23,42,.24);
}
.nx-export-note{
    padding:10px 12px;
    border-radius:14px;
    background:#f8fafc;
    color:#475569;
    font-size:.88rem;
    line-height:1.8;
}
@media (max-width: 768px){
    .nx-export-card{
        align-items:stretch;
        flex-direction:column;
        border-radius:18px;
        padding:12px;
    }
    .nx-export-main{
        align-items:flex-start;
    }
    .nx-export-actions{
        display:grid;
        grid-template-columns:1fr 1fr;
        width:100%;
    }
    .nx-export-btn{
        width:100%;
        padding:9px 8px;
        font-size:.82rem;
    }
    .nx-export-btn small{
        display:none;
    }
}

/* v4: product-specific export toolbar refinements */
.nx-export-quota{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:3px;
    padding:4px 9px;
    border-radius:999px;
    background:rgba(15,23,42,.04);
    color:#475569;
    font-size:.74rem;
    font-weight:750;
}
.nx-export-card[data-export-mode="fundamental_pdf"]{
    border-color:rgba(153,27,27,.14);
    background:
      radial-gradient(circle at top right, rgba(248,113,113,.12), transparent 32%),
      linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.92));
}
.nx-export-card[data-export-mode="financial_excel"]{
    border-color:rgba(22,101,52,.16);
    background:
      radial-gradient(circle at top right, rgba(34,197,94,.12), transparent 32%),
      linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.92));
}
@media (max-width: 768px){
    .nx-export-actions{
        grid-template-columns:1fr;
    }
    .nx-export-quota{
        border-radius:14px;
        white-space:normal;
    }
}

/* v5: export access modal aligned with gold-market pro modal */
.nx-export-pro-modal .modal-content{
    border:0;
    border-radius:1.25rem;
    box-shadow:0 24px 70px rgba(15,23,42,.24);
    overflow:hidden;
}
.nx-export-pro-modal .nx-pro-modal-hero{
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.34), transparent 36%),
        radial-gradient(circle at bottom left, rgba(245,158,11,.20), transparent 42%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #2563eb 100%);
    color:#fff;
}
.nx-export-modal-icon{
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.24);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
}
.nx-export-modal-body{
    line-height:1.9;
    font-size:.94rem;
}
.nx-export-pro-modal .nx-pro-feature-pill{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    color:#334155;
    box-shadow:0 8px 20px rgba(15,23,42,.04);
}
.nx-export-pro-modal .nx-export-note{
    border:1px solid #dbeafe;
    background:linear-gradient(180deg,#eff6ff,#ffffff);
    color:#1e3a8a;
    border-radius:16px;
    padding:12px 14px;
    line-height:1.85;
}
.nx-export-modal-primary{
    border:0;
    background:linear-gradient(135deg,#1d4ed8,#2563eb);
    box-shadow:0 14px 32px rgba(37,99,235,.25);
}
.nx-export-modal-primary:hover,
.nx-export-modal-primary:focus{
    transform:translateY(-1px);
    box-shadow:0 18px 42px rgba(37,99,235,.32);
}

/* SEO intro blocks for symbol-level fundamental and financial pages */
.nx-seo-intro-card{
  margin: 14px 0 12px;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(13,110,253,.22), rgba(2,6,111,.14), rgba(255,255,255,.75));
  box-shadow: 0 16px 36px rgba(15,23,42,.07);
}
.nx-seo-intro-content{
  position: relative;
  overflow: hidden;
  border-radius: 21px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,250,255,.93));
  border: 1px solid rgba(219,228,244,.9);
  direction: rtl;
}
.nx-seo-intro-content::before{
  content:"";
  position:absolute;
  inset-inline-end:-42px;
  top:-52px;
  width:140px;
  height:140px;
  border-radius:999px;
  background: radial-gradient(circle, rgba(13,110,253,.14), rgba(13,110,253,0) 68%);
  pointer-events:none;
}
.nx-seo-intro-card .nx-seo-intro-content p {
  width: 100%;
  max-width: none !important;
  display: block;
}
.nx-seo-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border-radius:999px;
  background: rgba(13,110,253,.09);
  color:#0b5ed7;
  font-size:.78rem;
  font-weight:800;
  margin-bottom:8px;
}
.nx-seo-kicker::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:#0d6efd;
  box-shadow:0 0 0 4px rgba(13,110,253,.12);
}
.nx-seo-intro-card h2{
  margin:0 0 7px;
  color:#06155f;
  font-size:clamp(1rem, 1.5vw, 1.25rem);
  font-weight:900;
  letter-spacing:-.02em;
}
.nx-seo-intro-card p{
  margin:0;
  max-width:980px;
  color:#475569;
  font-size:.92rem;
  line-height:1.95;
}
.nx-seo-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.nx-seo-tags span{
  padding:4px 9px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e2e8f0;
  color:#334155;
  font-size:.76rem;
  font-weight:700;
}
@media (max-width: 576px){
  .nx-seo-intro-content{padding:13px 14px;}
  .nx-seo-intro-card p{font-size:.86rem; line-height:1.85;}
}




@media (max-width: 576px) {
  .fundamental-page .nx-chart-wrap,
  .fundamental-page .nx-chart,
  .fundamental-page .nx-chart-meta,
  .fundamental-page .highcharts-container,
  .fundamental-page .highcharts-root {
    display: block !important;
  }

  .fundamental-page .nx-chart-wrap{padding:10px 8px 4px;overflow:hidden;}
  .fundamental-page .nx-chart{min-height:300px;height:320px;}
  .fundamental-page .nx-chart-meta{display:flex!important;flex-direction:column;align-items:flex-start;font-size:.72rem;line-height:1.7;}
  .fundamental-page .nx-chip-row{align-items:flex-start;}
  .fundamental-page .nx-chip-group{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:4px;scrollbar-width:thin;}
  .fundamental-page .nx-chip{flex:0 0 auto;white-space:nowrap;font-size:.72rem;padding:6px 9px;}
  .fundamental-page .nx-export-subtitle{display:none!important;}
}
/* Financial reports SEO landing page */
.nx-financial-landing{
  background:
    radial-gradient(circle at 85% 8%, rgba(13,110,253,.14), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(2,6,111,.10), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 46%, #f8fafc 100%);
  color:#0f172a;
}
.nx-fr-hero{
  padding: clamp(22px, 4vw, 54px) 0 18px;
}
.nx-fr-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.72fr);
  gap: clamp(18px, 4vw, 44px);
  align-items:center;
}
.nx-fr-hero-copy{
  background: rgba(255,255,255,.72);
  border:1px solid rgba(219,228,244,.9);
  box-shadow:0 24px 70px rgba(15,23,42,.08);
  border-radius:30px;
  padding: clamp(18px, 3vw, 34px);
  backdrop-filter: blur(12px);
}
.nx-fr-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  color:#0b5ed7;
  background:rgba(13,110,253,.09);
  border:1px solid rgba(13,110,253,.14);
  font-weight:900;
  font-size:.8rem;
  margin-bottom:12px;
}
.nx-fr-eyebrow.light{
  background:#eff6ff;
}
.nx-fr-hero h1{
  max-width: 880px;
  margin:0;
  color:#06155f;
  font-size:clamp(1.65rem, 4vw, 3.2rem);
  font-weight:950;
  line-height:1.35;
  letter-spacing:-.045em;
}
.nx-fr-lead{
  margin:14px 0 0;
  max-width:850px;
  color:#475569;
  font-size:clamp(.81rem, 1.15vw, 0.95rem);
  line-height:2.15;
}
.nx-fr-search{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin-top:22px;
  padding:8px 10px;
  background:#fff;
  border:1px solid #dbe4f0;
  border-radius:20px;
  box-shadow:0 16px 35px rgba(15,23,42,.08);
}
.nx-fr-search > i{
  width:36px;height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#eff6ff;
  color:#0d6efd;
}
.nx-fr-search input{
  border:0;
  outline:0;
  min-height:42px;
  background:transparent;
  color:#0f172a;
  font-weight:700;
  font-size:.92rem;
}
.nx-fr-search input::placeholder{
  color:#94a3b8;
  font-weight:600;
}
.nx-fr-search button{
  border:0;
  border-radius:15px;
  padding:11px 16px;
  color:#fff;
  background:linear-gradient(135deg,#003d95,#0d6efd);
  font-weight:900;
  box-shadow:0 12px 24px rgba(13,110,253,.22);
  white-space:nowrap;
}
.nx-fr-suggest{
  top: calc(100% + 8px) !important;
  right: 10px !important;
  left: 10px !important;
  width: auto !important;
  border-radius:18px !important;
  box-shadow:0 22px 44px rgba(15,23,42,.16) !important;
  z-index: 30;
}
.nx-fr-trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:16px;
}
.nx-fr-trust-row span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#1e3a8a;
  background:#eff6ff;
  border:1px solid #dbeafe;
  border-radius:999px;
  padding:7px 11px;
  font-size:.78rem;
  font-weight:800;
}
.nx-fr-visual{
  min-height:360px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.nx-fr-window{
  width:min(100%, 520px);
  border-radius:28px;
  background:linear-gradient(145deg, rgba(255,255,255,.96), rgba(239,246,255,.92));
  border:1px solid rgba(219,228,244,.92);
  box-shadow:0 32px 90px rgba(2,6,111,.16);
  padding:16px;
  transform:perspective(900px) rotateY(-5deg) rotateX(3deg);
}
.nx-fr-window-head{
  display:flex;
  align-items:center;
  gap:7px;
  color:#64748b;
  padding:4px 4px 14px;
  direction:ltr;
}
.nx-fr-window-head span{
  width:10px;height:10px;border-radius:50%;background:#cbd5e1;
}
.nx-fr-window-head strong{
  margin-left:auto;
  font-size:.78rem;
  letter-spacing:.02em;
}
.nx-fr-tabs-preview{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}
.nx-fr-tabs-preview b{
  text-align:center;
  color:#0b5ed7;
  background:#eff6ff;
  border:1px solid #dbeafe;
  border-radius:14px;
  padding:10px 5px;
  font-size:.75rem;
}
.nx-fr-table-preview{
  display:grid;
  gap:10px;
  margin-top:14px;
}
.nx-fr-table-preview div{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:13px 14px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}
.nx-fr-table-preview span{color:#475569;font-weight:800;font-size:.86rem;}
.nx-fr-table-preview strong{color:#06155f;font-weight:950;}
.nx-fr-section{
  padding: clamp(20px, 3.5vw, 44px) 0;
}
.nx-fr-section-head{
  text-align:center;
  max-width:850px;
  margin:0 auto 20px;
}
.nx-fr-section-head span{
  display:inline-block;
  color:#0d6efd;
  font-weight:950;
  font-size:.78rem;
  margin-bottom:8px;
}
.nx-fr-section-head h2{
  color:#06155f;
  font-size:clamp(1.25rem, 2.3vw, 2rem);
  font-weight:950;
  letter-spacing:-.03em;
  margin:0 0 9px;
}
.nx-fr-section-head p{
  color:#64748b;
  line-height:2;
  margin:0;
}
.nx-fr-section-head-inline{
  max-width:none;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  text-align:right;
}
.nx-fr-section-head-inline p{max-width:420px;}
.nx-fr-module-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.nx-fr-module-card,
.nx-fr-symbol-card,
.nx-fr-faq-card,
.nx-fr-article-card{
  background:rgba(255,255,255,.92);
  border:1px solid #e2e8f0;
  box-shadow:0 16px 36px rgba(15,23,42,.06);
}
.nx-fr-module-card{
  border-radius:22px;
  padding:18px;
  transition:.22s ease;
}
.nx-fr-module-card:hover,
.nx-fr-symbol-card:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 46px rgba(15,23,42,.10);
  border-color:#bfdbfe;
}
.nx-fr-module-icon{
  width:42px;height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  color:#0d6efd;
  background:#eff6ff;
  margin-bottom:12px;
}
.nx-fr-module-card h3,
.nx-fr-faq-card h3{
  color:#06155f;
  font-size:1rem;
  font-weight:950;
  margin:0 0 8px;
}
.nx-fr-module-card p,
.nx-fr-faq-card p,
.nx-fr-article-card p{
  color:#64748b;
  line-height:1.95;
  font-size:.9rem;
  margin:0;
}
.nx-fr-symbols-section{
  background:linear-gradient(180deg, rgba(239,246,255,.55), rgba(255,255,255,.85));
}
.nx-fr-symbol-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
}
.nx-fr-symbol-card{
  display:block;
  text-decoration:none;
  border-radius:20px;
  padding:14px;
  min-height:116px;
  color:inherit;
}
.nx-fr-symbol-card strong{
  display:block;
  color:#0b5ed7;
  font-size:1.05rem;
  font-weight:950;
  margin-bottom:7px;
}
.nx-fr-symbol-card span{
  display:block;
  color:#0f172a;
  font-size:.82rem;
  font-weight:850;
  line-height:1.6;
  min-height:38px;
}
.nx-fr-symbol-card small{
  display:inline-block;
  margin-top:8px;
  color:#64748b;
  font-size:.72rem;
}
.nx-fr-article-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:20px;
  border-radius:28px;
  padding:clamp(18px,3vw,30px);
}
.nx-fr-article-card h2{
  color:#06155f;
  font-weight:950;
  font-size:clamp(1.2rem,2vw,1.75rem);
  margin:0 0 12px;
}
.nx-fr-article-card p + p{margin-top:10px;}
.nx-fr-checklist{
  display:grid;
  align-content:center;
  gap:10px;
}
.nx-fr-checklist span{
  display:flex;
  align-items:center;
  gap:8px;
  border-radius:16px;
  padding:11px 12px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#334155;
  font-weight:850;
  font-size:.84rem;
}
.nx-fr-checklist i{color:#0d6efd;}
.nx-fr-faq-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.nx-fr-faq-card{
  border-radius:22px;
  padding:18px;
}

/* Enhanced symbol-level SEO intro */
.nx-symbol-seo-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) 270px;
  gap:16px;
  align-items:stretch;
}
.nx-symbol-seo-aside{
  border-radius:18px;
  background:linear-gradient(180deg,#eff6ff,#fff);
  border:1px solid #dbeafe;
  padding:14px;
  display:grid;
  gap:8px;
  align-content:start;
}
.nx-symbol-seo-aside strong{
  color:#06155f;
  font-weight:950;
  font-size:.88rem;
}
.nx-symbol-seo-aside a{
  color:#0b5ed7;
  text-decoration:none;
  font-weight:850;
  font-size:.8rem;
  padding:7px 9px;
  border-radius:12px;
  background:#fff;
  border:1px solid #e2e8f0;
}
.nx-symbol-seo-aside a:hover{background:#f8fafc;}
.nx-symbol-module-strip{
  margin-top:12px;
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.nx-symbol-module-strip span{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#334155;
  border-radius:999px;
  padding:5px 9px;
  font-size:.73rem;
  font-weight:800;
}

@media (max-width: 1200px){
  .nx-fr-symbol-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width: 992px){
  .nx-fr-hero-grid{grid-template-columns:1fr;}
  .nx-fr-visual{min-height:auto;}
  .nx-fr-window{transform:none;}
  .nx-fr-module-grid,.nx-fr-faq-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .nx-fr-article-card{grid-template-columns:1fr;}
  .nx-symbol-seo-main{grid-template-columns:1fr;}
}
@media (max-width: 768px){
  .nx-fr-section-head-inline{display:block;text-align:center;}
  .nx-fr-section-head-inline p{max-width:none;margin-top:8px;}
  .nx-fr-symbol-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .nx-fr-search{grid-template-columns:auto minmax(0,1fr);}
  .nx-fr-search button{grid-column:1 / -1;width:100%;}
  .nx-fr-tabs-preview{grid-template-columns:repeat(2,1fr);}
}
@media (max-width: 576px){
  .nx-fr-hero-copy{border-radius:22px;padding:16px;}
  .nx-fr-module-grid,.nx-fr-faq-grid{grid-template-columns:1fr;}
  .nx-fr-symbol-card{min-height:105px;padding:12px;}
  .nx-fr-hero h1{font-size:1.55rem;}
  .nx-fr-lead{font-size:.9rem;line-height:2;}
  .nx-fr-trust-row span{font-size:.73rem;}
}

/* -------------------------------------------------------------------------- */
/* SEO Landing: Fundamental Analysis                                           */
/* -------------------------------------------------------------------------- */
.nx-fundamental-landing .nx-fr-eyebrow i,
.nx-fundamental-landing .nx-fr-checklist i,
.nx-fundamental-landing .nx-fr-module-icon i{
  color:#0d6efd;
}
.nx-fundamental-landing .nx-fr-module-card h3,
.nx-fundamental-landing .nx-fr-faq-card h3{
  letter-spacing:-.01em;
}
.nx-fundamental-landing .nx-fr-table-preview strong{
  direction:ltr;
  display:inline-flex;
}
.nx-symbol-seo-card .nx-symbol-module-strip{
  margin-top:14px;
}

/* -------------------------------------------------------------------------- */
/* SEO Landing: Shareholders                                                   */
/* -------------------------------------------------------------------------- */
.nx-shareholders-landing .nx-fr-eyebrow i,
.nx-shareholders-landing .nx-fr-checklist i,
.nx-shareholders-landing .nx-fr-module-icon i{
  color:#0d6efd;
}
.nx-shareholders-landing .nx-fr-hero-copy{
  position:relative;
  overflow:visible;
}
.nx-share-search-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:22px;
}
.nx-share-search-grid .nx-fr-search{
  margin-top:0;
}
.nx-share-window .nx-fr-table-preview strong{
  direction:rtl;
}
.nx-share-holder-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.nx-share-holder-card{
  display:grid;
  gap:8px;
  text-decoration:none;
  color:inherit;
  border-radius:22px;
  padding:16px;
  background:rgba(255,255,255,.92);
  border:1px solid #e2e8f0;
  box-shadow:0 16px 36px rgba(15,23,42,.06);
  min-height:132px;
  transition:.22s ease;
}
.nx-share-holder-card:hover{
  transform:translateY(-3px);
  border-color:#bfdbfe;
  box-shadow:0 20px 46px rgba(15,23,42,.10);
}
.nx-share-holder-card i{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  color:#0d6efd;
  background:#eff6ff;
}
.nx-share-holder-card strong{
  color:#06155f;
  font-weight:950;
  font-size:.92rem;
  line-height:1.85;
}
.nx-share-holder-card small{
  color:#64748b;
  font-weight:800;
  font-size:.76rem;
}
.nx-shareholders-seo-card .nx-seo-intro-content{
  background:linear-gradient(135deg, rgba(255,255,255,.97), rgba(248,251,255,.94));
}
@media (min-width: 1200px){
  .nx-share-search-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 992px){
  .nx-share-holder-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 576px){
  .nx-share-holder-grid{grid-template-columns:1fr;}
  .nx-share-search-grid .nx-fr-search{border-radius:17px;}
  .nx-share-holder-card{min-height:auto;padding:14px;}
}


/* -------------------------------------------------------------------------- */
/* Guest demo popup: free sample symbol (فملی)                                 */
/* -------------------------------------------------------------------------- */
.nx-demo-popup{
  position:fixed;
  left:clamp(14px, 3vw, 28px);
  bottom:clamp(14px, 3vw, 28px);
  z-index:1075;
  width:min(440px, calc(100vw - 28px));
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:14px;
  align-items:start;
  padding:16px;
  border-radius:26px;
  background:
    radial-gradient(circle at 12% 0%, rgba(13,110,253,.18), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.97), rgba(248,251,255,.94));
  border:1px solid rgba(191,219,254,.92);
  box-shadow:0 28px 80px rgba(2,6,111,.22), 0 10px 26px rgba(15,23,42,.10);
  opacity:0;
  pointer-events:none;
  transform:translateY(22px) scale(.97);
  transition:opacity .28s ease, transform .28s ease;
  overflow:hidden;
}
.nx-demo-popup.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}
.nx-demo-popup.is-hiding{
  opacity:0;
  pointer-events:none;
  transform:translateY(18px) scale(.98);
}
.nx-demo-popup-glow{
  position:absolute;
  inset:auto -70px -90px auto;
  width:190px;
  height:190px;
  border-radius:999px;
  background:rgba(13,110,253,.11);
  filter:blur(4px);
}
.nx-demo-popup-icon{
  width:54px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  color:#fff;
  background:linear-gradient(135deg, #0d6efd, #06155f);
  box-shadow:0 14px 32px rgba(13,110,253,.28);
  position:relative;
  z-index:1;
}
.nx-demo-popup-icon i{font-size:1.35rem;}
.nx-demo-popup-body{position:relative;z-index:1;padding-left:22px;}
.nx-demo-popup-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#0b5ed7;
  background:#eff6ff;
  border:1px solid #dbeafe;
  border-radius:999px;
  padding:5px 9px;
  font-weight:950;
  font-size:.72rem;
  margin-bottom:9px;
}
.nx-demo-popup h3{
  color:#06155f;
  font-size:1rem;
  font-weight:950;
  line-height:1.75;
  margin:0 0 6px;
}
.nx-demo-popup p{
  color:#475569;
  line-height:1.95;
  font-size:.84rem;
  margin:0;
}
.nx-demo-popup-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:13px;
}
.nx-demo-popup-primary,
.nx-demo-popup-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  border-radius:14px;
  padding:8px 12px;
  text-decoration:none;
  font-weight:950;
  font-size:.78rem;
  transition:.18s ease;
}
.nx-demo-popup-primary{
  color:#fff;
  background:linear-gradient(135deg, #0d6efd, #06155f);
  box-shadow:0 12px 24px rgba(13,110,253,.22);
}
.nx-demo-popup-primary:hover{color:#fff;transform:translateY(-1px);}
.nx-demo-popup-secondary{
  color:#0b5ed7;
  background:#fff;
  border:1px solid #dbeafe;
}
.nx-demo-popup-secondary:hover{background:#eff6ff;color:#06155f;}
.nx-demo-popup-close{
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:12px;
  color:#64748b;
  background:rgba(255,255,255,.82);
  box-shadow:0 8px 18px rgba(15,23,42,.08);
  transition:.18s ease;
}
.nx-demo-popup-close:hover{color:#06155f;background:#fff;transform:rotate(4deg);}
@media (max-width: 576px){
  .nx-demo-popup{
    right:14px;
    left:14px;
    bottom:14px;
    width:auto;
    grid-template-columns:44px minmax(0,1fr);
    border-radius:22px;
    padding:13px;
  }
  .nx-demo-popup-icon{width:44px;height:44px;border-radius:16px;}
  .nx-demo-popup-body{padding-left:18px;}
  .nx-demo-popup h3{font-size:.92rem;}
  .nx-demo-popup p{font-size:.78rem;line-height:1.85;}
  .nx-demo-popup-actions{display:grid;grid-template-columns:1fr;}
}

/* Parallel markets SEO landing blocks: Gold / Silver */
.nx-parallel-market-page{
  --pm-primary:#f5a623;
  --pm-primary-dark:#8a5a00;
  --pm-soft:#fff7df;
  --pm-border:rgba(245,166,35,.18);
  --pm-shadow:0 24px 70px rgba(15,23,42,.10);
}
.nx-silver-market-page{
  --pm-primary:#94a3b8;
  --pm-primary-dark:#475569;
  --pm-soft:#f8fafc;
  --pm-border:rgba(100,116,139,.18);
}
.nx-pm-hero{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  margin:8px 0 22px;
  padding:28px 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.90), transparent 30%),
    linear-gradient(135deg, #fff8df 0%, #fff 45%, #f8fafc 100%);
  border:1px solid var(--pm-border);
  box-shadow:var(--pm-shadow);
}
.nx-pm-hero-silver{
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.95), transparent 30%),
    linear-gradient(135deg, #f8fafc 0%, #fff 48%, #eef2f7 100%);
}
.nx-pm-hero::before{
  content:"";
  position:absolute;
  inset:auto -80px -140px auto;
  width:330px;
  height:330px;
  border-radius:999px;
  background:rgba(245,166,35,.14);
  filter:blur(4px);
}
.nx-silver-market-page .nx-pm-hero::before{background:rgba(100,116,139,.14);}
.nx-pm-hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);
  align-items:center;
  gap:28px;
}
.nx-pm-hero-copy{padding:18px 24px 18px 8px;}
.nx-pm-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 13px;
  border-radius:999px;
  color:var(--pm-primary-dark);
  background:rgba(255,255,255,.75);
  border:1px solid var(--pm-border);
  font-weight:900;
  font-size:.82rem;
  margin-bottom:14px;
}
.nx-pm-eyebrow i{color:var(--pm-primary);}
.nx-pm-hero h1{
  max-width:820px;
  margin:0;
  font-size:clamp(1.35rem,2.9vw,2.35rem);
  line-height:1.65;
  font-weight:950;
  color:#0f172a;
  letter-spacing:-.02em;
}
.nx-pm-lead{
  max-width:860px;
  margin:13px 0 18px;
  color:#475569;
  font-weight:650;
  line-height:2.05;
  font-size:.9rem;
}
.nx-pm-search{
  max-width:680px;
  margin:0 0 14px;
}
.nx-pm-search .search-box{
  min-height:52px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(148,163,184,.28);
  box-shadow:0 14px 34px rgba(15,23,42,.08);
}
.nx-pm-search input{font-weight:800;}
.nx-pm-trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:12px;
}
.nx-pm-trust-row span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(226,232,240,.9);
  color:#334155;
  font-weight:850;
  font-size:.82rem;
}
.nx-pm-trust-row i{color:var(--pm-primary);}
.nx-pm-visual{padding:10px 12px 10px 24px;}
.nx-pm-terminal{
  border-radius:24px;
  padding:14px;
  background:rgba(15,23,42,.94);
  box-shadow:0 26px 70px rgba(15,23,42,.25);
  color:#fff;
  transform:rotate(-1deg);
}
.nx-pm-terminal-head{
  display:flex;
  align-items:center;
  gap:7px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.nx-pm-terminal-head span{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.36);}
.nx-pm-terminal-head strong{margin-right:auto;font-size:.78rem;color:#cbd5e1;letter-spacing:.03em;}
.nx-pm-ticker-row{
  display:grid;
  grid-template-columns:1.2fr .8fr .9fr;
  gap:9px;
  margin-top:12px;
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
}
.nx-pm-ticker-row b{font-size:.88rem;}
.nx-pm-ticker-row strong{color:#facc15;font-size:.84rem;}
.nx-silver-market-page .nx-pm-ticker-row strong{color:#cbd5e1;}
.nx-pm-ticker-row em{font-style:normal;color:#94a3b8;font-size:.78rem;}
.nx-pm-chart{
  height:92px;
  display:flex;
  align-items:end;
  gap:10px;
  padding:16px 10px 4px;
}
.nx-pm-chart i{
  flex:1;
  border-radius:999px 999px 6px 6px;
  background:linear-gradient(180deg, var(--pm-primary), rgba(255,255,255,.15));
  min-height:28px;
}
.nx-pm-chart i:nth-child(1){height:42%;}
.nx-pm-chart i:nth-child(2){height:68%;}
.nx-pm-chart i:nth-child(3){height:52%;}
.nx-pm-chart i:nth-child(4){height:84%;}
.nx-pm-chart i:nth-child(5){height:62%;}
.nx-pm-main,
.nx-pm-section{margin:22px 0;}
.nx-pm-section-head{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:14px;
}
.nx-pm-section-head span{
  color:var(--pm-primary-dark);
  font-weight:950;
  font-size:.82rem;
}
.nx-pm-section-head h2{
  margin:0;
  font-size:clamp(1.05rem,2vw,1.55rem);
  line-height:1.7;
  font-weight:950;
  color:#111827;
}
.nx-pm-section-head p{
  max-width:900px;
  font-size:.88rem;
  margin:0;
  color:#64748b;
  font-weight:650;
  line-height:1.95;
}
.nx-gold-modules-head p, .nx-gold-modules-head h2{
  max-width: 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.nx-pm-data-card{
  overflow:hidden;
  border:1px solid rgba(226,232,240,.8)!important;
}
.nx-pm-data-card .responsive-title h6{font-size:12px!important;}
.nx-pm-module-grid,
.nx-pm-faq-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.nx-pm-module-card,
.nx-pm-faq-card{
  background:#fff;
  border:1px solid rgba(226,232,240,.95);
  border-radius:22px;
  padding:17px;
  box-shadow:0 16px 44px rgba(15,23,42,.06);
}
.nx-pm-module-card span{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:15px;
  margin-bottom:12px;
  background:var(--pm-soft);
  color:var(--pm-primary-dark);
}
.nx-pm-module-card h3,
.nx-pm-faq-card h3{
  font-size:.95rem;
  line-height:1.75;
  margin:0 0 7px;
  font-weight:950;
  color:#0f172a;
}
.nx-pm-module-card p,
.nx-pm-faq-card p{
  margin:0;
  color:#64748b;
  font-weight:650;
  line-height:1.95;
  font-size:.86rem;
}
.nx-share-empty-card {
  padding: 22px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: #475569;
}
.nx-pm-faq-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.nx-pm-seo-block .nx-seo-intro-card{margin:0;}
@media (max-width: 1100px){
  .nx-pm-hero-grid{grid-template-columns:1fr;}
  .nx-pm-visual{padding:0 24px 12px;}
  .nx-pm-terminal{transform:none;}
  .nx-pm-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 768px){
  .nx-pm-hero{border-radius:22px;padding:18px 0;margin-top:0;}
  .nx-pm-hero-copy{padding:12px 16px;}
  .nx-pm-lead{font-size:.9rem;line-height:1.9;}
  .nx-pm-search .search-box{min-height:48px;border-radius:16px;}
  .nx-pm-trust-row span{font-size:.76rem;}
  .nx-pm-visual{display:none;}
  .nx-pm-module-grid,.nx-pm-faq-grid{grid-template-columns:1fr;}
  .nx-pm-section-head p{font-size:.86rem;}
}

/* =========================
   Market price cards (Gold/Silver)
   ========================= */
.nx-market-cards-section{
  padding:22px 0 10px;
  position:relative;
  overflow:hidden;
}
.nx-market-cards-head{
  margin-bottom:14px;
}
.nx-market-cards-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
  min-width:0;
}
.nx-market-card{
  position:relative;
  min-width:0;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(226,232,240,.92);
  border-radius:22px;
  padding:16px;
  box-shadow:0 16px 40px rgba(15,23,42,.065);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  isolation:isolate;
}
.nx-market-card::before{
  content:"";
  position:absolute;
  inset:-65% auto auto -26%;
  width:170px;
  height:170px;
  border-radius:999px;
  background:rgba(37,99,235,.08);
  z-index:-1;
}
.nx-market-card:hover{
  transform:translateY(-2px);
  border-color:rgba(148,163,184,.42);
  box-shadow:0 22px 50px rgba(15,23,42,.09);
}
.nx-market-price-card{
  grid-column:span 3;
  min-height:190px;
}
.nx-market-card-primary{
  grid-column:span 4;
  order:2;
  display:flex;
  flex-direction:column;
}
.nx-market-card-primary .nx-market-sparkline{
  flex:1 1 auto;
}
.nx-market-price-card:not(.nx-market-card-primary){
  order:3;
}
.nx-market-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:12px;
  min-width:0;
}
.nx-market-card-title{
  margin:0;
  color:#0f172a;
  font-size:.98rem;
  font-weight:950;
  line-height:1.65;
}
.nx-market-card-body{
  margin-top:8px;
}
.nx-market-card-value-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  direction:ltr;
}
.nx-market-card-price-side,
.nx-market-card-change-side{
  min-width:0;
}
.nx-market-card-price-side{
  display:flex;
  align-items:baseline;
  gap:6px;
  direction:rtl;
  text-align:left;
  justify-content:flex-start;
}
.nx-market-card-change-side{
  display:flex;
  align-items:center;
  gap:7px;
  direction:ltr;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.nx-market-card-price{
  font-weight:900;
  line-height:1.1;
  letter-spacing:-0.03em;
  font-size:clamp(0.85rem, 1vw, 1.1rem);
  color:#0f172a;
}
.nx-market-card-unit{
  color:#64748b;
  font-weight:700;
  font-size:.78rem;
  white-space:nowrap;
}
.nx-market-card-change{
  border-radius:999px;
  padding:4px 9px;
  font-weight:800;
  font-size:.78rem;
  white-space:nowrap;
}
.nx-market-card-change-value{
  color:#94a3b8;
  font-weight:800;
  font-size:.78rem;
  white-space:nowrap;
}
.nx-market-card-positive .nx-market-card-change{
  color:#15803d;
  background:rgba(22,163,74,.12);
}
.nx-market-card-negative .nx-market-card-change{
  color:#dc2626;
  background:rgba(220,38,38,.12);
}
.nx-market-card-neutral .nx-market-card-change{
  color:#475569;
  background:rgba(100,116,139,.12);
}
.nx-market-card-positive .nx-market-card-change-value{
  color:#16a34a;
}
.nx-market-card-negative .nx-market-card-change-value{
  color:#dc2626;
}
.nx-market-card-meta{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(226,232,240,.9);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px 14px;
  flex-wrap:wrap;
  color:#475569;
  font-size:.82rem;
  font-weight:700;
}
.nx-market-card-fallback{
  width:100%;
  color:#b45309;
  font-size:.82rem;
}
.nx-market-sparkline{
  width:100%;
  margin-top:12px;
  min-height:92px;
}
@media (min-width:1200px){
  .nx-market-card-primary .nx-market-sparkline{
    min-height:150px;
    margin-top:8px;
  }
  .nx-market-card-primary .nx-market-card-meta{
    margin-top:8px;
    padding-top:8px;
  }
}
.nx-market-card-value-updated .nx-market-card-price{
  animation:nxMarketPricePulse 1s ease;
}
.nx-market-card-update-time {
  direction: ltr;
  text-align: left;
  margin-right: auto;
    color:rgba(26, 36, 46,0.5);
    font-size:clamp(0.68rem, 0.75vw, 0.9rem);
}
@keyframes nxMarketPricePulse{
  0%{background:rgba(34,197,94,.18); box-shadow:0 0 0 0 rgba(34,197,94,.18);}
  100%{background:transparent; box-shadow:0 0 0 10px rgba(34,197,94,0);}
}
.nx-market-sparkline .apexcharts-area-series .apexcharts-area{
  fill-opacity:1 !important;
}
.nx-market-sparkline .apexcharts-canvas,
.nx-market-sparkline .apexcharts-canvas svg{
  overflow:visible;
}
.nx-market-card-calc{
  order:1;
  grid-column:span 8;
  min-height:260px;
  padding:20px 22px;
  border-radius:26px;
  border-color:rgba(191,219,254,.95);
  background:linear-gradient(135deg,#f8fbff 0%,#ffffff 56%,#f7fbff 100%);
  box-shadow:0 20px 50px rgba(37,99,235,.095);
}
.nx-market-card-calc::before{
  width:220px;
  height:220px;
  inset:-28% auto auto -8%;
  background:rgba(59,130,246,.10);
}
.nx-market-cards-gold .nx-market-card-calc{
  border-color:rgba(245,158,11,.22);
  background:linear-gradient(135deg,#fffaf0 0%,#ffffff 55%,#fffdf7 100%);
  box-shadow:0 22px 52px rgba(245,158,11,.11);
}
.nx-market-cards-gold .nx-market-card-calc::before{
  background:rgba(245,158,11,.14);
}
.nx-market-cards-silver .nx-market-card-calc{
  border-color:rgba(148,163,184,.30);
  background:linear-gradient(135deg,#f8fafc 0%,#ffffff 55%,#f8fbff 100%);
  box-shadow:0 22px 52px rgba(100,116,139,.10);
}
.nx-market-cards-silver .nx-market-card-calc::before{
  background:rgba(148,163,184,.16);
}
.nx-market-card-calc:hover{
  transform:none;
  border-color:inherit;
  box-shadow:inherit;
}
.nx-market-card-calc-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.nx-market-card-calc-kicker{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(37,99,235,.10);
  color:#1d4ed8;
  font-size:.76rem;
  font-weight:900;
  margin-bottom:8px;
}
.nx-market-cards-gold .nx-market-card-calc-kicker{
  background:rgba(245,158,11,.16);
  color:#b45309;
}
.nx-market-cards-silver .nx-market-card-calc-kicker{
  background:rgba(148,163,184,.18);
  color:#475569;
}
.nx-market-card-calc-title{
  margin:0 0 6px;
  font-size:1.08rem;
  font-weight:950;
  line-height:1.75;
  color:#0f172a;
}
.nx-market-card-calc-desc{
  margin:0;
  color:#64748b;
  line-height:1.9;
  font-size:.88rem;
}
.nx-market-card-calc-icon{
  flex:0 0 auto;
  width:44px;
  height:44px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.08);
  color:#0f172a;
  font-size:1.16rem;
}
.nx-market-card-calc-form{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:12px;
}
.nx-market-card-calc-field label{
  display:block;
  margin-bottom:6px;
  color:#475569;
  font-size:.8rem;
  font-weight:800;
}
.nx-market-card-calc-field input{
  width:100%;
  min-width:0;
  height:42px;
  border:1px solid rgba(203,213,225,.95);
  border-radius:13px;
  background:#fff;
  padding:0 13px;
  color:#0f172a;
  font-size:.9rem;
  font-weight:700;
  direction:ltr;
  text-align:left;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.nx-market-card-calc-field input:focus{
  outline:none;
  border-color:rgba(59,130,246,.65);
  box-shadow:0 0 0 4px rgba(59,130,246,.10);
}
.nx-market-card-calc-results{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.nx-market-card-calc-result{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(226,232,240,.95);
  border-radius:16px;
  padding:12px 14px;
  min-height:78px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:border-color .2s ease, background-color .2s ease;
}
.nx-market-card-calc-result-label{
  color:#64748b;
  font-size:.8rem;
  font-weight:800;
  line-height:1.7;
}
.nx-market-card-calc-result-value{
  display:flex;
  align-items:baseline;
  justify-content:flex-start;
  gap:6px;
  color:#0f172a;
  direction:ltr;
  text-align:left;
}
.nx-market-card-calc-result-value-money{
  direction:ltr;
  justify-content:flex-start;
}
.nx-market-card-calc-result-value strong{
  direction:ltr;
  unicode-bidi:isolate;
  font-size:0.9rem;
  line-height:1.2;
  font-weight:900;
  letter-spacing:-.02em;
}
.nx-market-card-calc-result-unit{
  color:#64748b;
  font-size:.8rem;
  font-weight:800;
  white-space:nowrap;
}
.nx-market-card-calc-result-value-money .nx-market-card-calc-result-unit{
  order:-1;
}
.nx-market-card-calc-result.is-positive{
  border-color:rgba(22,163,74,.26);
  background:rgba(240,253,244,.95);
}
.nx-market-card-calc-result.is-negative{
  border-color:rgba(220,38,38,.24);
  background:rgba(254,242,242,.95);
}
.nx-market-card-calc-result.is-positive .nx-market-card-calc-result-value,
.nx-market-card-calc-result.is-positive .nx-market-card-calc-result-value strong{
  color:#16a34a;
}
.nx-market-card-calc-result.is-negative .nx-market-card-calc-result-value,
.nx-market-card-calc-result.is-negative .nx-market-card-calc-result-value strong{
  color:#dc2626;
}
.nx-market-card-calc-locked{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  text-align:center;
  border-color:rgba(226,232,240,.95);
  background:linear-gradient(145deg,#ffffff 0%,#fbfdff 58%,#f8fafc 100%);
  box-shadow:0 20px 50px rgba(15,23,42,.09);
}
.nx-market-card-calc-locked:hover{
  transform:none;
  border-color:rgba(226,232,240,.95);
  box-shadow:0 20px 50px rgba(15,23,42,.09);
}
.nx-market-card-calc-locked-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  text-align:right;
}
.nx-market-card-calc-lock-message{
  margin:10px 0 8px;
  padding:14px 16px;
  border-radius:16px;
  background:rgba(248,250,252,.92);
  border:1px solid rgba(241,245,249,.95);
}
.nx-market-card-calc-lock-message p{
  margin:0;
  color:#0f172a;
  line-height:2;
  font-size:.94rem;
  font-weight:650;
}
.nx-market-card-calc-locked-preview{
  position:relative;
  margin:4px 0 10px;
  padding:6px 0;
  filter:blur(5px);
  opacity:.48;
  user-select:none;
  pointer-events:none;
}
.nx-market-card-calc-locked-preview::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.2),rgba(255,255,255,.72),rgba(255,255,255,.2));
}
.nx-market-card-calc-preview-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:10px;
}
.nx-market-card-calc-preview-row span{
  height:38px;
  border-radius:13px;
  background:linear-gradient(135deg,#e2e8f0,#f8fafc);
  border:1px solid rgba(203,213,225,.9);
}
.nx-market-card-calc-preview-row-results span{
  height:54px;
  background:linear-gradient(135deg,#dbeafe,#f8fafc);
}
.nx-market-card-calc-lock-footer{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:auto;
  color:#0f172a;
  font-size:.88rem;
  font-weight:800;
  line-height:1.8;
  flex-wrap:wrap;
}
.nx-market-card-calc-lock-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 20px;
  border-radius:12px;
  background:#f6c85f;
  border:1px solid #0f172a;
  color:#111827;
  text-decoration:none;
  font-weight:950;
  box-shadow:0 8px 18px rgba(15,23,42,.10);
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.nx-market-card-calc-lock-cta:hover{
  transform:translateY(-1px);
  color:#111827;
  background:#f8d579;
  box-shadow:0 12px 24px rgba(15,23,42,.14);
}
.nx-market-cards-gold .nx-market-card-calc-locked{
  background:linear-gradient(145deg,#ffffff 0%,#fffaf0 62%,#ffffff 100%);
}
.nx-market-cards-silver .nx-market-card-calc-locked{
  background:linear-gradient(145deg,#ffffff 0%,#f8fafc 62%,#ffffff 100%);
}
@media (max-width:1199.98px){
  .nx-market-cards-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .nx-market-price-card,
  .nx-market-card-primary{
    grid-column:auto;
    order:1;
  }
  .nx-market-card-calc{
    grid-column:1 / -1;
    order:99;
    min-height:unset;
  }
}
@media (max-width:767.98px){
  .nx-market-cards-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
  .nx-market-card,
  .nx-market-card-calc,
  .nx-market-price-card,
  .nx-market-card-primary{
    min-height:unset;
  }
  .nx-market-card{
    padding:16px;
    border-radius:22px;
  }
  .nx-market-card-meta{
    font-size:.8rem;
    gap:8px 12px;
  }
  .nx-market-card-calc-form,
  .nx-market-card-calc-results,
  .nx-market-card-calc-preview-row{
    grid-template-columns:1fr;
  }
  .nx-market-card-calc-lock-footer{
    flex-direction:column;
  }
}
@media (max-width:575.98px){
  .nx-market-card-value-row{
    gap:8px;
  }
  .nx-market-card-change-side{
    gap:6px;
  }
  .nx-market-card-change,
  .nx-market-card-change-value,
  .nx-market-card-unit{
    font-size:.74rem;
  }

  .nx-market-sparkline{
    min-height:92px;
  }
  .nx-market-card-calc-title{
    font-size:1rem;
  }
  .nx-market-card-calc-desc,
  .nx-market-card-calc-lock-message p{
    font-size:.82rem;
  }
  .nx-market-card-calc-result{
    min-height:76px;
  }
  .nx-market-card-calc-result-value strong{
    font-size:1.08rem;
  }
}


@media (max-width: 992px){
  .nx-exec-grid,.nx-reason-grid{grid-template-columns:1fr;}
  .nx-snap-actions{width:100%;}
}
@media (max-width: 576px){
  #nx-fund-snapshot{border-radius:16px;overflow:hidden;}
  .nx-snapshot-shell{padding:12px!important;}
  .nx-snap-title{font-size:.95rem;}
  .nx-snap-sub{font-size:.72rem;line-height:1.8;}
  .nx-snap-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;}
  .nx-snap-action{width:100%;padding:6px 8px;font-size:.7rem;}
  .nx-exec-card{padding:11px 12px;}
  .nx-kpi{padding:9px 10px;border-radius:12px;}
  .nx-kpi-value{font-size:.86rem;}
  .nx-kpi-sub{font-size:.67rem;gap:5px;align-items:flex-start;flex-direction:column;}
  .nx-decision-kpi .nx-kpi-sub{
  flex-direction:row;
  align-items:center;
  justify-content:center;
}
  .nx-overall-num{font-size:2rem;}
  .nx-meter-row{grid-template-columns:82px minmax(0,1fr) 28px;gap:8px;}
  .nx-reason-col ul{font-size:.74rem;}
  .nx-fs-desktop{display:none!important;}
  .nx-fs-mobile{display:block;}
  #nx-fs-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px;}
  #nx-fs-chips .nx-chip{flex:0 0 auto;}
}
@media (max-width: 576px){
  .nx-fs-card .nx-report{white-space:normal;line-height:1.7;}
}


/* v2.1 polish: SEO stays available, but no longer pushes the analytical core down. */
.nx-symbol-seo-after-analysis{
  margin-top:18px;
  margin-bottom:22px;
}
.nx-symbol-seo-after-analysis .nx-seo-intro-content{
  padding:15px 16px;
}
.nx-symbol-seo-after-analysis h2{
  font-size:1rem;
}
.nx-symbol-seo-after-analysis p{
  font-size:.86rem;
  line-height:1.9;
}

/* =========================================================
   Fundamental v2: non-overlapping insight panel + premium charts
   ========================================================= */
.nx-fund-insight-card{
  border-radius:20px!important;
  overflow:hidden;
  background:#fff;
}
.nx-insight-panel{
  padding:16px;
  border-radius:20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(13,110,253,.10), transparent 34%),
    radial-gradient(circle at 92% 6%, rgba(20,184,166,.10), transparent 30%),
    linear-gradient(180deg,#fff 0%,#f8fbff 100%);
}
.nx-insight-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:12px;
}
.nx-insight-kicker{
  color:#0d6efd;
  font-weight:900;
  font-size:.78rem;
  margin-bottom:4px;
}
.nx-insight-head h2{
  margin:0;
  color:#0f172a;
  font-size:1.08rem;
  font-weight:950;
  letter-spacing:-.2px;
}
.nx-insight-head p{
  margin:6px 0 0;
  color:#64748b;
  font-size:.78rem;
  line-height:1.9;
}
.nx-insight-tags{
  justify-content:flex-end;
  max-width:44%;
  margin:0;
}
.nx-insight-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr 1fr;
  gap:10px;
}
.nx-insight-card{
  min-height:132px;
  padding:14px 15px;
  border-radius:18px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(226,232,240,.95);
  box-shadow:0 18px 38px rgba(15,23,42,.055);
}
.nx-insight-card-main{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border-color:#dbeafe;
}
.nx-insight-card-risk{
  background:linear-gradient(180deg,#fff 0%,#fff8f1 100%);
  border-color:#fed7aa;
}
.nx-insight-card span{
  display:block;
  color:#64748b;
  font-weight:900;
  font-size:.72rem;
  margin-bottom:7px;
}
.nx-insight-card strong{
  display:block;
  color:#0f172a;
  font-size:.92rem;
  font-weight:950;
  line-height:1.75;
}
.nx-insight-card p{
  margin:7px 0 0;
  color:#64748b;
  font-size:.76rem;
  line-height:1.85;
}
.nx-insight-card ul{
  margin:0;
  padding-right:17px;
  color:#334155;
  font-size:.78rem;
  line-height:1.85;
}
.nx-insight-card li{margin:3px 0;}
.nx-insight-scorebar{
  display:grid;
  grid-template-columns:minmax(230px,.75fr) minmax(320px,1.2fr) auto;
  gap:12px;
  align-items:center;
  margin-top:11px;
  padding:12px;
  border-radius:18px;
  border:1px solid #e2e8f0;
  background:rgba(255,255,255,.76);
}
.nx-compact-score{
  display:flex;
  align-items:center;
  gap:12px;
}
.nx-compact-score-num{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:#0d6efd;
  color:#fff;
  font-size:1.35rem;
  font-weight:950;
  box-shadow:0 14px 28px rgba(13,110,253,.18);
}
.nx-compact-score strong{
  display:block;
  color:#0f172a;
  font-weight:950;
  font-size:.88rem;
  margin-bottom:4px;
}
.nx-compact-score p{
  margin:0;
  color:#64748b;
  font-size:.72rem;
  line-height:1.75;
}
.nx-mini-meters{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 12px;
}
.nx-mini-meter{
  display:grid;
  grid-template-columns:128px 1fr 28px;
  gap:8px;
  align-items:center;
}
.nx-mini-meter span{
  color:#475569;
  font-size:.72rem;
  font-weight:850;
}
.nx-mini-meter-track{
  height:7px;
  border-radius:999px;
  background:#eaf1ff;
  overflow:hidden;
}
.nx-mini-meter-track i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#0d6efd,#14b8a6);
}
.nx-mini-meter b{
  color:#334155;
  font-size:.72rem;
  text-align:left;
}
.nx-insight-actions{
  justify-content:flex-end;
}
.nx-insight-actions .nx-snap-action{
  background:#fff;
  border-color:#dbeafe;
  color:#0d6efd;
}

.nx-fund-detail-card{
  border-radius:22px!important;
  overflow:hidden;
  background:#fff;
}
.nx-chart-card{
  margin:12px;
  padding:16px;
  border:1px solid #e2e8f0;
  border-radius:22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(13,110,253,.11), transparent 30%),
    radial-gradient(circle at 94% 10%, rgba(20,184,166,.10), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 18px 48px rgba(15,23,42,.075);
}
.nx-chart-card-secondary{
  background:
    radial-gradient(circle at 8% 0%, rgba(124,58,237,.10), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(13,110,253,.09), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.nx-chart-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:12px;
}
.nx-chart-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#0d6efd;
  background:#eef6ff;
  border:1px solid #dbeafe;
  border-radius:999px;
  padding:3px 9px;
  font-size:.72rem;
  font-weight:900;
  margin-bottom:7px;
}
.nx-chart-header h3{
  margin:0;
  color:#0f172a;
  font-size:1.08rem;
  font-weight:950;
  letter-spacing:-.2px;
}
.nx-chart-header p{
  margin:7px 0 0;
  color:#64748b;
  font-size:.80rem;
  line-height:1.9;
  max-width:760px;
}
.nx-chart-meta-pill{
  flex:0 0 auto;
  border:1px solid #e2e8f0;
  background:rgba(255,255,255,.78);
  color:#334155;
  border-radius:999px;
  padding:7px 12px;
  font-size:.78rem;
  font-weight:950;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}
.nx-chart-controls{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.nx-control-block{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:max-content;
}
.nx-control-main{
  min-width:min(100%, 440px);
  flex:1 1 auto;
}
.nx-control-block > span{
  color:#64748b;
  font-size:.70rem;
  font-weight:950;
  padding-right:4px;
}
.nx-segmented{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  padding:4px;
  border-radius:16px;
  background:rgba(241,245,249,.90);
  border:1px solid #e2e8f0;
}
.nx-segmented .nx-chip{
  border:0;
  background:transparent;
  border-radius:12px;
  color:#475569;
  font-weight:850;
  font-size:.76rem;
  padding:7px 11px;
}
.nx-segmented .nx-chip:hover{
  background:rgba(255,255,255,.75);
  color:#0f172a;
}
.nx-segmented .nx-chip.active{
  background:#fff;
  color:#0d6efd;
  box-shadow:0 8px 20px rgba(15,23,42,.08);
}
.nx-chart-surface{
  position:relative;
  border-radius:20px;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(226,232,240,.90);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
  overflow:hidden;
}
.nx-chart-surface::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.58), transparent 34%);
  z-index:0;
}
.nx-chart-surface .nx-chart{
  position:relative;
  z-index:1;
  min-height:382px;
}
.nx-chart-meta[data-nx-chart-insight]{
  display:block;
  margin-top:10px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(248,250,252,.92);
  border:1px dashed #cbd5e1;
  color:#475569;
  font-size:.78rem;
  line-height:1.9;
}
.nx-table-title{
  margin-top:2px;
}
.nx-hc-tooltip{
  min-width:190px;
  padding:10px 11px;
  border-radius:14px;
  background:rgba(15,23,42,.98);
  color:#fff;
  direction:rtl;
  text-align:right;
  box-shadow:0 20px 40px rgba(15,23,42,.22);
}
.nx-hc-x{
  color:#fff;
  font-weight:950;
  padding-bottom:7px;
  margin-bottom:7px;
  border-bottom:1px solid rgba(255,255,255,.15);
}
.nx-hc-row{
  display:grid;
  grid-template-columns:10px minmax(0,1fr) auto;
  align-items:center;
  gap:7px;
  color:#e5e7eb;
  margin:5px 0 0;
  white-space:nowrap;
}
.nx-hc-row b{
  color:#fff;
  font-weight:950;
}
.nx-hc-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  display:inline-block;
  margin:0!important;
}
.highcharts-tooltip span{direction:rtl!important;text-align:right!important;}
.highcharts-container text{font-family:inherit!important;}

@media (max-width: 992px){
  .nx-insight-head,
  .nx-chart-header{
    flex-direction:column;
  }
  .nx-insight-tags{max-width:100%;justify-content:flex-start;}
  .nx-insight-grid{grid-template-columns:1fr;}
  .nx-insight-scorebar{grid-template-columns:1fr;}
  .nx-insight-actions{justify-content:flex-start;}
}

@media (max-width: 576px){
  .nx-insight-panel{padding:12px;}
  .nx-insight-head h2{font-size:1rem;}
  .nx-insight-head p{font-size:.73rem;}
  .nx-insight-card{min-height:auto;padding:12px;border-radius:16px;}
  .nx-insight-card strong{font-size:.86rem;}
  .nx-insight-card ul{font-size:.74rem;line-height:1.85;}
  .nx-insight-scorebar{padding:10px;gap:10px;}
  .nx-compact-score-num{width:50px;height:50px;border-radius:16px;font-size:1.12rem;}
  .nx-mini-meters{grid-template-columns:1fr;}
  .nx-mini-meter{grid-template-columns:112px 1fr 26px;}
  .nx-insight-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;}

  .nx-chart-card{margin:8px;padding:11px;border-radius:18px;}
  .nx-chart-header h3{font-size:.98rem;}
  .nx-chart-header p{font-size:.74rem;line-height:1.85;}
  .nx-chart-meta-pill{padding:5px 10px;font-size:.72rem;}
  .nx-chart-controls{display:block;margin-bottom:10px;}
  .nx-control-block{min-width:0;margin-top:9px;}
  .nx-control-main{min-width:0;}
  .nx-segmented{
    flex-wrap:nowrap!important;
    overflow-x:auto;
    max-width:100%;
    padding:4px;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
  }
  .nx-segmented .nx-chip{
    flex:0 0 auto;
    white-space:nowrap;
    scroll-snap-align:start;
    font-size:.72rem;
    padding:7px 10px;
  }
  .nx-chart-surface{border-radius:17px;}
  .nx-chart-surface .nx-chart,
  .fundamental-page .nx-chart{
    min-height:310px!important;
    height:320px!important;
    display:block!important;
  }
  .fundamental-page .highcharts-container,
  .fundamental-page .highcharts-root{
    display:block!important;
    max-width:100%!important;
  }
  .nx-chart-meta[data-nx-chart-insight]{font-size:.72rem;line-height:1.85;padding:9px 10px;}
  .nx-hc-tooltip{min-width:160px;padding:9px 10px;}
  .nx-hc-row{font-size:11px;gap:6px;}
}

/* =========================================================
   Fundamental v2.2: compact page identity + report basis
   ========================================================= */
.nx-fund-identity-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border:1px solid rgba(226,232,240,.95);
  border-radius:20px;
  background:
    radial-gradient(circle at 7% 0%, rgba(13,110,253,.08), transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 14px 34px rgba(15,23,42,.055);
}
.nx-fund-identity-main{
  min-width:0;
}
.nx-fund-identity-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:3px 10px;
  border-radius:999px;
  border:1px solid #dbeafe;
  background:#eef6ff;
  color:#0d6efd;
  font-size:.72rem;
  font-weight:950;
  margin-bottom:7px;
}
.nx-fund-identity-hero h1{
  margin:0;
  color:#0f172a;
  font-size:1.12rem;
  font-weight:950;
  line-height:1.65;
  letter-spacing:-.2px;
}
.nx-fund-identity-hero p{
  margin:5px 0 0;
  color:#64748b;
  font-size:.82rem;
  line-height:1.9;
  max-width:880px;
}
.nx-fund-identity-chips{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;
  max-width:420px;
}
.nx-fund-identity-chips span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid #e2e8f0;
  background:rgba(255,255,255,.82);
  color:#475569;
  font-size:.72rem;
  font-weight:850;
  white-space:nowrap;
}
.nx-fund-analysis-basis,
.nx-fund-basis-strip{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  padding:9px 12px;
  border:1px solid #dbeafe;
  border-radius:15px;
  background:linear-gradient(90deg,rgba(239,246,255,.88),rgba(255,255,255,.96));
  color:#334155;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
  direction:rtl;
  text-align:right;
}
.nx-fund-analysis-basis{
  margin-top:-2px;
  margin-bottom:10px !important;
}

.nx-fund-basis-copy{
  min-width:0;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  flex-wrap:wrap;
  text-align:right;
}
.nx-fund-analysis-basis .nx-fund-basis-label,
.nx-fund-basis-strip .nx-fund-basis-label{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 9px;
  border-radius:999px;
  border:1px solid rgba(13,110,253,.18);
  background:rgba(13,110,253,.08);
  color:#0d6efd;
  font-size:.72rem;
  font-weight:950;
  white-space:nowrap;
}
.nx-fund-basis-current,
.nx-fund-basis-comparison{
  min-width:0;
  color:#0f172a;
  font-size:.80rem;
  font-weight:900;
  line-height:1.9;
}
.nx-fund-basis-comparison{
  color:#475569;
  font-weight:850;
}
.nx-fund-basis-sep{
  color:#93c5fd;
  font-size:.92rem;
  line-height:1;
}
.nx-fund-basis-muted{
  color:#94a3b8 !important;
  font-weight:750 !important;
}

@media (max-width: 992px){
  .nx-fund-identity-hero{
    grid-template-columns:1fr;
    align-items:flex-start;
  }
  .nx-fund-identity-chips{
    justify-content:flex-start;
    max-width:100%;
  }
}

@media (max-width: 576px){
  .nx-fund-identity-hero{
    padding:12px;
    border-radius:18px;
  }
  .nx-fund-identity-hero h1{
    font-size:.98rem;
    line-height:1.75;
  }
  .nx-fund-identity-hero p{
    font-size:.76rem;
    line-height:1.85;
  }
  .nx-fund-identity-chips{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:3px;
    scrollbar-width:thin;
  }
  .nx-fund-identity-chips span{
    flex:0 0 auto;
    font-size:.70rem;
  }
  .nx-fund-analysis-basis,
.nx-fund-basis-strip{
    align-items:flex-start;
    padding:9px 11px;
    border-radius:14px;
  }
  .nx-fund-basis-copy{
    text-align:right;
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
  .nx-fund-basis-current,
  .nx-fund-basis-comparison{
    font-size:.74rem;
    line-height:1.85;
  }
  .nx-fund-basis-sep{
    display:none;
  }
}

/* Fundamental Command Center v3 */
.nx-command-center{
  padding:16px;
  border:1px solid #e2e8f0;
  border-radius:20px;
  background:
    radial-gradient(circle at 0 0, rgba(13,110,253,.08), transparent 32%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  box-shadow:0 16px 36px rgba(15,23,42,.06);
  direction:rtl;
}
.nx-radar-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.nx-radar-head h2{margin:3px 0 4px;color:#0f172a;font-size:1.08rem;font-weight:950;line-height:1.6;}
.nx-radar-head p{margin:0;color:#64748b;font-size:.80rem;line-height:1.85;}
.nx-radar-status{
  min-width:138px;
  padding:10px 12px;
  border-radius:16px;
  background:#fff;
  border:1px solid #e2e8f0;
  text-align:center;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.nx-radar-status span{display:block;color:#64748b;font-size:.70rem;font-weight:900;margin-bottom:4px;}
.nx-radar-status strong{display:block;color:#0f172a;font-size:.92rem;font-weight:950;}
.nx-radar-status.strong,.nx-radar-status.acceptable{border-color:#bbf7d0;background:#f0fdf4;}
.nx-radar-status.medium{border-color:#fde68a;background:#fffbeb;}
.nx-radar-status.caution{border-color:#fed7aa;background:#fff7ed;}
.nx-radar-status.unknown{border-color:#e2e8f0;background:#f8fafc;}
.nx-radar-summary{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px 13px;
  border-radius:16px;
  background:#fff;
  border:1px dashed #cbd5e1;
  margin-bottom:12px;
}
.nx-radar-summary p{margin:0;color:#334155;font-size:.84rem;line-height:1.9;font-weight:700;}
.nx-pillar-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}
.nx-pillar-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:13px;
  min-height:172px;
  box-shadow:0 10px 24px rgba(15,23,42,.045);
}
.nx-pillar-card.positive{border-color:#bbf7d0;background:linear-gradient(180deg,#fff 0%,#f7fef9 100%);}
.nx-pillar-card.negative{border-color:#fed7aa;background:linear-gradient(180deg,#fff 0%,#fff7ed 100%);}
.nx-pillar-card.neutral{border-color:#dbeafe;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);}
.nx-pillar-card.unknown{background:#f8fafc;}
.nx-pillar-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;}
.nx-pillar-top strong{color:#0f172a;font-size:.82rem;font-weight:950;}
.nx-status-badge{
  display:inline-flex;
  align-items:center;
  padding:3px 8px;
  border-radius:999px;
  font-size:.66rem;
  font-weight:900;
  white-space:nowrap;
  background:#f1f5f9;
  color:#475569;
}
.nx-status-badge.positive{background:#dcfce7;color:#166534;}
.nx-status-badge.negative{background:#ffedd5;color:#9a3412;}
.nx-status-badge.neutral{background:#e0f2fe;color:#075985;}
.nx-status-badge.unknown{background:#f1f5f9;color:#64748b;}
.nx-pillar-card h3{margin:0 0 7px;color:#0f172a;font-size:.86rem;font-weight:950;line-height:1.75;}
.nx-pillar-card p{margin:0;color:#64748b;font-size:.75rem;line-height:1.85;}
.nx-pillar-metrics{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top:10px;
}

/* فقط سلول اصلی هر metric را کادر کن، نه spanهای داخلی عدد و واحد */
.nx-pillar-metrics > span{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:4px;
  min-width:108px;
  flex:1 1 108px;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(248,250,252,.9);
  border:1px solid #e2e8f0;
}

.nx-pillar-metrics > span > em{
  font-style:normal;
  color:#64748b;
  font-size:.66rem;
  font-weight:850;
  text-align:center;
}

.nx-pillar-metrics > span > b{
  width:100%;
  display:inline-flex;
  align-items:baseline;
  justify-content:center;
  gap:4px;
  color:#0f172a;
  font-size:.76rem;
  font-weight:950;
  text-align:center;
}

/* عدد داخل همان سلول وسط باشد */
.nx-pillar-metrics > span > b .nx-num{
  display:inline-block;
  direction:ltr;
  unicode-bidi:isolate;
}

/* واحد پولی دیگر کادر نگیرد و فقط کنار عدد دیده شود */
.nx-pillar-metrics > span > b .nx-unit{
  display:inline;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  color:#64748b;
  font-size:.72rem;
  font-weight:850;
}
.nx-section-mini-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:12px 0 9px;}
.nx-section-mini-head span{color:#0f172a;font-size:.92rem;font-weight:950;}
.nx-section-mini-head p{margin:0;color:#64748b;font-size:.74rem;line-height:1.8;}
.nx-decision-kpi{height:100%;text-align:center;}

.nx-decision-kpi .nx-kpi-label,
.nx-decision-kpi .nx-kpi-value,
.nx-decision-kpi .nx-kpi-sub,
.nx-decision-kpi .nx-kpi-takeaway{
  text-align:center;
  justify-content:center;
}

.nx-decision-kpi .nx-kpi-value{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:4px;
}

.nx-decision-kpi .nx-kpi-value .nx-unit{
  display:inline;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.nx-kpi-takeaway{margin:9px 0 0;color:#475569;font-size:.73rem;line-height:1.8;font-weight:650;text-align:right;}
.nx-analysis-summary{margin-top:12px;}
.nx-radar-scorebar{margin-top:14px;}

/* Fundamental screener v3 polish */
.nx-fs-preset-shell{display:grid;gap:10px;}
.nx-fs-preset-group{
  padding:10px;
  border-radius:16px;
  border:1px solid #e2e8f0;
  background:#fff;
}
.nx-fs-preset-group-warning{background:#fff7ed;border-color:#fed7aa;}
.nx-fs-preset-title{font-size:.74rem;font-weight:950;color:#0f172a;margin-bottom:7px;}
.nx-fs-category{
  display:inline-flex;
  align-items:center;
  margin-left:6px;
  padding:2px 7px;
  border-radius:999px;
  font-size:.66rem;
  font-weight:900;
  white-space:nowrap;
}
.nx-fs-category.opportunity{background:#dcfce7;color:#166534;}
.nx-fs-category.warning{background:#ffedd5;color:#9a3412;}
.nx-fs-metrics{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px;}
.nx-fs-metric{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:4px 7px;
  border-radius:999px;
  border:1px solid #e2e8f0;
  background:#f8fafc;
  font-size:.70rem;
}
.nx-fs-metric em{font-style:normal;color:#64748b;font-weight:850;}
.nx-fs-metric b{font-weight:950;color:#0f172a;}
.nx-fs-metric.up{background:#f0fdf4;border-color:#bbf7d0;}
.nx-fs-metric.down{background:#fff7ed;border-color:#fed7aa;}
.nx-fs-metric.muted{color:#94a3b8;}

@media (max-width: 1200px){
  .nx-pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 768px){
  .nx-command-center{padding:12px;border-radius:18px;}
  .nx-radar-head,.nx-radar-summary,.nx-section-mini-head{flex-direction:column;align-items:stretch;}
  .nx-radar-status{text-align:right;min-width:0;}
  .nx-pillar-grid{grid-template-columns:1fr;}
  .nx-pillar-card{min-height:auto;}
  .nx-pillar-metrics span{flex:1 1 120px;}
  .nx-fs-metrics{display:grid;grid-template-columns:1fr;}
}

/* Shareholders Intelligence v2 */
.nx-shintel-page {
  --nx-shintel-bg: #f5f7fb;
  --nx-shintel-card: #ffffff;
  --nx-shintel-ink: #172033;
  --nx-shintel-muted: #667085;
  --nx-shintel-line: rgba(15, 23, 42, .08);
  --nx-shintel-primary: #1d4ed8;
  --nx-shintel-buy: #0f766e;
  --nx-shintel-sell: #be123c;
  background: var(--nx-shintel-bg);
  min-height: 100vh;
}
.nx-shintel-hero { padding: 18px 0 42px; }
.nx-shintel-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  background: radial-gradient(circle at 12% 18%, rgba(96, 165, 250, .42), transparent 30%), linear-gradient(135deg, #0f172a, #1e3a8a 58%, #0f766e);
  box-shadow: 0 20px 45px rgba(15, 23, 42, .18);
}
.nx-shintel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .82rem;
  margin-bottom: 12px;
}
.nx-shintel-hero-card h1 {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 900;
  margin: 0 0 10px;
}
.nx-shintel-hero-card p {
  margin: 0;
  max-width: 820px;
  line-height: 2;
  color: rgba(255, 255, 255, .86);
}
.nx-shintel-date {
  display: inline-flex;
  margin-top: 13px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .10);
  font-size: .85rem;
}
.nx-shintel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 210px;
}
.nx-shintel-disclaimer {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 18px;
  color: #475467;
  background: #fff;
  border: 1px solid var(--nx-shintel-line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.nx-shintel-filter {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--nx-shintel-line);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}
.nx-shintel-filter label { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.nx-shintel-filter span { font-size: .78rem; color: var(--nx-shintel-muted); }
.nx-shintel-filter input,
.nx-shintel-filter select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 13px;
  padding: 8px 12px;
  background: #f8fafc;
  color: var(--nx-shintel-ink);
  outline: none;
}
.nx-shintel-filter input:focus,
.nx-shintel-filter select:focus {
  border-color: rgba(29, 78, 216, .45);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, .08);
}
.nx-shintel-filter button {
  align-self: end;
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  background: var(--nx-shintel-primary);
  color: #fff;
  font-weight: 800;
}
.nx-shintel-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.nx-shintel-kpi {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--nx-shintel-line);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}
.nx-shintel-kpi span { display: block; color: var(--nx-shintel-muted); font-size: .82rem; margin-bottom: 8px; }
.nx-shintel-kpi strong {
  display: block;
  color: var(--nx-shintel-ink);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.7;
}
.nx-shintel-kpi-holder {
  font-size: .96rem !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nx-shintel-table-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--nx-shintel-line);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
  overflow: hidden;
}
.nx-shintel-table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--nx-shintel-line);
}
.nx-shintel-table-head h2 { margin: 0; font-size: 1.05rem; font-weight: 900; color: var(--nx-shintel-ink); }
.nx-shintel-table-head span { color: var(--nx-shintel-muted); font-size: .86rem; }
.nx-shintel-table { margin: 0; min-width: 1120px; }
.nx-shintel-table thead th {
  color: #475467;
  background: #f8fafc;
  font-weight: 800;
  font-size: .78rem;
  border-bottom: 1px solid var(--nx-shintel-line);
  white-space: nowrap;
}
.nx-shintel-table tbody td {
  font-size: .82rem;
  color: #344054;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  vertical-align: middle;
}
.nx-shintel-symbol,
.nx-shintel-holder {
  color: var(--nx-shintel-primary);
  font-weight: 900;
  text-decoration: none;
}
.nx-shintel-holder { font-weight: 750; }
.nx-shintel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
}
.nx-shintel-buy { background: rgba(15, 118, 110, .10); color: var(--nx-shintel-buy); }
.nx-shintel-sell { background: rgba(190, 18, 60, .10); color: var(--nx-shintel-sell); }
.nx-shintel-links { white-space: nowrap; }
.nx-shintel-links a {
  display: inline-flex;
  margin: 2px;
  padding: 5px 8px;
  border-radius: 9px;
  background: #f1f5f9;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 800;
  font-size: .75rem;
}
.nx-shintel-mobile-list { display: none; }
.nx-shintel-empty { padding: 20px; color: var(--nx-shintel-muted); text-align: center; }
.nx-shintel-page .nx-compact-number,
.nx-shintel-page [dir="ltr"] { direction: ltr; unicode-bidi: plaintext; }

@media (max-width: 992px) {
  .nx-shintel-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-shintel-filter button { grid-column: 1 / -1; }
  .nx-shintel-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-shintel-hero-card { align-items: flex-start; flex-direction: column; }
  .nx-shintel-actions { justify-content: flex-start; min-width: 0; }
}
@media (max-width: 768px) {
  .nx-shintel-table-wrap { display: none; }
  .nx-shintel-mobile-list { display: grid; gap: 12px; padding: 12px; }
  .nx-shintel-mobile-card {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--nx-shintel-line);
    background: #fff;
  }
  .nx-shintel-mobile-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .nx-shintel-mobile-top a { color: var(--nx-shintel-primary); font-weight: 900; text-decoration: none; }
  .nx-shintel-mobile-card > strong { color: var(--nx-shintel-ink); }
  .nx-shintel-mobile-card > span { color: var(--nx-shintel-muted); font-size: .82rem; }
  .nx-shintel-mobile-card > a { color: var(--nx-shintel-primary); text-decoration: none; font-weight: 800; }
  .nx-shintel-mobile-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
  .nx-shintel-mobile-card dl div { padding: 9px; border-radius: 12px; background: #f8fafc; }
  .nx-shintel-mobile-card dt { color: var(--nx-shintel-muted); font-size: .74rem; font-weight: 500; }
  .nx-shintel-mobile-card dd { margin: 4px 0 0; color: var(--nx-shintel-ink); font-weight: 850; }
}
@media (max-width: 576px) {
  .nx-shintel-hero { padding-top: 10px; }
  .nx-shintel-hero-card { border-radius: 18px; padding: 18px; }
  .nx-shintel-filter,
  .nx-shintel-kpis { grid-template-columns: 1fr; }
  .nx-shintel-table-head { align-items: flex-start; flex-direction: column; }
  .nx-shintel-mobile-card dl { grid-template-columns: 1fr; }
}

/* Shareholders Intelligence v2 Step 2 */
.nx-shintel-dashboard-hero {
  padding-bottom: 22px;
}
.nx-shareholders-landing .nx-shintel-page,
.nx-shareholders-landing {
  background: #f5f7fb;
}
.nx-shintel-dashboard-hero-card {
  align-items: flex-start;
}
.nx-shintel-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 14px;
  margin-top: 14px;
}
.nx-shintel-dashboard-main,
.nx-shintel-radar-card,
.nx-shintel-insight-card,
.nx-shintel-holder-table-card,
.nx-shintel-list-card {
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}
.nx-shintel-dashboard-main {
  padding: 16px;
  border-radius: 24px;
}
.nx-shintel-search-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.nx-shintel-quick-search {
  margin: 0;
  min-height: 54px;
}
.nx-shintel-dashboard-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.nx-shintel-insight-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}
.nx-shintel-insight-card span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #1d4ed8;
  font-weight: 900;
}
.nx-shintel-insight-card p {
  margin: 0;
  color: #344054;
  line-height: 2;
}
.nx-shintel-radar-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 24px;
  align-content: start;
}
.nx-shintel-radar-head span,
.nx-shintel-list-head a {
  color: #1d4ed8;
  font-weight: 850;
  font-size: .82rem;
}
.nx-shintel-radar-head strong {
  display: block;
  margin-top: 4px;
  color: #172033;
  font-size: 1.05rem;
}
.nx-shintel-radar-card a {
  display: grid;
  gap: 4px;
  padding: 13px;
  border-radius: 16px;
  background: #f8fafc;
  color: #172033;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, .06);
}
.nx-shintel-radar-card a:hover,
.nx-shintel-list-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}
.nx-shintel-radar-card small {
  color: #667085;
}
.nx-shintel-radar-card b {
  font-size: 1.15rem;
}
.nx-shintel-dashboard-section {
  padding-top: 18px;
}
.nx-shintel-holder-table-card {
  overflow: hidden;
  border-radius: 24px;
}
.nx-shintel-daily-lists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.nx-shintel-list-card {
  padding: 14px;
  border-radius: 22px;
}
.nx-shintel-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.nx-shintel-list-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #172033;
}
.nx-shintel-list-head a {
  text-decoration: none;
  white-space: nowrap;
}
.nx-shintel-list-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  color: #344054;
  text-decoration: none;
  border-top: 1px solid rgba(15, 23, 42, .06);
  transition: .16s ease;
}
.nx-shintel-list-row strong {
  color: #1d4ed8;
  font-weight: 900;
}
.nx-shintel-list-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #667085;
  font-size: .82rem;
}
.nx-shintel-list-row b {
  direction: ltr;
  unicode-bidi: plaintext;
  color: #172033;
  font-size: .78rem;
}
.nx-shintel-filter-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-self: end;
}
.nx-shintel-filter-actions .nx-shintel-ghost,
.nx-shintel-pagination button,
.nx-shintel-quick-filters button {
  min-height: 42px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 13px;
  background: #fff;
  color: #475467;
  font-weight: 800;
}
.nx-shintel-filter-actions .nx-shintel-ghost {
  padding: 0 12px;
}
.nx-shintel-quick-filters {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}
.nx-shintel-quick-filters button {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
}
.nx-shintel-quick-filters button.is-active {
  color: #fff;
  border-color: #1d4ed8;
  background: #1d4ed8;
}
.nx-shintel-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid rgba(15, 23, 42, .08);
  color: #667085;
  font-size: .86rem;
}
.nx-shintel-pagination button {
  padding: 0 16px;
}
.nx-shintel-pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.nx-shintel-autocomplete {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: none;
  max-height: 280px;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, .14);
  padding: 6px;
}
.nx-shintel-autocomplete.is-open {
  display: grid;
  gap: 4px;
}
.nx-shintel-autocomplete-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: right;
  color: #172033;
}
.nx-shintel-autocomplete-item:hover,
.nx-shintel-autocomplete-item.is-active {
  background: #eef4ff;
}
.nx-shintel-autocomplete-item strong {
  font-weight: 900;
}
.nx-shintel-autocomplete-item span,
.nx-shintel-autocomplete-state {
  color: #667085;
  font-size: .82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nx-shintel-autocomplete-state {
  padding: 12px;
  text-align: center;
}
.nx-shintel-table-card.is-loading {
  opacity: .76;
}
.nx-shintel-table td[dir="ltr"],
.nx-shintel-mobile-card dd[dir="ltr"] {
  direction: ltr;
  unicode-bidi: plaintext;
}

@media (max-width: 1100px) {
  .nx-shintel-dashboard-grid,
  .nx-shintel-daily-lists {
    grid-template-columns: 1fr;
  }
  .nx-shintel-radar-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nx-shintel-radar-head {
    grid-column: 1 / -1;
  }
}
@media (max-width: 992px) {
  .nx-shintel-dashboard-kpis,
  .nx-shintel-search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .nx-shintel-radar-card,
  .nx-shintel-dashboard-kpis,
  .nx-shintel-search-panel {
    grid-template-columns: 1fr;
  }
  .nx-shintel-list-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .nx-shintel-list-row b {
    grid-column: 2;
  }
  .nx-shintel-pagination {
    flex-wrap: wrap;
  }
}
@media (max-width: 576px) {
  .nx-shintel-dashboard-main,
  .nx-shintel-radar-card,
  .nx-shintel-list-card {
    border-radius: 18px;
  }
  .nx-shintel-filter-actions {
    grid-template-columns: 1fr;
  }
  .nx-shintel-autocomplete {
    max-height: 240px;
  }
}
.nx-shareholders-landing {
  --nx-shintel-bg: #f5f7fb;
  --nx-shintel-card: #ffffff;
  --nx-shintel-ink: #172033;
  --nx-shintel-muted: #667085;
  --nx-shintel-line: rgba(15, 23, 42, .08);
  --nx-shintel-primary: #1d4ed8;
  --nx-shintel-buy: #0f766e;
  --nx-shintel-sell: #be123c;
}

/* Shareholders Intelligence v2 Step 2 — UX Polish */
.nx-shintel-module-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.nx-shintel-module-link {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 14px 15px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  color: #172033;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .055);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
  overflow: hidden;
}
.nx-shintel-module-link::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: transparent;
}
.nx-shintel-module-link:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 78, 216, .22);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .09);
}
.nx-shintel-module-link.is-active {
  border-color: rgba(29, 78, 216, .26);
  background: linear-gradient(135deg, #fff, #f4f7ff);
}
.nx-shintel-module-link.is-active::before { background: #1d4ed8; }
.nx-shintel-module-link span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1d4ed8;
  font-size: .8rem;
  font-weight: 900;
}
.nx-shintel-module-link strong {
  color: #172033;
  font-size: .96rem;
  font-weight: 950;
}
.nx-shintel-module-link small {
  color: #667085;
  line-height: 1.8;
}

.nx-shintel-filter {
  align-items: end;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}
.nx-shintel-filter label { position: relative; }
.nx-shintel-filter input,
.nx-shintel-filter select {
  font-weight: 750;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.nx-shintel-filter input::placeholder { color: #98a2b3; font-weight: 500; }
.nx-shintel-filter select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-start: 34px;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%),
    linear-gradient(to left, rgba(15, 23, 42, .08), rgba(15, 23, 42, .08));
  background-position: 13px 18px, 7px 18px, 30px 9px;
  background-size: 6px 6px, 6px 6px, 1px 24px;
  background-repeat: no-repeat;
}
.nx-shintel-filter-actions button,
.nx-shintel-quick-filters button,
.nx-shintel-page-btn {
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}
.nx-shintel-filter-actions button:hover,
.nx-shintel-quick-filters button:hover:not(.is-active),
.nx-shintel-page-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, .08);
}
.nx-shintel-quick-filters {
  border-top: 1px solid rgba(15, 23, 42, .06);
  padding-top: 10px;
  margin-top: 2px;
}
.nx-shintel-quick-filters button.is-active { box-shadow: 0 10px 22px rgba(29, 78, 216, .18); }

.nx-shintel-autocomplete {
  z-index: 1045;
  border-radius: 18px;
  border: 1px solid rgba(29, 78, 216, .14);
  box-shadow: 0 22px 50px rgba(15, 23, 42, .18), 0 0 0 1px rgba(255,255,255,.8) inset;
  padding: 8px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(8px);
}
.nx-shintel-autocomplete-item {
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  cursor: pointer;
}
.nx-shintel-autocomplete-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #1d4ed8;
  background: #eef4ff;
}
.nx-shintel-autocomplete-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.nx-shintel-autocomplete-item strong {
  overflow: hidden;
  color: #172033;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nx-shintel-autocomplete-item small {
  overflow: hidden;
  color: #667085;
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nx-shintel-autocomplete-item:hover,
.nx-shintel-autocomplete-item.is-active { background: linear-gradient(135deg, #eef4ff, #f7fbff); }
.nx-shintel-autocomplete-item:hover .nx-shintel-autocomplete-icon,
.nx-shintel-autocomplete-item.is-active .nx-shintel-autocomplete-icon { color: #fff; background: #1d4ed8; }
.nx-shintel-autocomplete-state { border-radius: 14px; background: #f8fafc; }

.nx-money-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}
.nx-money-compact,
.nx-shintel-num-value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}
.nx-money-sign { min-width: 7px; text-align: left; color: inherit; }
.nx-money-number { min-width: 0; }
.nx-money-unit {
  min-width: 12px;
  color: #64748b;
  font-size: .78em;
  font-weight: 850;
}
.nx-money-rial {
  color: #667085;
  font-size: .78em;
  font-weight: 750;
}
.nx-money-empty { color: #98a2b3; }
.nx-shintel-kpi .nx-money-wrap { justify-content: flex-start; }
.nx-shintel-kpi .nx-money-compact { font-size: 1em; }
.nx-shintel-table th,
.nx-shintel-table td {
  padding: 12px 11px;
  text-align: right;
}
.nx-shintel-table .nx-shintel-th-num,
.nx-shintel-table .nx-shintel-num {
  text-align: left;
  white-space: nowrap;
}
.nx-shintel-table .nx-shintel-num {
  font-weight: 800;
  color: #172033;
}
.nx-shintel-table .nx-shintel-links { text-align: center; }
.nx-shintel-table tbody tr:hover td { background: #fbfdff; }
.nx-shintel-table .nx-shintel-symbol { display: inline-flex; min-width: 42px; }
.nx-shintel-table .nx-shintel-holder {
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}
.nx-shintel-mobile-card .nx-money-wrap,
.nx-shintel-mobile-card .nx-shintel-num-value { justify-content: flex-start; }
.nx-shintel-mobile-card dd .nx-money-wrap { width: 100%; }

.nx-shintel-pagination {
  justify-content: space-between;
  background: linear-gradient(180deg, #fff, #fbfcff);
}
.nx-shintel-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 92px;
}
.nx-shintel-page-meta {
  display: grid;
  gap: 4px;
  min-width: 220px;
  text-align: center;
}
.nx-shintel-page-meta span { color: #475467; font-weight: 800; }
.nx-shintel-page-meta b { color: #1d4ed8; font-size: .78rem; font-weight: 950; }
.nx-shintel-page-btn:disabled { background: #f8fafc; color: #98a2b3; box-shadow: none; }

@media (max-width: 992px) {
  .nx-shintel-module-nav { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nx-shintel-module-link { border-radius: 16px; padding: 13px; }
  .nx-shintel-pagination { justify-content: center; }
  .nx-shintel-page-meta { order: -1; width: 100%; }
  .nx-shintel-page-btn { flex: 1 1 130px; }
}

/* Shareholders Intelligence v2 Step 2 — final UI polish fixes */
.nx-shintel-kpis {
  align-items: stretch;
}
.nx-shintel-kpi {
  position: relative;
  display: flex;
  min-height: 108px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 17px 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}
.nx-shintel-kpi::after {
  content: "";
  position: absolute;
  inset-inline-start: 18px;
  inset-block-start: 16px;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, rgba(15, 118, 110, .75));
  opacity: .75;
}
.nx-shintel-kpi > span {
  display: block;
  margin: 0;
  padding-top: 8px;
  color: #667085;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.8;
}
.nx-shintel-kpi strong {
  display: flex;
  align-items: center;
  min-height: 34px;
  color: #172033;
  font-size: clamp(1.12rem, 2vw, 1.46rem);
  font-weight: 950;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.nx-shintel-kpi strong .nx-money-wrap,
.nx-shintel-kpi strong .nx-money-amount,
.nx-shintel-kpi strong .nx-money-unit,
.nx-shintel-kpi strong .nx-money-rial {
  display: inline-flex;
  margin: 0;
}
.nx-shintel-kpi-holder {
  display: -webkit-box !important;
  min-height: 38px;
  max-height: 58px;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: .98rem !important;
  line-height: 1.75 !important;
}

.nx-money-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 4px;
  max-width: 100%;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
  line-height: 1.28;
  vertical-align: middle;
}
.nx-money-amount {
  display: inline-flex;
  direction: ltr;
  unicode-bidi: isolate;
  color: inherit;
  font-variant-numeric: tabular-nums;
  font-weight: 950;
}
.nx-money-unit,
.nx-money-rial {
  display: inline-flex;
  direction: rtl;
  unicode-bidi: isolate;
  color: #64748b;
  font-size: .72em;
  font-weight: 850;
  line-height: 1.4;
}
.nx-money-wrap.nx-money-inline {
  display: inline-grid !important;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  grid-template-columns: max-content max-content max-content;
  align-items: baseline;
  column-gap: 4px;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap;
  vertical-align: middle;
}
.nx-money-inline .nx-money-amount,
.nx-money-inline .nx-money-unit,
.nx-money-inline .nx-money-rial {
  display: block !important;
  min-width: 0;
  white-space: nowrap;
}
.nx-money-inline .nx-money-amount {
  grid-column: 1;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  text-align: left;
}
.nx-money-inline .nx-money-unit {
  grid-column: 2;
  direction: rtl !important;
  unicode-bidi: isolate !important;
  text-align: left;
}
.nx-money-inline .nx-money-rial {
  grid-column: 3;
  direction: rtl !important;
  unicode-bidi: isolate !important;
  text-align: left;
}
.nx-shintel-table .nx-money-unit,
.nx-shintel-table .nx-money-rial,
.nx-shintel-mobile-card .nx-money-unit,
.nx-shintel-mobile-card .nx-money-rial {
  font-size: .78em;
}
.nx-money-empty { color: #98a2b3; }
.nx-shintel-floating-tooltip {
  position: fixed;
  z-index: 2147483000;
  max-width: min(360px, calc(100vw - 28px));
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 13px;
  background: rgba(15, 23, 42, .96);
  color: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .28);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.8;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, 6px, 0);
  transition: opacity .12s ease, transform .12s ease;
  direction: rtl;
  text-align: center;
  white-space: nowrap;
}
.nx-shintel-floating-tooltip.is-visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}
.nx-shintel-tip {
  cursor: help;
  outline: none;
}
.nx-shintel-tip:focus-visible {
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .14);
  border-radius: 8px;
}

.nx-shintel-filter {
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(190px, .78fr);
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .065);
}
.nx-shintel-filter label > span {
  margin-bottom: 1px;
  color: #475467;
  font-size: .76rem;
  font-weight: 850;
}
.nx-shintel-filter input,
.nx-shintel-filter select {
  min-height: 46px;
  border-radius: 15px;
  border-color: rgba(15, 23, 42, .105);
  background-color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.nx-shintel-filter input:hover,
.nx-shintel-filter select:hover {
  border-color: rgba(29, 78, 216, .22);
  background-color: #fff;
}
.nx-shintel-filter select {
  padding-inline-end: 13px;
  padding-inline-start: 38px;
  background-position: 17px 20px, 11px 20px, 36px 11px;
  background-size: 6px 6px, 6px 6px, 1px 24px;
}
.nx-shintel-filter-actions button:first-child {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 10px 22px rgba(29, 78, 216, .20);
}
.nx-shintel-filter-actions .nx-shintel-ghost {
  background: #fff;
  color: #475467;
}
.nx-shintel-quick-filters button {
  min-height: 36px;
  padding: 7px 14px;
  border-color: rgba(15, 23, 42, .08);
  background: #fff;
}
.nx-shintel-quick-filters button.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}
.nx-shintel-autocomplete {
  padding: 9px;
  border-radius: 20px;
  border-color: rgba(29, 78, 216, .16);
  box-shadow: 0 24px 56px rgba(15, 23, 42, .20), 0 0 0 1px rgba(255,255,255,.72) inset;
}
.nx-shintel-autocomplete-item {
  min-height: 54px;
  border: 1px solid transparent;
}
.nx-shintel-autocomplete-item:hover,
.nx-shintel-autocomplete-item.is-active {
  border-color: rgba(29, 78, 216, .12);
}
.nx-shintel-autocomplete-state {
  padding: 14px;
  font-weight: 800;
}

.nx-shintel-table {
  min-width: 1180px;
  table-layout: auto;
}
.nx-shintel-table th,
.nx-shintel-table td {
  padding: 13px 12px;
}
.nx-shintel-table thead th {
  border-bottom-color: rgba(15, 23, 42, .10);
  color: #475467;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: -.01em;
}
.nx-shintel-table tbody td {
  color: #334155;
  line-height: 1.75;
}
.nx-shintel-table .nx-shintel-th-num,
.nx-shintel-table .nx-shintel-num {
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.nx-shintel-table .nx-shintel-num > [dir="ltr"],
.nx-shintel-num-value {
  direction: ltr;
  unicode-bidi: isolate;
}
.nx-shintel-table tbody tr:hover td {
  background: #f8fbff;
}
.nx-shintel-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 3px 8px;
  border-radius: 10px;
  background: #eef4ff;
  color: #1d4ed8;
}
.nx-shintel-symbol:hover,
.nx-shintel-holder:hover,
.nx-shintel-links a:hover {
  color: #1743b8;
  text-decoration: none;
}
.nx-shintel-holder {
  color: #1e40af;
}
.nx-shintel-badge {
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 23, 42, .05);
  font-size: .74rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.nx-shintel-buy {
  border-color: rgba(15, 118, 110, .14);
  background: linear-gradient(135deg, rgba(15, 118, 110, .12), rgba(20, 184, 166, .08));
}
.nx-shintel-sell {
  border-color: rgba(190, 18, 60, .14);
  background: linear-gradient(135deg, rgba(190, 18, 60, .12), rgba(244, 63, 94, .08));
}
.nx-shintel-links a {
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(29, 78, 216, .10);
  background: #f8fbff;
}
.nx-shintel-pagination {
  padding: 16px 18px;
}
.nx-shintel-page-meta {
  min-width: 260px;
  padding: 8px 14px;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .045);
}
.nx-shintel-page-btn {
  min-height: 42px;
  min-width: 108px;
  border-radius: 14px;
  background: #fff;
}
.nx-shintel-page-btn:not(:disabled) {
  color: #1d4ed8;
  border-color: rgba(29, 78, 216, .16);
}
.nx-shintel-page-btn:disabled {
  opacity: 1;
  color: #98a2b3;
  background: #f8fafc;
  border-color: rgba(15, 23, 42, .06);
}

@media (max-width: 1200px) {
  .nx-shintel-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-shintel-filter-actions { grid-column: auto; }
}
@media (max-width: 768px) {
  .nx-shintel-kpi { min-height: auto; }
  .nx-shintel-filter { grid-template-columns: 1fr; border-radius: 20px; }
  .nx-shintel-mobile-card {
    box-shadow: 0 10px 26px rgba(15, 23, 42, .055);
  }
  .nx-shintel-mobile-card dd .nx-money-wrap { justify-content: flex-start; }
  .nx-shintel-floating-tooltip { white-space: normal; }
}

/* Shareholders Intelligence v3 — compact units + professional table rhythm */
.nx-shintel-page .nx-money-wrap,
.nx-shintel-page .nx-quantity-wrap,
.shareholder-info .nx-money-wrap,
.shareholder-info .nx-quantity-wrap,
.dynamic-table-area .nx-money-wrap,
.dynamic-table-area .nx-quantity-wrap {
  position: relative;
  display: inline-grid !important;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: start;
  column-gap: 3px;
  max-width: 100%;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap;
  line-height: 1.25;
  vertical-align: middle;
}
.nx-shintel-page .nx-money-wrap,
.shareholder-info .nx-money-wrap,
.dynamic-table-area .nx-money-wrap {
  grid-template-columns: max-content max-content max-content max-content;
}
.nx-shintel-page .nx-quantity-wrap,
.shareholder-info .nx-quantity-wrap,
.dynamic-table-area .nx-quantity-wrap {
  grid-template-columns: max-content max-content max-content;
}
.nx-shintel-page .nx-money-sign,
.shareholder-info .nx-money-sign,
.dynamic-table-area .nx-money-sign {
  min-width: 7px;
  color: inherit;
  font-weight: 950;
  text-align: left;
}
.nx-shintel-page .nx-money-wrap .nx-money-rial,
.shareholder-info .nx-money-wrap .nx-money-rial,
.dynamic-table-area .nx-money-wrap .nx-money-rial {
  grid-column: 1;
}
.nx-shintel-page .nx-money-wrap .nx-money-sign,
.shareholder-info .nx-money-wrap .nx-money-sign,
.dynamic-table-area .nx-money-wrap .nx-money-sign {
  grid-column: 2;
}
.nx-shintel-page .nx-money-wrap .nx-money-amount,
.shareholder-info .nx-money-wrap .nx-money-amount,
.dynamic-table-area .nx-money-wrap .nx-money-amount {
  grid-column: 3;
}
.nx-shintel-page .nx-money-wrap .nx-money-unit,
.shareholder-info .nx-money-wrap .nx-money-unit,
.dynamic-table-area .nx-money-wrap .nx-money-unit {
  grid-column: 4;
}
.nx-shintel-page .nx-quantity-wrap .nx-money-sign,
.shareholder-info .nx-quantity-wrap .nx-money-sign,
.dynamic-table-area .nx-quantity-wrap .nx-money-sign {
  grid-column: 1;
}
.nx-shintel-page .nx-quantity-wrap .nx-money-amount,
.shareholder-info .nx-quantity-wrap .nx-money-amount,
.dynamic-table-area .nx-quantity-wrap .nx-money-amount {
  grid-column: 2;
}
.nx-shintel-page .nx-quantity-wrap .nx-money-unit,
.shareholder-info .nx-quantity-wrap .nx-money-unit,
.dynamic-table-area .nx-quantity-wrap .nx-money-unit {
  grid-column: 3;
}
.nx-shintel-page .nx-money-amount,
.shareholder-info .nx-money-amount,
.dynamic-table-area .nx-money-amount {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  color: inherit;
  font-variant-numeric: tabular-nums;
  font-weight: 950;
  text-align: left;
}
.nx-shintel-page .nx-money-unit,
.shareholder-info .nx-money-unit,
.dynamic-table-area .nx-money-unit {
  display: inline-flex !important;
  align-items: baseline;
  justify-content: flex-start;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #475569;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .015em;
  line-height: 1.2;
  text-align: left;
}
.nx-shintel-page .nx-money-rial,
.shareholder-info .nx-money-rial,
.dynamic-table-area .nx-money-rial {
  display: inline-flex !important;
  align-items: baseline;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #64748b;
  direction: rtl !important;
  unicode-bidi: isolate !important;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.2;
}
.nx-shintel-page .nx-money-wrap.is-negative,
.nx-shintel-page .nx-quantity-wrap.is-negative,
.nx-shintel-page .nx-shintel-num-value.is-negative,
.dynamic-table-area .nx-money-wrap.is-negative,
.dynamic-table-area .nx-quantity-wrap.is-negative {
  color: #be123c !important;
}
.nx-shintel-page .nx-money-wrap.is-positive,
.nx-shintel-page .nx-quantity-wrap.is-positive,
.nx-shintel-page .nx-shintel-num-value.is-positive,
.dynamic-table-area .nx-money-wrap.is-positive,
.dynamic-table-area .nx-quantity-wrap.is-positive {
  color: #0f766e !important;
}
.nx-shintel-page .nx-money-wrap:focus-visible,
.nx-shintel-page .nx-quantity-wrap:focus-visible,
.dynamic-table-area .nx-money-wrap:focus-visible,
.dynamic-table-area .nx-quantity-wrap:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .14);
  border-radius: 8px;
}

.nx-shintel-table {
  min-width: 1320px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}
.nx-shintel-table th,
.nx-shintel-table td {
  overflow: hidden;
  vertical-align: middle;
  white-space: nowrap;
}
.nx-shintel-table thead th {
  padding-block: 12px;
  background: #f8fafc;
  text-align: right;
}
.nx-shintel-table tbody td {
  padding-block: 12px;
}
.nx-shintel-table .nx-shintel-col-symbol { width: 72px; text-align: center; }
.nx-shintel-table .nx-shintel-col-company { width: 150px; }
.nx-shintel-table .nx-shintel-col-sector { width: 118px; }
.nx-shintel-table .nx-shintel-col-holder { width: 230px; }
.nx-shintel-table .nx-shintel-col-status { width: 126px; text-align: center; }
.nx-shintel-table .nx-shintel-col-quantity { width: 116px; }
.nx-shintel-table .nx-shintel-col-money { width: 132px; }
.nx-shintel-table .nx-shintel-col-percent { width: 96px; }
.nx-shintel-table .nx-shintel-col-price { width: 88px; }
.nx-shintel-table .nx-shintel-col-price-change { width: 90px; }
.nx-shintel-table .nx-shintel-col-links { width: 118px; text-align: center; }
.nx-shintel-truncate {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nx-shintel-table .nx-shintel-th-num,
.nx-shintel-table .nx-shintel-num {
  text-align: left;
}
.nx-shintel-table .nx-shintel-num {
  color: #1f2937;
  font-size: .86rem;
}
.nx-shintel-table .nx-shintel-badge {
  width: 100%;
  min-width: 0;
  justify-content: center;
  padding-inline: 7px;
  line-height: 1.35;
}
.nx-shintel-table .nx-shintel-holder {
  display: block;
  max-width: 100%;
  font-size: .83rem;
  line-height: 1.7;
}
.nx-shintel-table .nx-shintel-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
}
.nx-shintel-table .nx-shintel-links a {
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 10px;
  font-size: .72rem;
  font-weight: 850;
}
.nx-shintel-table .nx-shintel-symbol {
  min-width: 42px;
  padding-inline: 7px;
  font-size: .84rem;
}
.nx-shintel-kpi strong .nx-money-wrap,
.nx-shintel-kpi strong .nx-quantity-wrap {
  font-size: .94em;
}
.nx-shintel-mobile-card dd .nx-money-wrap,
.nx-shintel-mobile-card dd .nx-quantity-wrap {
  width: auto;
  justify-content: flex-start;
}

@media (max-width: 1400px) {
  .nx-shintel-table { min-width: 1240px; }
  .nx-shintel-table .nx-shintel-col-company { width: 138px; }
  .nx-shintel-table .nx-shintel-col-sector { width: 108px; }
  .nx-shintel-table .nx-shintel-col-holder { width: 210px; }
  .nx-shintel-table .nx-shintel-col-status { width: 118px; }
  .nx-shintel-table .nx-shintel-col-money { width: 124px; }
}

/* Shareholders Intelligence v3.2 — suffix baseline + negative sign spacing hotfix */
.nx-shintel-page .nx-money-wrap,
.nx-shintel-page .nx-quantity-wrap,
.shareholder-info .nx-money-wrap,
.shareholder-info .nx-quantity-wrap,
.dynamic-table-area .nx-money-wrap,
.dynamic-table-area .nx-quantity-wrap {
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: flex-start;
  gap: 2px;
  line-height: 1.1;
}

.nx-shintel-page .nx-money-sign,
.shareholder-info .nx-money-sign,
.dynamic-table-area .nx-money-sign {
  min-width: 0;
  margin-inline-end: -1px;
  font-size: 1em;
  font-weight: 950;
  line-height: 1;
}

.nx-shintel-page .nx-money-sign:empty,
.shareholder-info .nx-money-sign:empty,
.dynamic-table-area .nx-money-sign:empty {
  display: none !important;
}

.nx-shintel-page .nx-money-amount,
.shareholder-info .nx-money-amount,
.dynamic-table-area .nx-money-amount {
  display: inline-block !important;
  line-height: 1.05;
}

.nx-shintel-page .nx-money-unit,
.nx-shintel-page .nx-money-rial,
.shareholder-info .nx-money-unit,
.shareholder-info .nx-money-rial,
.dynamic-table-area .nx-money-unit,
.dynamic-table-area .nx-money-rial {
  display: inline-block !important;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  vertical-align: baseline;
  line-height: 1;
}

.nx-shintel-page .nx-money-unit,
.shareholder-info .nx-money-unit,
.dynamic-table-area .nx-money-unit {
  color: #475569;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  font-size: .9em;
  font-weight: 750;
  letter-spacing: 0;
}

.nx-shintel-page .nx-money-rial,
.shareholder-info .nx-money-rial,
.dynamic-table-area .nx-money-rial {
  color: #64748b;
  direction: rtl !important;
  unicode-bidi: isolate !important;
  font-size: .8em;
  font-weight: 780;
  margin-inline-start: 1px;
}

.nx-shintel-table .nx-money-unit,
.nx-shintel-table .nx-money-rial,
.nx-shintel-mobile-card .nx-money-unit,
.nx-shintel-mobile-card .nx-money-rial {
  position: relative;
  top: 0;
}
