/* FE absolute/relative paths: article-scoped interactive lesson */
.fe-path-demo{border:1px solid #94a3b8;border-radius:12px;padding:1rem;margin:1.2rem 0;max-width:100%;box-sizing:border-box}
.fe-path-demo *{box-sizing:border-box}
.fe-path-demo__step{font-weight:700;line-height:1.5;border-bottom:1px solid #cbd5e1;margin:1rem 0 .55rem;padding:.3rem 0}
.fe-path-demo__controls{display:flex;gap:.65rem;flex-wrap:wrap}
.fe-path-demo label{display:flex;flex-direction:column;gap:.3rem;min-width:0;flex:1 1 190px}
.fe-path-demo select{font:inherit;background:#fff;color:#172033;border:1px solid #64748b;border-radius:7px;padding:.55rem;max-width:100%;width:100%}
.fe-path-demo__tree{background:#f8fafc;border:1px solid #cbd5e1;border-radius:9px;padding:.75rem;margin:.6rem 0;color:#172033}
.fe-path-demo__tree ul{list-style:none;padding-left:1.25rem;margin:.2rem 0;border-left:1px solid #cbd5e1}
.fe-path-demo__tree > ul{padding-left:.1rem;border-left:none}
.fe-path-demo__tree li{margin:.2rem 0;line-height:1.7}
.fe-path-demo__node{display:inline-block;border-radius:5px;padding:.03rem .35rem;overflow-wrap:anywhere}
.fe-path-demo__node[data-state="current"]{background:#1d4ed8;color:#fff;font-weight:700}
.fe-path-demo__node[data-state="start"]{border:2px dashed #64748b}
.fe-path-demo__node[data-state="past"]{background:#dbeafe;color:#172554}
.fe-path-demo__hint{color:#334155;font-size:.92rem}
.fe-path-demo__actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:.65rem 0}
.fe-path-demo button{font:inherit;color:#172033;border:1px solid #64748b;background:#e2e8f0;border-radius:7px;min-height:44px;padding:.65rem .8rem;cursor:pointer}
.fe-path-demo button.fe-path-demo__primary{background:#1d4ed8;color:#fff;border-color:#1d4ed8}
.fe-path-demo button:disabled{opacity:.45;cursor:not-allowed}
.fe-path-demo :focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.fe-path-demo__result{background:#f1f5f9;color:#172033;border-radius:8px;padding:.75rem;overflow-wrap:anywhere}
.fe-path-demo__result p{margin:.35rem 0}
.fe-path-demo__result output{font-weight:700;overflow-wrap:anywhere}
.fe-path-demo__notice{font-weight:700}
@media(max-width:480px){.fe-path-demo{padding:.65rem}.fe-path-demo label{flex-basis:100%}.fe-path-demo__actions button{flex:1 1 calc(50% - .5rem)}}
