/* Jayu Capital Labs v14.0 · Institutional Mission Control
   Visual/IA architecture only. Keeps auth, Quant, market-data and report engines intact. */

body.jayu-v14-home{
  --j14-panel:#071018;
  --j14-panel-2:#09141d;
  --j14-line:rgba(128,158,171,.22);
  --j14-line-strong:rgba(94,231,240,.30);
  --j14-cyan:#66dfe7;
  --j14-amber:#e8ba64;
  --j14-green:#59d9a0;
  --j14-red:#f26873;
  --j14-muted:#8da4ae;
  --j14-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  background:#04080d;
}
body.jayu-v14-home .terminal-shell{background:linear-gradient(180deg,#04080d 0%,#050a10 45%,#04080d 100%)}

/* --- Compact institutional header --- */
body.jayu-v14-home .topbar{
  min-height:66px!important;height:66px!important;
  padding-left:clamp(18px,2.8vw,46px)!important;padding-right:clamp(18px,2.8vw,46px)!important;
  border-bottom-color:rgba(117,145,158,.18)!important;
  background:rgba(4,9,14,.96)!important;
}
body.jayu-v14-home .brand-copy strong{font-size:12px!important;letter-spacing:.16em!important}
body.jayu-v14-home .brand-copy span{font-size:8px!important;color:#6e8792!important}
body.jayu-v14-home .nav{justify-content:center!important;gap:3px!important;overflow:visible!important}
body.jayu-v14-home .nav>a,
body.jayu-v14-home .jayu-nav-more>summary{
  color:#9fb0b8!important;font-size:11px!important;font-weight:760!important;letter-spacing:.01em!important;
  padding:9px 10px!important;border-radius:8px!important;white-space:nowrap;cursor:pointer;list-style:none;
}
body.jayu-v14-home .nav>a:hover,body.jayu-v14-home .jayu-nav-more>summary:hover{color:#eef8fb!important;background:#0a141c!important}
body.jayu-v14-home .jayu-nav-more{position:relative}
body.jayu-v14-home .jayu-nav-more>summary::-webkit-details-marker{display:none}
body.jayu-v14-home .jayu-nav-more>summary:after{content:" +";color:#627b86}
body.jayu-v14-home .jayu-nav-more[open]>summary:after{content:" −"}
body.jayu-v14-home .jayu-nav-more-menu{
  position:absolute;top:42px;right:0;z-index:80;display:grid;min-width:210px;padding:8px;
  border:1px solid #1a3543;border-radius:12px;background:#071018;box-shadow:0 18px 55px rgba(0,0,0,.45)
}
body.jayu-v14-home .jayu-nav-more-menu a{padding:10px 11px;color:#b4c6cd;text-decoration:none;border-radius:8px;font-size:11px;font-weight:700}
body.jayu-v14-home .jayu-nav-more-menu a:hover{background:#0d1b25;color:#fff}
body.jayu-v14-home .nav-actions{gap:7px!important}
body.jayu-v14-home .status-chip,body.jayu-v14-home .search-btn{background:#071119!important;border-color:#18303d!important}

/* --- Main rhythm --- */
body.jayu-v14-home .main{width:min(1480px,calc(100% - 40px))!important;padding-top:24px!important;padding-bottom:96px!important}
body.jayu-v14-home .hero{grid-template-columns:minmax(0,1.02fr) minmax(520px,.98fr)!important;gap:18px!important;margin-bottom:16px!important;align-items:stretch!important}
body.jayu-v14-home .hero-copy,
body.jayu-v14-home .hero-side,
body.jayu-v14-home .panel{
  background:linear-gradient(180deg,rgba(9,18,27,.98),rgba(5,11,17,.98))!important;
  border-color:rgba(116,146,159,.21)!important;
  box-shadow:none!important;
}
body.jayu-v14-home .hero-copy{padding:clamp(32px,4vw,58px)!important;display:flex;flex-direction:column;justify-content:center}
body.jayu-v14-home .hero-copy:before{opacity:.45!important;right:-22%!important;bottom:-60%!important}
body.jayu-v14-home .jayu-hero-wordmark{
  color:#7e929b;font:800 10px/1.2 var(--j14-mono);letter-spacing:.20em;text-transform:uppercase;margin-bottom:12px
}
body.jayu-v14-home .hero-copy h1{
  max-width:760px!important;margin:8px 0 17px!important;font-size:clamp(38px,4.2vw,66px)!important;line-height:.98!important;
  letter-spacing:-.045em!important;font-weight:760!important;color:#f0f7f9!important
}
body.jayu-v14-home .hero-copy h1 span{display:inline!important;color:#8eb8c2!important;font-weight:690!important}
body.jayu-v14-home .jayu-hero-lead{max-width:730px!important;font-size:clamp(14px,1.35vw,17px)!important;line-height:1.7!important;color:#9eb2bb!important}
body.jayu-v14-home .jayu-hero-meta{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 0}
body.jayu-v14-home .jayu-hero-meta span{
  border:1px solid #17313d;border-radius:999px;padding:6px 9px;color:#829aa4;background:#061019;
  font:800 9px/1 var(--j14-mono);letter-spacing:.07em;text-transform:uppercase
}
body.jayu-v14-home .hero-cta{margin-top:22px!important;gap:9px!important}
body.jayu-v14-home .hero-cta .btn{min-height:42px!important;padding:11px 15px!important;font-size:11px!important}
body.jayu-v14-home .hero-cta .btn.primary{background:#dfe9ec!important;border-color:#dfe9ec!important;color:#071016!important}
body.jayu-v14-home .hero-cta .btn.primary:hover{background:#fff!important}
body.jayu-v14-home .jayu-tertiary-link{display:inline-flex;align-items:center;padding:0 7px;color:#7e9aa5;text-decoration:none;font-size:11px;font-weight:750}
body.jayu-v14-home .jayu-tertiary-link:hover{color:#d8e9ee}

/* Market regime: data first, decorative effects last. */
body.jayu-v14-home .jayu-regime-board{
  margin-top:23px;padding:14px;border:1px solid rgba(103,135,150,.26);border-radius:14px;background:#050d13
}
body.jayu-v14-home .jayu-regime-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}
body.jayu-v14-home .jayu-regime-head b{font:900 9px/1 var(--j14-mono);letter-spacing:.12em;color:#b8cad1;text-transform:uppercase}
body.jayu-v14-home .jayu-regime-head span{font:750 8px/1 var(--j14-mono);letter-spacing:.08em;color:#607a85;text-transform:uppercase}
body.jayu-v14-home .jayu-regime-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
body.jayu-v14-home .jayu-regime-cell{min-width:0;padding:10px;border:1px solid rgba(90,121,135,.23);border-radius:10px;background:#071119}
body.jayu-v14-home .jayu-regime-cell small{display:block;color:#607a85;font:800 8px/1.2 var(--j14-mono);letter-spacing:.08em;text-transform:uppercase}
body.jayu-v14-home .jayu-regime-cell strong{display:block;margin-top:6px;color:#e1edf0;font:850 14px/1.15 var(--j14-mono);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.jayu-v14-home .jayu-regime-cell em{display:block;margin-top:4px;color:#829ba5;font:700 8px/1.25 var(--j14-mono);font-style:normal;text-transform:uppercase}
body.jayu-v14-home .jayu-regime-cell.up strong{color:var(--j14-green)}
body.jayu-v14-home .jayu-regime-cell.watch strong{color:var(--j14-amber)}
body.jayu-v14-home .proof-line{margin-top:22px!important;padding-top:16px!important;gap:24px!important}
body.jayu-v14-home .proof-line strong{font-size:11px!important;color:#d3e1e5!important}
body.jayu-v14-home .proof-line span{font:700 8px/1.3 var(--j14-mono)!important;color:#617b86!important}

/* Session Engine becomes the hero visual, not a competing dashboard. */
body.jayu-v14-home .hero-side{padding:18px!important}
body.jayu-v14-home .gsm-shell{border-color:rgba(112,78,156,.35)!important;background:linear-gradient(180deg,#080d16,#050a10)!important}
body.jayu-v14-home .gsm-search,body.jayu-v14-home .gsm-utc-chip{opacity:.88}

/* --- Mission control lanes --- */
body.jayu-v14-home .jayu-mission-lanes{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px
}
body.jayu-v14-home .jayu-mission-card{
  min-width:0;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:15px 16px;
  border:1px solid var(--j14-line);border-radius:14px;background:#071018;text-decoration:none;color:#dce9ed
}
body.jayu-v14-home .jayu-mission-card:hover{border-color:var(--j14-line-strong);background:#09141d}
body.jayu-v14-home .jayu-mission-index{font:900 10px/1 var(--j14-mono);letter-spacing:.12em;color:#6f8994}
body.jayu-v14-home .jayu-mission-copy b{display:block;font-size:12px;letter-spacing:.08em}
body.jayu-v14-home .jayu-mission-copy span{display:block;margin-top:3px;color:#728a94;font-size:10px;line-height:1.45}
body.jayu-v14-home .jayu-mission-arrow{font:900 17px/1 var(--j14-mono);color:#617b86}
body.jayu-v14-home .jayu-mission-card.now .jayu-mission-index{color:var(--j14-green)}
body.jayu-v14-home .jayu-mission-card.analyze .jayu-mission-index{color:var(--j14-cyan)}
body.jayu-v14-home .jayu-mission-card.verify .jayu-mission-index{color:var(--j14-amber)}

/* --- Membership becomes a compact product/access strip --- */
body.jayu-v14-home .jayu-beta-banner{
  width:100%!important;margin:0 0 18px!important;grid-template-columns:1fr 1fr!important;gap:10px!important
}
body.jayu-v14-home .jayu-beta-card{min-height:0!important;padding:15px 16px!important;border-radius:14px!important;background:#061018!important;box-shadow:none!important}
body.jayu-v14-home .jayu-beta-card-head{align-items:center!important}
body.jayu-v14-home .jayu-beta-banner h2{font-size:15px!important;line-height:1.25!important;margin-top:5px!important}
body.jayu-v14-home .jayu-beta-banner .ey{font-size:8px!important}
body.jayu-v14-home .jayu-beta-lead{font-size:10px!important;line-height:1.5!important;margin-top:8px!important}
body.jayu-v14-home .jayu-beta-features{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:10px 0!important}
body.jayu-v14-home .jayu-beta-features>div{display:block!important;padding:8px!important;border-radius:9px!important;background:#050d13!important}
body.jayu-v14-home .jayu-beta-features b{display:block!important;font-size:7.5px!important}
body.jayu-v14-home .jayu-beta-features span{display:block!important;margin-top:3px!important;font-size:8.5px!important;line-height:1.35!important}
body.jayu-v14-home .jayu-beta-actions{padding-top:0!important;gap:8px!important}
body.jayu-v14-home .jayu-plan-cta{min-height:30px!important;font-size:8px!important}
body.jayu-v14-home .jayu-plan-link{font-size:9px!important}

/* --- Clear information architecture --- */
body.jayu-v14-home .jayu-section-marker{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:30px 2px 9px;padding-top:8px}
body.jayu-v14-home .jayu-section-marker-copy{min-width:0}
body.jayu-v14-home .jayu-section-kicker{display:block;font:900 9px/1 var(--j14-mono);letter-spacing:.16em;text-transform:uppercase;color:#6d8792}
body.jayu-v14-home .jayu-section-marker h2{margin:7px 0 0;font-size:clamp(22px,2.2vw,31px);line-height:1.05;letter-spacing:-.025em;color:#e7f0f2}
body.jayu-v14-home .jayu-section-marker p{max-width:620px;margin:0;color:#718995;font-size:11px;line-height:1.5;text-align:right}
body.jayu-v14-home .jayu-section-marker.now .jayu-section-kicker{color:var(--j14-green)}
body.jayu-v14-home .jayu-section-marker.analyze .jayu-section-kicker{color:var(--j14-cyan)}
body.jayu-v14-home .jayu-section-marker.verify .jayu-section-kicker{color:var(--j14-amber)}

body.jayu-v14-home #markets{margin-top:0!important}
body.jayu-v14-home #liquidity{margin-top:0!important}
body.jayu-v14-home #verify{margin-top:0!important}
body.jayu-v14-home .panel-head{padding:15px 17px!important}
body.jayu-v14-home .panel-head h2,body.jayu-v14-home .section-title h2{font-size:13px!important;letter-spacing:.01em!important}
body.jayu-v14-home .report-card h3{font-size:clamp(23px,2vw,30px)!important;line-height:1.05!important}
body.jayu-v14-home .report-kicker{font:900 9px/1.2 var(--j14-mono)!important;letter-spacing:.11em!important}
body.jayu-v14-home .mini-chip{font-family:var(--j14-mono)!important;border-radius:999px!important;background:#071018!important}
body.jayu-v14-home .stat-card strong{font-family:var(--j14-mono)!important;font-size:20px!important}
body.jayu-v14-home .badge{font-family:var(--j14-mono)!important}
body.jayu-v14-home .news-time{font-family:var(--j14-mono)!important}
body.jayu-v14-home .impact{font-family:var(--j14-mono)!important}

/* Product/editorial separation */
body.jayu-v14-home .jayu-archive-panel{margin-top:18px!important}
body.jayu-v14-home .jayu-archive-panel .quick-links{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.jayu-v14-home .jayu-archive-panel .quick-link{padding:14px!important;background:#060f16!important}
body.jayu-v14-home .jayu-archive-panel .quick-link strong{font-size:11px!important}
body.jayu-v14-home .jayu-archive-panel .quick-link span{font-family:var(--j14-mono)!important;font-size:7.5px!important}

/* Footer: strong closing, not another product grid. */
body.jayu-v14-home .footer{margin-top:34px!important;padding:24px 4px 8px!important;border-top-color:rgba(106,135,148,.20)!important;align-items:flex-start!important}
body.jayu-v14-home .footer>div:nth-child(1){max-width:280px;color:#718994!important}
body.jayu-v14-home .footer>div:nth-child(2){max-width:720px;line-height:1.6}

/* --- Mobile app shell --- */
body.jayu-v14-home .jayu-mobile-dock{display:none}
@media(max-width:1180px){
  body.jayu-v14-home .hero{grid-template-columns:1fr!important}
  body.jayu-v14-home .nav{display:none!important}
}
@media(max-width:760px){
  body.jayu-v14-home{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  body.jayu-v14-home .main{width:100%!important;padding:14px 10px 88px!important;overflow-x:clip}
  body.jayu-v14-home .topbar{min-height:116px!important;height:auto!important;padding:calc(11px + env(safe-area-inset-top)) 10px 10px!important}
  body.jayu-v14-home .brand{align-self:start!important}
  body.jayu-v14-home .brand-copy strong{font-size:11px!important}
  body.jayu-v14-home .hero{gap:10px!important;margin-bottom:10px!important}
  body.jayu-v14-home .hero-copy{padding:25px 20px!important;border-radius:15px!important}
  body.jayu-v14-home .jayu-hero-wordmark{font-size:8px;margin-bottom:8px}
  body.jayu-v14-home .hero-copy h1{font-size:clamp(34px,10vw,46px)!important;line-height:1!important;margin:8px 0 14px!important}
  body.jayu-v14-home .jayu-hero-lead{font-size:14px!important;line-height:1.62!important}
  body.jayu-v14-home .jayu-hero-meta{gap:5px;margin-top:14px}
  body.jayu-v14-home .jayu-hero-meta span{font-size:7px;padding:5px 7px}
  body.jayu-v14-home .hero-cta{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  body.jayu-v14-home .hero-cta .btn{width:100%!important;min-width:0!important;padding:10px 8px!important;font-size:10px!important}
  body.jayu-v14-home .jayu-tertiary-link{grid-column:1/-1;justify-content:center;min-height:34px}
  body.jayu-v14-home .jayu-regime-board{padding:10px;margin-top:17px}
  body.jayu-v14-home .jayu-regime-head{align-items:flex-start}
  body.jayu-v14-home .jayu-regime-grid{grid-template-columns:1fr 1fr;gap:6px}
  body.jayu-v14-home .jayu-regime-cell{padding:9px}
  body.jayu-v14-home .jayu-regime-cell strong{font-size:13px}
  body.jayu-v14-home .proof-line{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:18px!important}
  body.jayu-v14-home .proof-line div:last-child{grid-column:1/-1}
  body.jayu-v14-home .hero-side{padding:12px!important;border-radius:15px!important}

  body.jayu-v14-home .jayu-mission-lanes{grid-template-columns:1fr!important;gap:7px;margin-bottom:10px}
  body.jayu-v14-home .jayu-mission-card{padding:12px 13px;grid-template-columns:44px 1fr 16px}
  body.jayu-v14-home .jayu-mission-copy b{font-size:11px}
  body.jayu-v14-home .jayu-mission-copy span{font-size:9px}

  body.jayu-v14-home .jayu-beta-banner{grid-template-columns:1fr!important;gap:7px!important;margin-bottom:10px!important}
  body.jayu-v14-home .jayu-beta-card{padding:13px!important}
  body.jayu-v14-home .jayu-beta-banner h2{font-size:14px!important}
  body.jayu-v14-home .jayu-beta-features{grid-template-columns:1fr!important}
  body.jayu-v14-home .jayu-beta-features>div{display:grid!important;grid-template-columns:120px 1fr!important;gap:8px!important}
  body.jayu-v14-home .jayu-beta-lead{font-size:9.5px!important}

  body.jayu-v14-home .jayu-section-marker{display:block;margin:24px 5px 8px}
  body.jayu-v14-home .jayu-section-marker h2{font-size:24px}
  body.jayu-v14-home .jayu-section-marker p{margin-top:7px;text-align:left;font-size:10px}
  body.jayu-v14-home .jayu-archive-panel .quick-links{grid-template-columns:1fr!important}
  body.jayu-v14-home .footer{display:grid!important;gap:14px!important;padding-left:6px!important;padding-right:6px!important}

  body.jayu-v14-home .jayu-mobile-dock{
    position:fixed;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:95;
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px;
    border:1px solid rgba(94,231,240,.20);border-radius:16px;background:rgba(4,10,15,.96);backdrop-filter:blur(16px);
    box-shadow:0 15px 50px rgba(0,0,0,.45)
  }
  body.jayu-v14-home .jayu-mobile-dock a{
    min-width:0;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    color:#7f98a2;text-decoration:none;border-radius:10px;font:800 8px/1.15 var(--j14-mono);letter-spacing:.04em;text-transform:uppercase
  }
  body.jayu-v14-home .jayu-mobile-dock a b{font-size:14px;color:#b8cbd2;font-family:var(--j14-mono)}
  body.jayu-v14-home .jayu-mobile-dock a.primary{background:#0b1a23;color:#aeeff3}
  body.jayu-v14-home .jayu-mobile-dock a.primary b{color:var(--j14-cyan)}
}
@media(max-width:390px){
  body.jayu-v14-home .hero-cta{grid-template-columns:1fr!important}
  body.jayu-v14-home .jayu-tertiary-link{grid-column:auto}
  body.jayu-v14-home .jayu-regime-grid{grid-template-columns:1fr 1fr}
  body.jayu-v14-home .jayu-beta-features>div{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){
  body.jayu-v14-home *{scroll-behavior:auto!important}
}

/* v14.0.1 mobile polish: identity visible, dock appears only after leaving hero. */
@media(max-width:760px){
  body.jayu-v14-home .topbar .brand-copy{display:block!important;min-width:0!important}
  body.jayu-v14-home .topbar .brand-copy strong{display:block!important;font-size:10px!important;letter-spacing:.12em!important;white-space:nowrap}
  body.jayu-v14-home .topbar .brand-copy span{display:none!important}
  body.jayu-v14-home .jayu-mobile-dock{
    opacity:0;transform:translateY(125%);pointer-events:none;
    transition:opacity .2s ease,transform .2s ease;
  }
  body.jayu-v14-home .jayu-mobile-dock.is-visible{opacity:1;transform:translateY(0);pointer-events:auto}
}
@media(prefers-reduced-motion:reduce){
  body.jayu-v14-home .jayu-mobile-dock{transition:none!important}
}
