.focus-step-switches[data-direct],.event-step-buttons[data-direct]{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}
.focus-step-switches[data-direct]>[hidden],.event-step-buttons[data-direct]>[hidden]{display:none!important}
.step-state-buttons{display:flex;gap:4px;align-items:center;padding-right:7px;margin-right:2px;border-right:1px solid #c5d7dd}
[data-direct] :is(.step-state-buttons button,button[data-step-state],button[data-jalon-action],button[data-note-open],button[data-derogation-open],button[data-workflow-lock],.event-message-button){position:relative;display:inline-grid;place-items:center;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;border:1px solid #c5d7dd;border-radius:7px;background:#fff;color:#68818b;line-height:1}
[data-direct] svg{width:18px;height:18px;flex:none}
.step-state-buttons svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.step-state-buttons [aria-pressed=true][data-step-progress=TODO]{background:#fff1a2;color:#8b6b00;border-color:#8b6b00}
.step-state-buttons [aria-pressed=true][data-step-progress=ACTIVE]{background:#cee8ff;color:#21679f;border-color:#21679f}
.step-state-buttons [aria-pressed=true][data-step-progress=WAITING]{background:#fff0d7;color:#865a18;border-color:#c79740}
.step-state-buttons [aria-pressed=true][data-step-progress=DONE]{background:#d7efdc;color:#237845;border-color:#237845}
.step-state-buttons [aria-pressed=true][data-step-progress=NA]{background:#e3e7e9;color:#5d6b73;border-color:#5d6b73}
[data-direct] [data-derogation-open][aria-pressed=true],[data-direct] [data-workflow-state=DEROGATED]{background:#ffe2a0;border-color:#b57a15}
[data-direct] button:disabled{opacity:.55;cursor:default}
[data-direct] :is([data-derogation-open],[data-workflow-lock]):disabled{opacity:1;background:#f4f7f9}
[data-direct] sup{position:absolute;top:-5px;right:-3px;font-size:9px;line-height:13px;min-width:13px;text-align:center;background:#fff;color:#95522e;border-radius:8px}
.outline-signals a{text-decoration:none;display:inline-flex;align-items:center;min-height:24px}.outline-signals a:hover{outline:1px solid currentColor}
.event-outline-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px}
.event-step-nav .event-outline-row>a[data-event-step]{grid-column:1/-1}
.event-outline-row>label.outline-owner{grid-column:1;grid-row:2}
.event-outline-row>.outline-date{grid-column:2;grid-row:2;min-width:42px;text-align:right;margin:0}
.event-outline-row>.outline-date[open]{grid-column:1/-1;grid-row:3}
.event-outline-row>.outline-signals{grid-column:1/-1}
@media(max-width:760px){.focus-step-heading,.event-step-heading{flex-wrap:wrap}[data-direct]{width:100%;justify-content:flex-start!important;row-gap:8px!important}[data-direct] :is(.step-state-buttons button,button[data-step-state],button[data-jalon-action],button[data-note-open],button[data-derogation-open],button[data-workflow-lock],.event-message-button){width:36px;height:36px;min-width:36px;min-height:36px}}
/* Validation explanations use the same unobtrusive strip as derogations. */
.workflow-notices{display:grid;gap:7px;margin:10px 0 14px}
.workflow-notice{display:flex;align-items:center;gap:9px;margin:0;padding:10px 12px;border-left:3px solid #c94751;border-radius:6px;background:#fff0f1;color:#973641;font-size:12px;line-height:1.5}
.workflow-notice>span:first-child{font-weight:700;flex:none}.workflow-notice>span:nth-child(2){flex:1;min-width:0}.workflow-notice a{font-weight:600;color:inherit;white-space:nowrap}
.workflow-notice-warning{border-color:#c58a19;background:#fff3cf;color:#805b15}
.workflow-overview{margin:0 0 14px;padding:10px 12px;border-left:3px solid #c58a19;border-radius:6px;background:#fff8e8;font-size:12px;color:#795c25}
.workflow-overview>summary{cursor:pointer;font-weight:600}.workflow-overview>small{display:block;margin-top:9px}.workflow-overview ul{padding-left:16px;margin-bottom:0}.workflow-overview li{margin:8px 0}.workflow-overview li>span{display:block;margin-top:3px}
.workflow-overview button{border:0;background:none;color:inherit;padding:0;text-align:left;text-decoration:underline;font:inherit;cursor:pointer}
.focus-step.is-not-applicable>.workflow-notices,.event-step-row.is-na>.workflow-notices{display:none}
@media(max-width:760px){.workflow-notice{flex-wrap:wrap}.workflow-notice a{margin-left:18px}}
