/* Shared type scale for planning, order, procurement and logistics scenarios.
   Load last: page-specific layout rules must not change these text roles. */
:root{
  --scenario-title-size:2.3256cqw;
  --scenario-lead-size:.9792cqw;
  --scenario-group-size:1.494cqw;
  --scenario-group-note-size:.765cqw;
  --scenario-question-size:1.08cqw;
  --scenario-tag-size:.846cqw;
}
.scenario-page .scenario-intro h1{font-size:var(--scenario-title-size)!important;line-height:1.2!important;font-weight:750}
.scenario-page .scenario-intro .scenario-lead{font-size:var(--scenario-lead-size)!important;line-height:1.48!important}
.scenario-page .scenario-group>header h2{font-size:var(--scenario-group-size)!important;font-weight:700}
.scenario-page .scenario-group>header p{font-size:var(--scenario-group-note-size)!important;line-height:1.4!important}
.scenario-page .issue-card b{font-size:var(--scenario-question-size)!important;line-height:1.45!important;font-weight:650}
.scenario-page .issue-card small{font-size:var(--scenario-tag-size)!important;line-height:1.4!important}
.scenario-detail{zoom:1!important;width:min(1500px,96vw)!important;max-height:92dvh!important;box-sizing:border-box;overscroll-behavior:contain}
/* Preserve readable type at native scale. Icons sit above text on narrow desktop nodes. */
@media(min-width:981px){
  .scenario-detail .solution-builder[data-scenario] :is(.agent-row,.tool-row) article,
  .scenario-detail :is(.ond-agents,.ond-tools) .ond-node{flex-direction:column;align-items:flex-start;min-width:0}
}
.scenario-detail :is(.agent-row,.tool-row,.ond-agents,.ond-tools) span{min-width:0;overflow-wrap:anywhere}
.scenario-detail :is(.flow-node-info,.ond-info){font-size:14px;line-height:1.7}
.scenario-detail .detail-heading h2{font-size:19.8px!important;line-height:1.5!important}
.scenario-detail :is(.responsibility,.detail-responsibility){font-size:14px!important;line-height:1.7!important}
.scenario-detail .builder-heading h2,.scenario-detail .order-support h2{font-size:20px!important;line-height:1.5!important}
.scenario-detail .builder-heading p,.scenario-detail .order-support header p{font-size:14px!important;line-height:1.7!important}
.scenario-detail :is(.agent-row,.ond-agents) b{font-size:14.4px!important;line-height:1.45!important}
.scenario-detail :is(.agent-row,.ond-agents) small{font-size:13.2px!important;line-height:1.45!important}
.scenario-detail :is(.tool-row,.ond-tools) b{font-size:13.2px!important;line-height:1.45!important}
.scenario-detail :is(.tool-row,.ond-tools) small{font-size:12px!important;line-height:1.45!important}
.scenario-detail :is(.shared-context,.ond-context){font-size:12px!important;line-height:1.6!important}
.scenario-detail :is(.decision-workbench,.ond-workbench) h3{font-size:18px!important}
.scenario-detail :is(.decision-workbench,.ond-workbench) h4{font-size:16.8px!important}
.scenario-detail :is(.decision-workbench,.ond-workbench) :is(b,p,li),.scenario-detail .ond-schemes button{font-size:14.4px!important;line-height:1.7!important}
.scenario-detail :is(.detail-feedback,.ond-feedback){font-size:14px!important;line-height:1.6!important}
@media(max-width:980px){
  :root{--scenario-title-size:clamp(23px,3.6vw,30.24px);--scenario-lead-size:13px;--scenario-group-size:19.8px;--scenario-group-note-size:11px;--scenario-question-size:14.4px;--scenario-tag-size:11px}
  .scenario-detail{zoom:1!important;width:96vw!important;max-height:92dvh!important}
  .scenario-detail .detail-heading h2{font-size:18px!important}
}
