/* Bangladesh Economic Intelligence shared shell.
   All selectors are bei-* namespaced so the shell never restyles a panel's own charts or typography.
   Semantic evidence colours are reserved for the legend/chips and are never reused as panel accents. */
:root {
  --bei-ink: #171717;
  --bei-muted: #5b5954;
  --bei-line: #dcdad3;
  --bei-line-dark: #9d9a92;
  --bei-paper: #ffffff;
  --bei-wash: #f7f7f4;
  --bei-white: #ffffff;
  --bei-accent: #a71916;
  --bei-blue: #1f5f8b;
  --bei-blue-soft: #eaf1f6;
  --bei-green: #2c6b42;
  --bei-amber: #8a5a00;
  --bei-slate: #29323a;
  --bei-focus: #0b57d0;
  /* Evidence-class semantics (text + marker, never colour alone) */
  --ev-official: #0b5a8f;
  --ev-calculated: #2c6b42;
  --ev-estimated: #8a5a00;
  --ev-research: #6b3fa0;
  --ev-model: #a3361f;
  --ev-gated: #5b5954;
}

.bei-masthead, .bei-masthead *, .bei-brief, .bei-brief *, .bei-breadcrumb, .bei-module-tools, .bei-home, .bei-home * { box-sizing: border-box; }
body.bei-home { margin: 0; background: var(--bei-paper); color: var(--bei-ink); }

.bei-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 14px; background: var(--bei-ink); color: #fff; font: 700 13px/1 system-ui, sans-serif; }
.bei-skip:focus { left: 8px; top: 8px; }

