/* Quiet hierarchy, generous touch targets, local compositing only. */
.workflow-filters{display:flex;align-items:center;gap:16px;padding:8px 0 16px;min-width:0}.workflow-filters[hidden]{display:none}.workflow-segments{display:flex;gap:4px;padding:4px;border:1px solid #e3e7ee;background:#eef1f5;border-radius:14px;overflow-x:auto;scrollbar-width:none;min-width:0}.workflow-segments button{border:0;border-radius:10px;white-space:nowrap;min-height:40px;padding:8px 13px;background:transparent;color:#687281;font-size:13px;font-weight:650;transition:background .18s,color .18s,box-shadow .18s}.workflow-segments button[aria-pressed=true]{background:#fff;color:#1c2838;box-shadow:0 2px 5px #2134540c,0 0 0 1px #21345408}.workflow-segments small{font-variant-numeric:tabular-nums;color:#8a93a1;font-size:11px;margin-left:4px}.workflow-store{margin-left:auto;display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;color:#77808e}.workflow-store select{min-height:44px;border:1px solid #e1e6ed;border-radius:12px;background:#fff;padding:8px 26px 8px 12px;max-width:140px;color:#243042}.workflow-strip{display:flex;align-items:center;gap:6px;font-size:10px;line-height:1.5;flex-wrap:wrap;margin:5px 0;color:#a4adba}.workflow-strip span{border-radius:5px;padding:2px 6px;background:#f0f3f7}.workflow-strip .is-current{color:#306cae;background:#edf4fd}.workflow-strip .is-done{color:#338468;background:#edf7f2}.workflow-strip i{font-style:normal}.workflow-route-choices{display:grid;gap:10px}.workflow-route-choices button{padding:16px;min-height:65px;text-align:left;border-radius:16px;border:1px solid #e3e8ef;background:#fbfcfe;display:flex;justify-content:space-between;gap:12px}.workflow-route-choices span{color:#768092;font-size:12px}.field textarea{display:block;width:100%;margin:10px 0 18px;border:1px solid #dce3ec;border-radius:12px;padding:13px;background:#f8fafc;font:inherit}.notification-permission{border:0;background:#edf3fc;border-radius:10px;min-height:44px;padding:10px 16px;color:#296cbd}.stage-muted{color:#8791a0;font-size:13px;padding:12px 0}.workflow-person-card{display:flex;flex-direction:column}.person-work-state{margin-left:auto;border-radius:20px;padding:6px 10px;white-space:nowrap;background:#f2f4f7;color:#939ba7;font-size:10px}.person-work-state.active{background:#edf4ff;color:#5383c0}.person-stage-list{padding:6px 0 16px;flex:1}.person-stage-list>button{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:48px;border:0;border-bottom:1px solid #eef1f5;background:transparent;text-align:left;color:#465367;font-size:13px}.person-stage-list button span{display:flex;align-items:center;gap:9px}.person-stage-list i{display:inline-block;width:8px;height:8px;border-radius:3px}.person-stage-list b{font-size:23px;letter-spacing:-.6px;font-weight:600;color:#233247;font-variant-numeric:tabular-nums}.person-stage-list small{font-size:11px;color:#7c8898;font-weight:400}.workflow-person-card footer{display:grid;gap:8px}.workflow-person-card footer button{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;min-height:38px}.workflow-person-card footer button span{font-size:10px;flex-basis:100%;text-align:left;color:#8490a1}.stage-pending{color:#aa804c!important;font-size:12px}.stage-task-list>button,.stage-wait-list>button{display:flex;align-items:center;gap:16px;min-height:78px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #edf0f5;padding:14px 0}.stage-task-list>button>span,.stage-wait-list>button>span:nth-child(2){flex:1;min-width:0}.stage-task-list b,.stage-wait-list b{font-size:14px;color:#27374c}.stage-task-list small,.stage-wait-list small{display:block;margin-top:5px;color:#8691a0;font-size:11px;font-weight:400}.stage-task-list strong,.stage-wait-list strong{color:#526981;font-size:18px;font-weight:600;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.stage-task-list i{font-style:normal;color:#9ca8b8}.wait-dot{width:8px;height:30px;border-radius:5px;background:#b0c6e7}.wait-dot.mousse{background:#b4d4d9}.stage-matrix-scroll{overflow:auto;max-height:600px}.stage-matrix{width:100%;border-collapse:separate;border-spacing:6px;font-size:12px}.stage-matrix th{text-align:center;min-width:115px;padding:9px;white-space:nowrap;color:#5d6c80;font-weight:600}.stage-matrix th:first-child{position:sticky;left:0;z-index:1;background:white;min-width:85px;text-align:left}.stage-matrix th small{display:block;color:#98a1af;font-size:10px;font-weight:400;margin-top:5px}.stage-matrix td button{border:0;width:100%;min-height:52px;border-radius:10px;background:color-mix(in srgb,#7aa6dc calc(var(--heat)*70%),#f6f8fb);color:#254e7b;font-weight:600;font-size:17px;font-variant-numeric:tabular-nums}.stage-matrix td button:disabled{color:#b0b9c5;background:#fafbfc}.stage-duration-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.stage-duration-grid button{text-align:left;display:grid;gap:12px;background:#f7f9fc;border:1px solid #edf0f5;border-radius:16px;padding:20px;color:#68788e}.stage-duration-grid strong{font-size:27px;letter-spacing:-1px;color:#273a52;font-weight:600}.stage-duration-grid small{font-size:11px;color:#909bac}.stage-detail-label{color:#517faa!important;font-size:12px}.stage-audit{border-top:1px solid #e9eef4;padding-top:15px;margin-top:18px}.stage-audit h4{font-size:12px;color:#586e88;margin:0 0 12px}.stage-audit>div{display:flex;justify-content:space-between;gap:8px;padding:6px 0;font-size:12px;color:#8290a2}.stage-audit b{color:#405773}.stage-audit>p{font-size:12px;line-height:1.7;color:#668178}.stage-audit form{background:#f6f8fb;padding:14px;border-radius:12px;margin-top:12px}.stage-audit form label{display:flex;gap:8px;align-items:center;margin:10px 0;font-size:13px}.stage-audit input{width:85px;margin-left:auto;border:1px solid #dce5f0;background:white;border-radius:8px;min-height:40px;padding:8px}.stage-audit form button{border:0;border-radius:10px;padding:12px;width:100%;background:#337ec2;color:#fff;min-height:44px}.allocation-error{color:#b05260;font-size:12px}.workflow-filters button:focus-visible,.stage-matrix button:focus-visible,.person-stage-list button:focus-visible{outline:3px solid #77a5e2;outline-offset:2px}
@media(max-width:900px){.workflow-filters{gap:8px;padding-bottom:12px;flex-wrap:wrap}.workflow-segments{flex:1}.workflow-store>span{display:none}.workflow-store select{max-width:115px}.workflow-segments button{padding:8px 10px}.workflow-person-card header{flex-wrap:wrap}}@media(max-width:550px){.workflow-filters{align-items:stretch}.workflow-segments{flex-basis:100%;order:1}.workflow-store{margin-left:0}.stage-duration-grid{grid-template-columns:1fr}.workflow-route-choices button{flex-direction:column}.stage-wait-list strong{font-size:14px}}@media(prefers-reduced-motion:reduce){.workflow-segments button{transition:none}}

.manager-bars .manager-bar-name>small{display:block;font-size:10px;color:#99a4b3;margin-top:5px}
