/* =========================================================
   SINGLE RESOURCE / ARTICLE — standalone design layer
   ========================================================= */
:root{--article-blue:#1E3A8A;--article-orange:#F4511E;--article-cyan:#00B7C2;--article-text:#272626;--article-muted:#64748b;--article-line:#e2e8f0;--article-soft:#f8fafc;}
.article-page{background:#fff;color:var(--article-text);overflow:visible}.article-page *{box-sizing:border-box}.article-shell{width:min(1180px,calc(100% - 48px));margin:0 auto}.article-progress{position:fixed;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,var(--article-cyan),var(--article-blue),var(--article-orange));z-index:9999;transition:width .08s linear}
.article-hero{position:relative;padding:64px 0 56px;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);border-bottom:1px solid #e7edf4;overflow:hidden}.article-hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(30,58,138,.07) 1px,transparent 1px);background-size:26px 26px;mask-image:linear-gradient(to bottom,#000,transparent 84%);pointer-events:none}.article-hero:after{content:"";position:absolute;width:620px;height:620px;border-radius:50%;right:-260px;top:-360px;background:radial-gradient(circle,rgba(0,183,194,.15),rgba(30,58,138,.05) 44%,transparent 70%);pointer-events:none}.article-hero-inner{position:relative;z-index:1;max-width:920px}.article-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;font-weight:700;color:#94a3b8;margin-bottom:28px}.article-breadcrumbs a{color:#64748b;text-decoration:none}.article-breadcrumbs a:hover{color:var(--article-orange)}.article-breadcrumbs svg{width:13px;height:13px}.article-type{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:9px;border:1px solid #bfdbfe;background:#eff6ff;color:var(--article-blue);font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.article-type-dot{width:6px;height:6px;border-radius:50%;background:var(--article-cyan)}.article-hero h1{font-size:clamp(42px,5vw,68px);line-height:1.035;letter-spacing:-.055em;color:var(--article-blue);margin:18px 0 20px;font-weight:850;max-width:900px}.article-deck{font-size:18px;line-height:1.75;color:#64748b;max-width:790px;margin:0}.article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:28px;color:#64748b;font-size:12px;font-weight:700}.article-meta span{display:inline-flex;align-items:center;gap:7px}.article-meta svg{width:15px;height:15px;color:#94a3b8}.article-author{color:#334155!important}.article-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}.article-action{border:1px solid #dbe4ee;background:#fff;border-radius:12px;padding:10px 13px;font:inherit;font-size:12px;font-weight:800;color:#475569;display:inline-flex;align-items:center;gap:8px;cursor:pointer;transition:.2s}.article-action:hover{border-color:rgba(30,58,138,.34);color:var(--article-blue);transform:translateY(-1px);box-shadow:0 8px 22px rgba(15,23,42,.06)}.article-action svg{width:16px;height:16px}
.article-feature{padding:44px 0 0}.article-feature-card{min-height:380px;border-radius:28px;background:linear-gradient(145deg,#102a67,#1E3A8A 58%,#0b254f);position:relative;overflow:hidden;border:1px solid rgba(30,58,138,.15);box-shadow:0 22px 56px rgba(30,58,138,.14);display:flex;align-items:center;justify-content:center;padding:34px}.article-feature-card:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(to bottom,#000,transparent 92%)}.article-feature-card:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-110px;top:-150px;background:rgba(0,183,194,.16);filter:blur(4px)}.article-workflow{position:relative;z-index:1;width:min(100%,760px);display:grid;grid-template-columns:repeat(4,1fr);gap:14px;align-items:center}.article-flow-node{padding:20px 18px;border-radius:18px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(12px);min-height:126px;color:#dbeafe}.article-flow-node .num{font:800 10px/1 'JetBrains Mono',monospace;color:#67e8f9;text-transform:uppercase;letter-spacing:.12em}.article-flow-node strong{display:block;color:#fff;font-size:14px;margin:12px 0 5px}.article-flow-node span{font-size:11px;line-height:1.5;color:#bfdbfe}.article-flow-arrow{position:absolute;height:1px;background:linear-gradient(90deg,rgba(0,183,194,.65),rgba(244,81,30,.7));top:50%;left:12%;right:12%;z-index:-1}.article-flow-arrow:after{content:"";position:absolute;right:0;top:-3px;border-left:7px solid #f4511e;border-top:3.5px solid transparent;border-bottom:3.5px solid transparent}
.article-body-wrap{padding:72px 0 86px}.article-layout{display:grid;grid-template-columns:240px minmax(0,740px) 150px;justify-content:space-between;gap:38px;align-items:start}.article-toc{padding:18px 0}.article-toc-label{font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#94a3b8;margin-bottom:12px}.article-toc nav{display:flex;flex-direction:column;border-left:1px solid #e2e8f0}.article-toc a{padding:7px 0 7px 14px;text-decoration:none;color:#64748b;font-size:12px;font-weight:700;line-height:1.45;border-left:2px solid transparent;margin-left:-1px;transition:.2s}.article-toc a:hover,.article-toc a.active{color:var(--article-blue);border-left-color:var(--article-orange)}.article-toc-back{display:inline-flex;align-items:center;gap:7px;margin-top:18px;font-size:11px;font-weight:800;color:var(--article-orange);text-decoration:none}.article-toc-back svg{width:14px;height:14px}.article-share-rail{display:flex;flex-direction:column;align-items:flex-end;gap:9px}.article-share-rail span{font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.12em;color:#94a3b8;margin-bottom:2px}.rail-btn{width:38px;height:38px;border-radius:11px;border:1px solid #e2e8f0;background:#fff;color:#64748b;display:grid;place-items:center;cursor:pointer;transition:.2s}.rail-btn:hover{color:var(--article-blue);border-color:#bfdbfe;background:#eff6ff}.rail-btn svg{width:16px;height:16px}.article-content{font-size:16px;line-height:1.82;color:#475569}.article-content>:first-child{margin-top:0}.article-content p{margin:0 0 22px}.article-content h2{font-size:clamp(27px,3vw,36px);line-height:1.18;letter-spacing:-.035em;color:var(--article-blue);margin:56px 0 18px;font-weight:850;scroll-margin-top:115px}.article-content h3{font-size:22px;line-height:1.3;letter-spacing:-.02em;color:#0f2c72;margin:38px 0 14px;scroll-margin-top:115px}.article-content strong{color:#27364f}.article-content a{color:var(--article-blue);font-weight:750;text-decoration-color:rgba(30,58,138,.3);text-underline-offset:3px}.article-content a:hover{color:var(--article-orange)}.article-content ul,.article-content ol{margin:0 0 24px;padding-left:24px}.article-content li{margin:8px 0;padding-left:3px}.article-content blockquote{margin:32px 0;padding:20px 22px;border-left:4px solid var(--article-orange);background:#fff7ed;border-radius:0 16px 16px 0;color:#7c2d12}.article-content blockquote p{margin:0}.article-lead{font-size:18px;color:#334155;line-height:1.8}.article-callout{margin:30px 0;padding:20px 22px;border-radius:18px;border:1px solid #bae6fd;background:#f0f9ff;display:grid;grid-template-columns:36px 1fr;gap:14px}.article-callout.warning{border-color:#fed7aa;background:#fff7ed}.article-callout.success{border-color:#a7f3d0;background:#ecfdf5}.callout-icon{width:36px;height:36px;border-radius:10px;background:#fff;color:var(--article-blue);display:grid;place-items:center;border:1px solid rgba(148,163,184,.22)}.callout-icon svg{width:17px;height:17px}.article-callout strong{display:block;font-size:13px;color:#0f2c72;margin-bottom:3px}.article-callout p{margin:0;font-size:13px;line-height:1.65;color:#526273}.article-figure{margin:34px 0}.article-figure-visual{border:1px solid #dbe4ee;border-radius:20px;background:#f8fafc;padding:22px;min-height:260px;display:grid;place-items:center;overflow:hidden}.article-figure figcaption{font-size:11px;line-height:1.6;color:#94a3b8;margin-top:9px}.routing-diagram{width:min(100%,580px);display:grid;grid-template-columns:1fr 60px 1fr;gap:12px;align-items:center}.route-card{border:1px solid #dbe4ee;background:#fff;border-radius:16px;padding:18px;box-shadow:0 10px 30px rgba(15,23,42,.05)}.route-card span{display:block;font:800 9px/1 'JetBrains Mono',monospace;text-transform:uppercase;letter-spacing:.1em;color:#00a2ae}.route-card strong{display:block;font-size:14px;color:#0f2c72;margin:8px 0 5px}.route-card p{font-size:11px;line-height:1.5;color:#64748b;margin:0}.route-arrow{height:1px;background:linear-gradient(90deg,var(--article-cyan),var(--article-orange));position:relative}.route-arrow:after{content:"";position:absolute;right:-1px;top:-3px;border-left:7px solid var(--article-orange);border-top:3.5px solid transparent;border-bottom:3.5px solid transparent}.article-checklist{display:grid;gap:10px;margin:26px 0}.check-item{display:flex;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid #e2e8f0;border-radius:13px;background:#fff}.check-item svg{width:18px;height:18px;color:#059669;flex:0 0 auto;margin-top:2px}.check-item span{font-size:13px;line-height:1.55;color:#475569}.article-divider{height:1px;background:#e2e8f0;margin:48px 0}.article-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:38px}.article-tags a{font-size:10px!important;text-transform:uppercase;letter-spacing:.08em;text-decoration:none!important;border:1px solid #e2e8f0;border-radius:999px;padding:7px 9px;background:#f8fafc;color:#64748b!important}.article-tags a:hover{border-color:#bfdbfe;background:#eff6ff;color:var(--article-blue)!important}
.article-end{border-top:1px solid #e2e8f0;padding:62px 0 78px;background:#f8fafc}.article-nav{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:58px}.post-nav-card{display:flex;gap:14px;align-items:center;padding:20px;border:1px solid #dbe4ee;border-radius:18px;background:#fff;text-decoration:none;transition:.2s}.post-nav-card.next{text-align:right;justify-content:flex-end}.post-nav-card:hover{border-color:rgba(30,58,138,.3);transform:translateY(-2px);box-shadow:0 14px 32px rgba(15,23,42,.06)}.post-nav-icon{width:38px;height:38px;border-radius:11px;background:#eff6ff;color:var(--article-blue);display:grid;place-items:center;flex:0 0 auto}.post-nav-icon svg{width:16px;height:16px}.post-nav-copy small{display:block;font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8;font-weight:850;margin-bottom:5px}.post-nav-copy strong{display:block;font-size:13px;color:#0f2c72;line-height:1.4}.related-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.related-head span{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.12em;color:var(--article-orange)}.related-head h2{font-size:32px;line-height:1.15;letter-spacing:-.035em;color:var(--article-blue);margin:6px 0 0}.related-head a{font-size:12px;font-weight:800;color:var(--article-blue);text-decoration:none}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.related-card{display:flex;flex-direction:column;min-height:230px;border:1px solid #dbe4ee;border-radius:19px;background:#fff;padding:21px;text-decoration:none;transition:.2s}.related-card:hover{transform:translateY(-3px);border-color:rgba(30,58,138,.3);box-shadow:0 14px 30px rgba(15,23,42,.06)}.related-card .article-type{margin-bottom:18px}.related-card h3{font-size:17px;line-height:1.35;color:#0f2c72;margin:0 0 10px}.related-card p{font-size:12px;line-height:1.65;color:#64748b;margin:0 0 18px}.related-card .read-more{margin-top:auto;color:var(--article-orange);font-size:11px;font-weight:850}.article-cta{margin-top:54px;border:1px solid #dbe4ee;border-radius:24px;background:linear-gradient(135deg,#fff,#f8fafc);padding:28px;display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:0 14px 40px rgba(30,58,138,.05)}.article-cta-copy span{font-size:9px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:var(--article-orange)}.article-cta-copy h3{font-size:22px;color:var(--article-blue);margin:6px 0 7px}.article-cta-copy p{font-size:12px;color:#64748b;line-height:1.6;margin:0;max-width:620px}.article-cta-actions{display:flex;gap:9px;flex-wrap:wrap}.article-cta-actions a{text-decoration:none;white-space:nowrap;padding:11px 14px;border-radius:11px;font-size:11px;font-weight:850}.cta-primary{background:linear-gradient(90deg,#F4511E,#e43f0d);color:#fff;box-shadow:0 10px 22px rgba(244,81,30,.17)}.cta-secondary{background:#fff;border:1px solid #dbe4ee;color:var(--article-blue)}
@media(max-width:1080px){.article-layout{grid-template-columns:210px minmax(0,1fr)}.article-share-rail{display:none}.article-workflow{grid-template-columns:repeat(2,1fr)}.article-flow-arrow{display:none}}
@media(max-width:820px){.article-shell{width:min(100% - 32px,1180px)}.article-hero{padding:50px 0 44px}.article-layout{grid-template-columns:1fr}.article-toc{position:relative;top:auto;border:1px solid #e2e8f0;border-radius:16px;padding:16px;background:#f8fafc}.article-toc nav{display:grid;grid-template-columns:repeat(2,1fr);border-left:0;gap:4px}.article-toc a{border-left:0;margin-left:0;padding:6px 8px;border-radius:8px}.article-toc a.active{background:#eff6ff}.article-feature-card{min-height:330px}.related-grid{grid-template-columns:1fr 1fr}.article-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.article-shell{width:min(100% - 28px,1180px)}.article-hero h1{font-size:40px}.article-deck{font-size:16px}.article-feature{padding-top:28px}.article-feature-card{padding:20px;border-radius:22px}.article-workflow{grid-template-columns:1fr}.article-flow-node{min-height:0}.article-body-wrap{padding:52px 0 62px}.article-content{font-size:15px}.article-content h2{margin-top:44px}.article-toc nav{grid-template-columns:1fr}.routing-diagram{grid-template-columns:1fr}.route-arrow{height:38px;width:1px;margin:auto;background:linear-gradient(var(--article-cyan),var(--article-orange))}.route-arrow:after{right:-3px;top:auto;bottom:-1px;border-left:3.5px solid transparent;border-right:3.5px solid transparent;border-top:7px solid var(--article-orange)}.article-nav,.related-grid{grid-template-columns:1fr}.post-nav-card.next{text-align:left;justify-content:flex-start}.post-nav-card.next .post-nav-icon{order:0}.related-head{align-items:flex-start;flex-direction:column}.article-cta-actions{width:100%}.article-cta-actions a{flex:1;text-align:center}}

/* Nelx Studio implementation additions */
.nsc-single-resource .article-feature-image{position:relative;z-index:1;width:100%;height:100%;min-height:310px;object-fit:cover;border-radius:18px;display:block}
.nsc-single-resource .article-feature-template{position:relative;z-index:1;width:100%}
.nsc-single-resource .article-type.is-guide{border-color:#a7f3d0;background:#ecfdf5;color:#047857}.nsc-single-resource .article-type.is-guide .article-type-dot{background:#10b981}
.nsc-single-resource .article-type.is-article{border-color:#e9d5ff;background:#faf5ff;color:#7e22ce}.nsc-single-resource .article-type.is-article .article-type-dot{background:#a855f7}
.nsc-single-resource .article-type.is-update{border-color:#fed7aa;background:#fff7ed;color:#c2410c}.nsc-single-resource .article-type.is-update .article-type-dot{background:#f97316}
.nsc-single-resource .article-type.is-resource{border-color:#cbd5e1;background:#f8fafc;color:#475569}.nsc-single-resource .article-type.is-resource .article-type-dot{background:#64748b}
.nsc-single-resource .article-content .wp-block-image.is-style-nelx-article-figure{margin:34px 0}
.nsc-single-resource .article-content .wp-block-image.is-style-nelx-article-figure img{border:1px solid #dbe4ee;border-radius:20px;background:#f8fafc;padding:0;box-shadow:0 10px 30px rgba(15,23,42,.05)}
.nsc-single-resource .article-content .wp-block-image.is-style-nelx-article-figure figcaption{font-size:11px;line-height:1.6;color:#94a3b8;margin-top:9px;text-align:left}
.nsc-single-resource .article-content .wp-block-list.is-style-nelx-checklist{list-style:none;padding-left:0;display:grid;gap:10px;margin:26px 0}
.nsc-single-resource .article-content .wp-block-list.is-style-nelx-checklist li{position:relative;margin:0;padding:13px 14px 13px 44px;border:1px solid #e2e8f0;border-radius:13px;background:#fff;font-size:13px;line-height:1.55;color:#475569}
.nsc-single-resource .article-content .wp-block-list.is-style-nelx-checklist li:before{content:'✓';position:absolute;left:14px;top:12px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;border:1px solid #a7f3d0;background:#ecfdf5;color:#059669;font-size:12px;font-weight:900}
.nsc-single-resource .article-content .wp-block-quote.is-style-nelx-article-quote{margin:32px 0;padding:20px 22px;border-left:4px solid var(--article-orange);background:#fff7ed;border-radius:0 16px 16px 0;color:#7c2d12}
.nsc-single-resource .article-content .wp-block-table.is-style-nelx-article-table{margin:30px 0;overflow:auto;border:1px solid #dbe4ee;border-radius:16px;background:#fff}
.nsc-single-resource .article-content .wp-block-table.is-style-nelx-article-table table{border-collapse:collapse;width:100%;font-size:13px}
.nsc-single-resource .article-content .wp-block-table.is-style-nelx-article-table th,.nsc-single-resource .article-content .wp-block-table.is-style-nelx-article-table td{padding:12px 14px;border:0;border-bottom:1px solid #e2e8f0;text-align:left}.nsc-single-resource .article-content .wp-block-table.is-style-nelx-article-table th{background:#f8fafc;color:#0f2c72;font-weight:800}
.nsc-single-resource .article-empty{padding:32px;border:1px dashed #cbd5e1;border-radius:18px;background:#f8fafc;color:#64748b}

html[data-nelx-theme="dark"] .nsc-single-resource .article-page{background:#081120;color:#d7e0ea}
html[data-nelx-theme="dark"] .nsc-single-resource .article-hero{background:linear-gradient(180deg,#0b1220 0%,#0d1728 100%);border-color:#223047}
html[data-nelx-theme="dark"] .nsc-single-resource .article-breadcrumbs,html[data-nelx-theme="dark"] .nsc-single-resource .article-breadcrumbs a,html[data-nelx-theme="dark"] .nsc-single-resource .article-deck,html[data-nelx-theme="dark"] .nsc-single-resource .article-meta{color:#9eacc0}
html[data-nelx-theme="dark"] .nsc-single-resource :is(.article-hero h1,.article-content h2,.article-content h3,.related-head h2,.article-cta-copy h3,.post-nav-copy strong,.related-card h3){color:#AEBFFF!important}
html[data-nelx-theme="dark"] .nsc-single-resource .article-author{color:#e5edf8!important}
html[data-nelx-theme="dark"] .nsc-single-resource .article-action,html[data-nelx-theme="dark"] .nsc-single-resource .rail-btn,html[data-nelx-theme="dark"] .nsc-single-resource .post-nav-card,html[data-nelx-theme="dark"] .nsc-single-resource .related-card,html[data-nelx-theme="dark"] .nsc-single-resource .article-cta,html[data-nelx-theme="dark"] .nsc-single-resource .check-item,html[data-nelx-theme="dark"] .nsc-single-resource .article-content .wp-block-list.is-style-nelx-checklist li{background:#101a2b;border-color:#2a3951;color:#c5d0de}
html[data-nelx-theme="dark"] .nsc-single-resource .article-content{color:#c3cedb}html[data-nelx-theme="dark"] .nsc-single-resource .article-content strong{color:#f1f5f9}html[data-nelx-theme="dark"] .nsc-single-resource .article-content a{color:#AEBFFF}
html[data-nelx-theme="dark"] .nsc-single-resource .article-toc{color:#aab7c8}html[data-nelx-theme="dark"] .nsc-single-resource .article-toc nav{border-color:#334155}html[data-nelx-theme="dark"] .nsc-single-resource .article-toc a{color:#9eacc0}html[data-nelx-theme="dark"] .nsc-single-resource .article-toc a:hover,html[data-nelx-theme="dark"] .nsc-single-resource .article-toc a.active{color:#AEBFFF}
html[data-nelx-theme="dark"] .nsc-single-resource .article-callout{background:#0c2534;border-color:#155e75}html[data-nelx-theme="dark"] .nsc-single-resource .article-callout.warning{background:#2a190e;border-color:#9a4b1d}html[data-nelx-theme="dark"] .nsc-single-resource .article-callout.success{background:#0b241c;border-color:#166534}html[data-nelx-theme="dark"] .nsc-single-resource .article-callout :is(strong,p){color:#dbe8f7}html[data-nelx-theme="dark"] .nsc-single-resource .callout-icon{background:#111827;border-color:#334155;color:#AEBFFF}
html[data-nelx-theme="dark"] .nsc-single-resource .article-content blockquote,html[data-nelx-theme="dark"] .nsc-single-resource .article-content .wp-block-quote.is-style-nelx-article-quote{background:#2a190e;color:#fed7aa}
html[data-nelx-theme="dark"] .nsc-single-resource .article-figure-visual,html[data-nelx-theme="dark"] .nsc-single-resource .article-content .wp-block-image.is-style-nelx-article-figure img{background:#0f1929;border-color:#2a3951}html[data-nelx-theme="dark"] .nsc-single-resource .route-card{background:#101a2b;border-color:#2a3951}html[data-nelx-theme="dark"] .nsc-single-resource .route-card strong{color:#AEBFFF}html[data-nelx-theme="dark"] .nsc-single-resource .route-card p{color:#aab7c8}
html[data-nelx-theme="dark"] .nsc-single-resource .article-tags a{background:#101a2b;border-color:#2a3951;color:#aab7c8!important}
html[data-nelx-theme="dark"] .nsc-single-resource .article-end{background:#0b1423;border-color:#223047}html[data-nelx-theme="dark"] .nsc-single-resource .related-card p,html[data-nelx-theme="dark"] .nsc-single-resource .article-cta-copy p{color:#aab7c8}
html[data-nelx-theme="dark"] .nsc-single-resource .post-nav-icon{background:#16233a;color:#AEBFFF}html[data-nelx-theme="dark"] .nsc-single-resource .cta-secondary{background:#101a2b;border-color:#334155;color:#AEBFFF}
html[data-nelx-theme="dark"] .nsc-single-resource .article-content .wp-block-table.is-style-nelx-article-table{background:#101a2b;border-color:#2a3951}html[data-nelx-theme="dark"] .nsc-single-resource .article-content .wp-block-table.is-style-nelx-article-table th{background:#152237;color:#AEBFFF}html[data-nelx-theme="dark"] .nsc-single-resource .article-content .wp-block-table.is-style-nelx-article-table td{border-color:#2a3951;color:#c5d0de}

.nsc-single-resource .article-visual-block .article-figure-visual{display:block}.nsc-single-resource .article-visual-head{display:flex;align-items:center;gap:10px;margin-bottom:18px}.nsc-single-resource .article-visual-head span{font:800 9px/1 'JetBrains Mono',monospace;text-transform:uppercase;letter-spacing:.1em;color:#00a2ae}.nsc-single-resource .article-visual-head strong{font-size:14px;color:#0f2c72}.nsc-single-resource .article-visual-inner>:first-child{margin-top:0}.nsc-single-resource .article-visual-inner>:last-child{margin-bottom:0}.nsc-single-resource .article-toc a.is-sub{font-size:11px;padding-left:24px;font-weight:650}.nsc-single-resource .article-toc-empty{min-height:1px}.nsc-single-resource .related-grid>.article-empty{grid-column:1/-1}
html[data-nelx-theme="dark"] .nsc-single-resource .article-visual-head strong{color:#AEBFFF}html[data-nelx-theme="dark"] .nsc-single-resource .article-visual-inner{color:#c3cedb}

/* v0.5.23 — modular Single Resource widgets.
   Desktop positioning is intentionally delegated to Elementor containers/Motion Effects. */
.nsc-article-toc-widget .article-toc,
.nsc-article-share-widget .article-share-rail{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  bottom:auto!important;
  width:auto!important;
  margin:0!important;
  transform:none!important;
}
.nsc-article-toc-widget .article-toc{max-height:none;overflow:visible;padding:18px 0}
.nsc-article-toc-widget .article-toc-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0;margin:0 0 12px;border:0;background:transparent;color:inherit;text-align:left;cursor:default;box-shadow:none}
.nsc-article-toc-widget .article-toc-toggle .article-toc-label{margin:0}
.nsc-article-toc-widget .article-toc-toggle>svg{display:none;width:17px;height:17px;flex:0 0 auto;transition:transform .2s ease}
.nsc-article-toc-widget .article-toc-panel{display:block}
.nsc-article-toc-widget .article-toc-nav{max-height:calc(var(--article-toc-items,6) * 34px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;padding-right:5px}
.nsc-article-toc-widget .article-toc-nav::-webkit-scrollbar{width:5px}
.nsc-article-toc-widget .article-toc-nav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.nsc-article-toc-widget .article-toc-nav::-webkit-scrollbar-track{background:transparent}
html[data-nelx-theme="dark"] .nsc-article-toc-widget .article-toc-nav{scrollbar-color:#475569 transparent}
html[data-nelx-theme="dark"] .nsc-article-toc-widget .article-toc-nav::-webkit-scrollbar-thumb{background:#475569}
.nsc-article-share-widget .article-share-rail{height:max-content}
.nsc-article-toc-widget .article-toc-toggle{background:transparent;box-shadow:none}
.nsc-article-toc-widget .article-toc-toggle:hover,
.nsc-article-toc-widget .article-toc-toggle:focus{background:transparent}
.nsc-article-toc-widget .article-toc-label,
.nsc-article-toc-widget .article-toc-label:hover{background:transparent!important}
.nsc-article-body-widget,.nsc-article-body-widget .article-content{min-width:0;max-width:100%;width:100%}
.nsc-article-body-widget .article-content>*{min-width:0;max-width:100%}
.nsc-article-body-widget .article-code,.nsc-article-body-widget .article-code pre{min-width:0;max-width:100%;width:100%}
.nsc-article-share-widget .rail-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important}
.nsc-article-share-widget .rail-btn svg{display:block!important;margin:auto!important;flex:0 0 auto}

@media(max-width:820px){
  .nsc-article-toc-widget .article-toc{padding:0;overflow:hidden}
  .nsc-article-toc-widget .article-toc-toggle{cursor:pointer;margin:0;padding:15px 16px}
  .nsc-article-toc-widget .article-toc-toggle>svg{display:block}
  .nsc-article-toc-widget .article-toc-panel{padding:0 16px 16px}
  .nsc-article-toc-widget .article-toc.is-mobile-collapsed .article-toc-panel{display:none}
  .nsc-article-toc-widget .article-toc.is-mobile-collapsed .article-toc-toggle>svg{transform:rotate(-90deg)}
  .nsc-article-share-widget{display:none}
}
