/* Source: portal/ui/workflows.css; build: node portal/build-referrals.mjs */
.wf-index,.wf-header{padding:24px;border-bottom:1px solid var(--bc-line)}.wf-index-heading,.wf-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.wf-index h2,.wf-header h2{font-size:25px;line-height:1.15;letter-spacing:-.035em;margin:5px 0 10px;color:#0d1024}.wf-index-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:18px}.wf-header>div:first-child{flex:1;min-width:200px}.wf-header>p,.wf-header>.bc-notice{width:100%}.wf-header p:not(.eyebrow):not(.bc-notice){font-size:12px;line-height:1.6;color:var(--bc-soft)}.wf-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%;border-top:1px solid var(--bc-line);padding-top:15px}.wf-metrics span{font-size:11px;color:var(--bc-soft);line-height:1.6}.wf-metrics b{font-variant-numeric:tabular-nums;color:#5b2dd6;margin-right:4px}.wf-dag{display:flex;gap:16px;padding:20px;min-width:0}.wf-layer{position:relative;flex:1;min-width:200px}.wf-layer:not(:first-child):before{content:"";height:1px;position:absolute;left:-16px;width:16px;top:120px;background:#8b6fc6}.wf-layer-label{font-size:11px;color:#5b2dd6;letter-spacing:.02em;margin:0 0 12px;text-align:center}.wf-layer>div{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.wf-step{border:1px solid #e2dccf;border-radius:13px;background:linear-gradient(140deg,#f7f4ee,#fffdf9);overflow:hidden;min-width:0;position:relative}.wf-dag[data-proposed=true] .wf-step{border-style:dashed}.wf-step[data-selected=true]{border-color:#b69cf5;box-shadow:none}.wf-step .bc-node-select{display:grid;gap:10px}.wf-header>.bc-notice{margin:0;padding:10px}.wf-step .bc-model-line{overflow-wrap:anywhere;font-size:11px}.wf-step .bc-node-select>strong{font-size:17px;line-height:1.3;letter-spacing:-.02em}.wf-bot{font-size:11px;color:#555c6b;line-height:1.6}.wf-step .bc-pill{justify-self:start}.wf-step .bc-node-actions{justify-content:space-between;gap:8px;flex-wrap:wrap}.wf-step .bc-node-actions button{min-height:44px}.wf-attention{margin:16px 20px;padding:15px;border:1px solid #d6cfc2;border-radius:12px;background:#fffdf9b2}.wf-attention summary{font-size:13px;cursor:pointer;min-height:28px;color:#555c6b}.wf-attention ul{margin-top:10px}.wf-attention p{font-size:12px;line-height:1.65;color:#555c6b}.wf-inspector .bc-plain-list{margin-bottom:15px}.wf-inspector pre{max-height:320px}.bc-studio:has(.wf-dag) .bc-canvas,.bc-studio:has(.wf-index) .bc-canvas{height:720px;max-height:none}@media(max-width:1150px){.bc-studio:has(.wf-dag) .bc-canvas{height:750px}}@media(max-width:700px){.wf-index,.wf-header{padding:18px}.wf-index h2,.wf-header h2{font-size:24px}.wf-header>.bc-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.wf-header>.bc-actions .bc-button{flex:1}.wf-dag{padding:18px;gap:22px;display:grid}.wf-layer{min-width:0}.wf-layer:not(:first-child):before{left:50%;top:-22px;width:1px;height:22px}.wf-layer>div{grid-template-columns:1fr}.wf-attention{margin:14px}.bc-studio:has(.wf-dag) .bc-canvas,.bc-studio:has(.wf-index) .bc-canvas{height:auto;max-height:none}.wf-metrics{font-size:11px;grid-template-columns:repeat(2,minmax(0,1fr))}}
