/* Workflow explorer: native text, fixed permission boundaries, no external service. */
.rs-workflows .rs-hero{background:radial-gradient(ellipse at 85% 45%,#24301a 0,transparent 48%),#080c08;padding-bottom:70px}
.rs-workflows .rs-hero h1{max-width:1000px}
.bs-site main.rs-workflows .wf-hero-note{font-size:var(--type-small)!important;margin-top:28px;color:#b5bea9}
.wf-workbench{border:1px solid #586145;background:radial-gradient(ellipse at 50% 35%,#29381c 0,#0c140d 65%);margin-top:38px;box-shadow:0 24px 65px #0006}
.wf-cases{display:flex;border-bottom:1px solid #586145;background:#10190f;padding:12px;gap:8px;flex-wrap:wrap}
.rs-page .wf-cases a{flex:1;min-width:150px;text-decoration:none;border:1px solid transparent;padding:16px 18px;color:#dce2d1;font-size:var(--type-action);font-weight:600;line-height:1.4;text-align:center}
.rs-page .wf-cases a:hover{border-color:#e8b52b}
.rs-page .wf-cases a[aria-current=true]{background:#f2b707;color:#10190f;border-color:#f2b707}
.wf-example{padding:34px 32px 0;scroll-margin-top:160px}
.wf-example-heading{max-width:740px}
.wf-example-heading h3{margin-bottom:26px}
.rs-page .wf-before{border:0;border-left:2px solid #697456;background:#182213;margin:0 0 42px;padding:0}
.rs-page .wf-before summary{padding:16px 20px;font-weight:500!important;cursor:pointer;list-style:none;display:flex;gap:20px;align-items:center;justify-content:space-between}
.wf-before summary:after{content:'+';font-size:25px;color:#dfc679}
.wf-before[open] summary:after{content:'−'}
.wf-before summary::-webkit-details-marker{display:none}
.wf-before p{padding:0 20px 20px;margin:0}
.wf-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;margin:50px 0 46px;perspective:1100px;position:relative;isolation:isolate}
.wf-rail:before{content:'';position:absolute;left:7%;right:7%;height:2px;top:52%;background:linear-gradient(90deg,#6e7946,#f2b707 67%,#f2b707);box-shadow:0 0 16px #e2b63577;z-index:-1}
.rs-page .wf-station{display:flex;position:relative;flex-direction:column;padding:20px 17px 26px;min-height:180px;text-decoration:none;color:#dde5d3;background:linear-gradient(145deg,#2b3a23,#14200f);border:1px solid #7f895b;border-bottom:6px solid #485334;box-shadow:0 17px 0 -8px #0b1308,0 24px 27px #0007;transform:rotateX(8deg);transition:transform .25s,border-color .25s,background .25s}
.wf-station:after{content:'→';position:absolute;left:calc(100% + 5px);top:45%;font-size:22px;color:#e0bd42}
.wf-station:last-child:after{display:none}
.wf-number{font:var(--type-small)/1.5 ui-monospace,monospace;color:#d9be62;margin-bottom:20px}
.wf-station strong{font-size:var(--type-card);line-height:1.22;font-weight:600}
.wf-station-label{font-size:var(--type-small);line-height:1.4;color:#bec8af;margin-top:12px}
.wf-port{position:absolute;bottom:-11px;width:10px;height:10px;left:calc(50% - 5px);border-radius:50%;background:#f2b707;box-shadow:0 0 18px #e2b635}
.rs-page .wf-station[aria-current=step]{transform:translateY(-9px);background:linear-gradient(145deg,#f5d977,#d3a42b);color:#15200e;border-color:#ffe190;border-bottom-color:#9c771b;box-shadow:0 22px 0 -9px #332b11,0 29px 40px #0008}
.wf-station[aria-current=step] :is(.wf-number,.wf-station-label){color:#344023}
.rs-page .wf-station:hover{transform:translateY(-5px);border-color:#f4d56d}
.wf-step-panel{display:grid;grid-template-columns:1.1fr 1fr;gap:34px;padding:30px;background:#e9ebdc;color:#16210f;border-top:3px solid #f2b707;scroll-margin-top:165px}
.wf-step-panel p{color:#3b4a32;margin:0}
.wf-step-panel h3{margin-bottom:15px}
.wf-state{display:inline-flex;font-size:var(--type-small);line-height:1.5;background:#d6dcc6;padding:6px 10px;margin-bottom:16px;color:#344023;gap:8px;align-items:center}
.wf-state:before{content:'';width:7px;height:7px;background:#546f29;border-radius:50%}
.wf-control{border-left:1px solid #b2bba0;padding-left:28px}
.bs-site .wf-control .rs-kicker{color:#5c5227}
.bs-site main .wf-caption{font-size:var(--type-small)!important;line-height:1.5!important;color:#a6b397;max-width:none;margin:0;padding:24px 32px}
.wf-enhanced [hidden]{display:none!important}
.rs-page .wf-related{text-decoration:none;color:#e8ebdf;display:flex;flex-direction:column}
.wf-related>span:last-child{font-size:var(--type-action);color:#f2b707;margin-top:auto}
.wf-related:hover{border-color:#e6bc40}
.rs-page .wf-faq{margin:0 0 14px}
.rs-page .wf-final{background:#1f2b17}
.wf-incoming{margin-top:28px;padding:24px;border:1px solid #64744c;background:#15200e}
.wf-incoming p{max-width:780px}
.wf-incoming a{color:#f2b707}
@media(max-width:800px){.wf-example{padding:28px 22px 0}.wf-rail{gap:15px}.rs-page .wf-station{padding:17px 12px 23px;min-height:180px}.wf-station:after{left:calc(100% + 2px);font-size:16px}.wf-step-panel{gap:25px;padding:24px}.wf-cases{gap:4px}.rs-page .wf-cases a{padding:13px 8px;min-width:125px}}
@media(max-width:600px){.rs-workflows .rs-hero{padding-top:44px}.wf-cases{padding:8px;flex-direction:column}.rs-page .wf-cases a{text-align:left;padding:11px 14px;min-height:44px}.wf-example{padding:26px 16px 0}.wf-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 18px;margin:30px 0}.rs-page .wf-station{min-height:161px;padding:15px 12px 22px;transform:none}.wf-number{margin-bottom:12px}.wf-station:nth-child(2):after{content:'↓';left:auto;right:50%;top:calc(100% + 4px)}.wf-station:nth-child(3):after{display:none}.wf-station:nth-child(4){grid-column:1;grid-row:2}.wf-station:nth-child(3){grid-column:2;grid-row:2}.wf-station:nth-child(4):after{display:block;content:'←';left:calc(100% + 3px)}.wf-rail:before{display:none}.wf-step-panel{grid-template-columns:1fr;gap:24px;padding:22px}.wf-control{border-left:0;border-top:1px solid #b2bba0;padding:22px 0 0}.bs-site main .wf-caption{padding:22px 16px}.wf-before summary{padding:14px!important}.wf-before p{padding:0 14px 16px}.wf-station[aria-current=step]{transform:translateY(-4px)!important}}
@media(prefers-reduced-motion:reduce){.wf-station{transition:none!important;transform:none!important}}
