/* v123 — مسیر پخش روزانه (rt-) */
.rt-seg{margin:0 0 12px}
.rt-seg button{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.rt-seg svg,.rt-tabs svg{width:18px;height:18px}
.rt-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:20px 14px}
.rt-empty>svg{width:46px;height:46px;color:var(--dv-te,#0E9384)}
.rt-empty b{font-size:15px;color:var(--txt)}
.rt-empty small{font-size:12.5px;color:var(--muted);line-height:1.9;margin-bottom:6px}
.rt-prow{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:9px 0}
.rt-prow:first-of-type{border-top:0}
.rt-prow>div{flex:1;min-width:0}
.rt-prow b{display:block;font-size:14px;font-weight:800;color:var(--txt);line-height:1.6}
.rt-prow small{display:block;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rt-ric{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;flex:none}
.rt-ric svg{width:19px;height:19px}
.rt-ric.ok{background:var(--dv-ok-soft);color:var(--dv-ok)}.rt-ric.bad{background:var(--dv-bad-soft);color:var(--dv-bad)}
.rt-x{width:44px;height:44px;border:0;border-radius:12px;background:var(--dv-bad-soft);color:var(--dv-bad);display:grid;place-items:center;cursor:pointer;flex:none}
.rt-x svg{width:18px;height:18px}
em.rt-nl{display:block;font-style:normal;font-size:12px;font-weight:700;color:var(--dv-bad);margin-top:3px;line-height:1.9}
em.rt-nl button{border:0;background:var(--dv-bad-soft);color:var(--dv-bad);font-weight:800;border-radius:8px;padding:3px 8px;cursor:pointer;font-family:inherit;font-size:12px}
/* شروع */
.rt-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin-bottom:10px}
.rt-opt{display:flex;align-items:center;gap:8px;min-height:58px;border:1.5px solid var(--line);background:var(--card);border-radius:16px;padding:8px 10px;cursor:pointer;color:var(--txt2);text-align:right;font-family:inherit}
.rt-opt svg{width:24px;height:24px;flex:none}
.rt-opt b{display:block;font-size:13.5px;font-weight:800}
.rt-opt small{display:block;font-size:11px;color:var(--dv-bad);font-weight:700}
.rt-opt.on{border-color:var(--pri);background:var(--dv-pri-soft);color:var(--pri)}
.rt-opt.dis{opacity:.55}
.rt-sw{display:flex;align-items:center;gap:10px;min-height:48px;font-size:13.5px;font-weight:800;color:var(--txt2);margin-bottom:8px;cursor:pointer}
.rt-sw input{width:22px;height:22px;accent-color:var(--pri)}
.rt-sw span{display:inline-flex;align-items:center;gap:6px}.rt-sw svg{width:18px;height:18px}
.rt-go{min-height:56px!important;font-size:16px!important}
.cu-spin.sm{width:20px;height:20px;border-width:3px;border-color:#fff;border-top-color:transparent}
/* خلاصه */
.rt-sumr{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;text-align:center}
.rt-sumr>div{background:var(--bg);border-radius:14px;padding:8px 4px}
.rt-sumr b{display:block;font-size:22px;font-weight:900;color:var(--txt)}.rt-sumr b.ok{color:var(--dv-ok)}
.rt-sumr small{display:block;font-size:11.5px;color:var(--muted);font-weight:700}
.rt-meta{font-size:12px;color:var(--muted);margin:8px 0;line-height:1.9}
.rt-map{display:block;width:100%;height:auto;margin:6px 0}
.rt-map .bg{fill:var(--bg)}
.rt-map .ln{fill:none;stroke:var(--pri);stroke-width:2.4;stroke-linejoin:round;stroke-dasharray:6 4;opacity:.75}
.rt-map .st{fill:var(--txt)}.rt-map .stt{fill:var(--card);font-size:11px;font-weight:900;text-anchor:middle;font-family:inherit}
.rt-map .pt{fill:var(--pri);stroke:var(--card);stroke-width:2}.rt-map .pt.dn{fill:var(--dv-ok)}.rt-map .pt.sk{fill:var(--dv-bad)}
.rt-map .ptt{fill:#fff;font-size:10.5px;font-weight:900;text-anchor:middle;font-family:inherit}
.rt-gl{display:flex;flex-direction:column;gap:6px}
.rt-gl a{display:flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border-radius:12px;background:var(--dv-sky-soft);color:var(--dv-sky);font-weight:800;font-size:13px;text-decoration:none}
.rt-gl svg{width:18px;height:18px}
.rt-warn{display:flex;gap:8px;align-items:flex-start;background:var(--dv-am-soft);color:var(--dv-am);border-radius:14px;padding:10px 12px;margin-bottom:12px;font-size:13px;font-weight:700;line-height:1.9}
.rt-warn svg{width:20px;height:20px;flex:none}
.rt-tabs{margin:0 0 12px}
.rt-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12.5px}
/* ترتیب رفتن */
.rt-list{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.rt-stop{display:flex;gap:10px;background:var(--card);border-radius:18px;box-shadow:var(--dv-sh);padding:12px 10px;align-items:flex-start;border:1.5px solid transparent}
.rt-stop.next{border-color:var(--pri)}
.rt-stop.st-done{opacity:.62}.rt-stop.st-done .rt-n{background:var(--dv-ok)}
.rt-stop.st-skip .rt-n{background:var(--dv-bad)}
.rt-n{width:44px;height:44px;border-radius:50%;background:var(--pri);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:900;flex:none}
.rt-n.sm{width:30px;height:30px;font-size:14px}
.rt-sb{flex:1;min-width:0}
.rt-sb b{display:block;font-size:14.5px;font-weight:900;color:var(--txt);line-height:1.6}
.rt-sb small{display:block;font-size:12px;color:var(--muted);line-height:1.8}
.rt-sb em{display:inline-flex;align-items:center;gap:4px;font-style:normal;font-size:12px;font-weight:800;color:var(--dv-sky);margin-top:2px}
.rt-sb em svg{width:15px;height:15px}
.rt-sb em.rt-note{display:flex;color:var(--txt2)}
.rt-sb em.rt-ok{display:flex;color:var(--dv-ok)}.rt-sb em.rt-sk{display:flex;color:var(--dv-bad)}
.rt-acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.rt-acts .dv-sm{min-height:42px;text-decoration:none;display:inline-flex;align-items:center;gap:4px}
.rt-acts svg{width:16px;height:16px}
.rt-mv{display:flex;flex-direction:column;gap:6px;flex:none}
.rt-mv button{width:40px;height:40px;border:1.5px solid var(--line);background:var(--card);color:var(--txt2);border-radius:12px;display:grid;place-items:center;cursor:pointer}
.rt-mv button:disabled{opacity:.3;cursor:default}
.rt-mv svg{width:20px;height:20px}
/* بارگیری */
.rt-truck{display:flex;align-items:center;gap:4px;background:var(--bg);border-radius:14px;padding:8px;overflow-x:auto;margin-bottom:8px}
.rt-truck .cab,.rt-truck .door{flex:none;font-size:11px;font-weight:900;color:var(--card);background:var(--txt);border-radius:9px;padding:8px 6px}
.rt-truck .door{background:var(--dv-am)}
.rt-truck i{flex:none;font-style:normal;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-weight:900;font-size:13px;color:#fff;background:color-mix(in srgb,var(--pri) calc(100% - var(--k) * 55%),var(--dv-sky))}
.rt-lhelp p{margin:0;font-size:13px;color:var(--txt2);line-height:2}
.rt-lhelp p b{color:var(--txt)}
.rt-lrow{display:flex;align-items:center;gap:10px;background:var(--card);border-radius:16px;box-shadow:var(--dv-sh);padding:10px}
.rt-step{width:34px;height:34px;border-radius:11px;background:var(--dv-am-soft);color:var(--dv-am);display:grid;place-items:center;font-weight:900;flex:none}
.rt-lrow .rt-sb small{font-weight:800;color:var(--dv-am)}
.rt-notebtn{display:flex;align-items:center;gap:5px;margin-top:5px;border:1px dashed var(--line);background:none;border-radius:10px;padding:6px 9px;color:var(--txt2);font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;text-align:right;min-height:36px}
.rt-notebtn svg{width:15px;height:15px;flex:none}
.rt-done{display:flex;align-items:center;gap:8px;background:var(--dv-ok-soft);color:var(--dv-ok);border-radius:14px;padding:10px 12px;font-weight:800;font-size:13px}
.rt-done span{flex:1}.rt-done svg{width:20px;height:20px}
/* برچسب‌ها */
.rt-labs{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;margin-bottom:12px}
.rt-lab{background:var(--card);border:2px dashed var(--line);border-radius:14px;padding:10px;text-align:center}
.rt-lab b{display:block;font-size:40px;font-weight:900;color:var(--pri);line-height:1.2}
.rt-lab span{display:block;font-size:12.5px;font-weight:800;color:var(--txt)}
.rt-lab small{display:block;font-size:11px;color:var(--muted)}
.rt-addbtn{margin-bottom:12px}
.rt-foot{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 12px}
.rt-foot .cn-btn{flex:1}
.cn-btn.rt-bad{color:var(--dv-bad)}
.rt-tban{border-color:var(--dv-sky-soft)}
.rt-tban .dv-ic{background:var(--dv-sky-soft);color:var(--dv-sky)}
/* مدیر */
.rt-mbar{display:flex;align-items:center;gap:10px;justify-content:center;margin-bottom:12px}
.rt-mbar b{font-size:15px;color:var(--txt);min-width:150px;text-align:center}
.rt-set summary{cursor:pointer;list-style:none;display:flex;flex-direction:column;gap:2px}
.rt-set summary b{display:flex;align-items:center;gap:6px;font-size:14.5px;color:var(--txt)}
.rt-set summary svg{width:20px;height:20px}
.rt-set summary small{font-size:12px;color:var(--muted)}
.rt-set[open] summary{margin-bottom:12px}
.rt-set .cn-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.rt-set .cn-row a{text-decoration:none;display:inline-flex;align-items:center;gap:4px}
.rt-set .cn-row svg{width:16px;height:16px}
.rt-mh{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.rt-mh b{font-size:15px;color:var(--txt);margin-inline-end:4px}
.rt-mh .dv-sm{margin-inline-start:auto;display:inline-flex;align-items:center;gap:4px}.rt-mh .dv-sm svg{width:16px;height:16px}
.rt-mg{display:grid;grid-template-columns:minmax(0,340px) 1fr;gap:12px;align-items:start}
.rt-mg>ol:only-child{grid-column:1/-1}
@media (max-width:760px){.rt-mg{grid-template-columns:1fr}}
.rt-mol{list-style:none;margin:0;padding:0}
.rt-mol li{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding:7px 0}
.rt-mol li:first-child{border-top:0}
.rt-mol li>div{flex:1;min-width:0}
.rt-mol b{display:block;font-size:13px;color:var(--txt)}
.rt-mol small{display:block;font-size:11.5px;color:var(--muted)}
.rt-mol li.st-done .rt-n{background:var(--dv-ok)}.rt-mol li.st-skip .rt-n{background:var(--dv-bad)}
/* چاپ برچسب */
#rtPrint{display:none}
@media print{
  html.rt-printing body>*:not(#rtPrint){display:none!important}
  html.rt-printing #rtPrint{display:block!important;direction:rtl;font-family:Vazirmatn,Tahoma,sans-serif;color:#000;background:#fff}
  #rtPrint h2{font-size:14px;margin:0 0 8px}
  .rt-plabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6mm}
  .rt-plab{border:1.5px dashed #000;border-radius:4mm;padding:4mm;text-align:center;break-inside:avoid}
  .rt-plab b{display:block;font-size:54px;line-height:1.1;font-weight:900}
  .rt-plab span{display:block;font-size:14px;font-weight:800}
  .rt-plab small{display:block;font-size:11px}
}
/* v124 — نتیجهٔ آزمایش کلید نشان */
.rt-tout{margin-top:10px;border-radius:12px;padding:10px 12px;font-size:13px;font-weight:700;line-height:1.9;overflow-wrap:anywhere}
.rt-tout.ok{background:var(--dv-ok-soft);color:var(--dv-ok)}
.rt-tout.bad{background:var(--dv-bad-soft);color:var(--dv-bad)}
