/* رویترز فارسی — «ترمینال». مونو، خطوط داده‌ای، قاب‌های نارنجی. */
.nxrt-progress{position:fixed;inset-block-start:0;inset-inline:0;height:2px;background:var(--brand);transform:scaleX(0);transform-origin:right center;z-index:60}
.nxrt-term{max-width:790px;margin:0 auto;padding:34px 20px 0}
.nxrt-cmd{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:11.5px;letter-spacing:.04em;color:var(--muted);padding:9px 12px;background:var(--bg-2);
  border:1px solid var(--border);border-inline-start:3px solid var(--brand)}
.nxrt-prompt{color:var(--brand);font-weight:700}
.nxrt-sep{opacity:.4}
.nxrt-h1{font-size:clamp(26px,3.5vw,40px);line-height:1.4;font-weight:900;color:var(--ink);margin:22px 0 12px;letter-spacing:-.02em}
.nxrt-sub{font-size:17px;line-height:1.9;color:var(--muted);margin-bottom:14px}
.nxrt-by{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;color:var(--ink);
  padding-bottom:18px;border-bottom:1px dashed var(--border);margin-bottom:24px}
.nxrt-lbl{color:var(--brand);font-weight:700;margin-inline-end:6px}

.nxrt-figure{margin:0 0 26px;border:1px solid var(--border)}
.nxrt-fig-top{display:flex;justify-content:space-between;gap:10px;padding:7px 11px;background:var(--bg-2);
  border-bottom:1px solid var(--border);font-family:ui-monospace,Menlo,monospace;font-size:10.5px;
  letter-spacing:.08em;color:var(--brand)}
.nxrt-fig-top span:last-child{color:var(--muted)}
.nxrt-figure img{width:100%;max-height:440px;object-fit:cover;display:block}
.nxrt-figure figcaption{padding:9px 11px;font-size:12px;line-height:1.8;color:var(--muted);border-top:1px solid var(--border)}

.nxrt-lead{font-size:19px;line-height:2;color:var(--ink);font-weight:600;
  padding:16px 18px;background:var(--bg-2);border-inline-start:3px solid var(--brand);margin-bottom:26px}
.nxrt-text{font-size:17.5px;line-height:2.15;color:var(--text)}
.nxrt-text>p{margin:0 0 22px}
.nxrt-text h2,.nxrt-text h3{margin:36px 0 14px;font-weight:900;line-height:1.5;color:var(--ink);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:-.01em}
.nxrt-text h2::before,.nxrt-text h3::before{content:"// ";color:var(--brand)}
.nxrt-text h2{font-size:22px}
.nxrt-text h3{font-size:19px}
.nxrt-text a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.nxrt-text img{margin:24px auto;border:1px solid var(--border)}
.nxrt-text blockquote{margin:30px 0;padding:18px 20px;background:var(--bg-2);border:1px solid var(--border);
  border-inline-start:3px solid var(--brand);font-size:19px;font-weight:700;line-height:1.9;color:var(--ink)}
.nxrt-text ul,.nxrt-text ol{margin:0 0 22px;padding-inline-start:22px}
.nxrt-text li{margin-bottom:7px}

.nxrt-boxes{display:grid;gap:12px;margin:36px 0}
.nxrt-box{border:1px solid var(--border);background:var(--bg-2)}
.nxrt-box h4{font-family:ui-monospace,Menlo,monospace;font-size:11px;letter-spacing:.12em;color:var(--brand);
  padding:8px 14px;border-bottom:1px solid var(--border)}
.nxrt-box p{font-size:14.5px;line-height:1.95;padding:14px;color:var(--text)}

