
    /* ═══ فونت — همان استک سایت اصلی: IRANSansXFaNum (CDN اسنپ) + Vazirmatn fallback ═══ */
    @font-face{font-family:Vazirmatn;src:url("/assets/fonts/Vazirmatn.woff2") format("woff2");font-weight:100 900;font-display:swap}
    @font-face{font-family:IRANSansXFaNum;font-style:normal;font-weight:300;font-display:swap;src:local("IRANSansXFaNum Light"),local("IRANSansXFaNum"),url("https://web-cdn.snapp.ir/shared/fonts/fa/IRANSansXFaNum-light.woff2") format("woff2")}
    @font-face{font-family:IRANSansXFaNum;font-style:normal;font-weight:400;font-display:swap;src:local("IRANSansXFaNum Regular"),local("IRANSansXFaNum"),url("https://web-cdn.snapp.ir/shared/fonts/fa/IRANSansXFaNum-regular.woff2") format("woff2")}
    @font-face{font-family:IRANSansXFaNum;font-style:normal;font-weight:500;font-display:swap;src:local("IRANSansXFaNum Medium"),local("IRANSansXFaNum"),url("https://web-cdn.snapp.ir/shared/fonts/fa/IRANSansXFaNum-medium.woff2") format("woff2")}
    @font-face{font-family:IRANSansXFaNum;font-style:normal;font-weight:700;font-display:swap;src:local("IRANSansXFaNum Bold"),local("IRANSansXFaNum"),url("https://web-cdn.snapp.ir/shared/fonts/fa/IRANSansXFaNum-bold.woff2") format("woff2")}

    /* ═══ توکن‌های تم Hybrid ═══ */
    :root {
      color-scheme: light;
      --bg-article: #F8FAFA;
      --text-main: #1A2424;
      --text-muted: #4A6060;
      --heading: #0D7A6A;
      --mint: #2DD4B0;
      --teal: #22D3EE;
      --gold: #D4AF37;
      --gold-text: #7a6010; /* Semantic gold text; brand gold remains unchanged. */
      --bg-dark: #080F0E;
      --text-on-dark: #F0FAFA;
      --card: #FFFFFF;
      --line: #DCE9E6;
      --grad: linear-gradient(120deg, var(--mint), var(--teal));
      --font: IRANSansXFaNum, Vazirmatn, Tahoma, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

    body {
      font-family: var(--font);
      background: var(--bg-article);
      color: var(--text-main);
      direction: rtl;
      text-align: right;
      -webkit-font-smoothing: antialiased;
    }

    .skip {
      position: absolute; top: -48px; right: 8px;
      background: var(--mint); color: var(--bg-dark);
      padding: .5rem 1rem; border-radius: 0 0 10px 10px; z-index: 200;
      transition: top .2s;
    }
    .skip:focus { top: 0; }

    a { color: var(--heading); }
    a:focus-visible, button:focus-visible {
      outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px;
    }

    /* ═══ نوار پیشرفت خواندن (CSS خالص — بدون JS) ═══ */
    @supports (animation-timeline: scroll()) {
      .read-progress {
        position: fixed; top: 0; right: 0; left: 0; height: 3px; z-index: 150;
        background: var(--grad);
        transform-origin: right center; transform: scaleX(0);
        animation: readgrow linear both; animation-timeline: scroll(root);
      }
      @keyframes readgrow { to { transform: scaleX(1); } }
    }
    @media (prefers-reduced-motion: reduce) { .read-progress { display: none; } }

    /* ═══ برند و لوگو ═══ */
    .brand {
      display: flex; align-items: center; gap: .65rem;
      font-weight: 900; font-size: 1.1rem; white-space: nowrap;
      color: inherit; text-decoration: none;
    }
    .brand-mark {
      width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
      font-size: 0; color: transparent; background-color: rgba(45,212,176,.08);
      background-image: url("/logo-kit/mohitoo-mark-header.png");
      background-image: image-set(url("/logo-kit/mohitoo-mark-header.webp") type("image/webp"), url("/logo-kit/mohitoo-mark-header.png") type("image/png"));
      background-position: center; background-size: 82%; background-repeat: no-repeat;
      border: 1px solid rgba(45,212,176,.22); box-shadow: 0 8px 30px rgba(45,212,176,.14);
    }

    /* ═══ Header تاریک ═══ */
    .site-head {
      background: var(--bg-dark); color: var(--text-on-dark);
      border-bottom: 1px solid rgba(45, 212, 176, .18);
    }
    .head-inner {
      max-width: 1100px; margin: 0 auto; padding: .8rem 1.25rem;
      display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
    }
    .site-head nav { display: flex; align-items: center; gap: 1.65rem; font-size: .88rem; }
    .site-head nav a {
      color: #AAC0BA; text-decoration: none; position: relative; transition: .25s ease;
    }
    .site-head nav a::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -.55rem; height: 1px;
      background: var(--mint); transform: scaleX(0); transition: .25s;
    }
    .site-head nav a:hover, .site-head nav a[aria-current="page"] { color: var(--text-on-dark); }
    .site-head nav a:hover::after, .site-head nav a[aria-current="page"]::after { transform: scaleX(1); }
    .btn {
      display: inline-block; text-decoration: none; font-weight: 700;
      border-radius: 14px; padding: .65rem 1.35rem; font-size: .95rem;
      transition: transform .15s, box-shadow .15s;
    }
    .btn-primary {
      background: var(--grad); color: var(--bg-dark);
      box-shadow: 0 4px 18px rgba(45, 212, 176, .35);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45, 212, 176, .45); }

    /* ═══ منوی موبایل — CSS خالص با details/summary (بدون JS به‌خاطر CSP) ═══ */
    .mob-nav { display: none; position: relative; }
    .mob-nav > summary {
      list-style: none; cursor: pointer;
      width: 42px; height: 42px; border-radius: 12px;
      display: grid; place-items: center;
      background: rgba(45,212,176,.10); border: 1px solid rgba(45,212,176,.28);
      color: var(--text-on-dark); font-size: 1.15rem;
    }
    .mob-nav > summary::-webkit-details-marker { display: none; }
    .mob-nav > summary::after { content: "☰"; }
    .mob-nav[open] > summary::after { content: "✕"; font-size: 1rem; }
    .mob-nav .mob-panel {
      position: absolute; top: calc(100% + .6rem); left: 0; z-index: 160;
      min-width: 190px; background: #0E1917;
      border: 1px solid rgba(45,212,176,.24); border-radius: 14px;
      padding: .5rem; box-shadow: 0 18px 40px rgba(0,0,0,.45);
      display: flex; flex-direction: column;
    }
    .mob-nav .mob-panel a {
      color: #CFE3DE; text-decoration: none; font-size: .9rem;
      padding: .6rem .8rem; border-radius: 10px;
    }
    .mob-nav .mob-panel a:hover { background: rgba(45,212,176,.12); color: var(--text-on-dark); }
    .mob-nav .mob-panel a[aria-current="page"] { color: var(--mint); font-weight: 700; }

    @media (max-width: 720px) {
      .site-head nav { display: none; }
      .mob-nav { display: block; }
    }

    /* ═══ ناحیه مقاله ═══ */
    .article-wrap { max-width: 660px; margin: 0 auto; padding: 0 1.25rem; }

    .crumbs {
      font-size: .82rem; color: var(--text-muted); padding: 1.4rem 0 0;
    }
    .crumbs a { color: var(--text-muted); text-decoration: none; }
    .crumbs a:hover { color: var(--heading); }
    .crumbs span[aria-current] {
      color: var(--heading);
      display: inline-block; max-width: min(55vw, 400px);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom;
    }

    .article-head { padding: 1.2rem 0 0; }
    .cat-chip {
      display: inline-block; font-size: .78rem; font-weight: 700;
      background: rgba(45, 212, 176, .14); color: var(--heading);
      border: 1px solid rgba(45, 212, 176, .35);
      padding: .25rem .8rem; border-radius: 999px; margin-bottom: 1rem;
    }
    h1 {
      font-size: clamp(1.65rem, 4.5vw, 2.1rem); line-height: 1.55;
      font-weight: 800; color: var(--text-main); margin-bottom: 1rem;
    }
    .article-meta {
      display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
      font-size: .84rem; color: var(--text-muted); font-weight: 300;
      padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem;
    }
    .article-meta .avatar {
      width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
      border: 2px solid var(--mint);
    }
    .article-meta b { color: var(--text-main); font-weight: 700; display: block; font-size: .88rem; }
    .meta-dot { opacity: .5; }

    /* ═══ بدنه مقاله ═══ */
    .article-body { font-size: 17px; line-height: 1.9; }
    .article-body p { margin-bottom: 36px; }
    .article-body p:last-child { margin-bottom: 0; }

    .article-dek {
      color: var(--text-muted); font-size: 1.08em; line-height: 1.85;
      margin-top: -.35rem !important; margin-bottom: 1.4rem !important;
    }

    .answer-first {
      font-size: 1.08em; font-weight: 500;
      color: var(--text-main);
    }

    .article-body h2 {
      font-size: 22px; font-weight: 800; color: var(--heading);
      margin-top: 56px; margin-bottom: 20px;
      padding-right: 16px; position: relative; line-height: 1.6;
      scroll-margin-top: 24px; /* پرش از فهرست مقاله، تیتر را زیر لبه صفحه نمی‌چسباند */
    }
    .article-body h2::before {
      content: ""; position: absolute; right: 0; top: .18em; bottom: .18em;
      width: 4px; border-radius: 4px; background: var(--grad);
    }
    .article-body h3 {
      font-size: 18.5px; font-weight: 700; color: var(--heading);
      margin-top: 40px; margin-bottom: 14px;
    }

    .article-body ul, .article-body ol { margin: 0 1.4rem 36px 0; }
    .article-body li { margin-bottom: 12px; }
    .article-body li::marker { color: var(--mint); font-weight: 700; }

    .article-body a { text-decoration-color: rgba(45, 212, 176, .6); text-underline-offset: 4px; }
    .article-body a:hover { text-decoration-color: var(--mint); }

    /* نشانهٔ «باز شدن در تب جدید» برای لینک‌های داخلِ متن مقاله (WCAG 3.2.5) */
    .newtab-ic {
      display: inline-block;
      font-size: .78em;
      line-height: 1;
      color: var(--mint);
      vertical-align: baseline;
      margin-right: 1px;
      text-decoration: none;
    }
    .cta-soft a .newtab-ic, .cta-final a .newtab-ic { color: inherit; opacity: .85; }

    .article-body blockquote {
      border-right: 4px solid var(--gold);
      background: #FDFBF3; border-radius: 12px;
      padding: 1.1rem 1.3rem; margin-bottom: 36px;
      font-weight: 500;
    }

    /* پوشش اسکرول افقی جدول در موبایل */
    .table-wrap {
      margin-bottom: 36px; overflow-x: auto; -webkit-overflow-scrolling: touch;
      border-radius: 12px;
    }
    .table-wrap table { margin-bottom: 0 !important; min-width: 420px; }

    .article-body table {
      width: 100%; border-collapse: collapse; margin-bottom: 36px;
      font-size: .92em; background: var(--card); border-radius: 12px; overflow: hidden;
      border: 1px solid var(--line);
    }
    .article-body thead th {
      background: rgba(45, 212, 176, .12); color: var(--heading);
      font-weight: 700; padding: .7rem .9rem; text-align: right;
    }
    .article-body td { padding: .65rem .9rem; border-top: 1px solid var(--line); }

    /* ═══ فهرست مقاله (TOC) — سرتیترهای لینک‌شده به بخش‌ها ═══ */
    .toc-box {
      background: var(--card); border: 1px solid var(--line);
      border-radius: 16px; padding: 1.4rem 1.5rem; margin-bottom: 36px;
      box-shadow: 0 2px 12px rgba(13, 122, 106, .05);
    }
    .toc-box .toc-title {
      font-weight: 800; color: var(--heading); font-size: .95rem;
      display: flex; align-items: center; gap: .45rem; margin-bottom: 1rem;
    }
    .toc-box ol {
      margin: 0; padding: 0; list-style: none;
      counter-reset: tocnum;
    }
    .toc-box li {
      counter-increment: tocnum;
      margin-bottom: 2px;
    }
    .toc-box li a {
      display: flex; align-items: baseline; gap: .7rem;
      padding: .5rem .4rem; border-radius: 10px;
      text-decoration: none; color: var(--text-main);
      font-size: .93em; font-weight: 500; line-height: 1.7;
      transition: background .15s, color .15s;
    }
    .toc-box li a::before {
      content: counter(tocnum);
      flex-shrink: 0;
      display: grid; place-items: center;
      min-width: 1.55rem; height: 1.55rem;
      border-radius: 50%;
      background: rgba(45, 212, 176, .13); color: var(--heading);
      font-size: .74rem; font-weight: 800;
    }
    .toc-box li a:hover { background: rgba(45, 212, 176, .09); color: var(--heading); }
    .toc-box li a:hover::before { background: var(--grad); color: var(--bg-dark); }

    .stat-line {
      display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap;
      background: var(--card); border: 1px solid var(--line); border-radius: 14px;
      padding: 1.1rem 1.3rem; margin-bottom: 36px;
    }
    .stat-line b { font-size: 1.9rem; font-weight: 800; color: var(--gold-text); white-space: nowrap; }
    .stat-line span { font-size: .92em; color: var(--text-muted); }

    /* ═══ نمودار مقایسه‌ای CSS خالص ═══ */
    .bar-chart {
      background: var(--card); border: 1px solid var(--line); border-radius: 14px;
      padding: 1.2rem 1.3rem; margin-bottom: 36px;
    }
    .bar-chart .bc-title {
      font-size: .88em; font-weight: 800; color: var(--heading); margin-bottom: 1rem;
    }
    .bar-row { margin-bottom: .9rem; }
    .bar-row:last-child { margin-bottom: 0; }
    .bar-row .bar-label {
      display: flex; justify-content: space-between; align-items: baseline; gap: .8rem;
      font-size: .85em; margin-bottom: .35rem;
    }
    .bar-row .bar-label b { color: var(--text-main); font-weight: 700; }
    .bar-row .bar-label span { color: var(--gold-text); font-weight: 800; white-space: nowrap; }
    .bar-row .bar-track {
      height: 14px; border-radius: 7px; background: rgba(45, 212, 176, .10); overflow: hidden;
    }
    .bar-row .bar-fill {
      height: 100%; border-radius: 7px; background: var(--grad); min-width: 4px;
    }
    .bar-row.bar-dim .bar-fill { background: #C4D6D1; }
    .bar-chart .bc-src { font-size: .78em; color: var(--text-muted); margin-top: .9rem; }

    .note-box {
      border-right: 4px solid var(--teal); background: #EFFAFD;
      border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 36px; font-size: .96em;
    }

    /* ═══ سه CTA درون مقاله ═══ */
    .cta-soft {
      background: #E9FBF6; border: 1px solid rgba(45, 212, 176, .4);
      border-radius: 16px; padding: 1.3rem 1.4rem; margin: 44px 0;
    }
    .cta-soft p { margin-bottom: .9rem !important; font-weight: 500; }
    .cta-soft a { font-weight: 700; text-decoration: none; color: var(--heading); }
    .cta-soft a:hover { color: var(--mint); }

    .cta-proof {
      background: var(--card); border: 1px solid var(--line); border-radius: 16px;
      padding: 1.5rem; margin: 44px 0; text-align: center;
      box-shadow: 0 4px 20px rgba(13, 122, 106, .07);
    }
    .cta-proof .proof-line {
      font-size: .88rem; color: var(--text-muted); margin-bottom: .9rem !important;
    }
    .cta-proof .proof-line b { color: var(--gold-text); }
    .cta-proof h3 { margin: 0 0 1rem !important; color: var(--text-main) !important; font-size: 1.1rem !important; }

    .cta-final {
      background: var(--bg-dark); color: var(--text-on-dark);
      border-radius: 20px; padding: 2.2rem 1.8rem; margin: 52px 0; text-align: center;
      position: relative; overflow: hidden;
    }
    .cta-final::before {
      content: ""; position: absolute; inset: 0;
      background: radial-gradient(circle at 80% 10%, rgba(45, 212, 176, .18), transparent 55%);
      pointer-events: none;
    }
    .cta-final h2 {
      color: var(--text-on-dark) !important; margin: 0 0 .8rem !important;
      padding: 0 !important; font-size: 1.35rem !important;
    }
    .cta-final h2::before { display: none !important; }
    .cta-final p { color: rgba(240, 250, 250, .75); margin-bottom: 1.4rem !important; font-size: .95em; }
    .cta-final .cap-note { font-size: .8rem; color: var(--gold); margin-top: 1rem; display: block; }

    /* ═══ FAQ ═══ */
    .faq-sec { margin-top: 56px; scroll-margin-top: 24px; }
    .faq-sec details {
      background: var(--card); border: 1px solid var(--line); border-radius: 14px;
      padding: 1rem 1.25rem; margin-bottom: 12px;
    }
    .faq-sec summary {
      font-weight: 700; cursor: pointer; color: var(--text-main);
      list-style: none; position: relative; padding-left: 1.6rem;
    }
    .faq-sec summary::-webkit-details-marker { display: none; }
    .faq-sec summary::after {
      content: "＋"; position: absolute; left: 0; top: 0; color: var(--mint); font-weight: 800;
    }
    .faq-sec details[open] summary::after { content: "－"; }
    .faq-sec details p { margin: .8rem 0 0 !important; font-size: .95em; color: var(--text-muted); }

    /* ═══ کادر نویسنده ═══ */
    .author-box {
      display: flex; gap: 1.1rem; align-items: center;
      background: var(--card); border: 1px solid var(--line); border-radius: 18px;
      padding: 1.4rem 1.5rem; margin-top: 52px;
    }
    .author-box img {
      width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
      border: 3px solid var(--mint); flex-shrink: 0;
    }
    .author-box .a-label { font-size: .75rem; font-weight: 300; color: var(--text-muted); }
    .author-box .a-name { font-weight: 800; color: var(--text-main); margin: .15rem 0 .35rem; }
    .author-box .a-bio { font-size: .88rem; color: var(--text-muted); line-height: 1.8; }
    .author-box .a-bio a { color: var(--heading); }

    /* ═══ مطالب مرتبط ═══ */
    .related { max-width: 1100px; margin: 0 auto; padding: 3.5rem 1.25rem 1rem; }
    .related h2 {
      font-size: 1.25rem; font-weight: 800; color: var(--text-main); margin-bottom: 1.4rem;
      padding-right: 14px; position: relative;
    }
    .related h2::before {
      content: ""; position: absolute; right: 0; top: .15em; bottom: .15em;
      width: 4px; border-radius: 4px; background: var(--grad);
    }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
    @media (max-width: 820px) { .related-grid { grid-template-columns: 1fr; } }
    .rel-card {
      background: var(--card); border: 1px solid var(--line); border-radius: 16px;
      padding: 1.2rem 1.3rem; text-decoration: none; display: block;
      transition: transform .15s, box-shadow .15s;
    }
    .rel-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(13, 122, 106, .1); }
    .rel-card .rc-cat { font-size: .72rem; font-weight: 700; color: var(--heading); }
    .rel-card h3 { font-size: .98rem; font-weight: 700; color: var(--text-main); margin: .5rem 0; line-height: 1.7; }
    .rel-card p { font-size: .84rem; font-weight: 300; color: var(--text-muted); line-height: 1.75; }

    /* ═══ فوتر — عیناً مطابق سایت اصلی ═══ */
    .site-footer {
      margin-top: 4rem;
      padding: clamp(4.5rem, 7vw, 6.5rem) 0 2rem;
      border-top: 1px solid rgba(45, 212, 176, .2);
      background:
        radial-gradient(circle at 10% 10%, rgba(34, 211, 238, .13), transparent 27rem),
        radial-gradient(circle at 88% 90%, rgba(45, 212, 176, .12), transparent 30rem),
        #07110f;
      color: #EEFBF7; position: relative; overflow: hidden;
    }
    .site-footer::before {
      content: "MOHITOO"; position: absolute; left: 50%; bottom: -.22em;
      transform: translateX(-50%); width: max-content;
      font: 700 clamp(5rem, 16vw, 13rem)/1 IRANSansXFaNum, Vazirmatn, sans-serif;
      color: rgba(45, 212, 176, .03); letter-spacing: .02em;
      pointer-events: none; text-align: center;
    }
    .footer-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
    .footer-grid {
      display: grid; grid-template-columns: minmax(0, 1.5fr) .55fr .55fr;
      gap: clamp(2rem, 6vw, 5rem); position: relative; z-index: 1;
    }
    .footer-title {
      font-size: clamp(2rem, 3.4vw, 3.35rem); font-weight: 700; line-height: 1.6;
      letter-spacing: 0; margin: 1.6rem 0 1.25rem; max-width: 680px;
    }
    .footer-nav { display: grid; gap: .9rem; font-size: .94rem; }
    .footer-nav a { width: max-content; max-width: 100%; color: #9BB5AE; text-decoration: none; transition: .25s ease; }
    .footer-nav a:hover { color: var(--mint); transform: translateX(-4px); }
    .footer-label { color: #EEFBF7; font-weight: 800; margin-bottom: 1.2rem; }
    .footer-bottom {
      display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
      padding-top: 2rem; margin-top: 2.5rem; border-top: 1px solid rgba(125, 229, 203, .16);
      font-size: .74rem; color: #67827B; position: relative; z-index: 1;
    }
    @media (max-width: 900px) {
      .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
      .footer-title { font-size: clamp(2rem, 9.5vw, 2.65rem); line-height: 1.65; }
    }

    /* ═══ Sticky CTA موبایل ═══ */
    .sticky-cta {
      display: none;
      position: fixed; bottom: 0; right: 0; left: 0; z-index: 120;
      background: rgba(8, 15, 14, .96); backdrop-filter: blur(8px);
      padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
      align-items: center; justify-content: space-between; gap: .8rem;
      border-top: 1px solid rgba(45, 212, 176, .3);
    }
    .sticky-cta span { color: var(--text-on-dark); font-size: .82rem; font-weight: 500; line-height: 1.5; }
    .sticky-cta .btn { padding: .55rem 1.1rem; font-size: .85rem; white-space: nowrap; }
    @media (max-width: 720px) {
      .sticky-cta { display: flex; }
      body { padding-bottom: 72px; }
    }

/* ═══ ستون کناری مقاله‌های جدید — دسکتاپ ═══ */
.article-layout {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 660px) 270px;
  gap: 2.6rem;
  align-items: start;
}
.article-layout > .article-wrap { margin: 0; }
.article-side {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 1rem;
  padding-top: 4.5rem;
}
.article-side .side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 2px 12px rgba(13, 122, 106, .05);
}
.article-side .side-card h2 {
  font-size: .98rem;
  color: var(--heading);
  margin: 0 0 .8rem;
}
.article-side .side-card strong {
  color: var(--heading);
  font-size: .95rem;
}
.article-side .side-card p {
  color: var(--text-muted);
  font-size: .84rem;
  line-height: 1.8;
  margin: .55rem 0 0;
}
.article-side .toc {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-side .toc li { margin: 2px 0; }
.article-side .toc a {
  display: block;
  color: var(--text-main);
  font-size: .86rem;
  line-height: 1.7;
  text-decoration: none;
  padding: .42rem .45rem;
  border-radius: 9px;
}
.article-side .toc a:hover,
.article-side .toc a:focus-visible {
  background: rgba(45, 212, 176, .09);
  color: var(--heading);
}
.mobile-toc { display: none; }

/* کلاس‌های محتوای نسخهٔ جدید با ظاهر قالب مرجع */
.note-box.warning {
  border-right-color: var(--gold);
  background: #FDFBF3;
}
.source-note {
  border-right: 4px solid var(--teal);
  background: #EFFAFD;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 36px;
  font-size: .96em;
}
.cta-final > strong { display: block; position: relative; z-index: 1; }
.cta-final > br + a:not(.btn),
.cta-final > a:not(.btn),
.cta-final p a:not(.btn) { position: relative; z-index: 1; color: var(--mint); }
.cta-final a.btn { position: relative; z-index: 1; }
@media (max-width: 820px) {
  .article-layout {
    display: block;
    width: auto;
  }
  .article-side { display: none; }
  .mobile-toc { display: block; }
}
@media (min-width: 821px) and (max-width: 980px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 1.35rem;
  }
}
@media print {
  .article-layout { display: block; width: auto; }
  .article-side, .mobile-toc { display: none !important; }
}

/* --- آموزش تصویری: اسکرین‌شات مرحله‌ای (v14050525) --- */
figure.shot { margin: 2rem 0; text-align: center; }
figure.shot img {
  max-width: 300px; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 8px 28px rgba(8, 15, 14, .12);
  background: var(--card);
}
figure.shot figcaption {
  margin-top: .8rem; font-size: .92rem; color: var(--text-muted);
  line-height: 1.75; max-width: 34rem; margin-inline: auto;
}
figure.shot .shot-step {
  display: inline-block; background: var(--heading); color: #fff;
  font-weight: 800; border-radius: 999px; padding: .1em .7em;
  margin-inline-start: .4em; font-size: .82rem;
}
.shot-row { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: center; margin: 2rem 0; }
.shot-row figure.shot { margin: 0; flex: 1 1 240px; max-width: 300px; }
figure.shot.shot-wide img { max-width: 340px; }
figure.shot .shot-src {
  display: block; margin-top: .5rem; font-size: .8rem;
  color: var(--gold-text); font-weight: 700;
}
@media (max-width: 520px) { figure.shot img, .shot-row figure.shot { max-width: 260px; } }
