/* YB-HEADER-ANALYZER-R237 · Desktop header flow + sitewide Analyzer visibility */
:root{--yb-r237-border:#d9e6f2;--yb-r237-ink:#102a43;--yb-r237-muted:#60758a;--yb-r237-blue:#0b68e8;--yb-r237-soft:#f5f9fd}

/* Desktop header: reduce pressure before links can collide. */
.site-header.hbt-header .hbt-navbox.container{box-sizing:border-box}
.site-header.hbt-header .hbt-mainnav{flex:1 1 auto;min-width:0;flex-wrap:nowrap}
.site-header.hbt-header .hbt-actions{flex:0 0 auto}
.site-header.hbt-header .hbt-mainnav>a,
.site-header.hbt-header .navdrop>button{max-width:100%}

@media (min-width:1161px) and (max-width:1440px){
  .site-header.hbt-header .hbt-brand span{display:none}
  .site-header.hbt-header .hbt-navbox.container{gap:12px;padding-inline:14px}
  .site-header.hbt-header .hbt-mainnav{gap:1px;justify-content:flex-end}
  .site-header.hbt-header .hbt-mainnav>a,
  .site-header.hbt-header .navdrop>button{padding-inline:7px;font-size:12px}
  .site-header.hbt-header .hbt-actions{gap:5px;margin-left:2px}
  .site-header.hbt-header .hbt-actions .round{width:38px;height:38px;min-width:38px}
  .site-header.hbt-header .hbt-actions .hbt-offer{min-height:38px;padding:8px 10px;font-size:12px}
  .site-header.hbt-header .yb-analyzer-nav>small,
  .site-header.hbt-header .yb-model-code-nav>small,
  .site-header.hbt-header .yb-analyzer-cta>small{display:none}
}
@media (min-width:1161px) and (max-width:1260px){
  .site-header.hbt-header .yb-model-code-nav{display:none}
}
@media (max-width:1160px){
  :root{--yb-header-h:70px}
  .site-header.hbt-header .hbt-topline{display:none}
  .site-header.hbt-header .hbt-navbox.container{width:100%;max-width:none;min-height:70px;padding:0 13px;gap:8px}
  .site-header.hbt-header .hbt-brand{max-width:82px}
  .site-header.hbt-header .hbt-brand img{width:76px;max-height:46px}
  .site-header.hbt-header .hbt-brand span{display:none}
  .site-header.hbt-header .hbt-mainnav{display:none}
  .site-header.hbt-header .hbt-actions{margin-left:auto;gap:6px}
  .site-header.hbt-header .hbt-actions .search-open{display:none}
  .site-header.hbt-header .hamb{display:grid}
  .site-header.hbt-header .mobile-menu{top:calc(var(--yb-header-h) + 8px)}
}

/* Keep wide mega menus inside the viewport. */
.site-header.hbt-header .mega.wide{max-width:calc(100vw - 32px)}

/* Compact Analyzer block for public content/commercial pages. */
.yb-analyzer-sitewide{margin:clamp(42px,6vw,78px) 0;padding:0}
.yb-analyzer-sitewide .yb-asw-card{
  position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
  gap:24px;align-items:center;overflow:hidden;padding:clamp(24px,3.5vw,40px);
  border:1px solid rgba(55,123,184,.2);border-radius:26px;
  background:
    radial-gradient(circle at 88% 12%,rgba(36,163,235,.16),transparent 34%),
    linear-gradient(135deg,#071f3a 0%,#0b3158 58%,#0d4775 100%);
  box-shadow:0 24px 65px rgba(6,31,58,.16);color:#fff
}
.yb-analyzer-sitewide .yb-asw-card:before{
  content:"";position:absolute;inset:auto -80px -110px auto;width:270px;height:270px;border-radius:50%;
  border:1px solid rgba(255,255,255,.10);box-shadow:0 0 0 34px rgba(255,255,255,.03),0 0 0 68px rgba(255,255,255,.02);pointer-events:none
}
.yb-analyzer-sitewide .yb-asw-copy,.yb-analyzer-sitewide .yb-asw-action{position:relative;z-index:1;min-width:0}
.yb-analyzer-sitewide .yb-asw-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;color:#8edcff;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.yb-analyzer-sitewide .yb-asw-kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:#39c1f2;box-shadow:0 0 0 5px rgba(57,193,242,.12)}
.yb-analyzer-sitewide h2{margin:0;color:#fff;font-size:clamp(24px,3vw,36px);line-height:1.12;letter-spacing:-.025em}
.yb-analyzer-sitewide p{max-width:760px;margin:13px 0 0;color:#cfe2f2;font-size:14.5px;line-height:1.7}
.yb-analyzer-sitewide .yb-asw-action{display:grid;gap:12px;justify-items:stretch}
.yb-analyzer-sitewide .yb-asw-points{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.yb-analyzer-sitewide .yb-asw-points span{display:flex;align-items:center;min-height:38px;padding:8px 10px;border:1px solid rgba(255,255,255,.13);border-radius:11px;background:rgba(255,255,255,.06);color:#e7f4ff;font-size:11.5px;font-weight:800}
.yb-analyzer-sitewide .yb-asw-btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 16px;border-radius:13px;background:#fff;color:#07345f;font-size:13.5px;font-weight:950;text-decoration:none;box-shadow:0 12px 28px rgba(0,0,0,.15)}
.yb-analyzer-sitewide .yb-asw-btn:hover,.yb-analyzer-sitewide .yb-asw-btn:focus-visible{background:#eaf7ff;color:#04284a}
.yb-analyzer-sitewide .yb-asw-note{text-align:center;color:#abcbe3;font-size:10.5px;line-height:1.4}
@media (max-width:820px){
  .yb-analyzer-sitewide .yb-asw-card{grid-template-columns:1fr;gap:20px;border-radius:22px}
  .yb-analyzer-sitewide .yb-asw-action{justify-items:stretch}
}
@media (max-width:480px){
  .yb-analyzer-sitewide{margin:34px 0}
  .yb-analyzer-sitewide .yb-asw-card{padding:22px 18px}
  .yb-analyzer-sitewide .yb-asw-points{grid-template-columns:1fr}
}