.nxrt-file{margin:36px 0;border:1px solid var(--brand)}
.nxrt-file-head{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 14px;
  background:var(--brand);color:#14171c;font-family:ui-monospace,Menlo,monospace}
.nxrt-file-tag{font-size:11.5px;font-weight:800;letter-spacing:.12em}
.nxrt-file-legal{font-size:11px}
.nxrt-file-b{padding:16px}
.nxrt-file-b+.nxrt-file-b{border-top:1px dashed var(--border)}
.nxrt-file-b h4{font-family:ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:.08em;color:var(--brand);margin-bottom:10px}
.nxrt-file-b p{font-size:14.5px;line-height:1.95}
.nxrt-tl{list-style:none;padding:0;margin:0;font-family:ui-monospace,Menlo,monospace}
.nxrt-tl li{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;padding:7px 0;
  border-bottom:1px dashed var(--border);font-size:13px}
.nxrt-tl li:last-child{border:0}
.nxrt-tl-d{color:var(--brand)}
.nxrt-tl-e{font-family:var(--font);font-size:14.5px;line-height:1.85}
.nxrt-tbl{width:100%;border-collapse:collapse;font-size:14px}
.nxrt-tbl th,.nxrt-tbl td{padding:9px 10px;border:1px solid var(--border);text-align:start}
.nxrt-tbl th{background:var(--bg-2);font-family:ui-monospace,Menlo,monospace;font-size:11px;letter-spacing:.1em;color:var(--brand)}
.nxrt-docs{list-style:none;padding:0;margin:0}
.nxrt-docs a{color:var(--brand);text-decoration:underline}

.nxrt-tags,.nxrt-ent{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:24px 0}
.nxrt-tags span,.nxrt-ent span{font-family:ui-monospace,Menlo,monospace;font-size:10.5px;letter-spacing:.1em;color:var(--muted)}
.nxrt-tags a,.nxrt-ent a{font-size:12.5px;border:1px solid var(--border);padding:5px 11px;color:var(--text)}
.nxrt-tags a:hover,.nxrt-ent a:hover{border-color:var(--brand);color:var(--brand)}

.nxrt-share{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:28px;padding:12px 0;
  border-block:1px solid var(--border)}
.nxrt-share-l{font-family:ui-monospace,Menlo,monospace;font-size:10.5px;letter-spacing:.12em;color:var(--muted)}
.nxrt-share a,.nxrt-share button{font-family:ui-monospace,Menlo,monospace;font-size:11.5px;font-weight:700;
  color:var(--ink);background:none;border:0;padding:0;letter-spacing:.04em}
.nxrt-share a:hover,.nxrt-share button:hover{color:var(--brand)}

.nxrt-related{max-width:790px;margin:30px auto 66px;padding:0 20px}
.nxrt-related h2{font-family:ui-monospace,Menlo,monospace;font-size:11px;letter-spacing:.16em;color:var(--brand);
  padding-bottom:8px;border-bottom:1px solid var(--brand);margin-bottom:2px}
.nxrt-rel-grid{counter-reset:x;display:block}
.nxrt-rel{display:grid;grid-template-columns:44px 88px minmax(0,1fr);gap:12px;align-items:center;
  padding:11px 0;border-bottom:1px dashed var(--border)}
.nxrt-rel::before{counter-increment:x;content:"[" counter(x,decimal-leading-zero) "]";
  font-family:ui-monospace,Menlo,monospace;font-size:11px;color:var(--brand)}
.nxrt-rel-img img{width:88px;height:58px;object-fit:cover;border:1px solid var(--border)}
.nxrt-rel-body{display:block;min-width:0}
.nxrt-rel-cat{display:block;font-family:ui-monospace,Menlo,monospace;font-size:10px;letter-spacing:.1em;color:var(--muted);margin-bottom:3px}
.nxrt-rel-t{display:block;font-size:15px;font-weight:800;line-height:1.65;color:var(--ink)}
.nxrt-rel:hover .nxrt-rel-t{color:var(--brand)}
.nxrt-rel-m{display:block;font-size:10.5px;color:var(--muted);margin-top:4px}

.nxrt-lb{position:fixed;inset:0;z-index:90;display:none;place-items:center;background:rgba(0,0,0,.94);padding:24px}
.nxrt-lb.on{display:grid}
.nxrt-lb img{max-width:100%;max-height:92vh;object-fit:contain;border:1px solid var(--brand)}
.nxrt-lb-x{position:absolute;top:18px;inset-inline-end:22px;font-size:26px;color:var(--brand);cursor:pointer}

@media(max-width:600px){
  .nxrt-h1{font-size:24px}
  .nxrt-text{font-size:16.5px}
  .nxrt-tl li{grid-template-columns:1fr}
  .nxrt-rel{grid-template-columns:36px 72px minmax(0,1fr);gap:9px}
  .nxrt-rel-img img{width:72px;height:50px}
}
@media print{.nxrt-progress,.nxrt-share,.nxrt-related,.nxrt-lb{display:none!important}}
