.wf-story{margin:0 0 18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#101419,#0a0c0f);overflow:hidden}.wf-story[hidden]{display:none}.wf-story-inner{display:grid;grid-template-columns:1fr auto;gap:28px;padding:20px}.wf-story-eyebrow{font-size:.67rem;letter-spacing:.16em;color:var(--accent);margin-bottom:8px}.wf-story-title{font-size:clamp(1.7rem,3vw,2.5rem);margin:0 0 8px}.wf-story-body{max-width:760px;color:var(--muted);line-height:1.6}.wf-story-controls{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.wf-story-controls button{border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);padding:9px 12px;cursor:pointer}.wf-story-controls button:hover{border-color:var(--accent)}.wf-story-controls button:disabled{opacity:.35;cursor:default}.wf-story-count{color:var(--muted);font-size:.78rem;min-width:45px;text-align:center}@media(max-width:760px){.wf-story-inner{grid-template-columns:1fr}.wf-story-controls{align-items:center}.wf-story-controls button{flex:1}}
.wf-story-action{margin-top:10px;display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:6px 9px;color:var(--muted);font-size:.7rem}
.wf-story-action:before{content:"";width:7px;height:7px;border-radius:50%;background:#7e8791}
.wf-story-action[data-state="running"]:before{background:#d8c96a}
.wf-story-action[data-state="done"]{color:var(--text)}
.wf-story-action[data-state="done"]:before{background:var(--accent)}
.wf-story-action[data-state="error"]{color:#e7b3b3;border-color:rgba(255,92,92,.35)}
.wf-story-action[data-state="error"]:before{background:#ff5c5c}
@media(min-width:900px){
  .wf-story{position:sticky;top:86px;z-index:8;box-shadow:0 18px 45px rgba(0,0,0,.35)}
}
