/* ارتفاع تقریبی نوار بالا (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;
}


@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;
   width: 100%;
}

.nx-kpi .nx-kpi-sub-center{
  justify-content: center;   /* چون display:flex هست */
  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: none !important;
  }

  .fundamental-page .nx-box:has(.nx-chart-wrap),
  .fundamental-page .nx-box:has(.nx-chart) {
    display: none !important;
  }

  .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;}
}

/* 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:.98rem;
}
.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;
  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;}
}