.bei-wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.bei-masthead { background: var(--bei-white); border-top: 4px solid var(--bei-ink); border-bottom: 1px solid var(--bei-line); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.bei-brand-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 14px 0 12px; }
.bei-brand { color: var(--bei-ink); text-decoration: none; }
.bei-brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 700; line-height: 1.05; }
.bei-brand-sub { margin-top: 4px; color: var(--bei-muted); font-size: 12px; letter-spacing: .075em; text-transform: uppercase; }
.bei-environment { color: var(--bei-muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* Primary navigation: a grid, two rows on desktop, wrapped grid on narrow screens. No sideways scrolling. */
.bei-nav { border-top: 1px solid var(--bei-line); }
.bei-nav-inner { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-left: 1px solid var(--bei-line); }
.bei-wrap.bei-nav-inner { border-right: 0; }
.bei-nav-link { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 10px; border-top: 3px solid transparent; border-right: 1px solid var(--bei-line); border-bottom: 1px solid var(--bei-line); color: #2b2b2b; font-size: 12px; font-weight: 650; line-height: 1.2; text-decoration: none; background: var(--bei-white); }
.bei-nav-link:hover { background: var(--bei-wash); color: var(--bei-ink); }
.bei-nav-link:focus-visible { outline: 3px solid var(--bei-focus); outline-offset: -3px; }
.bei-nav-link[aria-current="page"] { background: #f1f4f8; border-top-color: var(--accent, var(--bei-ink)); color: var(--bei-ink); font-weight: 850; box-shadow: inset 0 -2px 0 var(--accent, var(--bei-ink)); }
.bei-nav-no { flex: none; min-width: 22px; padding: 1px 4px; border: 1px solid var(--accent, var(--bei-line-dark)); border-radius: 3px; color: var(--accent, var(--bei-muted)); font-size: 12px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.bei-nav-label { min-width: 0; overflow-wrap: anywhere; }

/* Evidence legend */
.bei-legend-row { border-top: 0; }
.bei-legend { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 8px 0 9px; list-style: none; font-size: 12px; }
.bei-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 6px; border: 1px solid currentColor; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1.4; white-space: nowrap; }
.bei-chip::before { content: ""; width: 7px; height: 7px; background: currentColor; border-radius: 1px; }
.bei-chip-official { color: var(--ev-official); }
.bei-chip-calculated { color: var(--ev-calculated); }
.bei-chip-calculated::before { border-radius: 50%; }
.bei-chip-estimated { color: var(--ev-estimated); }
.bei-chip-estimated::before { transform: rotate(45deg); }
.bei-chip-research { color: var(--ev-research); }
.bei-chip-research::before { border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.bei-chip-model { color: var(--ev-model); }
.bei-chip-model::before { background: transparent; border: 1.5px solid currentColor; }
.bei-chip-gated { color: var(--ev-gated); border-style: dashed; }
.bei-chip-gated::before { background: transparent; border: 1.5px dashed currentColor; }

.bei-breadcrumb { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 9px 0 0; color: var(--bei-muted); font: 13px/1.4 Inter, system-ui, sans-serif; }
.bei-breadcrumb a { color: var(--bei-blue); text-decoration: none; }

/* Reading guide */
.bei-brief { margin: 10px 0 4px; padding: 14px 0 12px; border-bottom: 1px solid var(--bei-line); background: var(--bei-white); color: var(--bei-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.bei-brief-kicker { color: var(--bei-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bei-brief h2 { margin: 5px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.15; font-weight: 700; color: var(--bei-ink); }
.bei-brief-orient { max-width: 880px; margin: 8px 0 0; color: #3d3c39; font-size: 13px; line-height: 1.5; }
.bei-brief-more { margin-top: 12px; border-top: 1px solid var(--bei-line); }
.bei-brief-more summary { padding: 9px 0; color: var(--bei-blue); font-size: 12px; font-weight: 800; cursor: pointer; }
.bei-brief-more summary:focus-visible { outline: 3px solid var(--bei-focus); outline-offset: 2px; }
.bei-brief-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 28px; padding: 6px 0 4px; }
.bei-brief-wide { grid-column: 1 / -1; }
.bei-brief h3 { margin: 0 0 6px; color: var(--bei-ink); font: 800 12px/1.3 Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.bei-brief ul { margin: 0; padding-left: 17px; font-size: 12px; line-height: 1.5; color: #35342f; }
.bei-brief li { margin: 3px 0; }
.bei-brief a { color: var(--bei-blue); }
.bei-signals { margin: 0; font-size: 12px; line-height: 1.45; }
.bei-signals dt { margin-top: 5px; color: var(--bei-muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bei-signals dd { margin: 1px 0 0; color: #35342f; }
.bei-brief-note { margin: 6px 0 0; color: var(--bei-muted); font-size: 12px; }
.bei-gated-list { list-style: none; padding-left: 0 !important; }
.bei-gated-list li { padding: 6px 0; border-top: 1px solid var(--bei-line); }
.bei-gated-list span:not(.bei-chip) { color: var(--bei-muted); }

/* Peer benchmarks, verified external context and cross-checks (closing section of each panel) */
.bei-brief-jump { margin: 8px 0 0; font-size: 12px; font-weight: 750; }
.bei-context { margin: 28px 0 0; padding: 26px 0 30px; border-top: 2px solid var(--bei-ink); background: var(--bei-white); color: var(--bei-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.bei-context, .bei-context * { box-sizing: border-box; }
.bei-ctx-head h2 { margin: 5px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.2; }
.bei-ctx-block { margin-top: 26px; }
.bei-ctx-block h3 { margin: 0; font: 800 14px/1.3 Inter, system-ui, sans-serif; letter-spacing: .01em; }
.bei-ctx-block h3 .bei-chip { margin-left: 6px; vertical-align: 1px; }
.bei-ctx-q { margin: 6px 0 0; font: 700 15px/1.4 Georgia, serif; }
.bei-ctx-sub { max-width: 940px; margin: 6px 0 12px; color: #4a4945; font-size: 12px; line-height: 1.5; }
.bei-ctx-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.bei-ctx-table caption { position: absolute; left: -9999px; }
.bei-ctx-table th, .bei-ctx-table td { padding: 7px 9px; border-bottom: 1px solid var(--bei-line); text-align: right; vertical-align: top; }
.bei-ctx-table thead th { background: #f0efeb; color: #4c4b47; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; text-align: right; }
.bei-ctx-table thead th:first-child, .bei-ctx-table tbody th { text-align: left; }
.bei-ctx-table tbody th { font-weight: 650; min-width: 190px; }
.bei-ctx-table small { display: block; margin-top: 2px; color: var(--bei-muted); font-size: 12px; font-weight: 400; line-height: 1.35; }
/* Panel stylesheets may style bare th/td/caption/small; normalise inside the context section. */
.bei-ctx-table tbody th, .bei-ctx-fig tbody th { background: transparent; color: var(--bei-ink); font-size: 12px; letter-spacing: 0; text-transform: none; }
.bei-ctx-table thead th:last-child, .bei-ctx-checks thead th { text-align: left; }
.bei-scroll-hint { margin: 6px 0 4px; color: var(--bei-muted); font-size: 12px; }
.bei-ctx-table .bei-bgd { background: #f4f6f8; }
.bei-ctx-table .bei-na { color: var(--bei-muted); }
.bei-ctx-table .bei-old { color: #6d6a63; }
.bei-ctx-table .bei-dotcell { min-width: 190px; text-align: left; }
.bei-dots { display: block; }
.bei-ctx-checks td, .bei-ctx-checks th { text-align: left; }
.bei-ctx-checks td small { margin-top: 3px; }
.bei-verdict { display: inline-block; padding: 1px 6px; border: 1px solid var(--bei-line-dark); border-radius: 3px; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.bei-ctx-more { margin-top: 10px; border-top: 1px solid var(--bei-line); }
.bei-ctx-more summary { padding: 8px 0; color: var(--bei-blue); font-size: 12px; font-weight: 800; cursor: pointer; }
.bei-ctx-more summary:focus-visible { outline: 3px solid var(--bei-focus); outline-offset: 2px; }
.bei-ctx-more ul { margin: 0; padding-left: 18px; font-size: 12px; line-height: 1.5; color: #35342f; }
.bei-ctx-more li { margin: 5px 0; }
.bei-ctx-more code { font-size: 12px; background: var(--bei-wash); padding: 0 3px; }
.bei-defn { display: block; color: var(--bei-muted); }
.bei-ctx-src { margin: 10px 0 0; color: var(--bei-muted); font-size: 12px; line-height: 1.5; }
.bei-ctx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 12px; }
.bei-ctx-card { padding: 13px 14px; border: 1px solid var(--bei-line); border-top: 3px solid var(--bei-ink); background: var(--bei-white); }
.bei-ctx-kind { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--bei-muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bei-ctx-card h4 { margin: 8px 0 0; font: 700 16px/1.25 Georgia, serif; }
.bei-ctx-card p { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: #35342f; }
.bei-ctx-fig { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 12px; }
.bei-ctx-fig th, .bei-ctx-fig td { padding: 4px 6px; border-bottom: 1px solid var(--bei-line); text-align: left; }
.bei-ctx-fig thead th { color: var(--bei-muted); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.bei-ctx-cite { color: var(--bei-muted) !important; font-size: 12px !important; }
.bei-ctx-cite a { color: var(--bei-blue); }
.bei-ctx-limit { padding: 7px 9px; border-left: 3px solid var(--ev-estimated); background: #fbf7ee; font-size: 12px !important; }
@media (max-width: 600px) { .bei-ctx-grid { grid-template-columns: 1fr; } .bei-ctx-table tbody th { min-width: 140px; } }
@media print { .bei-ctx-card { break-inside: avoid; } }

.bei-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bei-table-scroll:focus-visible { outline: 3px solid var(--bei-focus); outline-offset: 2px; }

.bei-module-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 6px; font-family: Inter, system-ui, sans-serif; }
.bei-tool-link { display: inline-block; padding: 6px 10px; border: 1px solid var(--bei-line-dark); border-radius: 3px; background: var(--bei-white); color: var(--bei-blue) !important; font: 750 12px/1.2 Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.bei-tool-link:hover { background: var(--bei-blue-soft); }
.bei-tool-link:focus-visible { outline: 3px solid var(--bei-focus); outline-offset: 2px; }

.bei-home { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.45; font-variant-numeric: tabular-nums; }
.bei-home a { color: var(--bei-blue); }
.bei-home a:focus-visible { outline: 3px solid var(--bei-focus); outline-offset: 2px; }
.bei-home-main { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.bei-kicker { color: var(--bei-accent); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.bei-home h1, .bei-home h2 { font-family: Georgia, "Times New Roman", serif; margin: 0; color: var(--bei-ink); }
.bei-home h1 { margin-top: 6px; font-size: clamp(32px, 4.5vw, 54px); line-height: 1.02; letter-spacing: -.025em; }
.bei-home h2 { font-size: clamp(23px, 2.7vw, 34px); line-height: 1.08; }

.bei-monitor-head { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .7fr); gap: 42px; align-items: end; padding: 36px 0 26px; border-bottom: 2px solid var(--bei-ink); }
.bei-monitor-dek { max-width: 820px; margin: 12px 0 0; color: #44433f; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.45; }
.bei-monitor-meta { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--bei-ink); border-left: 1px solid var(--bei-line); background: var(--bei-white); }
.bei-monitor-meta div { min-height: 66px; padding: 11px 12px; border-right: 1px solid var(--bei-line); border-bottom: 1px solid var(--bei-line); }
.bei-monitor-meta span { display: block; color: var(--bei-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bei-monitor-meta strong { display: block; margin-top: 5px; font-size: 12px; line-height: 1.25; }

.bei-home-hero { padding: 52px 0 34px; border-bottom: 2px solid var(--bei-ink); }
.bei-dek { max-width: 880px; margin: 18px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 19px; color: #41413e; }
.bei-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--bei-line); }
.bei-principle strong { display: block; font-size: 12px; }
.bei-principle span { display: block; margin-top: 3px; color: var(--bei-muted); font-size: 12px; }

.bei-section { padding: 34px 0; border-bottom: 1px solid var(--bei-line); }
.bei-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 390px); gap: 40px; align-items: end; margin-bottom: 19px; }
.bei-section-head.compact { margin-bottom: 16px; }
.bei-section-note { margin: 0; color: var(--bei-muted); font-size: 12px; line-height: 1.45; }

.bei-module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bei-module-card { min-height: 205px; background: var(--bei-white); border: 1px solid var(--bei-line); border-top: 3px solid var(--bei-ink); padding: 14px; display: flex; flex-direction: column; }
.bei-module-card.live { border-top-color: var(--bei-accent); }
.bei-module-card h3 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.12; }
.bei-module-card p { margin: 8px 0 0; color: #454540; font-size: 12px; line-height: 1.45; }
.bei-module-meta { display: block; margin-top: auto; padding-top: 13px; color: var(--bei-muted); font-size: 12px; line-height: 1.4; }
.bei-module-meta span { display: block; margin-top: 2px; }
.bei-status { display: inline-block; width: max-content; padding: 2px 6px; border: 1px solid var(--bei-line-dark); border-radius: 999px; font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; color: #464646; background: #fafafa; }
.bei-status.live { border-color: #7c9b86; color: var(--bei-green); background: #f2f8f4; }
.bei-status.foundation { border-color: #9fb4c1; color: var(--bei-blue); background: var(--bei-blue-soft); }
.bei-status.planned { color: var(--bei-muted); }
.bei-module-link { margin-top: 10px; font-size: 12px; font-weight: 800; }
.bei-module-link a { text-decoration: none; }
.bei-module-link a::after { content: " \2192"; }
.bei-module-link .disabled { color: var(--bei-muted); }

.bei-intelligence-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--bei-ink); border-left: 1px solid var(--bei-line); background: var(--bei-white); }
.bei-intelligence-lane { min-height: 230px; padding: 14px; border-right: 1px solid var(--bei-line); border-bottom: 1px solid var(--bei-line); }
.bei-lane-no { color: var(--bei-muted); font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.bei-intelligence-lane h3 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.15; }
.bei-intelligence-lane p { margin: 9px 0 0; color: #4a4945; font-size: 12px; line-height: 1.48; }
.bei-lane-status { margin-top: 14px; padding-top: 9px; border-top: 1px solid var(--bei-line); color: var(--bei-blue); font-size: 12px; font-weight: 750; line-height: 1.35; text-transform: uppercase; letter-spacing: .04em; }

.bei-freshness-shell { overflow-x: auto; background: var(--bei-white); border-top: 2px solid var(--bei-ink); }
.bei-home table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.bei-home th, .bei-home td { padding: 7px 9px; border-bottom: 1px solid var(--bei-line); text-align: left; vertical-align: top; }
.bei-home th { background: #f0efeb; color: #4c4b47; font-size: 12px; letter-spacing: .065em; text-transform: uppercase; }
.bei-home tbody tr:hover { background: #faf9f6; }
.bei-home td.period, .bei-home td.status { white-space: nowrap; }

.bei-evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bei-evidence-grid-four { grid-template-columns: repeat(4, 1fr); }
.bei-evidence-card { background: var(--bei-white); border: 1px solid var(--bei-line); padding: 13px; }
.bei-evidence-name { font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.bei-evidence-card p { margin: 6px 0 0; color: var(--bei-muted); font-size: 12px; line-height: 1.45; }
.bei-method-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; border-top: 2px solid var(--bei-slate); border-left: 1px solid var(--bei-line); background: var(--bei-white); }
.bei-method-strip div { padding: 10px 12px; border-right: 1px solid var(--bei-line); border-bottom: 1px solid var(--bei-line); }
.bei-method-strip span { display: block; color: var(--bei-muted); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.bei-method-strip strong { display: block; margin-top: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 13px; line-height: 1.25; }
.bei-rule-list { margin: 16px 0 0; padding-left: 20px; }
.bei-rule-list li { margin: 7px 0; font-size: 13px; }
.bei-note { padding: 12px 14px; border-left: 4px solid var(--bei-blue); background: var(--bei-blue-soft); color: #304957; font-size: 12px; }

.bei-footer { background: var(--bei-white); border-top: 1px solid var(--bei-line-dark); }
.bei-footer-inner { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0 25px; color: var(--bei-muted); font-size: 12px; }

/* Register of BEI's own measures (24 Oct 2026): method tags and the register on Data & methods */
.bei-mtag { display: inline-block; margin: 0 2px; padding: 1px 7px; border: 1px solid #b9c9d6; border-radius: 10px; background: var(--bei-blue-soft); color: var(--bei-blue); font: 600 12px/1.6 system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.bei-mtag:hover { border-color: var(--bei-blue); }
.bei-ask-methods { margin: -2px 0 0; color: var(--bei-muted); font: 500 12px/1.8 system-ui, sans-serif; }
.bei-mr-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.bei-mr-toc a { padding: 4px 9px; border: 1px solid var(--bei-line); border-radius: 4px; color: var(--bei-ink); font: 600 12.5px/1.3 system-ui, sans-serif; text-decoration: none; }
.bei-mr-toc a span { color: var(--bei-muted); font-weight: 500; }
.bei-mr-family h3 { margin: 22px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--bei-ink); font: 700 18px/1.3 Georgia, serif; }
.bei-mr-entry { padding: 12px 0 10px; border-bottom: 1px solid var(--bei-line); scroll-margin-top: 16px; }
.bei-mr-entry:target { background: var(--bei-blue-soft); }
.bei-mr-entry h4 { margin: 0 0 6px; font: 700 15.5px/1.35 system-ui, sans-serif; }
.bei-mr-entry h4 a { color: var(--bei-ink); text-decoration: none; }
.bei-mr-ev { margin-left: 6px; padding: 1px 6px; border: 1px solid var(--bei-line-dark); border-radius: 3px; color: var(--bei-muted); font: 700 12px/1.5 system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.bei-mr-entry dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 14px; margin: 0; font: 500 13.5px/1.5 system-ui, sans-serif; }
.bei-mr-entry dt { color: var(--bei-muted); font-weight: 700; }
.bei-mr-entry dd { margin: 0; }
.bei-mr-entry dd ul { margin: 0; padding-left: 18px; }
.bei-mr-rev { margin: 6px 0 0; color: var(--bei-muted); font: 500 12px/1.4 system-ui, sans-serif; }
@media (max-width: 600px) { .bei-mr-entry dl { grid-template-columns: 1fr; } .bei-mr-entry dt { margin-top: 4px; } }

/* Overview: coming up, what forecasters expect, gaps from the pre-2020 path (24 Oct 2026) */
.bei-coming-up { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 14px 0 0; padding: 10px 12px; border: 1px solid var(--bei-line); background: var(--bei-wash); font: 500 13.5px/1.5 system-ui, sans-serif; }
.bei-coming-up a { color: var(--bei-blue); }
.bei-cu-label { color: var(--bei-accent); font: 800 12px/1.5 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.bei-cu-late { color: var(--bei-amber); font-weight: 600; }
.bei-cu-more { font-weight: 700; }
.bei-cu-note { flex-basis: 100%; color: var(--bei-muted); font-size: 12px; }
.bei-forecasters, .bei-trend { padding: 30px 0 10px; }
.bei-fc-wrap { overflow-x: auto; border-top: 2px solid var(--bei-ink); }
.bei-fc-table { width: 100%; border-collapse: collapse; font: 500 13.5px/1.4 system-ui, sans-serif; }
.bei-fc-table caption { text-align: left; padding: 8px 0; color: var(--bei-muted); font-size: 12.5px; }
.bei-fc-table th, .bei-fc-table td { padding: 9px 10px; border-bottom: 1px solid var(--bei-line); text-align: left; vertical-align: top; }
.bei-fc-table thead th { color: var(--bei-muted); font: 800 12px/1.3 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.bei-fc-table tbody th { min-width: 150px; color: var(--bei-ink); font: 750 13.5px/1.35 system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.bei-fc-table tbody th small { display: block; color: var(--bei-muted); font: 500 12px/1.35 system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.bei-fc-table tbody th a { color: var(--bei-ink); }
.bei-fc-table td b { font-variant-numeric: tabular-nums; font-size: 15px; }
.bei-fc-none { color: var(--bei-line-dark); }
.bei-tr-gap.t-bad b { color: var(--bei-accent); } .bei-tr-gap.t-good b { color: var(--bei-green); } .bei-tr-gap.t-info b { color: var(--bei-blue); }
.bei-tr-missing { color: var(--bei-muted); font-style: italic; }
@media (max-width: 600px) { .bei-fc-table { font-size: 12.5px; } .bei-fc-table th, .bei-fc-table td { padding: 8px 6px; } .bei-fc-table tbody th { min-width: 110px; } }

/* Chart sharing (24 Oct 2026): "Save image" and "Copy link" under every chart */
.bei-share-tools { display: flex; justify-content: flex-end; gap: 6px; margin: 6px 0 4px; }
.bei-share-button { padding: 4px 9px; border: 1px solid var(--bei-line); border-radius: 4px; background: var(--bei-white); color: var(--bei-slate); font: 600 12px/1.2 system-ui, sans-serif; cursor: pointer; }
.bei-share-button:hover { border-color: var(--bei-line-dark); background: var(--bei-wash); }
.bei-share-button:focus-visible { outline: 2px solid var(--bei-focus); outline-offset: 1px; }
@media print { .bei-share-tools, .bei-share-link { display: none; } }

/* Masthead stripe mark (24 Oct 2026): one bar per live panel, coloured like its headline tile on the Overview */
.bei-stripemark { display: inline-flex; align-items: stretch; gap: 2px; height: 20px; margin-right: 11px; vertical-align: -2px; }
.bei-stripemark i { display: block; width: 4px; border-radius: 1px; }
.bei-stripemark i.t-bad, .bei-si-bars i.t-bad { background: var(--bei-accent); }
.bei-stripemark i.t-warn, .bei-si-bars i.t-warn { background: var(--bei-amber); }
.bei-stripemark i.t-info, .bei-si-bars i.t-info { background: var(--bei-blue); }
.bei-stripemark i.t-good, .bei-si-bars i.t-good { background: var(--bei-green); }
@media (min-width: 601px) { .bei-brand-name { white-space: nowrap; } }
@media (max-width: 600px) { .bei-stripemark { height: 17px; margin-right: 8px; } .bei-stripemark i { width: 3px; } }

/* Overview: headline figures and four questions (23 Oct 2026) */
.bei-glance { padding: 26px 0 8px; }
.bei-glance-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--bei-line); border-left: 1px solid var(--bei-line); }
.bei-tile { display: flex; flex-direction: column; gap: 4px; padding: 13px 14px 14px; border-right: 1px solid var(--bei-line); border-bottom: 1px solid var(--bei-line); border-top: 3px solid transparent; margin-top: -1px; color: inherit; text-decoration: none; min-width: 0; }
.bei-tile:hover { background: var(--bei-wash); }
.bei-tile:focus-visible { outline: 2px solid var(--bei-focus); outline-offset: -2px; }
.bei-tile.t-bad { border-top-color: var(--bei-accent); }
.bei-tile.t-warn { border-top-color: var(--bei-amber); }
.bei-tile.t-info { border-top-color: var(--bei-blue); }
.bei-tile.t-good { border-top-color: var(--bei-green); }
.bei-tile-label { color: var(--bei-muted); font: 800 12px/1.3 system-ui, sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.bei-tile-value { color: var(--bei-ink); font: 750 26px/1.1 system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.bei-tile-period { color: var(--bei-muted); font: 500 12px/1.3 system-ui, sans-serif; }
.bei-tile-verdict { color: var(--bei-ink); font: 500 13px/1.4 system-ui, sans-serif; margin-top: 2px; }
.bei-tile-old { align-self: flex-start; margin-top: 4px; padding: 1px 6px; border: 1px solid var(--bei-amber); border-radius: 3px; color: var(--bei-amber); font: 700 12px/1.5 system-ui, sans-serif; }
.bei-glance-note { margin: 10px 0 0; color: var(--bei-muted); font: 500 12.5px/1.5 system-ui, sans-serif; }
.bei-asks { padding: 30px 0 10px; }
.bei-ask-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bei-ask { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px 18px 14px; border: 1px solid var(--bei-line); border-top: 2px solid var(--bei-ink); }
.bei-ask h3 { margin: 0; font: 750 19px/1.25 system-ui, sans-serif; }
.bei-ask dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 6px; margin: 0; font: 500 14px/1.35 system-ui, sans-serif; }
.bei-ask dt { color: var(--bei-muted); }
.bei-ask dd { margin: 0; text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
.bei-ask-answer { margin: 0; padding-top: 10px; border-top: 1px solid var(--bei-line); font: 500 14.5px/1.5 system-ui, sans-serif; }
.bei-ask-link { margin-top: auto; font: 700 13px/1 system-ui, sans-serif; }
.bei-ask-link a { color: var(--bei-blue); }
@media (max-width: 1100px) { .bei-glance-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .bei-ask-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .bei-glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bei-glance-grid > .bei-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .bei-tile { padding: 11px 10px 12px; }
  .bei-tile-value { font-size: 22px; }
  .bei-tile-verdict { font-size: 12.5px; }
  .bei-ask dl { grid-template-columns: 1fr; }
  .bei-ask dd { margin-bottom: 4px; text-align: left; }
}

@media (max-width: 1050px) {
  .bei-module-grid, .bei-intelligence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bei-monitor-head { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 1100px) {
  /* Content genuinely wider than the page scrolls inside the panel region, never the whole page. */
  .bei-panel-main { max-width: 100%; overflow-x: auto; }
}
@media (max-width: 959px) {
  .bei-nav-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bei-principles, .bei-evidence-grid, .bei-evidence-grid-four, .bei-method-strip { grid-template-columns: 1fr 1fr; }
  .bei-section-head { grid-template-columns: 1fr; gap: 9px; }
}
@media (max-width: 600px) {
  .bei-wrap, .bei-home-main, .bei-breadcrumb { width: min(100% - 24px, 1240px); }
  .bei-brand-row, .bei-footer-inner { align-items: flex-start; flex-direction: column; gap: 6px; }
  .bei-nav-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bei-nav-link { min-height: 44px; padding: 6px 8px; font-size: 12px; }
  .bei-module-grid, .bei-intelligence-grid, .bei-principles, .bei-evidence-grid, .bei-evidence-grid-four, .bei-method-strip, .bei-monitor-meta { grid-template-columns: 1fr; }
  .bei-monitor-head { padding-top: 28px; }
  .bei-monitor-dek { font-size: 16px; }
  .bei-brief-grid { grid-template-columns: 1fr; }
}

@media print {
  .bei-skip, .bei-nav, .bei-legend-row, .bei-module-tools, .bei-environment { display: none !important; }
  .bei-masthead { border-top: 0; border-bottom: 1px solid #999; }
  .bei-brief { break-inside: avoid; }
  .bei-masthead, .bei-brief, .bei-chip { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Cross-check block (shared by the nine panels): an answer, then folds */
.bei-xp-goal { max-width: 760px; margin: 8px 0 0; color: #4a4945; font-size: 13px; line-height: 1.5; }
.bei-xp-answer { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--bei-line); border-left: 4px solid var(--bei-ink); background: var(--bei-wash); }
.bei-xp-so { margin: 0 0 12px; font: 700 16px/1.4 Georgia, serif; }
.bei-xp-reads { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.bei-xp-read { display: grid; gap: 3px; align-content: start; padding: 9px 11px; background: var(--bei-white); border: 1px solid var(--bei-line); border-top: 3px solid var(--bei-line-dark); font-size: 12px; line-height: 1.4; }
.bei-xp-read strong { font-size: 14px; }
.bei-xp-read-label { color: var(--bei-muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bei-xp-read-text { color: #4a4945; }
.bei-xp-read-good { border-top-color: #2f7d4f; } .bei-xp-read-warn { border-top-color: #b7791f; } .bei-xp-read-bad { border-top-color: #b23a3a; }
.bei-xp-folds { margin-top: 14px; border-top: 1px solid var(--bei-line); }
.bei-xp-fold { border-bottom: 1px solid var(--bei-line); }
.bei-xp-fold > summary { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 11px 2px; cursor: pointer; }
.bei-xp-fold > summary:focus-visible { outline: 3px solid var(--bei-focus); outline-offset: 2px; }
.bei-xp-fold-title { font: 800 14px/1.3 Inter, system-ui, sans-serif; }
.bei-xp-fold-sum { color: var(--bei-muted); font-size: 12px; }
.bei-xp-fold-body { padding: 4px 2px 16px; }
.bei-xp-scroll { overflow-x: auto; }
.bei-xp-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.bei-xp-table caption { position: absolute; left: -9999px; }
.bei-xp-table th, .bei-xp-table td { padding: 8px 9px; border-bottom: 1px solid var(--bei-line); text-align: left; vertical-align: top; }
.bei-xp-table thead th { background: #f0efeb; color: #4c4b47; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.bei-xp-table tbody th { min-width: 220px; font-weight: 650; background: transparent; color: var(--bei-ink); font-size: 12px; letter-spacing: 0; text-transform: none; }
.bei-xp-table small { display: block; margin-top: 2px; color: var(--bei-muted); font-size: 12px; font-weight: 400; line-height: 1.4; }
.bei-xp-num { white-space: nowrap; font-weight: 700; }
.bei-xp-pill, .bei-xp-chip { display: inline-block; padding: 1px 7px; border-radius: 3px; border: 1px solid var(--bei-line-dark); font-size: 12px; font-weight: 700; white-space: nowrap; }
.bei-xp-pill-0 { background: #e6edf5; border-color: #1f3a5f; color: #1f3a5f; } .bei-xp-pill-1 { background: #f8eedb; border-color: #b7791f; color: #7a4f0f; } .bei-xp-pill-x { color: var(--bei-muted); }
.bei-xp-chip-stable { border-color: #2f7d4f; color: #1f5b37; } .bei-xp-chip-weak { border-color: #b7791f; color: #7a4f0f; } .bei-xp-chip-none, .bei-xp-chip-untested, .bei-xp-chip-own { color: var(--bei-muted); }
.bei-xp-note { max-width: 860px; margin: 8px 0 0; color: var(--bei-muted); font-size: 12px; line-height: 1.5; }
.bei-xp-tension { max-width: 860px; margin: 0 0 10px; font-size: 12px; line-height: 1.5; color: #35342f; }
.bei-xp-verdict { display: grid; gap: 3px; max-width: 860px; margin: 4px 0 12px; padding: 10px 12px; border-left: 3px solid var(--bei-ink); background: var(--bei-wash); font-size: 13px; line-height: 1.45; }
.bei-xp-verdict span { color: #4a4945; font-size: 12px; }
.bei-xp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.bei-xp-col { padding: 10px 12px; border: 1px solid var(--bei-line); border-top: 3px solid var(--bei-ink); background: var(--bei-white); }
.bei-xp-col h4 { margin: 0 0 8px; font: 800 13px/1.3 Inter, system-ui, sans-serif; }
.bei-xp-col h4 small { display: block; margin-top: 2px; color: var(--bei-muted); font-size: 12px; font-weight: 600; }
.bei-xp-col ul { margin: 0; padding: 0; list-style: none; }
.bei-xp-col li { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--bei-line); }
.bei-xp-col li:first-child { border-top: 0; }
.bei-xp-row-top { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; }
.bei-xp-val { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bei-xp-sowhat { font-size: 12px; line-height: 1.4; color: #35342f; }
.bei-xp-meta { color: var(--bei-muted); font-size: 12px; }
.bei-xp-dir { display: inline-block; width: 1.1em; font-size: 12px; }
.bei-xp-route-word { margin: 0 0 6px; font-size: 12px; } .bei-xp-route-word span { color: var(--bei-muted); }
.bei-xp-status, .bei-xp-related { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; line-height: 1.5; }
.bei-xp-status li { padding: 6px 10px; border-left: 3px solid var(--bei-line-dark); background: var(--bei-wash); }
.bei-xp-status-agree { border-left-color: #2f7d4f !important; } .bei-xp-status-majority { border-left-color: #b7791f !important; } .bei-xp-status-split { border-left-color: #b23a3a !important; }
.bei-verdict-good { border-color: #2f7d4f; color: #1f5b37; } .bei-verdict-warn { border-color: #b7791f; color: #7a4f0f; } .bei-verdict-bad { border-color: #b23a3a; color: #8a2424; }
.bei-xp-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px 18px; margin-top: 14px; }
.bei-xp-fig { margin: 0; }
.bei-xp-fig figcaption { display: grid; gap: 1px; font-size: 12px; line-height: 1.3; }
.bei-xp-fig figcaption span { color: var(--bei-muted); font-size: 12px; }
.bei-xp-so { max-width: 940px; margin: 10px 0 0; font: 700 16px/1.4 Georgia, serif; }
.bei-q-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 14px; }
.bei-q { display: grid; gap: 8px; align-content: start; padding: 14px 16px; border: 1px solid var(--bei-line); border-top: 3px solid var(--bei-ink); background: var(--bei-white); }
.bei-q h3 { margin: 0; font: 700 17px/1.3 Georgia, serif; }
.bei-q p { margin: 0; font-size: 13px; line-height: 1.5; }
.bei-q-tag { color: var(--bei-muted); font-size: 12px !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bei-q-fact { color: #35342f; }
.bei-q-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.bei-q-change, .bei-q-where { color: #4a4945; font-size: 12px !important; }

/* Policy and releases watch, and official-numbers checks (members routes) */
.bei-wt-answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; margin-top: 10px; }
.bei-wt-answer { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--bei-line); border-top: 4px solid #b7791f; background: var(--bei-white); }
.bei-wt-answer strong { font: 700 20px/1.25 Georgia, serif; }
.bei-wt-answer p { margin: 0; font-size: 14px; line-height: 1.5; }
.bei-wt-answer small { color: var(--bei-muted); font-size: 12px; }
.bei-wt-answer-holds { border-top-color: #2f7d4f; }
.bei-wt-fig { margin: 0; }
.bei-wt-fig figcaption { display: grid; gap: 2px; margin-bottom: 6px; font-size: 14px; }
.bei-wt-fig figcaption span { color: var(--bei-muted); font-size: 12px; }
.bei-wt-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.bei-wt-table caption { position: absolute; left: -9999px; }
.bei-wt-table th, .bei-wt-table td { padding: 9px 10px; border-bottom: 1px solid var(--bei-line); text-align: left; vertical-align: top; }
.bei-wt-table thead th { background: #f0efeb; color: #4c4b47; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.bei-wt-table tbody th { min-width: 200px; font-weight: 650; }
.bei-wt-table small { display: block; margin-top: 3px; color: var(--bei-muted); font-size: 12px; font-weight: 400; line-height: 1.4; }
.bei-wt-read { min-width: 260px; line-height: 1.45; }
.bei-wt-id { display: inline-block; min-width: 2em; color: var(--bei-muted); font-weight: 700; }
.bei-wt-chip { display: inline-block; padding: 1px 8px; border: 1px solid var(--bei-line-dark); border-radius: 3px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.bei-wt-agrees { border-color: #2f7d4f; color: #1f5b37; } .bei-wt-gap { border-color: #b23a3a; color: #8a2424; } .bei-wt-open { border-color: #b7791f; color: #7a4f0f; }
.bei-wt-context { color: #35342f; } .bei-wt-notyet { color: var(--bei-muted); border-style: dashed; }
.bei-wt-note, .bei-wt-foot { max-width: 900px; margin: 10px 0 0; color: var(--bei-muted); font-size: 12px; line-height: 1.5; }
.bei-wt-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; margin-top: 10px; }
.bei-wt-event { display: grid; gap: 6px; align-content: start; padding: 12px 14px; border: 1px solid var(--bei-line); border-top: 3px solid var(--bei-ink); background: var(--bei-white); font-size: 13px; line-height: 1.5; }
.bei-wt-event h3 { margin: 0; font: 700 16px/1.3 Georgia, serif; }
.bei-wt-event p { margin: 0; }
.bei-wt-event-top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12px; }
.bei-wt-cat { color: var(--bei-muted); font-size: 12px; }
.bei-wt-src, .bei-wt-limit { color: #4a4945; font-size: 12px; }
.bei-wt-panels { display: flex; flex-wrap: wrap; gap: 6px; }
.bei-wt-panel { padding: 1px 7px; background: var(--bei-wash); border: 1px solid var(--bei-line); border-radius: 3px; font-size: 12px; }
.bei-wt-auth { padding: 0 6px; border: 1px solid var(--bei-line-dark); border-radius: 3px; font-size: 12px; color: var(--bei-muted); white-space: nowrap; }
.bei-wt-auth-secondary_press { border-style: dashed; }
.bei-wt-figs { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: 12px; }
.bei-wt-figs li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--bei-line); padding: 3px 0; }
.bei-wt-n { margin-left: 6px; color: var(--bei-muted); font-weight: 400; }
.bei-wt-candidate { border-top-color: #b7791f; border-style: dashed; }
.bei-wt-fig svg { max-width: 760px; }

/* Softer navigation: separate rounded tiles, a gentle tint from each panel's own colour, a round number badge */
.bei-nav { border-top: 0; padding: 10px 0 4px; }
.bei-nav-inner { gap: 8px; border-left: 0; }
.bei-nav-link { gap: 10px; min-height: 52px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--accent, #29323a) 16%, #ffffff); border-radius: 12px;
  background: color-mix(in srgb, var(--accent, #29323a) 5%, #ffffff); color: #2f3a45; font-weight: 600; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.bei-nav-link:hover { background: color-mix(in srgb, var(--accent, #29323a) 12%, #ffffff); border-color: color-mix(in srgb, var(--accent, #29323a) 35%, #ffffff); color: var(--bei-ink); }
.bei-nav-link[aria-current="page"] { background: color-mix(in srgb, var(--accent, #29323a) 16%, #ffffff); border: 1px solid color-mix(in srgb, var(--accent, #29323a) 55%, #ffffff); border-top-width: 1px;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent, #29323a) 22%, transparent); color: var(--bei-ink); font-weight: 800; }
.bei-nav-no { min-width: 26px; padding: 3px 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--accent, #29323a) 14%, #ffffff); color: color-mix(in srgb, var(--accent, #29323a) 85%, #000000); font-size: 12px; }
.bei-nav-link[aria-current="page"] .bei-nav-no { background: var(--accent, #29323a); color: #ffffff; }
@media (prefers-reduced-motion: reduce) { .bei-nav-link { transition: none; } }

/* Pill navigation (final): compact pills that wrap on wide screens and become one swipeable rail on phones, as on news and data sites */
.bei-nav { padding: 10px 0 6px; border-top: 0; }
.bei-nav-inner { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
.bei-nav-link { flex: 0 0 auto; min-height: 38px; padding: 4px 14px 4px 5px; gap: 8px; border: 1px solid var(--bei-line); border-radius: 999px; background: #ffffff; color: #2f3a45;
  font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; box-shadow: none; }
.bei-nav-link:not(:has(.bei-nav-no)) { padding-left: 14px; }
.bei-nav-link:hover { background: color-mix(in srgb, var(--accent, #29323a) 8%, #ffffff); border-color: color-mix(in srgb, var(--accent, #29323a) 40%, #ffffff); }
.bei-nav-label { overflow-wrap: normal; }
.bei-nav-no { min-width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 12px; background: color-mix(in srgb, var(--accent, #29323a) 12%, #ffffff); }
.bei-nav-link[aria-current="page"] { background: var(--accent, #29323a); border-color: var(--accent, #29323a); color: #ffffff; font-weight: 800; box-shadow: 0 2px 8px color-mix(in srgb, var(--accent, #29323a) 30%, transparent); }
.bei-nav-link[aria-current="page"] .bei-nav-no { background: rgba(255, 255, 255, .22); color: #ffffff; }
@media (max-width: 720px) {
  .bei-nav { padding: 8px 0 4px; }
  .bei-nav-inner { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 12px 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%); }
  .bei-nav-inner::-webkit-scrollbar { display: none; }
  .bei-nav-link { scroll-snap-align: center; min-height: 40px; }
}
/* Crisper pills: a slightly darker outline on every tab, and an accent bar under the current one */
.bei-nav-link { border-color: #b8b4a8; }
.bei-nav-link:hover { border-color: color-mix(in srgb, var(--accent, #29323a) 55%, #ffffff); }
.bei-nav-link[aria-current="page"] { position: relative; box-shadow: 0 3px 0 -0px color-mix(in srgb, var(--accent, #29323a) 70%, #000000), 0 5px 10px color-mix(in srgb, var(--accent, #29323a) 22%, transparent); margin-bottom: 4px; }

/* Grouped navigation: seven items in the top row; each group opens a short menu of panels (hover, focus or tap) */
.bei-nav { padding: 10px 0 8px; }
.bei-nav-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; position: relative; overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 0; scroll-snap-type: none; }
.bei-nav-inner > .bei-nav-link, .bei-nav-btn { min-height: 42px; padding: 6px 16px; border: 1px solid #b8b4a8; border-radius: 999px; background: #ffffff; color: #2f3a45; font-weight: 700; font-size: 14px; line-height: 1.2; font-family: inherit; cursor: pointer; }
.bei-nav-inner > .bei-nav-link:not(:has(.bei-nav-no)) { padding-left: 16px; }
.bei-nav-inner > .bei-nav-link:has(.bei-nav-no) { padding-left: 8px; }
.bei-nav-btn { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; }
.bei-nav-btn:hover, .bei-nav-group:focus-within .bei-nav-btn, .bei-nav-group.open .bei-nav-btn { background: #eef3f8; border-color: #6d86a4; }
.bei-nav-group[data-current="true"] .bei-nav-btn { background: #1f3a5f; border-color: #1f3a5f; color: #ffffff; box-shadow: 0 2px 8px rgba(31, 58, 95, .28); }
.bei-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.bei-nav-group { position: relative; }
.bei-nav-menu { display: none; position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; min-width: 270px; padding: 8px; border: 1px solid #b8b4a8; border-radius: 14px; background: #ffffff; box-shadow: 0 14px 34px rgba(20, 30, 45, .18); }
.bei-nav-group:hover > .bei-nav-menu, .bei-nav-group:focus-within > .bei-nav-menu, .bei-nav-group.open > .bei-nav-menu { display: grid; gap: 4px; }
.bei-nav-menu .bei-nav-link { min-height: 40px; padding: 4px 12px 4px 6px; border: 1px solid transparent; border-radius: 10px; background: transparent; font-size: 14px; }
.bei-nav-menu .bei-nav-link:hover { background: color-mix(in srgb, var(--accent, #29323a) 10%, #ffffff); border-color: color-mix(in srgb, var(--accent, #29323a) 35%, #ffffff); }
.bei-nav-menu .bei-nav-link[aria-current="page"] { margin-bottom: 0; box-shadow: none; }
@media (max-width: 720px) {
  .bei-nav-inner { flex-wrap: wrap; overflow: visible; padding: 0 12px; gap: 6px; }
  .bei-nav-inner > .bei-nav-link, .bei-nav-btn { min-height: 40px; padding: 5px 12px; font-size: 13px; }
  .bei-nav-group { position: static; }
  .bei-nav-menu { left: 12px; right: 12px; min-width: 0; top: calc(100% + 4px); }
}

/* Overview: plain status labels, evidence tags, freshness summary, about strip, and a short four-square intro */
.bei-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.bei-pill-live { background: #e4f1e8; color: #1f5b37; border: 1px solid #9ccaa9; }
.bei-pill-wip { background: #f6efe0; color: #7a4f0f; border: 1px solid #dcc58f; }
.bei-card-top { margin-bottom: 8px; }
.bei-card-q { margin: 6px 0 4px; font: 700 15px/1.35 Georgia, serif; color: var(--bei-ink); }
.bei-card-about { margin: 0 0 10px; color: #4a4945; font-size: 14px; line-height: 1.5; }
.bei-module-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.bei-tag { padding: 1px 8px; border: 1px solid var(--bei-line-dark); border-radius: 999px; font-size: 12px; font-weight: 700; color: #35342f; }
.bei-module-card.planned { opacity: .92; border-top-color: #c9b98f; }
.bei-fresh-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 8px; }
.bei-fresh-card { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--bei-line); border-radius: 12px; background: #ffffff; }
.bei-fresh-card strong { font: 700 24px/1.1 Georgia, serif; }
.bei-fresh-card span { color: #4a4945; font-size: 14px; line-height: 1.45; }
.bei-about { border-top: 2px solid var(--bei-ink); margin-top: 8px; }
.bei-about-grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 24px; font-size: 15px; line-height: 1.6; color: #35342f; }
.bei-about-grid p { margin: 0; }
.bei-about-contact a { color: #1f3a5f; font-weight: 700; }
@media (max-width: 900px) { .bei-about-grid { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 720px) {
  .bei-nav-inner > .bei-nav-link, .bei-nav-group { flex: 1 1 calc(50% - 6px); }
  .bei-nav-inner > .bei-nav-link:last-child { flex-basis: 100%; }
  .bei-nav-btn { width: 100%; justify-content: space-between; }
  .bei-nav-inner > .bei-nav-link { justify-content: center; }
}
@media (max-width: 720px) {
  .bei-nav-inner > .bei-nav-link { white-space: normal; min-width: 0; padding-left: 8px; padding-right: 8px; line-height: 1.15; }
  .bei-nav-inner > .bei-nav-link .bei-nav-no { flex: none; }
}

/* Overview refinements: calmer headline, freshness board, about logo */
.bei-monitor-head h1 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.12; letter-spacing: -.01em; }
.bei-monitor-dek { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 62ch; }
.bei-about-logo { display: inline-block; margin-top: 10px; }
.bei-about-logo img { display: block; width: 190px; height: auto; }
.bei-fb-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; align-items: baseline; margin: 6px 0 12px; font-size: 16px; line-height: 1.4; }
.bei-fb-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #4a4945; }
.bei-fb-key span { display: inline-flex; align-items: center; gap: 6px; }
.bei-fb-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: #2f7d4f; }
.bei-fb-key i.watch { background: #d19a2e; } .bei-fb-key i.late { background: #b23a3a; }
.bei-fb-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.bei-fb-list li { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(110px, .8fr) minmax(90px, 1fr) 116px; gap: 6px 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--bei-line); }
.bei-fb-name b, .bei-fb-when b { display: block; font-size: 14px; line-height: 1.3; }
.bei-fb-name small, .bei-fb-when small { display: block; color: var(--bei-muted); font-size: 12px; line-height: 1.35; }
.bei-fb-bar { height: 8px; border-radius: 999px; background: #ece9df; overflow: hidden; }
.bei-fb-bar i { display: block; height: 100%; border-radius: 999px; background: #2f7d4f; }
.bei-fb-watch .bei-fb-bar i { background: #d19a2e; } .bei-fb-late .bei-fb-bar i { background: #b23a3a; }
.bei-fb-state { font-size: 12px; font-weight: 800; color: #2f7d4f; white-space: nowrap; }
.bei-fb-watch .bei-fb-state { color: #8a5a18; } .bei-fb-late .bei-fb-state { color: #8a2424; }
.bei-fb-note { margin: 12px 0 0; max-width: 860px; color: var(--bei-muted); font-size: 12px; line-height: 1.5; }
@media (max-width: 900px) { .bei-fb-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bei-fb-list li { grid-template-columns: minmax(0, 1fr) auto; } .bei-fb-bar { grid-column: 1 / -1; order: 5; } .bei-fb-state { justify-self: end; } }

/* Grouped navigation: coloured group tabs with square-ish corners instead of ovals */
.bei-nav-inner > .bei-nav-link, .bei-nav-btn { border-radius: 9px; }
.bei-nav-inner > .bei-nav-group:nth-child(3) { --grp: #1f3a5f; }
.bei-nav-inner > .bei-nav-group:nth-child(4) { --grp: #0e7490; }
.bei-nav-inner > .bei-nav-group:nth-child(5) { --grp: #8a5a18; }
.bei-nav-inner > .bei-nav-group:nth-child(6) { --grp: #6b3fa0; }
.bei-nav-btn { background: var(--grp, #1f3a5f); border-color: var(--grp, #1f3a5f); color: #ffffff; }
.bei-nav-btn:hover, .bei-nav-group:focus-within .bei-nav-btn, .bei-nav-group.open .bei-nav-btn { background: color-mix(in srgb, var(--grp, #1f3a5f) 82%, #000000); border-color: color-mix(in srgb, var(--grp, #1f3a5f) 82%, #000000); }
.bei-nav-group[data-current="true"] .bei-nav-btn { background: var(--grp, #1f3a5f); border-color: var(--grp, #1f3a5f); box-shadow: 0 4px 0 -1px color-mix(in srgb, var(--grp, #1f3a5f) 55%, #000000), 0 6px 12px color-mix(in srgb, var(--grp, #1f3a5f) 28%, transparent); margin-bottom: 4px; }
.bei-nav-menu { border-radius: 12px; border-top: 4px solid var(--grp, #1f3a5f); }
.bei-nav-menu .bei-nav-link { border-radius: 8px; }

/* Overview lanes: a question and direct links to the panels involved */
.bei-intelligence-lane p.bei-lane-q { color: #1b2430; font-size: 14px; line-height: 1.45; }
.bei-lane-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--bei-line); }
.bei-lane-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid #b8b4a8; border-radius: 8px; background: #ffffff; color: #1f3a5f; font-size: 13px; font-weight: 700; text-decoration: none; }
.bei-lane-chips a b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 6px; background: #e9eef5; font-size: 12px; }
.bei-lane-chips a:hover { background: #eef3f8; border-color: #1f3a5f; }

/* Navigation fixes: no hover gap, visible current item, current panel named on its group tab */
.bei-nav-menu { top: 100%; margin-top: 0; }
.bei-nav-group:hover > .bei-nav-menu::before, .bei-nav-group.open > .bei-nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.bei-nav-menu { margin-top: 6px; }
.bei-nav-menu .bei-nav-link { min-height: 46px; }
.bei-nav-menu .bei-nav-link[aria-current="page"] { background: color-mix(in srgb, var(--accent, #29323a) 14%, #ffffff); border-color: color-mix(in srgb, var(--accent, #29323a) 55%, #ffffff); color: #1b2430; }
.bei-nav-menu .bei-nav-link[aria-current="page"] .bei-nav-no { background: var(--accent, #29323a); color: #ffffff; }
.bei-nav-btn-now { display: block; font-size: 12px; font-weight: 600; opacity: .92; margin-top: 2px; white-space: nowrap; }
.bei-nav-btn-text { display: grid; text-align: left; }

.bei-lane-find { margin: 10px 0 0; padding: 8px 10px; border-left: 3px solid #0e7490; background: #f1f7f9; color: #1b2430; font-size: 13px; line-height: 1.45; }
.bei-lane-find a { color: #1f3a5f; font-weight: 700; }

/* Policy and releases watch: since-last-month strip, calendar exceptions, register timeline, institution documents */
.bei-wt-checked { margin: 8px 0 14px; color: var(--bei-muted); font-size: 14px; }
.bei-wt-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--bei-line-dark); border-top: 3px solid var(--bei-ink); background: #ffffff; margin: 0 0 18px; }
.bei-wt-strip > div { padding: 14px 16px; border-right: 1px solid var(--bei-line); }
.bei-wt-strip > div:last-child { border-right: 0; }
.bei-wt-strip-h { margin: 0 0 8px; font: 800 13px/1.2 inherit; letter-spacing: .06em; text-transform: uppercase; color: var(--bei-muted); }
.bei-wt-strip ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.4; }
.bei-wt-strip li span { display: inline-block; min-width: 76px; color: var(--bei-muted); font-size: 13px; font-weight: 700; }
.bei-wt-strip a { color: #1f3a5f; font-size: 13px; font-weight: 800; }
@media (max-width: 760px) { .bei-wt-strip { grid-template-columns: 1fr; } .bei-wt-strip > div { border-right: 0; border-bottom: 1px solid var(--bei-line); } }
.bei-wt-sub { margin: 18px 0 6px; font: 700 18px/1.2 Georgia, serif; }
.bei-wt-list { list-style: none; margin: 0 0 8px; padding: 0; }
.bei-wt-list li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) auto; gap: 4px 14px; padding: 10px 0; border-top: 1px solid var(--bei-line); align-items: baseline; font-size: 14px; }
.bei-wt-list li span { color: var(--bei-muted); font-size: 13px; }
.bei-wt-list li em { font-style: normal; font-weight: 700; font-size: 13px; color: #8a2424; white-space: nowrap; }
@media (max-width: 760px) { .bei-wt-list li { grid-template-columns: 1fr; } }
.bei-wt-areas { margin: 8px 0 4px; color: #4a4945; font-size: 14px; line-height: 1.6; }
.bei-wt-year { margin: 22px 0 6px; font: 700 20px/1.2 Georgia, serif; border-bottom: 2px solid var(--bei-ink); padding-bottom: 4px; }
.bei-wt-timeline { list-style: none; margin: 0; padding: 0; }
.bei-wt-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid var(--bei-line); }
.bei-wt-when { font-weight: 800; font-size: 14px; color: var(--bei-ink); }
.bei-wt-main h3 { margin: 4px 0 6px; font: 700 17px/1.3 Georgia, serif; }
.bei-wt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.bei-wt-more > summary { cursor: pointer; color: #1f3a5f; font-size: 13px; font-weight: 800; }
.bei-wt-more > div { padding: 8px 0 0; font-size: 14px; line-height: 1.5; }
.bei-wt-links { margin: 6px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.bei-wt-panel { display: inline-block; padding: 1px 8px; border: 1px solid var(--bei-line-dark); border-radius: 999px; font-size: 12px; font-weight: 700; color: #1f3a5f; text-decoration: none; }
@media (max-width: 640px) { .bei-wt-row { grid-template-columns: 1fr; } }
.bei-wt-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 10px; }
.bei-wt-doc { padding: 14px 16px; border: 1px solid var(--bei-line); border-top: 3px solid #0e7490; background: #ffffff; }
.bei-wt-doc h3 { margin: 6px 0 10px; font: 700 16px/1.3 Georgia, serif; }
.bei-wt-doc h3 a { color: inherit; }
.bei-wt-item { padding: 10px 0; border-top: 1px solid var(--bei-line); }
.bei-wt-item h4 { margin: 0 0 4px; font-size: 14px; }
.bei-wt-item p { margin: 0 0 6px; font-size: 14px; line-height: 1.5; }
.bei-wt-figs b { white-space: nowrap; }
.bei-wt-figs li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }

.bei-wt-attention { margin: 0 0 16px; padding: 14px 16px; border: 1px solid #dcc58f; border-left: 4px solid #b7791f; background: #fbf5e6; }
.bei-wt-attention h2 { margin: 0 0 8px; font: 700 18px/1.2 Georgia, serif; }
.bei-wt-attention ul { margin: 0 0 8px; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.bei-wt-attention li span { display: block; color: #4a4945; font-size: 13px; }
.bei-wt-attention .bei-wt-p1 { font-weight: 600; }
.bei-wt-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.bei-wt-fbtn { padding: 5px 12px; border: 1px solid #b8b4a8; border-radius: 8px; background: #ffffff; color: #2f3a45; font: 700 13px/1.2 inherit; cursor: pointer; }
.bei-wt-fbtn.on { background: #1f3a5f; border-color: #1f3a5f; color: #ffffff; }
.bei-wt-fbtn:hover:not(.on) { background: #eef3f8; }
.bei-wt-compare td b { font-size: 16px; white-space: nowrap; }
.bei-wt-compare td small { display: block; color: var(--bei-muted); font-size: 12px; }
.bei-wt-fbtn.on .bei-wt-n { color: #ffffff; opacity: .85; }
/* Page title over intro text on every panel: 30px title (26px on phones) over 16px intro (owner scale, 12 Nov 2026; was 28 over 15). The Overview keeps its own larger title. */
.bei-panel-main .hero > h1, .bei-panel-main .hero h1:first-of-type { font-size: 30px; line-height: 1.2; letter-spacing: -.005em; max-width: 46ch; }
.bei-panel-main .hero .dek { font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.55; max-width: 68ch; }
@media (max-width: 600px) { .bei-panel-main .hero > h1, .bei-panel-main .hero h1:first-of-type { font-size: 26px; } }

/* Watch page: daily news reading (Mangrove's Bangladesh Economic Stress Index) */
.bei-wt-stress-verdict { font-size: 15px; line-height: 1.5; margin: 4px 0 10px; padding: 10px 14px; border-left: 4px solid var(--bei-ink); background: #ffffff; }
.bei-wt-stress-verdict b { font-size: 20px; font-family: Georgia, "Times New Roman", serif; }
.bei-wt-stress-chart { display: block; width: 100%; max-width: 760px; height: auto; }
.bei-wt-stress-key { font-size: 12px; color: var(--bei-muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 4px 0 10px; }
.bei-wt-stress-key span { display: inline-block; width: 12px; height: 12px; margin-left: 8px; }
.bei-wt-k-g { background: #dcefe9; } .bei-wt-k-a { background: #f6ecd4; } .bei-wt-k-r { background: #f6dcd9; }

/* Watch page, owner review (25 Oct 2026): four answer tiles, the register in year tabs with month strips, a two-column
   release calendar, report cards without gaps, a two-column news reading, the internal team desk and a closing blue band. */
.bei-wt-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 4px 0 14px; border: 1px solid var(--bei-line-dark); border-top: 3px solid var(--bei-blue); background: #ffffff; }
.bei-wt-tile { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 16px 16px; border-right: 1px solid var(--bei-line); }
.bei-wt-tile:last-child { border-right: 0; }
.bei-panel-main .bei-wt-tiles h2.bei-wt-tile-h { margin: 0; font: 800 12px/1.2 Inter, "Segoe UI", Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--bei-blue); }
.bei-wt-tile-v { font: 700 26px/1.1 Georgia, "Times New Roman", serif; color: var(--bei-ink); }
.bei-wt-tile p { flex: 1; margin: 0; color: #33322e; font-size: 14px; line-height: 1.45; }
.bei-wt-tile a { color: #1f3a5f; font-size: 13px; font-weight: 800; }
@media (max-width: 1000px) { .bei-wt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bei-wt-tile:nth-child(2) { border-right: 0; } .bei-wt-tile:nth-child(-n+2) { border-bottom: 1px solid var(--bei-line); } }
@media (max-width: 600px) { .bei-wt-tiles { grid-template-columns: 1fr; } .bei-wt-tile { border-right: 0; border-bottom: 1px solid var(--bei-line); } .bei-wt-tile:last-child { border-bottom: 0; } .bei-wt-tile-v { font-size: 22px; } }
.bei-wt-internal { margin: 0 0 14px; padding: 8px 12px; border-left: 4px solid #b7791f; background: #fbf5e6; font-size: 13px; }
.bei-wt-internal a { color: #1f3a5f; font-weight: 800; }
.bei-wt-regbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 6px 0 2px; padding-bottom: 12px; border-bottom: 2px solid var(--bei-ink); }
.bei-wt-regbar[hidden], .bei-wt-row[hidden], .bei-wt-ypanel[hidden] { display: none; }
.bei-wt-ytabs { display: flex; flex-wrap: wrap; gap: 6px; }
.bei-wt-ytab { padding: 6px 14px; border: 1px solid #b8b4a8; border-radius: 999px; background: #ffffff; color: #2f3a45; font: 700 15px/1.2 Inter, "Segoe UI", Arial, sans-serif; cursor: pointer; }
.bei-wt-ytab.on { border-color: #1f3a5f; background: #1f3a5f; color: #ffffff; }
.bei-wt-ytab:hover:not(.on):not(:disabled) { background: #eef3f8; }
.bei-wt-ytab:disabled { opacity: .4; cursor: default; }
.bei-wt-ytab .bei-wt-n { margin-left: 4px; font-size: 12px; font-weight: 400; }
.bei-wt-ytab.on .bei-wt-n { color: #ffffff; opacity: .85; }
.bei-wt-area { display: inline-flex; align-items: center; gap: 8px; color: var(--bei-muted); font-size: 13px; font-weight: 700; }
.bei-wt-asel { max-width: 100%; padding: 6px 10px; border: 1px solid #b8b4a8; border-radius: 6px; background: #ffffff; color: #2f3a45; font: 600 14px/1.2 Inter, "Segoe UI", Arial, sans-serif; }
@media (max-width: 600px) { .bei-wt-area, .bei-wt-asel { width: 100%; } }
.bei-wt-tabbed .bei-wt-year { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bei-wt-why { max-width: 900px; margin: 0 0 8px; color: #4a4945; font-size: 14px; line-height: 1.5; }
.bei-wt-queue td small { display: block; margin-top: 3px; color: var(--bei-muted); font-size: 12px; }
.bei-wt-ysum { margin: 12px 0 4px; color: #33322e; font-size: 14px; }
.bei-wt-row { grid-template-columns: 96px minmax(0, 1fr); gap: 2px 16px; padding: 10px 0; }
.bei-wt-when { padding-top: 2px; font-size: 13px; }
.bei-wt-main h3 { margin: 0 0 4px; }
.bei-wt-chips { align-items: center; margin-bottom: 4px; }
.bei-wt-chips .bei-wt-cat { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; }
.bei-wt-none { margin: 14px 0; color: var(--bei-muted); font-size: 14px; }
.bei-wt-cal { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px 28px; align-items: start; }
.bei-wt-next { margin: 0; padding: 0; list-style: none; }
.bei-wt-next li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--bei-line); }
.bei-wt-dd { display: grid; justify-items: center; padding: 3px 0 4px; border: 1px solid var(--bei-line-dark); border-top: 4px solid var(--bei-blue); border-radius: 3px; color: var(--bei-muted); font-size: 12px; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; }
.bei-wt-dd b { color: var(--bei-ink); font: 700 18px/1.1 Georgia, "Times New Roman", serif; letter-spacing: 0; text-transform: none; }
.bei-wt-next p { margin: 0; font-size: 14px; line-height: 1.45; }
.bei-wt-next p + p { margin-top: 2px; }
.bei-wt-next p a { color: var(--bei-ink); font-weight: 700; }
.bei-wt-next p span { color: var(--bei-muted); font-size: 13px; }
.bei-wt-late { padding: 2px 16px 12px; border: 1px solid #dcc58f; border-top: 4px solid #b7791f; background: #fbf5e6; }
.bei-wt-late ul { margin: 0; padding: 0; list-style: none; }
.bei-wt-late li { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid #e8d9b0; font-size: 14px; }
.bei-panel-main .bei-wt-late li h4 { margin: 0; font: 700 14px/1.35 Inter, "Segoe UI", Arial, sans-serif; }
.bei-wt-late li span { color: #4a4945; font-size: 13px; }
.bei-wt-late li em { color: #7a4f0f; font-size: 12px; font-style: normal; font-weight: 700; }
.bei-wt-late-none p { font-size: 14px; }
@media (max-width: 760px) { .bei-wt-cal { grid-template-columns: 1fr; } .bei-wt-row { grid-template-columns: 1fr; } }
.bei-wt-docs { display: block; columns: 3 300px; column-gap: 14px; }
.bei-wt-doc { display: block; margin: 0 0 14px; break-inside: avoid; }
.bei-wt-doc-wait { border-top: 3px dashed #9d9a92; background: #fbfbf9; }
.bei-wt-doc-wait p { margin: 0; color: #4a4945; font-size: 14px; line-height: 1.5; }
.bei-wt-stress-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 28px; align-items: start; }
.bei-wt-stress-month { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.bei-wt-stress-live { margin: 0 0 10px; color: var(--bei-muted); font-size: 13px; line-height: 1.5; }
.bei-wt-btn { display: inline-block; margin-top: 8px; padding: 7px 14px; border-radius: 4px; background: var(--bei-blue); color: #ffffff; font-size: 13px; font-weight: 700; text-decoration: none; }
.bei-wt-btn:hover { background: #174a6c; }
.bei-wt-stress-live .bei-wt-btn { display: table; }
@media (max-width: 860px) { .bei-wt-stress-grid { grid-template-columns: 1fr; } }
.bei-wt-desk { margin-top: 22px; padding: 4px 18px 16px; border: 1px dashed #c9a24a; background: #fffcf4; }
.bei-wt-jobs { margin: 0 0 8px; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.bei-wt-jobs li span { display: block; color: #4a4945; font-size: 13px; }
.bei-wt-queue td { font-size: 13px; line-height: 1.45; }
.bei-wt-footer a { color: #ffffff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.bei-wt-footer a:hover { border-bottom-color: #ffffff; }
.bei-wt-footer a:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.bei-wt-footer .bei-ov-footer-brand p { max-width: 64ch; }

/* One type scale on every page (owner, 12 Nov 2026, docs/STYLE_GUIDE.md; applied to every panel and the Watch on 20 Nov 2026:
   "symmetry ... from large to small titles including figures, tables, footnote, section headings").
   Page title 30 (26 on phones) · section title 22 (20) · chart and block title 17 · body, intros, verdicts 16 ·
   captions, notes, "+ More" text, tables 14 · legends, labels, kickers 13 · axis numbers, evidence labels, buttons 12 (the minimum).
   This sheet loads after every panel's own styles, so the scale below wins over older per-panel sizes of equal weight. */
.bei-panel-main { --fs-h1: 1.875rem; --fs-h2: 1.375rem; --fs-h3: 1.125rem; --fs-chart: 1.0625rem; --fs-body: 1rem; --fs-note: .875rem; --fs-label: .8125rem; --fs-min: .75rem; }
.bei-panel-main h1 { font-size: 30px; line-height: 1.15; }
.bei-panel-main h2:not(.hero-brief h2):not(.bei-wt-tile-h) { font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.2; letter-spacing: 0; }
.bei-panel-main .hero-brief h2 { font-size: 17px; line-height: 1.25; }
.bei-panel-main h3:not(.bei-brief h3):not(.bei-ctx-block h3) { font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.25; letter-spacing: 0; }
.bei-panel-main .bei-ctx-block h3, .bei-panel-main .bei-brief h3 { font-size: 13px; }
.bei-panel-main h4 { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.3; }
.bei-panel-main .section-heading > p, .bei-panel-main .section-head > p, .bei-panel-main .sub-lede, .bei-panel-main p.section-note,
.bei-panel-main .meaning, .bei-panel-main .sub-intro, .bei-panel-main .hero-brief li { font-size: 16px; line-height: 1.55; }
.bei-panel-main .reading-text, .bei-panel-main .release-watch-row p, .bei-panel-main .measurement-bridge p, .bei-panel-main .historical-active-use p,
.bei-panel-main .enterprise-gate-main p, .bei-panel-main .enterprise-gate-main span, .bei-panel-main .interpretation-boundary li,
.bei-panel-main .transmission-summary-card p, .bei-panel-main .transmission-summary-card > span, .bei-panel-main .gate-row small,
.bei-panel-main .live-headline-grid small, .bei-panel-main .takeaway-status, .bei-panel-main .diagnostic-status,
.bei-panel-main .transmission-card p, .bei-panel-main .takeaway-text, .bei-panel-main .table-status, .bei-panel-main .analysis-note,
.bei-panel-main .research-item p, .bei-panel-main figcaption, .bei-panel-main .chart-note, .bei-panel-main .chart-foot { font-size: 14px; line-height: 1.5; }
.bei-panel-main details:not(.disclosure-major) > summary { font-size: 14px; }
.bei-panel-main details.disclosure-major > summary { font-size: 16px; }
.bei-panel-main table td { font-size: 14px; }
.bei-panel-main table th { font-size: 13px; }
.bei-panel-main .kicker, .bei-panel-main .bei-brief-kicker, .bei-panel-main .bei-kicker { font-size: 13px; }
.bei-panel-main .bei-export-button, .bei-panel-main .bei-share-button, .bei-panel-main .bei-tool-link, .bei-panel-main .evidence { font-size: 12px; }
.bei-panel-main small { font-size: max(12px, .85em); } /* the browser default "smaller" fell to 10.8px inside 13px text */
.bei-panel-main button, .bei-panel-main select, .bei-panel-main input, .bei-home button, .bei-home select, .bei-home input { font-family: inherit; }
.bei-home .bei-home-hero h1 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.12; letter-spacing: -.01em; }
@media (max-width: 600px) {
  .bei-panel-main h1 { font-size: 26px; }
  .bei-panel-main h2:not(.hero-brief h2):not(.bei-wt-tile-h) { font-size: 20px; }
  .bei-panel-main h3:not(.bei-brief h3):not(.bei-ctx-block h3) { font-size: 16px; }
}

/* Overview only (owner review, 25 Oct 2026): BEI blue as the second colour beside ink, so red is kept for "worse" in the tiles;
   a closing blue band. Scoped to body.bei-overview; Data & methods shares .bei-home and is unchanged. */
.bei-overview .bei-kicker, .bei-overview .bei-cu-label { color: var(--bei-blue); }
.bei-overview .bei-monitor-meta { border-top-color: var(--bei-blue); }
.bei-overview .bei-monitor-meta strong { font-size: 13px; }
.bei-overview .bei-tile-label { color: var(--bei-blue); }
.bei-overview .bei-ask { border-top: 3px solid var(--bei-blue); background: linear-gradient(180deg, #f6f9fb 0, #ffffff 64px); }
.bei-overview .bei-fc-wrap { border-top-color: var(--bei-blue); }
.bei-overview .bei-fc-table thead th { background: var(--bei-blue-soft); color: var(--bei-blue); font-size: 12px; }
.bei-overview .bei-fc-table tr.bei-fc-group th { padding: 7px 10px 5px; background: #f7f7f4; color: var(--bei-muted); font: 800 12px/1.3 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.bei-overview .bei-fc-none { color: var(--bei-muted); font-size: 15px; font-weight: 600; }
.bei-overview .bei-fc-tag { display: block; width: max-content; margin-top: 5px; padding: 2px 7px; border: 1px solid #b9c9d6; border-radius: 4px; background: var(--bei-blue-soft); color: var(--bei-blue); font: 700 12px/1.35 system-ui, sans-serif; }
.bei-overview .bei-module-card.live { border-top-color: var(--bei-blue); }
.bei-overview .bei-intelligence-grid { border-top-color: var(--bei-blue); }
.bei-overview .bei-lane-no { color: var(--bei-blue); font-size: 12px; letter-spacing: .04em; }
.bei-overview .bei-intelligence-lane { display: flex; flex-direction: column; }
.bei-overview .bei-intelligence-lane h3 { font-size: 21px; }
.bei-overview .bei-lane-find { border-left-color: var(--bei-blue); background: var(--bei-blue-soft); font-size: 14px; }
.bei-overview .bei-lane-more { margin-top: 8px; font-size: 13px; }
.bei-overview .bei-lane-more summary { color: var(--bei-blue); font-weight: 700; cursor: pointer; }
.bei-overview .bei-lane-more summary:focus-visible { outline: 3px solid var(--bei-focus); outline-offset: 2px; }
.bei-overview .bei-lane-more p { margin: 6px 0 0; color: #4a4945; font-size: 13px; }
.bei-overview .bei-lane-chips { margin-top: auto; padding-top: 12px; }
.bei-overview .bei-intelligence-lane > h3 + * { margin-top: 10px; }
.bei-overview .bei-lane-used { flex-basis: 100%; color: var(--bei-muted); font-size: 12px; font-weight: 700; }
.bei-overview .bei-about { border-top-color: var(--bei-blue); }
.bei-ov-footer { margin-top: 36px; border-top: 0; background: var(--bei-blue); color: #ffffff; }
.bei-ov-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; padding: 28px 0 22px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.bei-ov-footer-name { display: flex; align-items: center; font: 700 22px/1.2 Georgia, "Times New Roman", serif; }
.bei-ov-footer-name .bei-stripemark { padding: 3px 4px; border-radius: 3px; background: #ffffff; }
.bei-ov-footer-brand p { margin: 8px 0 0; color: #dce8f1; font-size: 14px; line-height: 1.5; }
.bei-ov-footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 22px; font-size: 14px; }
.bei-overview .bei-ov-footer a { color: #ffffff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.bei-overview .bei-ov-footer a:hover { border-bottom-color: #ffffff; }
.bei-overview .bei-ov-footer a:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.bei-ov-footer .bei-footer-inner { color: #dce8f1; font-size: 12px; }
@media (max-width: 600px) { .bei-ov-footer-name { font-size: 19px; } .bei-ov-footer .bei-footer-inner { flex-direction: column; gap: 6px; } }

/* Panel pages with the BEI-blue footer band (Prices & inflation, owner review 26 Oct 2026) */
.bei-panel-footer a { color: #ffffff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.bei-panel-footer a:hover { border-bottom-color: #ffffff; }
.bei-panel-footer a:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.bei-panel-footer .bei-footer-inner { color: #dce8f1; font-size: 12px; }

/* Owner review, 29 Oct 2026 ------------------------------------------------------------------------------------------ */
/* A clear boundary between one concept and the next, on every panel: each top-level section opens with a heavy rule. */
.bei-panel-main > section.section + section.section:not(.intl-section) { border-top: 3px solid #18212b; padding-top: 26px; margin-top: 30px; }
.bei-panel-main > .bei-context { margin-top: 34px; padding: 26px 22px 24px; border-top: 4px solid var(--bei-blue); background: #eef2f6; }
/* "Keep in mind" fold: a card inside the page column, lined up with the other folds. */
.bei-brief.bei-brief-compact { margin: 22px 0 10px; padding: 0 16px; border: 1px solid var(--bei-line); background: var(--bei-white); }
.bei-brief-compact .bei-brief-more { margin-top: 0; border-top: 0; }
/* Owner (29 Oct 2026): every panel's hero title and introduction use the full width, as on the Energy panel. */
.bei-panel-main .hero h1, .bei-panel-main .hero #page-title, .bei-panel-main .hero .dek { max-width: none !important; }

/* Lookout wordmark (owner, 9 Nov 2026): "Look" in the brand blue, "out" in the text colour; lighter blue on the blue footer band. */
.bei-look { color: var(--bei-blue); }
.bei-ov-footer .bei-look { color: #a9cde8; }
.bei-brand .bei-brand-name { color: var(--bei-ink); }
.bei-brand .bei-brand-name .bei-look { color: var(--bei-blue); }

/* Charts on phones (owner, 9 Nov 2026) */
.bei-mfit-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.bei-mfit-hint { margin: 4px 0 2px; color: var(--bei-muted); font: 11px/1.3 Inter, system-ui, sans-serif; }
.bei-mfit-scroll { width: 0; min-width: 100%; }

/* Owner, 9 Nov 2026: tagline in the brand blue; Overview, Policy watch and Data & methods as solid buttons */
.bei-brand .bei-brand-sub { color: var(--bei-blue); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; }
/* Owner, 10 Nov 2026: the three plain buttons are white with a strong outline, filled only on their own page */
.bei-nav-inner > .bei-nav-link { background: #ffffff; border: 2px solid #2f3a45; color: #1b2430; font-weight: 800; }
.bei-nav-inner > .bei-nav-link:hover { background: #eef2f5; border-color: #2f3a45; color: #1b2430; }
.bei-nav-inner > .bei-nav-link[aria-current="page"] { background: #2f3a45; border-color: #2f3a45; color: #ffffff; box-shadow: 0 3px 0 0 #11181f, 0 5px 10px rgba(17, 24, 31, .25); }

/* Data & methods page (owner, 10 Nov 2026): a proportionate type scale and one line per measure */
.bei-methods-page main h1 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; }
.bei-methods-page main h2 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.2; }
.bei-methods-page main p, .bei-methods-page main li { font-size: 15px; line-height: 1.6; }
.bei-methods-page .bei-section-note { font-size: 14px; line-height: 1.55; }
.bei-methods-page main table { font-size: 13.5px; }
.bei-methods-page main th { font-size: 12px; letter-spacing: .02em; }
.bei-methods-page main td { font-size: 13.5px; }
.bei-methods-page .bei-mr-family h3 { font-size: 19px; margin-top: 28px; }
.bei-methods-page .bei-mr-entry { padding: 0; }
.bei-methods-page .bei-mr-entry > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 11px 4px 11px 24px; position: relative; cursor: pointer; list-style: none; }
.bei-methods-page .bei-mr-entry > summary::-webkit-details-marker { display: none; }
.bei-methods-page .bei-mr-entry > summary::before { content: "+"; position: absolute; left: 4px; top: 10px; color: var(--bei-blue); font: 700 16px/1 system-ui, sans-serif; }
.bei-methods-page .bei-mr-entry[open] > summary::before { content: "\2212"; }
.bei-methods-page .bei-mr-entry > summary:hover { background: var(--bei-blue-soft); }
.bei-methods-page .bei-mr-name { font: 700 15.5px/1.35 system-ui, sans-serif; color: var(--bei-ink); }
.bei-methods-page .bei-mr-ev { justify-self: end; align-self: start; }
.bei-methods-page .bei-mr-gist { grid-column: 1 / -1; color: var(--bei-muted); font: 500 14px/1.45 system-ui, sans-serif; }
.bei-methods-page .bei-mr-entry dl { padding: 4px 4px 12px 24px; font-size: 14px; }
.bei-methods-page .bei-mr-rev { padding-left: 24px; margin-bottom: 12px; }

/* About: contact as a clear block (owner, 10 Nov 2026) */
/* Owner (13 Nov 2026, option A): a plain list, no boxes. A blue rule on top, a thin rule between rows. */
.bei-about-contact { display: grid; gap: 0; align-content: start; }
.bei-about-contact h3 { margin: 0 0 8px; font: 700 18px/1.3 Georgia, serif; color: var(--bei-ink); }
.bei-about-contact h3 + .bei-contact-btn { border-top: 2px solid var(--bei-blue); }
.bei-contact-btn { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid #d8dde1; color: var(--bei-blue); text-decoration: none; font: 700 16px/1.3 Inter, system-ui, sans-serif; }
.bei-contact-btn small { color: var(--bei-muted); font: 600 13px/1.2 Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.bei-contact-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Footer wordmark (owner, 10 Nov 2026, option B): on the blue band both halves are white; "Look" bold, "out" in regular weight */
.bei-ov-footer .bei-ov-footer-name { font-weight: 400; }
.bei-ov-footer .bei-ov-footer-name .bei-look { color: #ffffff; font-weight: 700; }

/* Whole-product review item 10 (19 Nov 2026): the standard "What to watch next" block for panels that had none */
.bei-watch-next { margin: 28px 0 8px; padding: 18px 20px; border: 1px solid var(--bei-line); border-left: 4px solid var(--bei-ink); background: var(--bei-wash); }
.bei-watch-next .bei-wn-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5b5a55; }
.bei-watch-next h2 { margin: 4px 0 6px; font: 700 22px/1.25 Georgia, serif; }
.bei-watch-next .bei-wn-intro { margin: 0 0 10px; color: #4a4945; font-size: 14px; line-height: 1.5; }
.bei-watch-next .bei-wn-list { margin: 0; padding-left: 18px; }
.bei-watch-next .bei-wn-list li { margin: 0 0 8px; font-size: 14px; line-height: 1.55; }
.bei-watch-next .bei-wn-when { display: block; color: #5b5a55; font-size: 13px; }
.bei-watch-next .bei-wn-foot { margin: 10px 0 0; font-size: 13px; color: #4a4945; }

/* Phone layer (owner, 20 Nov 2026, after the IMF site on a phone): a slim masthead with a Menu button and a full-height menu sheet
   (shell.js), a white page without nested boxes, and charts on a light panel that uses the full width. Desktop is unchanged. */
.bei-menu-btn, .bei-sheet-top, .bei-sheet-foot, .bei-sheet-shade { display: none; }
@media (max-width: 760px) {
  .bei-masthead .bei-brand-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
  .bei-masthead .bei-environment { display: none; }
  .bei-masthead .bei-menu-btn { display: inline-flex; flex: none; align-items: center; gap: 9px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--bei-line); border-radius: 8px; background: #ffffff; color: var(--bei-ink); font: 700 13px/1 Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
  .bei-masthead .bei-menu-btn:focus-visible { outline: 3px solid var(--bei-focus); outline-offset: 2px; }
  .bei-menu-bars { display: grid; gap: 4px; }
  .bei-menu-bars i { display: block; width: 20px; height: 2px; border-radius: 1px; background: currentColor; }
  .bei-masthead .bei-legend-row, .bei-masthead .bei-nav { display: none; }

  .bei-menu-open { overflow: hidden; }
  .bei-menu-open .bei-sheet-shade { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(20, 24, 30, .5); }
  .bei-menu-open .bei-masthead .bei-nav { display: block; position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001; width: min(88vw, 380px); overflow-y: auto; overscroll-behavior: contain; border: 0; background: #ffffff; box-shadow: -12px 0 40px rgba(0, 0, 0, .25); }
  .bei-masthead .bei-sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--bei-line); }
  .bei-sheet-title { color: var(--bei-ink); font: 700 20px/1 Georgia, "Times New Roman", serif; }
  .bei-sheet-close { width: 48px; height: 48px; border: 0; background: none; color: var(--bei-ink); font: 300 34px/1 system-ui, sans-serif; cursor: pointer; }
  .bei-masthead .bei-nav .bei-nav-inner { display: block; width: auto; margin: 0; padding: 0; border: 0; }
  .bei-masthead .bei-nav-inner > .bei-nav-link, .bei-masthead .bei-nav-inner > .bei-nav-group { display: block; width: 100%; margin: 0; flex: none; }
  .bei-masthead .bei-nav-inner > .bei-nav-link, .bei-masthead .bei-nav-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 58px; margin: 0; padding: 12px 20px; border: 0; border-bottom: 1px solid var(--bei-line); border-radius: 0; background: #ffffff; box-shadow: none; color: #1b2430; font: 700 14px/1.3 Inter, system-ui, sans-serif; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
  .bei-masthead .bei-nav-btn { border-left: 4px solid var(--grp, #1f3a5f); padding-left: 16px; }
  .bei-masthead .bei-nav-btn:hover, .bei-masthead .bei-nav-group.open .bei-nav-btn, .bei-masthead .bei-nav-group[data-current="true"] .bei-nav-btn { background: #f4f6f9; color: #1b2430; box-shadow: none; border-color: var(--bei-line); border-left-color: var(--grp, #1f3a5f); }
  .bei-masthead .bei-nav-inner > .bei-nav-link[aria-current="page"] { background: #f4f6f9; box-shadow: inset 4px 0 0 var(--bei-ink); }
  .bei-masthead .bei-nav-btn-now { color: var(--bei-muted); font-weight: 600; letter-spacing: 0; text-transform: none; }
  .bei-masthead .bei-caret { transition: transform .15s; }
  .bei-masthead .bei-nav-group.open .bei-caret { transform: rotate(225deg) translateY(-2px); }
  .bei-masthead .bei-nav-group > .bei-nav-menu, .bei-masthead .bei-nav-group:hover > .bei-nav-menu, .bei-masthead .bei-nav-group:focus-within > .bei-nav-menu { display: none; }
  .bei-masthead .bei-nav-group.open > .bei-nav-menu { display: block; position: static; min-width: 0; margin: 0; padding: 4px 0 8px; border: 0; border-bottom: 1px solid var(--bei-line); border-radius: 0; background: #f7f7f4; box-shadow: none; }
  .bei-masthead .bei-nav-group > .bei-nav-menu::before { display: none; }
  .bei-masthead .bei-nav-menu .bei-nav-link { display: flex; align-items: center; gap: 12px; min-height: 50px; margin: 0; padding: 10px 20px 10px 24px; border: 0; border-radius: 0; background: transparent; color: #1b2430; font: 500 16px/1.3 Inter, system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
  .bei-masthead .bei-nav-menu .bei-nav-link[aria-current="page"] { background: #ffffff; font-weight: 700; box-shadow: inset 4px 0 0 var(--grp, #1f3a5f); }
  .bei-masthead .bei-sheet-foot { display: block; padding: 18px 20px 28px; }
  .bei-sheet-foot-label { margin: 0 0 10px; color: var(--bei-muted); font: 700 12px/1.3 Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
  .bei-sheet-foot .bei-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
}
@media (max-width: 600px) {
  .bei-shell-page { background: #ffffff; }
  .bei-panel-main .hero, .bei-panel-main .section, .bei-panel-main .bei-context, .bei-panel-main .disclosure-major,
  .bei-panel-main .disclosure-major > .section { padding-left: 0; padding-right: 0; border-left: 0; border-right: 0; border-bottom: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .bei-panel-main .bei-wrap { width: 100%; }
  /* Charts as figures (owner, 20 Nov 2026, after IMF's phone charts): a clearly visible cool-grey panel holding title, chart, notes and buttons. */
  .bei-panel-main .chart-card { margin-top: 14px; margin-bottom: 14px; padding: 18px 16px 14px; border: 0; border-radius: 0; background: #eef0f2; box-shadow: none; }
  .bei-panel-main .chart-card .chart-card { margin: 0; padding: 0; background: transparent; }
  /* Other chart wrappers get the same panel (owner, 20 Nov 2026: charts under folds and on Panel 3 were left out): Panel 3's graduates and
     minimum-wage panes, Panel 9's exchange-rate panes, the price monitors' charts, forecast, outlook and recipe cards, Climate's maps. */
  .bei-panel-main .gr-pane, .bei-panel-main .mw-pane, .bei-panel-main .er-pane, .bei-panel-main .bpm-chart, .bei-panel-main .bw-card, .bei-panel-main .recipe-card, .bei-panel-main .outlook-block, .bei-panel-main .forecast-card, .bei-panel-main .map-frame, .bei-panel-main .sm-grid, .bei-panel-main .ab-row, .bei-panel-main .bei-wt-fig { margin-top: 14px; margin-bottom: 14px; padding: 18px 16px 14px; border: 0; border-radius: 0; background: #eef0f2; box-shadow: none; }
  .bei-panel-main .chart-card .chart-card, .bei-panel-main .chart-card .bpm-chart, .bei-panel-main .chart-card .an-chart, .bei-panel-main .chart-card .map-frame, .bei-panel-main .gr-pane .chart-card, .bei-panel-main .gr-pane .bpm-chart, .bei-panel-main .gr-pane .an-chart, .bei-panel-main .gr-pane .map-frame, .bei-panel-main .mw-pane .chart-card, .bei-panel-main .mw-pane .bpm-chart, .bei-panel-main .mw-pane .an-chart, .bei-panel-main .mw-pane .map-frame, .bei-panel-main .er-pane .chart-card, .bei-panel-main .er-pane .bpm-chart, .bei-panel-main .er-pane .an-chart, .bei-panel-main .er-pane .map-frame, .bei-panel-main .bw-card .chart-card, .bei-panel-main .bw-card .bpm-chart, .bei-panel-main .bw-card .an-chart, .bei-panel-main .bw-card .map-frame, .bei-panel-main .recipe-card .chart-card, .bei-panel-main .recipe-card .bpm-chart, .bei-panel-main .recipe-card .an-chart, .bei-panel-main .recipe-card .map-frame, .bei-panel-main .outlook-block .chart-card, .bei-panel-main .outlook-block .bpm-chart, .bei-panel-main .outlook-block .an-chart, .bei-panel-main .outlook-block .map-frame, .bei-panel-main .forecast-card .chart-card, .bei-panel-main .forecast-card .bpm-chart, .bei-panel-main .forecast-card .an-chart, .bei-panel-main .forecast-card .map-frame { margin: 0; padding: 0; background: transparent; }
  /* Panel 3's graduates and minimum wages and Panel 9's exchange rates style their panes by id, so the panel is set the same way. */
  .bei-panel-main #graduates .gr-pane, .bei-panel-main #minimum-wages .mw-pane, .bei-panel-main #effective-rates .er-pane { padding: 18px 16px 14px; border: 0; border-radius: 0; background: #eef0f2; }
  /* Climate's small multiples: stacked full width inside the one panel, without a box around each. */
  .bei-panel-main .sm-grid { flex-direction: column; }
  .bei-panel-main .sm-grid .sm-cell { width: 100%; padding: 0 0 6px; border: 0; background: transparent; }
  .bei-panel-main .sm-grid .sm-cell + .sm-cell { padding-top: 12px; border-top: 1px solid #d5d9de; }
  /* Energy and Climate: title (h4), chart and legend are siblings, so the three share one continuous panel. */
  .bei-panel-main h4:has(+ .an-chart) { margin: 14px 0 0; padding: 18px 16px 6px; background: #eef0f2; }
  .bei-panel-main .an-chart:not(.chart-card .an-chart) { margin-top: 0; margin-bottom: 0; padding: 8px 16px 10px; border: 0; border-radius: 0; background: #eef0f2; box-shadow: none; }
  .bei-panel-main .an-chart:not(.chart-card .an-chart) + .an-legend { margin: 0 0 14px; padding: 0 16px 14px; background: #eef0f2; }
  .bei-panel-main .disclosure-major > summary { padding-left: 0; padding-right: 0; }
}

/* Tables (owner, 20 Nov 2026, after the IMF forecast table): one style for every table on every panel, phone and desktop.
   Bold header in normal case with no fill and a dark rule under it; light cool-grey shading on alternate rows instead of lines;
   numbers right-aligned with equal-width digits; a closing rule; rows the tables already highlight (Bangladesh, the chosen method)
   on a stronger grey in bold. Cells that set their own colour (heat tables, status cells) keep it: shading sits on the row. */
.bei-panel-main table { border-collapse: collapse; border-bottom: 1px solid #b9bec5; font-variant-numeric: tabular-nums; }
.bei-panel-main table thead th, .bei-panel-main table thead td { background: #ffffff; color: #1b2430; font-weight: 700; letter-spacing: 0; text-transform: none; vertical-align: bottom; border-top: 0; border-bottom: 2px solid #1b2430; }
.bei-panel-main table tbody td, .bei-panel-main table tbody th { border-top: 0; border-bottom: 0; }
/* Row labels (th in the body) had their own cream fill on several panels, which hid the row shading (owner, 20 Nov 2026: not every table restyled). */
.bei-panel-main table tbody th, .bei-panel-main table tbody th[scope="row"] { background-color: transparent; }
.bei-panel-main table tbody tr:nth-child(even) { background: #f3f4f6; }
.bei-panel-main table tbody tr:hover { background: #e9ecf0; }
.bei-panel-main table td.num, .bei-panel-main table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.bei-panel-main table tr.central-row, .bei-panel-main table tr.hl { background: #dfe4ea; }
.bei-panel-main table tr.central-row td, .bei-panel-main table tr.hl td, .bei-panel-main table tr.hl th { background: transparent; font-weight: 700; outline: 0; }
@media (max-width: 600px) { .bei-panel-main table td, .bei-panel-main table th { padding-left: 6px; padding-right: 6px; } }
/* Chart titles inside Panel 3's and Panel 9's tabbed panes follow the 17px chart-title size (they were pinned at 15.7px). */
.bei-panel-main #graduates .gr-pane h3, .bei-panel-main #minimum-wages .mw-pane h3, .bei-panel-main #effective-rates .er-pane h3 { font-size: 17px; }

/* Nothing wider than a phone (owner, 20 Nov 2026: "either the table or plot is out of phone screen range"). Below 600px the shell
   first tightens a table that is too wide (.bei-tcompact); if it still does not fit, each row becomes a short card (.bei-tstack): the
   row's name on top, then each column's heading beside its value. Desktop tables are unchanged. */
@media (max-width: 600px) {
  .bei-tcompact { width: 100% !important; min-width: 0 !important; table-layout: auto; font-size: 13px; }
  .bei-tcompact th, .bei-tcompact td { padding: 6px 4px !important; min-width: 0 !important; white-space: normal !important; }
  .bei-tcompact th, .bei-tcompact td { overflow-wrap: normal; word-break: normal; }
  .bei-tstack, .bei-tstack tbody, .bei-tstack tfoot, .bei-tstack tr { display: block; width: 100% !important; min-width: 0 !important; }
  .bei-tstack { border-bottom: 0; font-size: 14px; }
  .bei-tstack caption { display: block; text-align: left; }
  .bei-tstack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bei-tstack tr { padding: 10px 8px; border-bottom: 1px solid #d5d9de; }
  .bei-tstack tbody tr:nth-child(even) { background: #f3f4f6; }
  .bei-tstack td, .bei-tstack th { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; width: auto !important; min-width: 0 !important; max-width: none !important; padding: 2px 0 !important; border: 0 !important; text-align: right !important; white-space: normal !important; background: transparent !important; position: static !important; }
  .bei-tstack td, .bei-tstack th, .bei-tstack td > *, .bei-tstack th > * { overflow-wrap: anywhere; min-width: 0; }
  .bei-tstack td[data-label]::before, .bei-tstack th[data-label]::before { content: attr(data-label); flex: 1 1 55%; min-width: 0; text-align: left; font-weight: 600; color: #4a5260; }
  .bei-tstack .bei-trow-head { display: block; padding-bottom: 4px !important; text-align: left !important; font-weight: 700; color: #1b2430; font-size: 15px; }
  .bei-tstack .bei-trow-head::before { content: none !important; }
  .bei-tstack .bei-tcell-long { display: block; text-align: left !important; }
  .bei-tstack .bei-tcell-long::before { display: block; margin-bottom: 1px; }
  .bei-tstack .bei-tcell-empty { display: none; }
  /* Tab buttons above charts: rows that fill the width, every option the same height, one thin line between them. */
  .bei-panel-main .seg, .bei-panel-main .bpm-tabs, .bei-panel-main .bpm-seg, .bei-panel-main .mw-sort { display: flex; flex-wrap: wrap; gap: 1px; width: 100%; max-width: 100%; padding: 0; border: 1px solid #b9bec5; background: #b9bec5; box-sizing: border-box; }
  .bei-panel-main .seg > button, .bei-panel-main .bpm-tabs > button, .bei-panel-main .bpm-seg > button, .bei-panel-main .mw-sort > button { flex: 1 1 auto; margin: 0; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 0; background: #fff; color: #1b2430; text-align: center; box-shadow: none; }
  .bei-panel-main .seg > button.on, .bei-panel-main .bpm-tabs > button.on, .bei-panel-main .bpm-seg > button.on, .bei-panel-main .mw-sort > button.on, .bei-panel-main .seg > button[aria-pressed="true"], .bei-panel-main .seg > button[aria-selected="true"] { background: var(--c, var(--accent, #1d3a5f)); color: #fff; }
  .bei-panel-main .seg > button:disabled { color: #9aa1aa; }
  /* Panel 5's old charts and Panel 8's old bar rows had fixed widths for wide screens. */
  .bei-panel-main .legacy-fold .chart svg { min-width: 0 !important; }
  .bei-panel-main .legacy-zone .debt-stack { min-width: 0; }
  .bei-panel-main .legacy-zone .debt-stack span { min-width: 0; overflow: hidden; }
  .bei-panel-main .legacy-zone .debt-structure-wrap, .bei-panel-main .legacy-zone .debt-structure-row { overflow-x: visible; grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .bei-panel-main .legacy-zone .adp-history-row, .bei-panel-main .legacy-zone .funding-exec-row, .bei-panel-main .legacy-zone .external-retention-row { grid-template-columns: minmax(0, 1fr) auto; }
  .bei-panel-main .legacy-zone .adp-history-row > :nth-child(2), .bei-panel-main .legacy-zone .funding-exec-row > :nth-child(2), .bei-panel-main .legacy-zone .external-retention-row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .bei-panel-main .two-col > *, .bei-panel-main .alloc-pair > *, .bei-panel-main .rm-pair > * { min-width: 0; }
}
