/* JEM-33 R10 — stronger workspace hierarchy. Only explicit tool surfaces are styled.
 * Fishbone viewport/node/branch geometry remains unchanged; one documented head-label color repair appears below.
 * Original inputs, semantic states, methods, text, icons and runtime remain native.
 */
@layer r7-refinement {
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] {background:#E6EFFB!important;}

 /* Centered identity bands. Matching 64px side tracks center the title itself. */
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .workspace-heading {display:block!important;padding:26px 30px!important;margin:0 0 22px!important;border:0!important;border-bottom:5px solid #FF9C50!important;border-radius:22px!important;background:#1749CC!important;box-shadow:none!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading>.eyebrow {text-align:center!important;color:#FFFFFF!important;font-size:14px!important;font-weight:750!important;margin:0 0 12px!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading>.ordrel-tool-title {display:grid!important;grid-template-columns:64px minmax(0,1fr) 64px!important;align-items:center!important;gap:18px!important;width:100%!important;margin:0!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading .r4-tool-heading-copy {min-width:0!important;text-align:center!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading h1 {color:#FF9C50!important;font-weight:800!important;text-align:center!important;margin:0!important;font-size:clamp(30px,3.1vw,43px)!important;line-height:1.17!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading :is(.warm-job,.warm-outcome,.r4-tool-heading-copy>p) {color:#FFFFFF!important;font-size:17px!important;line-height:1.6!important;max-width:78ch!important;margin:10px auto 0!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading .ordrel-title-icon {background:#FF9C50!important;color:#102338!important;width:64px!important;height:64px!important;min-width:64px!important;border-radius:18px!important;justify-self:center!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading .identity-outcome {width:58px!important;height:58px!important;max-width:58px!important;padding:8px!important;background:#FFFFFF!important;border-radius:15px!important;justify-self:center!important;position:static!important;transform:none!important;margin:0!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading>.warm-how {width:100%!important;max-width:none!important;min-width:0!important;margin:22px 0 0!important;padding:0 22px 18px!important;background:#102338!important;border:1px solid #5078B0!important;border-radius:16px!important;color:#FFFFFF!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading>.warm-how>summary {padding:16px 0!important;font-size:16px!important;font-weight:800!important;line-height:1.45!important;color:#FFBD85!important;text-align:left!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading>.warm-how :is(p,li,.warm-start,.warm-outcome,.warm-tip) {color:#DFECF8!important;font-size:16px!important;line-height:1.65!important;max-width:none!important;margin:8px 0!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading>.warm-how strong {color:#FFFFFF!important;}
 body.jem33-r10 .r10-tool-workspace .workspace-heading>.warm-how:not([open]) {padding-bottom:0!important;}

 /* Existing access and project controls become intentional, readable dark strips. */
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] :is(.r5-context-strip,#project-toolbar,.project-controls) {background:#102338!important;border:1px solid #3F5C79!important;border-left:5px solid #FF9C50!important;border-radius:16px!important;color:#FFFFFF!important;padding:17px 22px!important;margin:0 0 22px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .member-access-note {background:transparent!important;border:0!important;color:#E7F0F9!important;font-size:15px!important;font-weight:600!important;line-height:1.6!important;margin:0!important;padding:0!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .member-access-note :is(span,strong) {color:#E7F0F9!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .member-access-note>a {color:#FFBD85!important;font-size:15px!important;font-weight:800!important;text-underline-offset:4px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] :is(#project-toolbar,.project-controls) :is(p,span,strong,label,summary) {color:#E7F0F9!important;}

 /* Native editable workspaces: navy surrounds, white entry fields, orange section cues. */
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone {background:#173650!important;color:#FFFFFF!important;border:1px solid #486B8A!important;border-top:4px solid #235CF2!important;border-radius:21px!important;padding:25px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone :is(h2,h3,legend) {color:#FFBD85!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone :is(label,.workspace-field>span,.field>span,p,.fine,.staff-hint,.staff-label,.staff-inline-guide,.score-caption,.workspace-hint,.comparison-help) {color:#E4EFF9!important;font-size:15px!important;line-height:1.6!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone :is(label,.workspace-field>span,.field>span) {font-weight:650!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select) {color-scheme:light!important;background:#FFFFFF!important;color:#102338!important;border:1px solid #95B1CA!important;font-size:16px!important;line-height:1.5!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone :is(input,textarea)::placeholder {color:#526A80!important;opacity:1!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone :is(.workspace-section-title,.order-section-heading) {background:#102338!important;border-left:4px solid #FF9C50!important;border-radius:10px!important;padding:14px 17px!important;margin-bottom:18px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone .workspace-section-title>span {background:#FF9C50!important;color:#102338!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone :is(.outline-button,.quiet,.secondary,.row-controls button):not(:disabled) {background:#244D70!important;color:#FFFFFF!important;border-color:#7694AF!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone button:disabled {background:#DDE3E9!important;color:#5C6977!important;border-color:#B6C1CD!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone :is(.button,input[type=submit]):not(:disabled) {background:#FF9C50!important;color:#102338!important;border-color:#FF9C50!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone :is(.button,.outline-button,.quiet,.secondary) :is(span,svg) {color:inherit!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone :is(button[aria-selected="true"],button[aria-pressed="true"],button[aria-current="step"]) {background:#235CF2!important;color:#FFFFFF!important;border-color:#85A8FF!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/staffing"] .staff-inline-guide {background:#102338!important;border:1px solid #537490!important;border-radius:12px!important;padding:0 16px 14px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/staffing"] .staff-inline-guide>summary {color:#FFBD85!important;padding:14px 0!important;font-size:16px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/staffing"] .staff-inline-guide:not([open]) {padding-bottom:0!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-result-zone {background:#102338!important;border:1px solid #365777!important;border-top:4px solid #FF9C50!important;border-radius:21px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-result-zone>h2 {color:#FFBD85!important;text-align:center!important;font-weight:800!important;padding-bottom:15px!important;margin-bottom:18px!important;border-bottom:1px solid #4B6881!important;}

 /* 5 Whys keeps hypotheses, evidence and next actions distinct in the existing native flow. */
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/5-whys"] .why-editor>section>h2 {padding:14px 18px!important;margin:0 0 20px!important;background:#102338!important;color:#FFBD85!important;border-left:4px solid #FF9C50!important;border-radius:10px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/5-whys"] .why-chain {border-left:3px solid #21C6DF!important;padding-left:20px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/5-whys"] .why-chain>.why-node {background:#102338!important;border:1px solid #4F7190!important;border-radius:14px!important;padding:0 18px 18px!important;margin:0 0 18px!important;overflow:visible!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/5-whys"] .why-node>summary {padding:15px 0!important;color:#FFFFFF!important;font-size:17px!important;line-height:1.5!important;font-weight:750!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/5-whys"] .why-node>summary :is(span,b) {color:#FFFFFF!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/5-whys"] .why-node>summary>b {background:#FF9C50!important;color:#102338!important;border-radius:50%!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/5-whys"] .why-node:not([open]) {padding-bottom:0!important;}

 /* 6S and board tools keep their original native radio choices, row controls and values. */
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/6s"] .six-scorecard {background:#102338!important;border:1px solid #486B8A!important;border-radius:14px!important;padding:17px!important;margin:0 0 20px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/6s"] .six-scorecard>legend {background:#173650!important;border-left:4px solid #FF9C50!important;border-radius:5px!important;padding:5px 12px!important;color:#FFBD85!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/6s"] .score-choices span {background:#FFFFFF!important;color:#102338!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/6s"] .score-choices input:checked+span {background:#235CF2!important;color:#FFFFFF!important;border-color:#77A1FF!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .board-editor .builder-row {background:#102338!important;border:1px solid #486B8A!important;border-radius:14px!important;padding:20px!important;margin:0 0 22px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .board-editor .builder-row>legend {background:#FF9C50!important;color:#102338!important;border-radius:8px!important;padding:5px 12px!important;font-size:16px!important;font-weight:800!important;}

 /* Supporting methods stay openable and use the same readable panel hierarchy. */
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] :is(.r5-disclosure,.r5-supporting,.workspace-safety) {background:#173650!important;color:#E5F0F9!important;border:1px solid #4B6983!important;border-radius:16px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-disclosure>summary {color:#FFBD85!important;font-size:16px!important;font-weight:800!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] :is(.r5-disclosure,.r5-supporting) :is(p,li,dt,dd,small,.fine) {color:#E5F0F9!important;font-size:16px!important;line-height:1.65!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] :is(.r5-disclosure,.r5-supporting) :is(h2,h3,h4,strong) {color:#FFFFFF!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-supporting>h2 {color:#FFBD85!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] :is(.r5-disclosure,.r5-supporting) a {color:#9FEFFF!important;font-size:16px!important;font-weight:750!important;text-underline-offset:4px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .warm-next .identity-reference {background:#102338!important;border-color:#567691!important;color:#FFFFFF!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .warm-next .identity-reference .identity-name {color:#FFFFFF!important;}

 /* Fishbone: only the surrounding top line, hint and control rails. Diagram and Branches retain native styling/geometry. */
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/fishbone"] .flow-fish-canvas {background:#102338!important;border:1px solid #496B8A!important;border-top:4px solid #FF9C50!important;border-radius:21px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/fishbone"] .flow-fish-canvas>.fishbone-topline {padding-top:19px!important;padding-bottom:12px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/fishbone"] :is(.flow-fish-canvas>.fishbone-topline,.flow-fish-canvas>.fishbone-topline #fishbone-count,.flow-fish-canvas>.flow-fish-controls .flow-fish-scale,.flow-fish-canvas>.flow-fish-hint) {color:#E6EFF9!important;font-size:15px!important;line-height:1.6!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/fishbone"] :is(.flow-fish-mode,.flow-fish-controls) {background:#173650!important;border-color:#537490!important;border-radius:14px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/fishbone"] :is(.flow-fish-mode,.flow-fish-controls,.fishbone-topline)>button:not(:disabled) {background:#244D70!important;color:#FFFFFF!important;border-color:#88A5BD!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/fishbone"] .flow-fish-mode>button[aria-pressed="true"] {background:#235CF2!important;color:#FFFFFF!important;border-color:#8CABFF!important;}

 /* Preferred OEE/Pareto/Time Study subtree has its own palette variables. */
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 {--ink:#FFFFFF!important;--muted:#D8E6F3!important;--canvas:#E6EFFB!important;--surface:#173650!important;--border:#54728D!important;--field:#FFFFFF!important;--navy:#102338!important;--chart:#102338!important;--chart-ink:#FFFFFF!important;--chart-muted:#D8E6F3!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-crumb {color:#173650!important;font-size:14px!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-heading {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:14px!important;padding:26px 30px!important;background:#1749CC!important;border-bottom:5px solid #FF9C50!important;border-radius:22px!important;margin:0 0 22px!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-identity {display:grid!important;grid-template-columns:64px minmax(0,1fr) 64px!important;gap:18px!important;width:100%!important;align-items:center!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-identity>div:not(.or-identity-icon) {min-width:0!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-heading h1 {font-size:clamp(30px,3.1vw,43px)!important;color:#FF9C50!important;line-height:1.17!important;text-align:center!important;font-weight:800!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-heading p {color:#FFFFFF!important;font-size:17px!important;line-height:1.6!important;margin:10px auto 0!important;max-width:78ch!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-heading>.or-tag {display:inline-flex!important;color:#FFFFFF!important;background:#123C9A!important;border-color:#6D9BFA!important;font-size:14px!important;max-width:100%!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-project {background:#102338!important;border:1px solid #496B8A!important;border-left:5px solid #FF9C50!important;border-radius:16px!important;color:#FFFFFF!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-project-copy>strong {color:#FFFFFF!important;font-size:18px!important;font-weight:800!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-project .or-tag {background:#1B3B58!important;color:#E6F0F9!important;border-color:#607F99!important;font-size:14px!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-project .or-button:not(.secondary):not(:disabled) {background:#FF9C50!important;border-color:#FF9C50!important;color:#102338!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-project .or-button.secondary:not(:disabled) {background:#173650!important;color:#FFFFFF!important;border-color:#8CABCA!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-project .or-button svg {color:inherit!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-steps li:not([aria-current]) {background:#173650!important;color:#FFFFFF!important;border-color:#557793!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-steps li:not([aria-current]) b {color:#FFBD85!important;opacity:1!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 :is(.or-time-story,.or-stops-zone,.or-input-zone,.or-zone) {background:#173650!important;border-color:#4E6F8D!important;color:#FFFFFF!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 :is(.or-time-story,.or-stops-zone,.or-input-zone,.or-zone) .or-section-head h2 {color:#FFBD85!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 :is(.or-truth-note,.or-connector,.or-chart-scale,.or-field,.or-chart-note,.or-data-caveat,.or-time-note) {font-size:15px!important;line-height:1.6!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-connector {color:#173650!important;font-weight:750!important;border-left-color:#235CF2!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-field {color:#E7F0F9!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 :is(.or-field input,.or-field select,.or-field textarea) {background:#FFFFFF!important;color:#102338!important;border-color:#91B0CA!important;color-scheme:light!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-field :is(input,textarea)::placeholder {color:#526A80!important;opacity:1!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-section-head .or-tag {background:#102338!important;color:#D8E6F3!important;border-color:#6C879F!important;font-size:14px!important;}
 body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-stop-track {background:#486985!important;}

 /* Premium tools: limited heading/context improvements; category, ladder and risk colors remain unchanged. */
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/safety"] .safety-heading {background:#1749CC!important;border-radius:22px!important;border-bottom:5px solid #FF9C50!important;padding:26px 30px!important;text-align:center!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/safety"] .safety-heading>.identity-heading {justify-content:center!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/safety"] .safety-heading h1 {color:#FF9C50!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/safety"] .safety-heading>p {color:#FFFFFF!important;font-size:17px!important;line-height:1.6!important;max-width:78ch!important;margin:12px auto 0!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/safety"] .trial {background:#102338!important;color:#E7F0F9!important;border:1px solid #496B8A!important;border-left:5px solid #FF9C50!important;border-radius:16px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/safety"] .trial :is(p,span,strong) {color:#E7F0F9!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/waste"] .waste-hero-copy {background:#102338!important;border-left:5px solid #FF9C50!important;border-radius:18px!important;padding:25px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/waste"] .waste-hero-copy h1 {color:#FF9C50!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/waste"] .waste-hero-copy :is(p,.waste-purpose) {color:#E7F0F9!important;font-size:17px!important;line-height:1.6!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/waste"] #app .step-heading {background:#102338!important;color:#FFFFFF!important;border-left:5px solid #FF9C50!important;border-radius:12px!important;padding:18px!important;}
 body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/waste"] #app .step-heading h2 {color:#FFBD85!important;}

 /* Candidate 1 browser contrast repairs. These selectors address measured native
  * controls/text on the established surfaces; they do not alter layout or data.
  * Explicit #main scope prevents older native/local text colors winning here. */
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-tool-family="free"] .flow-view-switch>button.outline-button:not(:disabled) {background:#244D70!important;color:#FFFFFF!important;border-color:#88A5BD!important;}
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-tool-family="free"] .flow-view-switch>button.outline-button[aria-pressed="true"]:not(:disabled) {background:#235CF2!important;color:#FFFFFF!important;border-color:#8CABFF!important;}
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-tool-family="free"] .flow-step-footer>.flow-position {color:#D8E6F3!important;}
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-tool-family="free"] .r5-progress .flow-step-number {color:#102338!important;}
 body.jem33-r10 main#main.r10-tool-workspace:is([data-r10-workspace="/tools/a3"],[data-r10-workspace="/tools/dmaic"]) #improvement-origin.study-notice {background:#102338!important;color:#E4EFF9!important;}

 body.jem33-r10 main#main.r10-tool-workspace[data-r10-workspace="/tools/staffing"] #staff-scenarios>.project-buttons>button.outline-button:not(:disabled) {background:#244D70!important;color:#FFFFFF!important;border-color:#88A5BD!important;}
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-workspace="/tools/staffing"] .staff-examples>span {color:#E4EFF9!important;}
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-workspace="/tools/6s"] .six-scorecard>legend>span {color:#FFBD85!important;}

 /* Preferred OEE's .or-product owns its own muted variable. Repair just the
  * measured explanatory labels in the dark panels, without changing that palette. */
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-workspace="/tools/oee"] #ordrel-r3 .or-time-story :is(.or-section-head p,.or-allocation-total>span,.or-legend-item>div>span,.or-truth-note),
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-workspace="/tools/oee"] #ordrel-r3 .or-stops-zone :is(.or-chart-scale,.or-chart-scale>span,.or-attention p),
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-workspace="/tools/oee"] #ordrel-r3 .or-input-zone>.or-truth-note {color:#D8E6F3!important;}

 /* Fishbone outer mode/inspector controls retain their native state and actions. */
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-workspace="/tools/fishbone"] .flow-fish-mode>button.outline-button:not(:disabled) {background:#244D70!important;color:#FFFFFF!important;border-color:#88A5BD!important;}
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-workspace="/tools/fishbone"] .flow-fish-mode>button.outline-button[aria-pressed="true"]:not(:disabled) {background:#235CF2!important;color:#FFFFFF!important;border-color:#8CABFF!important;}
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-workspace="/tools/fishbone"] #fishbone-inspector :is(.fishbone-editor-head,.fishbone-editor-actions)>button.outline-button:not(:disabled) {background:#244D70!important;color:#FFFFFF!important;border-color:#88A5BD!important;}
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-workspace="/tools/fishbone"] #fishbone-inspector :is(.fishbone-editor-head,.fishbone-editor-actions)>button.outline-button:disabled {background:#DDE3E9!important;color:#526173!important;border-color:#B6C1CD!important;opacity:1!important;}
 /* Explicitly authorized renderer-label exception: color only. Font, size,
  * background, geometry, paths, coordinates, states and both modes are unchanged. */
 body.jem33-r10 main#main.r10-tool-workspace[data-r10-workspace="/tools/fishbone"] #fishbone-diagram .fishbone-head>span {color:#FFFFFF!important;}

 /* Premium repairs are limited to the measured guidance/trial surfaces. */
 body.jem33-r10 main#r5-workspace.r10-tool-workspace[data-r10-workspace="/tools/safety"] .safety-heading a[data-safety-guides] {color:#FFFFFF!important;font-size:16px!important;line-height:1.5!important;font-weight:750!important;}
 body.jem33-r10 main#r5-workspace.r10-tool-workspace[data-r10-workspace="/tools/safety"] .trial>a {color:#9FEFFF!important;font-size:16px!important;font-weight:750!important;}
 body.jem33-r10 main#r5-workspace.r10-tool-workspace[data-r10-workspace="/tools/waste"] .waste-hero-copy .hero-actions>.trial-badge {color:#E7F0F9!important;}
 body.jem33-r10 main#r5-workspace.r10-tool-workspace[data-r10-workspace="/tools/waste"] .waste-hero-copy>details#trial-info.trial {background:#173650!important;color:#E7F0F9!important;border-color:#537490!important;}
 body.jem33-r10 main#r5-workspace.r10-tool-workspace[data-r10-workspace="/tools/waste"] .waste-hero-copy>details#trial-info.trial>summary {color:#FFBD85!important;}
 body.jem33-r10 main#r5-workspace.r10-tool-workspace[data-r10-workspace="/tools/waste"] .waste-hero-copy>details#trial-info.trial :is(ul>li,p#trial-history) {color:#E7F0F9!important;}
 body.jem33-r10 main#r5-workspace.r10-tool-workspace[data-r10-workspace="/tools/waste"] .waste-hero-copy>details#trial-info.trial>a {color:#9FEFFF!important;font-size:16px!important;font-weight:750!important;}

 @media(max-width:760px) {
  body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .workspace-heading,body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-heading {padding:23px 19px!important;border-radius:18px!important;}
  body.jem33-r10 .r10-tool-workspace .workspace-heading>.ordrel-tool-title,body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-identity {grid-template-columns:48px minmax(0,1fr) 48px!important;gap:10px!important;}
  body.jem33-r10 .r10-tool-workspace .workspace-heading .ordrel-title-icon,body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-identity-icon {width:48px!important;height:48px!important;min-width:48px!important;padding:11px!important;border-radius:14px!important;}
  body.jem33-r10 .r10-tool-workspace .workspace-heading .identity-outcome {width:45px!important;height:45px!important;max-width:45px!important;padding:6px!important;}
  body.jem33-r10 .r10-tool-workspace .workspace-heading :is(.warm-job,.r4-tool-heading-copy>p),body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-heading p {font-size:16px!important;}
  body.jem33-r10 .r10-tool-workspace .workspace-heading>.warm-how {padding-inline:16px!important;}
  body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .r5-input-zone {padding:21px 18px!important;}
  body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] .board-editor .builder-row {padding:16px!important;}
 }
 @media(max-width:480px) {
  body.jem33-r10 .r10-tool-workspace .workspace-heading>.ordrel-tool-title,body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-identity {grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;gap:12px!important;position:relative!important;}
  body.jem33-r10 .r10-tool-workspace .workspace-heading .identity-outcome {position:absolute!important;right:0!important;top:0!important;width:34px!important;height:34px!important;max-width:34px!important;padding:5px!important;border-radius:10px!important;}
  body.jem33-r10 .r10-tool-workspace .workspace-heading h1,body.jem33-r10 .r10-tool-workspace #ordrel-r3 .or-heading h1 {font-size:30px!important;overflow-wrap:break-word!important;}
  body.jem33-r10 .r10-tool-workspace[data-r10-tool-family="free"] :is(.r5-context-strip,#project-toolbar,.project-controls) {padding:17px 18px!important;}
  body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/5-whys"] .why-chain {padding-left:13px!important;}
  body.jem33-r10 .r10-tool-workspace[data-r10-workspace="/tools/5-whys"] .why-chain>.why-node {padding-inline:13px!important;}
 }
}
