/* Design06 R13.3 front-end work frame. This only paints existing chrome. */
body[data-design06-shell=true]{--d6-chrome-bg:#fafafa;--d6-chrome-border:#d9dde2;--d6-chrome-ink:#17191e;--d6-chrome-muted:#626875;--d6-chrome-selection:#f1f2f4}
[data-design06-shell=true] .work-frame>.appbar{position:sticky;top:0;z-index:20;min-height:68px;gap:14px;background:var(--d6-chrome-bg);border-bottom:1px solid var(--d6-chrome-border);color:var(--d6-chrome-ink)}
[data-design06-shell=true] .d6-global-work-chrome{display:flex;order:0;align-items:center;justify-content:flex-start;gap:clamp(13px,2.4vw,34px);min-width:0;margin-inline-start:auto}
.d6-global-work-chrome a{color:var(--d6-chrome-muted);font-size:13px;text-decoration:none;white-space:nowrap}
.d6-global-work-chrome [aria-current=true]{color:var(--d6-chrome-ink);font-weight:700}
[data-design06-shell=true] .sidebar{background:var(--d6-chrome-bg);border-color:var(--d6-chrome-border);color:var(--d6-chrome-ink)}
[data-design06-shell=true] .sidebar .navitem{color:var(--d6-chrome-muted);border-radius:9px}
[data-design06-shell=true] .sidebar .navitem:is(:hover,:focus-visible,[aria-current=page]){color:var(--d6-chrome-ink);background:var(--d6-chrome-selection)}
[data-design06-shell=true] .work-nav-drawer{background:var(--d6-chrome-bg);color:var(--d6-chrome-ink)}
[data-design06-shell=true] .d6-global-work-chrome a:focus-visible{outline:2px solid #2465b4;outline-offset:4px}
/* Named pages can change themes in-place; their live choice outranks the
   initial work-shell preference and then the device default. */
body[data-design06-shell=true]:is([data-flow-theme=dark],[data-history-theme=dark],[data-design06-director-theme=dark]),
body[data-design06-shell=true][data-design06-shell-preference=dark]:not([data-flow-theme],[data-history-theme],[data-design06-director-theme]){
 --d6-chrome-bg:#101114;--d6-chrome-border:#2c3037;--d6-chrome-ink:#f2f3f5;--d6-chrome-muted:#a0a5b0;--d6-chrome-selection:#202329;
}
body[data-design06-shell=true]:is([data-flow-theme=light],[data-history-theme=light],[data-design06-director-theme=light]){
 --d6-chrome-bg:#fafafa;--d6-chrome-border:#d9dde2;--d6-chrome-ink:#17191e;--d6-chrome-muted:#626875;--d6-chrome-selection:#f1f2f4;
}
@media(prefers-color-scheme:dark){
 body[data-design06-shell=true]:not([data-design06-shell-preference],[data-flow-theme],[data-history-theme],[data-design06-director-theme]){
  --d6-chrome-bg:#101114;--d6-chrome-border:#2c3037;--d6-chrome-ink:#f2f3f5;--d6-chrome-muted:#a0a5b0;--d6-chrome-selection:#202329;
 }
}
@media(max-width:760px){[data-design06-shell=true] .work-frame>.appbar{min-height:55px;gap:8px}[data-design06-shell=true] .d6-global-work-chrome{display:none}}
