/* component-b16adb97e028ad50 shares component-ce31bcba1be1942e's palette, spacing and controls; all copy stays HTML. */
.bb-preview-nav{border-top:1px solid var(--brand-cyan);padding-top:18px}
.bb-boundary,.bb-demo-note{font-size:15px;line-height:1.6}
.bb-related{display:flex;flex-wrap:wrap;gap:12px}
.bb-related li{border:1px solid var(--border);border-radius:10px;padding:4px 12px}
.bb-preview :is(.bb-tools li,.bb-concept li){padding:8px 0;border-bottom:1px solid var(--border)}
.bb-core-flow{display:flex;gap:22px;align-items:center;flex-wrap:wrap;padding:28px;border:2px solid var(--brand-button);border-radius:18px;margin-bottom:24px}
.bb-core-flow>span:first-child{font-size:26px;font-weight:700}.bb-core-flow strong{max-width:36ch}
.bb-stage,.bb-programme{border-left:3px solid var(--brand-button);padding:14px 18px;background:var(--surface-soft);color:var(--text)}
.bb-criteria{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bb-criteria>div{border-top:2px solid var(--brand-cyan);padding-top:12px}.bb-criteria dt{font-weight:750}.bb-criteria dd{margin:8px 0;line-height:1.65}
.bb-approach-0 .ba-factory-art{color:var(--brand-silver)}.bb-approach-1 .ba-factory-art{color:var(--brand-gold)}.bb-approach-2 .ba-factory-art{color:var(--brand-paper)}
.bb-timeline{display:grid;gap:22px}.bb-timeline>li{display:grid;grid-template-columns:150px minmax(0,1fr);gap:26px;border-left:3px solid var(--brand-button);padding:22px;background:var(--surface);border-radius:0 14px 14px 0}.bb-timeline time{font-weight:750;font-size:20px}.bb-timeline h3{font-size:22px}.bb-citation{font-size:14px;line-height:1.65;overflow-wrap:anywhere}.bb-citation a{padding-block:4px!important}
.bb-timeline{grid-template-columns:minmax(0,1fr)}.bb-timeline>li>div{min-width:0}.bb-timeline :is(h3,p,a){overflow-wrap:anywhere;hyphens:auto}
:is(body #main.cws-main,.editor-styles-wrapper) .bb-preview .bb-timeline :is(h3,p,a){overflow-wrap:anywhere!important;hyphens:auto!important}
.bb-topic-art{display:grid;place-items:center;background:var(--brand-navy);border-radius:14px;margin-bottom:24px;min-height:190px;border:1px solid var(--brand-cyan)}.bb-topic-art svg{width:min(100%,280px);height:180px;fill:none;stroke:var(--brand-cyan);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.bb-topic:nth-child(even) svg{stroke:var(--brand-gold)}
.bb-graph-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-block:22px}.bb-graph-controls select{font:inherit;color:var(--text);background:var(--surface);border:2px solid var(--brand-button);border-radius:10px;min-height:48px;padding:10px;max-width:100%}.bb-graph-controls label{font-weight:700}.bb-graph-controls select:focus-visible{outline:3px solid var(--brand-button);outline-offset:3px}
.bb-graph{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding:28px;border:1px solid var(--border);border-radius:20px;background:var(--surface-soft);isolation:isolate}.bb-edges{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;overflow:visible}.bb-edges path{fill:none;stroke:var(--text-muted);stroke-width:1;opacity:.12}.bb-edges path.bb-active{stroke:var(--brand-button);stroke-width:3;opacity:.9}
.bb-node-group{display:flex;flex-direction:column;gap:12px;min-width:0}.bb-node-group h3{font-size:19px!important;padding-bottom:10px;border-bottom:4px solid var(--brand-button)}
.bb-type-problem h3{border-bottom-style:dashed}.bb-type-principle h3{border-bottom-color:var(--accent)}.bb-type-capability h3{border-bottom-style:double}.bb-type-method h3{border-bottom-style:dotted}.bb-type-audience h3{border-bottom-width:7px}.bb-type-context h3{border-bottom-color:var(--text-muted)}.bb-type-foundation h3{border-bottom-style:double;border-bottom-width:7px}
.bb-node-group button{position:relative;font:inherit;font-size:15px;line-height:1.45;text-align:left;white-space:normal;overflow-wrap:anywhere;width:100%;min-height:52px;background:var(--surface)!important;color:var(--text)!important;border:2px solid var(--border)!important;border-radius:10px;padding:12px!important;transition:border-color .15s}
.bb-node-group button.bb-connected{border-color:var(--brand-button)!important;border-width:3px!important;padding:11px!important}.bb-node-group button[aria-pressed="true"]{background:var(--brand-button)!important;color:var(--brand-white)!important;border-color:var(--brand-button)!important}.bb-node-group button.bb-other{border-style:dashed!important}.bb-node-group button.bb-connected::before{content:'↔ ';font-weight:750}
/* Type colours supplement the written group labels; selection has its own outline and text cue. */
.bb-type-problem{--bb-type-colour:var(--brand-gold)}.bb-type-principle{--bb-type-colour:var(--brand-turquoise)}.bb-type-capability{--bb-type-colour:var(--brand-cyan)}
.bb-type-method{--bb-type-colour:color-mix(in srgb,var(--brand-navy) 55%,var(--brand-cyan))}.bb-type-audience{--bb-type-colour:color-mix(in srgb,var(--brand-gold) 70%,var(--brand-navy))}.bb-type-context{--bb-type-colour:color-mix(in srgb,var(--brand-silver) 65%,var(--brand-navy))}.bb-type-foundation{--bb-type-colour:var(--brand-navy)}
.bb-node-group button::after{content:'';display:block;height:4px;width:32px;margin-top:8px;background:var(--bb-type-colour);border-radius:3px}
.bb-list-view{margin-top:30px}.bb-list-view>summary{font-size:20px;min-height:48px;cursor:pointer;padding:12px 0}.bb-list-view>div{margin-top:22px}.bb-concept{scroll-margin-top:140px}.bb-concept .ba-eyebrow{font-size:12px;margin-bottom:12px}.bb-concept h3{font-size:22px!important}.bb-concept li{line-height:1.6}
@media(max-width:900px){.bb-graph{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:22px}.bb-edges{display:none}}
@media(max-width:700px){.bb-criteria{grid-template-columns:1fr}.bb-timeline>li{grid-template-columns:1fr;gap:12px;padding:18px}.bb-core-flow{padding:20px;gap:14px}.bb-graph{grid-template-columns:1fr}.bb-graph-controls{display:block}.bb-graph-controls>*{display:block;width:100%;margin-bottom:12px}.bb-related li{width:100%}.bb-related a{overflow-wrap:anywhere}.bb-preview-nav a{width:100%}}
@media(prefers-reduced-motion:reduce){.bb-node-group button{transition:none}}
@media(max-width:480px){
 :is(body #main.cws-main,.editor-styles-wrapper) .bb-preview :is(h1,h2,h3,h4,p,dt,dd,button,li,strong,a){overflow-wrap:anywhere!important;hyphens:auto!important}
}
