/* SHIBOOM last-mile layout fix, release 240. Loaded last on ALL pages. */
:root{--shiboom-release:240}
.plot-grid{min-width:0;grid-template-columns:minmax(0,1.65fr) minmax(0,.65fr)}
.plot-wrap,.insight-sidebar{min-width:0;max-width:100%;box-sizing:border-box}
.insight-large{
  display:block;width:100%;max-width:100%;min-width:0;
  font:700 clamp(26px,2.55vw,39px)/1.13 var(--head,"Space Grotesk",sans-serif);
  letter-spacing:-.055em;font-variant-numeric:tabular-nums;
  white-space:normal;overflow-wrap:anywhere;word-break:normal;
  margin:24px 0 12px;
}
.insight-heading{overflow-wrap:anywhere}
.insight-details strong{overflow-wrap:anywhere;min-width:0}
.quick-metrics dd{overflow-wrap:anywhere;min-width:0}
@media(max-width:980px){.plot-grid{grid-template-columns:minmax(0,1fr)}.insight-large{font-size:clamp(29px,6vw,42px)}}
@media(max-width:530px){.insight-large{font-size:clamp(27px,8vw,37px);margin:13px 0 10px}}
.release-mark{color:#6b8599;font-size:10px;letter-spacing:.05em}
.subpage-release{display:block;text-align:center;padding:0 16px 18px}
/* Sitewide Back to Top. Safe on desktop/mobile and keyboard accessible. */
.shiboom-back-to-top{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:1000;background:#45d0f4;color:#07111c;border:1px solid #7fe4fa;border-radius:999px;padding:12px 16px;font:800 13px/1 system-ui,sans-serif;letter-spacing:.07em;box-shadow:0 8px 30px #0009;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .2s,transform .2s}
.shiboom-back-to-top.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.shiboom-back-to-top:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:540px){.shiboom-back-to-top{right:12px;bottom:max(16px,env(safe-area-inset-bottom));padding:12px 14px}}
@media(prefers-reduced-motion:reduce){.shiboom-back-to-top{transition:none}}

/* SHIBOOM launch polish 260: styles only, no changes to collector or chart math. */
.masthead-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:27px}
.hero-action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 17px;border:1px solid #427184;border-radius:6px;color:#dcf6ff;background:#122739;font:800 12px/1.4 var(--body);text-decoration:none}
.hero-action.primary{background:#38d2ed;border-color:#38d2ed;color:#071a24}
.hero-action:hover{border-color:#8aeafa;transform:translateY(-1px)}
.site-nav.open{z-index:200;box-shadow:0 18px 38px rgba(0,0,0,.48)}
.site-nav a[aria-current=page]{color:#71e6fb;text-decoration:underline;text-underline-offset:7px}
main.page .page-header{scroll-margin-top:24px}
.research-reader{overflow-wrap:anywhere}
.research-reader a{overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
.research-reader img{display:block;max-width:100%;height:auto}
.news-layout,.library-grid,.wire-grid,.under-tape-grid{min-width:0}
.news-feed,.news-aside,.research-story,.under-card,.wire-card{min-width:0}
.search-field:focus-within,.research-search:focus-within{border-color:#6de6f8}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #8aeafa;outline-offset:4px}
@media(max-width:1100px){.site-header .site-nav.open{max-height:min(76vh,650px);overflow-y:auto}.site-header .site-nav a{padding:12px 14px}}
@media(max-width:600px){.masthead-actions{flex-direction:column}.hero-action{width:100%}.section-title .section-link{white-space:normal}.research-footer{flex-wrap:wrap;gap:16px}.footer-main nav{row-gap:14px}}
@media(prefers-reduced-motion:reduce){.hero-action:hover{transform:none}}
