/* أثيل — خطوات مرقّمة للنماذج الطويلة (شهادة، فاتورة، عرض سعر). ملف مستقل يلف أقسام الأداة بدون تعديل كودها */
.st-nav{position:sticky;top:var(--st-top,56px);z-index:8;display:flex;gap:4px;margin:0 0 12px;padding:8px 2px 10px;background:var(--bg);border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.st-nav::-webkit-scrollbar{display:none}
.st-nav button{flex:1 0 auto;display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:6px 8px;border:0;border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:.84rem;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}
.st-nav button i{font-style:normal;flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:.74rem;line-height:1;border:1px solid var(--line2)}
.st-nav button[aria-current=step]{background:var(--bsoft);color:var(--text);font-weight:600}
.st-nav button[aria-current=step] i{background:var(--accent);border-color:var(--accent);color:#fff}
[data-theme=dark] .st-nav button[aria-current=step] i{color:#0a0d1a}
.st-nav button.done{color:var(--text)}
.st-nav button.done i{background:var(--oksoft);color:var(--ok);border-color:transparent}
.st-nav button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.st-pr{position:absolute;inset:auto 0 -1px auto;height:2px;background:var(--accent);border-radius:2px;transition:width .25s ease;pointer-events:none}
.st-cnt{margin:-6px 2px 10px;font-size:.78rem;color:var(--muted)}
.st-off{display:none!important}
.st-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 6px}
.st-row .btn{min-height:44px;justify-content:center;display:inline-flex;align-items:center;gap:6px;width:auto!important;margin:0!important}
.st-row .st-nx{margin-inline-start:auto!important;border-color:var(--accent)!important;color:var(--accent)!important;font-weight:600}
.st-row .btn[hidden]{display:none!important}
@media (prefers-reduced-motion:reduce){.st-pr{transition:none}}
@media(max-width:979px){.st-pvoff .pv{display:none!important}}
.st-on .hdr{background:var(--bg)}
