/* BLINKBUN v3.9.4 — Global public layout geometry + semantic buttons. */
:root{
  --bb394-shell:1200px;
  --bb394-edge:20px;
  --bb394-radius:20px;
  --bb394-gap:18px;
  --bb394-line:rgba(111,205,244,.22);
  --bb394-line-soft:rgba(111,205,244,.14);
  --bb394-bg:#061827;
  --bb394-panel:#0a2034;
  --bb394-panel2:#0c263e;
  --bb394-text:#ecf8ff;
  --bb394-muted:#8eafc3;
  --bb394-blue:#61bff6;
  --bb394-cyan:#63eadb;
  --bb394-gold:#f1c84a;
  --bb394-violet:#9b8cff;
}

*{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}

/* Unlock legacy wrapper caps. Content width is controlled by .bb394-frame/.bb394-section. */
body.bb394-ready .bb394-unlock{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* ONE geometry axis for shared header + major public sections. */
body.bb394-ready .bb394-frame,
body.bb394-ready .bb394-section{
  width:min(var(--bb394-shell),calc(100% - (var(--bb394-edge) * 2)))!important;
  max-width:var(--bb394-shell)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Header */
body.bb394-ready header.bb394-frame{
  min-height:70px!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:minmax(210px,1fr) auto minmax(250px,1fr)!important;
  gap:20px!important;
  align-items:center!important;
  border-bottom:1px solid rgba(128,190,220,.14)!important;
}
body.bb394-ready header.bb394-frame .v230-brand{justify-self:start!important;min-width:0!important}
body.bb394-ready header.bb394-frame nav{
  justify-self:center!important;
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}
body.bb394-ready header.bb394-frame nav>a,
body.bb394-ready header.bb394-frame nav>details>summary{
  min-height:38px!important;
  height:38px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  border-radius:10px!important;
  line-height:1!important;
  font-size:13px!important;
  font-weight:750!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
body.bb394-ready header.bb394-frame .v230-actions,
body.bb394-ready header.bb394-frame .v260-actions{
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}
body.bb394-ready header.bb394-frame .v260-language-select{min-width:112px!important;height:40px!important}
body.bb394-ready header.bb394-frame .v291-auth-link{min-height:40px!important;height:40px!important;display:inline-flex!important;align-items:center!important}

/* Main section rhythm */
body.bb394-ready .bb394-section{margin-top:22px!important;margin-bottom:0!important}
body.bb394-ready .bb394-section:first-of-type{margin-top:28px!important}
body.bb394-ready .bb394-section,
body.bb394-ready .bb394-section *{min-width:0}

/* Hero / page headings use full shell, but readable copy remains centered. */
body.bb394-ready .bb394-hero{
  width:min(var(--bb394-shell),calc(100% - (var(--bb394-edge) * 2)))!important;
  max-width:var(--bb394-shell)!important;
  margin:28px auto 0!important;
  padding:48px 56px 36px!important;
  border-radius:24px!important;
  overflow:hidden!important;
}
body.bb394-ready .bb394-hero h1{
  max-width:920px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
  line-height:1.05!important;
  letter-spacing:-.04em!important;
}
body.bb394-ready .bb394-hero>p,
body.bb394-ready .bb394-hero .bb394-hero-copy{
  max-width:900px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}

/* Forms/search bars span the content axis. */
body.bb394-ready .bb394-search,
body.bb394-ready form.v230-scan,
body.bb394-ready .v230-scan{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.bb394-ready .bb394-search input,
body.bb394-ready form.v230-scan input{min-width:0!important}

/* Common grids */
body.bb394-ready .bb394-grid3{
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
body.bb394-ready .bb394-grid2{
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}

/* Cards: prevent accidental nested giant action boxes. */
body.bb394-ready .bb394-card{
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  margin:0!important;
  overflow:hidden!important;
}
body.bb394-ready .bb394-card-actions{
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  margin-top:12px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
}
body.bb394-ready .bb394-action-parent{
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  overflow:visible!important;
}

/* Semantic button base — beats older width/min-height rules. */
body.bb394-ready a.bb394-btn,
body.bb394-ready button.bb394-btn{
  appearance:none!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  margin:0!important;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  border-radius:10px!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
body.bb394-ready .bb394-btn-primary{
  color:#061521!important;
  background:linear-gradient(135deg,#55d4ff,#8b83ff)!important;
  border:1px solid rgba(125,214,255,.75)!important;
}
body.bb394-ready .bb394-btn-watch{
  color:#ffe976!important;
  background:rgba(77,62,8,.32)!important;
  border:1px solid rgba(241,200,74,.58)!important;
}
body.bb394-ready .bb394-btn-live{
  color:#8affed!important;
  background:rgba(10,86,82,.28)!important;
  border:1px solid rgba(99,234,219,.48)!important;
}
body.bb394-ready .bb394-btn-schedule{
  color:#c5d8e5!important;
  background:rgba(48,67,84,.36)!important;
  border:1px solid rgba(145,174,193,.25)!important;
}
body.bb394-ready .bb394-btn-bbun{
  color:#eef0ff!important;
  background:linear-gradient(135deg,rgba(99,96,220,.42),rgba(32,161,185,.35))!important;
  border:1px solid rgba(155,140,255,.50)!important;
}
body.bb394-ready a.bb394-btn:hover,
body.bb394-ready button.bb394-btn:hover{filter:brightness(1.12)!important;transform:translateY(-1px)}

/* Growth helper text should never invade header/cards. */
body.bb394-ready .bb391-watch-note,
body.bb394-ready .bb391-strip{display:none!important}
body.bb394-ready .bb391-watch-focus{
  width:auto!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  flex:0 0 auto!important;
}

/* Home-specific normalization */
body.bb394-ready .bb393-hero,
body.bb394-ready .v370-home-hero,
body.bb394-ready .v230-hero{max-width:var(--bb394-shell)!important}
body.bb394-ready .bb393-return{max-width:var(--bb394-shell)!important;width:min(var(--bb394-shell),calc(100% - 40px))!important}
body.bb394-ready .bb393-return-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.bb394-ready .bb393-return-card{overflow:visible!important;padding:16px!important}

/* Common historical section families — width unification. */
body.bb394-ready :is(
  .v230-why,.v230-bbun,.v230-faq,.v230-radar,.v230-section,
  .v260-section,.v260-panel,.v260-tool,.v260-search,.v260-content,
  .v365-hero,.v365-section,
  .v370-home-hero,.v370-pulse,.v370-ecosystem,
  .dg340-board,.og330-detail,
  .i280-hero,.i280-section,.i280-board,
  .rg340-board,.rg340-section,
  .v367-memory,.v367-retention,.v368-retention,
  .bb391-hub
){
  width:min(var(--bb394-shell),calc(100% - (var(--bb394-edge) * 2)))!important;
  max-width:var(--bb394-shell)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Prevent old narrow content caps inside tool pages where safe. */
body.bb394-ready :is(.v260-main,.v230-main,.i280-main,.v370-main,.page-main,.service-main){
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

/* Card/list widths */
body.bb394-ready :is(.v230-three,.v370-ecosystem-grid,.v365-list,.dg340-groups,.og330-groups){max-width:none!important;width:100%!important}

/* Tables, long codes and text stay inside cards. */
body.bb394-ready table{max-width:100%!important}
body.bb394-ready code,body.bb394-ready pre{max-width:100%;overflow-wrap:anywhere}
body.bb394-ready img,body.bb394-ready svg,body.bb394-ready canvas{max-width:100%}

@media(max-width:1120px){
  body.bb394-ready header.bb394-frame{grid-template-columns:auto 1fr auto!important;gap:10px!important}
  body.bb394-ready header.bb394-frame nav{gap:1px!important}
  body.bb394-ready header.bb394-frame nav>a,
  body.bb394-ready header.bb394-frame nav>details>summary{padding:0 7px!important;font-size:12px!important}
}
@media(max-width:900px){
  :root{--bb394-edge:12px}
  body.bb394-ready header.bb394-frame{grid-template-columns:1fr auto!important;min-height:62px!important}
  body.bb394-ready header.bb394-frame nav{display:none!important}
  body.bb394-ready .bb394-hero{padding:32px 18px 24px!important;border-radius:18px!important}
  body.bb394-ready .bb394-grid3,
  body.bb394-ready .bb394-grid2,
  body.bb394-ready .bb393-return-grid{grid-template-columns:1fr!important}
  body.bb394-ready .bb394-card-actions{gap:6px!important}
}
@media(max-width:520px){
  body.bb394-ready .bb394-card-actions{display:grid!important;grid-template-columns:1fr 1fr!important}
  body.bb394-ready a.bb394-btn,
  body.bb394-ready button.bb394-btn{width:100%!important}
}
