/* Docs guides (29 Oct 2026): step lists, "You need" chips, button labels and the BETA pill for the
   rewritten docs content. Loaded after docs-premium-*.css and uses its --dx-* tokens. */
body.dx-docs .docs-content>section{position:relative}
body.dx-docs .docs-content .anchor-alias{position:absolute;top:0;left:0;width:1px;height:1px;scroll-margin-top:20px}

/* Button and screen names, as they read in the wallet. */
body.dx-docs .docs-content .ui{display:inline-block;padding:0 8px;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:rgba(255,255,255,.05);font:600 .9em/1.6 var(--dx-sans);color:var(--dx-strong);white-space:nowrap;vertical-align:baseline}

/* "You need" row. */
body.dx-docs .docs-content .guide-need{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;margin-bottom:20px}
body.dx-docs .docs-content .guide-need b{margin-right:4px;font:600 12px/1.4 var(--dx-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--dx-soft)}
body.dx-docs .docs-content .guide-need span{display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border:1px solid var(--dx-line);border-radius:999px;background:var(--dx-well);font:500 14px/1.4 var(--dx-sans);color:var(--dx-text)}
body.dx-docs .docs-content .guide-need span::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--dx-accent)}

/* Numbered steps joined by a thin line. */
body.dx-docs .docs-content ol.guide-steps{list-style:none;counter-reset:step;padding-left:0;margin-top:8px;margin-bottom:24px}
body.dx-docs .docs-content ol.guide-steps>li{counter-increment:step;position:relative;min-height:30px;margin:0;padding:3px 0 20px 48px}
body.dx-docs .docs-content ol.guide-steps>li:last-child{padding-bottom:4px}
body.dx-docs .docs-content ol.guide-steps>li::before{content:counter(step);position:absolute;left:0;top:0;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font:700 14px/1 var(--dx-display);color:#1a0f08;background:linear-gradient(140deg,#FFD2B3 0%,#F2935C 60%,#E06A2C 100%);box-shadow:0 0 0 4px rgba(242,147,92,.12)}
body.dx-docs .docs-content ol.guide-steps>li:not(:last-child)::after{content:'';position:absolute;left:14.5px;top:36px;bottom:4px;width:1px;background:linear-gradient(180deg,rgba(242,147,92,.45),rgba(242,147,92,.08))}
body.dx-docs .docs-content ol.guide-steps>li>strong:first-child{color:var(--dx-strong);font-weight:600}

/* Status pill for beta features, next to the existing LIVE pill. */
body.dx-docs .docs-content .state.beta{color:#ffc9a3;background:rgba(242,147,92,.10);border:1px solid rgba(242,147,92,.38)}
body.dx-docs .docs-content .state.beta::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--dx-accent);box-shadow:0 0 8px rgba(242,147,92,.8)}
body.dx-docs .docs-content #overview .status-row:first-of-type{margin-top:28px}
body.dx-docs .docs-content :is(.docs-facts,.spec-list)+:is(.docs-facts,.spec-list){margin-top:0}
body.dx-docs .docs-content .docs-facts span code{font-size:.92em}

@media(max-width:760px){
 body.dx-docs .docs-content ol.guide-steps>li{padding-left:42px}
 body.dx-docs .docs-content .ui{white-space:normal}
}
