/* Guide 06 shares the accepted article layout; additions stay scoped here. */
/* Article reading flow: heading first, then the full content width. */
.bi-guide #article-content .process-step { display: block; padding: 28px 0; }
.bi-guide #article-content .process-step > h3 { max-width: none; margin: 0 0 20px; }
.bi-guide #article-content .subsection-index { display: inline-block; margin: 0 16px 0 0; vertical-align: middle; }
.bi-guide #article-content .prose, .bi-guide #article-content .section-intro { max-width: none; }
.bi-guide #article-content .reading-grid { display: block; }
.bi-guide #article-content .chapter-heading { max-width: none; }
.bi-guide .bi-doc-source { margin: 28px 0; padding: 24px 28px; background: #edf4f8; border: 1px solid #cbdce7; border-left: 4px solid #426f93; border-radius: 4px; }
.bi-guide .bi-doc-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.bi-guide .bi-doc-brand svg { width: 38px; height: 38px; flex: 0 0 38px; filter: none; opacity: 1; }
.bi-guide .bi-doc-product { display: block; font: 600 1.2rem/1.4 "Segoe UI",var(--hc-font); color: #25292e; }
.bi-guide .bi-doc-publisher { display: block; margin-top: 4px; font-size: .8rem; line-height: 1.6; color: #45657d; }
.bi-guide #article-content .bi-doc-source p { margin: 0 0 14px; }
.bi-guide #article-content .bi-doc-source .bi-doc-link { margin: 0; font-size: .9rem; }
.bi-guide .bi-doc-link a { color: #27445b; text-decoration: underline; text-underline-offset: 3px; }
.bi-guide .bi-doc-link a:focus-visible { outline: 2px solid #27445b; outline-offset: 4px; }
.bi-guide .story-panels { grid-template-columns: minmax(0,1.05fr) 0 minmax(0,1.25fr); }
.bi-guide .network-stages { grid-template-columns: repeat(3,minmax(0,1fr)); }
.bi-guide .bi-drawing { display: block; width: 100%; height: auto; overflow: visible; }
.bi-guide .story-network .bi-mobile-drawing, .bi-guide .story-focus .bi-mobile-drawing { display: none; }
.bi-guide .bi-links { fill: none; stroke: #64849b; stroke-width: 1.6; }
.bi-guide .bi-source rect, .bi-report rect { fill: #f6fafd; stroke: #a2b8c8; }
.bi-guide .bi-model rect { fill: #eaf3f9; stroke: #527d9d; stroke-width: 1.6; }
.bi-guide .bi-model .model-rule { stroke: #b3cad9; }
.bi-guide .bi-drawing text { fill: #27445b; font: 22px var(--hc-font); text-anchor: middle; }
.bi-guide .bi-drawing .diagram-title { font-size: 24px; font-weight: 550; }
.bi-guide .bi-drawing .diagram-small { font-size: 19px; }
.bi-guide .story-focus { display: flex; flex-direction: column; gap: 18px; }
.bi-guide .story-focus .focus-tag { margin-left: 28px; line-height: 1.7; }
.bi-guide .story-focus .bi-drawing { margin: auto 0; }
.bi-guide .story-focus .bi-links { stroke: #d9ebf9; }
.bi-guide .bi-pillar { transition: stroke-width .2s; }
.bi-guide .bi-pillar rect { fill: #20435d; stroke: #afcde2; stroke-width: 1.3; }
.bi-guide .bi-pillar[data-pillar="aggregated"] rect { stroke-dasharray: 8 4; }
.bi-guide .bi-pillar[data-pillar="predictive"] rect { stroke-dasharray: 10 4 2 4; }
.bi-guide .bi-pillar[data-pillar="operational"] rect { stroke-dasharray: 2 5; }
.bi-guide .story-focus .bi-drawing text { fill: #edf7ff; }
.bi-guide .bi-pillar .diagram-small { fill: #c4dcec; }
.bi-guide .bi-pillar.is-selected rect { fill: #315c79; stroke: #fff; stroke-width: 2.5; }
.bi-guide .bi-decision rect { fill: #17374f; stroke: #d9ebf9; }
.bi-guide .bi-pillar-controls { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: auto; }
.bi-guide .bi-pillar-controls .route-card-title { font-size: .8rem; }
.bi-guide .bi-pillar-controls button { padding: 12px; }
.bi-guide .bi-pillar-controls button:focus-visible { outline: 2px solid #eef7ff; outline-offset: 3px; }
.bi-guide .story-focus .story-particles { fill: #e0f1ff; }
.bi-guide .story-network .story-particles { fill: #27445b; }
.bi-guide .bi-guide-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9rem; line-height: 1.7; }
.bi-guide .bi-guide-table th, .bi-guide .bi-guide-table td { padding: 16px; border-bottom: 1px solid #c6cbcb; vertical-align: top; }
.bi-guide .bi-guide-table th { color: #27445b; font-weight: 550; }
.bi-guide .bi-guide-table th[scope="row"] { min-width: 150px; }
.bi-guide .bi-guide-table td { min-width: 180px; }
.bi-guide .bi-guide-table caption { text-align: left; color: #45657d; padding: 16px; }
.bi-guide .table-scroll:focus-visible { outline: 2px solid #27445b; outline-offset: 3px; }
.bi-guide .prose ul { padding-left: 22px; line-height: 1.85; margin: 0 0 20px; }
.bi-guide .prose li { margin-bottom: 8px; }
.bi-guide .prose h4 { font-size: 1.03rem; color: #27445b; font-weight: 550; margin: 32px 0 16px; }
.bi-guide .technical-references { border-top: 1px solid var(--hc-line); padding-top: 24px; margin-top: 32px; }
.bi-guide .technical-references h3 { margin-top: 0; }
.bi-guide .technical-references li { font-size: .86rem; }
.bi-guide .bi-principle { margin: 28px 0; }
/* The opening diagram describes architectural responsibilities across a portfolio. */
.bi-guide .bi-story .hero-icon-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.bi-guide .bi-story .hero-architecture-key { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin: 0 0 22px; padding: 14px 18px; list-style: none; background: #ffffffb3; border: 1px solid #d3e1e9; border-radius: 5px; }
.bi-guide .bi-story .hero-architecture-key li { display: flex; align-items: center; gap: 10px; color: #425e73; font-size: .74rem; line-height: 1.6; }
.bi-guide .bi-story .hero-key-heading { font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.bi-guide .bi-story .hero-key-component { width: 28px; height: 17px; border: 1px solid #9bb8cc; border-radius: 3px; background: #edf4f8; }
.bi-guide .bi-story .hero-key-optional { border-style: dashed; background: transparent; }
.bi-guide .bi-story .hero-key-flow { position: relative; width: 34px; border-top: 1.5px solid #6c8fa8; }
.bi-guide .bi-story .hero-key-flow::after { content: ''; position: absolute; right: -1px; top: -4px; border-left: 6px solid #6c8fa8; border-top: 3px solid transparent; border-bottom: 3px solid transparent; }
.bi-guide .bi-story .hero-key-feedback { border-top-style: dashed; }
.bi-guide .bi-story .hero-panel-heading { min-height: 5.1rem; }
.bi-guide .bi-story .story-panels h2 { font-weight: 550; line-height: 1.5; }
.bi-guide .bi-story .story-panels h2 > span { display: inline-grid; place-items: center; width: 30px; height: 32px; margin-right: 9px; background: #edf4f8; border: 1px solid #d3e1e9; border-radius: 5px; vertical-align: middle; }
.bi-guide .bi-story .story-focus h2 > span { color: #d0e5f5; background: #20435d; border-color: #42627a; }
.bi-guide .bi-story .story-network { justify-content: flex-start; gap: 18px; }
.bi-guide .bi-story .hero-panel-label { color: #60778c; font-size: .7rem; line-height: 1.7; margin: 10px 0 0; }
.bi-guide .bi-story .story-focus .hero-panel-label { color: #c4dcec; }
.bi-guide .bi-story .hero-architecture-drawing { display: block; width: 100%; height: auto; flex: 1; margin: 0; }
.bi-guide .bi-story .hero-mobile { display: none; }
.bi-guide .bi-story .hero-architecture-drawing text { font-family: var(--hc-font); fill: #27445b; text-anchor: middle; }
.bi-guide .bi-story .hero-arch-node rect { fill: #f6fafd; stroke: #9bb8cc; stroke-width: 1.3; }
.bi-guide .bi-story .hero-card-title { font-size: 21px; font-weight: 550; }
.bi-guide .bi-story .hero-card-detail { font-size: 17px; }
.bi-guide .bi-story .hero-architecture-drawing .hero-card-title { text-anchor: start; font-size: 18px; }
.bi-guide .bi-story .hero-architecture-drawing .hero-card-detail { text-anchor: start; font-size: 15px; }
.bi-guide .bi-story .hero-node-icon { color: #426f93; }
.bi-guide .bi-story .hero-node-icon use { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bi-guide .bi-story .hero-arch-node .hero-node-icon rect { fill: #e4eff6; stroke: none; }
.bi-guide .bi-story .story-focus .hero-node-icon { color: #d0e5f5; }
.bi-guide .bi-story .story-focus .hero-arch-node .hero-node-icon rect { fill: #315c79; stroke: none; }
.bi-guide .bi-story .hero-guardrail rect { fill: #e4eff6; stroke: #90aec4; }
.bi-guide .bi-story .hero-guardrail .hero-card-title { font-size: 20px; }
.bi-guide .bi-story .hero-guardrail .hero-card-detail { font-size: 16px; }
.bi-guide .bi-story .hero-shared-contract rect { fill: #edf4f8; stroke: #bed1df; }
.bi-guide .bi-story .hero-optional-node rect { stroke-dasharray: 7 4; }
.bi-guide .bi-story .hero-arch-links { fill: none; stroke: #6c8fa8; stroke-width: 1.7; }
.bi-guide .bi-story .hero-arch-links .hero-optional { stroke-dasharray: 6 5; }
.bi-guide .bi-story .hero-portfolio-spine { fill: none; stroke: #d0e5f5; stroke-width: 1.7; }
.bi-guide .bi-story .story-focus .hero-arch-node rect { fill: #20435d; stroke: #afcde2; }
.bi-guide .bi-story .story-focus .hero-architecture-drawing text { fill: #eef7ff; }
.bi-guide .bi-story .story-focus .hero-card-detail { fill: #c4dcec; }
.bi-guide .bi-story .story-focus .hero-arch-links { stroke: #d0e5f5; }
.bi-guide .bi-story .hero-outcome rect { fill: #17374f; }
.bi-guide .bi-story .hero-arch-node.is-selected rect { stroke-width: 3; stroke: #426f93; fill: #e0eef8; }
.bi-guide .bi-story .story-focus .hero-arch-node.is-selected rect { stroke: #fff; fill: #315c79; }
.bi-guide .bi-story .story-note { display: flex; align-items: flex-start; gap: 12px; margin-top: auto; font-size: .85rem; padding: 14px; border: 1px solid #d3e1e9; border-radius: 5px; background: #edf4f8; }
.bi-guide .bi-story .hero-ui-icon { width: 28px; height: 28px; flex: 0 0 28px; margin: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bi-guide .bi-story .hero-arch-node .hero-node-icon rect.hero-icon-badge { fill: #e4eff6; stroke: none; stroke-dasharray: none; }
.bi-guide .bi-story .story-focus .hero-arch-node .hero-node-icon rect.hero-icon-badge { fill: #315c79; stroke: none; stroke-dasharray: none; }
.bi-guide .bi-story .story-focus .story-note { background: #20435d; }
.bi-guide .bi-story .story-focus .story-note { color: #c4dcec; border-color: #afcde24d; }
.bi-guide .bi-lens-controls { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.bi-guide .bi-lens-controls[hidden] { display: none; }
.bi-guide .bi-lens-controls button { font: inherit; padding: 15px; text-align: left; border: 1px solid #a8bfce; border-radius: 3px; background: #ffffffb3; color: #27445b; cursor: pointer; }
.bi-guide .bi-lens-controls button b { display: block; font-size: .85rem; font-weight: 550; line-height: 1.6; }
.bi-guide .bi-lens-controls button span { display: block; font-size: .76rem; line-height: 1.7; margin-top: 6px; }
.bi-guide .bi-lens-controls button[aria-pressed="true"] { background: #27445b; color: #fff; border-color: #27445b; }
.bi-guide .bi-lens-controls button:focus-visible { outline: 2px solid #27445b; outline-offset: 3px; }
.bi-guide .bi-lens-controls button { display: grid; grid-template-columns: 30px minmax(0,1fr) 12px; align-items: center; gap: 12px; }
.bi-guide .bi-lens-controls button .hero-lens-copy { margin: 0; }
.bi-guide .bi-lens-controls button .hero-lens-chevron { margin: 0; font-size: 1.3rem; }
.bi-guide .bi-story .story-reading { min-height: 8em; }
@media (max-width: 600px) {
  .bi-guide .bi-story .hero-architecture-key { gap: 12px 18px; padding: 14px; }
  .bi-guide .bi-story .hero-panel-heading { min-height: 0; }
  .bi-guide .bi-story .hero-architecture-drawing .hero-card-title { font-size: 19px; }
  .bi-guide .bi-story .hero-architecture-drawing .hero-card-detail { font-size: 17px; }
  .bi-guide .bi-story .hero-desktop { display: none; }
  .bi-guide .bi-story .hero-mobile { display: block; }
  .bi-guide .bi-story .hero-card-title { font-size: 21px; }
  .bi-guide .bi-story .hero-card-detail { font-size: 19px; }
  .bi-guide .bi-story .hero-guardrail .hero-card-title { font-size: 20px; }
  .bi-guide .bi-lens-controls { grid-template-columns: minmax(0,1fr); }
  .bi-guide .bi-story .story-reading { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bi-guide .bi-story .story-motion { display: none; }
}
@media print {
  .bi-guide .bi-story .hero-desktop { display: block; }
  .bi-guide .bi-story .hero-mobile, .bi-guide .bi-lens-controls { display: none; }
  .bi-guide .bi-story .hero-architecture-drawing { max-width: 500px; margin-inline: auto; }
  .bi-guide .bi-story .story-reading { min-height: 0; }
}
@media (max-width: 900px) {
  .bi-guide .story-panels { grid-template-columns: minmax(0,1fr); }
  .bi-guide .bi-drawing { max-width: 600px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .bi-guide .network-stages { grid-template-columns: minmax(0,1fr); gap: 14px; margin-top: 24px; }
  .bi-guide .network-stages > div { padding: 0; border: 0; }
  .bi-guide .network-stages span { margin-top: 2px; }
  .bi-guide .bi-pillar-controls { grid-template-columns: minmax(0,1fr); }
  .bi-guide .story-network .bi-wide-drawing, .bi-guide .story-focus .bi-wide-drawing { display: none; }
  .bi-guide .story-network .bi-mobile-drawing, .bi-guide .story-focus .bi-mobile-drawing { display: block; }
  .bi-guide .bi-mobile-drawing text { font-size: 19px; }
  .bi-guide .bi-mobile-drawing .diagram-title { font-size: 24px; }
  .bi-guide .bi-mobile-drawing .diagram-small { font-size: 20px; }
  .bi-guide .story-reading .story-route-note { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bi-guide .story-particles { display: none; }
}
@media print {
  .bi-guide .story-panels { display: block; }
  .bi-guide .story-network, .bi-guide .story-focus { break-inside: avoid; }
  .bi-guide .story-focus { margin-top: 20px; }
  .bi-guide .bi-drawing { max-width: 500px; margin-inline: auto; }
  .bi-guide .bi-wide-drawing { display: block; }
  .bi-guide .bi-mobile-drawing { display: none; }
  .bi-guide .bi-guide-table { min-width: 0 !important; }
  .bi-guide .bi-guide-table th[scope="row"], .bi-guide .bi-guide-table td { min-width: 0; }
  .bi-guide .technical-references a { overflow-wrap: anywhere; }
}

