/* Compact OS overview; readable, task-level progress in the modal. */
#work-action-dialog.module-process-dialog{width:min(1380px,96vw);max-width:96vw;max-height:94dvh;padding:24px;border-radius:18px}
.module-global-flow{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 18px;padding:0}
.module-global-flow li{display:flex;align-items:center;gap:6px}
.module-global-flow li:not(:last-child)::after{content:'›';color:#8998ab}
.module-global-flow button{border:1px solid #dbe4ef;background:#f5f7fb;color:#61738c;border-radius:30px;padding:7px 11px;font:600 11px/1.25 inherit;display:flex;align-items:center;gap:6px;cursor:help}
.module-global-flow .done button{background:#ecf8f2;border-color:#c7e8d7;color:#157648}.module-global-flow .current button{background:#e7f1ff;border-color:#8bbcf5;color:#095ab7}
.module-timeline{background:#fff;border:1px solid #d8e3ef;border-radius:14px;padding:20px;margin:16px 0;color:#17324e}
.module-timeline>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.module-timeline h3{font-size:21px;line-height:1.3;margin:4px 0}.module-timeline .eyebrow{font-size:10px;letter-spacing:.09em;color:#6b7e94}.module-progress{font-size:12px;font-weight:700;border-radius:20px;padding:8px 12px;background:#edf3fa;white-space:nowrap}
.module-status-note{font-size:12px;line-height:1.5;margin:0 0 16px;color:#53677f}.module-status-note strong{color:#963a2d}
.module-steps{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;padding:0;margin:0;align-items:stretch}
.module-step{position:relative;display:flex;flex-direction:column;gap:11px;min-width:0;border:1px solid #e0e7ef;border-top:4px solid #c7d2e0;border-radius:10px;padding:14px;background:#f9fbfd}
.module-step-number{display:grid;place-items:center;width:29px;height:29px;flex:none;border-radius:50%;background:#e5ebf2;color:#63758c;font-size:13px;font-weight:800}.module-step-body{display:flex;flex-direction:column;flex:1;min-width:0}.module-step-status{font-size:10px;line-height:1.3;font-weight:800;letter-spacing:.035em;text-transform:uppercase;color:#6d7c8f}.module-step h4{font-size:14px;line-height:1.35;margin:7px 0 5px;color:#153553}.module-owner{font-size:11px;font-weight:700;color:#687c93}.module-step p{font-size:12px;line-height:1.5;margin:12px 0;overflow-wrap:anywhere}.module-evidence{display:block;font-size:10px;line-height:1.5;color:#6c7c8e;margin-bottom:10px}.module-step .button{margin-top:auto;font-size:11px;line-height:1.3;padding:9px 10px;width:100%;min-height:36px;white-space:normal;text-align:center}
.module-step.is-done{border-color:#c7e6d6;border-top-color:#1b9b66;background:#f1faf5}.is-done .module-step-number{background:#1b9b66;color:white}.is-done .module-step-status{color:#187a52}.module-step.is-current{border-color:#9dc4f5;border-top-color:#0871df;background:#f0f6ff;box-shadow:0 3px 10px #155a9d0a}.is-current .module-step-number{background:#0871df;color:white}.is-current .module-step-status{color:#075cb5}.module-step.is-blocked{border-color:#efcbbf;border-top-color:#cc654b;background:#fff8f4}.is-blocked .module-step-number{background:#f6ddd4;color:#a5402b}.is-blocked .module-step-status{color:#a5402b}
.module-other-tasks{margin-top:16px;border-top:1px solid #dce5ef;padding-top:13px}.module-other-tasks summary{font-size:12px;font-weight:700;cursor:pointer}.module-other-tasks ul{padding:0;list-style:none;display:grid;gap:8px}.module-other-tasks li{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px;background:#f7f9fc;border-radius:8px;font-size:12px}.module-other-tasks small{display:block;color:#687c93;margin-top:4px;line-height:1.4}.module-other-tasks .button{font-size:11px;white-space:nowrap}.module-readonly{font-size:11px;color:#657991;margin:16px 0 0}.module-timeline button:focus-visible,.module-global-flow button:focus-visible{outline:3px solid #0a6fd2;outline-offset:3px}
@media(min-width:1200px){.module-steps:has(>li:nth-child(6)){grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:900px){.module-steps{grid-template-columns:repeat(2,minmax(0,1fr))}#work-action-dialog.module-process-dialog{padding:16px}.module-timeline{padding:15px}}
@media(max-width:560px){.module-steps{grid-template-columns:1fr}.module-step{flex-direction:row}.module-timeline>header{align-items:flex-start}.module-timeline h3{font-size:18px}.module-progress{font-size:10px;padding:6px 8px}.module-global-flow{gap:4px}.module-global-flow button{padding:5px 8px;font-size:10px}.module-other-tasks li{flex-direction:column;align-items:stretch}}

/* An action form owns its submit controls; timeline shortcuts stay in the parent. */
#work-action-dialog.module-timeline-form .module-timeline [data-module-step],#work-action-dialog.module-timeline-form .module-timeline [data-process-task]{display:none}
