#editor-flow-host { margin:.8rem 0 1rem; scroll-margin-top:1rem; }
body[data-editor-flow=true] .section-purpose { display:none; }
#editor-flow-host .task-flow { margin:0; }
#editor-flow-host .task-flow[hidden] { display:none!important; }
.editor-sections { background:transparent;border:0;padding:0;margin:0; }
.editor-sections>summary { display:none; }
body[data-integrated=true] .editor-sections { margin:0 0 .65rem; }
body[data-integrated=true] .editor-sections>summary { display:list-item;min-height:40px;padding:.6rem .1rem;color:var(--navy);font-size:.85rem; }
body[data-integrated=true] .editor-sections .section-nav { margin-top:.4rem; }
body[data-integrated=true] #editor-flow-host:has(>.editor-final-actions[hidden]) { margin:0; }
#editor-flow-host .task-flow-title { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
#editor-flow-host .task-flow:has(.task-flow-title:focus-visible) { outline:3px solid #ba8b46;outline-offset:3px; }
#editor-flow-host .task-flow { display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:1rem;align-items:center;padding:.8rem 1rem; }
#editor-flow-host .task-flow-counter { grid-column:1; }
#editor-flow-host .task-flow-description { grid-column:1; }
#editor-flow-host .task-flow-controls { grid-column:2;grid-row:1/3;margin:0; }
#editor-flow-host .task-flow-controls button { max-width:28ch; }
#editor-step-note { color:var(--muted);border-left:2px solid var(--line);padding-left:.75rem; }
#editor-flow-host :is(button,summary):focus-visible { outline:3px solid #ba8b46; outline-offset:3px; }
.editor-final-actions { padding:1rem 1.2rem;background:var(--white);border:1px solid var(--line);border-radius:10px;margin:.65rem 0 0; }
.editor-final-actions p { font-size:.86rem;max-width:85ch;margin-bottom:.75rem; }
.editor-final-buttons { display:flex;flex-wrap:wrap;gap:.65rem; }
.editor-final-actions .editor-final-status { margin:.75rem 0 0;color:var(--muted); }
.editor-final-actions .editor-final-status.error { color:#8b3027; }
@media(max-width:700px) { #editor-flow-host .task-flow { display:block; }#editor-flow-host .task-flow-controls { margin-top:.65rem; }#editor-flow-host .task-flow-controls button { max-width:none; } }
@media(max-width:500px) { .editor-final-actions { padding:.85rem; }.editor-final-buttons button { width:100%; } }
@media print { #editor-flow-host { display:none; } }
