.flow-path{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;line-height:1.6}.flow-path a{overflow-wrap:anywhere}.flow-service{border:1px solid var(--line,#dfe6f1);border-radius:12px;padding:14px;margin:14px 0;background:var(--card,#fff)}.flow-service-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px}.flow-service-heading>a{font-size:14px}.flow-list{margin:10px 0}.flow-task{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:9px;align-items:start;padding:10px 0;overflow-wrap:anywhere}.flow-task>span>svg{width:15px;height:15px}.flow-task-next{border-left:3px solid #3863f5;padding-left:10px}.flow-task-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;margin-top:6px;color:var(--sub,#526584)}.flow-next-empty{margin:5px 0 10px}.flow-other{margin:10px 0;font-size:12px}.flow-other>summary{cursor:pointer}.flow-add{display:inline-flex;font-size:11px;padding:5px 8px;margin-top:6px}.flow-project{padding:20px;margin:18px 0;border-top:3px solid #3863f5}.flow-project h2{font-size:17px;margin:0}.flow-project-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.flow-project-scope{padding:12px;margin:12px 0;background:var(--bg,#f2f5fc);border-radius:10px}.flow-project-scope>summary{cursor:pointer;font-size:12px;font-weight:600}.flow-project .portfolio-grid{margin-top:14px}.flow-project-empty{padding:10px 0}.flow-match{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line,#dfe6f1);padding:14px 0}.flow-match>strong{flex:1 1 250px}.flow-primary{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.flow-primary .tt-check{margin:0}.flow-primary .tt-button{margin:0}.flow-scope-panel{margin:18px 0}.flow-legacy{color:var(--sub,#526584)}[data-theme=dark] .flow-service{background:#14223b}[data-theme=dark] .flow-project-scope{background:#1b2c45}@media(max-width:620px){.flow-task{grid-template-columns:14px minmax(0,1fr)}.flow-task>.tt-button{grid-column:2;justify-self:start}.flow-project{padding:14px}.flow-project-heading{flex-wrap:wrap}.flow-service{padding:10px}.flow-service-heading{flex-wrap:wrap}}

.flow-task .compass-manage-button{font-size:11px;padding:3px 7px;min-height:24px;border-radius:6px;line-height:1.5;background:var(--green-bg,#e5f5ef);color:var(--green,#078772);border-color:transparent;font-weight:600}.flow-list .flow-add{font-size:11px;padding:5px 8px;min-height:28px;line-height:1.4}.flow-task .compass-manage-button:focus-visible,.flow-list .flow-add:focus-visible{outline:2px solid var(--blue,#3863f5);outline-offset:3px}

/* Active projects: project titles lead, prestations stay compact and foldable. */
.compass-projects .compass-project-heading{margin-bottom:10px;gap:6px 10px}
.compass-projects .compass-project-heading h3{font-size:16px;font-weight:750;line-height:1.4;min-width:0;overflow-wrap:anywhere}
.compass-projects .compass-project-heading h3 a{color:var(--blue,#3863f5)}
.compass-projects .flow-service-fold{padding:0;margin:8px 0;border-radius:10px;background:var(--card,#fff)}
.flow-service-fold>summary{display:flex;align-items:center;gap:12px;padding:10px 12px;cursor:pointer;list-style:none;border-radius:9px;background:var(--bg,#f5f7fb)}
.flow-service-fold>summary::-webkit-details-marker{display:none}
.flow-service-fold>summary::marker{content:""}
.flow-service-fold>summary:hover{background:var(--blue-bg,#edf2ff)}
.flow-service-fold>summary:focus-visible{outline:2px solid var(--blue,#3863f5);outline-offset:3px}
.flow-service-summary{display:grid;gap:6px;min-width:0;flex:1}
.flow-service-summary .flow-service-title{font-size:13px;font-weight:650;line-height:1.45;color:var(--text,#172b49);overflow-wrap:anywhere}
.flow-service-badges{display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center}
.flow-service-badges .badge{font-size:10px;line-height:1.5;padding:2px 7px;white-space:normal;text-align:left}
.flow-service-chevron{width:14px;height:14px;flex:0 0 14px;color:var(--sub,#637596);transition:transform .15s ease}
.flow-service-fold[open]>summary{border-radius:9px 9px 0 0;border-bottom:1px solid var(--line,#dfe6f1)}
.flow-service-fold[open]>summary .flow-service-chevron{transform:rotate(90deg)}
.flow-service-body{padding:6px 12px 10px}
.flow-service-body>.flow-list{margin:0}
.flow-service-body .flow-task{padding-top:8px;padding-bottom:8px}
.flow-service-body .flow-task strong{font-size:12px}
.flow-service-open{display:block;width:fit-content;margin:8px 0 0 auto;font-size:11px;line-height:1.5}
@media(prefers-reduced-motion:reduce){.flow-service-chevron{transition:none}}
@media(max-width:620px){.compass-projects .compass-project-heading h3{font-size:15px}.flow-service-fold>summary{padding:10px;gap:8px}.flow-service-body{padding:6px 10px 10px}}

.flow-task-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px;max-width:205px}.flow-task-actions form{margin:0}.flow-task-actions .flow-next-button{padding:5px 8px;min-height:0;font-size:10px;line-height:1.5;background:#edf8f2;color:#197456;border-color:#d5eee0;white-space:normal;text-align:center}.flow-next-button:hover{background:#dff3e8}.flow-next-button:focus-visible{outline:2px solid #197456;outline-offset:2px}[data-theme=dark] .flow-task-actions .flow-next-button{background:#173b30;color:#96e0c3;border-color:#2e5f4c}@media(max-width:600px){.flow-task>.flow-task-actions{grid-column:2 / -1;flex-direction:row;align-items:center;flex-wrap:wrap;max-width:none;justify-content:flex-start}.flow-task-actions .flow-next-button{font-size:11px}}
