:root{--ws-accent:#116779;--ws-line:#cddde5;--ws-radius:14px;--ws-space:16px}.workspace-shell{max-width:1440px;margin:0 auto;padding:14px clamp(16px,3.5vw,48px);color:var(--text,#163744)}.workspace-scope{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.workspace-eyebrow{font-size:.7rem;font-weight:800;letter-spacing:.12em;color:var(--muted,#526779)}.workspace-chip{padding:6px 10px;border-radius:20px;background:var(--panel,#fff);border:1px solid var(--ws-line);font-size:.82rem;overflow-wrap:anywhere}.workspace-change{font-size:.82rem;font-weight:700}.workspace-scope-help{font-size:.75rem;color:var(--muted,#526779)}.workspace-journey{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.workspace-step{padding:7px 12px;border:1px solid transparent;border-radius:8px;font-size:.82rem;text-decoration:none}.workspace-step[aria-current]{background:var(--ws-accent);color:white}.workspace-step:hover{border-color:var(--ws-line);background:var(--panel,#fff);color:var(--ws-accent)}.workspace-feedback{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:10px;align-items:baseline;font-size:.75rem;color:var(--muted,#526779)}.workspace-state{font-weight:750}.workspace-state[data-state=error],.workspace-state[data-state=unavailable]{color:#a52c39}.workspace-state[data-state=partial],.workspace-state[data-state=stale]{color:#8a570e}.workspace-state[data-state=loaded],.workspace-state[data-state=saved]{color:#176a55}.workspace-state-detail{flex:1 1 220px;overflow-wrap:anywhere}.workspace-storage{font-weight:650}.workspace-shell a:focus-visible{outline:3px solid #cf971d;outline-offset:3px}@media(max-width:600px){.workspace-scope-help{flex-basis:100%}.workspace-journey{gap:4px}.workspace-step{padding:7px 8px}.workspace-feedback{gap:5px}.workspace-storage{flex-basis:100%}}

.workspace-shell[hidden],.workspace-journey[hidden],.workspace-feedback[hidden]{display:none}

/* Step bar (journey-lib.js): Overview, then Monitor › Triage › Assess › Act › Track. */
.workspace-journey{align-items:center;gap:8px 12px}
.workspace-overview{font-size:.82rem;font-weight:750;text-decoration:none;padding:7px 12px 7px 0;margin-right:2px;border-right:1px solid var(--ws-line);color:var(--ws-accent)}
.workspace-overview[aria-current]{text-decoration:underline;text-underline-offset:4px}
.workspace-steps{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0;counter-reset:none}
.workspace-steps li{display:flex;align-items:center;gap:6px}
.workspace-steps li+li::before{content:"›";color:var(--muted,#526779);font-size:.95rem}
.workspace-step{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--ws-line);border-radius:999px;background:var(--panel,#fff);color:var(--text,#163744);font-weight:650;min-height:34px;box-sizing:border-box}
.workspace-step-count{font-variant-numeric:tabular-nums;font-size:.72rem;font-weight:800;padding:1px 7px;border-radius:999px;background:var(--brand-soft,#e7f2f2);color:var(--ws-accent)}
.workspace-step-count.warn{background:#fdecdf;color:#9a4413}
.workspace-step[aria-current]{background:var(--ws-accent);border-color:var(--ws-accent);color:#fff}
.workspace-step[aria-current] .workspace-step-count{background:#fff;color:var(--ws-accent)}
.workspace-step[aria-current] .workspace-step-count.warn{color:#9a4413}
.workspace-scope[hidden]{display:none}
@media(max-width:600px){.workspace-journey{flex-direction:column;align-items:stretch}.workspace-overview{border-right:0;border-bottom:1px solid var(--ws-line);padding:4px 0 8px}.workspace-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.workspace-steps li+li::before{display:none}.workspace-step{flex-direction:column;gap:3px;padding:6px 2px;border-radius:10px;width:100%;height:100%;font-size:.74rem;justify-content:flex-start;text-align:center}.workspace-step-count{font-size:.64rem;padding:0 5px;line-height:1.35}}


/* Phase 1: one compact frame for the five workflow stages. Native disclosure
   keeps scope qualifications available without repeating a full explanatory row. */
@media screen {
 body .workspace-shell.workspace-frame { display:block; width:100%; box-sizing:border-box; max-width:1680px; padding:8px 24px; color:var(--ink,#19313d); background:var(--panel,#fff); border-bottom:1px solid var(--line,#cddde5); }
 body .workspace-shell.workspace-frame .workspace-scope { gap:4px 10px; align-items:center; }
 body .workspace-shell.workspace-frame .workspace-eyebrow { font-size:11px; letter-spacing:.04em; }
 body .workspace-shell.workspace-frame .workspace-chip { padding:3px 0; border:0; border-radius:0; background:transparent; font-size:13px; }
 body .workspace-shell.workspace-frame .workspace-chip + .workspace-chip { border-left:1px solid var(--line,#cddde5); padding-left:10px; }
 body .workspace-shell.workspace-frame .workspace-change { min-height:32px; padding:5px 8px; border-radius:6px; font-size:12px; }
 body .workspace-shell.workspace-frame .workspace-scope-note { font-size:12px; color:var(--muted,#526779); }
 body .workspace-shell.workspace-frame .workspace-scope-note summary { cursor:pointer; min-height:32px; box-sizing:border-box; padding:6px 0; }
 body .workspace-shell.workspace-frame .workspace-scope-note[open] { flex-basis:100%; }
 body .workspace-shell.workspace-frame .workspace-scope-help { display:block; padding:0 0 6px; font-size:12px; line-height:1.45; }
 body .workspace-shell.workspace-frame .workspace-scope-note summary:focus-visible { outline:3px solid var(--brand,#125568); outline-offset:3px; }
 body .workspace-shell.workspace-frame .workspace-journey { justify-content:flex-start; margin-top:6px; gap:6px 10px; }
 body .workspace-shell.workspace-frame .workspace-step { min-height:34px; padding:5px 10px!important; border-radius:6px!important; font-size:13px!important; color:var(--ink,#19313d); }
 body .workspace-shell.workspace-frame .workspace-step[aria-current] { color:#fff; }
 body .workspace-shell.workspace-frame .workspace-overview { padding:5px 10px 5px 0; font-size:13px; }
 body .workspace-shell.workspace-frame .workspace-feedback { margin:6px 0 0; gap:4px 12px; font-size:12px; }
 body .workspace-shell.workspace-frame .workspace-state-detail { flex:0 1 auto; }
}
@media screen and (max-width:600px) {
 body .workspace-shell.workspace-frame { padding:8px 12px; }
 body .workspace-shell.workspace-frame .workspace-change,
 body .workspace-shell.workspace-frame .workspace-scope-note summary,
 body .workspace-shell.workspace-frame .workspace-overview { min-height:44px; display:flex; align-items:center; }
 body .workspace-shell.workspace-frame .workspace-scope-note summary { display:list-item; padding:12px 0; }
 body .workspace-shell.workspace-frame .workspace-step { min-height:44px; padding:6px 2px!important; font-size:11px!important; }
}
/* Author display rules must never override the shell's visibility gates. */
body .workspace-shell.workspace-frame[hidden],
body .workspace-shell.workspace-frame .workspace-scope[hidden],
body .workspace-shell.workspace-frame .workspace-journey[hidden],
body .workspace-shell.workspace-frame .workspace-feedback[hidden] { display:none; }
@media screen and (min-width:601px) and (max-width:760px) {
 body .workspace-shell.workspace-frame .workspace-step,
 body .workspace-shell.workspace-frame .workspace-change { min-height:44px; }
 body .workspace-shell.workspace-frame .workspace-scope-note summary { min-height:44px; padding:12px 0; }
 body .workspace-shell.workspace-frame .workspace-overview { min-height:44px; display:flex; align-items:center; box-sizing:border-box; }
}

/* Compact workspace destinations complement the lifecycle without another menu. */
@media screen {
 body .workspace-shell.workspace-frame { display:flex; flex-wrap:wrap; align-items:center; gap:4px 20px; }
 body .workspace-shell.workspace-frame .workspace-journey { margin:0; }
 body .workspace-shell.workspace-frame .workspace-views { display:flex; flex-wrap:wrap; align-items:center; gap:2px 8px; margin-left:auto; max-width:100%; }
 body .workspace-shell.workspace-frame .workspace-view { display:inline-flex; align-items:center; min-height:36px; padding:4px 6px; box-sizing:border-box; color:var(--muted,#526779); font-size:12px; font-weight:650; text-decoration:none; border-radius:6px; }
 body .workspace-shell.workspace-frame .workspace-view:hover { background:var(--brand-soft,#e7f2f2); color:var(--ws-accent); }
 body .workspace-shell.workspace-frame .workspace-view[aria-current] { color:var(--ws-accent); text-decoration:underline; text-underline-offset:4px; }
 body .workspace-shell.workspace-frame .workspace-feedback { flex-basis:100%; margin-top:2px; }
}
@media screen and (max-width:900px) {
 body .workspace-shell.workspace-frame .workspace-views { margin-left:0; }
 body .workspace-shell.workspace-frame .workspace-view { min-height:44px; }
}
@media screen and (max-width:600px) {
 body .workspace-shell.workspace-frame .workspace-journey { width:100%; }
 body .workspace-shell.workspace-frame .workspace-views { gap:0 6px; }
}
body .workspace-shell.workspace-frame .workspace-views[hidden] { display:none; }
/* Release 4a (M2): Triage and Track in Training or This browser only. The accessible name says why. */
.workspace-step[data-r4-state] .workspace-step-label{text-decoration:underline dotted;text-underline-offset:3px}
