/* Compact guided workspaces. Scoped to the enhanced English tools. */
body.tool-flow{--work-blue:var(--order-blue);--work-ink:var(--order-ink);--work-line:var(--order-line);--work-muted:var(--order-muted);background:#f5f7f8!important}
body.tool-flow .site-main{max-width:1320px!important;padding:24px 32px 48px!important}
body.tool-flow .breadcrumbs{font-size:12px;margin:0 0 14px!important;padding:0!important;min-height:0}
body.tool-flow .workspace-heading{margin:0 0 20px!important;max-width:1000px}
body.tool-flow .workspace-heading h1{font-size:32px!important;line-height:1.18;margin:6px 0 8px!important;letter-spacing:-.035em}
body.tool-flow .workspace-heading>p:last-child{font-size:15px;line-height:1.5;max-width:850px}
body.tool-flow .workspace-heading .eyebrow{font-size:10px;letter-spacing:.12em;margin:0;color:var(--order-teal)}
body.tool-flow .flow-layout{display:grid!important;grid-template-columns:minmax(0,1.13fr) minmax(0,1fr)!important;gap:24px!important;align-items:start}
body.tool-flow .flow-layout>[data-flow-editor],body.tool-flow .flow-layout>[data-flow-output]{min-width:0;position:static;margin:0;background:white;border:1px solid var(--order-line);border-radius:14px;padding:20px;box-shadow:0 3px 10px #132d3d04;color:var(--order-ink)}
body.tool-flow .flow-layout>[data-flow-editor]{padding:0!important;overflow:visible}
body.tool-flow .flow-layout>[data-flow-output]{border-top:3px solid var(--order-teal)}
body.tool-flow [data-flow-output] h2{font-size:22px!important;line-height:1.25;letter-spacing:-.02em;margin:12px 0 18px}
body.tool-flow .order-live-results>p.eyebrow,body.tool-flow .flow-result-sections>.flow-pane>p.eyebrow{display:none}
body.tool-flow :is(.flow-tabs,.flow-pane,[data-flow-output],.flow-fish-viewport,input,select,textarea){scroll-margin-top:112px}
body.tool-flow .flow-layout.workspace-expanded{grid-template-columns:1fr!important}
body.tool-flow .flow-layout.workspace-expanded>[data-flow-editor]{display:none!important}
body.tool-flow .flow-layout>.mobile-outcome,body.tool-flow .oee-mobile-summary,body.tool-flow .order-mobile-bar{display:none!important}
body.tool-flow .flow-tabs{display:flex;align-items:stretch;gap:4px;list-style:none;margin:0!important;padding:8px!important;border:0;border-bottom:1px solid var(--order-line);border-radius:13px 13px 0 0;background:#eff3f6}
body.tool-flow .flow-tabs>li{flex:1;min-width:0}
body.tool-flow .flow-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:46px;width:100%;padding:10px 8px;margin:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--order-muted);font:inherit;font-size:13px;font-weight:700;line-height:1.25;cursor:pointer;text-align:center;box-shadow:none;overflow-wrap:normal;hyphens:none}
body.tool-flow .flow-tabs>button{flex:1}
body.tool-flow .flow-tabs button:is([aria-current=step],[aria-selected=true],.flow-active),body.tool-flow .flow-tabs>li[aria-current=step]>button{background:white;color:var(--order-blue);border-color:#cbd7ea;box-shadow:0 2px 4px #132d3d06}
body.tool-flow .flow-step-number,body.tool-flow .flow-tabs b{font:700 11px/1.2 ui-monospace,monospace;color:var(--order-muted)}
body.tool-flow .flow-pane{padding:22px;min-width:0}
body.tool-flow .flow-pane h2{font-size:21px;margin:0 0 18px}
body.tool-flow .flow-pane h3{font-size:17px}
body.tool-flow .flow-pane[hidden],body.tool-flow .staff-pane[hidden],body.tool-flow [role=tabpanel][hidden],body.tool-flow #value-form[hidden],body.tool-flow .order-value-fields[hidden]{display:none!important}
body.tool-flow .flow-pane>.workspace-details:first-child{margin-top:0}
body.tool-flow .flow-pane>.workspace-details:last-child{margin-bottom:0}
body.tool-flow .flow-step-footer,body.tool-flow .step-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;margin:0;border-top:1px solid var(--order-line);background:#fafbfc;border-radius:0 0 14px 14px}
body.tool-flow .flow-position{font:12px ui-monospace,monospace;color:var(--order-muted);white-space:nowrap}
body.tool-flow .flow-next{margin-left:auto}
body.tool-flow button,body.tool-flow a.button,body.tool-flow summary{touch-action:manipulation}
body.tool-flow button:active:not(:disabled){transform:translateY(1px)}
body.tool-flow .button,body.tool-flow .outline-button{font-size:13px;min-height:44px;border-radius:8px;padding:10px 14px;line-height:1.35}
body.tool-flow .button{background:var(--order-blue);border-color:var(--order-blue);color:white}
body.tool-flow .outline-button{color:var(--order-ink);border-color:var(--order-line)}
body.tool-flow :is(input,select,textarea):focus-visible,body.tool-flow :is(button,a,summary):focus-visible{outline:3px solid var(--order-blue);outline-offset:3px}
body.tool-flow .workspace-field{font-size:13px;gap:7px}
body.tool-flow .workspace-field>span{min-height:0}
body.tool-flow .workspace-fields{gap:16px}
body.tool-flow input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=file]),body.tool-flow select,body.tool-flow textarea{background:#fafbfc;border-color:#bcc9d3;border-radius:8px;font-size:16px;min-height:46px;color:var(--order-ink)}
body.tool-flow .input-workspace .workspace-field input{font-size:23px;min-height:50px}
body.tool-flow .workspace-details{font-size:13px;border-radius:9px;margin:16px 0}
body.tool-flow .workspace-details summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;line-height:1.4}
body.tool-flow .workspace-details summary::before{content:'+';color:var(--order-teal);font-size:18px}
body.tool-flow .workspace-details[open]>summary::before{content:'−'}
body.tool-flow .workspace-details summary::marker{content:''}
body.tool-flow .workspace-details>p,body.tool-flow .fine,body.tool-flow .staff-hint{font-size:12px;line-height:1.5}
body.tool-flow .order-results-header{margin:0 0 12px;padding:0 0 12px;min-height:30px}
body.tool-flow .order-results-header>span{font-size:10px;letter-spacing:.12em}
body.tool-flow .flow-result-sections>.flow-tabs{background:transparent;border-radius:0;margin-bottom:12px!important;padding:0 0 8px!important}
body.tool-flow .flow-result-sections>.flow-tabs button{font-size:12px;min-height:42px;padding:8px 6px}
body.tool-flow .flow-result-sections>.flow-tabs button[aria-current=step]{background:#eaf0ff;box-shadow:none}
body.tool-flow .flow-result-sections>.flow-tabs .flow-step-number{display:none}
body.tool-flow .flow-result-sections>.flow-pane{padding:0}
body.tool-flow .order-metric-grid{gap:10px;margin:12px 0;grid-template-columns:repeat(2,minmax(0,1fr))}
body.tool-flow .order-metric{padding:12px;background:#f5f8fa;border:0;border-left:3px solid #d5e3eb;border-radius:0 7px 7px 0}
body.tool-flow .order-metric strong{font-size:27px!important;line-height:1.15}
body.tool-flow .order-metric span{font-size:11px;line-height:1.4;color:var(--order-muted)}
body.tool-flow .order-insight{padding:13px 14px;font-size:13px;line-height:1.5;border-radius:0 8px 8px 0;margin:14px 0;background:#eef5f2;border-left:3px solid var(--order-teal)}
body.tool-flow .order-dashboard-chart{max-height:295px}
body.tool-flow .order-chart-key{font-size:11px;line-height:1.3;gap:4px}
body.tool-flow .order-category-pick{font-size:11px;min-height:32px}
body.tool-flow .flow-result-sections .workspace-metrics{gap:12px!important}
body.tool-flow .flow-result-sections .workspace-metrics strong{font-size:30px!important}
body.tool-flow .staff-compact .workspace-metrics>div:first-child strong{font-size:52px!important}
body.tool-flow .staff-compact-actions{padding:12px 20px;background:white;gap:12px}
body.tool-flow .staff-compact-actions .staff-example-note{font-size:11px}
body.tool-flow .staff-compact .staff-headcount{padding:10px;min-height:60px}
body.tool-flow .order-shift-scope{margin-bottom:0}
body.tool-flow .order-value-mode{padding:10px;border-bottom:1px solid var(--order-line);margin:0}
body.tool-flow .order-value-fields{display:block;padding:0}
body.tool-flow .order-value-fields .flow-pane{display:grid;gap:18px}
body.tool-flow #value-form{border:0;padding:0;background:transparent}
body.tool-flow .order-value-input>p{padding:0 20px 12px}
body.tool-flow .improvement-input>.actions,body.tool-flow .improvement-input>.study-notice{margin:14px 20px}
body.tool-flow .improvement-phase{border:0;margin:0;box-shadow:none;border-radius:0;display:grid;gap:18px}
body.tool-flow #improvement-fields>.flow-tabs{flex-wrap:wrap}
body.tool-flow #improvement-fields>.flow-tabs>button{flex:1 1 26%}
body.tool-flow .improvement-phase h2{margin:0}
body.tool-flow .improvement-phase textarea{min-height:145px}
body.tool-flow .improvement-period{padding:8px 0;gap:8px}
body.tool-flow .improvement-period input{min-width:0;padding:9px;font-size:14px}
body.tool-flow .six-scorecards{display:block}
body.tool-flow .six-scorecard{margin:0 0 22px;padding:16px;border-radius:10px}
body.tool-flow .six-scorecard:last-child{margin-bottom:0}
body.tool-flow .six-scorecard p{font-size:13px;margin-bottom:14px}
body.tool-flow .board-actions{grid-column:1/-1;margin:0;padding:14px 20px;border:1px solid var(--order-line);border-radius:10px;background:white}
body.tool-flow #builder-rows{max-height:650px;overflow:auto;scrollbar-gutter:stable;padding:3px}
body.tool-flow #builder-rows>div{border-radius:10px}
body.tool-flow .board-context[open]>summary{display:none}
body.tool-flow #lab-rows{max-height:560px;overflow:auto;padding:3px;scrollbar-gutter:stable}
body.tool-flow .lab-input label{font-size:13px;line-height:1.4}
body.tool-flow .lab-input .flow-pane>label{display:block;margin-bottom:16px}
body.tool-flow .lab-row{gap:8px;padding:12px;background:#f7f9fa;border-radius:9px;border:1px solid var(--order-line)}
body.tool-flow .lab-row input{padding:9px}
body.tool-flow .why-editor>.order-panel-actions{padding:14px 20px;margin:0}
body.tool-flow .why-editor>p.fine{margin:12px 20px}
body.tool-flow .why-node{border-radius:9px;margin-bottom:12px}
body.tool-flow .why-node>summary{min-height:48px}
body.tool-flow .why-node[open]{background:#fff}
body.tool-flow .order-evidence-row{margin-top:18px;display:grid;gap:14px}
body.tool-flow #timing-lab>.flow-step-footer{margin-top:16px}
body.tool-flow .study-topline{margin-bottom:14px}
body.tool-flow .study-work-tabs{margin-bottom:0!important}
body.tool-flow #time-record,body.tool-flow #time-setup,body.tool-flow #time-result{border-radius:0 0 14px 14px;margin-top:0;border-top:0}
body.tool-flow #time-setup .timing-fields{gap:14px}
body.tool-flow .observation-workspace{gap:20px}
/* The toolbar stays compact; details open in place and remain keyboard usable. */
body.tool-flow .flow-utility{display:block;padding:12px 16px;margin:0 0 18px;border:1px solid var(--order-line);border-radius:11px;background:white;box-shadow:none;position:relative;z-index:6}
body.tool-flow .flow-utility>summary{display:none}
body.tool-flow .flow-utility .project-controls{grid-column:1/-1;padding:0;display:grid;grid-template-columns:minmax(150px,1fr) auto;gap:8px 20px;align-items:end}
body.tool-flow .flow-utility .project-controls>label{font-size:10px;font-weight:700;letter-spacing:.02em;gap:4px}
body.tool-flow .flow-utility #project-name{font-size:14px;min-height:42px;padding:8px 10px;background:white}
body.tool-flow .flow-utility .project-buttons{gap:8px;display:flex;align-items:center;flex-wrap:wrap;margin:0}
body.tool-flow .flow-utility .flow-primary-save{background:var(--order-blue);color:white;border-color:var(--order-blue)}
body.tool-flow .flow-utility :is(.order-save-more,.flow-more){position:relative;margin:0;padding:0;border:0;background:transparent}
body.tool-flow .flow-utility :is(.order-save-more,.flow-more)>summary{min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;box-sizing:border-box;border:1px solid var(--order-line);border-radius:8px;background:white;font-size:13px;font-weight:650;list-style:none;cursor:pointer}
body.tool-flow .flow-utility :is(.order-save-more,.flow-more)>summary::after{content:'⌄';font-size:13px}
body.tool-flow .flow-utility :is(.order-save-more,.flow-more)>div{position:absolute;right:0;top:calc(100% + 8px);width:280px;max-width:calc(100vw - 60px);padding:12px;background:white;border:1px solid var(--order-line);border-radius:10px;box-shadow:0 12px 35px #132d3d1c;display:grid;gap:8px;z-index:10}
body.tool-flow .flow-utility .order-save-privacy{width:100%;margin:0}
body.tool-flow .flow-utility .order-save-privacy summary{font-size:12px;line-height:1.5;padding:8px 0}
body.tool-flow .flow-utility .order-save-note{display:inline-block;font-size:11px;line-height:1.4;margin:7px 0 0 16px;padding:0;color:var(--order-muted)}
body.tool-flow .flow-utility #project-status{display:inline-block;min-height:0;font-size:11px;line-height:1.4;margin:7px 0 0;padding:0;grid-column:auto}
body.tool-flow .flow-start-guide{margin:0 0 12px;padding:0;border:0;font-size:12px;color:var(--order-muted)}
body.tool-flow .flow-layout .workspace-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.tool-flow .flow-layout .workspace-metrics>div{grid-column:auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;padding:12px!important;background:#f5f8fa!important;border:0!important;border-radius:8px!important}
body.tool-flow .flow-layout .workspace-metrics>div span{font-size:11px!important;line-height:1.4!important}
body.tool-flow .flow-start-guide>summary{cursor:pointer;min-height:28px}
body.tool-flow .flow-start-guide .order-coach{margin:6px 0 0}
body.tool-flow .flow-view-switch,body.tool-flow .flow-results-back{display:none}
/* Fishbone: a real spine, six diagonal bones, editable categories and causes. */
body.tool-flow #fishbone-workspace>.flow-tabs{margin-bottom:20px!important;border:1px solid var(--order-line);border-radius:10px;max-width:530px}
body.tool-flow #fishbone-workspace>.fishbone-problem{background:white;display:grid;grid-template-columns:1fr;gap:22px;max-width:850px;min-height:220px}
body.tool-flow .flow-fish-map{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;padding:0}
body.tool-flow .flow-fish-canvas{background:#fff;border:1px solid var(--order-line);border-radius:14px;padding:18px;min-width:0}
body.tool-flow .fishbone-topline{margin:0 0 10px;font-size:12px;align-items:center}
body.tool-flow .flow-fish-hint{font-size:12px;color:var(--order-muted);line-height:1.5;margin:0 0 12px}
body.tool-flow .flow-fish-viewport{overflow:auto;min-width:0;border-radius:10px;background:radial-gradient(#cfd8de 1px,transparent 1px) 0 0/16px 16px}
body.tool-flow #fishbone-diagram{display:grid;position:relative;min-width:720px;grid-template-columns:repeat(3,minmax(0,1fr)) 135px;grid-template-rows:150px 74px 150px;gap:0 20px;padding:12px 10px;isolation:isolate}
body.tool-flow .flow-bone-lines{position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:visible;pointer-events:none;fill:none;stroke-width:2.5;vector-effect:non-scaling-stroke}
body.tool-flow #fishbone-diagram .fishbone-spine,body.tool-flow #fishbone-diagram::before,body.tool-flow #fishbone-diagram .fishbone-branch::after{display:none!important}
body.tool-flow #fishbone-diagram .fishbone-branch{--branch:var(--order-blue);padding:10px;border:1px solid #c9d7e4;border-top:3px solid var(--branch);border-radius:9px;display:flex;flex-direction:column;box-shadow:none;background:#fff;min-height:0}
body.tool-flow #fishbone-diagram .fishbone-branch:nth-of-type(2n){--branch:var(--order-teal)}
body.tool-flow #fishbone-diagram .fishbone-branch:nth-of-type(3n){--branch:#a45419}
body.tool-flow #fishbone-diagram .fishbone-branch label{font-size:9px}
body.tool-flow #fishbone-diagram .fishbone-branch textarea{font-size:13px!important;line-height:1.2!important;min-height:30px!important;height:30px;padding:4px 0!important;resize:vertical}
body.tool-flow #fishbone-diagram .fishbone-causes{overflow:auto;flex:1;min-height:20px;display:block;margin:6px 0;scrollbar-width:thin}
body.tool-flow #fishbone-diagram .fishbone-causes p{margin:3px 0;font-size:11px;line-height:1.4}
body.tool-flow #fishbone-diagram .fishbone-causes button{padding:8px;font-size:11px;min-height:44px;margin-bottom:6px;line-height:1.35}
body.tool-flow #fishbone-diagram .fishbone-causes small{font-size:9px}
body.tool-flow #fishbone-diagram .fishbone-add{padding:7px;font-size:11px;min-height:36px;border-style:solid;background:#f6f8fc}
body.tool-flow #fishbone-diagram .fishbone-head{grid-column:4;grid-row:1/4;align-self:center;margin:0;border-radius:9px;padding:16px 12px;background:var(--order-ink);border-right:4px solid var(--order-orange);max-height:220px;overflow:auto}
body.tool-flow #fishbone-diagram .fishbone-head strong{font-size:13px;line-height:1.4}
body.tool-flow #fishbone-diagram .fishbone-head span{font-size:9px}
body.tool-flow .fishbone-inspector{margin:0;padding:18px;border-radius:14px;border-top:3px solid var(--order-teal);align-self:start;min-height:260px;background:white}
body.tool-flow .fishbone-inspector h2{font-size:18px;line-height:1.3;margin:0 0 12px}
body.tool-flow .fishbone-inspector p{font-size:13px;line-height:1.5}
body.tool-flow .fishbone-editor-grid{grid-template-columns:1fr;gap:14px}
body.tool-flow .fishbone-editor-grid textarea{min-height:70px;line-height:1.4}
body.tool-flow .fishbone-editor-actions{display:grid;grid-template-columns:1fr;gap:8px}
body.tool-flow .fishbone-editor-head{gap:10px;margin-bottom:12px}
body.tool-flow .fishbone-editor-head button{font-size:11px;padding:8px}
body.tool-flow .flow-fish-mode{display:flex;gap:6px;margin-bottom:12px}
body.tool-flow .flow-fish-mode button{font-size:11px;min-height:36px;padding:7px 13px}
body.tool-flow .flow-fish-mode [aria-pressed=true]{background:var(--order-ink);border-color:var(--order-ink);color:white}
body.tool-flow .flow-fish-map[data-view=branches] #fishbone-diagram{min-width:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:none;gap:12px;background:white;padding:0}
body.tool-flow .flow-fish-map[data-view=branches] .flow-bone-lines{display:none}
body.tool-flow .flow-fish-map[data-view=branches] #fishbone-diagram .fishbone-branch{grid-row:auto!important;grid-column:auto!important;min-height:180px}
body.tool-flow .flow-fish-map[data-view=branches] #fishbone-diagram .fishbone-head{grid-row:auto;grid-column:1/-1}
@media(max-width:1100px){
 body.tool-flow .site-main{padding:20px 24px 40px!important}
 body.tool-flow .flow-layout{grid-template-columns:1fr!important}
 body.tool-flow .flow-layout>[data-flow-output]{display:none!important}
 body.tool-flow .flow-layout.flow-show-results>[data-flow-output]{display:block!important;position:static!important;max-height:none!important;overflow:visible!important}
 body.tool-flow .flow-layout.flow-show-results>[data-flow-editor]{display:none!important}
 body.tool-flow .flow-layout:not(.flow-show-results)>[data-flow-editor]{display:block!important}
 body.tool-flow .flow-view-switch{display:flex;gap:6px;padding:5px;border-radius:9px;background:#e9eff3;margin:0 0 14px}
 body.tool-flow .flow-view-switch button{flex:1;background:transparent;border-color:transparent}
 body.tool-flow .flow-view-switch [aria-pressed=true]{background:white;border-color:var(--order-line);color:var(--order-blue)}
 body.tool-flow .flow-results-back{display:inline-flex;margin:0 0 14px}
 body.tool-flow .order-results-expand,body.tool-flow .order-results-close{display:none!important}
 body.tool-flow .flow-fish-map{grid-template-columns:1fr}
 body.tool-flow .fishbone-editor-grid{grid-template-columns:1fr 1fr}
 body.tool-flow .flow-fish-canvas{padding:16px}
 body.tool-flow .flow-utility .project-controls{grid-template-columns:1fr auto;gap:8px 14px}
 body.tool-flow .flow-utility .project-controls>.project-buttons{max-width:350px}
 body.tool-flow #builder-rows,body.tool-flow #lab-rows{max-height:none;overflow:visible}
}
@media(max-width:600px){
 body.tool-flow .site-main{padding:16px 16px 36px!important}
 body.tool-flow .breadcrumbs{font-size:10px;line-height:1.5;margin-bottom:12px!important}
 body.tool-flow .workspace-heading h1{font-size:27px!important}
 body.tool-flow .workspace-heading>p:last-child{font-size:13px;line-height:1.5}
 body.tool-flow .workspace-heading{margin-bottom:16px!important}
 body.tool-flow .flow-utility{padding:12px;margin-bottom:14px}
 body.tool-flow .flow-utility #project-status,body.tool-flow .flow-utility .order-save-note{grid-column:1/-1}
 body.tool-flow .flow-utility .order-save-note{display:block;margin-left:0}
 body.tool-flow .flow-utility .project-controls{grid-template-columns:1fr;gap:8px}
 body.tool-flow .flow-utility .project-controls>.project-buttons{max-width:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 body.tool-flow .flow-utility .project-controls>.project-buttons>*{min-width:0!important;max-width:100%;width:100%;box-sizing:border-box}
 body.tool-flow .flow-utility .project-controls>.project-buttons>button,body.tool-flow .flow-utility .project-controls>.project-buttons>a{padding:8px 5px!important;justify-content:center}
 body.tool-flow .flow-utility .project-buttons>.outline-button,body.tool-flow .flow-utility :is(.flow-more,.order-save-more)>summary{font-size:11px;min-height:44px;padding:8px 6px;white-space:normal}
 body.tool-flow .flow-utility :is(.flow-more,.order-save-more)>summary{white-space:nowrap;gap:4px}
 body.tool-flow .flow-utility .order-save-more>summary::after{display:none}
 body.tool-flow .flow-utility :is(.flow-more,.order-save-more)>div{width:260px;max-width:calc(100vw - 60px)}
 body.tool-flow .flow-utility .order-save-more>div{right:-65px}
 body.tool-flow .flow-pane{padding:18px}
 body.tool-flow .flow-tabs{gap:3px;padding:6px!important}
 body.tool-flow .flow-tabs button{font-size:11px;min-height:48px;gap:5px;padding:8px 5px;flex-direction:column}
 body.tool-flow .flow-result-sections .flow-tabs button{flex-direction:row;font-size:11px}
 body.tool-flow .flow-step-footer,body.tool-flow .step-actions{padding:12px 14px;gap:8px}
 body.tool-flow .flow-step-footer .button{font-size:12px;padding:10px 12px;max-width:64%}
 body.tool-flow .flow-position{display:none}
 body.tool-flow .flow-layout>[data-flow-output]{padding:18px}
 body.tool-flow .workspace-fields{gap:12px}
 body.tool-flow .staff-compact .staff-time-fields{grid-template-columns:1fr 1fr}
 body.tool-flow .staff-compact .staff-headcount{grid-template-columns:44px minmax(0,1fr) 44px}
 body.tool-flow .lab-row{grid-template-columns:minmax(0,1fr) 88px;gap:8px}
 body.tool-flow .lab-row>label:first-child{grid-column:1/-1}
 body.tool-flow .lab-settings{grid-template-columns:1fr}
 body.tool-flow .fishbone-editor-grid{grid-template-columns:1fr}
 body.tool-flow .flow-fish-map[data-view=branches] #fishbone-diagram{grid-template-columns:1fr}
 body.tool-flow .flow-fish-map[data-view=branches] #fishbone-diagram .fishbone-branch{min-height:170px}
 body.tool-flow .flow-fish-canvas{padding:12px}
 body.tool-flow #fishbone-workspace>.flow-tabs{max-width:none;margin-bottom:14px!important}
 body.tool-flow .improvement-period{grid-template-columns:1.1fr 1fr 1fr}
 body.tool-flow .improvement-period .workspace-field{font-size:10px}
 body.tool-flow .improvement-phase textarea{min-height:160px}
 body.tool-flow .flow-start-guide{margin-bottom:12px}
}
@media(prefers-reduced-motion:reduce){body.tool-flow *,body.tool-flow *::before,body.tool-flow *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{
 body.tool-flow .flow-utility,body.tool-flow .flow-tabs,body.tool-flow .flow-step-footer,body.tool-flow .flow-view-switch,body.tool-flow .flow-results-back,body.tool-flow .flow-start-guide,body.tool-flow .flow-fish-mode{display:none!important}
 body.tool-flow .flow-pane[hidden]{display:block!important}
 body.tool-flow .flow-layout{display:block!important}
 body.tool-flow .flow-layout>[data-flow-editor],body.tool-flow .flow-layout>[data-flow-output]{display:block!important;position:static!important;overflow:visible!important;max-height:none!important;break-inside:auto}
 body.tool-flow #builder-rows,body.tool-flow #lab-rows,body.tool-flow .flow-fish-viewport,body.tool-flow .fishbone-causes{overflow:visible!important;max-height:none!important}
}
