:root{--bg:#050b13;--panel:#081525;--panel2:#0b1b2d;--line:rgba(90,245,255,.22);--cyan:#46ecf2;--gold:#ffe879;--muted:#a9bbcf;--white:#f4fbff;--danger:#ff6b73;--green:#55ef9a;--rail:178px;--hud:220px;--gap:28px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--white);background:var(--bg)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 72% 18%,rgba(50,177,255,.18),transparent 35%),radial-gradient(circle at 18% 86%,rgba(255,220,80,.08),transparent 34%),linear-gradient(180deg,#07111d,#030810 70%);overflow-x:hidden}.noscript{padding:32px}.app-shell{min-height:100vh}.app-shell:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(92,245,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(92,245,255,.025) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(#000,transparent 95%)}
a{color:inherit;text-decoration:none}.mobile-bar{display:none}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#42f1d5,#62a9ff);color:#00131d;display:grid;place-items:center;font-weight:1000}.brand-title{font-weight:1000}.brand-sub,.kicker{color:#80fff0;letter-spacing:.18em;text-transform:uppercase;font-size:.74rem;font-weight:900}.left-dock{position:fixed;left:22px;top:50%;transform:translateY(-50%);width:var(--rail);z-index:50;border:1px solid var(--line);border-radius:28px;background:rgba(5,14,25,.82);backdrop-filter:blur(18px);padding:18px 14px;box-shadow:0 0 40px rgba(70,236,242,.1)}.dock-title{text-align:center;color:#7dfff0;font-size:.7rem;letter-spacing:.16em;font-weight:1000;margin-bottom:14px}.left-dock a{display:flex;align-items:center;justify-content:center;height:38px;margin:8px 0;border:1px solid rgba(180,230,255,.16);border-radius:999px;background:rgba(255,255,255,.035);font-size:.72rem;font-weight:1000;letter-spacing:.08em}.left-dock a.active,.left-dock a:hover{background:linear-gradient(135deg,#42f1d5,#62a9ff);color:#00131d;box-shadow:0 0 28px rgba(70,236,242,.24)}
.mission-hud{position:fixed;right:36px;top:50%;transform:translateY(-50%);width:var(--hud);z-index:50;border:1px solid var(--line);border-radius:26px;background:rgba(5,14,25,.84);backdrop-filter:blur(18px);padding:16px;box-shadow:0 0 40px rgba(70,236,242,.08)}.hud-title{color:#7dfff0;letter-spacing:.18em;font-weight:1000;font-size:.72rem;margin-bottom:12px}.mission-hud>div:not(.hud-title){display:grid;grid-template-columns:1fr auto;gap:8px;border-top:1px solid rgba(180,230,255,.12);padding:10px 0}.mission-hud span{color:#b4c6d9;font-size:.65rem;letter-spacing:.12em;font-weight:900}.mission-hud strong{font-size:.86rem;color:#fff;white-space:nowrap}.galaxy-workspace{width:min(100% - (var(--rail) + var(--hud) + 152px),1580px);margin:0 auto;padding:34px 0 80px;display:grid;gap:18px;min-height:100vh}.command-screen,.galaxy-screen,.signal-screen,.outcome-screen,.archive-screen{border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(9,30,45,.88),rgba(4,11,22,.92));box-shadow:inset 0 0 60px rgba(92,245,255,.035),0 20px 80px rgba(0,0,0,.25);padding:24px;overflow:hidden}.hero-copy h1{font-size:clamp(2.5rem,4.6vw,6rem);line-height:.86;letter-spacing:-.075em;text-transform:uppercase;margin:8px 0}.hero-copy p{font-size:clamp(1rem,1.25vw,1.28rem);color:var(--muted);max-width:840px;margin:0 0 18px}.command-grid{display:grid;grid-template-columns:minmax(560px,1.3fr) minmax(340px,.7fr);gap:18px}.nucleus-card{min-height:520px;position:relative;border:1px solid var(--line);border-radius:30px;background:radial-gradient(circle at center,rgba(70,236,242,.13),rgba(2,8,16,.96) 62%);overflow:hidden}.orbit{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid rgba(92,245,255,.18);border-radius:50%;pointer-events:none}.orbit-a{width:76%;aspect-ratio:1}.orbit-b{width:56%;aspect-ratio:1;border-color:rgba(255,232,121,.2)}.orbit-c{width:36%;aspect-ratio:1}.heart{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:200px;height:200px;border-radius:50%;display:grid;place-items:center;align-content:center;text-align:center;gap:4px;border:1px solid rgba(92,245,255,.52);background:radial-gradient(circle,rgba(70,236,242,.28),rgba(5,16,28,.96) 60%);box-shadow:0 0 60px rgba(70,236,242,.28)}.heart:after{content:"";position:absolute;inset:-10px;border-radius:inherit;border:1px solid rgba(70,236,242,.22);animation:pulse 2.4s ease-in-out infinite}.heart span,.node span,.mini-head span,.authority-meter span,.learning-loop span{color:rgba(206,231,255,.72);letter-spacing:.16em;text-transform:uppercase;font-size:.72rem;font-weight:900}.heart strong{font-size:2.45rem}.heart em,.authority-meter em,.learning-loop em{font-style:normal;color:var(--muted)}@keyframes pulse{50%{transform:scale(1.08);opacity:.65}}.node{position:absolute;min-width:150px;text-align:center;padding:13px 14px;border:1px solid rgba(92,245,255,.22);border-radius:20px;background:rgba(6,18,31,.86);box-shadow:0 18px 40px rgba(0,0,0,.28)}.node strong{display:block;font-size:1.04rem;margin-top:4px}.node.top{left:50%;top:28px;transform:translateX(-50%)}.node.left{left:28px;top:50%;transform:translateY(-50%)}.node.right{right:28px;top:50%;transform:translateY(-50%)}.node.bottom{left:50%;bottom:88px;transform:translateX(-50%)}.node.outcome{left:50%;bottom:22px;transform:translateX(-50%);border-color:rgba(255,232,121,.34)}.operator-panel{display:grid;gap:14px}.mini-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.mini-head strong{font-size:1.15rem}.holding-orbit{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.holding{min-height:132px;border-radius:50%;display:grid;place-items:center;align-content:center;border:1px solid rgba(255,232,121,.36);background:radial-gradient(circle,rgba(255,232,121,.15),rgba(4,13,25,.94) 62%)}.holding.eth{border-color:rgba(70,236,242,.38)}.holding b{font-size:1.7rem}.holding span{color:var(--gold);font-weight:1000}.authority-meter,.learning-loop{border:1px solid rgba(92,245,255,.18);border-radius:24px;padding:18px;background:rgba(2,8,17,.72)}.authority-meter strong,.learning-loop strong{display:block;font-size:2rem;margin:8px 0}.authority-meter i{display:block;height:14px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.authority-meter i b{display:block;width:38%;height:100%;background:linear-gradient(90deg,var(--danger),var(--gold));border-radius:inherit}.galaxy-screen,.signal-screen{display:grid;grid-template-columns:1.3fr .7fr;gap:18px}.universe-card,.radar-card,.signal-galaxy-card,.cognitive-galaxy-card,.outcome-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.72);padding:18px;min-height:360px;overflow:hidden}.universe-map{height:520px;position:relative;margin-top:14px;border-radius:28px;background:radial-gradient(circle at 50% 50%,rgba(70,236,242,.15),transparent 62%)}.asset{position:absolute;display:grid;place-items:center;border-radius:50%;font-style:normal;font-weight:1000;color:#fff;border:1px solid rgba(92,245,255,.24);background:rgba(5,16,29,.92);box-shadow:0 0 26px rgba(70,236,242,.08)}.asset.core{border-color:rgba(255,232,121,.65);box-shadow:0 0 36px rgba(255,232,121,.18)}.asset.ipo{border-radius:999px;color:var(--gold);padding:0 12px}.eth{left:38%;top:35%;width:108px;height:108px}.lcai{left:52%;top:43%;width:120px;height:120px}.rxs{left:26%;top:52%;width:88px;height:88px}.btc{left:13%;top:34%;width:82px;height:82px}.sol{left:25%;top:18%;width:74px;height:74px}.doge{left:33%;bottom:16%;width:72px;height:72px}.rndr{left:62%;bottom:18%;width:72px;height:72px}.avax{left:16%;bottom:24%;width:68px;height:68px}.bnb{left:44%;bottom:8%;width:68px;height:68px}.nvda{left:48%;top:5%;width:82px;height:82px}.amd{right:25%;top:52%;width:74px;height:74px}.pltr{right:8%;top:34%;width:78px;height:78px}.tsla{right:16%;top:15%;width:82px;height:82px}.msft{right:32%;bottom:7%;width:72px;height:72px}.googl{right:7%;bottom:22%;width:72px;height:72px}.rklb{right:43%;bottom:20%;width:70px;height:70px}.spacex{left:36%;top:68%;height:54px;min-width:126px}.xai{left:58%;top:70%;height:44px;min-width:70px}.openai{right:14%;top:65%;height:48px;min-width:96px}.anthropic{right:20%;bottom:7%;height:44px;min-width:112px}.radar-disc,.cognitive-map{position:relative;width:min(360px,100%);aspect-ratio:1;margin:32px auto;border:1px solid rgba(92,245,255,.24);border-radius:50%;background:radial-gradient(circle,rgba(70,236,242,.14),transparent 66%)}.radar-disc:after{content:"";position:absolute;left:50%;top:50%;height:1px;width:50%;background:linear-gradient(90deg,var(--cyan),transparent);transform-origin:left;animation:sweep 4s linear infinite}.radar-disc b,.cognitive-map b{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:1.4rem}.radar-disc span{position:absolute;color:var(--muted);font-weight:800}.radar-disc span:nth-of-type(1){left:50%;top:8%;transform:translateX(-50%)}.radar-disc span:nth-of-type(2){right:4%;top:34%}.radar-disc span:nth-of-type(3){right:12%;bottom:14%}.radar-disc span:nth-of-type(4){left:50%;bottom:5%;transform:translateX(-50%)}.radar-disc span:nth-of-type(5){left:12%;bottom:14%}.radar-disc span:nth-of-type(6){left:4%;top:34%}@keyframes sweep{to{transform:rotate(360deg)}}.signal-map{position:relative;height:420px;margin-top:18px;border-radius:28px;background:radial-gradient(circle at center,rgba(70,236,242,.11),transparent 64%)}.signal-map i{position:absolute;display:grid;place-items:center;border-radius:50%;font-style:normal;font-weight:1000;border:1px solid rgba(92,245,255,.3);background:rgba(6,18,31,.9);box-shadow:0 0 var(--glow,24px) rgba(70,236,242,.14)}.signal-map i:nth-child(1){left:45%;top:38%;width:115px;height:115px;border-color:rgba(255,232,121,.6)}.signal-map i:nth-child(2){left:25%;top:22%;width:90px;height:90px}.signal-map i:nth-child(3){right:24%;top:24%;width:88px;height:88px}.signal-map i:nth-child(4){left:13%;top:48%;width:78px;height:78px}.signal-map i:nth-child(5){right:12%;top:49%;width:78px;height:78px}.signal-map i:nth-child(6){left:28%;bottom:16%;width:72px;height:72px}.signal-map i:nth-child(7){right:30%;bottom:13%;width:72px;height:72px}.signal-map i:nth-child(8){left:48%;bottom:5%;width:68px;height:68px}.signal-map i:nth-child(9){left:9%;bottom:18%;width:66px;height:66px}.signal-map i:nth-child(10){right:8%;bottom:22%;width:78px;height:78px}.cognitive-map i{position:absolute;border:1px solid rgba(92,245,255,.22);border-radius:999px;padding:9px 12px;font-style:normal;background:rgba(6,18,31,.86);font-weight:900}.cognitive-map i:nth-of-type(1){left:50%;top:8%;transform:translateX(-50%)}.cognitive-map i:nth-of-type(2){right:5%;top:38%}.cognitive-map i:nth-of-type(3){right:17%;bottom:13%}.cognitive-map i:nth-of-type(4){left:18%;bottom:13%}.cognitive-map i:nth-of-type(5){left:5%;top:38%}.cognitive-map i:nth-of-type(6){left:50%;bottom:3%;transform:translateX(-50%)}.flow-loop{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin:28px 0}.flow-loop span{border:1px solid var(--line);border-radius:999px;padding:12px 18px;background:rgba(70,236,242,.06);font-weight:1000}.flow-loop b{color:var(--gold)}.outcome-card p{color:var(--muted);font-size:1.05rem;max-width:900px;margin:0 auto;text-align:center}.archive-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}details{border:1px solid rgba(92,245,255,.18);border-radius:18px;background:rgba(2,9,18,.68);padding:14px}summary{cursor:pointer;font-weight:1000;color:#fff}details p{color:var(--muted)}
@media(max-width:1180px){:root{--rail:132px;--hud:190px}.galaxy-workspace{width:min(100% - (var(--rail) + var(--hud) + 72px),1200px)}.command-grid,.galaxy-screen,.signal-screen{grid-template-columns:1fr}.nucleus-card{min-height:460px}.universe-map{height:460px}.archive-grid{grid-template-columns:1fr 1fr}}
@media(max-width:860px){body{padding-bottom:82px}.mobile-bar{display:flex;position:sticky;top:0;z-index:80;align-items:center;justify-content:space-between;padding:14px 18px;background:rgba(5,11,19,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(92,245,255,.12)}.menu-btn{width:52px;height:52px;border-radius:50%;border:1px solid rgba(180,230,255,.18);background:rgba(255,255,255,.04);color:white;font-size:1.3rem}.left-dock{position:fixed;left:16px;right:16px;top:auto;bottom:14px;transform:none;width:auto;display:grid;grid-template-columns:repeat(5,1fr);gap:6px;border-radius:24px;padding:10px}.dock-title{display:none}.left-dock a{height:42px;margin:0;font-size:.62rem}.mission-hud{display:none}.galaxy-workspace{width:100%;padding:18px 16px 110px;gap:14px}.command-screen,.galaxy-screen,.signal-screen,.outcome-screen,.archive-screen{padding:16px;border-radius:26px}.hero-copy h1{font-size:clamp(2.1rem,11.2vw,4rem)}.command-grid{grid-template-columns:1fr}.nucleus-card{min-height:390px}.heart{width:138px;height:138px}.heart strong{font-size:1.65rem}.node{min-width:100px;padding:10px;font-size:.76rem}.node.top{top:18px}.node.left{left:10px}.node.right{right:10px}.node.bottom{bottom:70px}.node.outcome{bottom:12px}.holding-orbit{grid-template-columns:repeat(3,1fr);gap:6px}.holding{min-height:96px}.holding b{font-size:1.25rem}.authority-meter strong,.learning-loop strong{font-size:1.5rem}.galaxy-screen,.signal-screen{grid-template-columns:1fr}.universe-map{height:360px}.universe-card,.radar-card,.signal-galaxy-card,.cognitive-galaxy-card,.outcome-card{min-height:auto}.asset{font-size:.7rem}.eth{left:14%;top:17%;width:70px;height:70px}.lcai{left:43%;top:34%;width:82px;height:82px}.rxs{left:24%;top:66%;width:62px;height:62px}.btc{left:6%;top:43%;width:58px;height:58px}.sol,.doge,.avax,.bnb,.msft,.googl,.xai,.openai,.anthropic{display:none}.rndr{left:52%;bottom:14%;width:56px;height:56px}.nvda{left:46%;top:6%;width:62px;height:62px}.amd{right:22%;top:58%;width:60px;height:60px}.pltr{right:6%;top:43%;width:62px;height:62px}.tsla{right:12%;top:18%;width:64px;height:64px}.rklb{right:42%;bottom:12%;width:56px;height:56px}.spacex{left:32%;top:72%;height:44px;min-width:110px}.radar-disc,.cognitive-map{width:min(300px,100%)}.signal-map{height:330px}.archive-grid{grid-template-columns:1fr}.flow-loop{gap:8px}.flow-loop span{padding:10px 12px}}


/* V25.1-S2 — Living Galaxy Intelligence enhancements */
.left-dock{width:var(--rail);padding:20px 18px}.left-dock a{height:42px;font-size:.76rem}.mission-hud{right:36px;width:var(--hud)}
.living-field .universe-map:before,.signal-map:before{content:"";position:absolute;inset:8%;border:1px dashed rgba(92,245,255,.13);border-radius:50%;animation:galaxyDrift 18s linear infinite}.living-field .universe-map:after{content:"CRYPTO   ·   AI   ·   SPACE   ·   FUTURE";position:absolute;left:18px;bottom:16px;color:rgba(180,230,255,.55);letter-spacing:.18em;font-size:.66rem;font-weight:900}.asset{animation:floatNode 7s ease-in-out infinite;transform:translateZ(0);will-change:transform,box-shadow}.asset[data-score]::after,.signal-map i::after{content:attr(data-score);position:absolute;right:-5px;top:-7px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(70,236,242,.13);border:1px solid rgba(92,245,255,.34);font-size:.58rem;color:var(--gold)}.asset.core,.signal-map i.major{box-shadow:0 0 42px rgba(255,232,121,.22),0 0 80px rgba(70,236,242,.08)}.asset.lcai,.signal-map i.dominant{box-shadow:0 0 58px rgba(255,232,121,.34),0 0 110px rgba(70,236,242,.18);border-width:2px}.asset.emerging{animation:emerge 4.5s ease-in-out infinite;border-color:rgba(255,232,121,.54)}.asset[data-cluster="ai"]{border-color:rgba(100,170,255,.38)}.asset[data-cluster="future"]{border-color:rgba(255,232,121,.44)}.asset[data-cluster="holdings"]{border-color:rgba(255,232,121,.76)}.radar-card{background:radial-gradient(circle at 50% 56%,rgba(70,236,242,.10),rgba(2,9,18,.72) 64%)}.radar-disc{animation:atmosphereBreathe 7s ease-in-out infinite}.signal-map i{animation:signalFloat 8s ease-in-out infinite}.signal-map i.dominant{border-color:rgba(255,232,121,.78);width:118px!important;height:118px!important}.flow-loop{position:relative}.flow-loop:before{content:"";position:absolute;inset:10% 5%;border-top:1px solid rgba(255,232,121,.25);transform:rotate(-7deg);pointer-events:none}.outcome-card{background:radial-gradient(circle at 25% 30%,rgba(255,232,121,.08),rgba(2,9,18,.72) 55%)}.cognitive-drawers details{transition:transform .25s ease,border-color .25s ease}.cognitive-drawers details:hover{transform:translateY(-2px);border-color:rgba(92,245,255,.4)}
@keyframes floatNode{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(5px,-7px) scale(1.025)}}
@keyframes signalFloat{0%,100%{transform:translate(0,0)}50%{transform:translate(-4px,6px)}}
@keyframes emerge{0%,100%{opacity:.78;filter:saturate(1)}50%{opacity:1;filter:saturate(1.35);box-shadow:0 0 48px rgba(255,232,121,.28)}}
@keyframes galaxyDrift{to{transform:rotate(360deg)}}
@keyframes atmosphereBreathe{0%,100%{transform:scale(.98);opacity:.92}50%{transform:scale(1.025);opacity:1}}
@media(max-width:1180px){:root{--rail:148px;--hud:196px}.mission-hud{right:22px}.galaxy-workspace{width:min(100% - (var(--rail) + var(--hud) + 90px),1220px)}}
@media(max-width:860px){.asset[data-score]::after,.signal-map i::after{display:none}.asset,.signal-map i{animation:none}.left-dock{width:auto}.mission-hud{right:auto}.living-field .universe-map:after{display:none}.signal-map i.dominant{width:96px!important;height:96px!important}.signal-map i.major{box-shadow:0 0 30px rgba(255,232,121,.14)}}

/* V25.1-S2A — MOBILE RECOVERY + DEVICE ARCHITECTURE SPLIT
   Hard rule: desktop workstation grid never inherits into mobile app layout. */
@media (max-width: 860px){
  :root{--rail:0px;--hud:0px;--gap:0px}
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body{padding-bottom:calc(96px + env(safe-area-inset-bottom));}
  .app-shell{width:100%;max-width:100%;overflow-x:hidden}

  /* Mobile app shell */
  .mobile-bar{display:flex;position:sticky;top:0;z-index:90;align-items:center;justify-content:space-between;padding:14px 18px;background:rgba(5,11,19,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(92,245,255,.14)}
  .brand-mark{width:56px;height:56px;border-radius:16px}.brand-title{font-size:1.15rem}.brand-sub{font-size:.68rem;letter-spacing:.2em}.menu-btn{width:58px;height:58px;border-radius:50%;border:1px solid rgba(180,230,255,.2);background:rgba(255,255,255,.04);color:white;font-size:1.35rem}

  /* Desktop-only side systems are disabled on mobile */
  .mission-hud{display:none!important}
  .left-dock{position:fixed!important;left:16px!important;right:16px!important;top:auto!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;transform:none!important;width:auto!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;border-radius:24px!important;padding:10px!important;z-index:95!important;background:rgba(5,14,25,.92)!important;backdrop-filter:blur(18px)!important}
  .dock-title{display:none!important}.left-dock a{height:46px!important;margin:0!important;font-size:.64rem!important;letter-spacing:.08em!important;min-width:0!important;padding:0 4px!important;white-space:nowrap!important}

  /* Mobile content is one-column and full width. This overrides every desktop calc. */
  .galaxy-workspace{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:18px 16px calc(124px + env(safe-area-inset-bottom))!important;display:block!important;gap:0!important;overflow-x:hidden!important}
  .command-screen,.galaxy-screen,.signal-screen,.outcome-screen,.archive-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}
  .command-grid,.galaxy-screen,.signal-screen,.operator-panel,.archive-grid{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:14px!important}
  .hero-copy h1{font-size:clamp(2.25rem,11vw,4rem)!important;line-height:.88!important;letter-spacing:-.07em!important;max-width:100%!important;overflow-wrap:normal!important}.hero-copy p{font-size:1.05rem!important;max-width:100%!important}
  .kicker{font-size:.66rem!important;letter-spacing:.17em!important;line-height:1.35!important}

  /* Nucleus mobile sizing */
  .nucleus-card{width:100%!important;min-height:420px!important;max-width:100%!important}.orbit-a{width:86%}.orbit-b{width:66%}.orbit-c{width:46%}.heart{width:138px!important;height:138px!important}.heart strong{font-size:1.68rem!important}.heart span,.node span,.mini-head span,.authority-meter span,.learning-loop span{font-size:.64rem!important}.node{min-width:98px!important;max-width:132px!important;padding:10px!important;font-size:.78rem!important}.node.top{top:18px!important}.node.left{left:8px!important}.node.right{right:8px!important}.node.bottom{bottom:70px!important}.node.outcome{bottom:12px!important}

  /* Holdings and panels */
  .mini-head{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;align-items:start!important}.mini-head strong{font-size:1.45rem!important;line-height:1.1!important}.holding-orbit{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.holding{min-height:108px!important}.holding b{font-size:1.28rem!important}.holding span{font-size:.95rem!important}.authority-meter strong,.learning-loop strong{font-size:1.55rem!important}.authority-meter,.learning-loop{padding:16px!important}

  /* Visual maps: no desktop columns, no narrow strips */
  .universe-card,.radar-card,.signal-galaxy-card,.cognitive-galaxy-card,.outcome-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important}.universe-map{width:100%!important;height:400px!important;margin-top:16px!important;overflow:hidden!important}.signal-map{width:100%!important;height:390px!important;margin-top:16px!important;overflow:hidden!important}.radar-disc,.cognitive-map{width:min(320px,100%)!important;margin:28px auto!important}

  /* Mobile galaxy positions: compact and non-overflowing */
  .asset{font-size:.72rem!important}.asset[data-score]::after,.signal-map i::after{display:none!important}.asset,.signal-map i{animation:none!important}.living-field .universe-map:after,.living-field .universe-map:before,.signal-map:before{display:none!important}
  .eth{left:15%!important;top:17%!important;width:76px!important;height:76px!important}.lcai{left:42%!important;top:35%!important;width:88px!important;height:88px!important}.rxs{left:22%!important;top:65%!important;width:66px!important;height:66px!important}.btc{left:6%!important;top:43%!important;width:60px!important;height:60px!important}.nvda{left:46%!important;top:7%!important;width:66px!important;height:66px!important}.tsla{right:10%!important;top:18%!important;width:66px!important;height:66px!important}.pltr{right:6%!important;top:43%!important;width:64px!important;height:64px!important}.amd{right:22%!important;top:58%!important;width:62px!important;height:62px!important}.rndr{left:52%!important;bottom:14%!important;width:58px!important;height:58px!important}.rklb{right:42%!important;bottom:12%!important;width:58px!important;height:58px!important}.spacex{left:32%!important;top:72%!important;height:44px!important;min-width:110px!important}.sol,.doge,.avax,.bnb,.msft,.googl,.xai,.openai,.anthropic{display:none!important}

  .signal-map i:nth-child(1){left:43%!important;top:36%!important;width:96px!important;height:96px!important}.signal-map i:nth-child(2){left:26%!important;top:18%!important;width:92px!important;height:92px!important}.signal-map i:nth-child(3){right:20%!important;top:20%!important;width:88px!important;height:88px!important}.signal-map i:nth-child(4){left:12%!important;top:48%!important;width:72px!important;height:72px!important}.signal-map i:nth-child(5){right:10%!important;top:49%!important;width:72px!important;height:72px!important}.signal-map i:nth-child(6){left:28%!important;bottom:17%!important;width:70px!important;height:70px!important}.signal-map i:nth-child(7){right:30%!important;bottom:16%!important;width:68px!important;height:68px!important}.signal-map i:nth-child(8){left:48%!important;bottom:6%!important;width:66px!important;height:66px!important}.signal-map i:nth-child(9){left:8%!important;bottom:20%!important;width:64px!important;height:64px!important}.signal-map i:nth-child(10){right:8%!important;bottom:24%!important;width:72px!important;height:72px!important}

  .flow-loop{gap:8px!important;justify-content:center!important}.flow-loop span{padding:10px 12px!important;font-size:.9rem!important}.outcome-card p{text-align:center!important;font-size:1rem!important}.archive-grid{grid-template-columns:1fr!important}details{padding:18px!important}
}

/* V25.2 — COGNITIVE ATMOSPHERE ENGINE */
.atmosphere-screen{display:grid;grid-template-columns:1.05fr .95fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(8,24,38,.88),rgba(3,10,19,.92));box-shadow:inset 0 0 70px rgba(92,245,255,.04),0 20px 80px rgba(0,0,0,.22);padding:24px;overflow:hidden}
.atmosphere-core-card,.temperature-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.72);padding:18px;min-height:360px;overflow:hidden;position:relative}
.weather-map{height:300px;margin-top:18px;border-radius:28px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(255,232,121,.12),transparent 20%),radial-gradient(circle at 50% 50%,rgba(70,236,242,.14),transparent 62%)}
.weather-map:before,.weather-map:after{content:"";position:absolute;inset:8%;border-radius:50%;border:1px dashed rgba(92,245,255,.18);animation:atmosphereSpin 22s linear infinite}.weather-map:after{inset:22%;border-color:rgba(255,232,121,.18);animation-duration:16s;animation-direction:reverse}
.pressure-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:172px;height:172px;border-radius:50%;display:grid;place-items:center;align-content:center;text-align:center;border:1px solid rgba(255,232,121,.46);background:radial-gradient(circle,rgba(255,232,121,.18),rgba(6,18,31,.94) 64%);box-shadow:0 0 64px rgba(255,232,121,.14);animation:pressureBreathe 5.6s ease-in-out infinite}.pressure-core span{font-size:.65rem;color:var(--muted);letter-spacing:.16em;font-weight:900}.pressure-core strong{font-size:1.2rem;color:#fff}.pressure-core em{font-style:normal;color:var(--gold);font-weight:900;font-size:.78rem}
.wind{position:absolute;font-style:normal;font-size:.72rem;letter-spacing:.12em;font-weight:1000;color:rgba(220,245,255,.78);border:1px solid rgba(92,245,255,.20);background:rgba(5,16,29,.74);border-radius:999px;padding:9px 12px;box-shadow:0 0 28px rgba(70,236,242,.08)}.wind-a{left:7%;top:20%;animation:windDrift 6s ease-in-out infinite}.wind-b{right:8%;top:28%;animation:windDrift 7s ease-in-out infinite reverse}.wind-c{left:18%;bottom:17%;animation:windDrift 8s ease-in-out infinite}.wind-d{right:16%;bottom:18%;animation:windDrift 6.5s ease-in-out infinite reverse}
.temperature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:22px}.temp{min-height:112px;border:1px solid rgba(92,245,255,.18);border-radius:24px;display:grid;place-items:center;align-content:center;text-align:center;background:rgba(5,16,29,.78)}.temp b{font-size:1.75rem}.temp span{font-size:.74rem;letter-spacing:.15em;font-weight:1000;color:var(--muted)}.temp.hot{border-color:rgba(255,232,121,.58);box-shadow:0 0 46px rgba(255,232,121,.15)}.temp.warm{border-color:rgba(70,236,242,.38);box-shadow:0 0 34px rgba(70,236,242,.09)}.temp.cool{border-color:rgba(160,190,255,.26)}.gravity-note{margin-top:14px;border:1px solid rgba(92,245,255,.16);border-radius:20px;padding:16px;background:rgba(2,8,17,.68)}.gravity-note span{display:block;color:var(--muted);font-size:.68rem;letter-spacing:.16em;font-weight:900}.gravity-note strong{display:block;margin-top:6px;color:#fff}.atmosphere-disc{box-shadow:0 0 90px rgba(70,236,242,.10)}
.asset[data-temp="hot"],.temp.hot{animation:temperaturePulse 3.2s ease-in-out infinite}.asset[data-temp="warm"]{box-shadow:0 0 42px rgba(70,236,242,.16)}
@keyframes atmosphereSpin{to{transform:rotate(360deg)}}@keyframes pressureBreathe{0%,100%{transform:translate(-50%,-50%) scale(.98)}50%{transform:translate(-50%,-50%) scale(1.05)}}@keyframes windDrift{0%,100%{transform:translateX(0)}50%{transform:translateX(12px)}}@keyframes temperaturePulse{0%,100%{filter:saturate(1)}50%{filter:saturate(1.45);box-shadow:0 0 64px rgba(255,232,121,.25)}}
@media(max-width:860px){.atmosphere-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.atmosphere-core-card,.temperature-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.weather-map{height:330px!important}.pressure-core{width:150px!important;height:150px!important}.temperature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.temp{min-height:96px!important}.temp b{font-size:1.35rem!important}.wind{font-size:.62rem!important;padding:8px 10px!important}.wind-a{left:5%!important;top:18%!important}.wind-b{right:4%!important;top:28%!important}.wind-c{left:8%!important;bottom:16%!important}.wind-d{right:6%!important;bottom:18%!important}}

/* V25.3 — TEMPORAL INTELLIGENCE ENGINE */
.temporal-screen{display:grid;grid-template-columns:1.12fr .88fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(9,28,43,.88),rgba(3,9,18,.94));box-shadow:inset 0 0 70px rgba(92,245,255,.04),0 20px 80px rgba(0,0,0,.22);padding:24px;overflow:hidden}
.migration-card,.transition-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.72);padding:18px;min-height:380px;overflow:hidden;position:relative}.migration-map{height:330px;margin-top:18px;border-radius:28px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(70,236,242,.13),transparent 60%),radial-gradient(circle at 78% 22%,rgba(255,232,121,.09),transparent 30%)}.migration-map:before{content:"";position:absolute;inset:12%;border:1px dashed rgba(92,245,255,.18);border-radius:50%;animation:atmosphereSpin 28s linear infinite}.trail{position:absolute;height:2px;border-radius:99px;background:linear-gradient(90deg,transparent,rgba(70,236,242,.65),transparent);opacity:.62;transform-origin:left}.t1{left:21%;top:57%;width:38%;transform:rotate(-18deg);animation:trailPulse 3.2s ease-in-out infinite}.t2{left:43%;top:41%;width:30%;transform:rotate(-35deg);animation:trailPulse 3.8s ease-in-out infinite reverse}.t3{right:10%;top:24%;width:28%;transform:rotate(28deg);animation:trailPulse 4.5s ease-in-out infinite}.migrator{position:absolute;display:grid;place-items:center;align-content:center;text-align:center;border-radius:50%;border:1px solid rgba(92,245,255,.28);background:rgba(5,16,29,.92);box-shadow:0 0 36px rgba(70,236,242,.12);font-weight:1000}.migrator b{font-size:1.15rem}.migrator span{font-size:.62rem;color:var(--muted);letter-spacing:.06em;padding:0 8px}.lcai-m{left:32%;top:34%;width:104px;height:104px;border-color:rgba(255,232,121,.68);box-shadow:0 0 58px rgba(255,232,121,.18);animation:migrateUp 5.4s ease-in-out infinite}.eth-m{left:14%;top:54%;width:92px;height:92px;animation:migrateSide 6s ease-in-out infinite}.nvda-m{right:23%;top:20%;width:96px;height:96px;animation:migrateUp 5.8s ease-in-out infinite reverse}.rxs-m{right:28%;bottom:14%;width:82px;height:82px;border-color:rgba(160,190,255,.35);animation:migrateDown 6.2s ease-in-out infinite}.spacex-m{right:8%;top:48%;width:108px;height:72px;border-radius:999px;color:var(--gold);animation:emerge 7s ease-in-out infinite}.transition-ring{position:relative;width:min(280px,100%);aspect-ratio:1;margin:24px auto 16px;border-radius:50%;display:grid;place-items:center;align-content:center;text-align:center;border:1px solid rgba(255,232,121,.36);background:conic-gradient(from 20deg,rgba(255,232,121,.55) 0 67%,rgba(92,245,255,.12) 67% 100%);box-shadow:0 0 66px rgba(255,232,121,.12)}.transition-ring:after{content:"";position:absolute;inset:14px;border-radius:inherit;background:radial-gradient(circle,rgba(7,20,34,.96),rgba(3,9,18,.98));z-index:0}.transition-ring>*{position:relative;z-index:1}.transition-ring span{font-size:.66rem;color:var(--muted);letter-spacing:.16em;font-weight:900}.transition-ring strong{font-size:1.42rem}.transition-ring em{font-style:normal;color:var(--gold);font-weight:900}.transition-ring b{display:block;margin-top:7px;font-size:.72rem;letter-spacing:.12em;color:#7dfff0}.momentum-stack{display:grid;gap:10px}.momentum-stack div{display:grid;grid-template-columns:1fr auto;gap:12px;border:1px solid rgba(92,245,255,.14);border-radius:18px;padding:12px 14px;background:rgba(5,16,29,.72)}.momentum-stack span{font-size:.66rem;color:var(--muted);letter-spacing:.14em;font-weight:900}.momentum-stack strong{font-size:.9rem;color:#fff}.temporal-loop span{border-color:rgba(255,232,121,.28)!important}.asset:before,.signal-map i:before{content:"";position:absolute;inset:-6px;border-radius:inherit;border:1px solid rgba(255,255,255,.08);opacity:.65;animation:temporalHalo 4.8s ease-in-out infinite;pointer-events:none}.asset.core:before{border-color:rgba(255,232,121,.22)}
@keyframes trailPulse{0%,100%{opacity:.25;filter:blur(.2px)}50%{opacity:.9;filter:blur(0)}}@keyframes migrateUp{0%,100%{transform:translate(0,0)}50%{transform:translate(10px,-12px)}}@keyframes migrateSide{0%,100%{transform:translate(0,0)}50%{transform:translate(16px,-3px)}}@keyframes migrateDown{0%,100%{transform:translate(0,0)}50%{transform:translate(-7px,12px)}}@keyframes emerge{0%,100%{transform:translateX(8px);opacity:.78}50%{transform:translateX(-14px);opacity:1}}@keyframes temporalHalo{0%,100%{transform:scale(.98);opacity:.34}50%{transform:scale(1.08);opacity:.78}}
@media(max-width:860px){.temporal-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.migration-card,.transition-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.migration-map{height:340px!important}.lcai-m{left:30%!important;top:30%!important;width:88px!important;height:88px!important}.eth-m{left:8%!important;top:52%!important;width:76px!important;height:76px!important}.nvda-m{right:12%!important;top:18%!important;width:78px!important;height:78px!important}.rxs-m{right:18%!important;bottom:12%!important;width:70px!important;height:70px!important}.spacex-m{right:8%!important;top:52%!important;width:98px!important;height:58px!important}.migrator span{font-size:.55rem}.transition-ring{width:min(240px,100%)!important}.momentum-stack div{grid-template-columns:1fr!important;text-align:center}.asset:before,.signal-map i:before{display:none!important}}

/* V26 — AUTONOMOUS INTELLIGENCE LAYER */
.autonomy-screen,.scenario-screen{display:grid;grid-template-columns:1.05fr .95fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(9,28,43,.88),rgba(3,9,18,.94));box-shadow:inset 0 0 80px rgba(92,245,255,.04),0 20px 80px rgba(0,0,0,.22);padding:24px;overflow:hidden}
.future-card,.navigator-card,.tree-card,.forecast-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.72);padding:18px;min-height:380px;overflow:hidden;position:relative}.future-orbits{height:330px;margin-top:18px;position:relative;border-radius:28px;background:radial-gradient(circle at 50% 50%,rgba(255,232,121,.13),transparent 28%),radial-gradient(circle at 50% 50%,rgba(70,236,242,.14),transparent 66%)}.future-orbits:before{content:"";position:absolute;inset:9%;border-radius:50%;border:1px dashed rgba(92,245,255,.18);animation:atmosphereSpin 26s linear infinite}.future-orbits:after{content:"";position:absolute;inset:22%;border-radius:50%;border:1px solid rgba(255,232,121,.18);animation:atmosphereSpin 18s linear infinite reverse}.future-node{position:absolute;display:grid;place-items:center;align-content:center;text-align:center;border-radius:50%;background:rgba(5,16,29,.92);border:1px solid rgba(92,245,255,.28);box-shadow:0 0 42px rgba(70,236,242,.1);z-index:2}.future-node span{font-size:.62rem;color:var(--muted);letter-spacing:.14em;font-weight:1000}.future-node strong{font-size:1rem}.future-node em{font-style:normal;color:var(--gold);font-weight:1000}.future-node.base{left:35%;top:22%;width:142px;height:142px;border-color:rgba(255,232,121,.58);box-shadow:0 0 70px rgba(255,232,121,.18);animation:autonomousPulse 4.8s ease-in-out infinite}.future-node.alt{right:12%;top:44%;width:112px;height:112px;animation:autonomousDrift 6s ease-in-out infinite}.future-node.stress{left:12%;bottom:13%;width:104px;height:104px;border-color:rgba(255,107,115,.35);animation:autonomousDrift 7s ease-in-out infinite reverse}.scenario-line{position:absolute;height:2px;background:linear-gradient(90deg,transparent,rgba(70,236,242,.62),transparent);transform-origin:left;opacity:.65;z-index:1}.s-a{left:48%;top:44%;width:28%;transform:rotate(22deg)}.s-b{left:31%;top:50%;width:30%;transform:rotate(135deg)}.s-c{left:26%;top:63%;width:42%;transform:rotate(-18deg)}.recommendation-core{margin-top:18px;min-height:180px;border:1px solid rgba(255,232,121,.24);border-radius:26px;background:radial-gradient(circle at 50% 10%,rgba(255,232,121,.12),transparent 62%),rgba(5,16,29,.86);display:grid;align-content:center;gap:8px;padding:24px}.recommendation-core span,.action-stack span{font-size:.66rem;color:var(--muted);letter-spacing:.16em;font-weight:1000}.recommendation-core strong{font-size:clamp(1.8rem,2.4vw,3rem);line-height:.95}.recommendation-core em{font-style:normal;color:var(--muted);font-size:1.02rem}.action-stack{display:grid;gap:12px;margin-top:14px}.action-stack div{border:1px solid rgba(92,245,255,.16);border-radius:20px;background:rgba(5,16,29,.72);padding:14px 16px;display:grid;grid-template-columns:90px 1fr;align-items:center}.action-stack strong{font-size:1.02rem}.scenario-tree{height:330px;margin-top:18px;position:relative;border-radius:28px;background:radial-gradient(circle at 30% 50%,rgba(70,236,242,.15),transparent 58%)}.tree-now{position:absolute;left:7%;top:42%;width:112px;height:112px;border-radius:50%;display:grid;place-items:center;align-content:center;text-align:center;border:1px solid rgba(92,245,255,.38);background:rgba(5,16,29,.92);font-weight:1000;z-index:2}.branch{position:absolute;border:1px solid rgba(92,245,255,.2);border-radius:999px;background:rgba(5,16,29,.88);padding:16px 18px;min-width:230px;box-shadow:0 0 38px rgba(70,236,242,.08)}.branch:before{content:"";position:absolute;right:100%;top:50%;height:2px;width:150px;background:linear-gradient(90deg,transparent,rgba(70,236,242,.55));transform-origin:right}.branch span{display:block;color:var(--gold);font-weight:1000;letter-spacing:.08em}.branch strong{font-size:1rem}.b1{right:8%;top:18%}.b2{right:3%;top:47%}.b3{right:10%;bottom:13%;border-color:rgba(255,107,115,.28)}.forecast-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}.forecast-grid div{min-height:130px;border:1px solid rgba(92,245,255,.18);border-radius:24px;background:rgba(5,16,29,.78);display:grid;place-items:center;align-content:center;text-align:center;padding:12px}.forecast-grid span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#00131d;background:linear-gradient(135deg,#42f1d5,#62a9ff);font-weight:1000}.forecast-grid strong{font-size:1.6rem}.forecast-grid em{font-style:normal;color:var(--muted);font-weight:800}.navigator-card:after,.future-card:after{content:"AUTONOMOUS · SIMULATION ONLY";position:absolute;right:18px;bottom:12px;color:rgba(128,255,240,.28);font-size:.62rem;letter-spacing:.16em;font-weight:1000}
@keyframes autonomousPulse{0%,100%{transform:scale(.98);filter:saturate(1)}50%{transform:scale(1.04);filter:saturate(1.35)}}@keyframes autonomousDrift{0%,100%{transform:translate(0,0)}50%{transform:translate(10px,-9px)}}
@media(max-width:860px){.autonomy-screen,.scenario-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.future-card,.navigator-card,.tree-card,.forecast-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.future-orbits,.scenario-tree{height:340px!important}.future-node.base{left:32%!important;top:20%!important;width:116px!important;height:116px!important}.future-node.alt{right:7%!important;top:43%!important;width:96px!important;height:96px!important}.future-node.stress{left:8%!important;bottom:12%!important;width:88px!important;height:88px!important}.future-node strong{font-size:.86rem!important}.action-stack div{grid-template-columns:1fr!important;text-align:center;gap:4px}.recommendation-core{min-height:190px!important;padding:18px!important}.recommendation-core strong{font-size:1.85rem!important}.tree-now{left:50%!important;top:16%!important;transform:translateX(-50%);width:92px!important;height:92px!important}.branch{left:50%!important;right:auto!important;transform:translateX(-50%);min-width:240px!important;text-align:center}.branch:before{display:none!important}.b1{top:46%!important}.b2{top:64%!important}.b3{bottom:4%!important}.forecast-grid{grid-template-columns:1fr!important}.forecast-grid div{min-height:102px!important}.navigator-card:after,.future-card:after{display:none!important}}


/* V26.1 — COGNITIVE NAVIGATOR LAYER */
.navigator-screen{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(8,30,45,.9),rgba(3,9,18,.95));box-shadow:inset 0 0 80px rgba(92,245,255,.045),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}.route-card,.rank-card,.risk-route-card,.allocation-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.72);padding:18px;min-height:300px;position:relative;overflow:hidden}.route-card{grid-row:span 2}.route-orbit{height:620px;position:relative;margin-top:14px;border-radius:28px;background:radial-gradient(circle at 50% 50%,rgba(70,236,242,.14),transparent 62%)}.route-orbit:before{content:"";position:absolute;inset:11%;border-radius:50%;border:1px dashed rgba(92,245,255,.18);animation:atmosphereSpin 28s linear infinite}.route-node{position:absolute;display:grid;place-items:center;align-content:center;text-align:center;border:1px solid rgba(92,245,255,.24);background:rgba(5,16,29,.92);border-radius:28px;min-width:132px;min-height:82px;padding:12px;z-index:2;box-shadow:0 0 36px rgba(70,236,242,.08)}.route-node span,.rank span,.risk-corridor span,.allocation-rings span{font-size:.66rem;color:var(--muted);letter-spacing:.14em;font-weight:1000;text-transform:uppercase}.route-node strong{font-size:1.18rem}.route-node em{font-style:normal;color:var(--gold);font-size:.78rem;font-weight:900}.route-node.start{left:50%;top:42%;transform:translate(-50%,-50%);border-radius:50%;width:138px;height:138px;border-color:rgba(255,232,121,.48);box-shadow:0 0 64px rgba(255,232,121,.14)}.route-node.watch{left:12%;top:24%}.route-node.wait{right:12%;top:25%}.route-node.avoid{right:12%;bottom:20%;border-color:rgba(255,107,115,.34)}.route-node.learn{left:12%;bottom:20%;border-color:rgba(255,232,121,.32)}.route-path{position:absolute;left:50%;top:50%;width:36%;height:2px;background:linear-gradient(90deg,rgba(70,236,242,.65),transparent);transform-origin:left;opacity:.72}.p1{transform:rotate(-145deg)}.p2{transform:rotate(-35deg)}.p3{transform:rotate(42deg)}.rank-stack{display:grid;gap:12px;margin-top:18px}.rank{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:center;border:1px solid rgba(92,245,255,.16);border-radius:22px;background:rgba(5,16,29,.76);padding:15px}.rank span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(70,236,242,.14);color:#8ffff3}.rank strong{font-size:1.45rem}.rank em{grid-column:2;font-style:normal;color:var(--muted);font-weight:800}.rank.hot{border-color:rgba(255,232,121,.42);box-shadow:0 0 40px rgba(255,232,121,.08)}.rank.hot span{background:rgba(255,232,121,.18);color:var(--gold)}.risk-corridor{height:190px;margin-top:18px;border-radius:26px;border:1px solid rgba(255,232,121,.22);background:radial-gradient(circle at 20% 50%,rgba(255,107,115,.14),transparent 42%),rgba(5,16,29,.76);display:grid;align-content:center;gap:10px;padding:22px}.risk-corridor b{font-size:2.1rem}.risk-corridor i{display:block;height:14px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.risk-corridor i:before{content:"";display:block;width:44%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--danger),var(--gold))}.allocation-rings{height:190px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.allocation-rings div{border-radius:50%;border:1px solid rgba(255,232,121,.34);background:radial-gradient(circle,rgba(255,232,121,.13),rgba(5,16,29,.92) 64%);display:grid;place-items:center;align-content:center}.allocation-rings div:first-child{border-color:rgba(70,236,242,.34)}.allocation-rings b{font-size:1.45rem}.allocation-rings span{color:var(--gold)}
@media(max-width:860px){.navigator-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.route-card,.rank-card,.risk-route-card,.allocation-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.route-orbit{height:430px!important}.route-node{min-width:106px!important;min-height:68px!important;border-radius:22px!important}.route-node.start{width:116px!important;height:116px!important}.route-node.watch{left:5%!important;top:18%!important}.route-node.wait{right:5%!important;top:18%!important}.route-node.avoid{right:5%!important;bottom:14%!important}.route-node.learn{left:5%!important;bottom:14%!important}.route-node strong{font-size:.94rem!important}.rank{grid-template-columns:48px 1fr!important}.rank strong{font-size:1.22rem!important}.risk-corridor{height:170px!important}.allocation-rings{height:auto!important;grid-template-columns:1fr!important}.allocation-rings div{height:104px!important;border-radius:26px!important}}


/* V26.2 — AUTONOMOUS MEMORY LAYER */
.memory-screen{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(11,31,43,.9),rgba(3,9,18,.95));box-shadow:inset 0 0 90px rgba(255,232,121,.035),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}.ledger-card,.memory-vault-card,.regime-memory-card,.replay-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.72);padding:18px;position:relative;overflow:hidden;min-height:270px}.ledger-card{grid-row:span 2}.ledger-timeline{display:grid;gap:14px;margin-top:18px}.ledger-item{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center;border:1px solid rgba(92,245,255,.16);border-radius:24px;background:rgba(5,16,29,.78);padding:15px;position:relative}.ledger-item:after{content:"";position:absolute;left:27px;top:100%;height:14px;width:2px;background:linear-gradient(var(--cyan),transparent)}.ledger-item:last-child:after{display:none}.ledger-item span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(70,236,242,.14);color:#8ffff3;font-weight:1000}.ledger-item strong{font-size:1.25rem}.ledger-item em{grid-column:2;font-style:normal;color:var(--muted);font-weight:800}.ledger-item.success{border-color:rgba(85,239,154,.26);box-shadow:0 0 34px rgba(85,239,154,.06)}.ledger-item.caution{border-color:rgba(255,107,115,.24)}.ledger-item.neutral{border-color:rgba(255,232,121,.22)}.memory-vault{height:350px;margin-top:18px;position:relative;border-radius:28px;background:radial-gradient(circle at 50% 50%,rgba(255,232,121,.13),transparent 32%),radial-gradient(circle at 50% 50%,rgba(70,236,242,.13),transparent 66%)}.memory-ring{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;border:1px dashed rgba(92,245,255,.18)}.memory-ring.r1{width:72%;height:72%;animation:atmosphereSpin 30s linear infinite}.memory-ring.r2{width:52%;height:52%;border-color:rgba(255,232,121,.2);animation:atmosphereSpin 24s linear infinite reverse}.memory-ring.r3{width:34%;height:34%;animation:atmosphereSpin 18s linear infinite}.memory-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:136px;height:136px;border-radius:50%;display:grid;place-items:center;align-content:center;text-align:center;border:1px solid rgba(255,232,121,.5);background:rgba(5,16,29,.94);box-shadow:0 0 58px rgba(255,232,121,.16);z-index:2}.memory-core span,.memory-node span,.memory-stats span{font-size:.66rem;color:var(--muted);letter-spacing:.14em;font-weight:1000;text-transform:uppercase}.memory-core strong{font-size:2.15rem}.memory-core em{font-style:normal;color:var(--muted);font-size:.78rem}.memory-node{position:absolute;border:1px solid rgba(92,245,255,.2);border-radius:22px;background:rgba(5,16,29,.88);padding:12px 14px;display:grid;gap:4px;min-width:130px;text-align:center;z-index:2}.memory-node b{font-size:.92rem}.memory-node.m1{left:7%;top:18%}.memory-node.m2{right:5%;top:34%}.memory-node.m3{left:17%;bottom:12%}.memory-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.memory-stats div{min-height:160px;border:1px solid rgba(92,245,255,.16);border-radius:50%;display:grid;place-items:center;align-content:center;text-align:center;background:radial-gradient(circle,rgba(70,236,242,.11),rgba(5,16,29,.92) 62%);padding:12px}.memory-stats strong{font-size:2rem}.memory-stats em{font-style:normal;color:var(--muted);font-size:.75rem;font-weight:800}.replay-loop{min-height:190px;margin-top:20px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.replay-loop span{width:108px;height:108px;border-radius:50%;border:1px solid rgba(92,245,255,.22);background:rgba(5,16,29,.86);display:grid;place-items:center;text-align:center;font-weight:1000}.replay-loop b{color:var(--gold);font-size:1.5rem}@media(max-width:860px){.memory-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.ledger-card,.memory-vault-card,.regime-memory-card,.replay-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.ledger-item{grid-template-columns:48px 1fr!important;padding:13px!important}.ledger-item strong{font-size:1.05rem!important}.memory-vault{height:340px!important}.memory-core{width:118px!important;height:118px!important}.memory-core strong{font-size:1.75rem!important}.memory-node{min-width:112px!important;padding:10px!important}.memory-node.m1{left:4%!important;top:12%!important}.memory-node.m2{right:3%!important;top:36%!important}.memory-node.m3{left:9%!important;bottom:10%!important}.memory-stats{grid-template-columns:1fr!important}.memory-stats div{height:110px!important;border-radius:26px!important}.replay-loop span{width:92px!important;height:92px!important}.replay-loop{gap:8px!important}}

/* V27 — EXECUTIVE INTELLIGENCE LAYER */
.executive-screen{display:grid;grid-template-columns:1.12fr .88fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(12,35,48,.92),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(255,232,121,.04),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}.executive-board,.decision-authority-card,.allocation-intel-card,.why-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.74);padding:18px;position:relative;overflow:hidden}.executive-board{grid-column:1/-1}.exec-hero-grid{display:grid;grid-template-columns:1.2fr 1fr repeat(2,.78fr);gap:14px;margin-top:18px}.exec-hero-grid>div{min-height:150px;border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 30% 18%,rgba(70,236,242,.10),transparent 48%),rgba(5,16,29,.78);padding:18px;display:grid;align-content:center;gap:8px}.exec-hero-grid span,.decision-stack span,.allocation-bars span,.why-list p{color:rgba(206,231,255,.76);letter-spacing:.14em;text-transform:uppercase;font-size:.72rem;font-weight:1000}.exec-hero-grid strong{font-size:clamp(1.5rem,2.6vw,3.2rem);line-height:.95}.exec-hero-grid em,.decision-stack em{font-style:normal;color:var(--muted);font-weight:800}.exec-primary{border-color:rgba(255,232,121,.48)!important;box-shadow:0 0 46px rgba(255,232,121,.08)}.exec-primary strong{color:var(--gold)}.exec-confidence i{display:block;height:15px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.exec-confidence i b{display:block;width:84%;height:100%;background:linear-gradient(90deg,var(--cyan),var(--gold));border-radius:inherit}.decision-stack{display:grid;gap:12px;margin-top:16px}.decision-stack>div{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:center;border:1px solid rgba(92,245,255,.16);border-radius:22px;background:rgba(5,16,29,.76);padding:14px}.decision-stack span{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(70,236,242,.14);color:#8ffff3}.decision-stack strong{font-size:1.25rem}.decision-stack em{grid-column:2}.decision-stack .winner{border-color:rgba(255,232,121,.48);box-shadow:0 0 38px rgba(255,232,121,.1)}.decision-stack .winner span{background:rgba(255,232,121,.18);color:var(--gold)}.decision-stack .blocked{border-color:rgba(255,107,115,.32)}.decision-stack .blocked span{background:rgba(255,107,115,.18);color:#ff9ba1;width:auto;border-radius:999px;padding:0 12px}.allocation-bars{display:grid;gap:18px;margin-top:18px}.allocation-bars>div{display:grid;grid-template-columns:70px 1fr 54px;gap:12px;align-items:center}.allocation-bars i{display:block;height:18px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;border:1px solid rgba(92,245,255,.12)}.allocation-bars i b{display:block;width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--cyan),var(--gold));box-shadow:0 0 22px rgba(255,232,121,.18)}.allocation-bars strong{font-size:1.1rem}.why-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}.why-list p{margin:0;border:1px solid rgba(92,245,255,.16);border-radius:999px;background:rgba(5,16,29,.76);padding:14px 16px;color:#fff;letter-spacing:0;text-transform:none;font-size:1rem}
@media(max-width:860px){.executive-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.executive-board,.decision-authority-card,.allocation-intel-card,.why-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.exec-hero-grid{grid-template-columns:1fr!important;gap:12px!important}.exec-hero-grid>div{min-height:116px!important}.exec-hero-grid strong{font-size:1.7rem!important}.decision-stack>div{grid-template-columns:48px 1fr!important}.decision-stack strong{font-size:1.08rem!important}.allocation-bars>div{grid-template-columns:58px 1fr 48px!important}.why-list{grid-template-columns:1fr!important}.why-list p{border-radius:18px!important}}

/* V28/V29 — CAPITAL + PORTFOLIO ENGINE */
.capital-screen{display:grid;grid-template-columns:1.08fr .92fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(10,34,50,.92),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(255,232,121,.045),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}.capital-board,.capital-commander-card,.allocation-board-card,.drift-card,.regime-matrix-card,.migration-radar-card,.portfolio-summary-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.76);padding:18px;position:relative;overflow:hidden}.capital-board{grid-column:1/-1}.capital-hero{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:14px;margin-top:18px}.capital-hero>div{min-height:150px;border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 30% 18%,rgba(70,236,242,.10),transparent 48%),rgba(5,16,29,.78);padding:18px;display:grid;align-content:center;gap:8px}.capital-hero span,.commander-stack span,.capital-rings span,.drift-stack span,.matrix-grid span,.portfolio-summary b{color:rgba(206,231,255,.76);letter-spacing:.13em;text-transform:uppercase;font-size:.72rem;font-weight:1000}.capital-hero strong{font-size:clamp(1.45rem,2.4vw,3rem);line-height:.95}.capital-hero em,.capital-rings em,.drift-stack em{font-style:normal;color:var(--muted);font-weight:800}.capital-primary{border-color:rgba(255,232,121,.5)!important;box-shadow:0 0 48px rgba(255,232,121,.08)}.capital-primary strong{color:var(--gold)}.cap-meter{display:block;height:15px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.cap-meter b{display:block;width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--cyan),var(--gold));box-shadow:0 0 22px rgba(255,232,121,.17)}.commander-stack{display:grid;gap:12px;margin-top:16px}.commander-stack>div{border:1px solid rgba(92,245,255,.16);border-radius:22px;background:rgba(5,16,29,.76);padding:14px;display:grid;gap:5px}.commander-stack strong{font-size:1.28rem}.commander-stack .increase{border-color:rgba(255,232,121,.42)}.commander-stack .increase strong{color:var(--gold)}.commander-stack .avoid{border-color:rgba(255,107,115,.32)}.capital-rings{min-height:330px;position:relative;margin-top:18px;border-radius:28px;background:radial-gradient(circle at center,rgba(92,245,255,.10),rgba(5,16,29,.54) 55%,rgba(2,8,16,.92));border:1px solid rgba(92,245,255,.14);overflow:hidden}.capital-rings:before,.capital-rings:after{content:"";position:absolute;inset:10%;border-radius:50%;border:1px dashed rgba(92,245,255,.16);animation:atmosphereSpin 36s linear infinite}.capital-rings:after{inset:24%;border-color:rgba(255,232,121,.18);animation-direction:reverse}.capital-rings .ring{position:absolute;border-radius:50%;border:1px solid rgba(92,245,255,.24);background:rgba(5,16,29,.88);display:grid;place-items:center;align-content:center;text-align:center;padding:12px;box-shadow:0 0 38px rgba(70,236,242,.10)}.capital-rings .ring strong{font-size:2rem}.capital-rings .ai{width:158px;height:158px;left:10%;top:16%;border-color:rgba(255,232,121,.46)}.capital-rings .crypto{width:132px;height:132px;right:12%;top:20%}.capital-rings .cash{width:148px;height:148px;left:34%;bottom:8%;border-color:rgba(148,190,255,.32)}.capital-rings .spec{width:88px;height:88px;right:16%;bottom:14%;opacity:.72}.drift-stack{display:grid;gap:16px;margin-top:16px}.drift-stack>div{display:grid;grid-template-columns:95px 1fr 110px;gap:12px;align-items:center;border:1px solid rgba(92,245,255,.14);border-radius:18px;padding:12px;background:rgba(5,16,29,.74)}.drift-stack i{display:block;height:18px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;border:1px solid rgba(92,245,255,.12)}.drift-stack i b{display:block;width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--cyan),var(--gold))}.drift-stack strong{font-size:.95rem}.drift-stack em{grid-column:2/4;font-size:.78rem}.matrix-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.matrix-grid>div{min-height:128px;border:1px solid rgba(92,245,255,.15);border-radius:22px;background:rgba(5,16,29,.76);padding:14px;display:grid;align-content:center;gap:8px}.matrix-grid .active{border-color:rgba(255,232,121,.45);box-shadow:0 0 36px rgba(255,232,121,.08)}.matrix-grid strong{font-size:1.2rem}.migration-radar{min-height:220px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:12px;border:1px solid rgba(92,245,255,.14);border-radius:28px;background:radial-gradient(circle,rgba(70,236,242,.10),rgba(5,16,29,.84) 66%)}.migration-radar .flow{width:118px;height:118px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(92,245,255,.24);background:rgba(5,16,29,.86);font-weight:1000;box-shadow:0 0 34px rgba(70,236,242,.12);animation:pulse 4s ease-in-out infinite}.migration-radar b{font-size:2rem;color:var(--gold)}.portfolio-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px}.portfolio-summary p{margin:0;border:1px solid rgba(92,245,255,.14);border-radius:18px;background:rgba(5,16,29,.76);padding:14px;color:#fff}.portfolio-summary b{display:block;margin-bottom:5px;color:var(--muted)}
@media(max-width:860px){.capital-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.capital-board,.capital-commander-card,.allocation-board-card,.drift-card,.regime-matrix-card,.migration-radar-card,.portfolio-summary-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.capital-hero{grid-template-columns:1fr!important;gap:12px!important}.capital-hero>div{min-height:118px!important}.capital-hero strong{font-size:1.7rem!important}.capital-rings{min-height:360px!important}.capital-rings .ai{width:132px!important;height:132px!important;left:4%!important;top:12%!important}.capital-rings .crypto{width:116px!important;height:116px!important;right:4%!important;top:18%!important}.capital-rings .cash{width:126px!important;height:126px!important;left:18%!important;bottom:10%!important}.capital-rings .spec{width:82px!important;height:82px!important;right:9%!important;bottom:14%!important}.drift-stack>div{grid-template-columns:82px 1fr!important}.drift-stack strong{grid-column:1/3}.drift-stack em{grid-column:1/3!important}.matrix-grid{grid-template-columns:1fr!important}.migration-radar{gap:8px!important}.migration-radar .flow{width:86px!important;height:86px!important;font-size:.82rem}.migration-radar b{font-size:1.4rem}.portfolio-summary{grid-template-columns:1fr!important}}


/* V29 — PORTFOLIO CONSTRUCTION ENGINE */
.portfolio-screen{display:grid;grid-template-columns:1.04fr .96fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(10,34,50,.92),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(255,232,121,.045),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}.portfolio-build-card,.portfolio-blueprint-card,.position-board-card,.concentration-card,.exposure-card,.rebalance-card,.portfolio-health-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.76);padding:18px;position:relative;overflow:hidden}.portfolio-build-card{grid-column:1/-1}.portfolio-hero{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:14px;margin-top:18px}.portfolio-hero>div{min-height:150px;border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 30% 18%,rgba(70,236,242,.10),transparent 48%),rgba(5,16,29,.78);padding:18px;display:grid;align-content:center;gap:8px}.portfolio-screen span{color:rgba(206,231,255,.76);letter-spacing:.13em;text-transform:uppercase;font-size:.72rem;font-weight:1000}.portfolio-screen strong{font-size:clamp(1.35rem,2.2vw,2.8rem);line-height:.95}.portfolio-screen em{font-style:normal;color:var(--muted);font-weight:800}.portfolio-primary{border-color:rgba(255,232,121,.5)!important;box-shadow:0 0 48px rgba(255,232,121,.08)}.portfolio-primary strong{color:var(--gold)}.sleeve-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}.sleeve{min-height:145px;border:1px solid rgba(92,245,255,.16);border-radius:24px;background:rgba(5,16,29,.78);padding:18px;display:grid;align-content:center;gap:8px}.sleeve strong{font-size:2.5rem}.sleeve.ai{border-color:rgba(255,232,121,.48);box-shadow:0 0 44px rgba(255,232,121,.08)}.sleeve.cash{border-color:rgba(148,190,255,.28)}.sleeve.spec{border-color:rgba(255,107,115,.30);opacity:.86}.position-stack,.rebalance-stack{display:grid;gap:12px;margin-top:16px}.position-stack>div,.rebalance-stack>div{border:1px solid rgba(92,245,255,.16);border-radius:22px;background:rgba(5,16,29,.76);padding:15px;display:grid;gap:5px}.position-stack .leader{border-color:rgba(255,232,121,.5)}.position-stack .leader strong{color:var(--gold)}.concentration-orbit{min-height:330px;position:relative;margin-top:18px;border:1px solid rgba(92,245,255,.14);border-radius:28px;background:radial-gradient(circle at center,rgba(70,236,242,.11),rgba(5,16,29,.72) 62%,rgba(2,8,16,.92));overflow:hidden}.concentration-orbit:before,.concentration-orbit:after{content:"";position:absolute;inset:12%;border-radius:50%;border:1px dashed rgba(92,245,255,.17);animation:atmosphereSpin 34s linear infinite}.concentration-orbit:after{inset:28%;border-color:rgba(255,232,121,.20);animation-direction:reverse}.con-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:150px;height:150px;border-radius:50%;border:1px solid rgba(255,232,121,.45);background:rgba(5,16,29,.92);display:grid;place-items:center;align-content:center;text-align:center;box-shadow:0 0 44px rgba(255,232,121,.10)}.con-node{position:absolute;border:1px solid rgba(92,245,255,.22);background:rgba(5,16,29,.9);border-radius:22px;padding:14px;min-width:120px;text-align:center}.con-node b{display:block;color:#fff}.con-node.n1{left:7%;top:17%}.con-node.n2{right:7%;top:20%}.con-node.n3{left:34%;bottom:8%}.exposure-grid,.health-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.exposure-grid>div,.health-grid>div{min-height:120px;border:1px solid rgba(92,245,255,.15);border-radius:22px;background:rgba(5,16,29,.76);padding:14px;display:grid;place-items:center;align-content:center;text-align:center;gap:8px}.exposure-grid .blocked{border-color:rgba(255,107,115,.32)}.exposure-grid strong,.health-grid strong{font-size:1.7rem}.portfolio-health-card{grid-column:1/-1}.health-grid{grid-template-columns:repeat(6,1fr)}
@media(max-width:860px){.portfolio-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.portfolio-build-card,.portfolio-blueprint-card,.position-board-card,.concentration-card,.exposure-card,.rebalance-card,.portfolio-health-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.portfolio-hero,.sleeve-grid,.exposure-grid,.health-grid{grid-template-columns:1fr!important;gap:12px!important}.portfolio-hero>div,.sleeve,.exposure-grid>div,.health-grid>div{min-height:116px!important}.portfolio-screen strong{font-size:1.7rem!important}.sleeve strong{font-size:2rem!important}.concentration-orbit{min-height:360px!important}.con-core{width:128px!important;height:128px!important}.con-node{min-width:104px!important;padding:11px!important}.con-node.n1{left:3%!important;top:12%!important}.con-node.n2{right:3%!important;top:16%!important}.con-node.n3{left:26%!important;bottom:8%!important}}

/* V30 — PORTFOLIO INTELLIGENCE & ATTRIBUTION ENGINE */
.attribution-screen{display:grid;grid-template-columns:1.04fr .96fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(7,30,48,.94),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(70,236,242,.045),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}.performance-scorecard,.alpha-attribution-card,.contributors-card,.conviction-evolution-card,.thesis-validation-card,.audit-replay-card,.portfolio-radar-card,.cio-review-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.76);padding:18px;position:relative;overflow:hidden}.performance-scorecard{grid-column:1/-1}.performance-hero{display:grid;grid-template-columns:1.25fr repeat(4,1fr);gap:14px;margin-top:18px}.performance-hero>div{min-height:148px;border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 30% 18%,rgba(70,236,242,.10),transparent 48%),rgba(5,16,29,.78);padding:18px;display:grid;align-content:center;gap:8px}.attribution-screen span{color:rgba(206,231,255,.76);letter-spacing:.13em;text-transform:uppercase;font-size:.72rem;font-weight:1000}.attribution-screen strong{font-size:clamp(1.25rem,2vw,2.65rem);line-height:.95}.attribution-screen em{font-style:normal;color:var(--muted);font-weight:800}.perf-primary{border-color:rgba(255,232,121,.5)!important;box-shadow:0 0 48px rgba(255,232,121,.08)}.perf-primary strong{color:var(--gold)}.attribution-bars{display:grid;gap:16px;margin-top:16px}.attribution-bars>div{display:grid;grid-template-columns:125px 1fr 95px;gap:12px;align-items:center;border:1px solid rgba(92,245,255,.14);border-radius:18px;padding:12px;background:rgba(5,16,29,.74)}.attribution-bars i{display:block;height:18px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;border:1px solid rgba(92,245,255,.12)}.attribution-bars i b{display:block;width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--cyan),var(--gold))}.attribution-bars strong{font-size:1.05rem}.contributors-grid,.thesis-grid,.cio-stack{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px}.contributors-grid>div,.thesis-grid>div,.cio-stack>div{min-height:118px;border:1px solid rgba(92,245,255,.15);border-radius:22px;background:rgba(5,16,29,.76);padding:14px;display:grid;align-content:center;gap:8px}.contributors-grid .winner,.thesis-grid .validated{border-color:rgba(255,232,121,.42)}.contributors-grid .winner strong,.thesis-grid .validated strong{color:var(--gold)}.contributors-grid .detractor{border-color:rgba(255,107,115,.3)}.conviction-timeline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:18px;position:relative}.conviction-timeline:before{content:"";position:absolute;left:8%;right:8%;top:38px;height:2px;background:linear-gradient(90deg,var(--cyan),var(--gold));opacity:.55}.conviction-timeline>div{position:relative;z-index:1;text-align:center;display:grid;gap:8px;justify-items:center;min-width:70px}.conviction-timeline b{width:22px;height:22px;border-radius:50%;border:1px solid rgba(92,245,255,.42);background:rgba(5,16,29,.95);box-shadow:0 0 24px rgba(70,236,242,.18)}.conviction-timeline .now b{background:var(--gold);box-shadow:0 0 30px rgba(255,232,121,.32)}.conviction-timeline span{font-size:1rem;color:#fff}.conviction-evolution-card p{color:var(--muted);line-height:1.5}.audit-chain{display:flex;align-items:stretch;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}.audit-chain>div{min-width:130px;border:1px solid rgba(92,245,255,.15);border-radius:20px;background:rgba(5,16,29,.76);padding:13px;display:grid;align-content:center;gap:6px;text-align:center}.audit-chain>b{display:grid;place-items:center;color:var(--gold);font-size:1.4rem}.portfolio-radar{position:relative;width:min(360px,100%);aspect-ratio:1;margin:28px auto;border:1px solid rgba(92,245,255,.24);border-radius:50%;background:radial-gradient(circle,rgba(70,236,242,.14),transparent 66%)}.portfolio-radar:after{content:"";position:absolute;left:50%;top:50%;height:1px;width:50%;background:linear-gradient(90deg,var(--gold),transparent);transform-origin:left;animation:sweep 4.8s linear infinite}.portfolio-radar b{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:3rem;color:var(--gold)}.portfolio-radar span{position:absolute;color:var(--muted);font-weight:900}.portfolio-radar span:nth-of-type(1){left:50%;top:8%;transform:translateX(-50%)}.portfolio-radar span:nth-of-type(2){right:4%;top:30%}.portfolio-radar span:nth-of-type(3){right:9%;bottom:18%}.portfolio-radar span:nth-of-type(4){left:50%;bottom:5%;transform:translateX(-50%)}.portfolio-radar span:nth-of-type(5){left:9%;bottom:18%}.portfolio-radar span:nth-of-type(6){left:4%;top:30%}.portfolio-radar span:nth-of-type(7){left:50%;top:22%;transform:translateX(-50%);color:var(--gold)}.cio-decision{min-height:180px;border:1px solid rgba(255,232,121,.42);border-radius:26px;background:radial-gradient(circle at 35% 20%,rgba(255,232,121,.12),transparent 48%),rgba(5,16,29,.78);padding:20px;display:grid;align-content:center;gap:10px;margin-top:16px}.cio-decision strong{font-size:3rem;color:var(--gold)}
@media(max-width:860px){.attribution-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.performance-scorecard,.alpha-attribution-card,.contributors-card,.conviction-evolution-card,.thesis-validation-card,.audit-replay-card,.portfolio-radar-card,.cio-review-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.performance-hero,.contributors-grid,.thesis-grid,.cio-stack{grid-template-columns:1fr!important;gap:12px!important}.performance-hero>div,.contributors-grid>div,.thesis-grid>div,.cio-stack>div{min-height:112px!important}.attribution-screen strong{font-size:1.7rem!important}.attribution-bars>div{grid-template-columns:96px 1fr!important}.attribution-bars strong{grid-column:1/3}.conviction-timeline{overflow-x:auto;justify-content:flex-start;padding-bottom:4px}.conviction-timeline:before{left:40px;right:40px}.audit-chain{display:grid!important;grid-template-columns:1fr!important}.audit-chain>b{transform:rotate(90deg)}.portfolio-radar{width:min(320px,100%)!important}.cio-decision strong{font-size:2.2rem!important}}

/* V31 — ASSET EXPANSION & WATCHLIST INTELLIGENCE ENGINE */
.watchlist-screen{display:grid;grid-template-columns:1.04fr .96fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(7,26,42,.94),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(70,236,242,.045),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}.watchlist-board,.personal-assets-card,.stock-watch-card,.watchlist-radar-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.76);padding:18px;position:relative;overflow:hidden}.watchlist-board{grid-column:1/-1}.watchlist-hero{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:14px;margin-top:18px}.watchlist-hero>div,.personal-asset-grid>div,.stock-watch-grid>div{min-height:138px;border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 30% 18%,rgba(70,236,242,.10),transparent 48%),rgba(5,16,29,.78);padding:18px;display:grid;align-content:center;gap:8px}.watchlist-screen span{color:rgba(206,231,255,.76);letter-spacing:.13em;text-transform:uppercase;font-size:.72rem;font-weight:1000}.watchlist-screen strong{font-size:clamp(1.25rem,2vw,2.65rem);line-height:.95}.watchlist-screen em{font-style:normal;color:var(--muted);font-weight:800}.watch-primary{border-color:rgba(255,232,121,.5)!important;box-shadow:0 0 48px rgba(255,232,121,.08)}.watch-primary strong{color:var(--gold)}.personal-asset-grid,.stock-watch-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.personal-asset-grid .focus,.personal-asset-grid .energy{border-color:rgba(255,232,121,.34)}.personal-asset-grid .energy strong{color:var(--gold)}.watchlist-radar{position:relative;width:min(380px,100%);aspect-ratio:1;margin:28px auto;border:1px solid rgba(92,245,255,.24);border-radius:50%;background:radial-gradient(circle,rgba(70,236,242,.14),transparent 66%)}.watchlist-radar:after{content:"";position:absolute;left:50%;top:50%;height:1px;width:50%;background:linear-gradient(90deg,var(--cyan),transparent);transform-origin:left;animation:sweep 5.2s linear infinite}.watchlist-radar b{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:2.5rem;color:var(--gold)}.watchlist-radar span{position:absolute;color:var(--muted);font-weight:900}.watchlist-radar span:nth-of-type(1){left:50%;top:8%;transform:translateX(-50%);color:var(--gold)}.watchlist-radar span:nth-of-type(2){right:6%;top:31%}.watchlist-radar span:nth-of-type(3){right:12%;bottom:15%}.watchlist-radar span:nth-of-type(4){left:50%;bottom:5%;transform:translateX(-50%)}.watchlist-radar span:nth-of-type(5){left:10%;bottom:16%}.watchlist-radar span:nth-of-type(6){left:5%;top:31%}.aapl{right:45%;top:20%;width:70px;height:70px}.ukog{right:3%;top:54%;width:68px;height:68px;border-color:rgba(255,232,121,.44)!important;color:var(--gold)!important}
@media(max-width:860px){.watchlist-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.watchlist-board,.personal-assets-card,.stock-watch-card,.watchlist-radar-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.watchlist-hero,.personal-asset-grid,.stock-watch-grid{grid-template-columns:1fr!important;gap:12px!important}.watchlist-hero>div,.personal-asset-grid>div,.stock-watch-grid>div{min-height:112px!important}.watchlist-screen strong{font-size:1.7rem!important}.watchlist-radar{width:min(320px,100%)!important}.aapl{right:44%!important;top:19%!important;width:58px!important;height:58px!important}.ukog{right:2%!important;top:58%!important;width:56px!important;height:56px!important}}

/* V31.1 — WATCHLIST LAYOUT STABILIZATION PATCH
   Rule: preserve intelligence size; reflow containers around content. */
.watchlist-screen{
  overflow: visible !important;
}
.personal-assets-card,
.stock-watch-card,
.watchlist-board,
.watchlist-radar-card{
  overflow: visible !important;
  min-width: 0 !important;
}
.personal-asset-grid,
.stock-watch-grid{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.personal-asset-grid > div,
.stock-watch-grid > div,
.watchlist-hero > div{
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
}
.personal-asset-grid strong,
.stock-watch-grid strong,
.watchlist-hero strong,
.personal-asset-grid em,
.stock-watch-grid em,
.watchlist-hero em{
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}
@media (min-width: 861px){
  .watchlist-screen{
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  }
  .watchlist-board{
    grid-column: 1 / -1 !important;
  }
  .personal-asset-grid{
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)) !important;
  }
  .stock-watch-grid{
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)) !important;
  }
}
@media (max-width: 860px){
  .watchlist-screen{
    overflow: hidden !important;
  }
  .personal-asset-grid,
  .stock-watch-grid{
    grid-template-columns: 1fr !important;
  }
}

/* V32 — MARKET INTELLIGENCE & LIVE MONITORING ENGINE */
.market-screen{display:grid;grid-template-columns:1fr 1fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(7,26,42,.94),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(70,236,242,.045),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}.market-command-board{grid-column:1/-1}.market-command-board,.live-tape-card,.market-radar-card,.price-watch-card,.catalyst-card,.live-governance-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.76);padding:18px;position:relative;overflow:hidden}.market-hero-grid,.price-grid,.governance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}.market-hero-grid>div,.price-grid>div,.governance-grid>div,.signal-tape>div,.catalyst-stack>div{border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 30% 18%,rgba(70,236,242,.10),transparent 48%),rgba(5,16,29,.78);padding:18px;display:grid;align-content:center;gap:8px;min-height:122px}.market-screen span{color:rgba(206,231,255,.76);letter-spacing:.13em;text-transform:uppercase;font-size:.72rem;font-weight:1000}.market-screen strong{font-size:clamp(1.25rem,2vw,2.65rem);line-height:.95}.market-screen em{font-style:normal;color:var(--muted);font-weight:800}.market-primary,.price-grid .focus,.signal-tape .hot{border-color:rgba(255,232,121,.48)!important;box-shadow:0 0 48px rgba(255,232,121,.08)}.market-primary strong,.price-grid .focus strong,.signal-tape .hot strong{color:var(--gold)}.price-grid .energy,.signal-tape .energy{border-color:rgba(255,232,121,.32)}.price-grid .blocked{border-color:rgba(255,107,115,.35)}.signal-tape,.catalyst-stack{display:grid;gap:12px;margin-top:18px}.signal-tape>div{grid-template-columns:70px 110px 1fr;min-height:auto;align-items:center}.market-radar{position:relative;width:min(380px,100%);aspect-ratio:1;margin:28px auto;border:1px solid rgba(92,245,255,.24);border-radius:50%;background:radial-gradient(circle,rgba(70,236,242,.14),transparent 66%)}.market-radar:after{content:"";position:absolute;left:50%;top:50%;height:1px;width:50%;background:linear-gradient(90deg,var(--gold),transparent);transform-origin:left;animation:sweep 4.8s linear infinite}.market-radar b{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:2.6rem;color:var(--gold)}.market-radar span{position:absolute;color:var(--muted);font-weight:900}.market-radar span:nth-of-type(1){left:50%;top:8%;transform:translateX(-50%);color:var(--gold)}.market-radar span:nth-of-type(2){right:6%;top:31%}.market-radar span:nth-of-type(3){right:10%;bottom:16%}.market-radar span:nth-of-type(4){left:50%;bottom:5%;transform:translateX(-50%)}.market-radar span:nth-of-type(5){left:10%;bottom:16%}.market-radar span:nth-of-type(6){left:5%;top:31%}.catalyst-card,.live-governance-card{grid-column:span 1}@media(max-width:860px){.market-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.market-command-board,.live-tape-card,.market-radar-card,.price-watch-card,.catalyst-card,.live-governance-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.market-hero-grid,.price-grid,.governance-grid{grid-template-columns:1fr!important;gap:12px!important}.signal-tape>div{grid-template-columns:1fr!important}.market-screen strong{font-size:1.7rem!important}.market-radar{width:min(320px,100%)!important}}

/* V32 PATCH — Executive Typography Stabilization / Anti-Orphan Wrap
   Keeps decision words such as CONFIRMATION, ATTRIBUTION, ALLOCATION and WATCHLIST
   from splitting into single-letter orphan lines. Containers reflow instead of shrinking intelligence. */
.exec-hero-grid{
  grid-template-columns:minmax(230px,1.15fr) minmax(210px,.95fr) minmax(150px,.7fr) minmax(260px,1.12fr) !important;
}
.exec-hero-grid > div,
.executive-board .exec-hero-grid > div,
.decision-authority-card,
.allocation-intel-card,
.why-card{
  overflow-wrap:normal !important;
  word-break:normal !important;
  hyphens:manual !important;
}
.exec-hero-grid strong,
.exec-hero-grid span,
.exec-hero-grid em,
.executive-screen strong,
.executive-screen span,
.executive-screen em,
.mini-head strong,
.mini-head span{
  overflow-wrap:normal !important;
  word-break:keep-all !important;
  hyphens:manual !important;
  text-wrap:balance;
}
.exec-hero-grid > div:last-child strong{
  font-size:clamp(1.35rem,2.15vw,2.75rem) !important;
  line-height:.95 !important;
  max-width:100% !important;
}
@media(max-width:1180px) and (min-width:861px){
  .exec-hero-grid{
    grid-template-columns:minmax(220px,1.05fr) minmax(190px,.9fr) minmax(130px,.65fr) minmax(250px,1.15fr) !important;
  }
}
@media(max-width:860px){
  .exec-hero-grid{grid-template-columns:1fr!important;}
  .exec-hero-grid strong,
  .executive-screen strong{
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:manual!important;
  }
}

/* V32 desktop/mobile micro-patch: market card reflow + ticker anti-orphan */
.market-screen strong,
.market-screen em,
.market-screen span{
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}
.market-hero-grid strong,
.price-grid strong,
.governance-grid strong,
.signal-tape strong,
.catalyst-stack strong{
  white-space: normal !important;
  text-wrap: balance;
}
.market-hero-grid > div,
.price-grid > div,
.governance-grid > div,
.signal-tape > div,
.catalyst-stack > div{
  min-width: 0 !important;
  overflow: visible !important;
  padding-inline: clamp(14px,1.45vw,22px) !important;
}
.price-grid{
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
}
.live-governance-card .governance-grid{
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}
.price-grid > div strong,
.governance-grid > div strong{
  font-size: clamp(1.35rem,1.7vw,2.35rem) !important;
  line-height: 1.02 !important;
}
.signal-tape strong,
.market-hero-grid strong{
  letter-spacing: -.02em;
}
@media(max-width:860px){
  .price-grid,
  .live-governance-card .governance-grid{
    grid-template-columns:1fr !important;
  }
  .market-screen strong{
    font-size: clamp(1.55rem,7vw,2.4rem) !important;
    line-height:1.02 !important;
  }
  .signal-tape strong,
  .market-hero-grid strong,
  .price-grid strong,
  .governance-grid strong{
    white-space: normal !important;
  }
  .signal-tape .energy strong,
  .market-hero-grid strong,
  .price-grid .energy span,
  .price-grid .energy strong{
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
}

/* V33 — MARKET REGIME INTELLIGENCE ENGINE + carried-forward layout fixes
   Base: stable V32 text patch. Rule: build from previous working version only. */
:root{--regime-purple:#9c7bff;--regime-blue:#55d7ff;}

/* Global anti-orphan typography guard for short labels, tickers and action titles. */
strong, .asset, .holding b, .watchlist-screen strong, .market-screen strong, .regime-screen strong,
.rebalance-stack strong, .catalyst-stack strong, .price-grid strong, .governance-grid strong,
.personal-asset-grid strong, .stock-watch-grid strong{
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}
.asset, .asset.ukog, .ukog, .aapl, .googl, .btc, .eth, .lcai, .rxs, .nvda{
  white-space: nowrap !important;
  text-align:center !important;
}

/* Fix carried into V33: Trigger Zones / market trigger-style cards must not overlap. */
.price-grid,
.catalyst-stack,
.rebalance-stack,
.driver-stack,
.transition-prob-grid,
.opportunity-heat-grid,
.regime-memory-grid{
  align-items: stretch !important;
}
.price-grid > div,
.catalyst-stack > div,
.rebalance-stack > div,
.driver-stack > div,
.transition-prob-grid > div,
.opportunity-heat-grid > div,
.regime-memory-grid > div{
  min-width:0 !important;
  overflow:visible !important;
  min-height:118px !important;
  padding:18px !important;
  display:grid !important;
  align-content:center !important;
  gap:8px !important;
}
.price-grid > div em,
.catalyst-stack > div em,
.rebalance-stack > div em,
.driver-stack > div em,
.transition-prob-grid > div em,
.opportunity-heat-grid > div em{
  line-height:1.25 !important;
}

/* Watchlist UKOG orphan fix: preserve ticker as a single token and reflow the card. */
.personal-asset-grid,
.stock-watch-grid{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important;
}
.personal-asset-grid > div,
.stock-watch-grid > div{
  min-height:122px !important;
  padding-inline:18px !important;
}
.personal-asset-grid strong,
.stock-watch-grid strong{
  white-space:nowrap !important;
  letter-spacing:-.02em !important;
}

/* New navigation density for V33. */
.left-dock a{height:36px;margin:7px 0;font-size:.69rem;}

/* V33 Regime screen */
.regime-screen{display:grid;grid-template-columns:1fr 1fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(8,22,43,.94),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(156,123,255,.055),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}
.regime-command-board{grid-column:1/-1}
.regime-command-board,.regime-drivers-card,.regime-transition-card,.analogue-card,.opportunity-map-card,.regime-memory-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.76);padding:18px;position:relative;overflow:hidden}
.regime-hero-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr .9fr;gap:14px;margin-top:18px}
.regime-hero-grid>div,.driver-stack>div,.transition-prob-grid>div,.opportunity-heat-grid>div,.regime-memory-grid>div,.analogue-core{border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 30% 18%,rgba(156,123,255,.13),transparent 48%),rgba(5,16,29,.78);padding:18px;display:grid;align-content:center;gap:8px;min-height:122px}
.regime-screen span{color:rgba(206,231,255,.76);letter-spacing:.13em;text-transform:uppercase;font-size:.72rem;font-weight:1000}
.regime-screen strong{font-size:clamp(1.25rem,2vw,2.65rem);line-height:.98}
.regime-screen em{font-style:normal;color:var(--muted);font-weight:800}
.regime-primary,.transition-prob-grid .active,.opportunity-heat-grid .hot,.analogue-core{border-color:rgba(255,232,121,.48)!important;box-shadow:0 0 48px rgba(255,232,121,.08)}
.regime-primary strong,.transition-prob-grid .active strong,.opportunity-heat-grid .hot strong,.analogue-core strong{color:var(--gold)}
.driver-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.driver-stack .pressure{border-color:rgba(255,107,115,.28)}
.transition-prob-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.opportunity-heat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.opportunity-heat-grid .warm{border-color:rgba(70,236,242,.28)}
.opportunity-heat-grid .cool{border-color:rgba(180,230,255,.14)}
.regime-memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.analogue-core{margin-top:18px;min-height:210px;text-align:center;place-items:center;align-content:center}
.analogue-core strong{font-size:clamp(1.6rem,2.4vw,3.2rem)}

@media(max-width:1180px) and (min-width:861px){
  .regime-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .opportunity-heat-grid,.regime-memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .transition-prob-grid{grid-template-columns:1fr}
}
@media(max-width:860px){
  .regime-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}
  .regime-command-board,.regime-drivers-card,.regime-transition-card,.analogue-card,.opportunity-map-card,.regime-memory-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}
  .regime-hero-grid,.driver-stack,.transition-prob-grid,.opportunity-heat-grid,.regime-memory-grid{grid-template-columns:1fr!important;gap:12px!important}
  .regime-screen strong{font-size:clamp(1.55rem,7vw,2.35rem)!important;line-height:1.02!important}
  .analogue-core{min-height:150px!important}
  .personal-asset-grid strong,.stock-watch-grid strong{white-space:normal!important;word-break:keep-all!important;overflow-wrap:normal!important}
}


/* V33 FINAL STABILIZATION — fixes carried from V32 screenshots
   1) Trigger Zones: remove card overlap/clipping by giving the price matrix full width and safer card sizing.
   2) Watchlist: keep UKOG and all tickers as atomic tokens, no single-letter orphan wraps.
   3) Advisory Safety Gate: remove clipped third tile by making the governance panel full-width and reflowing its cards.
*/
.market-screen strong,
.market-screen span,
.market-screen em,
.watchlist-screen strong,
.watchlist-screen span,
.watchlist-screen em,
.regime-screen strong,
.regime-screen span,
.regime-screen em{
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}
.price-watch-card,
.live-governance-card{
  grid-column: 1 / -1 !important;
  overflow: visible !important;
}
.price-grid{
  grid-template-columns: repeat(3, minmax(190px, 1fr)) !important;
  gap: 14px !important;
}
.governance-grid{
  grid-template-columns: repeat(4, minmax(170px, 1fr)) !important;
  gap: 14px !important;
}
.price-grid > div,
.governance-grid > div,
.catalyst-stack > div{
  min-width: 0 !important;
  min-height: 132px !important;
  overflow: visible !important;
  padding: clamp(16px,1.45vw,22px) !important;
}
.price-grid strong,
.governance-grid strong,
.catalyst-stack strong{
  font-size: clamp(1.35rem, 1.8vw, 2.45rem) !important;
  line-height: 1.02 !important;
  max-width: 100% !important;
}
.governance-grid em,
.price-grid em,
.catalyst-stack em{
  font-size: clamp(.82rem, .86vw, 1rem) !important;
  line-height: 1.25 !important;
}
/* UKOG/ticker no-orphan rule across the complete interface */
.asset,
.signal-map i,
.watchlist-radar span,
.market-radar span,
.personal-asset-grid strong,
.stock-watch-grid strong,
.market-hero-grid strong,
.signal-tape strong,
.price-grid span,
.price-grid strong{
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}
/* Allow descriptive text to wrap safely while ticker and headline tokens remain intact. */
.personal-asset-grid em,
.stock-watch-grid em,
.market-hero-grid em,
.signal-tape em,
.price-grid em,
.governance-grid em,
.catalyst-stack em{
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
@media(max-width:1180px) and (min-width:861px){
  .price-grid{grid-template-columns: repeat(2, minmax(210px, 1fr)) !important;}
  .governance-grid{grid-template-columns: repeat(2, minmax(210px, 1fr)) !important;}
}
@media(max-width:860px){
  .price-watch-card,
  .live-governance-card{grid-column:auto !important;}
  .price-grid,
  .governance-grid{grid-template-columns:1fr !important;}
  .price-grid > div,
  .governance-grid > div,
  .catalyst-stack > div{min-height:112px !important;}
  .price-grid strong,
  .governance-grid strong,
  .catalyst-stack strong{font-size:clamp(1.65rem, 7vw, 2.55rem) !important;}
}

/* V33 DESKTOP TYPOGRAPHY STABILIZATION PATCH
   Fixes desktop square-card text compression while preserving mobile layout.
   Targets: Regime Transition Radar, Regime Memory Engine, Opportunity Map cards. */
#regime .transition-prob-grid{
  grid-template-columns:1fr !important;
  gap:14px !important;
}
#regime .transition-prob-grid > div{
  min-height:118px !important;
  padding:20px 22px !important;
  overflow:visible !important;
  align-content:center !important;
}
#regime .transition-prob-grid strong{
  font-size:clamp(1.85rem,2.2vw,2.8rem) !important;
  line-height:1.04 !important;
  white-space:normal !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
  hyphens:none !important;
  max-width:100% !important;
}
#regime .transition-prob-grid em{
  font-size:clamp(.92rem,1vw,1.1rem) !important;
  line-height:1.2 !important;
  white-space:normal !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
}
#regime .opportunity-heat-grid,
#regime .regime-memory-grid{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important;
  gap:12px !important;
}
#regime .opportunity-heat-grid > div,
#regime .regime-memory-grid > div{
  min-width:0 !important;
  padding:16px !important;
  overflow:visible !important;
}
#regime .opportunity-heat-grid strong,
#regime .regime-memory-grid strong{
  font-size:clamp(1.5rem,1.8vw,2.35rem) !important;
  line-height:1.05 !important;
  white-space:normal !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
  hyphens:none !important;
}
#regime .opportunity-heat-grid em,
#regime .regime-memory-grid em{
  font-size:clamp(.78rem,.9vw,.98rem) !important;
  line-height:1.18 !important;
  white-space:normal !important;
  word-break:keep-all !important;
}
#regime .mini-head strong,
#regime .regime-screen strong{
  text-wrap:balance;
}
@media(max-width:860px){
  #regime .transition-prob-grid,
  #regime .opportunity-heat-grid,
  #regime .regime-memory-grid{grid-template-columns:1fr !important;}
  #regime .transition-prob-grid strong,
  #regime .opportunity-heat-grid strong,
  #regime .regime-memory-grid strong{font-size:1.8rem !important;}
}


/* V34 — Cross-Asset Intelligence & Macro Signal Engine */
.macro-screen{display:grid;grid-template-columns:1fr 1fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(7,26,42,.94),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(70,236,242,.045),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}.macro-command-board{grid-column:1/-1}.macro-command-board,.fx-board,.cross-asset-board,.macro-driver-card,.macro-action-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.76);padding:18px;position:relative;overflow:hidden}.macro-hero-grid,.fx-grid,.asset-flow-grid,.macro-driver-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}.macro-hero-grid>div,.fx-grid>div,.asset-flow-grid>div,.macro-driver-grid>div,.macro-action-stack>div{border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 30% 18%,rgba(70,236,242,.10),transparent 48%),rgba(5,16,29,.78);padding:18px;display:grid;align-content:center;gap:8px;min-height:122px;min-width:0;overflow:hidden}.macro-screen span{color:rgba(206,231,255,.76);letter-spacing:.13em;text-transform:uppercase;font-size:.72rem;font-weight:1000;word-break:keep-all;overflow-wrap:normal}.macro-screen strong{font-size:clamp(1.25rem,1.85vw,2.45rem);line-height:1.02;word-break:keep-all;overflow-wrap:normal}.macro-screen em{font-style:normal;color:var(--muted);font-weight:800;word-break:keep-all;overflow-wrap:normal}.macro-primary,.fx-grid .hot,.asset-flow-grid .hot,.macro-driver-grid .hot,.macro-action-stack .hot{border-color:rgba(255,232,121,.48)!important;box-shadow:0 0 48px rgba(255,232,121,.08)}.macro-primary strong,.fx-grid .hot strong,.asset-flow-grid .hot strong,.macro-driver-grid .hot strong,.macro-action-stack .hot strong{color:var(--gold)}.macro-driver-grid .pressure,.macro-action-stack .pressure{border-color:rgba(255,107,115,.35)}.macro-action-card{grid-column:1/-1}.macro-action-stack{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}

/* V34 carry-forward layout stabilization pack */
.price-grid>div,.governance-grid>div,.watchlist-hero>div,.stock-watch-grid>div,.transition-prob-grid>div,.opportunity-heat-grid>div,.regime-memory-grid>div,.macro-screen div{min-width:0;box-sizing:border-box}.market-screen strong,.watchlist-screen strong,.regime-screen strong,.macro-screen strong{white-space:normal;word-break:keep-all;overflow-wrap:normal;hyphens:none}.price-grid,.governance-grid,.market-hero-grid,.stock-watch-grid,.watchlist-hero,.transition-prob-grid,.opportunity-heat-grid,.regime-memory-grid,.macro-hero-grid,.fx-grid,.asset-flow-grid,.macro-driver-grid,.macro-action-stack{align-items:stretch}.price-watch-card,.live-governance-card,.watchlist-board,.regime-transition-card,.opportunity-map-card,.analogue-card,.macro-command-board,.fx-board,.cross-asset-board,.macro-driver-card,.macro-action-card{container-type:inline-size}
@container (max-width:420px){.price-grid,.governance-grid,.market-hero-grid,.stock-watch-grid,.watchlist-hero,.transition-prob-grid,.opportunity-heat-grid,.regime-memory-grid,.macro-hero-grid,.fx-grid,.asset-flow-grid,.macro-driver-grid,.macro-action-stack{grid-template-columns:1fr!important}.market-screen strong,.watchlist-screen strong,.regime-screen strong,.macro-screen strong{font-size:1.6rem!important;line-height:1.05!important}}
@media(max-width:1020px){.macro-hero-grid,.fx-grid,.asset-flow-grid,.macro-driver-grid,.macro-action-stack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.macro-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.macro-command-board,.fx-board,.cross-asset-board,.macro-driver-card,.macro-action-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.macro-hero-grid,.fx-grid,.asset-flow-grid,.macro-driver-grid,.macro-action-stack{grid-template-columns:1fr!important;gap:12px!important}.macro-screen strong{font-size:clamp(1.55rem,7vw,2.35rem)!important;line-height:1.04!important}}

/* V35 — Geopolitical Intelligence + Capital Allocation Engine
   Built from stable V34. Includes global text-fit governance. */
.geopolitics-screen,.allocation-screen{display:grid;grid-template-columns:1fr 1fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(7,26,42,.94),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(70,236,242,.045),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}.geo-command-board,.allocation-command-board,.market-impact-card,.capital-action-card{grid-column:1/-1}.geo-command-board,.political-risk-card,.global-influence-card,.geo-heat-card,.market-impact-card,.allocation-command-board,.dynamic-allocation-card,.allocation-heat-card,.rotation-card,.risk-meter-card,.capital-action-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.76);padding:18px;position:relative;overflow:hidden;container-type:inline-size}.geo-hero-grid,.geo-grid,.influence-grid,.allocation-hero-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}.allocation-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.geo-hero-grid>div,.geo-grid>div,.influence-grid>div,.allocation-hero-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div{border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 30% 18%,rgba(70,236,242,.10),transparent 48%),rgba(5,16,29,.78);padding:18px;display:grid;align-content:center;gap:8px;min-height:128px;min-width:0;overflow:hidden}.geopolitics-screen span,.allocation-screen span{color:rgba(206,231,255,.76);letter-spacing:.13em;text-transform:uppercase;font-size:.72rem;font-weight:1000;word-break:keep-all;overflow-wrap:normal}.geopolitics-screen strong,.allocation-screen strong{font-size:clamp(1.15rem,1.65vw,2.35rem);line-height:1.04;white-space:normal;word-break:keep-all;overflow-wrap:normal;text-wrap:balance}.geopolitics-screen em,.allocation-screen em{font-style:normal;color:var(--muted);font-weight:800;line-height:1.18;word-break:keep-all;overflow-wrap:normal}.geopolitics-screen .hot,.allocation-screen .hot{border-color:rgba(255,232,121,.48)!important;box-shadow:0 0 48px rgba(255,232,121,.08)}.geopolitics-screen .hot strong,.allocation-screen .hot strong{color:var(--gold)}.geopolitics-screen .pressure,.allocation-screen .pressure{border-color:rgba(255,107,115,.35)!important}.geo-map{min-height:300px;border:1px solid rgba(92,245,255,.18);border-radius:28px;background:radial-gradient(circle at center,rgba(70,236,242,.11),transparent 55%),rgba(5,16,29,.72);margin-top:18px;position:relative;display:grid;place-items:center}.geo-map i{position:absolute;width:120px;height:120px;border:1px solid rgba(92,245,255,.24);border-radius:999px;display:grid;place-items:center;text-align:center;font-style:normal;font-weight:1000;line-height:1.1;background:rgba(4,13,25,.82);box-shadow:0 0 40px rgba(70,236,242,.08)}.geo-map i b{font-size:.7rem;color:var(--muted)}.geo-map i:nth-child(1){left:12%;top:16%}.geo-map i:nth-child(2){right:16%;top:12%}.geo-map i:nth-child(3){right:12%;bottom:16%}.geo-map i:nth-child(4){left:15%;bottom:12%}.geo-map i:nth-child(5){left:42%;top:38%}.impact-chain,.rotation-flow{display:flex;align-items:center;justify-content:center;gap:14px;min-height:150px;border:1px solid rgba(92,245,255,.18);border-radius:26px;background:rgba(5,16,29,.78);margin-top:18px;flex-wrap:wrap;text-align:center}.impact-chain b,.rotation-flow b{border:1px solid rgba(92,245,255,.22);border-radius:999px;padding:18px 20px;background:rgba(3,12,23,.9);font-size:clamp(1rem,1.2vw,1.45rem)}.impact-chain span,.rotation-flow span{color:var(--gold);font-weight:1000;font-size:2rem}

/* QP-GOV-TYPO-001/002/003/004: universal card typography integrity */
.nucleus-card,.operator-panel,.executive-board,.decision-authority-card,.allocation-intelligence-card,.capital-screen article,.portfolio-screen article,.attribution-screen article,.watchlist-screen article,.market-screen article,.regime-screen article,.macro-screen article,.geopolitics-screen article,.allocation-screen article{min-width:0;box-sizing:border-box}.executive-screen strong,.capital-screen strong,.portfolio-screen strong,.attribution-screen strong,.watchlist-screen strong,.market-screen strong,.regime-screen strong,.macro-screen strong,.geopolitics-screen strong,.allocation-screen strong{max-width:100%;white-space:normal;word-break:keep-all;overflow-wrap:normal;hyphens:none;text-wrap:balance}.executive-screen em,.capital-screen em,.portfolio-screen em,.attribution-screen em,.watchlist-screen em,.market-screen em,.regime-screen em,.macro-screen em,.geopolitics-screen em,.allocation-screen em{max-width:100%;white-space:normal;word-break:keep-all;overflow-wrap:normal;hyphens:none}.mini-head strong{text-wrap:balance;line-height:1.08}.left-dock a{white-space:nowrap}
@container (max-width:430px){.geo-hero-grid,.geo-grid,.influence-grid,.allocation-hero-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid{grid-template-columns:1fr!important}.geopolitics-screen strong,.allocation-screen strong{font-size:1.55rem!important;line-height:1.06!important}.geopolitics-screen em,.allocation-screen em{font-size:.92rem!important}}
@media(max-width:1180px){.allocation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.geo-hero-grid,.geo-grid,.influence-grid,.allocation-hero-grid,.heat-grid,.risk-grid,.capital-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.geopolitics-screen strong,.allocation-screen strong{font-size:clamp(1.2rem,2vw,2rem)}}
@media(max-width:860px){.geopolitics-screen,.allocation-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.geo-command-board,.political-risk-card,.global-influence-card,.geo-heat-card,.market-impact-card,.allocation-command-board,.dynamic-allocation-card,.allocation-heat-card,.rotation-card,.risk-meter-card,.capital-action-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.geo-hero-grid,.geo-grid,.influence-grid,.allocation-hero-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid{grid-template-columns:1fr!important;gap:12px!important}.geopolitics-screen strong,.allocation-screen strong{font-size:clamp(1.55rem,7vw,2.35rem)!important;line-height:1.04!important}.geo-map{min-height:420px}.geo-map i{width:110px;height:110px}.impact-chain,.rotation-flow{display:grid;grid-template-columns:1fr;gap:10px}.impact-chain span,.rotation-flow span{font-size:1.4rem;line-height:1}}

/* V36 Portfolio Construction & Position Intelligence + Global Card Density Governance */
:root{--qp-card-min:132px;--qp-card-pad:clamp(14px,1.2vw,20px)}
.position-screen{display:grid;grid-template-columns:1fr 1fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(7,26,42,.94),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(70,236,242,.045),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}
.position-command-board,.rebalance-card{grid-column:1/-1}.position-command-board,.position-sizing-card,.optimizer-card,.correlation-card,.risk-budget-card,.drawdown-card,.rebalance-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.76);padding:18px;position:relative;overflow:hidden;container-type:inline-size;min-width:0;box-sizing:border-box}.position-hero-grid,.position-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}.position-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.position-hero-grid>div,.position-grid>div,.optimizer-grid>div,.correlation-grid>div,.stress-grid>div,.rebalance-grid>div{border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 30% 18%,rgba(70,236,242,.10),transparent 48%),rgba(5,16,29,.78);padding:var(--qp-card-pad);display:grid;align-content:center;gap:8px;min-height:var(--qp-card-min);min-width:0;overflow:hidden}.position-screen span{color:rgba(206,231,255,.76);letter-spacing:.13em;text-transform:uppercase;font-size:clamp(.62rem,.72vw,.78rem);font-weight:1000;word-break:keep-all;overflow-wrap:normal}.position-screen strong{font-size:clamp(1.1rem,1.48vw,2.15rem);line-height:1.04;white-space:normal;word-break:keep-all;overflow-wrap:normal;text-wrap:balance;max-width:100%}.position-screen em{font-style:normal;color:var(--muted);font-weight:800;line-height:1.18;font-size:clamp(.82rem,.85vw,.98rem);word-break:keep-all;overflow-wrap:normal}.position-screen .hot{border-color:rgba(255,232,121,.48)!important;box-shadow:0 0 48px rgba(255,232,121,.08)}.position-screen .hot strong{color:var(--gold)}.position-screen .pressure{border-color:rgba(255,107,115,.35)!important}.budget-bars{display:grid;gap:14px;margin-top:18px}.budget-bars>div{display:grid;grid-template-columns:90px 1fr 48px;align-items:center;gap:12px;border:1px solid rgba(92,245,255,.14);border-radius:18px;background:rgba(5,16,29,.70);padding:12px 14px;min-width:0}.budget-bars b{display:block;height:16px;border-radius:999px;background:linear-gradient(90deg,#46ecf2,#ffe879);box-shadow:0 0 24px rgba(70,236,242,.18)}.budget-bars strong{font-size:1rem;text-align:right}.budget-bars span{font-size:.72rem}

/* QP-GOV-003/004/005/006: self-healing density and adaptive card protection */
.geo-hero-grid>div,.geo-grid>div,.influence-grid>div,.allocation-hero-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.macro-hero-grid>div,.fx-grid>div,.asset-flow-grid>div,.macro-driver-grid>div,.macro-action-stack>div,.position-hero-grid>div,.position-grid>div,.optimizer-grid>div,.correlation-grid>div,.stress-grid>div,.rebalance-grid>div{min-height:clamp(126px,10vw,170px);padding:clamp(14px,1.1vw,20px)!important;align-content:center;overflow:hidden;container-type:inline-size}
.macro-screen strong,.geopolitics-screen strong,.allocation-screen strong,.position-screen strong{font-size:clamp(1.05rem,1.42vw,2.08rem)!important;line-height:1.04!important;text-wrap:balance;letter-spacing:-.025em}.macro-screen em,.geopolitics-screen em,.allocation-screen em,.position-screen em{font-size:clamp(.78rem,.82vw,.98rem)!important;line-height:1.2!important}.macro-screen span,.geopolitics-screen span,.allocation-screen span,.position-screen span{font-size:clamp(.60rem,.70vw,.78rem)!important;line-height:1.12!important}
@container (max-width:210px){.macro-screen strong,.geopolitics-screen strong,.allocation-screen strong,.position-screen strong{font-size:1.02rem!important;line-height:1.06!important}.macro-screen em,.geopolitics-screen em,.allocation-screen em,.position-screen em{font-size:.76rem!important;line-height:1.18!important}.macro-screen span,.geopolitics-screen span,.allocation-screen span,.position-screen span{font-size:.58rem!important;letter-spacing:.08em!important}}
@container (max-width:170px){.macro-screen strong,.geopolitics-screen strong,.allocation-screen strong,.position-screen strong{font-size:.92rem!important;line-height:1.06!important}.macro-screen em,.geopolitics-screen em,.allocation-screen em,.position-screen em{font-size:.68rem!important}.macro-screen span,.geopolitics-screen span,.allocation-screen span,.position-screen span{font-size:.52rem!important;letter-spacing:.06em!important}}
@media(max-width:1180px){.position-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.position-hero-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.position-screen strong{font-size:clamp(1.2rem,2vw,2rem)!important}}
@media(max-width:860px){.position-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.position-command-board,.position-sizing-card,.optimizer-card,.correlation-card,.risk-budget-card,.drawdown-card,.rebalance-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.position-hero-grid,.position-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid{grid-template-columns:1fr!important;gap:12px!important}.position-screen strong{font-size:clamp(1.55rem,7vw,2.35rem)!important;line-height:1.04!important}.budget-bars>div{grid-template-columns:74px 1fr 42px}}

/* V37 — Execution Intelligence & Audio Alert Engine
   Built from stable V36. Adds trade lifecycle, entry timing, ZEC re-entry and first sensory alert architecture.
   QP-TYPO-012/013/014/015/016/017 included: nav capsule auto-fit, circular protection and alert badge protection. */
.trade-screen,.alerts-screen{display:grid;grid-template-columns:1fr 1fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(7,26,42,.94),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(70,236,242,.045),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}
.trade-command-board,.alert-command-board,.lifecycle-card,.alert-governance-card{grid-column:1/-1}.trade-command-board,.entry-card,.lifecycle-card,.reentry-card,.rr-card,.alert-command-board,.alert-center-card,.audio-profile-card,.alert-governance-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.76);padding:18px;position:relative;overflow:hidden;container-type:inline-size;min-width:0;box-sizing:border-box}.trade-hero-grid,.entry-grid,.reentry-grid,.rr-grid,.alert-hero-grid,.alert-grid,.audio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}.trade-hero-grid>div,.entry-grid>div,.reentry-grid>div,.rr-grid>div,.alert-hero-grid>div,.alert-grid>div,.audio-grid>div{border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 30% 18%,rgba(70,236,242,.10),transparent 48%),rgba(5,16,29,.78);padding:clamp(14px,1.1vw,20px);display:grid;align-content:center;gap:8px;min-height:clamp(126px,10vw,170px);min-width:0;overflow:hidden;container-type:inline-size}.trade-screen span,.alerts-screen span{color:rgba(206,231,255,.76);letter-spacing:.13em;text-transform:uppercase;font-size:clamp(.60rem,.70vw,.78rem);font-weight:1000;word-break:keep-all;overflow-wrap:normal;line-height:1.12}.trade-screen strong,.alerts-screen strong{font-size:clamp(1.05rem,1.42vw,2.08rem);line-height:1.04;white-space:normal;word-break:keep-all;overflow-wrap:normal;text-wrap:balance;max-width:100%;letter-spacing:-.025em}.trade-screen em,.alerts-screen em{font-style:normal;color:var(--muted);font-weight:800;line-height:1.2;font-size:clamp(.78rem,.82vw,.98rem);word-break:keep-all;overflow-wrap:normal}.trade-screen .hot,.alerts-screen .hot{border-color:rgba(255,232,121,.48)!important;box-shadow:0 0 48px rgba(255,232,121,.08)}.trade-screen .hot strong,.alerts-screen .hot strong{color:var(--gold)}.trade-screen .pressure,.alerts-screen .pressure{border-color:rgba(255,107,115,.35)!important}.lifecycle-flow,.alert-governance-flow{display:flex;align-items:center;justify-content:center;gap:12px;min-height:150px;border:1px solid rgba(92,245,255,.18);border-radius:26px;background:rgba(5,16,29,.78);margin-top:18px;flex-wrap:wrap;text-align:center}.lifecycle-flow b,.alert-governance-flow b{border:1px solid rgba(92,245,255,.22);border-radius:999px;padding:16px 18px;background:rgba(3,12,23,.9);font-size:clamp(.92rem,1.05vw,1.25rem);white-space:nowrap}.lifecycle-flow span,.alert-governance-flow span{color:var(--gold);font-weight:1000;font-size:1.8rem}.holding-orbit{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))!important}.holding.zec{border-color:rgba(200,170,255,.42);background:radial-gradient(circle,rgba(160,120,255,.15),rgba(4,13,25,.94) 62%)}.zec{left:8%;top:66%;width:66px;height:66px;border-color:rgba(200,170,255,.44)!important;color:#d9c7ff!important}

/* V37 governance: navigation capsule and alert text auto-fit */
.left-dock{width:max(var(--rail),172px)!important}.left-dock a{min-width:0!important;width:100%!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;font-size:clamp(.62rem,.62vw,.72rem)!important;letter-spacing:.045em!important;padding-inline:8px!important}.mobile-bar .brand-sub{white-space:nowrap!important}.mission-hud strong,.mission-hud span{word-break:keep-all!important;overflow-wrap:normal!important}.asset,.holding,.watchlist-radar b,.market-radar b,.geo-map i,.heart,.node{overflow-wrap:normal!important;word-break:keep-all!important;hyphens:none!important}.alert-grid strong,.alert-hero-grid strong,.audio-grid strong,.entry-grid strong,.reentry-grid strong,.rr-grid strong{word-break:keep-all!important;overflow-wrap:normal!important;text-wrap:balance}
@container (max-width:210px){.trade-screen strong,.alerts-screen strong{font-size:1.02rem!important;line-height:1.06!important}.trade-screen em,.alerts-screen em{font-size:.76rem!important;line-height:1.18!important}.trade-screen span,.alerts-screen span{font-size:.58rem!important;letter-spacing:.08em!important}}
@container (max-width:170px){.trade-screen strong,.alerts-screen strong{font-size:.92rem!important}.trade-screen em,.alerts-screen em{font-size:.68rem!important}.trade-screen span,.alerts-screen span{font-size:.52rem!important;letter-spacing:.06em!important}}
@media(max-width:1180px){.trade-hero-grid,.entry-grid,.reentry-grid,.rr-grid,.alert-hero-grid,.alert-grid,.audio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-screen strong,.alerts-screen strong{font-size:clamp(1.2rem,2vw,2rem)!important}.left-dock{width:160px!important}.left-dock a{font-size:.62rem!important}}
@media(max-width:860px){.trade-screen,.alerts-screen{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;grid-template-columns:1fr!important;margin:0 0 16px!important;padding:16px!important;border-radius:26px!important;overflow:hidden!important}.trade-command-board,.entry-card,.lifecycle-card,.reentry-card,.rr-card,.alert-command-board,.alert-center-card,.audio-profile-card,.alert-governance-card{width:100%!important;min-width:0!important;min-height:auto!important;padding:16px!important;border-radius:24px!important;margin-bottom:14px!important}.trade-hero-grid,.entry-grid,.reentry-grid,.rr-grid,.alert-hero-grid,.alert-grid,.audio-grid{grid-template-columns:1fr!important;gap:12px!important}.trade-screen strong,.alerts-screen strong{font-size:clamp(1.55rem,7vw,2.35rem)!important;line-height:1.04!important}.lifecycle-flow,.alert-governance-flow{display:grid;grid-template-columns:1fr;gap:10px}.lifecycle-flow span,.alert-governance-flow span{font-size:1.25rem;line-height:1}.left-dock a{font-size:.76rem!important;letter-spacing:.08em!important}.holding-orbit{grid-template-columns:repeat(2,minmax(0,1fr))!important}.holding{min-height:112px!important;border-radius:28px!important}}

/* V37.1 patch — dock scroll + mobile navigation reflow
   Fixes: desktop left rail not scrollable; mobile dock compressed/displaced after V37 nav expansion. */
.left-dock{
  max-height:calc(100vh - 44px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin;
}
.left-dock::-webkit-scrollbar{width:4px}
.left-dock::-webkit-scrollbar-thumb{background:rgba(92,245,255,.22);border-radius:999px}

@media(max-width:860px){
  .left-dock{
    position:fixed!important;
    left:16px!important;
    right:16px!important;
    top:auto!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
    transform:none!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    max-height:42vh!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(70px,1fr))!important;
    gap:8px!important;
    padding:10px!important;
    border-radius:24px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    z-index:120!important;
  }
  .left-dock a{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:42px!important;
    margin:0!important;
    padding:0 6px!important;
    font-size:clamp(.56rem,2.25vw,.68rem)!important;
    letter-spacing:.055em!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .left-dock a.active{
    min-width:0!important;
  }
  body{padding-bottom:190px!important;}
}

@media(max-width:380px){
  .left-dock{grid-template-columns:repeat(3,minmax(76px,1fr))!important;max-height:46vh!important;}
  .left-dock a{font-size:.58rem!important;letter-spacing:.045em!important;}
}

/* V37.2 patch — Mobile top-right slide menu
   Fixes: bottom navigation taking half the phone screen.
   Rule: mobile navigation stays available from the top-right menu button, opens as a compact right-side rail, and never covers the main intelligence canvas by default. */
@media(max-width:860px){
  body{padding-bottom:82px!important;}
  .mobile-bar{position:sticky!important;top:0!important;z-index:180!important;}
  .menu-btn{position:relative!important;z-index:220!important;}
  .left-dock{
    left:auto!important;
    right:12px!important;
    top:82px!important;
    bottom:auto!important;
    width:min(178px,46vw)!important;
    max-width:min(178px,46vw)!important;
    max-height:calc(100vh - 170px)!important;
    display:flex!important;
    flex-direction:column!important;
    gap:6px!important;
    padding:12px!important;
    border-radius:24px!important;
    transform:translateX(118%)!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:transform .22s ease,opacity .22s ease!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    z-index:190!important;
    box-shadow:0 24px 80px rgba(0,0,0,.48),0 0 42px rgba(70,236,242,.16)!important;
  }
  .left-dock.open,
  body.nav-open .left-dock{
    transform:translateX(0)!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .left-dock a{
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0 10px!important;
    border-radius:999px!important;
    font-size:clamp(.58rem,2.1vw,.68rem)!important;
    letter-spacing:.055em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    justify-content:center!important;
  }
  .dock-title{display:block!important;font-size:.62rem!important;margin:0 0 4px!important;}
  .galaxy-workspace{padding-bottom:96px!important;}
  body.nav-open::after{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,8,15,.26);
    backdrop-filter:blur(1px);
    z-index:160;
    pointer-events:none;
  }
}


/* V38 — Intelligence Operating System / Autonomous Watchtower & Notification Center */
.cluster-dock{gap:10px!important;padding-bottom:24px!important;overflow-y:auto!important;scrollbar-width:thin}.cluster-dock .dock-title{font-size:.88rem;letter-spacing:.18em}.nav-cluster{border:1px solid rgba(92,245,255,.14);border-radius:18px;background:rgba(5,16,29,.62);padding:8px;margin:0 0 4px}.nav-cluster summary{cursor:pointer;list-style:none;display:grid;gap:3px;padding:6px 4px;color:var(--text)}.nav-cluster summary::-webkit-details-marker{display:none}.nav-cluster summary b{font-size:.8rem;letter-spacing:.12em}.nav-cluster summary span{font-size:.58rem;color:var(--muted);line-height:1.15}.nav-cluster a{min-height:30px!important;padding:8px 10px!important;font-size:.72rem!important;margin-top:5px!important;border-radius:12px!important}.watchtower-screen,.trade-screen{display:grid;grid-template-columns:1fr 1fr;gap:18px;border:1px solid rgba(92,245,255,.16);border-radius:32px;background:linear-gradient(135deg,rgba(7,26,42,.94),rgba(3,9,18,.96));box-shadow:inset 0 0 96px rgba(70,236,242,.045),0 20px 80px rgba(0,0,0,.24);padding:24px;overflow:hidden}.watchtower-board,.alert-queue-card,.timeline-card,.cluster-map-card,.trade-lifecycle-card,.entry-command-card,.operator-logbook-card,.decision-journal-card{border:1px solid rgba(92,245,255,.18);border-radius:28px;background:rgba(2,9,18,.76);padding:18px;position:relative;overflow:hidden}.watchtower-board,.trade-lifecycle-card{grid-column:1/-1}.watchtower-hero-grid,.cluster-grid,.entry-grid,.journal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:18px}.watchtower-hero-grid>div,.cluster-grid>div,.entry-grid>div,.journal-grid>div{border:1px solid rgba(92,245,255,.16);border-radius:24px;background:radial-gradient(circle at 28% 16%,rgba(70,236,242,.10),transparent 48%),rgba(5,16,29,.78);padding:16px;display:grid;align-content:center;gap:7px;min-height:116px}.watchtower-screen span,.trade-screen span{color:rgba(206,231,255,.76);letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;font-weight:1000}.watchtower-screen strong,.trade-screen strong{font-size:clamp(1.05rem,1.6vw,2.2rem);line-height:1.02}.watchtower-screen em,.trade-screen em{font-style:normal;color:var(--muted);font-weight:800}.urgent,.risk{border-color:rgba(255,107,115,.38)!important}.action,.ready,.hot{border-color:rgba(255,232,121,.45)!important}.watch,.wait{border-color:rgba(92,245,255,.25)!important}.alert-queue,.logbook-grid{display:grid;gap:10px;margin-top:16px}.alert-queue>div,.logbook-grid>div{display:grid;grid-template-columns:minmax(74px,.75fr) 1fr auto;gap:10px;align-items:center;border:1px solid rgba(92,245,255,.15);border-radius:18px;background:rgba(7,24,42,.74);padding:12px}.alert-queue b,.logbook-grid b{color:var(--gold)}.alert-queue span,.logbook-grid span{font-size:.78rem;text-transform:none;letter-spacing:0;color:var(--muted)}.alert-queue strong,.logbook-grid strong{font-size:1rem}.notification-timeline{display:grid;gap:10px;margin-top:16px}.notification-timeline>div{border-left:2px solid rgba(255,232,121,.55);padding:8px 0 8px 14px}.notification-timeline strong{display:block;font-size:1rem}.lifecycle-flow{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;margin-top:18px}.lifecycle-flow span{border:1px solid rgba(92,245,255,.22);border-radius:999px;background:rgba(7,24,42,.82);padding:10px 14px;white-space:nowrap}.lifecycle-flow b{color:var(--gold)}.holding.zec{left:42%;top:70%;border-color:rgba(255,232,121,.42)}.asset.zec{left:47%;top:25%;border-color:rgba(255,232,121,.46)!important}.galaxy-workspace{scroll-padding-top:80px}.mobile-bar .brand-sub{white-space:nowrap}.cluster-grid strong{text-wrap:balance}.compact-list *,.compact-tiles *{overflow-wrap:normal!important;word-break:normal!important}.mission-hud strong{overflow-wrap:normal;word-break:normal}

/* V38 Mobile Density Engine / Adaptive Density Layer */
@media(max-width:860px){
  .mobile-bar{min-height:64px!important}.brand-title{font-size:.95rem!important}.brand-sub{font-size:.68rem!important}.galaxy-workspace{padding:78px 12px 28px!important;gap:14px!important}.cluster-dock{width:min(86vw,340px)!important;right:10px!important;left:auto!important;top:68px!important;max-height:76vh!important;border-radius:22px!important;padding:12px!important}.cluster-dock .dock-title{font-size:.72rem!important}.nav-cluster{padding:6px!important;border-radius:15px!important}.nav-cluster summary{padding:5px!important}.nav-cluster a{display:inline-flex!important;width:auto!important;min-height:28px!important;margin:4px 3px 0 0!important;padding:7px 9px!important;font-size:.66rem!important;letter-spacing:.05em!important}.watchtower-screen,.trade-screen{width:100%!important;max-width:100%!important;display:block!important;padding:14px!important;border-radius:24px!important;margin:0 0 14px!important}.watchtower-board,.alert-queue-card,.timeline-card,.cluster-map-card,.trade-lifecycle-card,.entry-command-card,.operator-logbook-card,.decision-journal-card{padding:14px!important;border-radius:22px!important;margin-bottom:12px!important}.watchtower-hero-grid,.cluster-grid,.entry-grid,.journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-top:12px!important}.watchtower-hero-grid>div,.cluster-grid>div,.entry-grid>div,.journal-grid>div{min-height:84px!important;padding:10px!important;border-radius:16px!important}.watchtower-screen strong,.trade-screen strong{font-size:1.03rem!important;line-height:1.05!important}.watchtower-screen span,.trade-screen span{font-size:.58rem!important;letter-spacing:.08em!important}.watchtower-screen em,.trade-screen em{font-size:.68rem!important;line-height:1.2!important}.alert-queue>div,.logbook-grid>div{grid-template-columns:1fr auto!important;padding:9px 10px!important;border-radius:14px!important}.alert-queue>div span,.logbook-grid>div span{grid-column:1/-1;font-size:.68rem!important}.notification-timeline>div{padding:6px 0 6px 10px!important}.lifecycle-flow{justify-content:flex-start!important;gap:6px!important}.lifecycle-flow span{padding:7px 9px!important;font-size:.6rem!important}.lifecycle-flow b{display:none}.exposure-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid,.position-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid,.budget-bars,.price-grid,.market-hero-grid,.macro-pressure-grid,.currency-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.exposure-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.position-grid>div,.optimizer-grid>div,.correlation-grid>div,.stress-grid>div,.rebalance-grid>div,.price-grid>div,.market-hero-grid>div,.macro-pressure-grid>div,.currency-grid>div{min-height:78px!important;padding:10px!important;border-radius:16px!important}.exposure-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,.position-grid strong,.optimizer-grid strong,.correlation-grid strong,.stress-grid strong,.rebalance-grid strong,.price-grid strong,.market-hero-grid strong,.macro-pressure-grid strong,.currency-grid strong{font-size:1rem!important;line-height:1.05!important}.exposure-grid span,.allocation-grid span,.heat-grid span,.risk-grid span,.capital-action-grid span,.position-grid span,.optimizer-grid span,.correlation-grid span,.stress-grid span,.rebalance-grid span,.price-grid span,.market-hero-grid span,.macro-pressure-grid span,.currency-grid span{font-size:.58rem!important;letter-spacing:.07em!important}.exposure-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,.position-grid em,.optimizer-grid em,.correlation-grid em,.stress-grid em,.rebalance-grid em,.price-grid em,.market-hero-grid em,.macro-pressure-grid em,.currency-grid em{font-size:.66rem!important;line-height:1.15!important}.budget-bars{display:grid!important}.budget-bars>div{min-height:auto!important}.mission-hud{display:none!important}
}


/* V39 — Institutional Density Engine / Maximum Intelligence, Minimum Space */
:root{--qp-density-tight:10px;--qp-density-card:14px;}
.density-screen{display:grid;grid-template-columns:1.15fr .85fr .85fr;gap:14px;border:1px solid rgba(92,245,255,.16);border-radius:30px;background:linear-gradient(135deg,rgba(6,21,35,.95),rgba(2,8,16,.96));box-shadow:inset 0 0 80px rgba(70,236,242,.035),0 18px 70px rgba(0,0,0,.22);padding:18px;overflow:hidden}.density-board,.compact-terminal-card{border:1px solid rgba(92,245,255,.18);border-radius:24px;background:rgba(2,9,18,.76);padding:14px;min-width:0;overflow:hidden}.density-board{grid-column:auto}.density-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.density-grid>div{border:1px solid rgba(92,245,255,.15);border-radius:16px;background:rgba(7,24,42,.72);padding:10px;min-height:78px;display:grid;gap:4px;align-content:center}.density-grid span,.compact-metrics span,.terminal-feed span{color:rgba(206,231,255,.72);letter-spacing:.08em;text-transform:uppercase;font-size:.58rem;font-weight:1000}.density-grid strong{font-size:1rem;line-height:1.05;text-wrap:balance}.density-grid em{font-style:normal;color:var(--muted);font-size:.72rem;line-height:1.18}.priority-decision{border-color:rgba(255,232,121,.35)!important}.compact-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.compact-metrics>div{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;border:1px solid rgba(92,245,255,.13);border-radius:14px;background:rgba(7,24,42,.68);padding:8px 10px;min-height:42px}.compact-metrics strong{font-size:.95rem;color:#fff;white-space:nowrap}.terminal-feed{display:grid;gap:7px;margin-top:12px}.terminal-feed>div{display:grid;grid-template-columns:minmax(76px,.65fr) 1fr auto;align-items:center;gap:10px;border:1px solid rgba(92,245,255,.14);border-radius:14px;background:rgba(7,24,42,.72);padding:8px 10px;min-height:40px}.terminal-feed b{color:var(--gold);font-size:.86rem}.terminal-feed strong{font-size:.9rem;color:#fff}.terminal-feed span{text-transform:none;letter-spacing:0;color:var(--muted);font-size:.74rem}
@media(min-width:861px){
  .hero-copy h1{font-size:clamp(2.25rem,3.7vw,4.9rem)!important;line-height:.88!important}.hero-copy p{font-size:clamp(.92rem,1vw,1.08rem)!important;max-width:980px!important;margin-bottom:12px!important}.command-screen,.galaxy-screen,.signal-screen,.outcome-screen,.archive-screen,.executive-screen,.capital-screen,.portfolio-screen,.attribution-screen,.watchlist-screen,.market-screen,.regime-screen,.macro-screen,.geopolitics-screen,.allocation-screen,.position-screen{padding:18px!important;border-radius:28px!important}.galaxy-workspace{gap:14px!important;padding-top:24px!important}.command-grid{gap:14px!important;grid-template-columns:minmax(500px,1.15fr) minmax(330px,.85fr)!important}.nucleus-card{min-height:390px!important}.heart{width:148px!important;height:148px!important;box-shadow:0 0 36px rgba(70,236,242,.20)!important}.heart strong{font-size:1.78rem!important}.heart span{font-size:.6rem!important}.heart em{font-size:.72rem!important}.node{min-width:124px!important;padding:9px 11px!important;border-radius:16px!important}.node strong{font-size:.88rem!important}.node span{font-size:.56rem!important}.node.top{top:18px!important}.node.left{left:18px!important}.node.right{right:18px!important}.node.bottom{bottom:62px!important}.node.outcome{bottom:14px!important}.operator-panel{gap:10px!important}.holding-orbit{grid-template-columns:repeat(4,minmax(0,1fr))!important}.holding{min-height:92px!important;border-radius:24px!important}.holding b{font-size:1.18rem!important}.holding span{font-size:.68rem!important}.authority-meter,.learning-loop{padding:12px!important;border-radius:18px!important}.authority-meter strong,.learning-loop strong{font-size:1.22rem!important;margin:4px 0!important}.mini-head strong{font-size:1rem!important}.mission-hud{padding:12px!important;border-radius:22px!important}.mission-hud>div:not(.hud-title){padding:7px 0!important}.mission-hud span{font-size:.56rem!important}.mission-hud strong{font-size:.75rem!important}.watchtower-screen,.trade-screen{padding:18px!important;border-radius:28px!important;gap:14px!important}.watchtower-board,.alert-queue-card,.timeline-card,.cluster-map-card,.trade-lifecycle-card,.entry-command-card,.operator-logbook-card,.decision-journal-card{padding:14px!important;border-radius:22px!important}.watchtower-hero-grid,.cluster-grid,.entry-grid,.journal-grid{gap:10px!important;margin-top:12px!important;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important}.watchtower-hero-grid>div,.cluster-grid>div,.entry-grid>div,.journal-grid>div{min-height:82px!important;padding:10px!important;border-radius:16px!important}.watchtower-screen strong,.trade-screen strong{font-size:1.05rem!important;line-height:1.05!important}.watchtower-screen span,.trade-screen span{font-size:.56rem!important}.watchtower-screen em,.trade-screen em{font-size:.68rem!important;line-height:1.15!important}.alert-queue>div,.logbook-grid>div{padding:8px 10px!important;border-radius:14px!important;min-height:42px!important}.notification-timeline{gap:6px!important}.notification-timeline>div{padding:5px 0 5px 10px!important}.notification-timeline strong{font-size:.88rem!important}.notification-timeline em{font-size:.7rem!important}.lifecycle-flow{gap:6px!important}.lifecycle-flow span{padding:7px 10px!important;font-size:.62rem!important}.exposure-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid,.position-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid,.budget-bars,.price-grid,.market-hero-grid,.macro-pressure-grid,.currency-grid,.exec-hero-grid,.portfolio-blueprint-grid,.health-grid{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))!important;gap:10px!important}.exposure-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.position-grid>div,.optimizer-grid>div,.correlation-grid>div,.stress-grid>div,.rebalance-grid>div,.price-grid>div,.market-hero-grid>div,.macro-pressure-grid>div,.currency-grid>div,.exec-hero-grid>div,.portfolio-blueprint-grid>div,.health-grid>div{min-height:74px!important;padding:10px 11px!important;border-radius:16px!important}.exposure-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,.position-grid strong,.optimizer-grid strong,.correlation-grid strong,.stress-grid strong,.rebalance-grid strong,.price-grid strong,.market-hero-grid strong,.macro-pressure-grid strong,.currency-grid strong,.exec-hero-grid strong,.portfolio-blueprint-grid strong,.health-grid strong{font-size:1rem!important;line-height:1.05!important}.exposure-grid span,.allocation-grid span,.heat-grid span,.risk-grid span,.capital-action-grid span,.position-grid span,.optimizer-grid span,.correlation-grid span,.stress-grid span,.rebalance-grid span,.price-grid span,.market-hero-grid span,.macro-pressure-grid span,.currency-grid span,.exec-hero-grid span,.portfolio-blueprint-grid span,.health-grid span{font-size:.56rem!important;letter-spacing:.07em!important}.exposure-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,.position-grid em,.optimizer-grid em,.correlation-grid em,.stress-grid em,.rebalance-grid em,.price-grid em,.market-hero-grid em,.macro-pressure-grid em,.currency-grid em,.exec-hero-grid em,.portfolio-blueprint-grid em,.health-grid em{font-size:.66rem!important;line-height:1.12!important}.universe-map{height:430px!important}.signal-map{height:350px!important}.universe-card,.radar-card,.signal-galaxy-card,.cognitive-galaxy-card,.outcome-card{min-height:310px!important;padding:14px!important}.radar-disc,.cognitive-map{width:min(300px,100%)!important;margin:18px auto!important}.flow-loop span{padding:8px 12px!important;font-size:.75rem!important}.archive-grid{gap:9px!important}details{padding:10px!important;border-radius:14px!important}details p{font-size:.82rem!important;line-height:1.25!important}
}
@media(max-width:860px){
  .density-screen{display:block!important;padding:12px!important;border-radius:22px!important;margin-bottom:12px!important}.density-board,.compact-terminal-card{padding:12px!important;border-radius:18px!important;margin-bottom:10px!important}.density-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.density-grid>div{min-height:66px!important;padding:8px!important;border-radius:14px!important}.density-grid strong{font-size:.88rem!important}.density-grid em{font-size:.62rem!important}.compact-metrics{grid-template-columns:1fr 1fr!important;gap:6px!important}.compact-metrics>div{min-height:34px!important;padding:7px 8px!important;border-radius:12px!important}.compact-metrics span{font-size:.55rem!important}.compact-metrics strong{font-size:.82rem!important}.terminal-feed>div{grid-template-columns:72px 1fr auto!important;min-height:34px!important;padding:7px 8px!important;border-radius:12px!important}.terminal-feed b,.terminal-feed strong{font-size:.78rem!important}.terminal-feed span{font-size:.62rem!important}.hero-copy h1{font-size:clamp(1.9rem,9vw,3.1rem)!important}.hero-copy p{font-size:.86rem!important;line-height:1.32!important}.command-screen,.galaxy-screen,.signal-screen,.outcome-screen,.archive-screen,.executive-screen,.capital-screen,.portfolio-screen,.attribution-screen,.watchlist-screen,.market-screen,.regime-screen,.macro-screen,.geopolitics-screen,.allocation-screen,.position-screen{padding:12px!important;border-radius:22px!important}.nucleus-card{min-height:330px!important}.heart{width:110px!important;height:110px!important}.heart strong{font-size:1.25rem!important}.node{min-width:84px!important;max-width:108px!important;padding:7px!important;border-radius:14px!important}.node strong{font-size:.72rem!important}.node span{font-size:.48rem!important}.holding-orbit{grid-template-columns:repeat(4,minmax(0,1fr))!important}.holding{min-height:70px!important;border-radius:18px!important}.holding b{font-size:.9rem!important}.holding span{font-size:.56rem!important}.authority-meter,.learning-loop{padding:10px!important}.authority-meter strong,.learning-loop strong{font-size:1.05rem!important}.watchtower-hero-grid>div,.cluster-grid>div,.entry-grid>div,.journal-grid>div{min-height:64px!important;padding:8px!important}.watchtower-screen strong,.trade-screen strong{font-size:.86rem!important}.watchtower-screen em,.trade-screen em{font-size:.58rem!important}.alert-queue>div,.logbook-grid>div{min-height:34px!important;padding:7px 8px!important}.notification-timeline strong{font-size:.78rem!important}.notification-timeline em{font-size:.6rem!important}.exposure-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid,.position-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid,.budget-bars,.price-grid,.market-hero-grid,.macro-pressure-grid,.currency-grid,.exec-hero-grid,.portfolio-blueprint-grid,.health-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.exposure-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.position-grid>div,.optimizer-grid>div,.correlation-grid>div,.stress-grid>div,.rebalance-grid>div,.price-grid>div,.market-hero-grid>div,.macro-pressure-grid>div,.currency-grid>div,.exec-hero-grid>div,.portfolio-blueprint-grid>div,.health-grid>div{min-height:58px!important;padding:8px!important;border-radius:13px!important}.exposure-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,.position-grid strong,.optimizer-grid strong,.correlation-grid strong,.stress-grid strong,.rebalance-grid strong,.price-grid strong,.market-hero-grid strong,.macro-pressure-grid strong,.currency-grid strong,.exec-hero-grid strong,.portfolio-blueprint-grid strong,.health-grid strong{font-size:.82rem!important}.exposure-grid span,.allocation-grid span,.heat-grid span,.risk-grid span,.capital-action-grid span,.position-grid span,.optimizer-grid span,.correlation-grid span,.stress-grid span,.rebalance-grid span,.price-grid span,.market-hero-grid span,.macro-pressure-grid span,.currency-grid span,.exec-hero-grid span,.portfolio-blueprint-grid span,.health-grid span{font-size:.5rem!important}.exposure-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,.position-grid em,.optimizer-grid em,.correlation-grid em,.stress-grid em,.rebalance-grid em,.price-grid em,.market-hero-grid em,.macro-pressure-grid em,.currency-grid em,.exec-hero-grid em,.portfolio-blueprint-grid em,.health-grid em{font-size:.58rem!important}.radar-disc,.cognitive-map{width:min(260px,100%)!important;margin:14px auto!important}.flow-loop span{padding:7px 9px!important;font-size:.62rem!important}.archive-grid{gap:7px!important}details{padding:8px!important}
}

/* =============================
   QuantPilot V40 — FICIG Operating System
   Newspaper Intelligence Terminal
   Built on stable V39 baseline
   ============================= */
:root{
  --ficig-top-h: 82px;
}
.mobile-bar{display:none!important}
.ficig-topbar{
  position:sticky;
  top:0;
  z-index:90;
  display:grid;
  grid-template-columns:minmax(180px,260px) minmax(0,1fr) minmax(86px,120px);
  gap:14px;
  align-items:center;
  margin:0 auto 12px;
  width:min(100% - 32px,1600px);
  padding:10px 12px;
  border:1px solid rgba(92,245,255,.18);
  border-radius:0 0 24px 24px;
  background:linear-gradient(135deg,rgba(5,14,25,.94),rgba(3,9,18,.92));
  backdrop-filter:blur(18px);
  box-shadow:0 18px 48px rgba(0,0,0,.22);
}
.ficig-logo-block{display:flex;align-items:center;gap:10px;min-width:0}
.ficig-mark{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(92,245,255,.45);background:radial-gradient(circle,rgba(70,236,242,.20),rgba(5,14,25,.95) 62%);color:#ffe879;font-weight:1000;font-size:1.32rem;box-shadow:0 0 28px rgba(70,236,242,.14)}
.ficig-logo-block strong{display:block;color:#fff;font-size:1.14rem;letter-spacing:.18em;font-weight:1000;line-height:1}
.ficig-logo-block span{display:block;color:rgba(206,231,255,.66);font-size:.58rem;letter-spacing:.08em;text-transform:uppercase;line-height:1.12;margin-top:3px;max-width:190px}
.cluster-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;align-items:stretch}
.cluster-tabs a{display:grid;align-content:center;gap:2px;min-height:54px;padding:8px 9px;border:1px solid rgba(180,230,255,.14);border-radius:16px;background:rgba(255,255,255,.035);text-align:center;overflow:hidden}
.cluster-tabs a:hover,.cluster-tabs a:focus{background:linear-gradient(135deg,rgba(66,241,213,.22),rgba(98,169,255,.18));border-color:rgba(92,245,255,.36)}
.cluster-tabs b{font-size:.72rem;letter-spacing:.10em;color:#fff;line-height:1;font-weight:1000;white-space:nowrap}
.cluster-tabs span{font-size:.54rem;letter-spacing:.03em;color:rgba(206,231,255,.65);line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ficig-status{display:grid;align-content:center;justify-items:end;gap:1px;color:#fff;min-width:0}
.ficig-status span{color:#80fff0;font-size:.66rem;font-weight:1000;letter-spacing:.14em;white-space:nowrap}
.ficig-status b{color:#ffe879;font-size:1rem;letter-spacing:.12em}
/* V40 removes the fixed left rail as primary navigation. It remains in DOM as legacy fallback only. */
.left-dock{display:none!important}
.galaxy-workspace{width:min(100% - (var(--hud) + 96px),1680px)!important;padding-top:10px!important;gap:12px!important}
.hero-copy{display:grid!important;grid-template-columns:minmax(240px,.55fr) minmax(0,1fr);gap:12px;align-items:end;margin-bottom:8px}
.hero-copy h1{font-size:clamp(1.75rem,2.85vw,3.75rem)!important;line-height:.9!important;letter-spacing:-.055em!important;margin:4px 0!important}
.hero-copy p{font-size:clamp(.82rem,.9vw,.98rem)!important;line-height:1.28!important;max-width:980px!important;margin:0!important;color:rgba(206,231,255,.76)!important}
.kicker{font-size:.62rem!important;letter-spacing:.14em!important}
.command-screen,.galaxy-screen,.signal-screen,.outcome-screen,.archive-screen,.executive-screen,.capital-screen,.portfolio-screen,.attribution-screen,.watchlist-screen,.market-screen,.regime-screen,.macro-screen,.geopolitics-screen,.allocation-screen,.position-screen,.watchtower-screen,.trade-screen,.density-screen{padding:16px!important;border-radius:24px!important;gap:12px!important}
/* Newspaper compression: data objects become rows rather than giant presentation cards */
.compact-metrics,.terminal-feed,.alert-queue,.notification-timeline,.signal-tape,.catalyst-stack,.attribution-bars,.allocation-bars,.decision-stack,.drift-stack,.budget-bars{gap:6px!important}
.compact-metrics>div,.terminal-feed>div,.alert-queue>div,.notification-timeline>div,.signal-tape>div,.catalyst-stack>div,.attribution-bars>div,.allocation-bars>div,.decision-stack>div,.drift-stack>div,.budget-bars>div{
  min-height:34px!important;
  padding:7px 10px!important;
  border-radius:12px!important;
  display:grid;
  align-items:center;
}
.terminal-feed>div,.alert-queue>div,.signal-tape>div{grid-template-columns:minmax(68px,.42fr) minmax(0,1fr) auto!important}
.notification-timeline>div{grid-template-columns:54px minmax(0,1fr)!important}
.notification-timeline em{grid-column:2!important}
.compact-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}
.compact-metrics>div{grid-template-columns:1fr auto!important}
.compact-metrics strong,.terminal-feed strong,.alert-queue strong,.notification-timeline strong,.signal-tape strong,.catalyst-stack strong{font-size:.88rem!important;line-height:1.05!important}
.compact-metrics span,.terminal-feed span,.alert-queue span,.notification-timeline span,.signal-tape span,.catalyst-stack span{font-size:.64rem!important;letter-spacing:.06em!important}
.compact-metrics em,.terminal-feed em,.alert-queue em,.notification-timeline em,.signal-tape em,.catalyst-stack em{font-size:.66rem!important;line-height:1.08!important}
/* Card geometry compression */
.exposure-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid,.position-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid,.price-grid,.market-hero-grid,.macro-pressure-grid,.currency-grid,.exec-hero-grid,.portfolio-blueprint-grid,.health-grid,.performance-hero,.contributors-grid,.thesis-grid,.watchtower-hero-grid,.cluster-grid,.entry-grid,.journal-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:8px!important}
.exposure-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.position-grid>div,.optimizer-grid>div,.correlation-grid>div,.stress-grid>div,.rebalance-grid>div,.price-grid>div,.market-hero-grid>div,.macro-pressure-grid>div,.currency-grid>div,.exec-hero-grid>div,.portfolio-blueprint-grid>div,.health-grid>div,.performance-hero>div,.contributors-grid>div,.thesis-grid>div,.watchtower-hero-grid>div,.cluster-grid>div,.entry-grid>div,.journal-grid>div{min-height:62px!important;padding:9px 10px!important;border-radius:14px!important;gap:4px!important}
.exposure-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,.position-grid strong,.optimizer-grid strong,.correlation-grid strong,.stress-grid strong,.rebalance-grid strong,.price-grid strong,.market-hero-grid strong,.macro-pressure-grid strong,.currency-grid strong,.exec-hero-grid strong,.portfolio-blueprint-grid strong,.health-grid strong,.performance-hero strong,.contributors-grid strong,.thesis-grid strong,.watchtower-hero-grid strong,.cluster-grid strong,.entry-grid strong,.journal-grid strong{font-size:.96rem!important;line-height:1.02!important}
.exposure-grid span,.allocation-grid span,.heat-grid span,.risk-grid span,.capital-action-grid span,.position-grid span,.optimizer-grid span,.correlation-grid span,.stress-grid span,.rebalance-grid span,.price-grid span,.market-hero-grid span,.macro-pressure-grid span,.currency-grid span,.exec-hero-grid span,.portfolio-blueprint-grid span,.health-grid span,.performance-hero span,.contributors-grid span,.thesis-grid span,.watchtower-hero-grid span,.cluster-grid span,.entry-grid span,.journal-grid span{font-size:.54rem!important;letter-spacing:.065em!important}
.exposure-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,.position-grid em,.optimizer-grid em,.correlation-grid em,.stress-grid em,.rebalance-grid em,.price-grid em,.market-hero-grid em,.macro-pressure-grid em,.currency-grid em,.exec-hero-grid em,.portfolio-blueprint-grid em,.health-grid em,.performance-hero em,.contributors-grid em,.thesis-grid em,.watchtower-hero-grid em,.cluster-grid em,.entry-grid em,.journal-grid em{font-size:.64rem!important;line-height:1.12!important}
/* Only true executive/critical numbers remain visually dominant */
.exec-hero-grid .primary strong,.priority-decision strong,.urgent strong,.market-primary strong{font-size:clamp(1.05rem,1.75vw,2.1rem)!important}
.nucleus-card{min-height:330px!important}.heart{width:122px!important;height:122px!important}.heart strong{font-size:1.28rem!important}.heart em{font-size:.62rem!important}.node{min-width:100px!important;padding:7px 9px!important;border-radius:14px!important}.node strong{font-size:.74rem!important}.node span{font-size:.48rem!important}.node.bottom{bottom:50px!important}.node.outcome{bottom:10px!important}.holding{min-height:72px!important;border-radius:18px!important}.holding b{font-size:.98rem!important}.holding span{font-size:.6rem!important}.authority-meter,.learning-loop{padding:10px!important;border-radius:16px!important}.authority-meter strong,.learning-loop strong{font-size:1rem!important;margin:3px 0!important}.universe-map{height:360px!important}.signal-map{height:310px!important}.radar-disc,.cognitive-map,.market-radar,.portfolio-radar,.watchlist-radar{width:min(260px,100%)!important;margin:12px auto!important}.market-radar b{font-size:1.65rem!important}.universe-card,.radar-card,.signal-galaxy-card,.cognitive-galaxy-card,.outcome-card{min-height:260px!important;padding:12px!important;border-radius:20px!important}.mini-head strong{font-size:.9rem!important}.mini-head span{font-size:.56rem!important;letter-spacing:.08em!important}
/* Typography safety */
.ficig-topbar *, .galaxy-workspace *{overflow-wrap:normal;word-break:normal}

@media(max-width:1180px) and (min-width:861px){
  .ficig-topbar{grid-template-columns:210px 1fr 90px;width:calc(100% - 24px);gap:10px}
  .cluster-tabs a{padding:7px 6px;min-height:50px}.cluster-tabs b{font-size:.66rem}.cluster-tabs span{display:none}
  .galaxy-workspace{width:calc(100% - 230px)!important;margin-left:18px!important;margin-right:210px!important}
  .mission-hud{right:12px!important;width:190px!important}
}
@media(max-width:860px){
  body{padding-bottom:0!important}
  .ficig-topbar{position:sticky;top:0;width:100%;grid-template-columns:1fr;gap:8px;border-radius:0;padding:8px 10px;z-index:120}
  .ficig-logo-block{justify-content:center}.ficig-mark{width:34px;height:34px;font-size:1.1rem}.ficig-logo-block strong{font-size:.98rem}.ficig-logo-block span{font-size:.48rem;max-width:none;text-align:left}.ficig-status{display:none}
  .cluster-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .cluster-tabs a{min-height:36px;border-radius:11px;padding:5px 4px}.cluster-tabs b{font-size:.58rem;letter-spacing:.045em}.cluster-tabs span{display:none}
  .left-dock,.menu-btn{display:none!important}
  .galaxy-workspace{width:100%!important;padding:8px 10px 28px!important;margin:0!important;gap:10px!important}
  .hero-copy{grid-template-columns:1fr!important;gap:4px!important;margin:0 0 4px!important}.hero-copy h1{font-size:clamp(1.35rem,7vw,2.1rem)!important;line-height:.92!important}.hero-copy p{font-size:.72rem!important;line-height:1.18!important}.kicker{font-size:.52rem!important}
  .command-screen,.galaxy-screen,.signal-screen,.outcome-screen,.archive-screen,.executive-screen,.capital-screen,.portfolio-screen,.attribution-screen,.watchlist-screen,.market-screen,.regime-screen,.macro-screen,.geopolitics-screen,.allocation-screen,.position-screen,.watchtower-screen,.trade-screen,.density-screen{padding:10px!important;border-radius:18px!important;margin-bottom:10px!important;gap:8px!important}
  .exposure-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid,.position-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid,.price-grid,.market-hero-grid,.macro-pressure-grid,.currency-grid,.exec-hero-grid,.portfolio-blueprint-grid,.health-grid,.performance-hero,.contributors-grid,.thesis-grid,.watchtower-hero-grid,.cluster-grid,.entry-grid,.journal-grid,.compact-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .exposure-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.position-grid>div,.optimizer-grid>div,.correlation-grid>div,.stress-grid>div,.rebalance-grid>div,.price-grid>div,.market-hero-grid>div,.macro-pressure-grid>div,.currency-grid>div,.exec-hero-grid>div,.portfolio-blueprint-grid>div,.health-grid>div,.performance-hero>div,.contributors-grid>div,.thesis-grid>div,.watchtower-hero-grid>div,.cluster-grid>div,.entry-grid>div,.journal-grid>div,.compact-metrics>div{min-height:48px!important;padding:7px 8px!important;border-radius:12px!important;gap:2px!important}
  .exposure-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,.position-grid strong,.optimizer-grid strong,.correlation-grid strong,.stress-grid strong,.rebalance-grid strong,.price-grid strong,.market-hero-grid strong,.macro-pressure-grid strong,.currency-grid strong,.exec-hero-grid strong,.portfolio-blueprint-grid strong,.health-grid strong,.performance-hero strong,.contributors-grid strong,.thesis-grid strong,.watchtower-hero-grid strong,.cluster-grid strong,.entry-grid strong,.journal-grid strong,.compact-metrics strong{font-size:.82rem!important;line-height:1!important}
  .exposure-grid span,.allocation-grid span,.heat-grid span,.risk-grid span,.capital-action-grid span,.position-grid span,.optimizer-grid span,.correlation-grid span,.stress-grid span,.rebalance-grid span,.price-grid span,.market-hero-grid span,.macro-pressure-grid span,.currency-grid span,.exec-hero-grid span,.portfolio-blueprint-grid span,.health-grid span,.performance-hero span,.contributors-grid span,.thesis-grid span,.watchtower-hero-grid span,.cluster-grid span,.entry-grid span,.journal-grid span,.compact-metrics span{font-size:.48rem!important;letter-spacing:.045em!important}
  .exposure-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,.position-grid em,.optimizer-grid em,.correlation-grid em,.stress-grid em,.rebalance-grid em,.price-grid em,.market-hero-grid em,.macro-pressure-grid em,.currency-grid em,.exec-hero-grid em,.portfolio-blueprint-grid em,.health-grid em,.performance-hero em,.contributors-grid em,.thesis-grid em,.watchtower-hero-grid em,.cluster-grid em,.entry-grid em,.journal-grid em,.compact-metrics em{font-size:.56rem!important;line-height:1.05!important}
  .terminal-feed>div,.alert-queue>div,.signal-tape>div{grid-template-columns:58px minmax(0,1fr) auto!important;min-height:32px!important;padding:6px 8px!important;border-radius:10px!important}.terminal-feed span,.alert-queue span,.signal-tape span{font-size:.58rem!important}.terminal-feed strong,.alert-queue strong,.signal-tape strong{font-size:.72rem!important}
  .nucleus-card{min-height:285px!important}.heart{width:104px!important;height:104px!important}.heart strong{font-size:1rem!important}.heart span{font-size:.47rem!important}.heart em{font-size:.54rem!important}.node{min-width:80px!important;padding:6px!important;border-radius:11px!important}.node strong{font-size:.62rem!important}.node span{font-size:.42rem!important}.holding-orbit{grid-template-columns:repeat(4,minmax(0,1fr))!important}.holding{min-height:56px!important;border-radius:14px!important}.holding b{font-size:.78rem!important}.holding span{font-size:.48rem!important}.authority-meter,.learning-loop{padding:8px!important}.authority-meter strong,.learning-loop strong{font-size:.82rem!important}.universe-map{height:300px!important}.signal-map{height:265px!important}.radar-disc,.cognitive-map,.market-radar,.portfolio-radar,.watchlist-radar{width:min(220px,100%)!important}.mission-hud{display:none!important}
}

/* ==========================================================
   QuantPilot V41 — FICIG Institutional Layout Refinement
   Built on verified V40. Intelligence first; decoration second.
   ========================================================== */
:root{--ficig-top-h:72px;--hud:198px}

/* Integrated institutional command bar: brand + 6 clusters + live state */
.ficig-topbar{
  top:12px!important;
  width:calc(100% - 28px)!important;
  max-width:1840px!important;
  margin:0 auto 12px!important;
  grid-template-columns:minmax(210px,260px) minmax(0,1fr) minmax(70px,92px)!important;
  gap:10px!important;
  padding:9px 12px!important;
  border-radius:20px!important;
  align-items:center!important;
}
.ficig-logo-block{gap:9px!important;min-width:0!important}
.ficig-mark{width:36px!important;height:36px!important;font-size:1.12rem!important}
.ficig-logo-block strong{font-size:1.02rem!important;letter-spacing:.16em!important}
.ficig-logo-block span{font-size:.48rem!important;max-width:176px!important;line-height:1.05!important;opacity:.78!important}
.cluster-tabs{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important;min-width:0!important}
.cluster-tabs a{min-height:42px!important;padding:6px 7px!important;border-radius:13px!important;gap:1px!important}
.cluster-tabs b{font-size:.64rem!important;letter-spacing:.075em!important}
.cluster-tabs span{font-size:.46rem!important;line-height:1!important;opacity:.76!important}
.ficig-status{justify-items:center!important;align-content:center!important;border-left:1px solid rgba(180,230,255,.12);padding-left:6px!important}
.ficig-status span{font-size:.56rem!important;letter-spacing:.1em!important}.ficig-status b{font-size:.78rem!important}

/* Sidebar is retired in V41; workspace begins immediately below the command bar */
.left-dock{display:none!important}
.galaxy-workspace{
  width:calc(100% - var(--hud) - 72px)!important;
  max-width:1780px!important;
  margin-left:22px!important;
  margin-right:calc(var(--hud) + 34px)!important;
  padding-top:8px!important;
  gap:10px!important;
}

/* Operator Snapshot Rail — slimmer and less visually dominant */
.mission-hud{
  width:var(--hud)!important;
  right:18px!important;
  top:calc(var(--ficig-top-h) + 52px)!important;
  bottom:18px!important;
  transform:none!important;
  max-height:calc(100vh - var(--ficig-top-h) - 70px)!important;
  overflow:auto!important;
  padding:10px!important;
  border-radius:18px!important;
}
.hud-title{font-size:.58rem!important;margin-bottom:6px!important;letter-spacing:.13em!important}
.mission-hud>div:not(.hud-title){padding:5px 0!important;gap:6px!important;grid-template-columns:.85fr 1fr!important}
.mission-hud span{font-size:.48rem!important;letter-spacing:.08em!important}.mission-hud strong{font-size:.62rem!important;text-align:right!important;white-space:normal!important;line-height:1.05!important}

/* Hero Compression: keep identity, remove marketing-height weight */
.hero-copy{display:grid!important;grid-template-columns:minmax(180px,.42fr) minmax(0,1fr)!important;gap:12px!important;align-items:end!important;margin-bottom:8px!important}
.hero-copy h1{font-size:clamp(1.45rem,2.4vw,3rem)!important;letter-spacing:-.045em!important;line-height:.95!important;margin:0!important}
.hero-copy p{font-size:.78rem!important;line-height:1.22!important;margin:0!important;max-width:980px!important;color:rgba(206,231,255,.76)!important}.kicker{font-size:.52rem!important;letter-spacing:.12em!important}

/* Institutional panel compression: more newspaper, less presentation-card */
.command-screen,.galaxy-screen,.signal-screen,.outcome-screen,.archive-screen,.executive-screen,.capital-screen,.portfolio-screen,.attribution-screen,.watchlist-screen,.market-screen,.regime-screen,.macro-screen,.geopolitics-screen,.allocation-screen,.position-screen,.watchtower-screen,.trade-screen,.density-screen{
  padding:14px!important;border-radius:22px!important;gap:10px!important;margin-bottom:8px!important;
}
.mini-head{min-height:24px!important;gap:8px!important}.mini-head strong{font-size:.82rem!important;line-height:1.05!important}.mini-head span{font-size:.48rem!important;letter-spacing:.075em!important}

/* Geometry compression: containers fit information */
.exposure-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid,.position-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid,.budget-bars,.price-grid,.market-hero-grid,.macro-pressure-grid,.currency-grid,.exec-hero-grid,.portfolio-blueprint-grid,.health-grid,.performance-hero,.contributors-grid,.thesis-grid,.watchtower-hero-grid,.cluster-grid,.entry-grid,.journal-grid,.compact-metrics{
  grid-template-columns:repeat(auto-fit,minmax(128px,1fr))!important;gap:6px!important;
}
.exposure-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.position-grid>div,.optimizer-grid>div,.correlation-grid>div,.stress-grid>div,.rebalance-grid>div,.price-grid>div,.market-hero-grid>div,.macro-pressure-grid>div,.currency-grid>div,.exec-hero-grid>div,.portfolio-blueprint-grid>div,.health-grid>div,.performance-hero>div,.contributors-grid>div,.thesis-grid>div,.watchtower-hero-grid>div,.cluster-grid>div,.entry-grid>div,.journal-grid>div,.compact-metrics>div{
  min-height:44px!important;padding:7px 8px!important;border-radius:12px!important;gap:2px!important;
}
.exposure-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,.position-grid strong,.optimizer-grid strong,.correlation-grid strong,.stress-grid strong,.rebalance-grid strong,.price-grid strong,.market-hero-grid strong,.macro-pressure-grid strong,.currency-grid strong,.exec-hero-grid strong,.portfolio-blueprint-grid strong,.health-grid strong,.performance-hero strong,.contributors-grid strong,.thesis-grid strong,.watchtower-hero-grid strong,.cluster-grid strong,.entry-grid strong,.journal-grid strong,.compact-metrics strong{font-size:.78rem!important;line-height:1.02!important}
.exposure-grid span,.allocation-grid span,.heat-grid span,.risk-grid span,.capital-action-grid span,.position-grid span,.optimizer-grid span,.correlation-grid span,.stress-grid span,.rebalance-grid span,.price-grid span,.market-hero-grid span,.macro-pressure-grid span,.currency-grid span,.exec-hero-grid span,.portfolio-blueprint-grid span,.health-grid span,.performance-hero span,.contributors-grid span,.thesis-grid span,.watchtower-hero-grid span,.cluster-grid span,.entry-grid span,.journal-grid span,.compact-metrics span{font-size:.45rem!important;letter-spacing:.045em!important;line-height:1!important}
.exposure-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,.position-grid em,.optimizer-grid em,.correlation-grid em,.stress-grid em,.rebalance-grid em,.price-grid em,.market-hero-grid em,.macro-pressure-grid em,.currency-grid em,.exec-hero-grid em,.portfolio-blueprint-grid em,.health-grid em,.performance-hero em,.contributors-grid em,.thesis-grid em,.watchtower-hero-grid em,.cluster-grid em,.entry-grid em,.journal-grid em,.compact-metrics em{font-size:.53rem!important;line-height:1.05!important}

/* Rows/tapes for operator data */
.terminal-feed>div,.alert-queue>div,.signal-tape>div,.notification-timeline>div,.logbook-grid>div{
  min-height:28px!important;padding:5px 8px!important;border-radius:9px!important;gap:6px!important;
}
.terminal-feed b,.alert-queue b,.signal-tape b,.notification-timeline strong,.logbook-grid strong{font-size:.68rem!important;line-height:1!important}.terminal-feed span,.alert-queue span,.signal-tape span,.notification-timeline span,.logbook-grid span{font-size:.5rem!important}.terminal-feed em,.alert-queue em,.signal-tape em,.notification-timeline em,.logbook-grid em{font-size:.52rem!important;line-height:1.05!important}

/* Visual modules remain visible but less wasteful */
.command-grid{grid-template-columns:minmax(420px,1.15fr) minmax(300px,.85fr)!important;gap:10px!important}.nucleus-card{min-height:295px!important}.heart{width:104px!important;height:104px!important}.heart strong{font-size:1.05rem!important}.heart span{font-size:.44rem!important}.heart em{font-size:.5rem!important}.node{min-width:78px!important;padding:5px 7px!important;border-radius:10px!important}.node strong{font-size:.58rem!important}.node span{font-size:.38rem!important}.node.top{top:12px!important}.node.left{left:12px!important}.node.right{right:12px!important}.node.bottom{bottom:40px!important}.node.outcome{bottom:8px!important}.operator-panel{gap:7px!important}.holding-orbit{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.holding{min-height:50px!important;border-radius:13px!important}.holding b{font-size:.78rem!important}.holding span{font-size:.46rem!important}.authority-meter,.learning-loop{padding:8px!important;border-radius:12px!important}.authority-meter strong,.learning-loop strong{font-size:.78rem!important;margin:2px 0!important}.authority-meter i{height:7px!important}
.universe-map{height:300px!important}.signal-map{height:270px!important}.universe-card,.radar-card,.signal-galaxy-card,.cognitive-galaxy-card,.outcome-card{min-height:230px!important;padding:10px!important;border-radius:16px!important}.radar-disc,.cognitive-map,.market-radar,.portfolio-radar,.watchlist-radar{width:min(220px,100%)!important;margin:10px auto!important}.radar-disc b,.cognitive-map b{font-size:1rem!important}

/* Development-era labels are deemphasized; intelligence comes first */
.hero-copy .kicker,.dock-title,.hud-title{text-transform:uppercase}.hero-copy p b{color:#fff}.brand-sub{font-size:.48rem!important}

@media(max-width:1180px) and (min-width:861px){
  .ficig-topbar{grid-template-columns:180px 1fr 64px!important;width:calc(100% - 16px)!important;gap:6px!important;padding:8px!important}.ficig-logo-block span,.cluster-tabs span{display:none!important}.cluster-tabs a{min-height:36px!important}.cluster-tabs b{font-size:.56rem!important}.galaxy-workspace{width:calc(100% - 190px - 36px)!important;margin-left:12px!important;margin-right:calc(190px + 20px)!important}.mission-hud{width:180px!important;right:10px!important}
}
@media(max-width:860px){
  .ficig-topbar{top:0!important;width:100%!important;border-radius:0!important;margin:0!important;padding:6px 8px!important;gap:6px!important;grid-template-columns:1fr!important}.ficig-logo-block{justify-content:center!important}.ficig-mark{width:28px!important;height:28px!important;font-size:.9rem!important}.ficig-logo-block strong{font-size:.82rem!important}.ficig-logo-block span{font-size:.4rem!important;line-height:1!important}.cluster-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}.cluster-tabs a{min-height:30px!important;padding:4px 3px!important;border-radius:9px!important}.cluster-tabs b{font-size:.5rem!important;letter-spacing:.025em!important}.galaxy-workspace{width:100%!important;margin:0!important;padding:6px 8px 24px!important;gap:7px!important}.hero-copy{display:block!important;margin-bottom:5px!important}.hero-copy h1{font-size:1.15rem!important;line-height:1!important;margin:1px 0 3px!important}.hero-copy p{font-size:.62rem!important;line-height:1.12!important}.kicker{font-size:.44rem!important}.command-screen,.galaxy-screen,.signal-screen,.outcome-screen,.archive-screen,.executive-screen,.capital-screen,.portfolio-screen,.attribution-screen,.watchlist-screen,.market-screen,.regime-screen,.macro-screen,.geopolitics-screen,.allocation-screen,.position-screen,.watchtower-screen,.trade-screen,.density-screen{padding:8px!important;border-radius:14px!important;gap:6px!important;margin-bottom:7px!important}.exposure-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid,.position-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid,.budget-bars,.price-grid,.market-hero-grid,.macro-pressure-grid,.currency-grid,.exec-hero-grid,.portfolio-blueprint-grid,.health-grid,.performance-hero,.contributors-grid,.thesis-grid,.watchtower-hero-grid,.cluster-grid,.entry-grid,.journal-grid,.compact-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}.exposure-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.position-grid>div,.optimizer-grid>div,.correlation-grid>div,.stress-grid>div,.rebalance-grid>div,.price-grid>div,.market-hero-grid>div,.macro-pressure-grid>div,.currency-grid>div,.exec-hero-grid>div,.portfolio-blueprint-grid>div,.health-grid>div,.performance-hero>div,.contributors-grid>div,.thesis-grid>div,.watchtower-hero-grid>div,.cluster-grid>div,.entry-grid>div,.journal-grid>div,.compact-metrics>div{min-height:38px!important;padding:6px!important;border-radius:10px!important}.exposure-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,.position-grid strong,.optimizer-grid strong,.correlation-grid strong,.stress-grid strong,.rebalance-grid strong,.price-grid strong,.market-hero-grid strong,.macro-pressure-grid strong,.currency-grid strong,.exec-hero-grid strong,.portfolio-blueprint-grid strong,.health-grid strong,.performance-hero strong,.contributors-grid strong,.thesis-grid strong,.watchtower-hero-grid strong,.cluster-grid strong,.entry-grid strong,.journal-grid strong,.compact-metrics strong{font-size:.68rem!important}.exposure-grid span,.allocation-grid span,.heat-grid span,.risk-grid span,.capital-action-grid span,.position-grid span,.optimizer-grid span,.correlation-grid span,.stress-grid span,.rebalance-grid span,.price-grid span,.market-hero-grid span,.macro-pressure-grid span,.currency-grid span,.exec-hero-grid span,.portfolio-blueprint-grid span,.health-grid span,.performance-hero span,.contributors-grid span,.thesis-grid span,.watchtower-hero-grid span,.cluster-grid span,.entry-grid span,.journal-grid span,.compact-metrics span{font-size:.38rem!important}.exposure-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,.position-grid em,.optimizer-grid em,.correlation-grid em,.stress-grid em,.rebalance-grid em,.price-grid em,.market-hero-grid em,.macro-pressure-grid em,.currency-grid em,.exec-hero-grid em,.portfolio-blueprint-grid em,.health-grid em,.performance-hero em,.contributors-grid em,.thesis-grid em,.watchtower-hero-grid em,.cluster-grid em,.entry-grid em,.journal-grid em,.compact-metrics em{font-size:.47rem!important}.command-grid{grid-template-columns:1fr!important}.nucleus-card{min-height:240px!important}.heart{width:82px!important;height:82px!important}.heart strong{font-size:.74rem!important}.heart span{font-size:.35rem!important}.node{min-width:66px!important;padding:4px!important}.node strong{font-size:.48rem!important}.node span{font-size:.32rem!important}.holding{min-height:44px!important}.universe-map{height:255px!important}.signal-map{height:230px!important}.universe-card,.radar-card,.signal-galaxy-card,.cognitive-galaxy-card,.outcome-card{min-height:205px!important}.mission-hud{display:none!important}
}


/* V42 — FICIG Rationalisation & Scanner Foundation
   Less Noise. More Decisions. Built from verified V41 lineage. */
:root{
  --ficig-page-header:28px;
  --ficig-h1:20px;
  --ficig-h2:15px;
  --ficig-body:13px;
  --ficig-meta:12px;
}
html[data-qp-release="V42"] body{font-size:var(--ficig-body);}
html[data-qp-release="V42"] .hero-copy h1{font-size:var(--ficig-page-header)!important;line-height:1.02!important;letter-spacing:-.035em!important;}
html[data-qp-release="V42"] .mini-head strong,
html[data-qp-release="V42"] h2{font-size:var(--ficig-h1)!important;line-height:1.08!important;}
html[data-qp-release="V42"] h3,
html[data-qp-release="V42"] .cluster-tabs b,
html[data-qp-release="V42"] .ficig-logo-block strong{font-size:var(--ficig-h2)!important;}
html[data-qp-release="V42"] p,
html[data-qp-release="V42"] em{font-size:var(--ficig-body)!important;line-height:1.28!important;}
html[data-qp-release="V42"] span,
html[data-qp-release="V42"] .kicker,
html[data-qp-release="V42"] .mission-hud span{font-size:var(--ficig-meta)!important;line-height:1.12!important;}

/* Never let important labels become unreadably tiny */
html[data-qp-release="V42"] .mission-hud strong,
html[data-qp-release="V42"] .alert-queue strong,
html[data-qp-release="V42"] .notification-timeline strong,
html[data-qp-release="V42"] .terminal-feed b{font-size:13px!important;line-height:1.14!important;}

/* Hero words are important, not gigantic. */
html[data-qp-release="V42"] .exposure-grid strong,
html[data-qp-release="V42"] .allocation-grid strong,
html[data-qp-release="V42"] .heat-grid strong,
html[data-qp-release="V42"] .risk-grid strong,
html[data-qp-release="V42"] .capital-action-grid strong,
html[data-qp-release="V42"] .position-grid strong,
html[data-qp-release="V42"] .optimizer-grid strong,
html[data-qp-release="V42"] .correlation-grid strong,
html[data-qp-release="V42"] .stress-grid strong,
html[data-qp-release="V42"] .rebalance-grid strong,
html[data-qp-release="V42"] .price-grid strong,
html[data-qp-release="V42"] .market-hero-grid strong,
html[data-qp-release="V42"] .macro-pressure-grid strong,
html[data-qp-release="V42"] .currency-grid strong,
html[data-qp-release="V42"] .exec-hero-grid strong,
html[data-qp-release="V42"] .portfolio-blueprint-grid strong,
html[data-qp-release="V42"] .health-grid strong,
html[data-qp-release="V42"] .performance-hero strong,
html[data-qp-release="V42"] .contributors-grid strong,
html[data-qp-release="V42"] .thesis-grid strong,
html[data-qp-release="V42"] .watchtower-hero-grid strong,
html[data-qp-release="V42"] .cluster-grid strong,
html[data-qp-release="V42"] .entry-grid strong,
html[data-qp-release="V42"] .journal-grid strong,
html[data-qp-release="V42"] .compact-metrics strong{font-size:15px!important;line-height:1.08!important;}

/* Diagram Constitution: diagrams support intelligence; they no longer dominate it. */
html[data-qp-release="V42"] .radar-disc,
html[data-qp-release="V42"] .cognitive-map,
html[data-qp-release="V42"] .market-radar,
html[data-qp-release="V42"] .portfolio-radar,
html[data-qp-release="V42"] .watchlist-radar,
html[data-qp-release="V42"] .regime-radar,
html[data-qp-release="V42"] .macro-orbit,
html[data-qp-release="V42"] .policy-globe{width:min(180px,100%)!important;max-height:180px!important;margin:8px auto!important;}
html[data-qp-release="V42"] .universe-map{height:220px!important;}
html[data-qp-release="V42"] .signal-map{height:210px!important;}
html[data-qp-release="V42"] .nucleus-card{min-height:238px!important;}
html[data-qp-release="V42"] .heart{width:76px!important;height:76px!important;}

/* Geometry Constitution: repeated small facts become rows/tables, not giant rectangles. */
html[data-qp-release="V42"] .alert-queue,
html[data-qp-release="V42"] .notification-timeline,
html[data-qp-release="V42"] .terminal-feed,
html[data-qp-release="V42"] .signal-tape,
html[data-qp-release="V42"] .logbook-grid{display:grid!important;gap:5px!important;}
html[data-qp-release="V42"] .alert-queue>div,
html[data-qp-release="V42"] .notification-timeline>div,
html[data-qp-release="V42"] .terminal-feed>div,
html[data-qp-release="V42"] .signal-tape>div,
html[data-qp-release="V42"] .logbook-grid>div{display:grid!important;grid-template-columns:minmax(70px,.45fr) minmax(0,1fr) auto!important;align-items:center!important;min-height:32px!important;padding:6px 9px!important;border-radius:10px!important;}

/* Scanner foundation lives inside existing intelligence system, not as another menu explosion. */
.scanner-screen{display:grid;grid-template-columns:1.1fr .9fr;gap:12px;border:1px solid rgba(92,245,255,.16);border-radius:22px;background:linear-gradient(135deg,rgba(7,26,42,.94),rgba(3,9,18,.96));padding:14px;margin-bottom:8px;}
.scanner-board,.constitution-board{border:1px solid rgba(92,245,255,.18);border-radius:18px;background:rgba(2,9,18,.76);padding:12px;overflow:hidden;}
.scanner-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;}
.scanner-grid>div{border:1px solid rgba(92,245,255,.16);border-radius:13px;background:rgba(5,16,29,.78);padding:10px;min-height:76px;display:grid;gap:4px;align-content:center;}
.scanner-grid strong{font-size:15px;line-height:1.08}.scanner-grid span{font-size:12px}.scanner-grid em{font-size:13px;color:var(--muted);font-style:normal;line-height:1.2}.scan-equity{border-color:rgba(255,232,121,.38)!important}.scan-crypto{border-color:rgba(70,236,242,.32)!important}.scan-fx{border-color:rgba(156,130,255,.35)!important}.scan-watch{border-color:rgba(79,255,166,.32)!important}
.constitution-grid{display:grid;gap:6px;margin-top:10px}.constitution-grid>div{display:grid;grid-template-columns:120px 1fr;gap:8px;align-items:center;border:1px solid rgba(92,245,255,.14);border-radius:10px;background:rgba(5,16,29,.72);padding:7px 8px}.constitution-grid b{font-size:13px;color:var(--gold)}.constitution-grid span{font-size:12px!important;color:var(--muted);letter-spacing:0!important;text-transform:none!important;line-height:1.2!important}

/* Development-era language is visually demoted in V42. */
html[data-qp-release="V42"] .kicker{opacity:.72!important;}
html[data-qp-release="V42"] .hero-copy p{max-width:820px!important;color:rgba(206,231,255,.78)!important;}

@media(max-width:860px){
  :root{--ficig-page-header:24px;--ficig-h1:18px;--ficig-h2:15px;--ficig-body:13px;--ficig-meta:12px;}
  html[data-qp-release="V42"] .hero-copy h1{font-size:24px!important;}
  html[data-qp-release="V42"] .radar-disc,
  html[data-qp-release="V42"] .cognitive-map,
  html[data-qp-release="V42"] .market-radar,
  html[data-qp-release="V42"] .portfolio-radar,
  html[data-qp-release="V42"] .watchlist-radar{width:min(160px,100%)!important;}
  html[data-qp-release="V42"] .universe-map{height:205px!important;}
  html[data-qp-release="V42"] .signal-map{height:195px!important;}
  .scanner-screen{display:block!important;padding:8px!important;border-radius:14px!important;}
  .scanner-board,.constitution-board{padding:9px!important;border-radius:13px!important;margin-bottom:8px!important;}
  .scanner-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
  .scanner-grid>div{min-height:66px!important;padding:8px!important;}
  .constitution-grid>div{grid-template-columns:1fr!important;gap:3px!important;}
  html[data-qp-release="V42"] .alert-queue>div,
  html[data-qp-release="V42"] .notification-timeline>div,
  html[data-qp-release="V42"] .terminal-feed>div,
  html[data-qp-release="V42"] .signal-tape>div,
  html[data-qp-release="V42"] .logbook-grid>div{grid-template-columns:60px 1fr auto!important;}
}

/* =========================================================
   V43 — FICIG Compression Engine & Scanner Core
   Theme: Less Screens. More Intelligence.
   Laws: Readable first. Intelligence second. Decorative last.
   ========================================================= */
:root{
  --v43-hero: clamp(26px, 1.9vw, 28px);
  --v43-major: 20px;
  --v43-panel: 16px;
  --v43-decision: 15px;
  --v43-body: 14px;
  --v43-meta: 12px;
}
html[data-qp-release="V43"] body{font-size:var(--v43-body)!important;}
html[data-qp-release="V43"] .hero-copy h1{font-size:var(--v43-hero)!important;line-height:1.02!important;letter-spacing:-.035em!important;}
html[data-qp-release="V43"] .mini-head strong,
html[data-qp-release="V43"] h2{font-size:var(--v43-major)!important;line-height:1.08!important;}
html[data-qp-release="V43"] h3,
html[data-qp-release="V43"] .cluster-tabs b,
html[data-qp-release="V43"] .ficig-logo-block strong{font-size:var(--v43-panel)!important;line-height:1.05!important;}
html[data-qp-release="V43"] p,
html[data-qp-release="V43"] em{font-size:var(--v43-body)!important;line-height:1.28!important;}
html[data-qp-release="V43"] span,
html[data-qp-release="V43"] .kicker,
html[data-qp-release="V43"] .mission-hud span,
html[data-qp-release="V43"] .cluster-tabs span{font-size:var(--v43-meta)!important;line-height:1.14!important;}
html[data-qp-release="V43"] .mission-hud strong,
html[data-qp-release="V43"] .terminal-feed b,
html[data-qp-release="V43"] .alert-queue b,
html[data-qp-release="V43"] .alert-queue strong,
html[data-qp-release="V43"] .notification-timeline strong{font-size:13px!important;line-height:1.14!important;}

/* V43 geometry law: large panels only when the data deserves it. */
html[data-qp-release="V43"] .command-screen,
html[data-qp-release="V43"] .galaxy-screen,
html[data-qp-release="V43"] .signal-screen,
html[data-qp-release="V43"] .outcome-screen,
html[data-qp-release="V43"] .archive-screen,
html[data-qp-release="V43"] .executive-screen,
html[data-qp-release="V43"] .capital-screen,
html[data-qp-release="V43"] .portfolio-screen,
html[data-qp-release="V43"] .attribution-screen,
html[data-qp-release="V43"] .watchlist-screen,
html[data-qp-release="V43"] .market-screen,
html[data-qp-release="V43"] .regime-screen,
html[data-qp-release="V43"] .macro-screen,
html[data-qp-release="V43"] .geopolitics-screen,
html[data-qp-release="V43"] .allocation-screen,
html[data-qp-release="V43"] .position-screen,
html[data-qp-release="V43"] .watchtower-screen,
html[data-qp-release="V43"] .trade-screen,
html[data-qp-release="V43"] .density-screen,
html[data-qp-release="V43"] .scanner-screen{gap:10px!important;padding:14px!important;margin-bottom:10px!important;}

/* Compact facts: readable text, smaller containers. */
html[data-qp-release="V43"] .exposure-grid,
html[data-qp-release="V43"] .allocation-grid,
html[data-qp-release="V43"] .heat-grid,
html[data-qp-release="V43"] .risk-grid,
html[data-qp-release="V43"] .capital-action-grid,
html[data-qp-release="V43"] .position-grid,
html[data-qp-release="V43"] .optimizer-grid,
html[data-qp-release="V43"] .correlation-grid,
html[data-qp-release="V43"] .stress-grid,
html[data-qp-release="V43"] .rebalance-grid,
html[data-qp-release="V43"] .budget-bars,
html[data-qp-release="V43"] .price-grid,
html[data-qp-release="V43"] .market-hero-grid,
html[data-qp-release="V43"] .macro-pressure-grid,
html[data-qp-release="V43"] .currency-grid,
html[data-qp-release="V43"] .exec-hero-grid,
html[data-qp-release="V43"] .portfolio-blueprint-grid,
html[data-qp-release="V43"] .health-grid,
html[data-qp-release="V43"] .performance-hero,
html[data-qp-release="V43"] .contributors-grid,
html[data-qp-release="V43"] .thesis-grid,
html[data-qp-release="V43"] .watchtower-hero-grid,
html[data-qp-release="V43"] .cluster-grid,
html[data-qp-release="V43"] .entry-grid,
html[data-qp-release="V43"] .journal-grid,
html[data-qp-release="V43"] .compact-metrics,
html[data-qp-release="V43"] .scanner-grid,
html[data-qp-release="V43"] .constitution-grid,
html[data-qp-release="V43"] .governance-grid{
  gap:8px!important;
  grid-auto-rows:minmax(48px,auto)!important;
}
html[data-qp-release="V43"] .exposure-grid>div,
html[data-qp-release="V43"] .allocation-grid>div,
html[data-qp-release="V43"] .heat-grid>div,
html[data-qp-release="V43"] .risk-grid>div,
html[data-qp-release="V43"] .capital-action-grid>div,
html[data-qp-release="V43"] .position-grid>div,
html[data-qp-release="V43"] .optimizer-grid>div,
html[data-qp-release="V43"] .correlation-grid>div,
html[data-qp-release="V43"] .stress-grid>div,
html[data-qp-release="V43"] .rebalance-grid>div,
html[data-qp-release="V43"] .budget-bars>div,
html[data-qp-release="V43"] .price-grid>div,
html[data-qp-release="V43"] .market-hero-grid>div,
html[data-qp-release="V43"] .macro-pressure-grid>div,
html[data-qp-release="V43"] .currency-grid>div,
html[data-qp-release="V43"] .exec-hero-grid>div,
html[data-qp-release="V43"] .portfolio-blueprint-grid>div,
html[data-qp-release="V43"] .health-grid>div,
html[data-qp-release="V43"] .performance-hero>div,
html[data-qp-release="V43"] .contributors-grid>div,
html[data-qp-release="V43"] .thesis-grid>div,
html[data-qp-release="V43"] .watchtower-hero-grid>div,
html[data-qp-release="V43"] .cluster-grid>div,
html[data-qp-release="V43"] .entry-grid>div,
html[data-qp-release="V43"] .journal-grid>div,
html[data-qp-release="V43"] .compact-metrics>div,
html[data-qp-release="V43"] .scanner-grid>div,
html[data-qp-release="V43"] .governance-grid>div{
  min-height:48px!important;
  padding:8px 10px!important;
  border-radius:12px!important;
  gap:4px!important;
  overflow:hidden!important;
}
html[data-qp-release="V43"] .exposure-grid strong,
html[data-qp-release="V43"] .allocation-grid strong,
html[data-qp-release="V43"] .heat-grid strong,
html[data-qp-release="V43"] .risk-grid strong,
html[data-qp-release="V43"] .capital-action-grid strong,
html[data-qp-release="V43"] .position-grid strong,
html[data-qp-release="V43"] .optimizer-grid strong,
html[data-qp-release="V43"] .correlation-grid strong,
html[data-qp-release="V43"] .stress-grid strong,
html[data-qp-release="V43"] .rebalance-grid strong,
html[data-qp-release="V43"] .budget-bars strong,
html[data-qp-release="V43"] .price-grid strong,
html[data-qp-release="V43"] .market-hero-grid strong,
html[data-qp-release="V43"] .macro-pressure-grid strong,
html[data-qp-release="V43"] .currency-grid strong,
html[data-qp-release="V43"] .exec-hero-grid strong,
html[data-qp-release="V43"] .portfolio-blueprint-grid strong,
html[data-qp-release="V43"] .health-grid strong,
html[data-qp-release="V43"] .performance-hero strong,
html[data-qp-release="V43"] .contributors-grid strong,
html[data-qp-release="V43"] .thesis-grid strong,
html[data-qp-release="V43"] .watchtower-hero-grid strong,
html[data-qp-release="V43"] .cluster-grid strong,
html[data-qp-release="V43"] .entry-grid strong,
html[data-qp-release="V43"] .journal-grid strong,
html[data-qp-release="V43"] .compact-metrics strong,
html[data-qp-release="V43"] .scanner-grid strong,
html[data-qp-release="V43"] .governance-grid strong{
  font-size:var(--v43-decision)!important;
  line-height:1.08!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
html[data-qp-release="V43"] .exposure-grid span,
html[data-qp-release="V43"] .allocation-grid span,
html[data-qp-release="V43"] .heat-grid span,
html[data-qp-release="V43"] .risk-grid span,
html[data-qp-release="V43"] .capital-action-grid span,
html[data-qp-release="V43"] .position-grid span,
html[data-qp-release="V43"] .optimizer-grid span,
html[data-qp-release="V43"] .correlation-grid span,
html[data-qp-release="V43"] .stress-grid span,
html[data-qp-release="V43"] .rebalance-grid span,
html[data-qp-release="V43"] .budget-bars span,
html[data-qp-release="V43"] .price-grid span,
html[data-qp-release="V43"] .market-hero-grid span,
html[data-qp-release="V43"] .macro-pressure-grid span,
html[data-qp-release="V43"] .currency-grid span,
html[data-qp-release="V43"] .exec-hero-grid span,
html[data-qp-release="V43"] .portfolio-blueprint-grid span,
html[data-qp-release="V43"] .health-grid span,
html[data-qp-release="V43"] .performance-hero span,
html[data-qp-release="V43"] .contributors-grid span,
html[data-qp-release="V43"] .thesis-grid span,
html[data-qp-release="V43"] .watchtower-hero-grid span,
html[data-qp-release="V43"] .cluster-grid span,
html[data-qp-release="V43"] .entry-grid span,
html[data-qp-release="V43"] .journal-grid span,
html[data-qp-release="V43"] .compact-metrics span,
html[data-qp-release="V43"] .scanner-grid span,
html[data-qp-release="V43"] .governance-grid span{
  font-size:var(--v43-meta)!important;
  letter-spacing:.06em!important;
  line-height:1.08!important;
}
html[data-qp-release="V43"] .exposure-grid em,
html[data-qp-release="V43"] .allocation-grid em,
html[data-qp-release="V43"] .heat-grid em,
html[data-qp-release="V43"] .risk-grid em,
html[data-qp-release="V43"] .capital-action-grid em,
html[data-qp-release="V43"] .position-grid em,
html[data-qp-release="V43"] .optimizer-grid em,
html[data-qp-release="V43"] .correlation-grid em,
html[data-qp-release="V43"] .stress-grid em,
html[data-qp-release="V43"] .rebalance-grid em,
html[data-qp-release="V43"] .budget-bars em,
html[data-qp-release="V43"] .price-grid em,
html[data-qp-release="V43"] .market-hero-grid em,
html[data-qp-release="V43"] .macro-pressure-grid em,
html[data-qp-release="V43"] .currency-grid em,
html[data-qp-release="V43"] .exec-hero-grid em,
html[data-qp-release="V43"] .portfolio-blueprint-grid em,
html[data-qp-release="V43"] .health-grid em,
html[data-qp-release="V43"] .performance-hero em,
html[data-qp-release="V43"] .contributors-grid em,
html[data-qp-release="V43"] .thesis-grid em,
html[data-qp-release="V43"] .watchtower-hero-grid em,
html[data-qp-release="V43"] .cluster-grid em,
html[data-qp-release="V43"] .entry-grid em,
html[data-qp-release="V43"] .journal-grid em,
html[data-qp-release="V43"] .compact-metrics em,
html[data-qp-release="V43"] .scanner-grid em,
html[data-qp-release="V43"] .governance-grid em{
  font-size:13px!important;
  line-height:1.18!important;
}

/* Watch matrix: no more long runaway rectangles. */
html[data-qp-release="V43"] .price-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(110px,1fr))!important;
  gap:6px!important;
}
html[data-qp-release="V43"] .price-grid>div{min-height:56px!important;padding:7px 8px!important;border-radius:10px!important;}
html[data-qp-release="V43"] .price-grid strong{font-size:14px!important;white-space:normal!important;}

/* Catalyst rows become one-layer compact intelligence. */
html[data-qp-release="V43"] .catalyst-stack{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
html[data-qp-release="V43"] .catalyst-stack>div{min-height:54px!important;padding:8px 10px!important;border-radius:12px!important;}
html[data-qp-release="V43"] .catalyst-stack strong{font-size:15px!important;}
html[data-qp-release="V43"] .catalyst-stack em{font-size:13px!important;}

/* Empty-space compression for cards that were previously two-layer containers. */
html[data-qp-release="V43"] .market-radar-card,
html[data-qp-release="V43"] .radar-card,
html[data-qp-release="V43"] .market-command-board,
html[data-qp-release="V43"] .price-watch-card,
html[data-qp-release="V43"] .catalyst-card,
html[data-qp-release="V43"] .live-governance-card,
html[data-qp-release="V43"] .scanner-board,
html[data-qp-release="V43"] .constitution-board,
html[data-qp-release="V43"] .density-board,
html[data-qp-release="V43"] .compact-terminal-card,
html[data-qp-release="V43"] .cluster-map-card,
html[data-qp-release="V43"] .alert-queue-card,
html[data-qp-release="V43"] .timeline-card{
  min-height:unset!important;
  padding:10px!important;
  border-radius:16px!important;
  overflow:hidden!important;
}

/* Diagram compression: diagrams must fit one layer. */
html[data-qp-release="V43"] .radar-disc,
html[data-qp-release="V43"] .cognitive-map,
html[data-qp-release="V43"] .market-radar,
html[data-qp-release="V43"] .portfolio-radar,
html[data-qp-release="V43"] .watchlist-radar,
html[data-qp-release="V43"] .regime-radar,
html[data-qp-release="V43"] .macro-orbit,
html[data-qp-release="V43"] .policy-globe{
  width:min(150px,100%)!important;
  height:min(150px,100%)!important;
  max-height:150px!important;
  margin:6px auto!important;
}
html[data-qp-release="V43"] .radar-disc b,
html[data-qp-release="V43"] .cognitive-map b,
html[data-qp-release="V43"] .market-radar b,
html[data-qp-release="V43"] .portfolio-radar b,
html[data-qp-release="V43"] .watchlist-radar b{font-size:20px!important;}
html[data-qp-release="V43"] .radar-disc span,
html[data-qp-release="V43"] .cognitive-map span,
html[data-qp-release="V43"] .market-radar span,
html[data-qp-release="V43"] .portfolio-radar span,
html[data-qp-release="V43"] .watchlist-radar span{font-size:12px!important;}
html[data-qp-release="V43"] .universe-map{height:190px!important;}
html[data-qp-release="V43"] .signal-map{height:185px!important;}
html[data-qp-release="V43"] .weather-map{min-height:190px!important;}
html[data-qp-release="V43"] .nucleus-card{min-height:220px!important;}
html[data-qp-release="V43"] .heart{width:74px!important;height:74px!important;}
html[data-qp-release="V43"] .heart strong{font-size:16px!important;}
html[data-qp-release="V43"] .heart em{font-size:12px!important;line-height:1.1!important;}
html[data-qp-release="V43"] .node{min-width:72px!important;padding:5px 7px!important;border-radius:10px!important;}
html[data-qp-release="V43"] .node strong{font-size:13px!important;}
html[data-qp-release="V43"] .node span{font-size:12px!important;letter-spacing:.07em!important;}

/* Scanner core has real decision states instead of architecture-only labels. */
html[data-qp-release="V43"] .scanner-screen{grid-template-columns:1fr!important;}
html[data-qp-release="V43"] .scanner-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
html[data-qp-release="V43"] .scanner-grid>div{min-height:64px!important;}

/* Mission HUD readability preserved while main content compresses. */
html[data-qp-release="V43"] .mission-hud span{font-size:12px!important;}
html[data-qp-release="V43"] .mission-hud strong{font-size:13px!important;}
html[data-qp-release="V43"] .mission-hud>div{padding:5px 0!important;}

@media(max-width:1180px) and (min-width:861px){
  html[data-qp-release="V43"] .price-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  html[data-qp-release="V43"] .catalyst-stack{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  html[data-qp-release="V43"] .scanner-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:860px){
  :root{--v43-hero:26px;--v43-major:20px;--v43-panel:16px;--v43-decision:15px;--v43-body:14px;--v43-meta:12px;}
  html[data-qp-release="V43"] .hero-copy h1{font-size:26px!important;}
  html[data-qp-release="V43"] .hero-copy p{font-size:14px!important;line-height:1.25!important;}
  html[data-qp-release="V43"] .cluster-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  html[data-qp-release="V43"] .cluster-tabs a{min-height:44px!important;padding:8px 6px!important;}
  html[data-qp-release="V43"] .cluster-tabs b{font-size:14px!important;}
  html[data-qp-release="V43"] .cluster-tabs span{font-size:12px!important;}
  html[data-qp-release="V43"] .galaxy-workspace{padding:8px 10px 28px!important;gap:8px!important;}
  html[data-qp-release="V43"] .price-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html[data-qp-release="V43"] .catalyst-stack{grid-template-columns:1fr!important;}
  html[data-qp-release="V43"] .scanner-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html[data-qp-release="V43"] .radar-disc,
  html[data-qp-release="V43"] .cognitive-map,
  html[data-qp-release="V43"] .market-radar,
  html[data-qp-release="V43"] .portfolio-radar,
  html[data-qp-release="V43"] .watchlist-radar{width:min(140px,100%)!important;height:min(140px,100%)!important;}
  html[data-qp-release="V43"] .nucleus-card{min-height:220px!important;}
  html[data-qp-release="V43"] .universe-map{height:180px!important;}
  html[data-qp-release="V43"] .signal-map{height:175px!important;}
}

/* =========================================================
   V44 — FICIG Asset Intelligence Engine & Typography Enforcement
   Type Any Asset. Receive Instant Intelligence.
   Readable First. Decisions Faster.
   ========================================================= */
html[data-qp-release="V44"]{
  --ficig-hero:26px;
  --ficig-major:18px;
  --ficig-panel:16px;
  --ficig-decision:15px;
  --ficig-asset:14px;
  --ficig-note:12px;
  --ficig-meta:12px;
  --opp:#55ef9a;
  --watch:#ffe879;
  --risk:#ff6b73;
  --info:#62a9ff;
  --disc:#b48cff;
}
html[data-qp-release="V44"] body,
html[data-qp-release="V44"] em,
html[data-qp-release="V44"] span,
html[data-qp-release="V44"] p,
html[data-qp-release="V44"] small,
html[data-qp-release="V44"] .alert-queue span,
html[data-qp-release="V44"] .terminal-feed span,
html[data-qp-release="V44"] .notification-timeline em,
html[data-qp-release="V44"] .scanner-grid em,
html[data-qp-release="V44"] .asset-result-grid em,
html[data-qp-release="V44"] .semantic-grid span,
html[data-qp-release="V44"] .mission-hud span{
  font-size:max(12px,1em)!important;
}
html[data-qp-release="V44"] .hero-copy h1{font-size:var(--ficig-hero)!important;line-height:1.02!important;letter-spacing:-.025em!important;}
html[data-qp-release="V44"] .mini-head strong{font-size:var(--ficig-major)!important;line-height:1.1!important;}
html[data-qp-release="V44"] .mini-head span{font-size:var(--ficig-meta)!important;letter-spacing:.08em!important;}
html[data-qp-release="V44"] .hero-copy p{font-size:14px!important;line-height:1.35!important;}
html[data-qp-release="V44"] .kicker{font-size:12px!important;}
html[data-qp-release="V44"] strong{font-size:inherit;}

/* Asset Intelligence Engine */
html[data-qp-release="V44"] .asset-intelligence-screen{
  display:grid;grid-template-columns:minmax(260px,.78fr) minmax(360px,1.25fr) minmax(280px,.9fr);
  gap:12px;border:1px solid rgba(92,245,255,.16);border-radius:22px;
  background:linear-gradient(135deg,rgba(7,26,42,.94),rgba(3,9,18,.96));padding:14px;margin-bottom:10px;
}
html[data-qp-release="V44"] .asset-search-card,
html[data-qp-release="V44"] .asset-result-card,
html[data-qp-release="V44"] .semantic-legend-card{
  border:1px solid rgba(92,245,255,.18);border-radius:18px;background:rgba(2,9,18,.78);padding:12px;overflow:hidden;
}
html[data-qp-release="V44"] .asset-search-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin:10px 0;}
html[data-qp-release="V44"] .asset-search-row input{min-height:42px;border:1px solid rgba(92,245,255,.22);border-radius:14px;background:rgba(5,16,29,.92);color:var(--white);padding:0 12px;font-size:14px;font-weight:800;outline:none;}
html[data-qp-release="V44"] .asset-search-row input:focus{border-color:rgba(85,239,154,.55);box-shadow:0 0 0 3px rgba(85,239,154,.08);}
html[data-qp-release="V44"] .asset-search-row button,
html[data-qp-release="V44"] .asset-quick-list button{border:1px solid rgba(92,245,255,.24);border-radius:13px;background:rgba(70,236,242,.10);color:var(--white);font-size:12px;font-weight:1000;letter-spacing:.05em;padding:0 12px;cursor:pointer;}
html[data-qp-release="V44"] .asset-quick-list{display:flex;flex-wrap:wrap;gap:6px;}
html[data-qp-release="V44"] .asset-quick-list button{min-height:30px;padding:0 9px;}
html[data-qp-release="V44"] .asset-result-top{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;align-items:center;border-bottom:1px solid rgba(92,245,255,.14);padding-bottom:9px;margin-bottom:10px;}
html[data-qp-release="V44"] .asset-result-top strong{font-size:20px!important;line-height:1!important;letter-spacing:.05em;}
html[data-qp-release="V44"] .asset-result-top em{grid-column:1/-1;color:var(--muted);font-style:normal;font-size:12px!important;}
html[data-qp-release="V44"] .semantic-pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;border-radius:999px;padding:0 10px;font-size:12px;font-weight:1000;letter-spacing:.04em;border:1px solid rgba(255,255,255,.15);white-space:nowrap;}
html[data-qp-release="V44"] .semantic-pill.green{color:#001b12;background:linear-gradient(135deg,var(--opp),#a8ffd0);}
html[data-qp-release="V44"] .semantic-pill.watch{color:#201800;background:linear-gradient(135deg,var(--watch),#fff6b5);}
html[data-qp-release="V44"] .semantic-pill.red{color:#250006;background:linear-gradient(135deg,var(--risk),#ffc2c6);}
html[data-qp-release="V44"] .semantic-pill.info{color:#001327;background:linear-gradient(135deg,var(--info),#b7d7ff);}
html[data-qp-release="V44"] .asset-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
html[data-qp-release="V44"] .asset-result-grid>div{border:1px solid rgba(92,245,255,.15);border-radius:13px;background:rgba(5,16,29,.76);padding:8px;min-height:66px;display:grid;gap:3px;align-content:center;}
html[data-qp-release="V44"] .asset-result-grid span{font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;color:rgba(206,231,255,.74);font-weight:1000;}
html[data-qp-release="V44"] .asset-result-grid strong{font-size:15px!important;line-height:1.08!important;color:#fff;}
html[data-qp-release="V44"] .asset-result-grid em{font-size:12px!important;line-height:1.15!important;color:var(--muted);font-style:normal;}
html[data-qp-release="V44"] .asset-why-strip{margin-top:9px;border:1px solid rgba(255,232,121,.22);border-radius:13px;background:rgba(255,232,121,.06);padding:9px 10px;font-size:13px!important;line-height:1.25!important;color:rgba(244,251,255,.9);}
html[data-qp-release="V44"] .asset-why-strip b{color:var(--watch);}
html[data-qp-release="V44"] .semantic-grid{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px;}
html[data-qp-release="V44"] .semantic-grid>div{border:1px solid rgba(92,245,255,.15);border-radius:13px;background:rgba(5,16,29,.72);padding:8px;display:grid;gap:3px;}
html[data-qp-release="V44"] .semantic-grid b{font-size:14px!important;line-height:1.05!important;}
html[data-qp-release="V44"] .semantic-grid span{font-size:12px!important;line-height:1.15!important;color:var(--muted);}
html[data-qp-release="V44"] .semantic-grid .green{border-color:rgba(85,239,154,.38)}
html[data-qp-release="V44"] .semantic-grid .amber{border-color:rgba(255,232,121,.42)}
html[data-qp-release="V44"] .semantic-grid .red{border-color:rgba(255,107,115,.42)}
html[data-qp-release="V44"] .semantic-grid .blue{border-color:rgba(98,169,255,.42)}
html[data-qp-release="V44"] .semantic-grid .purple{border-color:rgba(180,140,255,.42)}

/* Semantic colour system for alerts and scanner outputs */
html[data-qp-release="V44"] .semantic-alert.green{border-color:rgba(85,239,154,.42)!important;background:rgba(85,239,154,.07)!important;}
html[data-qp-release="V44"] .semantic-alert.amber{border-color:rgba(255,232,121,.45)!important;background:rgba(255,232,121,.07)!important;}
html[data-qp-release="V44"] .semantic-alert.red{border-color:rgba(255,107,115,.46)!important;background:rgba(255,107,115,.07)!important;}
html[data-qp-release="V44"] .alert-queue span,
html[data-qp-release="V44"] .terminal-feed span{font-size:12px!important;line-height:1.18!important;color:rgba(244,251,255,.82)!important;font-weight:800!important;}
html[data-qp-release="V44"] .alert-queue b,
html[data-qp-release="V44"] .terminal-feed b{font-size:14px!important;line-height:1!important;}
html[data-qp-release="V44"] .alert-queue strong,
html[data-qp-release="V44"] .terminal-feed strong{font-size:14px!important;line-height:1!important;}

/* Geometry & diagram rationalisation: single facts use tiles, relationships use smaller diagrams. */
html[data-qp-release="V44"] .radar-disc,
html[data-qp-release="V44"] .cognitive-map,
html[data-qp-release="V44"] .market-radar,
html[data-qp-release="V44"] .portfolio-radar,
html[data-qp-release="V44"] .watchlist-radar,
html[data-qp-release="V44"] .regime-radar,
html[data-qp-release="V44"] .macro-orbit,
html[data-qp-release="V44"] .policy-globe{width:min(132px,100%)!important;height:min(132px,100%)!important;max-height:132px!important;margin:4px auto!important;}
html[data-qp-release="V44"] .nucleus-card{min-height:205px!important;}
html[data-qp-release="V44"] .heart{width:68px!important;height:68px!important;}
html[data-qp-release="V44"] .heart strong{font-size:15px!important;}
html[data-qp-release="V44"] .heart span,
html[data-qp-release="V44"] .heart em{font-size:12px!important;}
html[data-qp-release="V44"] .holding{min-height:54px!important;border-radius:13px!important;padding:7px!important;}
html[data-qp-release="V44"] .holding b{font-size:14px!important;}
html[data-qp-release="V44"] .holding span{font-size:12px!important;}
html[data-qp-release="V44"] .price-grid>div,
html[data-qp-release="V44"] .catalyst-stack>div,
html[data-qp-release="V44"] .compact-metrics>div{min-height:52px!important;padding:7px 8px!important;border-radius:11px!important;}
html[data-qp-release="V44"] .price-grid strong,
html[data-qp-release="V44"] .catalyst-stack strong{font-size:15px!important;line-height:1.08!important;}
html[data-qp-release="V44"] .price-grid span,
html[data-qp-release="V44"] .catalyst-stack span{font-size:12px!important;}
html[data-qp-release="V44"] .price-grid em,
html[data-qp-release="V44"] .catalyst-stack em{font-size:12px!important;line-height:1.15!important;}

/* Override older over-compression rules: readable first. */
html[data-qp-release="V44"] .exposure-grid span,
html[data-qp-release="V44"] .allocation-grid span,
html[data-qp-release="V44"] .heat-grid span,
html[data-qp-release="V44"] .risk-grid span,
html[data-qp-release="V44"] .capital-action-grid span,
html[data-qp-release="V44"] .position-grid span,
html[data-qp-release="V44"] .optimizer-grid span,
html[data-qp-release="V44"] .correlation-grid span,
html[data-qp-release="V44"] .stress-grid span,
html[data-qp-release="V44"] .rebalance-grid span,
html[data-qp-release="V44"] .price-grid span,
html[data-qp-release="V44"] .market-hero-grid span,
html[data-qp-release="V44"] .macro-pressure-grid span,
html[data-qp-release="V44"] .currency-grid span,
html[data-qp-release="V44"] .exec-hero-grid span,
html[data-qp-release="V44"] .portfolio-blueprint-grid span,
html[data-qp-release="V44"] .health-grid span,
html[data-qp-release="V44"] .performance-hero span,
html[data-qp-release="V44"] .contributors-grid span,
html[data-qp-release="V44"] .thesis-grid span,
html[data-qp-release="V44"] .watchtower-hero-grid span,
html[data-qp-release="V44"] .cluster-grid span,
html[data-qp-release="V44"] .entry-grid span,
html[data-qp-release="V44"] .journal-grid span,
html[data-qp-release="V44"] .scanner-grid span{font-size:12px!important;letter-spacing:.06em!important;}
html[data-qp-release="V44"] .exposure-grid em,
html[data-qp-release="V44"] .allocation-grid em,
html[data-qp-release="V44"] .heat-grid em,
html[data-qp-release="V44"] .risk-grid em,
html[data-qp-release="V44"] .capital-action-grid em,
html[data-qp-release="V44"] .position-grid em,
html[data-qp-release="V44"] .optimizer-grid em,
html[data-qp-release="V44"] .correlation-grid em,
html[data-qp-release="V44"] .stress-grid em,
html[data-qp-release="V44"] .rebalance-grid em,
html[data-qp-release="V44"] .price-grid em,
html[data-qp-release="V44"] .market-hero-grid em,
html[data-qp-release="V44"] .macro-pressure-grid em,
html[data-qp-release="V44"] .currency-grid em,
html[data-qp-release="V44"] .exec-hero-grid em,
html[data-qp-release="V44"] .portfolio-blueprint-grid em,
html[data-qp-release="V44"] .health-grid em,
html[data-qp-release="V44"] .performance-hero em,
html[data-qp-release="V44"] .contributors-grid em,
html[data-qp-release="V44"] .thesis-grid em,
html[data-qp-release="V44"] .watchtower-hero-grid em,
html[data-qp-release="V44"] .cluster-grid em,
html[data-qp-release="V44"] .entry-grid em,
html[data-qp-release="V44"] .journal-grid em,
html[data-qp-release="V44"] .scanner-grid em{font-size:12px!important;line-height:1.18!important;}

@media(max-width:1180px){
  html[data-qp-release="V44"] .asset-intelligence-screen{grid-template-columns:1fr!important;}
  html[data-qp-release="V44"] .asset-result-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:860px){
  html[data-qp-release="V44"] .hero-copy h1{font-size:26px!important;}
  html[data-qp-release="V44"] .mini-head strong{font-size:18px!important;}
  html[data-qp-release="V44"] .asset-intelligence-screen{padding:9px!important;border-radius:16px!important;gap:8px!important;}
  html[data-qp-release="V44"] .asset-search-card,
  html[data-qp-release="V44"] .asset-result-card,
  html[data-qp-release="V44"] .semantic-legend-card{padding:9px!important;border-radius:14px!important;}
  html[data-qp-release="V44"] .asset-search-row{grid-template-columns:1fr!important;}
  html[data-qp-release="V44"] .asset-search-row input{font-size:14px!important;min-height:40px;}
  html[data-qp-release="V44"] .asset-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
  html[data-qp-release="V44"] .asset-result-grid>div{min-height:60px!important;padding:7px!important;}
  html[data-qp-release="V44"] .semantic-grid{grid-template-columns:1fr!important;}
  html[data-qp-release="V44"] .alert-queue>div,.terminal-feed>div{grid-template-columns:64px 1fr auto!important;min-height:38px!important;padding:7px 8px!important;}
  html[data-qp-release="V44"] .alert-queue span,.terminal-feed span{font-size:12px!important;grid-column:auto!important;}
  html[data-qp-release="V44"] .radar-disc,
  html[data-qp-release="V44"] .cognitive-map,
  html[data-qp-release="V44"] .market-radar,
  html[data-qp-release="V44"] .portfolio-radar,
  html[data-qp-release="V44"] .watchlist-radar{width:min(118px,100%)!important;height:min(118px,100%)!important;}
}

/* =========================================================
   QuantPilot V47 — FICIG Intelligence Matrix Architecture
   From Cards to Command Center. Every Pixel Must Earn Its Space.
   ========================================================= */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"]{
  --ficig-hero: clamp(26px, 2.4vw, 30px);
  --ficig-section: 18px;
  --ficig-panel: 16px;
  --ficig-decision: 16px;
  --ficig-body: 13px;
  --ficig-note: 12px;
  --ficig-meta: 12px;
  --opp:#55ef9a;--watch:#ffe879;--risk:#ff6b73;--info:#62a9ff;--discovery:#b48cff;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] body{font-size:var(--ficig-body)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .ficig-status b::after{content:""}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mission-hud{
  top:150px!important;transform:none!important;max-height:calc(100vh - 176px);overflow:auto;
  scrollbar-width:thin;z-index:48!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .galaxy-workspace{padding-top:34px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy h1{font-size:var(--ficig-hero)!important;line-height:1.02!important;letter-spacing:-.025em!important;margin:4px 0!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy p{font-size:14px!important;line-height:1.34!important;max-width:920px!important;color:rgba(206,231,255,.78)!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .kicker{font-size:12px!important;letter-spacing:.13em!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mini-head strong{font-size:var(--ficig-section)!important;line-height:1.1!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mini-head span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hud-title{font-size:var(--ficig-meta)!important;letter-spacing:.08em!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mission-hud span{font-size:12px!important;letter-spacing:.06em!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mission-hud strong{font-size:12px!important;line-height:1.08!important;white-space:normal!important;text-align:right;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mission-hud>div:not(.hud-title){padding:7px 0!important;gap:7px!important;}

/* V47 Asset Intelligence: keep search, add one clear guide arrow to the result */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-intelligence-screen{
  display:grid;grid-template-columns:minmax(240px,.72fr) 56px minmax(430px,1.45fr) minmax(250px,.8fr);
  gap:10px;align-items:stretch;border:1px solid rgba(92,245,255,.16);border-radius:22px;
  background:linear-gradient(135deg,rgba(7,26,42,.94),rgba(3,9,18,.96));padding:14px;margin-bottom:10px;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-legend-card{
  border:1px solid rgba(92,245,255,.18);border-radius:18px;background:rgba(2,9,18,.78);padding:12px;overflow:hidden;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide{
  display:grid;place-items:center;align-content:center;gap:5px;border:1px solid rgba(92,245,255,.18);border-radius:18px;
  background:linear-gradient(180deg,rgba(70,236,242,.08),rgba(255,232,121,.04));color:var(--white);min-width:48px;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide em{font-style:normal;font-size:12px;font-weight:1000;letter-spacing:.08em;writing-mode:vertical-rl;text-transform:uppercase;color:rgba(206,231,255,.72)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide b{font-size:22px;color:var(--watch);filter:drop-shadow(0 0 10px rgba(255,232,121,.25));}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin:10px 0;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-row input{min-height:42px;border:1px solid rgba(92,245,255,.22);border-radius:14px;background:rgba(5,16,29,.92);color:var(--white);padding:0 12px;font-size:14px;font-weight:800;outline:none;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-row button,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list button{border:1px solid rgba(92,245,255,.24);border-radius:13px;background:rgba(70,236,242,.10);color:var(--white);font-size:12px;font-weight:1000;letter-spacing:.05em;padding:0 12px;cursor:pointer;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list{display:flex;flex-wrap:wrap;gap:6px;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list button{min-height:30px;padding:0 9px;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list button[data-asset="ZEC"],
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list button[data-asset="GBP/USD"]{border-color:rgba(255,232,121,.42);background:rgba(255,232,121,.08)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list button[data-asset="LCAI"],
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list button[data-asset="ETH"],
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list button[data-asset="NVDA"],
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list button[data-asset="QQQ"]{border-color:rgba(85,239,154,.38);background:rgba(85,239,154,.07)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list button[data-asset="BTC"],
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list button[data-asset="GOLD"]{border-color:rgba(98,169,255,.38);background:rgba(98,169,255,.07)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-top{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;align-items:center;border-bottom:1px solid rgba(92,245,255,.14);padding-bottom:9px;margin-bottom:10px;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-top strong{font-size:20px!important;line-height:1!important;letter-spacing:.04em;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-top em{grid-column:1/-1;color:var(--muted);font-style:normal;font-size:12px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;border-radius:999px;padding:0 10px;font-size:12px;font-weight:1000;letter-spacing:.04em;border:1px solid rgba(255,255,255,.15);white-space:nowrap;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-pill.green{color:#001b12;background:linear-gradient(135deg,var(--opp),#a8ffd0)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-pill.watch{color:#201800;background:linear-gradient(135deg,var(--watch),#fff6b5)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-pill.red{color:#250006;background:linear-gradient(135deg,var(--risk),#ffc2c6)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-pill.info{color:#001327;background:linear-gradient(135deg,var(--info),#b7d7ff)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid>div{border:1px solid rgba(92,245,255,.15);border-radius:13px;background:rgba(5,16,29,.76);padding:8px;min-height:62px;display:grid;gap:3px;align-content:center;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid span{font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;color:rgba(206,231,255,.74);font-weight:1000;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid strong{font-size:15px!important;line-height:1.08!important;color:#fff;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid em{font-size:12px!important;line-height:1.15!important;color:var(--muted);font-style:normal;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-why-strip{margin-top:9px;border:1px solid rgba(255,232,121,.22);border-radius:13px;background:rgba(255,232,121,.06);padding:9px 10px;font-size:13px!important;line-height:1.25!important;color:rgba(244,251,255,.9);}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-why-strip b{color:var(--watch)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-grid{display:grid;grid-template-columns:1fr;gap:6px;margin-top:8px;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-grid>div{border:1px solid rgba(92,245,255,.15);border-radius:12px;background:rgba(5,16,29,.72);padding:7px;display:grid;gap:2px;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-grid b{font-size:13px!important;line-height:1.05!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-grid span{font-size:12px!important;line-height:1.15!important;color:var(--muted);}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-grid .green{border-color:rgba(85,239,154,.38)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-grid .amber{border-color:rgba(255,232,121,.42)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-grid .red{border-color:rgba(255,107,115,.42)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-grid .blue{border-color:rgba(98,169,255,.42)}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-grid .purple{border-color:rgba(180,140,255,.42)}

/* Typography finalization: prevent giant words inside cards and circles */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid .primary strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .priority-decision strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .urgent strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .market-primary strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .performance-hero strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-action-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-blueprint-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cluster-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .entry-grid strong{font-size:clamp(16px,1.12vw,18px)!important;line-height:1.05!important;letter-spacing:-.01em!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-stack strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .drift-stack strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .budget-bars strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .terminal-feed strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .alert-queue strong{font-size:14px!important;line-height:1.05!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .alert-queue span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .terminal-feed span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .notification-timeline em{font-size:12px!important;line-height:1.18!important;color:rgba(244,251,255,.82)!important;font-weight:800!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .notification-timeline strong{font-size:13px!important;line-height:1.08!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .notification-timeline b{font-size:12px!important;}

/* Visual compression: scale diagram typography with geometry */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-disc,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cognitive-map,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .market-radar,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-radar,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-radar,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .regime-radar,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .macro-orbit,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .policy-globe{width:min(128px,100%)!important;height:min(128px,100%)!important;max-height:128px!important;margin:4px auto!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-disc b,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cognitive-map b,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .market-radar b,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-radar b,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-radar b{font-size:16px!important;line-height:1!important;letter-spacing:-.01em!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-disc span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cognitive-map span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .market-radar span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-radar span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-radar span{font-size:10px!important;line-height:1!important;letter-spacing:.03em!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-radar{transform:scale(.92);transform-origin:center;}

/* Empty-space compression: panels with small visuals should not occupy massive rectangles */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .universe-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-galaxy-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cognitive-galaxy-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .outcome-card{min-height:220px!important;padding:10px!important;border-radius:18px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .universe-map{height:280px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-map{height:245px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .nucleus-card{min-height:205px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heart{width:68px!important;height:68px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heart strong{font-size:15px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heart span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heart em{font-size:12px!important;line-height:1.05!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .node{min-width:86px!important;max-width:118px!important;padding:6px 7px!important;border-radius:12px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .node strong{font-size:12px!important;line-height:1.05!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .node span{font-size:10px!important;line-height:1!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .node.bottom{bottom:44px!important}.node.outcome{bottom:8px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .holding{min-height:54px!important;border-radius:13px!important;padding:7px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .holding b{font-size:14px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .holding span{font-size:12px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .authority-meter,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .learning-loop{padding:9px!important;border-radius:14px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .authority-meter strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .learning-loop strong{font-size:16px!important;margin:2px 0!important;}

/* Readable minimums across all common panels */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exposure-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .allocation-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .risk-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-action-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .optimizer-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .correlation-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stress-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .price-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .market-hero-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .macro-pressure-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-blueprint-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .health-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .performance-hero span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .contributors-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .thesis-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchtower-hero-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cluster-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .entry-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .journal-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .scanner-grid span{font-size:12px!important;letter-spacing:.055em!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exposure-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .allocation-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .risk-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-action-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .optimizer-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .correlation-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stress-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .price-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .market-hero-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .macro-pressure-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-blueprint-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .health-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .performance-hero em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .contributors-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .thesis-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchtower-hero-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cluster-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .entry-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .journal-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .scanner-grid em{font-size:12px!important;line-height:1.16!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exposure-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .allocation-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .risk-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-action-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .optimizer-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .correlation-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stress-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .price-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .market-hero-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .macro-pressure-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-blueprint-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .health-grid>div{min-height:54px!important;padding:7px 8px!important;border-radius:12px!important;}

@media(max-width:1180px){
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mission-hud{right:12px!important;top:128px!important;width:190px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-intelligence-screen{grid-template-columns:1fr!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide{min-height:42px;grid-template-columns:1fr auto 1fr;align-content:center;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide span,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide em{writing-mode:horizontal-tb;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:860px){
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mission-hud{display:none!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy h1{font-size:26px!important;line-height:1.04!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy p{font-size:13px!important;line-height:1.28!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mini-head strong{font-size:18px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-intelligence-screen{padding:9px!important;border-radius:16px!important;gap:8px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-card,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-card,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-legend-card{padding:9px!important;border-radius:14px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-row{grid-template-columns:1fr!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide{min-height:38px;border-radius:14px;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide b{font-size:20px;transform:rotate(90deg)}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid>div{min-height:60px!important;padding:7px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .alert-queue>div,.terminal-feed>div{grid-template-columns:64px 1fr auto!important;min-height:38px!important;padding:7px 8px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .universe-map{height:250px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-map{height:225px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-disc,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cognitive-map,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .market-radar,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-radar,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-radar{width:min(112px,100%)!important;height:min(112px,100%)!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-disc b,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cognitive-map b,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .market-radar b,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-radar b,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-radar b{font-size:14px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-disc span,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cognitive-map span,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .market-radar span,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-radar span,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-radar span{font-size:9px!important;}
}

/* V47 — FICIG Intelligence Matrix Architecture: true search states, clean workflow arrow, final typography compression */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-intelligence-screen{
  grid-template-columns:minmax(240px,.72fr) 32px minmax(450px,1.5fr) minmax(248px,.78fr)!important;
  gap:8px!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide{
  min-width:30px!important;
  padding:0!important;
  z-index:1!important;
  pointer-events:none!important;
  border-color:rgba(255,232,121,.28)!important;
  background:linear-gradient(180deg,rgba(255,232,121,.05),rgba(70,236,242,.05))!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide em{
  display:none!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide b{
  font-size:24px!important;
  transform:none!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-row{grid-template-columns:1fr!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-row button{min-height:30px!important;width:100%!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-card[data-coverage="pending"]{
  border-color:rgba(98,169,255,.38)!important;
  box-shadow:inset 0 0 0 1px rgba(98,169,255,.10), 0 0 22px rgba(98,169,255,.05)!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .semantic-pill.pending{background:linear-gradient(135deg,var(--info),#b7d7ff)!important;color:#001327!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-card[data-coverage="pending"] .asset-why-strip{
  border-color:rgba(98,169,255,.28)!important;
  background:rgba(98,169,255,.07)!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .compact-checkpoint strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .compact-style strong{
  font-size:clamp(16px,1vw,18px)!important;
  line-height:1.06!important;
  text-transform:none!important;
  letter-spacing:.01em!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid strong{
  font-size:clamp(14px,.9vw,16px)!important;
  line-height:1.04!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid .compact-checkpoint strong{font-size:clamp(15px,.95vw,17px)!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-hero-grid .compact-style strong{font-size:clamp(17px,1.05vw,19px)!important;color:var(--watch)!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-stack .winner strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-stack strong{
  font-size:clamp(15px,1vw,17px)!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-disc.atmosphere-disc{
  width:112px!important;height:112px!important;position:relative!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-disc.atmosphere-disc b{
  font-size:13px!important;text-transform:none!important;letter-spacing:.01em!important;line-height:1!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-disc.atmosphere-disc em{
  display:block!important;font-style:normal!important;font-size:11px!important;color:var(--watch)!important;font-weight:900!important;margin-top:2px!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-disc.atmosphere-disc span{
  font-size:9px!important;line-height:1!important;opacity:.82!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .universe-map .asset,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-map i{
  transform:scale(.88)!important;
  transform-origin:center!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy h1{font-size:clamp(24px,2.2vw,28px)!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy p{max-width:980px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .scanner-board .mini-head strong::after{
  content:" · known assets score immediately; unknown assets require coverage";
  color:rgba(206,231,255,.66);font-size:12px;font-weight:800;letter-spacing:0;text-transform:none;
}
@media(max-width:1180px){
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-intelligence-screen{grid-template-columns:1fr!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide{
    min-height:38px!important;grid-template-columns:1fr auto 1fr!important;display:grid!important;
    pointer-events:none!important;
  }
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide span,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide em{display:block!important;writing-mode:horizontal-tb!important;font-size:12px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-flow-guide b{font-size:22px!important;transform:rotate(90deg)!important;}
}
@media(max-width:860px){
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-top strong{font-size:22px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid strong{font-size:16px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid em{font-size:13px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid strong,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-hero-grid strong{font-size:16px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .compact-checkpoint strong,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .compact-style strong{font-size:18px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .radar-disc.atmosphere-disc{width:104px!important;height:104px!important;}
}


/* V47 — FICIG Intelligence Matrix Architecture: From Cards to Command Center */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"]{
  --matrix-line:rgba(92,245,255,.18);
  --matrix-bg:rgba(2,9,18,.74);
  --matrix-cell:rgba(255,255,255,.035);
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy p{max-width:920px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-command-strip{
  display:grid;grid-template-columns:1.05fr .72fr .72fr;gap:10px;margin:12px 0 14px;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .intelligence-matrix{
  border:1px solid var(--matrix-line);border-radius:16px;background:var(--matrix-bg);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-title{
  padding:8px 10px;border-bottom:1px solid var(--matrix-line);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:rgba(206,231,255,.78);font-weight:1000;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid{display:grid;grid-template-columns:repeat(3,1fr);}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list>div{
  min-height:48px;padding:7px 9px;border-right:1px solid var(--matrix-line);border-bottom:1px solid var(--matrix-line);background:var(--matrix-cell);display:grid;align-content:center;gap:2px;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid>div:nth-child(3n),
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list>div{border-right:0;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid>div:nth-last-child(-n+3),
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list>div:last-child{border-bottom:0;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list b{font-size:12px!important;color:rgba(206,231,255,.68)!important;letter-spacing:.07em;text-transform:uppercase;font-weight:1000;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list strong{font-size:15px!important;line-height:1.05;color:#fff;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list{display:grid;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list>div{grid-template-columns:30px 1fr auto;align-items:center;min-height:39px;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list span{font-size:13px!important;font-weight:900;color:#fff;}

/* Universal matrix conversion for data panels: one board, many cells */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .regime-hero-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .driver-stack,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-prob-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .macro-driver-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .risk-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-action-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .optimizer-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .correlation-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stress-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-blueprint-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .health-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchtower-hero-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cluster-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .entry-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .scanner-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .governance-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .performance-hero,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .contributors-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .thesis-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--matrix-line)!important;border-radius:16px!important;overflow:hidden!important;background:var(--matrix-bg)!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .driver-stack,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .governance-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .scanner-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .regime-hero-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .driver-stack>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-prob-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .macro-driver-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .risk-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-action-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .optimizer-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .correlation-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stress-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-blueprint-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .health-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchtower-hero-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cluster-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .entry-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .scanner-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .governance-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .performance-hero>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .contributors-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .thesis-grid>div{
  min-height:56px!important;padding:7px 9px!important;border-radius:0!important;border:0!important;border-right:1px solid var(--matrix-line)!important;border-bottom:1px solid var(--matrix-line)!important;background:rgba(255,255,255,.03)!important;box-shadow:none!important;display:grid!important;align-content:center!important;gap:2px!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .regime-hero-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .driver-stack span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-prob-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .macro-driver-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .risk-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-action-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .optimizer-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .correlation-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stress-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-blueprint-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .health-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchtower-hero-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .entry-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .scanner-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .governance-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid span{
  font-size:12px!important;line-height:1!important;letter-spacing:.055em!important;text-transform:uppercase!important;color:rgba(206,231,255,.68)!important;font-weight:1000!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .regime-hero-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .driver-stack strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-prob-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .macro-driver-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .risk-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-action-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .optimizer-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .correlation-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stress-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-blueprint-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .health-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchtower-hero-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .entry-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .scanner-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .governance-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid strong{
  font-size:15px!important;line-height:1.08!important;letter-spacing:0!important;text-transform:none!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .driver-stack em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-prob-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .macro-driver-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .risk-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-action-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .optimizer-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .correlation-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stress-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .scanner-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .governance-grid em,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid em{
  display:block!important;font-size:12px!important;line-height:1.14!important;color:rgba(206,231,255,.72)!important;font-style:normal!important;margin-top:1px!important;
}

/* Compress presentation-card containers around matrix boards */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] article:not(.nucleus-card):not(.universe-card):not(.signal-galaxy-card):not(.cognitive-galaxy-card):not(.outcome-card):not(.asset-result-card):not(.asset-search-card){
  padding:10px!important;border-radius:18px!important;min-height:auto!important;
}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mini-head{margin-bottom:8px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mini-head strong{font-size:16px!important;line-height:1.12!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mini-head span{font-size:12px!important;}

/* Specific conversions from long presentation shapes to command matrices */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-stack{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--matrix-line);border-radius:16px;overflow:hidden;background:var(--matrix-bg);}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-stack>div{min-height:62px!important;border:0!important;border-right:1px solid var(--matrix-line)!important;background:rgba(255,255,255,.03)!important;border-radius:0!important;padding:8px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-stack span{font-size:12px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-stack strong{font-size:15px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-stack em{font-size:12px!important;line-height:1.15!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .analogue-core,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .memory-core{min-height:86px!important;padding:10px!important;border-radius:16px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .analogue-core strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .memory-core strong{font-size:24px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-rings{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--matrix-line);border-radius:16px;overflow:hidden;background:var(--matrix-bg);}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-rings .ring{min-height:72px!important;border-radius:0!important;border:0!important;border-right:1px solid var(--matrix-line)!important;background:rgba(255,255,255,.03)!important;padding:8px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-rings .ring span{font-size:12px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-rings .ring strong{font-size:20px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-rings .ring em{font-size:12px!important;}

/* Breathing diagram cleanup: centre stays simple; satellite information lives outside */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heart{width:64px!important;height:64px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heart span,html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heart em{display:none!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heart strong{font-size:14px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .node{min-width:80px!important;max-width:108px!important;min-height:38px!important;padding:6px!important;border-radius:12px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .node span{font-size:12px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .node strong{font-size:12px!important;}

@media(max-width:1180px){
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-command-strip{grid-template-columns:1fr!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .regime-hero-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .driver-stack,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-prob-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .macro-driver-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .risk-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-action-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .optimizer-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .correlation-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stress-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-blueprint-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .health-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchtower-hero-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .entry-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .scanner-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .governance-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-stack,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-rings{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:860px){
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .galaxy-workspace{gap:10px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] article{padding:9px!important;border-radius:16px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mini-head{margin-bottom:6px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .mini-head strong{font-size:15px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .regime-hero-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .driver-stack,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-prob-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .macro-driver-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .risk-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-action-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .optimizer-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .correlation-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stress-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-blueprint-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .health-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchtower-hero-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .entry-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .scanner-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .governance-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-stack,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .capital-rings{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .regime-hero-grid>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .driver-stack>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-prob-grid>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .currency-grid>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .heat-grid>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .rebalance-grid>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .position-grid>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid>div{min-height:52px!important;padding:7px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid strong,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .regime-hero-grid strong,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .driver-stack strong,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid strong{font-size:14px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .universe-map{height:220px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-map{height:200px!important;}
}

/* V48 — FICIG INSTITUTIONAL COMPRESSION LAYER
   Maximum Signal. Minimum Scroll.
   Builds directly on V47 and targets the exact remaining giant panels from desktop/mobile tests. */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"]{--v48-line:rgba(92,245,255,.22);--v48-bg:rgba(2,9,18,.74);--v48-cell:rgba(255,255,255,.032);} 

/* Global V48: force fact panels to behave like compact financial-institution matrices. */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-command-strip{grid-template-columns:1.15fr .75fr .75fr!important;gap:10px!important;margin:12px 0!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .intelligence-matrix{padding:10px!important;border-radius:16px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list>div{min-height:42px!important;padding:7px 8px!important;border-radius:0!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list b{font-size:12px!important;letter-spacing:.06em!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-list span{font-size:14px!important;line-height:1.05!important;}

/* Hero becomes compact so the first mobile screen does not become a marketing page. */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy{padding:16px!important;border-radius:22px!important;margin-bottom:10px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy h1{font-size:clamp(1.65rem,3.2vw,3rem)!important;line-height:.98!important;margin:.35rem 0!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy p{font-size:clamp(.95rem,1.2vw,1.05rem)!important;line-height:1.32!important;max-width:1100px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .kicker{font-size:12px!important;letter-spacing:.16em!important;}

/* Command / radar diagrams: desktop reduced, mobile converted to compact scale. */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .nucleus-card{min-height:240px!important;max-height:300px!important;padding:10px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .orbit-a{width:300px!important;height:300px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .orbit-b{width:220px!important;height:220px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .orbit-c{width:140px!important;height:140px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .holding-orbit{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:8px 0!important;min-height:0!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .holding{position:static!important;transform:none!important;width:auto!important;height:auto!important;aspect-ratio:1.2!important;min-height:58px!important;border-radius:16px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .holding b{font-size:15px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .holding span{font-size:12px!important;}

/* Asset search stays successful but trims vertical space. */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-intelligence-screen{gap:10px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-card{padding:12px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-row{gap:8px!important;margin-top:8px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-row input,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-search-row button{min-height:38px!important;font-size:15px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list{gap:6px!important;margin-top:8px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-quick-list button{min-height:32px!important;padding:6px 10px!important;font-size:13px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .search-assess-guide{min-height:38px!important;margin:8px 0!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-card{padding:12px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--v48-line)!important;border-radius:14px!important;overflow:hidden!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid>div{border-radius:0!important;min-height:54px!important;border-right:1px solid var(--v48-line)!important;border-bottom:1px solid var(--v48-line)!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-why{font-size:13px!important;padding:8px!important;margin-top:8px!important;}

/* Executive board: convert remaining tall mobile tiles into command tables. */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--v48-line)!important;border-radius:16px!important;overflow:hidden!important;background:var(--v48-bg)!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid>div{border-radius:0!important;border:0!important;border-right:1px solid var(--v48-line)!important;border-bottom:1px solid var(--v48-line)!important;min-height:58px!important;padding:8px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid strong{font-size:14px!important;line-height:1.05!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-stack,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .allocation-bars{margin-top:8px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .allocation-bars{gap:7px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .allocation-bars>div{grid-template-columns:60px 1fr 42px!important;gap:8px!important;min-height:30px!important;}

/* CIO / audit / outcome panels: no more full-screen storytelling on mobile. */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cio-review-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .audit-replay-card{padding:10px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cio-decision{min-height:0!important;padding:9px!important;border-radius:14px!important;margin-bottom:8px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cio-decision strong{font-size:20px!important;line-height:1!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cio-decision em{font-size:12px!important;line-height:1.15!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cio-stack{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--v48-line)!important;border-radius:14px!important;overflow:hidden!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cio-stack>div{border-radius:0!important;border:0!important;border-right:1px solid var(--v48-line)!important;min-height:54px!important;padding:8px!important;background:var(--v48-cell)!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cio-stack strong{font-size:14px!important;line-height:1.08!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .audit-chain{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--v48-line)!important;border-radius:14px!important;overflow:hidden!important;background:var(--v48-bg)!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .audit-chain>b{display:none!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .audit-chain>div{border-radius:0!important;border:0!important;border-right:1px solid var(--v48-line)!important;padding:8px!important;min-height:58px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .audit-chain strong{font-size:15px!important;line-height:1.06!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-radar{width:170px!important;height:170px!important;margin:10px auto!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-radar b{font-size:20px!important;}

/* Watchlist / holdings: the outside reference layout applied to mobile and desktop. */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-hero,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stock-watch-grid,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .personal-asset-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--v48-line)!important;border-radius:16px!important;overflow:hidden!important;background:var(--v48-bg)!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-hero>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stock-watch-grid>div,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .personal-asset-grid>div{border:0!important;border-right:1px solid var(--v48-line)!important;border-bottom:1px solid var(--v48-line)!important;border-radius:0!important;min-height:62px!important;padding:8px!important;background:var(--v48-cell)!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-screen strong{font-size:15px!important;line-height:1.05!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-screen em{font-size:12px!important;line-height:1.15!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-radar{width:190px!important;margin:8px auto!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-radar b{font-size:18px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-radar span{font-size:11px!important;}

/* Regime / atmosphere / navigator giants targeted from screenshots. */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .regime-transition-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .analogue-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .opportunity-map-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .regime-memory-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .temperature-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .navigator-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .ranking-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .route-card,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .future-card{padding:10px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-ring{width:180px!important;height:180px!important;margin:8px auto!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-ring strong{font-size:17px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-ring span{font-size:11px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .atmosphere-orbit{height:210px!important;min-height:210px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .atmosphere-core{width:115px!important;height:115px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .atmosphere-core strong{font-size:14px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .atmosphere-core span{font-size:11px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .temperature-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--v48-line)!important;border-radius:16px!important;overflow:hidden!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .temperature-grid>div{min-height:58px!important;border-radius:0!important;border:0!important;border-right:1px solid var(--v48-line)!important;background:var(--v48-cell)!important;padding:8px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .temperature-grid strong{font-size:15px!important;}

html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .future-state,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cognitive-map,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .migration-map{height:240px!important;min-height:240px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .future-state .bubble,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cognitive-map .map-node,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .migration-map .migration-node{transform:scale(.78)!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .ranking-list{display:grid!important;grid-template-columns:1fr!important;gap:0!important;border:1px solid var(--v48-line)!important;border-radius:14px!important;overflow:hidden!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .ranking-list>div{border-radius:0!important;border:0!important;border-bottom:1px solid var(--v48-line)!important;min-height:48px!important;padding:8px!important;display:grid!important;grid-template-columns:44px 1fr 1fr!important;align-items:center!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .ranking-list strong{font-size:15px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .route-planner{min-height:0!important;padding:10px!important;border-radius:14px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .route-planner strong{font-size:18px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .route-planner em{font-size:12px!important;}

/* Live Signal Tape notes: minimum readable size, table-like rows. */
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-tape{gap:0!important;border:1px solid var(--v48-line)!important;border-radius:14px!important;overflow:hidden!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-tape>div{grid-template-columns:64px 82px 1fr!important;min-height:38px!important;border-radius:0!important;border:0!important;border-bottom:1px solid var(--v48-line)!important;padding:6px 8px!important;}
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-tape span,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-tape strong,
html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-tape em{font-size:12px!important;line-height:1.08!important;}

@media(max-width:860px){
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .galaxy-workspace{padding:10px!important;gap:10px!important;overflow-x:hidden!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .command-screen{gap:8px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy{padding:12px!important;margin-bottom:8px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy h1{font-size:1.75rem!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .hero-copy p{font-size:.92rem!important;line-height:1.22!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-command-strip{grid-template-columns:1fr!important;gap:8px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid.matrix-3x2{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid>div{min-height:42px!important;padding:7px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .matrix-grid strong{font-size:13px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .nucleus-card{min-height:190px!important;max-height:210px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .orbit-a{width:250px!important;height:250px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .orbit-b{width:170px!important;height:170px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .orbit-c{width:90px!important;height:90px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .node{min-width:66px!important;max-width:86px!important;min-height:32px!important;padding:4px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .node strong{font-size:11px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .holding-orbit{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .holding{min-height:48px!important;border-radius:12px!important;}

  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid>div{min-height:48px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .asset-result-grid strong{font-size:13px!important;}

  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cio-stack,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .audit-chain,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-hero,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stock-watch-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .personal-asset-grid,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .temperature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .exec-hero-grid>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cio-stack>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .audit-chain>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-hero>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .stock-watch-grid>div,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .personal-asset-grid>div{min-height:50px!important;padding:7px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cio-decision strong{font-size:18px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .audit-chain strong{font-size:13px!important;}

  /* On mobile facts beat pictures: shrink oversized visual canvases aggressively. */
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .future-state,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cognitive-map,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .migration-map{height:170px!important;min-height:170px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .future-state .bubble,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .cognitive-map .map-node,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .migration-map .migration-node{transform:scale(.62)!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-ring{width:130px!important;height:130px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .transition-ring strong{font-size:13px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .atmosphere-orbit{height:150px!important;min-height:150px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .atmosphere-core{width:90px!important;height:90px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .portfolio-radar,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .watchlist-radar,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .market-radar{width:130px!important;height:130px!important;}

  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .ranking-list>div{grid-template-columns:34px 1fr 1fr!important;min-height:40px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-tape>div{grid-template-columns:50px 64px 1fr!important;min-height:34px!important;}
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-tape span,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-tape strong,
  html[data-qp-release="V48"],html[data-qp-release="V50.2-SAFE"] .signal-tape em{font-size:12px!important;}
}

/* =========================================================
   QuantPilot V49 + V50 MERGED PATCH
   V49: Card Extinction — remaining stacked cards become tables/matrices.
   V50: Institutional Signal Language — color + arrow semantics.
   Built from verified V48 lineage.
   ========================================================= */
:root{
  --qp-up:#43f18a;
  --qp-down:#ff5f78;
  --qp-watch:#ffe66d;
  --qp-neutral:#67a8ff;
  --qp-transition:#b78cff;
}

/* V50 semantic colour language */
.hot,.green,.ready,.focus,.active{--semantic:var(--qp-up);--semantic-icon:"▲";}
.warm,.amber,.watch,.energy{--semantic:var(--qp-watch);--semantic-icon:"→";}
.cool,.blue,.neutral{--semantic:var(--qp-neutral);--semantic-icon:"→";}
.pressure,.red,.blocked,.risk,.urgent{--semantic:var(--qp-down);--semantic-icon:"▼";}
.purple,.transition{--semantic:var(--qp-transition);--semantic-icon:"◆";}
.hot,.warm,.cool,.pressure,.blocked,.focus,.active,.ready,.watch,.urgent{border-color:color-mix(in srgb,var(--semantic) 46%, transparent)!important;}
.hot strong,.focus strong,.active strong,.ready strong{color:var(--qp-up)!important;}
.warm strong,.watch strong,.energy strong{color:var(--qp-watch)!important;}
.pressure strong,.blocked strong,.risk strong,.urgent strong{color:var(--qp-down)!important;}
.cool strong,.neutral strong{color:var(--qp-neutral)!important;}
.purple strong,.transition strong{color:var(--qp-transition)!important;}
.hot>strong::before,.focus>strong::before,.active>strong::before,.ready>strong::before,
.warm>strong::before,.watch>strong::before,.energy>strong::before,
.pressure>strong::before,.blocked>strong::before,.risk>strong::before,.urgent>strong::before,
.cool>strong::before,.neutral>strong::before,.purple>strong::before,.transition>strong::before{
  content:var(--semantic-icon) " ";
  color:var(--semantic);
  font-weight:1000;
}

/* Shared matrix/table language */
.v49-table-grid,
.forecast-grid,.allocation-hero-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid,
.geo-grid,.geo-hero-grid,.influence-grid,.fx-grid,.asset-flow-grid,.macro-hero-grid,.macro-driver-grid,.macro-action-stack,
.transition-prob-grid,.opportunity-heat-grid,.regime-memory-grid,.driver-stack,.position-grid,.position-hero-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid,
.temperature-grid,.momentum-stack,.action-stack,.rank-stack,.governance-grid,.price-grid,.catalyst-stack,.compact-metrics,
.watchtower-hero-grid,.cluster-grid,.density-grid,.trade-hero-grid,.entry-grid,.reentry-grid,.rr-grid,.alert-hero-grid,.alert-grid,.audio-grid{
  gap:1px!important;
  border:1px solid rgba(92,245,255,.20)!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:rgba(92,245,255,.08)!important;
}
.forecast-grid>div,.allocation-hero-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,
.geo-grid>div,.geo-hero-grid>div,.influence-grid>div,.fx-grid>div,.asset-flow-grid>div,.macro-hero-grid>div,.macro-driver-grid>div,.macro-action-stack>div,
.transition-prob-grid>div,.opportunity-heat-grid>div,.regime-memory-grid>div,.driver-stack>div,.position-grid>div,.position-hero-grid>div,.optimizer-grid>div,.correlation-grid>div,.stress-grid>div,.rebalance-grid>div,
.temperature-grid>div,.momentum-stack>div,.action-stack>div,.rank-stack>div,.governance-grid>div,.price-grid>div,.catalyst-stack>div,.compact-metrics>div,
.watchtower-hero-grid>div,.cluster-grid>div,.density-grid>div,.trade-hero-grid>div,.entry-grid>div,.reentry-grid>div,.rr-grid>div,.alert-hero-grid>div,.alert-grid>div,.audio-grid>div{
  border:0!important;
  border-radius:0!important;
  min-height:72px!important;
  padding:10px 12px!important;
  background:rgba(4,13,25,.76)!important;
  box-shadow:none!important;
  align-content:center!important;
}
.forecast-grid span,.allocation-hero-grid span,.allocation-grid span,.heat-grid span,.risk-grid span,.capital-action-grid span,
.geo-grid span,.geo-hero-grid span,.influence-grid span,.fx-grid span,.asset-flow-grid span,.macro-hero-grid span,.macro-driver-grid span,.macro-action-stack span,
.transition-prob-grid span,.opportunity-heat-grid span,.regime-memory-grid span,.driver-stack span,.position-grid span,.position-hero-grid span,.optimizer-grid span,.correlation-grid span,.stress-grid span,.rebalance-grid span,
.temperature-grid span,.momentum-stack span,.action-stack span,.rank-stack span,.governance-grid span,.price-grid span,.catalyst-stack span,.compact-metrics span{
  font-size:.62rem!important;letter-spacing:.11em!important;color:rgba(206,231,255,.74)!important;
}
.forecast-grid strong,.allocation-hero-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,
.geo-grid strong,.geo-hero-grid strong,.influence-grid strong,.fx-grid strong,.asset-flow-grid strong,.macro-hero-grid strong,.macro-driver-grid strong,.macro-action-stack strong,
.transition-prob-grid strong,.opportunity-heat-grid strong,.regime-memory-grid strong,.driver-stack strong,.position-grid strong,.position-hero-grid strong,.optimizer-grid strong,.correlation-grid strong,.stress-grid strong,.rebalance-grid strong,
.temperature-grid strong,.momentum-stack strong,.action-stack strong,.rank-stack strong,.governance-grid strong,.price-grid strong,.catalyst-stack strong,.compact-metrics strong{
  font-size:clamp(.94rem,1.05vw,1.28rem)!important;line-height:1.04!important;letter-spacing:-.02em!important;
}
.forecast-grid em,.allocation-hero-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,
.geo-grid em,.geo-hero-grid em,.influence-grid em,.fx-grid em,.asset-flow-grid em,.macro-hero-grid em,.macro-driver-grid em,.macro-action-stack em,
.transition-prob-grid em,.opportunity-heat-grid em,.regime-memory-grid em,.driver-stack em,.position-grid em,.position-hero-grid em,.optimizer-grid em,.correlation-grid em,.stress-grid em,.rebalance-grid em,
.temperature-grid em,.momentum-stack em,.action-stack em,.rank-stack em,.governance-grid em,.price-grid em,.catalyst-stack em,.compact-metrics em{
  font-size:.72rem!important;line-height:1.15!important;color:rgba(206,231,255,.68)!important;
}

/* V49: shrink single-purpose visual sculptures that only carry 3-6 facts */
.future-orbits,.route-orbit,.weather-map,.transition-ring,.risk-corridor,.impact-chain,.rotation-flow,.replay-loop,.lifecycle-flow,.alert-governance-flow{
  min-height:auto!important;height:auto!important;padding:12px!important;border-radius:18px!important;
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))!important;gap:1px!important;
  border:1px solid rgba(92,245,255,.2)!important;background:rgba(92,245,255,.08)!important;
}
.future-orbits .future-node,.route-orbit .route-node,.weather-map .pressure-core,.weather-map .wind,.transition-ring>*,.risk-corridor>* , .impact-chain>* , .rotation-flow>* , .replay-loop>*{
  position:static!important;transform:none!important;inset:auto!important;border:0!important;border-radius:0!important;
  min-width:0!important;min-height:54px!important;padding:10px 12px!important;background:rgba(4,13,25,.78)!important;
  display:grid!important;align-content:center!important;text-align:left!important;color:inherit!important;
}
.future-orbits i,.route-orbit i,.weather-map:before,.weather-map:after,.transition-ring:before,.transition-ring:after{display:none!important;}
.future-node strong,.route-node strong,.pressure-core strong,.transition-ring strong,.risk-corridor b{font-size:1rem!important;line-height:1.06!important;}
.future-node em,.route-node em,.pressure-core em,.transition-ring em,.transition-ring b,.risk-corridor span{font-size:.74rem!important;line-height:1.12!important;color:rgba(206,231,255,.70)!important;}

/* Desktop: Card Extinction pass */
.forecast-grid,.transition-prob-grid,.opportunity-heat-grid,.regime-memory-grid,.allocation-hero-grid,.geo-grid,.macro-action-stack,.fx-grid,.position-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important;}
.forecast-card,.allocation-command-board,.market-impact-card,.political-risk-card,.macro-action-card,.fx-board,.position-command-board,.regime-transition-card,.opportunity-map-card,.regime-memory-card{padding:16px!important;}
.analogue-core{min-height:92px!important;padding:12px!important;border-radius:16px!important;display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:8px;text-align:left!important;}
.analogue-core strong{font-size:1.45rem!important;color:var(--qp-watch)!important;}

/* Mobile: true outside-picture compact board language */
@media(max-width:860px){
  .hero-copy h1{font-size:clamp(1.85rem,9vw,2.65rem)!important;line-height:.94!important;}
  .hero-copy p{font-size:.92rem!important;line-height:1.28!important;}
  .galaxy-workspace{padding-inline:0!important;gap:12px!important;}
  .command-screen,.galaxy-screen,.signal-screen,.outcome-screen,.archive-screen,
  .asset-intelligence-screen,.watchtower-screen,.density-screen,.regime-screen,.macro-screen,.geopolitics-screen,.allocation-screen,.position-screen,.trade-screen,.alerts-screen,
  .atmosphere-screen,.temporal-screen,.autonomy-screen,.navigator-screen,.memory-screen,.scenario-screen{padding:12px!important;border-radius:20px!important;gap:12px!important;}

  /* all 3+ card stacks become compact row matrices */
  .forecast-grid,.allocation-hero-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid,
  .geo-grid,.geo-hero-grid,.influence-grid,.fx-grid,.asset-flow-grid,.macro-hero-grid,.macro-driver-grid,.macro-action-stack,
  .transition-prob-grid,.opportunity-heat-grid,.regime-memory-grid,.driver-stack,.position-grid,.position-hero-grid,.optimizer-grid,.correlation-grid,.stress-grid,.rebalance-grid,
  .temperature-grid,.momentum-stack,.action-stack,.rank-stack,.governance-grid,.price-grid,.catalyst-stack,.compact-metrics,
  .watchtower-hero-grid,.cluster-grid,.density-grid,.trade-hero-grid,.entry-grid,.reentry-grid,.rr-grid,.alert-hero-grid,.alert-grid,.audio-grid{
    display:grid!important;grid-template-columns:1fr!important;gap:1px!important;border-radius:14px!important;margin-top:10px!important;
  }
  .forecast-grid>div,.allocation-hero-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,
  .geo-grid>div,.geo-hero-grid>div,.influence-grid>div,.fx-grid>div,.asset-flow-grid>div,.macro-hero-grid>div,.macro-driver-grid>div,.macro-action-stack>div,
  .transition-prob-grid>div,.opportunity-heat-grid>div,.regime-memory-grid>div,.driver-stack>div,.position-grid>div,.position-hero-grid>div,.optimizer-grid>div,.correlation-grid>div,.stress-grid>div,.rebalance-grid>div,
  .temperature-grid>div,.momentum-stack>div,.action-stack>div,.rank-stack>div,.governance-grid>div,.price-grid>div,.catalyst-stack>div,.compact-metrics>div,
  .watchtower-hero-grid>div,.cluster-grid>div,.density-grid>div,.trade-hero-grid>div,.entry-grid>div,.reentry-grid>div,.rr-grid>div,.alert-hero-grid>div,.alert-grid>div,.audio-grid>div{
    min-height:46px!important;padding:8px 10px!important;display:grid!important;grid-template-columns:88px 1fr!important;column-gap:10px!important;row-gap:2px!important;text-align:left!important;
  }
  .forecast-grid>div span,.allocation-hero-grid>div span,.allocation-grid>div span,.heat-grid>div span,.risk-grid>div span,.capital-action-grid>div span,
  .geo-grid>div span,.geo-hero-grid>div span,.influence-grid>div span,.fx-grid>div span,.asset-flow-grid>div span,.macro-hero-grid>div span,.macro-driver-grid>div span,.macro-action-stack>div span,
  .transition-prob-grid>div span,.opportunity-heat-grid>div span,.regime-memory-grid>div span,.driver-stack>div span,.position-grid>div span,.position-hero-grid>div span,.optimizer-grid>div span,.correlation-grid>div span,.stress-grid>div span,.rebalance-grid>div span,
  .temperature-grid>div span,.momentum-stack>div span,.action-stack>div span,.rank-stack>div span,.governance-grid>div span,.price-grid>div span,.catalyst-stack>div span,.compact-metrics>div span{grid-row:1/3;font-size:.54rem!important;align-self:center!important;}
  .forecast-grid>div strong,.allocation-hero-grid>div strong,.allocation-grid>div strong,.heat-grid>div strong,.risk-grid>div strong,.capital-action-grid>div strong,
  .geo-grid>div strong,.geo-hero-grid>div strong,.influence-grid>div strong,.fx-grid>div strong,.asset-flow-grid>div strong,.macro-hero-grid>div strong,.macro-driver-grid>div strong,.macro-action-stack>div strong,
  .transition-prob-grid>div strong,.opportunity-heat-grid>div strong,.regime-memory-grid>div strong,.driver-stack>div strong,.position-grid>div strong,.position-hero-grid>div strong,.optimizer-grid>div strong,.correlation-grid>div strong,.stress-grid>div strong,.rebalance-grid>div strong,
  .temperature-grid>div strong,.momentum-stack>div strong,.action-stack>div strong,.rank-stack>div strong,.governance-grid>div strong,.price-grid>div strong,.catalyst-stack>div strong,.compact-metrics>div strong{font-size:1rem!important;line-height:1.02!important;}
  .forecast-grid>div em,.allocation-hero-grid>div em,.allocation-grid>div em,.heat-grid>div em,.risk-grid>div em,.capital-action-grid>div em,
  .geo-grid>div em,.geo-hero-grid>div em,.influence-grid>div em,.fx-grid>div em,.asset-flow-grid>div em,.macro-hero-grid>div em,.macro-driver-grid>div em,.macro-action-stack>div em,
  .transition-prob-grid>div em,.opportunity-heat-grid>div em,.regime-memory-grid>div em,.driver-stack>div em,.position-grid>div em,.position-hero-grid>div em,.optimizer-grid>div em,.correlation-grid>div em,.stress-grid>div em,.rebalance-grid>div em,
  .temperature-grid>div em,.momentum-stack>div em,.action-stack>div em,.rank-stack>div em,.governance-grid>div em,.price-grid>div em,.catalyst-stack>div em,.compact-metrics>div em{font-size:.69rem!important;line-height:1.12!important;}

  /* hero visual sculptures become compact fact matrices on mobile */
  .future-orbits,.route-orbit,.weather-map,.transition-ring,.risk-corridor,.impact-chain,.rotation-flow,.replay-loop,.lifecycle-flow,.alert-governance-flow{grid-template-columns:1fr!important;border-radius:14px!important;margin-top:10px!important;padding:0!important;}
  .future-orbits .future-node,.route-orbit .route-node,.weather-map .pressure-core,.weather-map .wind,.transition-ring>*,.risk-corridor>* , .impact-chain>* , .rotation-flow>* , .replay-loop>*{min-height:42px!important;padding:8px 10px!important;}
  .impact-chain span,.rotation-flow span,.replay-loop b{min-height:16px!important;padding:0!important;text-align:center!important;background:transparent!important;color:var(--qp-watch)!important;}

  /* do not let one item own a full phone screen */
  .forecast-card,.allocation-command-board,.market-impact-card,.political-risk-card,.macro-action-card,.fx-board,.position-command-board,.regime-transition-card,.opportunity-map-card,.regime-memory-card,.analogue-card{padding:12px!important;border-radius:18px!important;}
  .analogue-core{min-height:54px!important;grid-template-columns:94px 1fr!important;padding:8px 10px!important;}
  .analogue-core span{font-size:.54rem!important;}
  .analogue-core strong{font-size:1.15rem!important;}
  .analogue-core em{font-size:.68rem!important;}

  .operator-panel .holding-orbit{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;}
  .holding{min-height:54px!important;border-radius:12px!important;}
  .holding b{font-size:.9rem!important;}.holding span{font-size:.62rem!important;}

  .asset-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:1px!important;border:1px solid rgba(92,245,255,.2)!important;border-radius:14px!important;overflow:hidden!important;}
  .asset-result-grid>div{border:0!important;border-radius:0!important;min-height:58px!important;padding:8px 10px!important;}
}


/* =========================================================
   QuantPilot V50.2-SAFE — Foundation Identity + Geometry Stabilisation
   Scope: protect Asset Intelligence, remove runtime docs, compress empty geometry.
   ========================================================= */
html[data-qp-release="V50.2-SAFE"] .density-screen,
html[data-qp-release="V50.2-SAFE"] .constitution-board{display:none!important;}

html[data-qp-release="V50.2-SAFE"] .foundation-status-board,
html[data-qp-release="V50.2-SAFE"] .scanner-board,
html[data-qp-release="V50.2-SAFE"] .asset-search-card,
html[data-qp-release="V50.2-SAFE"] .asset-result-card,
html[data-qp-release="V50.2-SAFE"] .semantic-legend-card,
html[data-qp-release="V50.2-SAFE"] .regime-transition-card,
html[data-qp-release="V50.2-SAFE"] .opportunity-map-card,
html[data-qp-release="V50.2-SAFE"] .regime-memory-card,
html[data-qp-release="V50.2-SAFE"] .forecast-card,
html[data-qp-release="V50.2-SAFE"] .scenario-card,
html[data-qp-release="V50.2-SAFE"] .future-state-card,
html[data-qp-release="V50.2-SAFE"] .memory-card{
  border-radius:18px!important;
  padding:12px!important;
  min-height:auto!important;
  overflow:visible!important;
}

html[data-qp-release="V50.2-SAFE"] .asset-intelligence-screen{
  grid-template-columns:minmax(280px,1.05fr) minmax(360px,1.35fr) minmax(230px,.8fr)!important;
  align-items:stretch!important;
  gap:10px!important;
}
html[data-qp-release="V50.2-SAFE"] .asset-result-grid,
html[data-qp-release="V50.2-SAFE"] .foundation-status-grid,
html[data-qp-release="V50.2-SAFE"] .transition-prob-grid,
html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid,
html[data-qp-release="V50.2-SAFE"] .regime-memory-grid,
html[data-qp-release="V50.2-SAFE"] .forecast-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  gap:6px!important;
}
html[data-qp-release="V50.2-SAFE"] .asset-result-grid>div,
html[data-qp-release="V50.2-SAFE"] .foundation-status-grid>div,
html[data-qp-release="V50.2-SAFE"] .transition-prob-grid>div,
html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid>div,
html[data-qp-release="V50.2-SAFE"] .regime-memory-grid>div,
html[data-qp-release="V50.2-SAFE"] .forecast-grid>div{
  min-height:58px!important;
  padding:9px 10px!important;
  border-radius:12px!important;
  align-content:center!important;
}
html[data-qp-release="V50.2-SAFE"] .asset-result-grid strong,
html[data-qp-release="V50.2-SAFE"] .foundation-status-grid strong,
html[data-qp-release="V50.2-SAFE"] .transition-prob-grid strong,
html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid strong,
html[data-qp-release="V50.2-SAFE"] .regime-memory-grid strong,
html[data-qp-release="V50.2-SAFE"] .forecast-grid strong{
  font-size:clamp(.9rem,1.05vw,1.05rem)!important;
  line-height:1.08!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
html[data-qp-release="V50.2-SAFE"] .asset-result-grid em,
html[data-qp-release="V50.2-SAFE"] .foundation-status-grid em,
html[data-qp-release="V50.2-SAFE"] .transition-prob-grid em,
html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid em,
html[data-qp-release="V50.2-SAFE"] .regime-memory-grid em,
html[data-qp-release="V50.2-SAFE"] .forecast-grid em{
  font-size:.68rem!important;
  line-height:1.16!important;
}

html[data-qp-release="V50.2-SAFE"] .semantic-flow-grid{gap:6px!important;}
html[data-qp-release="V50.2-SAFE"] .semantic-flow-grid span{
  display:block!important;
  white-space:normal!important;
  line-height:1.28!important;
  letter-spacing:0!important;
  text-transform:none!important;
  font-size:.74rem!important;
}

html[data-qp-release="V50.2-SAFE"] .mini-head{gap:6px!important;margin-bottom:8px!important;}
html[data-qp-release="V50.2-SAFE"] .mini-head strong{font-size:clamp(.82rem,1vw,1rem)!important;line-height:1.12!important;}
html[data-qp-release="V50.2-SAFE"] .mini-head span{font-size:.58rem!important;letter-spacing:.1em!important;}

/* Empty-space migration: multi-panel sections become content-led boards, not equal giant cards. */
html[data-qp-release="V50.2-SAFE"] .regime-screen,
html[data-qp-release="V50.2-SAFE"] .scenario-screen,
html[data-qp-release="V50.2-SAFE"] .memory-screen,
html[data-qp-release="V50.2-SAFE"] .temporal-screen{
  gap:10px!important;
  align-items:start!important;
}
html[data-qp-release="V50.2-SAFE"] .regime-command-board,
html[data-qp-release="V50.2-SAFE"] .regime-drivers-card,
html[data-qp-release="V50.2-SAFE"] .analogue-card,
html[data-qp-release="V50.2-SAFE"] .opportunity-map-card,
html[data-qp-release="V50.2-SAFE"] .regime-memory-card{
  min-height:auto!important;
}

/* Mobile: keep intelligence readable; reflow rows instead of shrinking text to dust. */
@media(max-width:860px){
  html[data-qp-release="V50.2-SAFE"] .asset-intelligence-screen{grid-template-columns:1fr!important;gap:8px!important;}
  html[data-qp-release="V50.2-SAFE"] .asset-result-grid,
  html[data-qp-release="V50.2-SAFE"] .foundation-status-grid,
  html[data-qp-release="V50.2-SAFE"] .transition-prob-grid,
  html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid,
  html[data-qp-release="V50.2-SAFE"] .regime-memory-grid,
  html[data-qp-release="V50.2-SAFE"] .forecast-grid{grid-template-columns:1fr!important;gap:1px!important;overflow:hidden!important;border-radius:14px!important;}
  html[data-qp-release="V50.2-SAFE"] .asset-result-grid>div,
  html[data-qp-release="V50.2-SAFE"] .foundation-status-grid>div,
  html[data-qp-release="V50.2-SAFE"] .transition-prob-grid>div,
  html[data-qp-release="V50.2-SAFE"] .opportunity-heat-grid>div,
  html[data-qp-release="V50.2-SAFE"] .regime-memory-grid>div,
  html[data-qp-release="V50.2-SAFE"] .forecast-grid>div{
    display:grid!important;
    grid-template-columns:96px 1fr!important;
    min-height:46px!important;
    padding:8px 10px!important;
    border-radius:0!important;
  }
  html[data-qp-release="V50.2-SAFE"] .semantic-flow-grid{grid-template-columns:1fr!important;}
  html[data-qp-release="V50.2-SAFE"] .semantic-flow-grid>div{padding:8px 10px!important;}
  html[data-qp-release="V50.2-SAFE"] .semantic-flow-grid span{font-size:.72rem!important;line-height:1.24!important;}
  html[data-qp-release="V50.2-SAFE"] .menu-btn{display:grid!important;place-items:center!important;}
  html[data-qp-release="V50.2-SAFE"] .cluster-dock:not(.open){display:none!important;}
  html[data-qp-release="V50.2-SAFE"] .cluster-dock.open{display:block!important;}
}


/* V50.2-SAFE targeted geometry rescue for known giant-card zones */
html[data-qp-release="V50.2-SAFE"] .future-card,
html[data-qp-release="V50.2-SAFE"] .navigator-card,
html[data-qp-release="V50.2-SAFE"] .tree-card,
html[data-qp-release="V50.2-SAFE"] .memory-vault-card,
html[data-qp-release="V50.2-SAFE"] .ledger-card,
html[data-qp-release="V50.2-SAFE"] .replay-card{
  padding:12px!important;
  border-radius:18px!important;
  min-height:auto!important;
  overflow:visible!important;
}
html[data-qp-release="V50.2-SAFE"] .memory-vault,
html[data-qp-release="V50.2-SAFE"] .scenario-tree{
  height:auto!important;
  min-height:auto!important;
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;
  gap:6px!important;
  padding:8px!important;
  background:rgba(5,16,29,.72)!important;
  border:1px solid rgba(92,245,255,.14)!important;
  border-radius:14px!important;
}
html[data-qp-release="V50.2-SAFE"] .memory-ring,
html[data-qp-release="V50.2-SAFE"] .branch:before{display:none!important;}
html[data-qp-release="V50.2-SAFE"] .memory-core,
html[data-qp-release="V50.2-SAFE"] .memory-node,
html[data-qp-release="V50.2-SAFE"] .tree-now,
html[data-qp-release="V50.2-SAFE"] .branch{
  position:static!important;
  transform:none!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:58px!important;
  padding:9px 10px!important;
  border-radius:12px!important;
  display:grid!important;
  align-content:center!important;
  text-align:left!important;
}
html[data-qp-release="V50.2-SAFE"] .memory-stats{
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important;
  gap:6px!important;
  margin-top:8px!important;
}
html[data-qp-release="V50.2-SAFE"] .memory-stats div{
  min-height:58px!important;
  height:auto!important;
  border-radius:12px!important;
  text-align:left!important;
  place-items:start!important;
  align-content:center!important;
}
html[data-qp-release="V50.2-SAFE"] .memory-stats strong,
html[data-qp-release="V50.2-SAFE"] .memory-core strong{font-size:1.15rem!important;}

@media(max-width:860px){
  html[data-qp-release="V50.2-SAFE"] .memory-vault,
  html[data-qp-release="V50.2-SAFE"] .scenario-tree{grid-template-columns:1fr!important;}
  html[data-qp-release="V50.2-SAFE"] .memory-core,
  html[data-qp-release="V50.2-SAFE"] .memory-node,
  html[data-qp-release="V50.2-SAFE"] .tree-now,
  html[data-qp-release="V50.2-SAFE"] .branch{min-height:44px!important;}
}

/* =========================================================
   QuantPilot V50.2 Safe — Geometry Recovery Pack
   Built cumulatively from verified V50.1. Failed V50.2 discarded.
   Scope locked: preserve Asset Search / Assessment / scanner viewport;
   reduce only desktop connector gap; add mobile collision/readability fixes.
   ========================================================= */

html[data-qp-release="V50.2-SAFE"] .ficig-status b::after{content:" SAFE";color:var(--gold);font-size:.7em;margin-left:2px;}

/* Desktop Asset Search gap fix: keep the existing future scanner viewport, only shrink its allocated gap. */
@media(min-width:861px){
  html[data-qp-release="V50.2-SAFE"] .asset-intelligence-screen{
    grid-template-columns:minmax(280px,1.05fr) 26px minmax(360px,1.35fr) minmax(230px,.8fr)!important;
    gap:8px!important;
  }
  html[data-qp-release="V50.2-SAFE"] .asset-flow-guide{
    min-width:24px!important;
    width:26px!important;
    max-width:26px!important;
    padding:0!important;
    border-radius:12px!important;
    overflow:hidden!important;
  }
  html[data-qp-release="V50.2-SAFE"] .asset-flow-guide span,
  html[data-qp-release="V50.2-SAFE"] .asset-flow-guide em{display:none!important;}
  html[data-qp-release="V50.2-SAFE"] .asset-flow-guide b{font-size:20px!important;line-height:1!important;}
}

/* Mobile: reflow around intelligence, do not shrink intelligence into unreadable dust. */
@media(max-width:860px){
  html[data-qp-release="V50.2-SAFE"] .cluster-grid,
  html[data-qp-release="V50.2-SAFE"] .governance-grid,
  html[data-qp-release="V50.2-SAFE"] .driver-stack,
  html[data-qp-release="V50.2-SAFE"] .decision-stack{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    overflow:visible!important;
  }

  html[data-qp-release="V50.2-SAFE"] .cluster-grid>div,
  html[data-qp-release="V50.2-SAFE"] .governance-grid>div,
  html[data-qp-release="V50.2-SAFE"] .driver-stack>div,
  html[data-qp-release="V50.2-SAFE"] .decision-stack>div{
    min-height:auto!important;
    height:auto!important;
    padding:9px 10px!important;
    border-radius:12px!important;
    display:grid!important;
    grid-template-columns:76px 1fr!important;
    column-gap:8px!important;
    row-gap:2px!important;
    align-items:center!important;
    overflow:visible!important;
  }

  html[data-qp-release="V50.2-SAFE"] .cluster-grid span,
  html[data-qp-release="V50.2-SAFE"] .governance-grid span,
  html[data-qp-release="V50.2-SAFE"] .driver-stack span,
  html[data-qp-release="V50.2-SAFE"] .decision-stack span{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    font-size:.58rem!important;
    line-height:1.08!important;
    letter-spacing:.055em!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  html[data-qp-release="V50.2-SAFE"] .cluster-grid strong,
  html[data-qp-release="V50.2-SAFE"] .governance-grid strong,
  html[data-qp-release="V50.2-SAFE"] .driver-stack strong,
  html[data-qp-release="V50.2-SAFE"] .decision-stack strong{
    grid-column:2!important;
    font-size:.82rem!important;
    line-height:1.12!important;
    letter-spacing:.005em!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  html[data-qp-release="V50.2-SAFE"] .cluster-grid em,
  html[data-qp-release="V50.2-SAFE"] .governance-grid em,
  html[data-qp-release="V50.2-SAFE"] .driver-stack em,
  html[data-qp-release="V50.2-SAFE"] .decision-stack em{
    grid-column:2!important;
    font-size:.64rem!important;
    line-height:1.18!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack>div{
    grid-template-columns:58px 1fr!important;
  }
  html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack span{font-size:.58rem!important;}
  html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack strong{font-size:.8rem!important;}

  html[data-qp-release="V50.2-SAFE"] .cluster-map-card,
  html[data-qp-release="V50.2-SAFE"] .live-governance-card,
  html[data-qp-release="V50.2-SAFE"] .regime-drivers-card,
  html[data-qp-release="V50.2-SAFE"] .decision-authority-card{
    overflow:visible!important;
  }

  html[data-qp-release="V50.2-SAFE"] .asset-flow-guide{
    width:auto!important;
    max-width:none!important;
  }
}


/* V50.3 SAFE — Desktop + Mobile Collision Recovery Pack
   Base lock: V50.2-SAFE remains the CSS foundation. These are additive, scoped fixes only. */

/* UNIVERSAL: semantic legend duplicate-label cleanup; HTML now keeps title in <b> and action flow in <span>. */
.semantic-flow-grid > div span{
  display:block!important;
  padding-left:2px!important;
}
.semantic-flow-grid > div b{
  margin-bottom:2px!important;
}

/* DESKTOP ONLY: Decision Authority text reflow. Preserve 4-card matrix and engine structure. */
@media (min-width:861px){
  html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack>div{
    min-height:78px!important;
    padding:9px 10px!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    column-gap:7px!important;
    row-gap:3px!important;
    align-content:center!important;
    align-items:start!important;
    overflow:hidden!important;
  }
  html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack span{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    padding:0!important;
    align-self:start!important;
    font-size:10px!important;
    line-height:1!important;
  }
  html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack .blocked span{
    width:auto!important;
    min-width:42px!important;
    height:28px!important;
    padding:0 7px!important;
    border-radius:999px!important;
    font-size:9px!important;
  }
  html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack strong{
    grid-column:2!important;
    font-size:clamp(13px,.92vw,15px)!important;
    line-height:1.04!important;
    letter-spacing:-.01em!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack em{
    grid-column:2!important;
    font-size:clamp(10.5px,.76vw,12px)!important;
    line-height:1.12!important;
    margin-top:2px!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  html[data-qp-release="V50.2-SAFE"] .decision-authority-card .decision-stack .blocked strong{
    color:#ff6b8d!important;
  }
  html[data-qp-release="V50.2-SAFE"] .why-card{
    padding-bottom:10px!important;
  }
  html[data-qp-release="V50.2-SAFE"] .why-list{
    margin-top:8px!important;
    gap:8px!important;
  }
  html[data-qp-release="V50.2-SAFE"] .why-list p{
    padding:10px 12px!important;
    min-height:34px!important;
  }
}

/* MOBILE ONLY: cell collision recovery without touching desktop geometry. */
@media (max-width:860px){
  html[data-qp-release="V50.2-SAFE"] .position-grid,
  html[data-qp-release="V50.2-SAFE"] .optimizer-grid,
  html[data-qp-release="V50.2-SAFE"] .correlation-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  html[data-qp-release="V50.2-SAFE"] .position-grid>div,
  html[data-qp-release="V50.2-SAFE"] .optimizer-grid>div,
  html[data-qp-release="V50.2-SAFE"] .correlation-grid>div{
    min-height:auto!important;
    padding:14px 14px!important;
    display:grid!important;
    grid-template-columns:minmax(94px,.36fr) minmax(0,1fr)!important;
    column-gap:14px!important;
    row-gap:3px!important;
    align-items:center!important;
    align-content:center!important;
    overflow:visible!important;
  }
  html[data-qp-release="V50.2-SAFE"] .position-grid span,
  html[data-qp-release="V50.2-SAFE"] .optimizer-grid span,
  html[data-qp-release="V50.2-SAFE"] .correlation-grid span{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    font-size:.72rem!important;
    line-height:1.06!important;
    letter-spacing:.10em!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  html[data-qp-release="V50.2-SAFE"] .position-grid strong,
  html[data-qp-release="V50.2-SAFE"] .optimizer-grid strong,
  html[data-qp-release="V50.2-SAFE"] .correlation-grid strong{
    grid-column:2!important;
    font-size:clamp(1.05rem,4.4vw,1.45rem)!important;
    line-height:1.08!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    text-wrap:balance!important;
  }
  html[data-qp-release="V50.2-SAFE"] .position-grid em,
  html[data-qp-release="V50.2-SAFE"] .optimizer-grid em,
  html[data-qp-release="V50.2-SAFE"] .correlation-grid em{
    grid-column:2!important;
    font-size:.88rem!important;
    line-height:1.18!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  html[data-qp-release="V50.2-SAFE"] .semantic-flow-grid>div{
    padding:12px 14px!important;
    min-height:auto!important;
  }
  html[data-qp-release="V50.2-SAFE"] .semantic-flow-grid b{
    font-size:1.05rem!important;
  }
  html[data-qp-release="V50.2-SAFE"] .semantic-flow-grid span{
    font-size:.94rem!important;
    line-height:1.22!important;
  }
}

/* V50.4 SAFE — Typography + Geometry Refinement Pack
   FOUNDATION LOCK: Built cumulatively from verified V50.3 SAFE full package.
   Scope: approved typography/geometry refinements only. No engine rebuilds. */

/* Universal collision guard: preserve intelligence; add breathing room before shrinking text. */
.market-screen *, .watchlist-screen *, .capital-screen *, .portfolio-screen *,
.allocation-screen *, .position-screen *, .atmosphere-screen *, .temporal-screen *,
.autonomy-screen *, .navigator-screen *, .memory-screen *{
  min-width:0;
}
.market-screen strong, .watchlist-screen strong, .capital-screen strong,
.portfolio-screen strong, .allocation-screen strong, .position-screen strong,
.atmosphere-screen strong, .temporal-screen strong, .autonomy-screen strong,
.navigator-screen strong, .memory-screen strong{
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
.market-screen em, .watchlist-screen em, .capital-screen em, .portfolio-screen em,
.allocation-screen em, .position-screen em, .memory-screen em{
  line-height:1.24!important;
}

/* Desktop: Weather for Global Opportunity — remove COMPRESSION collision and stuck cards. */
@media (min-width:861px){
  .atmosphere-screen{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr)!important;align-items:stretch!important;}
  .atmosphere-core-card,.temperature-card{overflow:visible!important;}
  .weather-map{height:340px!important;overflow:hidden!important;}
  .pressure-core{width:158px!important;height:158px!important;padding:16px!important;}
  .pressure-core strong{font-size:1.02rem!important;line-height:1.04!important;letter-spacing:-.02em!important;}
  .pressure-core span{font-size:.58rem!important;}
  .pressure-core em{font-size:.76rem!important;}
  .temperature-grid{gap:16px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .temp{min-height:126px!important;padding:16px!important;}
  .temp b{font-size:clamp(1.3rem,1.6vw,1.85rem)!important;line-height:1!important;}
  .gravity-note{padding:16px 18px!important;}
}

/* Desktop: Price Watch Matrix — reduce oversized words and prevent card sticking. */
@media (min-width:861px){
  .price-watch-card{overflow:visible!important;}
  .price-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important;}
  .price-grid>div{min-height:132px!important;padding:18px 20px!important;border-radius:22px!important;align-content:center!important;gap:9px!important;overflow:visible!important;}
  .price-grid strong{font-size:clamp(1.15rem,1.45vw,1.9rem)!important;line-height:1.04!important;letter-spacing:-.015em!important;white-space:normal!important;text-wrap:balance!important;}
  .price-grid span{font-size:.68rem!important;line-height:1.05!important;letter-spacing:.11em!important;white-space:normal!important;}
  .price-grid em{font-size:.82rem!important;line-height:1.23!important;white-space:normal!important;}
}

/* Universal: risk/capital/heat cards — fix clipped edge words like Concentration, Confirmation, Overweight. */
.exposure-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid,.optimizer-grid{
  gap:14px!important;
}
.exposure-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.optimizer-grid>div{
  min-height:118px!important;
  padding:16px 18px!important;
  overflow:visible!important;
  align-content:center!important;
  gap:7px!important;
}
.exposure-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,.optimizer-grid strong{
  font-size:clamp(1rem,1.45vw,1.55rem)!important;
  line-height:1.05!important;
  white-space:normal!important;
  text-wrap:balance!important;
  letter-spacing:-.015em!important;
}
.exposure-grid span,.allocation-grid span,.heat-grid span,.risk-grid span,.capital-action-grid span,.optimizer-grid span{
  font-size:.66rem!important;
  line-height:1.08!important;
  white-space:normal!important;
}
.exposure-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,.optimizer-grid em{
  font-size:.78rem!important;
  line-height:1.22!important;
}

/* Flight Recorder: keep same engine, make the pathway intentional and fill space. */
.replay-card{overflow:visible!important;}
.replay-loop{
  margin-top:18px!important;
  min-height:116px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:18px!important;
  border-radius:24px!important;
  border:1px solid rgba(92,245,255,.18)!important;
  background:linear-gradient(90deg,rgba(70,236,242,.08),rgba(255,232,121,.06),rgba(70,236,242,.08))!important;
}
.replay-loop span{
  flex:1 1 0!important;
  min-height:56px!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  padding:10px 12px!important;
  border:1px solid rgba(92,245,255,.16)!important;
  border-radius:16px!important;
  background:rgba(5,16,29,.78)!important;
  color:#f4fbff!important;
  font-size:clamp(.86rem,1.02vw,1.05rem)!important;
  font-weight:1000!important;
  letter-spacing:.03em!important;
  white-space:nowrap!important;
}
.replay-loop b{
  flex:0 0 auto!important;
  font-size:1.45rem!important;
  line-height:1!important;
  color:var(--gold)!important;
  opacity:.95!important;
}

/* Radar / orbit systems: slight enlargement without panel rebuild. */
@media (min-width:861px){
  .radar-disc,.watchlist-radar,.market-radar,.portfolio-radar{width:min(420px,100%)!important;margin-top:24px!important;margin-bottom:24px!important;}
  .transition-ring{width:min(318px,100%)!important;}
  .future-orbits{height:370px!important;}
  .future-node.base{width:154px!important;height:154px!important;}
  .future-node.alt{width:122px!important;height:122px!important;}
  .future-node.stress{width:114px!important;height:114px!important;}
  .route-orbit{height:660px!important;}
  .route-node.start{width:154px!important;height:154px!important;}
  .route-node{min-width:145px!important;min-height:92px!important;}
}

/* Regime Memory / Operator Logbook micro-polish. */
.memory-stats{gap:12px!important;}
.memory-stats div{min-height:86px!important;padding:16px!important;overflow:visible!important;}
.memory-stats strong{font-size:1.28rem!important;}
.memory-stats em{font-size:.78rem!important;line-height:1.22!important;}
.logbook-grid>div{min-height:58px!important;padding:13px 14px!important;gap:10px!important;}
.logbook-grid span{font-size:.86rem!important;line-height:1.2!important;color:#c8d8e9!important;}
.logbook-grid b,.logbook-grid strong{font-size:.95rem!important;}

/* Mobile: approved refinements only — no global transforms, no desktop leakage. */
@media (max-width:860px){
  .weather-map{height:350px!important;}
  .pressure-core{width:144px!important;height:144px!important;padding:14px!important;}
  .pressure-core strong{font-size:.92rem!important;line-height:1.05!important;letter-spacing:-.02em!important;}
  .temperature-grid{gap:12px!important;}
  .temp{min-height:108px!important;padding:14px!important;}

  .future-orbits{height:360px!important;}
  .future-node.base{left:30%!important;top:18%!important;width:126px!important;height:126px!important;}
  .future-node.alt{right:5%!important;top:42%!important;width:102px!important;height:102px!important;}
  .future-node.stress{left:5%!important;bottom:10%!important;width:96px!important;height:96px!important;}

  .transition-ring{width:min(270px,100%)!important;}
  .radar-disc,.watchlist-radar,.market-radar,.portfolio-radar{width:min(340px,100%)!important;}

  .route-orbit{height:520px!important;}
  .route-node{min-width:112px!important;min-height:78px!important;padding:10px!important;}
  .route-node.start{width:126px!important;height:126px!important;}
  .route-node.watch{left:3%!important;top:20%!important;}
  .route-node.wait{right:3%!important;top:20%!important;}
  .route-node.avoid{right:3%!important;bottom:14%!important;}
  .route-node.learn{left:3%!important;bottom:14%!important;}
  .route-node strong{font-size:1rem!important;}
  .route-node em{font-size:.72rem!important;}

  .replay-loop{min-height:auto!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:12px!important;}
  .replay-loop span{min-height:44px!important;font-size:.95rem!important;white-space:normal!important;}
  .replay-loop b{font-size:1.2rem!important;transform:rotate(90deg)!important;justify-self:center!important;}

  .exposure-grid,.allocation-grid,.heat-grid,.risk-grid,.capital-action-grid,.optimizer-grid,.price-grid{grid-template-columns:1fr!important;gap:10px!important;}
  .exposure-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.optimizer-grid>div,.price-grid>div{min-height:auto!important;padding:14px 15px!important;}
  .exposure-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,.optimizer-grid strong,.price-grid strong{font-size:1.18rem!important;line-height:1.08!important;white-space:normal!important;}
  .exposure-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,.optimizer-grid em,.price-grid em{font-size:.86rem!important;line-height:1.22!important;}

  .logbook-grid>div{grid-template-columns:1fr!important;text-align:left!important;min-height:auto!important;}
  .logbook-grid span{font-size:.9rem!important;}
  .memory-stats{grid-template-columns:1fr!important;}
  .memory-stats div{min-height:auto!important;}
}

/* QP V50.5 SAFE — Institutional Density Optimization Pack
   Built cumulatively on the verified V50.4 SAFE full package. This layer is additive only:
   no engine rebuilds, no Asset Search changes, no Regime Confirmation rewrites. */
:root{--qp-v505-density-lock:1;}

/* Production artifact cleanup: keep legacy references out of active radar/readout panels. */
.watchlist-radar b,.market-radar b{font-size:.68rem;letter-spacing:.14em;padding:7px 10px;border-radius:999px;border:1px solid rgba(255,232,121,.28);background:rgba(255,232,121,.08);color:var(--gold);}

/* Low-density panel compression: preserve content, reduce casual whitespace. */
.navigator-card,.route-card,.risk-route-card,.replay-card,.rank-card,.forecast-card,.future-card,.radar-card,.atmosphere-core-card,.temperature-card{contain:layout paint;}
.navigator-card .recommendation-core{min-height:auto!important;padding:16px 18px!important;text-align:left!important;align-content:center!important;border-radius:22px!important;}
.navigator-card .recommendation-core strong{font-size:clamp(1rem,1.35vw,1.34rem)!important;line-height:1.08!important;}
.navigator-card .recommendation-core em{font-size:.78rem!important;line-height:1.45!important;max-width:62ch!important;}
.navigator-card .action-stack{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-top:12px!important;}
.navigator-card .action-stack>div{min-height:74px!important;padding:12px 14px!important;border-radius:18px!important;}
.navigator-card .action-stack span{font-size:.62rem!important;}
.navigator-card .action-stack strong{font-size:.86rem!important;line-height:1.15!important;}

/* Cognitive Navigator / route orbit — more institutional density, less empty canvas. */
.route-orbit{height:300px!important;min-height:300px!important;margin-top:14px!important;background:radial-gradient(circle at 50% 48%,rgba(255,232,121,.12),transparent 26%),radial-gradient(circle at 50% 50%,rgba(70,236,242,.13),transparent 62%)!important;}
.route-orbit:before{content:"";position:absolute;inset:11% 16%;border:1px dashed rgba(92,245,255,.22);border-radius:50%;}
.route-node{width:104px!important;min-height:70px!important;padding:10px 12px!important;border-radius:18px!important;line-height:1.05!important;box-shadow:0 0 28px rgba(70,236,242,.10)!important;}
.route-node span{font-size:.58rem!important;letter-spacing:.13em!important;}
.route-node strong{font-size:.9rem!important;line-height:1.08!important;}
.route-node em{font-size:.56rem!important;line-height:1.15!important;}
.route-node.start{left:calc(50% - 52px)!important;top:16%!important;}
.route-node.watch{left:10%!important;top:42%!important;}
.route-node.wait{right:10%!important;top:42%!important;}
.route-node.avoid{left:20%!important;bottom:10%!important;}
.route-node.learn{right:20%!important;bottom:10%!important;}

/* Opportunity ranking — compact professional grid while keeping rank hierarchy. */
.rank-stack{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
.rank-stack .rank{min-height:76px!important;padding:12px 14px!important;display:grid!important;grid-template-columns:auto 1fr!important;column-gap:12px!important;align-items:center!important;}
.rank-stack .rank span{grid-row:1 / span 2;align-self:center;font-size:.72rem!important;}
.rank-stack .rank strong{font-size:1rem!important;line-height:1.05!important;}
.rank-stack .rank em{font-size:.66rem!important;line-height:1.25!important;}

/* Risk route planner — shrink casual one-line block into command strip. */
.risk-corridor{min-height:92px!important;padding:16px!important;display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:14px!important;border-radius:22px!important;}
.risk-corridor b{font-size:1rem!important;letter-spacing:.14em!important;white-space:nowrap!important;}
.risk-corridor span{font-size:.84rem!important;line-height:1.25!important;text-align:left!important;}

/* Flight recorder — stronger pathway and less dead space. */
.replay-loop{min-height:112px!important;height:auto!important;display:grid!important;grid-template-columns:repeat(5,minmax(86px,1fr))!important;gap:10px!important;align-items:stretch!important;padding:14px!important;border-radius:24px!important;}
.replay-loop b{display:none!important;}
.replay-loop span{display:grid!important;place-items:center!important;text-align:center!important;min-height:78px!important;padding:10px 12px!important;border:1px solid rgba(92,245,255,.22)!important;border-radius:18px!important;background:rgba(5,16,29,.78)!important;font-size:.78rem!important;font-weight:1000!important;letter-spacing:.04em!important;position:relative!important;}
.replay-loop span:not(:last-child)::after{content:"→";position:absolute;right:-16px;top:50%;transform:translateY(-50%);color:var(--gold);font-size:1.18rem;font-weight:1000;z-index:2;}

/* Regime memory / operator logbook micro-polish. */
.memory-stats{gap:10px!important;}
.memory-stats>div{min-height:86px!important;padding:14px!important;}
.memory-stats em{font-size:.66rem!important;line-height:1.3!important;}
.logbook-grid>div{min-height:56px!important;padding:11px 14px!important;grid-template-columns:minmax(84px,.9fr) minmax(130px,1.5fr) auto!important;}
.logbook-grid span{font-size:.74rem!important;line-height:1.25!important;}

/* Regime atmosphere — push labels outward, reduce central congestion. */
.radar-disc.atmosphere-disc{width:min(310px,88%)!important;height:min(310px,88%)!important;margin:auto!important;}
.radar-disc.atmosphere-disc b{font-size:1.02rem!important;}
.radar-disc.atmosphere-disc em{font-size:.82rem!important;margin-top:4px!important;}
.radar-disc.atmosphere-disc span{font-size:.62rem!important;padding:6px 8px!important;border-radius:999px!important;background:rgba(5,16,29,.82)!important;border:1px solid rgba(92,245,255,.18)!important;}

/* Cognitive Atmosphere / Weather — separate compression core from winds. */
.weather-map{height:330px!important;overflow:hidden!important;}
.pressure-core{width:150px!important;height:150px!important;padding:12px!important;left:50%!important;top:50%!important;}
.pressure-core strong{font-size:1rem!important;line-height:1.05!important;letter-spacing:.05em!important;}
.pressure-core em{font-size:.67rem!important;line-height:1.15!important;}
.wind{font-size:.67rem!important;padding:8px 10px!important;border-radius:999px!important;white-space:nowrap!important;}
.wind-a{left:7%!important;top:18%!important}.wind-b{right:6%!important;top:22%!important}.wind-c{left:8%!important;bottom:18%!important}.wind-d{right:7%!important;bottom:16%!important}

/* Future simulator / orbit fields — improve relation between cards and field. */
.future-orbits{height:310px!important;margin-top:14px!important;}
.future-node{min-width:118px!important;min-height:74px!important;padding:10px 12px!important;border-radius:20px!important;}
.future-node strong{font-size:.92rem!important;line-height:1.08!important;}
.future-node em{font-size:.82rem!important;}
.future-node.base{left:50%!important;top:15%!important;transform:translateX(-50%)!important;}
.future-node.alt{left:11%!important;bottom:17%!important;}.future-node.stress{right:11%!important;bottom:17%!important;}

/* Opportunity universe node collision cleanup, especially future orbit labels. */
.universe-map .asset.ipo{width:auto!important;min-width:82px!important;height:54px!important;padding:8px 12px!important;border-radius:999px!important;font-size:.7rem!important;line-height:1.05!important;}
.universe-map .asset.spacex{right:4%!important;top:16%!important;}
.universe-map .asset.openai{right:18%!important;top:5%!important;}
.universe-map .asset.anthropic{right:4%!important;bottom:18%!important;}
.universe-map .asset.xai{right:25%!important;bottom:8%!important;}
.universe-map .asset.nvda{right:34%!important;top:27%!important;}
.migrator.spacex-m{right:4%!important;top:50%!important;width:118px!important;height:70px!important;z-index:3!important;}
.migrator.nvda-m{right:28%!important;top:19%!important;z-index:2!important;}

/* Text-fit guardrails for tested collision areas. */
.exposure-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.optimizer-grid>div,.price-grid>div,.temperature-grid>div,.forecast-grid>div{padding:12px 14px!important;min-height:82px!important;overflow:hidden!important;word-break:normal!important;hyphens:auto!important;}
.exposure-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,.optimizer-grid strong,.price-grid strong,.temperature-grid strong,.forecast-grid strong{font-size:clamp(.78rem,1.05vw,1.02rem)!important;line-height:1.08!important;letter-spacing:.02em!important;overflow-wrap:anywhere!important;}
.exposure-grid span,.allocation-grid span,.heat-grid span,.risk-grid span,.capital-action-grid span,.optimizer-grid span,.price-grid span,.temperature-grid span,.forecast-grid span{font-size:.58rem!important;line-height:1.1!important;letter-spacing:.12em!important;}
.exposure-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,.optimizer-grid em,.price-grid em,.temperature-grid em,.forecast-grid em{font-size:.63rem!important;line-height:1.28!important;overflow-wrap:anywhere!important;}

/* Mobile-specific refinement only: no desktop leakage. */
@media(max-width:860px){
  .navigator-card .action-stack{grid-template-columns:1fr!important;}
  .navigator-card .recommendation-core{padding:14px!important;}
  .route-orbit{height:360px!important;min-height:360px!important;}
  .route-orbit:before{inset:8% 10%!important;}
  .route-node{width:96px!important;min-height:64px!important;padding:8px 9px!important;}
  .route-node.start{top:8%!important;left:calc(50% - 48px)!important;}
  .route-node.watch{left:4%!important;top:37%!important;}
  .route-node.wait{right:4%!important;top:37%!important;}
  .route-node.avoid{left:6%!important;bottom:9%!important;}
  .route-node.learn{right:6%!important;bottom:9%!important;}
  .rank-stack{grid-template-columns:1fr!important;}
  .risk-corridor{grid-template-columns:1fr!important;text-align:center!important;min-height:100px!important;}
  .risk-corridor span{text-align:center!important;}
  .replay-loop{grid-template-columns:1fr!important;gap:8px!important;min-height:auto!important;}
  .replay-loop span{min-height:44px!important;font-size:.74rem!important;}
  .replay-loop span:not(:last-child)::after{content:"↓";right:auto!important;left:50%;top:auto!important;bottom:-18px!important;transform:translateX(-50%)!important;font-size:1rem!important;}
  .logbook-grid>div{grid-template-columns:1fr!important;gap:5px!important;text-align:left!important;}
  .logbook-grid span{font-size:.78rem!important;}
  .radar-disc.atmosphere-disc{width:260px!important;height:260px!important;max-width:100%!important;}
  .weather-map{height:310px!important;}
  .pressure-core{width:128px!important;height:128px!important;}
  .pressure-core strong{font-size:.86rem!important;}
  .wind{font-size:.58rem!important;padding:7px 8px!important;}
  .future-orbits{height:300px!important;}
  .future-node{min-width:96px!important;min-height:66px!important;padding:8px 9px!important;}
  .future-node strong{font-size:.76rem!important;}
  .future-node em{font-size:.72rem!important;}
  .future-node.base{top:9%!important;}
  .future-node.alt{left:5%!important;bottom:12%!important;}.future-node.stress{right:5%!important;bottom:12%!important;}
  .exposure-grid>div,.allocation-grid>div,.heat-grid>div,.risk-grid>div,.capital-action-grid>div,.optimizer-grid>div,.price-grid>div,.temperature-grid>div,.forecast-grid>div{min-height:78px!important;padding:11px 12px!important;}
  .exposure-grid strong,.allocation-grid strong,.heat-grid strong,.risk-grid strong,.capital-action-grid strong,.optimizer-grid strong,.price-grid strong,.temperature-grid strong,.forecast-grid strong{font-size:.76rem!important;line-height:1.08!important;}
  .exposure-grid span,.allocation-grid span,.heat-grid span,.risk-grid span,.capital-action-grid span,.optimizer-grid span,.price-grid span,.temperature-grid span,.forecast-grid span{font-size:.52rem!important;line-height:1.1!important;}
  .exposure-grid em,.allocation-grid em,.heat-grid em,.risk-grid em,.capital-action-grid em,.optimizer-grid em,.price-grid em,.temperature-grid em,.forecast-grid em{font-size:.62rem!important;line-height:1.22!important;}
}

@media(min-width:861px){
  .navigator-screen{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;align-items:stretch!important;}
  .route-card{grid-row:span 2!important;}
  .replay-card{grid-column:auto!important;}
}

/* QP V50.6 SAFE — Institutional Compression & Radar Enhancement Pack
   Foundation lock: verified V50.5 SAFE full package.
   Additive geometry-only refinement: no engine rebuilds, no Asset Search/Regime Confirmation changes. */
:root{--qp-v506-compression-lock:1;}

/* Reduce remaining casual whitespace in long low-density panels. */
.route-card,.risk-route-card,.replay-card,.future-card,.atmosphere-core-card,.rotation-card,.allocation-card{padding-bottom:16px!important;}
.route-orbit,.future-orbits,.weather-map,.replay-loop,.rotation-flow{margin-top:12px!important;}

/* Radars: enlarge the actual radar, not the outer panel. */
.radar-disc,.market-radar,.watchlist-radar,.portfolio-radar{
  width:min(460px,94%)!important;
  height:min(460px,94%)!important;
  max-height:460px!important;
  margin:14px auto!important;
  transform:none!important;
}
.market-radar-card,.radar-card,.watchlist-radar-card{min-height:auto!important;}
.radar-disc b,.market-radar b,.watchlist-radar b,.portfolio-radar b{font-size:1.08rem!important;line-height:1.05!important;z-index:3!important;}
.radar-disc span,.market-radar span,.watchlist-radar span,.portfolio-radar span{font-size:.72rem!important;line-height:1.1!important;white-space:normal!important;text-align:center!important;z-index:3!important;}
.radar-disc em{font-size:.82rem!important;z-index:3!important;}

/* Regime atmosphere: bigger orbit with labels outside the centre, no label pile-up. */
.radar-disc.atmosphere-disc{width:min(360px,96%)!important;height:min(360px,96%)!important;position:relative!important;}
.radar-disc.atmosphere-disc b{font-size:1.16rem!important;}
.radar-disc.atmosphere-disc em{position:absolute!important;top:12%!important;left:50%!important;transform:translateX(-50%)!important;}
.radar-disc.atmosphere-disc span:nth-of-type(1){position:absolute!important;top:22%!important;left:50%!important;transform:translateX(-50%)!important;}
.radar-disc.atmosphere-disc span:nth-of-type(2){position:absolute!important;top:45%!important;right:8%!important;}
.radar-disc.atmosphere-disc span:nth-of-type(3){position:absolute!important;bottom:22%!important;right:14%!important;}
.radar-disc.atmosphere-disc span:nth-of-type(4){position:absolute!important;bottom:11%!important;left:50%!important;transform:translateX(-50%)!important;}
.radar-disc.atmosphere-disc span:nth-of-type(5){position:absolute!important;bottom:22%!important;left:14%!important;}
.radar-disc.atmosphere-disc span:nth-of-type(6){position:absolute!important;top:45%!important;left:8%!important;}

/* Cognitive Navigator: compact the giant canvas while keeping an institutional orbit impression. */
.route-orbit{height:245px!important;min-height:245px!important;border-radius:24px!important;}
.route-orbit:before{inset:8% 10%!important;opacity:.75!important;}
.route-node{width:112px!important;min-height:68px!important;padding:9px 10px!important;}
.route-node.start{left:6%!important;top:14%!important;}
.route-node.watch{left:27%!important;top:36%!important;}
.route-node.wait{left:47%!important;top:36%!important;right:auto!important;}
.route-node.avoid{right:8%!important;top:36%!important;bottom:auto!important;}
.route-node.learn{left:7%!important;bottom:12%!important;right:auto!important;}
.route-node strong{font-size:.92rem!important;line-height:1.02!important;}
.route-node em{font-size:.58rem!important;}

/* Opportunity ranking and risk route are compact command boards. */
.rank-stack .rank{min-height:68px!important;padding:10px 12px!important;}
.risk-corridor{min-height:68px!important;padding:11px 14px!important;grid-template-columns:auto 1fr!important;}
.risk-corridor span{font-size:.8rem!important;white-space:normal!important;}
.risk-corridor i{display:none!important;}

/* Flight recorder: keep pathway strong, cut oversized canvas. */
.replay-loop{min-height:88px!important;padding:12px!important;gap:8px!important;}
.replay-loop span{min-height:62px!important;font-size:.78rem!important;border-radius:16px!important;}
.replay-loop span:not(:last-child)::after{right:-14px!important;font-size:1rem!important;}

/* Cognitive atmosphere: smaller panel, larger visible logic inside it. */
.weather-map{height:230px!important;border-radius:24px!important;}
.pressure-core{width:136px!important;height:136px!important;left:23%!important;top:35%!important;transform:translate(-50%,-50%)!important;}
.pressure-core span{font-size:.58rem!important;}
.pressure-core strong{font-size:.9rem!important;}
.pressure-core em{font-size:.62rem!important;}
.wind{font-size:.72rem!important;padding:7px 9px!important;background:rgba(5,16,29,.82)!important;}
.wind-a{left:43%!important;top:30%!important}.wind-b{right:13%!important;top:30%!important}.wind-c{left:43%!important;bottom:27%!important}.wind-d{right:13%!important;bottom:27%!important}

/* Future simulator: reduce panel height while keeping orbit visible and labels inside. */
.future-orbits{height:250px!important;overflow:hidden!important;}
.future-orbits:before{inset:12% 16%!important;}
.future-node{min-width:112px!important;min-height:66px!important;}
.future-node.base{left:8%!important;top:16%!important;transform:none!important;}
.future-node.alt{left:36%!important;bottom:12%!important;}
.future-node.stress{right:8%!important;bottom:12%!important;}
.future-node strong{font-size:.86rem!important;}
.future-node em{font-size:.78rem!important;}

/* Capital rotation: remove huge vertical ladder bars. */
.rotation-flow{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;align-items:center!important;min-height:84px!important;padding:12px!important;border-radius:22px!important;}
.rotation-flow b{min-height:58px!important;display:grid!important;place-items:center!important;border-radius:16px!important;border:1px solid rgba(92,245,255,.16)!important;background:rgba(5,16,29,.74)!important;font-size:.95rem!important;text-align:center!important;padding:8px!important;}
.rotation-flow span{display:none!important;}
.rotation-flow b:not(:last-of-type)::after{content:'→';color:var(--gold);font-weight:1000;margin-left:8px;}

/* Allocation simulator: shorter, denser, less giant pill height. */
.allocation-rings{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;min-height:auto!important;}
.allocation-rings>div{height:128px!important;min-height:128px!important;border-radius:28px!important;}
.allocation-rings b{font-size:1.25rem!important;}
.allocation-rings span{font-size:.65rem!important;}

/* Tested mobile collision zones: convert from cramped 2x2 cards into compact institutional rows. */
.risk-grid,.heat-grid,.capital-action-grid{
  grid-template-columns:1fr!important;
  gap:8px!important;
}
.risk-grid>div,.heat-grid>div,.capital-action-grid>div{
  min-height:70px!important;
  display:grid!important;
  grid-template-columns:minmax(110px,.42fr) minmax(0,.58fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:12px!important;
  align-items:center!important;
  padding:12px 14px!important;
}
.risk-grid span,.heat-grid span,.capital-action-grid span{
  grid-row:1 / span 2!important;
  font-size:.66rem!important;
  letter-spacing:.14em!important;
  line-height:1.12!important;
  overflow-wrap:anywhere!important;
}
.risk-grid strong,.heat-grid strong,.capital-action-grid strong{
  font-size:.92rem!important;
  line-height:1.08!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
.risk-grid em,.heat-grid em,.capital-action-grid em{
  font-size:.72rem!important;
  line-height:1.22!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}

/* Desktop-only tighter columns with no destructive mobile leakage. */
@media(min-width:861px){
  .navigator-screen{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr)!important;gap:14px!important;}
  .risk-route-card{min-height:auto!important;}
  .atmosphere-screen,.temporal-screen,.autonomy-screen{gap:14px!important;}
  .price-grid>div{min-height:74px!important;}
  .rebalance-stack>div{min-height:78px!important;padding:14px!important;}
}

/* Mobile: aggressive but safe compression for the last foundation polish pass. */
@media(max-width:860px){
  .card,.panel,article{max-width:100%!important;}
  .route-orbit{height:300px!important;min-height:300px!important;}
  .route-orbit:before{inset:10% 9%!important;}
  .route-node{width:112px!important;min-height:58px!important;padding:8px!important;}
  .route-node.start{left:6%!important;top:8%!important;}
  .route-node.watch{left:6%!important;top:34%!important;}
  .route-node.wait{left:6%!important;top:48%!important;right:auto!important;}
  .route-node.avoid{left:6%!important;top:62%!important;right:auto!important;}
  .route-node.learn{left:6%!important;bottom:6%!important;right:auto!important;}
  .route-node strong{font-size:.86rem!important;}
  .route-node em{font-size:.58rem!important;}

  .risk-corridor{min-height:72px!important;padding:10px 12px!important;}
  .risk-corridor b{font-size:.86rem!important;}
  .risk-corridor span{font-size:.74rem!important;}

  .replay-loop{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;min-height:auto!important;padding:10px!important;}
  .replay-loop span{width:100%!important;min-height:46px!important;font-size:.82rem!important;}
  .replay-loop span:not(:last-child)::after{content:'↓'!important;right:auto!important;left:50%!important;top:auto!important;bottom:-13px!important;transform:translateX(-50%)!important;font-size:.9rem!important;}

  .weather-map{height:250px!important;}
  .pressure-core{width:124px!important;height:124px!important;left:28%!important;top:32%!important;}
  .wind{font-size:.64rem!important;}
  .wind-a{left:6%!important;top:63%!important}.wind-b{left:6%!important;top:75%!important}.wind-c{right:6%!important;top:63%!important}.wind-d{right:6%!important;top:75%!important}

  .future-orbits{height:285px!important;}
  .future-node{min-width:112px!important;min-height:62px!important;}
  .future-node.base{left:8%!important;top:10%!important;}
  .future-node.alt{left:8%!important;bottom:34%!important;}
  .future-node.stress{left:8%!important;bottom:9%!important;right:auto!important;}
  .future-node strong{font-size:.82rem!important;}

  .rotation-flow{grid-template-columns:1fr!important;gap:6px!important;min-height:auto!important;padding:10px!important;}
  .rotation-flow b{min-height:42px!important;font-size:.86rem!important;justify-items:start!important;padding:9px 14px!important;}
  .rotation-flow b:not(:last-of-type)::after{float:right;margin-left:auto;}

  .allocation-rings{grid-template-columns:1fr!important;gap:9px!important;}
  .allocation-rings>div{height:86px!important;min-height:86px!important;border-radius:22px!important;}
  .allocation-rings b{font-size:1.2rem!important;}

  .risk-grid>div,.heat-grid>div,.capital-action-grid>div{grid-template-columns:minmax(92px,.38fr) minmax(0,.62fr)!important;min-height:68px!important;}
  .risk-grid span,.heat-grid span,.capital-action-grid span{font-size:.58rem!important;}
  .risk-grid strong,.heat-grid strong,.capital-action-grid strong{font-size:.86rem!important;}
  .risk-grid em,.heat-grid em,.capital-action-grid em{font-size:.66rem!important;}

  .radar-disc,.market-radar,.watchlist-radar,.portfolio-radar{width:min(330px,96%)!important;height:min(330px,96%)!important;margin:10px auto!important;}
  .radar-disc.atmosphere-disc{width:min(320px,96%)!important;height:min(320px,96%)!important;}
}

/* ======================================================================
   QP V50.7 SAFE — Desktop Visual Occupancy & Cognitive Clarity Pack
   Built cumulatively from uploaded V50.6 SAFE full package.
   Desktop-only overrides: mobile layout is intentionally untouched.
   ====================================================================== */
@media (min-width:861px){
  /* V50.7 design law: colour + visual hierarchy communicate priority, not giant words. */
  .price-grid strong,
  .rebalance-stack strong,
  .watchlist-hero strong,
  .market-hero-grid strong,
  .regime-hero-grid strong,
  .allocation-hero-grid strong,
  .geo-hero-grid strong{
    font-size:clamp(1.05rem,1.35vw,1.72rem)!important;
    line-height:1.04!important;
    letter-spacing:.005em!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }

  /* Desktop visual occupancy: radars must earn their panels. */
  .market-radar-card,
  .watchlist-radar-card,
  .portfolio-radar-card,
  .radar-card{
    display:grid!important;
    align-content:start!important;
    justify-items:center!important;
    min-height:clamp(300px,34vw,470px)!important;
    padding:18px!important;
  }
  .market-radar,
  .watchlist-radar,
  .portfolio-radar,
  .radar-disc{
    width:min(430px,88%)!important;
    height:min(430px,88%)!important;
    min-width:300px!important;
    min-height:300px!important;
    margin:22px auto 8px!important;
    transform:none!important;
    border-radius:50%!important;
    box-shadow:inset 0 0 82px rgba(70,236,242,.12),0 0 70px rgba(70,236,242,.08)!important;
  }
  .market-radar b,
  .watchlist-radar b,
  .portfolio-radar b,
  .radar-disc b{
    font-size:clamp(1.1rem,1.8vw,1.9rem)!important;
    line-height:1.05!important;
    padding:10px 14px!important;
    z-index:5!important;
  }
  .market-radar span,
  .watchlist-radar span,
  .portfolio-radar span,
  .radar-disc span,
  .radar-disc em{
    font-size:clamp(.72rem,.95vw,.98rem)!important;
    line-height:1.05!important;
    padding:7px 10px!important;
    border-radius:999px!important;
    background:rgba(3,12,22,.82)!important;
    border:1px solid rgba(92,245,255,.25)!important;
    box-shadow:0 0 26px rgba(70,236,242,.09)!important;
    z-index:4!important;
    white-space:nowrap!important;
  }

  /* Atmosphere: move labels outward with the larger radar to prevent centre collisions. */
  .atmosphere-disc span:nth-of-type(1){left:50%!important;top:6%!important;transform:translateX(-50%)!important;}
  .atmosphere-disc span:nth-of-type(2){right:4%!important;top:25%!important;}
  .atmosphere-disc span:nth-of-type(3){right:7%!important;bottom:22%!important;}
  .atmosphere-disc span:nth-of-type(4){left:50%!important;bottom:5%!important;transform:translateX(-50%)!important;}
  .atmosphere-disc span:nth-of-type(5){left:6%!important;bottom:22%!important;}
  .atmosphere-disc span:nth-of-type(6){left:4%!important;top:25%!important;}
  .atmosphere-disc em{left:50%!important;top:62%!important;transform:translateX(-50%)!important;color:var(--gold)!important;}

  /* Watchlist / equity radar and attribution wheel receive readable label radius. */
  .watchlist-radar span:nth-of-type(1),.market-radar span:nth-of-type(1),.portfolio-radar span:nth-of-type(1){left:50%!important;top:7%!important;transform:translateX(-50%)!important;}
  .watchlist-radar span:nth-of-type(2),.market-radar span:nth-of-type(2),.portfolio-radar span:nth-of-type(2){right:4%!important;top:24%!important;}
  .watchlist-radar span:nth-of-type(3),.market-radar span:nth-of-type(3),.portfolio-radar span:nth-of-type(3){right:8%!important;bottom:19%!important;}
  .watchlist-radar span:nth-of-type(4),.market-radar span:nth-of-type(4),.portfolio-radar span:nth-of-type(4){left:50%!important;bottom:5%!important;transform:translateX(-50%)!important;}
  .watchlist-radar span:nth-of-type(5),.market-radar span:nth-of-type(5),.portfolio-radar span:nth-of-type(5){left:8%!important;bottom:19%!important;}
  .watchlist-radar span:nth-of-type(6),.market-radar span:nth-of-type(6),.portfolio-radar span:nth-of-type(6){left:4%!important;top:24%!important;}
  .portfolio-radar span:nth-of-type(7){left:50%!important;top:50%!important;transform:translate(-50%,105px)!important;}

  /* Allocation visual intelligence: transform text-heavy blocks into compact heat/chip systems. */
  .allocation-grid{
    grid-template-columns:1.15fr 1fr 1fr!important;
    align-items:stretch!important;
    gap:12px!important;
  }
  .allocation-grid>div{
    min-height:104px!important;
    padding:14px!important;
    border-radius:22px!important;
    position:relative!important;
    overflow:hidden!important;
  }
  .allocation-grid>div:after{
    content:"";
    position:absolute;
    left:14px;right:14px;bottom:12px;height:8px;border-radius:999px;
    background:linear-gradient(90deg,rgba(70,236,242,.88),rgba(255,232,121,.72),transparent 78%);
    opacity:.58;
  }
  .allocation-grid>div:nth-child(1):after{right:30%;background:linear-gradient(90deg,var(--gold),rgba(70,236,242,.72));}
  .allocation-grid>div:nth-child(2):after{right:48%;}
  .allocation-grid>div:nth-child(3):after{right:64%;}
  .allocation-grid strong{font-size:clamp(1.45rem,2.15vw,2.2rem)!important;line-height:.95!important;}

  .heat-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .heat-grid>div{
    min-height:104px!important;
    padding:12px 12px 18px!important;
    border-radius:20px!important;
    display:grid!important;
    align-content:start!important;
    gap:6px!important;
    position:relative!important;
  }
  .heat-grid>div:before{
    content:"";position:absolute;left:0;top:0;bottom:0;width:6px;border-radius:inherit;
    background:rgba(92,245,255,.45);
  }
  .heat-grid>div.hot:before{background:var(--gold)!important;box-shadow:0 0 28px rgba(255,232,121,.34)}
  .heat-grid>div.pressure:before{background:var(--danger)!important;box-shadow:0 0 28px rgba(255,107,115,.28)}
  .heat-grid span{font-size:.58rem!important;letter-spacing:.075em!important;line-height:1.1!important;}
  .heat-grid strong{font-size:clamp(.98rem,1.12vw,1.26rem)!important;line-height:1.1!important;}
  .heat-grid em{font-size:.72rem!important;line-height:1.25!important;}

  /* Rebalance Intelligence: giant trigger banners become probability/action chips. */
  .rebalance-stack{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .rebalance-stack>div{
    min-height:112px!important;
    padding:14px!important;
    border-radius:22px!important;
    align-content:start!important;
    position:relative!important;
    overflow:hidden!important;
  }
  .rebalance-stack>div:after{
    content:"72%";
    position:absolute;right:12px;top:12px;width:48px;height:48px;border-radius:50%;
    display:grid;place-items:center;font-size:.78rem;font-weight:1000;color:var(--gold);
    border:1px solid rgba(255,232,121,.42);background:rgba(255,232,121,.08);
  }
  .rebalance-stack>div:nth-child(2):after{content:"18%";color:#ff9ea4;border-color:rgba(255,107,115,.42);background:rgba(255,107,115,.08)}
  .rebalance-stack>div:nth-child(3):after{content:"45%";color:#8ffff3;border-color:rgba(92,245,255,.38);background:rgba(70,236,242,.08)}
  .rebalance-stack span{font-size:.56rem!important;letter-spacing:.08em!important;}
  .rebalance-stack strong{font-size:clamp(.98rem,1.15vw,1.28rem)!important;max-width:calc(100% - 58px)!important;}
  .rebalance-stack em{font-size:.74rem!important;line-height:1.28!important;max-width:calc(100% - 10px)!important;}

  /* Price Watch Matrix: reduce oversized words and use colour/position for priority. */
  .price-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .price-grid>div{
    min-height:96px!important;
    padding:13px 14px!important;
    border-radius:20px!important;
    display:grid!important;
    align-content:center!important;
    gap:5px!important;
  }
  .price-grid>div:before{
    content:"";width:9px;height:9px;border-radius:50%;background:rgba(92,245,255,.75);box-shadow:0 0 16px rgba(92,245,255,.45);
    position:absolute;right:14px;top:14px;
  }
  .price-grid>div.focus:before,.price-grid>div.hot:before{background:var(--gold);box-shadow:0 0 18px rgba(255,232,121,.58)}
  .price-grid>div.pressure:before{background:var(--danger);box-shadow:0 0 18px rgba(255,107,115,.45)}
  .price-grid strong{font-size:clamp(.92rem,1.05vw,1.18rem)!important;letter-spacing:.03em!important;}
  .price-grid span{font-size:.62rem!important;}
  .price-grid em{font-size:.72rem!important;line-height:1.24!important;}

  /* Regime drivers / primary regime: reduce empty territory without adding paragraphs. */
  .driver-stack{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .driver-stack>div{
    min-height:108px!important;padding:13px!important;border-radius:20px!important;position:relative!important;overflow:hidden!important;
  }
  .driver-stack>div:after{
    content:"";position:absolute;left:12px;right:12px;bottom:11px;height:7px;border-radius:999px;background:linear-gradient(90deg,var(--gold),rgba(70,236,242,.6),transparent 78%);opacity:.62;
  }
  .driver-stack strong{font-size:clamp(1.15rem,1.55vw,1.65rem)!important;}
  .driver-stack span{font-size:.58rem!important;letter-spacing:.07em!important;}
  .driver-stack em{font-size:.72rem!important;line-height:1.22!important;}

  /* Risk Budget and corridor panels: compress empty bar zones into dashboard instruments. */
  .risk-budget-card,.risk-route-card,.allocation-card{
    min-height:auto!important;
  }
  .budget-bars{
    margin-top:14px!important;
    display:grid!important;
    gap:10px!important;
  }
  .budget-bars>div{
    min-height:34px!important;
    grid-template-columns:88px 1fr 46px!important;
    align-items:center!important;
  }
  .budget-bars span{font-size:.62rem!important;}
  .budget-bars strong{font-size:.86rem!important;}

  /* Cognitive Navigator desktop: keep the engine but reduce paragraph dominance. */
  .route-orbit{height:500px!important;}
  .route-node{min-width:126px!important;min-height:72px!important;border-radius:22px!important;}
  .route-node.start{width:124px!important;height:124px!important;}
  .route-node strong{font-size:1.02rem!important;}
  .route-node em{font-size:.72rem!important;}

  /* Strategic recommendation/status panels: let colour chips carry emphasis. */
  .macro-action-stack>div,
  .cio-stack>div,
  .rebalance-grid>div,
  .stress-grid>div{
    min-height:92px!important;
    padding:13px!important;
    border-radius:20px!important;
  }
  .macro-action-stack strong,.cio-stack strong,.rebalance-grid strong,.stress-grid strong{
    font-size:clamp(.95rem,1.12vw,1.22rem)!important;
    line-height:1.14!important;
  }

  /* Desktop-only safety: never affect protected top command / Mission HUD / Asset Search. */
  .mission-hud,.asset-intel-screen,.asset-search-panel,.asset-profile-panel{contain:layout paint!important;}
}

/* ======================================================================
   QP V50.8 SAFE — Cognitive Density Reconstruction & Geometry Recovery Pack
   Foundation: verified V50.7 SAFE full package.
   Scope: DESKTOP ONLY. Mobile, Asset Search and Mission HUD are protected.
   Design law: collapse unused geometry; charts occupy space, empty space does not.
   ====================================================================== */
@media (min-width:861px){
  html[data-qp-visual-release="V50.10-SAFE"] .galaxy-workspace{
    gap:14px!important;
  }

  /* Desktop masonry/dense packing behaviour for sparse engine sections. */
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .navigator-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .attribution-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .market-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .regime-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .position-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .autonomy-screen{
    align-items:start!important;
    grid-auto-flow:dense!important;
    gap:14px!important;
  }

  /* Sparse panels compress their own height so the next useful panel moves upward. */
  html[data-qp-visual-release="V50.10-SAFE"] .rotation-card,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-meter-card,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-card,
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-heat-card,
  html[data-qp-visual-release="V50.10-SAFE"] .rebalance-card,
  html[data-qp-visual-release="V50.10-SAFE"] .catalyst-card,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-route-card,
  html[data-qp-visual-release="V50.10-SAFE"] .navigator-card,
  html[data-qp-visual-release="V50.10-SAFE"] .rank-card{
    min-height:auto!important;
    align-self:start!important;
    padding:16px!important;
  }

  /* Long horizontal bars become compact instrument strips. */
  html[data-qp-visual-release="V50.10-SAFE"] .rotation-flow{
    min-height:72px!important;
    padding:10px!important;
    grid-template-columns:repeat(4,minmax(96px,1fr))!important;
    gap:8px!important;
    border-radius:18px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .rotation-flow b{
    min-height:46px!important;
    padding:6px 10px!important;
    font-size:.82rem!important;
    letter-spacing:.04em!important;
    background:linear-gradient(135deg,rgba(70,236,242,.08),rgba(255,232,121,.05))!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .rotation-flow b:not(:last-of-type)::after{
    content:'→'!important;
    margin-left:8px!important;
    opacity:.8!important;
  }

  /* Radar occupancy: reduce giant containers, enlarge the instrument itself. */
  html[data-qp-visual-release="V50.10-SAFE"] .market-radar-card,
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-radar-card,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar-card,
  html[data-qp-visual-release="V50.10-SAFE"] .radar-card,
  html[data-qp-visual-release="V50.10-SAFE"] .migration-radar-card{
    min-height:clamp(260px,26vw,380px)!important;
    align-content:center!important;
    padding:16px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .market-radar,
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-radar,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar,
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc,
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map,
  html[data-qp-visual-release="V50.10-SAFE"] .migration-radar{
    width:min(390px,84%)!important;
    height:min(390px,84%)!important;
    min-width:280px!important;
    min-height:280px!important;
    margin:14px auto 4px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc b,
  html[data-qp-visual-release="V50.10-SAFE"] .market-radar b,
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-radar b,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar b,
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map b{
    font-size:clamp(1rem,1.55vw,1.55rem)!important;
    padding:8px 12px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc span,
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc em,
  html[data-qp-visual-release="V50.10-SAFE"] .market-radar span,
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-radar span,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar span{
    font-size:clamp(.66rem,.78vw,.84rem)!important;
    padding:6px 8px!important;
    white-space:nowrap!important;
    max-width:112px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* Label radius follows radar radius; prevents labels collapsing into the middle. */
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc span:nth-of-type(1),
  html[data-qp-visual-release="V50.10-SAFE"] .market-radar span:nth-of-type(1),
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-radar span:nth-of-type(1),
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar span:nth-of-type(1){left:50%!important;top:5%!important;transform:translateX(-50%)!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc span:nth-of-type(2),
  html[data-qp-visual-release="V50.10-SAFE"] .market-radar span:nth-of-type(2),
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-radar span:nth-of-type(2),
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar span:nth-of-type(2){right:2%!important;top:24%!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc span:nth-of-type(3),
  html[data-qp-visual-release="V50.10-SAFE"] .market-radar span:nth-of-type(3),
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-radar span:nth-of-type(3),
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar span:nth-of-type(3){right:6%!important;bottom:20%!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc span:nth-of-type(4),
  html[data-qp-visual-release="V50.10-SAFE"] .market-radar span:nth-of-type(4),
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-radar span:nth-of-type(4),
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar span:nth-of-type(4){left:50%!important;bottom:4%!important;transform:translateX(-50%)!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc span:nth-of-type(5),
  html[data-qp-visual-release="V50.10-SAFE"] .market-radar span:nth-of-type(5),
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-radar span:nth-of-type(5),
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar span:nth-of-type(5){left:6%!important;bottom:20%!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc span:nth-of-type(6),
  html[data-qp-visual-release="V50.10-SAFE"] .market-radar span:nth-of-type(6),
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-radar span:nth-of-type(6),
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar span:nth-of-type(6){left:2%!important;top:24%!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar span:nth-of-type(7){left:50%!important;top:50%!important;transform:translate(-50%,94px)!important;}

  /* Cognitive Matrix: spread nodes into a genuine orbit instead of central overlap. */
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map i:nth-of-type(1){left:50%!important;top:6%!important;transform:translateX(-50%)!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map i:nth-of-type(2){right:2%!important;top:37%!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map i:nth-of-type(3){right:17%!important;bottom:10%!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map i:nth-of-type(4){left:17%!important;bottom:10%!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map i:nth-of-type(5){left:2%!important;top:37%!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map i:nth-of-type(6){left:50%!important;bottom:2%!important;transform:translateX(-50%)!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map i{font-size:.72rem!important;padding:7px 10px!important;}

  /* Exposure risk: no orphan letters; convert to status-tile geometry. */
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid>div,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid>div,
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid>div{
    min-height:86px!important;
    padding:12px 12px 12px 16px!important;
    border-radius:18px!important;
    display:grid!important;
    grid-template-rows:auto auto 1fr!important;
    align-content:start!important;
    gap:4px!important;
    overflow:hidden!important;
    position:relative!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid>div:before,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid>div:before,
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid>div:before{
    content:""!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:5px!important;border-radius:inherit!important;background:rgba(92,245,255,.5)!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid>div.hot:before,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid>div.hot:before,
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid>div.hot:before{background:var(--gold)!important;box-shadow:0 0 26px rgba(255,232,121,.35)!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid>div.pressure:before,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid>div.pressure:before,
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid>div.pressure:before{background:var(--danger)!important;box-shadow:0 0 26px rgba(255,107,115,.3)!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid span,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid span,
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid span{
    font-size:.5rem!important;
    letter-spacing:.045em!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid strong,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid strong,
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid strong{
    font-size:clamp(.78rem,.9vw,1rem)!important;
    line-height:1.05!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid em,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid em,
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid em{
    font-size:.62rem!important;
    line-height:1.16!important;
    opacity:.82!important;
  }

  /* Capital action / allocation heat-map: colour indicates priority, not giant words. */
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
  }

  /* Rebalance and transition text cards become compact probability instruments. */
  html[data-qp-visual-release="V50.10-SAFE"] .rebalance-stack>div{
    min-height:90px!important;
    padding:12px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .rebalance-stack strong{
    font-size:clamp(.86rem,.98vw,1.05rem)!important;
    max-width:calc(100% - 46px)!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .rebalance-stack>div:after{
    width:40px!important;height:40px!important;right:10px!important;top:10px!important;font-size:.68rem!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .transition-prob-grid>div{
    min-height:74px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .transition-prob-grid strong{
    font-size:clamp(.9rem,1vw,1.06rem)!important;
  }

  /* Navigator / recommendation: shrink paragraph dominance into a command strip. */
  html[data-qp-visual-release="V50.10-SAFE"] .recommendation-core{
    min-height:96px!important;
    padding:14px 16px!important;
    border-radius:22px!important;
    display:grid!important;
    grid-template-columns:170px 1fr!important;
    grid-template-areas:"status title" "status copy"!important;
    align-items:center!important;
    gap:8px 16px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .recommendation-core span{grid-area:status!important;align-self:stretch!important;display:grid!important;place-items:center!important;border-radius:18px!important;background:rgba(255,232,121,.08)!important;border:1px solid rgba(255,232,121,.24)!important;font-size:.66rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .recommendation-core strong{grid-area:title!important;font-size:clamp(1.04rem,1.35vw,1.35rem)!important;line-height:1!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .recommendation-core em{grid-area:copy!important;font-size:.74rem!important;line-height:1.25!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .action-stack{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .action-stack>div{min-height:58px!important;padding:10px!important;border-radius:16px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .action-stack strong{font-size:.82rem!important;}

  /* Weather and route panels: panels get shorter when their contents are compact. */
  html[data-qp-visual-release="V50.10-SAFE"] .weather-map{
    min-height:240px!important;
    height:clamp(240px,22vw,340px)!important;
    margin-top:10px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .pressure-core{
    width:clamp(154px,15vw,210px)!important;
    height:clamp(154px,15vw,210px)!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .pressure-core strong{font-size:clamp(1.05rem,1.3vw,1.4rem)!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .wind{font-size:.74rem!important;padding:8px 10px!important;}

  html[data-qp-visual-release="V50.10-SAFE"] .route-orbit{
    height:clamp(360px,31vw,450px)!important;
    min-height:360px!important;
  }

  /* Large sparse cards must not expand the desktop scroll unless their chart occupies the space. */
  html[data-qp-visual-release="V50.10-SAFE"] .rank-stack,
  html[data-qp-visual-release="V50.10-SAFE"] .catalyst-stack,
  html[data-qp-visual-release="V50.10-SAFE"] .budget-bars{
    gap:8px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .rank-stack>div,
  html[data-qp-visual-release="V50.10-SAFE"] .catalyst-stack>div{
    min-height:60px!important;
    padding:10px 12px!important;
    border-radius:16px!important;
  }

  /* Protected systems: keep geometry from the verified base. */
  html[data-qp-visual-release="V50.10-SAFE"] .mission-hud,
  html[data-qp-visual-release="V50.10-SAFE"] .asset-intel-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .asset-search-panel,
  html[data-qp-visual-release="V50.10-SAFE"] .asset-profile-panel{
    contain:layout paint!important;
  }
}

/* ======================================================================
   QP V50.9 SAFE — Cognitive Density Reconstruction & Geometry Recovery
   Foundation: verified V50.8 SAFE full package.
   Scope: DESKTOP-FIRST. Mobile rules remain untouched for the next pass.
   Principle: panel size must be earned by visual intelligence, not big text.
   ====================================================================== */
@media (min-width:861px){
  html[data-qp-visual-release="V50.10-SAFE"] .galaxy-workspace{gap:12px!important;}

  /* Global desktop density contract: no card farms, no giant empty containers. */
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .atmosphere-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .temporal-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .autonomy-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .navigator-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .attribution-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .signal-screen{
    gap:12px!important;
    grid-auto-flow:dense!important;
    align-items:start!important;
    padding:18px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] article:not(.asset-search-card):not(.asset-result-card):not(.semantic-legend-card){
    min-height:auto!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .mini-head{margin-bottom:8px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .mini-head span{font-size:.52rem!important;letter-spacing:.09em!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .mini-head strong{font-size:.82rem!important;line-height:1.05!important;}

  /* ALLOCATION HEAT MAP + EXPOSURE RISK METER: replace empty card farms with decision surfaces. */
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-heat-card,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-meter-card,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-card{
    padding:14px!important;
    border-radius:22px!important;
    align-self:start!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    margin-top:10px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid>div,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid>div,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid>div{
    min-height:42px!important;
    padding:8px 10px 8px 12px!important;
    border-radius:14px!important;
    display:grid!important;
    grid-template-columns:minmax(118px,.72fr) minmax(110px,.72fr) minmax(160px,1.2fr)!important;
    align-items:center!important;
    gap:10px!important;
    overflow:hidden!important;
    background:linear-gradient(90deg,rgba(70,236,242,.08),rgba(5,16,29,.82))!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid>div.hot,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid>div.hot,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid>div.hot{background:linear-gradient(90deg,rgba(255,232,121,.14),rgba(5,16,29,.82))!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid>div.pressure,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid>div.pressure,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid>div.pressure{background:linear-gradient(90deg,rgba(255,107,115,.14),rgba(5,16,29,.82))!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid>div:before,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid>div:before,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid>div:before{width:5px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid span,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid span,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid span{
    font-size:.54rem!important;
    line-height:1.05!important;
    letter-spacing:.065em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid strong,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid strong,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid strong{
    font-size:.88rem!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid em,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid em,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid em{
    font-size:.66rem!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* CAPITAL / PORTFOLIO: reduce oversized KPI containers into compact CIO strips. */
  html[data-qp-visual-release="V50.10-SAFE"] .capital-hero,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-hero,
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-hero-grid,
  html[data-qp-visual-release="V50.10-SAFE"] .position-hero-grid{
    grid-template-columns:1.25fr repeat(3,minmax(130px,.8fr))!important;
    gap:10px!important;
    margin-top:10px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .capital-hero>div,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-hero>div,
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-hero-grid>div,
  html[data-qp-visual-release="V50.10-SAFE"] .position-hero-grid>div{
    min-height:72px!important;
    padding:11px 12px!important;
    border-radius:16px!important;
    gap:4px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .capital-hero strong,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-hero strong,
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-hero-grid strong,
  html[data-qp-visual-release="V50.10-SAFE"] .position-hero-grid strong{font-size:clamp(.95rem,1.05vw,1.28rem)!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .capital-primary strong,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-primary strong{font-size:clamp(1.1rem,1.28vw,1.45rem)!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .capital-rings{
    height:auto!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
    margin-top:10px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .capital-rings .ring{
    width:auto!important;height:94px!important;border-radius:20px!important;padding:10px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .capital-rings strong{font-size:1.28rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .commander-stack,
  html[data-qp-visual-release="V50.10-SAFE"] .drift-stack,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-summary,
  html[data-qp-visual-release="V50.10-SAFE"] .position-stack,
  html[data-qp-visual-release="V50.10-SAFE"] .sleeve-grid{
    gap:7px!important;margin-top:10px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .commander-stack>div,
  html[data-qp-visual-release="V50.10-SAFE"] .position-stack>div,
  html[data-qp-visual-release="V50.10-SAFE"] .sleeve-grid>div,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-summary p{
    min-height:48px!important;padding:9px 11px!important;border-radius:14px!important;
  }

  /* NAVIGATOR WORKSPACE: one dense square workspace, not four giant isolated cards. */
  html[data-qp-visual-release="V50.10-SAFE"] .navigator-screen{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .route-card{
    grid-column:1/-1!important;
    min-height:360px!important;
    display:grid!important;
    grid-template-columns:minmax(320px,44%) 1fr!important;
    gap:14px!important;
    align-items:stretch!important;
    padding:16px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .route-card .mini-head{grid-column:1/-1!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .route-orbit{
    height:300px!important;
    margin:0!important;
    border-radius:24px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .route-node{min-width:104px!important;min-height:58px!important;padding:8px!important;border-radius:16px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .route-node.start{width:102px!important;height:102px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .route-node strong{font-size:.84rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .route-node em{font-size:.58rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .rank-card,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-route-card,
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-card{
    min-height:142px!important;
    padding:14px!important;
    border-radius:20px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .rank-stack{gap:6px!important;margin-top:8px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .rank{min-height:42px!important;padding:7px 9px!important;grid-template-columns:34px 1fr!important;border-radius:12px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .rank span{width:26px!important;height:26px!important;font-size:.6rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .rank strong{font-size:.92rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .rank em{font-size:.62rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .risk-corridor{height:86px!important;min-height:86px!important;margin-top:8px!important;padding:12px 14px!important;border-radius:16px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .risk-corridor b{font-size:1.18rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-rings{height:86px!important;margin-top:8px!important;gap:8px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-rings div{height:86px!important;border-radius:18px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-rings b{font-size:.98rem!important;}

  /* AUTONOMY + TEMPORAL: status engines collapse unless the visual deserves hero space. */
  html[data-qp-visual-release="V50.10-SAFE"] .autonomy-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .temporal-screen{
    grid-template-columns:1fr 1fr!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .future-orbits{height:270px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .future-node.base{width:118px!important;height:118px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .future-node.alt{width:96px!important;height:96px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .future-node.stress{width:88px!important;height:88px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .recommendation-core{min-height:74px!important;padding:11px 12px!important;grid-template-columns:128px 1fr!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .recommendation-core strong{font-size:1.02rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .recommendation-core em{font-size:.64rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .action-stack>div{min-height:46px!important;padding:8px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .migration-map{height:300px!important;margin-top:8px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .transition-ring{width:220px!important;height:220px!important;margin:8px auto!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .momentum-stack{gap:7px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .momentum-stack>div{min-height:42px!important;padding:8px 10px!important;border-radius:12px!important;}

  /* ATMOSPHERE / TEMPERATURE: no 80% empty weather cards. */
  html[data-qp-visual-release="V50.10-SAFE"] .atmosphere-screen{
    grid-template-columns:1fr 1fr!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .weather-map{height:230px!important;min-height:230px!important;margin-top:8px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .pressure-core{width:150px!important;height:150px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .pressure-core strong{font-size:1.03rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .wind{font-size:.66rem!important;padding:6px 8px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .temperature-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:8px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .temp{min-height:74px!important;padding:9px!important;border-radius:16px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .temp b{font-size:1.05rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .temp span{font-size:.58rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .gravity-note{min-height:46px!important;padding:9px 11px!important;margin-top:8px!important;border-radius:14px!important;}

  /* Radar / wheel sanity: visual target 40–50%, not tiny and not page-dominating. */
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar-card,
  html[data-qp-visual-release="V50.10-SAFE"] .radar-card,
  html[data-qp-visual-release="V50.10-SAFE"] .signal-galaxy-card,
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-galaxy-card{
    min-height:280px!important;
    padding:16px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar,
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc,
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map{
    width:min(310px,50%)!important;
    height:min(310px,50%)!important;
    min-width:250px!important;min-height:250px!important;
    margin:10px auto!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map{
    animation:qpOrbitPulse 8s ease-in-out infinite!important;
    box-shadow:inset 0 0 42px rgba(92,245,255,.10),0 0 34px rgba(92,245,255,.08)!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map:before{
    content:"";position:absolute;inset:16%;border-radius:50%;border:1px dashed rgba(255,232,121,.28);animation:qpClockSpin 24s linear infinite;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map i{font-size:.68rem!important;padding:6px 9px!important;z-index:2;}
  @keyframes qpClockSpin{to{transform:rotate(360deg)}}
  @keyframes qpOrbitPulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.18)}}

  /* No giant sparse attribution/decision cards. */
  html[data-qp-visual-release="V50.10-SAFE"] .audit-chain{min-height:82px!important;padding:10px!important;gap:8px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .audit-chain>div{min-height:52px!important;padding:8px 10px!important;border-radius:14px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .cio-decision{min-height:76px!important;padding:12px!important;border-radius:18px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .cio-stack>div{min-height:44px!important;padding:8px 10px!important;border-radius:12px!important;}

  /* Preserve protected foundation systems exactly. */
  html[data-qp-visual-release="V50.10-SAFE"] .mission-hud,
  html[data-qp-visual-release="V50.10-SAFE"] .asset-intelligence-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .asset-search-card,
  html[data-qp-visual-release="V50.10-SAFE"] .asset-result-card,
  html[data-qp-visual-release="V50.10-SAFE"] .asset-flow-guide{
    contain:layout paint!important;
  }
}


/* ============================================================
   QP V50.10 SAFE — Institutional Density Refinement Pack
   Built from V50.9 SAFE full package. Desktop-only refinement.
   Constitution: headers are labels; visuals support intelligence;
   no single topic owns a large container; related intelligence shares workspace.
   ============================================================ */
@media (min-width: 901px){
  html[data-qp-visual-release="V50.10-SAFE"]{
    --qp-title: clamp(.78rem,.82vw,1.02rem);
    --qp-label: clamp(.52rem,.56vw,.68rem);
    --qp-body: clamp(.66rem,.68vw,.82rem);
    --qp-card-radius: 16px;
  }
  /* Headers become labels, not hero content. */
  html[data-qp-visual-release="V50.10-SAFE"] .mini-head{gap:10px!important;margin-bottom:8px!important;align-items:start!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .mini-head span{font-size:var(--qp-label)!important;letter-spacing:.10em!important;line-height:1.05!important;max-width:55%!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .mini-head strong{font-size:var(--qp-title)!important;line-height:1.05!important;letter-spacing:-.01em!important;}
  html[data-qp-visual-release="V50.10-SAFE"] article{word-break:normal!important;overflow-wrap:normal!important;}
  html[data-qp-visual-release="V50.10-SAFE"] span,
  html[data-qp-visual-release="V50.10-SAFE"] strong,
  html[data-qp-visual-release="V50.10-SAFE"] em{word-break:normal!important;overflow-wrap:normal!important;}

  /* Unified decision workspace: primary topic never owns a large container alone. */
  html[data-qp-visual-release="V50.10-SAFE"] .navigator-screen{
    display:grid!important;
    grid-template-columns:minmax(360px,.9fr) minmax(320px,.74fr) minmax(320px,.74fr)!important;
    grid-auto-rows:auto!important;
    gap:10px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .route-card{
    grid-column:1 / 3!important;
    min-height:300px!important;
    max-height:360px!important;
    display:grid!important;
    grid-template-columns:minmax(260px,38%) 1fr!important;
    grid-template-rows:auto 1fr auto!important;
    gap:10px!important;
    padding:14px!important;
  }
  html[data-qp-visual-release="V50.10-SAFE"] .route-card .mini-head{grid-column:1/-1!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .route-orbit{height:220px!important;min-height:220px!important;margin:0!important;border-radius:20px!important;grid-column:1!important;grid-row:2/4!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .route-node{min-width:86px!important;min-height:48px!important;padding:6px 8px!important;border-radius:13px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .route-node.start{width:84px!important;height:84px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .route-node strong{font-size:.72rem!important;line-height:1.05!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .route-node span{font-size:.43rem!important;letter-spacing:.08em!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .route-node em{font-size:.52rem!important;line-height:1.05!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .decision-outcome-grid{grid-column:2!important;grid-row:2/4!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-content:stretch!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .decision-outcome-grid>div{border:1px solid rgba(92,245,255,.18);border-radius:14px;background:rgba(6,18,31,.82);padding:9px 10px;display:grid;gap:3px;align-content:center;min-height:74px;}
  html[data-qp-visual-release="V50.10-SAFE"] .decision-outcome-grid .win{background:linear-gradient(135deg,rgba(64,255,170,.12),rgba(6,18,31,.86));}
  html[data-qp-visual-release="V50.10-SAFE"] .decision-outcome-grid .risk{background:linear-gradient(135deg,rgba(255,107,115,.12),rgba(6,18,31,.86));}
  html[data-qp-visual-release="V50.10-SAFE"] .decision-outcome-grid span{font-size:.48rem;letter-spacing:.09em;color:#9fb4c8;font-weight:900;}
  html[data-qp-visual-release="V50.10-SAFE"] .decision-outcome-grid strong{font-size:.92rem;line-height:1.02;color:#fff;}
  html[data-qp-visual-release="V50.10-SAFE"] .decision-outcome-grid em{font-size:.62rem;line-height:1.12;color:#b5c7d8;font-style:normal;}
  html[data-qp-visual-release="V50.10-SAFE"] .rank-card{grid-column:3!important;grid-row:1 / span 2!important;min-height:300px!important;max-height:360px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .risk-route-card,
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-card{min-height:108px!important;max-height:136px!important;padding:12px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .risk-corridor{height:58px!important;min-height:58px!important;padding:8px 10px!important;display:grid!important;grid-template-columns:88px 1fr!important;align-items:center!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .risk-corridor b{font-size:.92rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .risk-corridor span{font-size:.68rem!important;white-space:nowrap!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-rings{height:58px!important;gap:6px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-rings div{height:58px!important;border-radius:14px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-rings b{font-size:.78rem!important;}

  /* Risk / allocation surfaces: no giant card farms. */
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-heat-card,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-meter-card,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-card{min-height:unset!important;padding:14px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid{grid-template-columns:1fr!important;gap:6px!important;margin-top:8px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid>div,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid>div,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid>div{min-height:38px!important;padding:7px 10px!important;border-radius:12px!important;grid-template-columns:110px 150px 1fr!important;gap:8px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid span,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid span,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid span{font-size:.50rem!important;letter-spacing:.06em!important;white-space:nowrap!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid strong,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid strong,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid strong{font-size:.78rem!important;white-space:nowrap!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .heat-grid em,
  html[data-qp-visual-release="V50.10-SAFE"] .risk-grid em,
  html[data-qp-visual-release="V50.10-SAFE"] .capital-action-grid em{font-size:.58rem!important;line-height:1.08!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}

  /* Visuals stay supportive: reduce panels, add surrounding intelligence, do not overscale diagrams. */
  html[data-qp-visual-release="V50.10-SAFE"] .radar-disc,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar,
  html[data-qp-visual-release="V50.10-SAFE"] .cognitive-map,
  html[data-qp-visual-release="V50.10-SAFE"] .market-radar,
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-radar{width:min(230px,34%)!important;height:min(230px,34%)!important;min-width:190px!important;min-height:190px!important;margin:8px auto!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar-card{display:grid!important;grid-template-columns:minmax(190px,260px) 1fr!important;gap:12px!important;align-items:center!important;min-height:210px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-radar-card .mini-head{grid-column:1/-1!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .attribution-support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  html[data-qp-visual-release="V50.10-SAFE"] .attribution-support-grid>div{border:1px solid rgba(92,245,255,.16);border-radius:12px;background:rgba(6,18,31,.82);padding:8px;min-height:46px;}
  html[data-qp-visual-release="V50.10-SAFE"] .attribution-support-grid span{display:block;font-size:.45rem;letter-spacing:.08em;color:#9fb4c8;font-weight:900;}
  html[data-qp-visual-release="V50.10-SAFE"] .attribution-support-grid strong{font-size:.78rem;line-height:1.05;}

  /* Compress remaining medium voids and pull sections toward institutional density. */
  html[data-qp-visual-release="V50.10-SAFE"] .atmosphere-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .temporal-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .autonomy-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .allocation-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .position-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .market-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .macro-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .regime-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .memory-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .watchlist-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .attribution-screen{gap:10px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .weather-map{height:170px!important;min-height:170px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .pressure-core{width:112px!important;height:112px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .temperature-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .temp{min-height:54px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .migration-map{height:230px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .future-orbits{height:220px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .transition-ring{width:170px!important;height:170px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .position-hero-grid>div,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-blueprint-grid>div,
  html[data-qp-visual-release="V50.10-SAFE"] .sleeve-grid>div,
  html[data-qp-visual-release="V50.10-SAFE"] .position-stack>div{min-height:44px!important;padding:8px 10px!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .position-hero-grid strong,
  html[data-qp-visual-release="V50.10-SAFE"] .portfolio-blueprint-grid strong,
  html[data-qp-visual-release="V50.10-SAFE"] .sleeve-grid strong,
  html[data-qp-visual-release="V50.10-SAFE"] .position-stack strong{font-size:.84rem!important;}
  html[data-qp-visual-release="V50.10-SAFE"] .audit-chain b{font-size:.8rem!important;padding:0 2px!important;}

  /* Protected systems remain functionally isolated. */
  html[data-qp-visual-release="V50.10-SAFE"] .mission-hud,
  html[data-qp-visual-release="V50.10-SAFE"] .asset-intelligence-screen,
  html[data-qp-visual-release="V50.10-SAFE"] .asset-search-card,
  html[data-qp-visual-release="V50.10-SAFE"] .asset-result-card,
  html[data-qp-visual-release="V50.10-SAFE"] .asset-flow-guide{contain:layout paint!important;}
}


/* ============================================================
   QP V51.0 SAFE — Infrastructure Repair Foundation
   Built cumulatively from uploaded V50.10 SAFE full package.
   Purpose: apply full-site density, typography, hierarchy,
   visual-occupancy and zero-collision laws without changing
   Asset Search, Mission HUD, Regime Confirmation, or mobile.
   ============================================================ */
@media (min-width:901px){
  html[data-qp-infra-release="V51.0-SAFE"]{
    --v51-h1:clamp(.78rem,.78vw,.98rem);
    --v51-label:clamp(.48rem,.50vw,.62rem);
    --v51-text:clamp(.62rem,.64vw,.78rem);
    --v51-line:rgba(92,245,255,.18);
    --v51-panel:rgba(2,9,18,.70);
    --v51-green:#55ef9a;--v51-amber:#ffe879;--v51-red:#ff6b73;--v51-cyan:#46ecf2;
  }
  html[data-qp-infra-release="V51.0-SAFE"] .galaxy-workspace{gap:10px!important;padding-top:24px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] section{gap:10px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] article{padding:12px!important;border-radius:18px!important;min-height:unset!important;overflow:hidden!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .mini-head{min-height:0!important;margin-bottom:7px!important;gap:8px!important;align-items:flex-start!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .mini-head span{font-size:var(--v51-label)!important;line-height:1.05!important;letter-spacing:.085em!important;white-space:normal!important;max-width:46%!important;color:rgba(202,230,255,.72)!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .mini-head strong{font-size:var(--v51-h1)!important;line-height:1.08!important;font-weight:900!important;letter-spacing:-.015em!important;}
  html[data-qp-infra-release="V51.0-SAFE"] span,
  html[data-qp-infra-release="V51.0-SAFE"] strong,
  html[data-qp-infra-release="V51.0-SAFE"] em{word-break:normal!important;overflow-wrap:normal!important;}
  html[data-qp-infra-release="V51.0-SAFE"] em{font-style:normal!important;color:#a9bbcf!important;line-height:1.12!important;}

  /* 1) Token/word collision repair for foundation and micro status boards. */
  html[data-qp-infra-release="V51.0-SAFE"] .foundation-status-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .foundation-status-grid>div{display:grid!important;grid-template-rows:auto auto auto!important;gap:3px!important;min-height:58px!important;padding:9px!important;border-radius:12px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .foundation-status-grid span{font-size:.48rem!important;letter-spacing:.08em!important;white-space:nowrap!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .foundation-status-grid strong{font-size:.78rem!important;line-height:1.05!important;white-space:normal!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .foundation-status-grid em{font-size:.56rem!important;white-space:normal!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .qp-v51-microgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px;}
  html[data-qp-infra-release="V51.0-SAFE"] .qp-v51-microgrid>div{border:1px solid var(--v51-line);border-radius:12px;background:rgba(6,18,31,.74);padding:8px;display:grid;gap:2px;}
  html[data-qp-infra-release="V51.0-SAFE"] .qp-v51-microgrid span{font-size:.46rem;letter-spacing:.08em;color:#9fb4c8;font-weight:900;}
  html[data-qp-infra-release="V51.0-SAFE"] .qp-v51-microgrid strong{font-size:.68rem;line-height:1.08;}

  /* 2) Visual occupancy constitution: visuals support intelligence; never dominate. */
  html[data-qp-infra-release="V51.0-SAFE"] .radar-disc,
  html[data-qp-infra-release="V51.0-SAFE"] .portfolio-radar,
  html[data-qp-infra-release="V51.0-SAFE"] .watchlist-radar,
  html[data-qp-infra-release="V51.0-SAFE"] .market-radar,
  html[data-qp-infra-release="V51.0-SAFE"] .cognitive-map,
  html[data-qp-infra-release="V51.0-SAFE"] .geo-map,
  html[data-qp-infra-release="V51.0-SAFE"] .weather-map,
  html[data-qp-infra-release="V51.0-SAFE"] .future-orbits,
  html[data-qp-infra-release="V51.0-SAFE"] .transition-ring,
  html[data-qp-infra-release="V51.0-SAFE"] .memory-vault,
  html[data-qp-infra-release="V51.0-SAFE"] .concentration-orbit,
  html[data-qp-infra-release="V51.0-SAFE"] .migration-map,
  html[data-qp-infra-release="V51.0-SAFE"] .universe-map{max-width:22%!important;width:22%!important;min-width:160px!important;max-height:220px!important;height:180px!important;margin:6px!important;flex:0 0 22%!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .universe-map .asset{transform:scale(.72)!important;transform-origin:center!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .radar-disc b,
  html[data-qp-infra-release="V51.0-SAFE"] .portfolio-radar b,
  html[data-qp-infra-release="V51.0-SAFE"] .cognitive-map b{font-size:.92rem!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .radar-disc span,
  html[data-qp-infra-release="V51.0-SAFE"] .portfolio-radar span,
  html[data-qp-infra-release="V51.0-SAFE"] .cognitive-map i{font-size:.55rem!important;line-height:1!important;}

  /* 3) Pair each visual with intelligence surface rather than empty space. */
  html[data-qp-infra-release="V51.0-SAFE"] .radar-card,
  html[data-qp-infra-release="V51.0-SAFE"] .watchlist-radar-card,
  html[data-qp-infra-release="V51.0-SAFE"] .market-radar-card,
  html[data-qp-infra-release="V51.0-SAFE"] .geo-heat-card,
  html[data-qp-infra-release="V51.0-SAFE"] .concentration-card,
  html[data-qp-infra-release="V51.0-SAFE"] .memory-vault-card,
  html[data-qp-infra-release="V51.0-SAFE"] .migration-card,
  html[data-qp-infra-release="V51.0-SAFE"] .future-card,
  html[data-qp-infra-release="V51.0-SAFE"] .portfolio-radar-card,
  html[data-qp-infra-release="V51.0-SAFE"] .universe-card,
  html[data-qp-infra-release="V51.0-SAFE"] .atmosphere-core-card{display:grid!important;grid-template-columns:minmax(160px,22%) 1fr!important;gap:10px!important;align-items:stretch!important;min-height:180px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .radar-card .mini-head,
  html[data-qp-infra-release="V51.0-SAFE"] .watchlist-radar-card .mini-head,
  html[data-qp-infra-release="V51.0-SAFE"] .market-radar-card .mini-head,
  html[data-qp-infra-release="V51.0-SAFE"] .geo-heat-card .mini-head,
  html[data-qp-infra-release="V51.0-SAFE"] .concentration-card .mini-head,
  html[data-qp-infra-release="V51.0-SAFE"] .memory-vault-card .mini-head,
  html[data-qp-infra-release="V51.0-SAFE"] .migration-card .mini-head,
  html[data-qp-infra-release="V51.0-SAFE"] .future-card .mini-head,
  html[data-qp-infra-release="V51.0-SAFE"] .portfolio-radar-card .mini-head,
  html[data-qp-infra-release="V51.0-SAFE"] .universe-card .mini-head,
  html[data-qp-infra-release="V51.0-SAFE"] .atmosphere-core-card .mini-head{grid-column:1/-1!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .radar-card:after,
  html[data-qp-infra-release="V51.0-SAFE"] .market-radar-card:after,
  html[data-qp-infra-release="V51.0-SAFE"] .watchlist-radar-card:after,
  html[data-qp-infra-release="V51.0-SAFE"] .geo-heat-card:after,
  html[data-qp-infra-release="V51.0-SAFE"] .concentration-card:after,
  html[data-qp-infra-release="V51.0-SAFE"] .memory-vault-card:after,
  html[data-qp-infra-release="V51.0-SAFE"] .future-card:after,
  html[data-qp-infra-release="V51.0-SAFE"] .migration-card:after,
  html[data-qp-infra-release="V51.0-SAFE"] .universe-card:after,
  html[data-qp-infra-release="V51.0-SAFE"] .atmosphere-core-card:after{content:"P/L · confidence · risk · trigger · lesson";display:grid;place-items:center;border:1px solid rgba(92,245,255,.14);border-radius:14px;background:linear-gradient(135deg,rgba(70,236,242,.06),rgba(255,232,121,.04));color:#b9c8d6;font-size:.68rem;letter-spacing:.04em;font-weight:800;padding:8px;text-align:center;}

  /* 4) Strategic recommendation / action hierarchy: colour and border before size. */
  html[data-qp-infra-release="V51.0-SAFE"] .recommendation-core{min-height:56px!important;display:grid!important;grid-template-columns:110px 1fr!important;gap:8px!important;align-items:center!important;border:2px solid rgba(255,232,121,.46)!important;background:linear-gradient(135deg,rgba(255,232,121,.12),rgba(255,107,115,.08))!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .recommendation-core strong{font-size:.95rem!important;color:#ffe879!important;line-height:1.05!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .recommendation-core em{font-size:.62rem!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .action-stack{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .action-stack>div{min-height:52px!important;border-radius:13px!important;border-width:2px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .action-stack>div:nth-child(1){border-color:rgba(85,239,154,.50)!important;background:rgba(85,239,154,.08)!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .action-stack>div:nth-child(2){border-color:rgba(255,232,121,.52)!important;background:rgba(255,232,121,.08)!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .action-stack>div:nth-child(3){border-color:rgba(255,107,115,.52)!important;background:rgba(255,107,115,.08)!important;}

  /* 5) Budget/value alignment: numbers live inside their bars/boxes. */
  html[data-qp-infra-release="V51.0-SAFE"] .budget-bars{display:grid!important;gap:6px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .budget-bars>div{position:relative!important;display:grid!important;grid-template-columns:86px 1fr 46px!important;gap:8px!important;align-items:center!important;min-height:34px!important;padding:6px 8px!important;border-radius:12px!important;overflow:hidden!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .budget-bars span{font-size:.55rem!important;white-space:nowrap!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .budget-bars b{position:static!important;height:7px!important;border-radius:999px!important;display:block!important;background:linear-gradient(90deg,var(--v51-green),var(--v51-cyan))!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .budget-bars strong{justify-self:end!important;font-size:.72rem!important;color:#fff!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .budget-bars strong::after{content:"%";font-size:.55rem;color:#9fb4c8;margin-left:1px;}

  /* 6) Compact surfaces: one topic never owns a large container alone. */
  html[data-qp-infra-release="V51.0-SAFE"] .capital-screen{grid-template-columns:1fr 1fr 1fr!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .portfolio-screen,
  html[data-qp-infra-release="V51.0-SAFE"] .attribution-screen,
  html[data-qp-infra-release="V51.0-SAFE"] .regime-screen,
  html[data-qp-infra-release="V51.0-SAFE"] .macro-screen,
  html[data-qp-infra-release="V51.0-SAFE"] .geopolitics-screen,
  html[data-qp-infra-release="V51.0-SAFE"] .allocation-screen,
  html[data-qp-infra-release="V51.0-SAFE"] .position-screen,
  html[data-qp-infra-release="V51.0-SAFE"] .watchlist-screen,
  html[data-qp-infra-release="V51.0-SAFE"] .memory-screen{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .capital-board,
  html[data-qp-infra-release="V51.0-SAFE"] .portfolio-build-card,
  html[data-qp-infra-release="V51.0-SAFE"] .performance-scorecard,
  html[data-qp-infra-release="V51.0-SAFE"] .regime-command-board,
  html[data-qp-infra-release="V51.0-SAFE"] .macro-command-board,
  html[data-qp-infra-release="V51.0-SAFE"] .geo-command-board,
  html[data-qp-infra-release="V51.0-SAFE"] .allocation-command-board,
  html[data-qp-infra-release="V51.0-SAFE"] .position-command-board,
  html[data-qp-infra-release="V51.0-SAFE"] .watchlist-board{grid-column:span 2!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .capital-hero,
  html[data-qp-infra-release="V51.0-SAFE"] .performance-hero,
  html[data-qp-infra-release="V51.0-SAFE"] .portfolio-blueprint-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .position-stack,
  html[data-qp-infra-release="V51.0-SAFE"] .exposure-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .health-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .transition-prob-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .opportunity-heat-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .regime-memory-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .macro-hero-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .geo-hero-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .allocation-hero-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .position-hero-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))!important;gap:7px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .capital-hero>div,
  html[data-qp-infra-release="V51.0-SAFE"] .performance-hero>div,
  html[data-qp-infra-release="V51.0-SAFE"] .portfolio-blueprint-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .position-stack>div,
  html[data-qp-infra-release="V51.0-SAFE"] .exposure-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .health-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .transition-prob-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .opportunity-heat-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .regime-memory-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .macro-hero-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .geo-hero-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .allocation-hero-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .position-hero-grid>div{min-height:42px!important;padding:7px 9px!important;border-radius:12px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .capital-hero strong,
  html[data-qp-infra-release="V51.0-SAFE"] .performance-hero strong,
  html[data-qp-infra-release="V51.0-SAFE"] .portfolio-blueprint-grid strong,
  html[data-qp-infra-release="V51.0-SAFE"] .position-stack strong,
  html[data-qp-infra-release="V51.0-SAFE"] .exposure-grid strong,
  html[data-qp-infra-release="V51.0-SAFE"] .health-grid strong{font-size:.82rem!important;line-height:1.05!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .capital-hero span,
  html[data-qp-infra-release="V51.0-SAFE"] .performance-hero span,
  html[data-qp-infra-release="V51.0-SAFE"] .portfolio-blueprint-grid span,
  html[data-qp-infra-release="V51.0-SAFE"] .position-stack span,
  html[data-qp-infra-release="V51.0-SAFE"] .exposure-grid span,
  html[data-qp-infra-release="V51.0-SAFE"] .health-grid span{font-size:.48rem!important;letter-spacing:.06em!important;white-space:nowrap!important;}

  /* 7) Recommendation and trigger tiles use colour/edge, not size. */
  html[data-qp-infra-release="V51.0-SAFE"] .commander-stack,
  html[data-qp-infra-release="V51.0-SAFE"] .rebalance-stack,
  html[data-qp-infra-release="V51.0-SAFE"] .drift-stack,
  html[data-qp-infra-release="V51.0-SAFE"] .macro-action-stack,
  html[data-qp-infra-release="V51.0-SAFE"] .momentum-stack,
  html[data-qp-infra-release="V51.0-SAFE"] .contributors-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .thesis-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .personal-asset-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .stock-watch-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .price-grid{gap:7px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .commander-stack>div,
  html[data-qp-infra-release="V51.0-SAFE"] .rebalance-stack>div,
  html[data-qp-infra-release="V51.0-SAFE"] .drift-stack>div,
  html[data-qp-infra-release="V51.0-SAFE"] .macro-action-stack>div,
  html[data-qp-infra-release="V51.0-SAFE"] .momentum-stack>div,
  html[data-qp-infra-release="V51.0-SAFE"] .contributors-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .thesis-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .personal-asset-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .stock-watch-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .price-grid>div{min-height:44px!important;padding:7px 9px!important;border-radius:12px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .increase,
  html[data-qp-infra-release="V51.0-SAFE"] .winner,
  html[data-qp-infra-release="V51.0-SAFE"] .validated,
  html[data-qp-infra-release="V51.0-SAFE"] .hot{border-color:rgba(85,239,154,.46)!important;background:rgba(85,239,154,.07)!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .maintain,
  html[data-qp-infra-release="V51.0-SAFE"] .watch,
  html[data-qp-infra-release="V51.0-SAFE"] .warm{border-color:rgba(255,232,121,.42)!important;background:rgba(255,232,121,.07)!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .avoid,
  html[data-qp-infra-release="V51.0-SAFE"] .blocked,
  html[data-qp-infra-release="V51.0-SAFE"] .detractor,
  html[data-qp-infra-release="V51.0-SAFE"] .pressure{border-color:rgba(255,107,115,.46)!important;background:rgba(255,107,115,.07)!important;}

  /* 8) Reduce visual-card dominance in allocation/risk/capital surfaces. */
  html[data-qp-infra-release="V51.0-SAFE"] .heat-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .risk-grid,
  html[data-qp-infra-release="V51.0-SAFE"] .capital-action-grid{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .heat-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .risk-grid>div,
  html[data-qp-infra-release="V51.0-SAFE"] .capital-action-grid>div{display:grid!important;grid-template-columns:112px 120px 1fr!important;gap:8px!important;min-height:36px!important;padding:7px 9px!important;align-items:center!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .heat-grid span,
  html[data-qp-infra-release="V51.0-SAFE"] .risk-grid span,
  html[data-qp-infra-release="V51.0-SAFE"] .capital-action-grid span{font-size:.50rem!important;letter-spacing:.06em!important;white-space:nowrap!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .heat-grid strong,
  html[data-qp-infra-release="V51.0-SAFE"] .risk-grid strong,
  html[data-qp-infra-release="V51.0-SAFE"] .capital-action-grid strong{font-size:.75rem!important;white-space:nowrap!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .heat-grid em,
  html[data-qp-infra-release="V51.0-SAFE"] .risk-grid em,
  html[data-qp-infra-release="V51.0-SAFE"] .capital-action-grid em{font-size:.56rem!important;white-space:normal!important;line-height:1.08!important;}

  /* 9) Process ribbons cannot become giant pills. */
  html[data-qp-infra-release="V51.0-SAFE"] .lifecycle-flow,
  html[data-qp-infra-release="V51.0-SAFE"] .flow-loop,
  html[data-qp-infra-release="V51.0-SAFE"] .audit-chain,
  html[data-qp-infra-release="V51.0-SAFE"] .alert-governance-flow{min-height:0!important;display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;justify-content:flex-start!important;margin:8px 0!important;padding:0!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .lifecycle-flow span,
  html[data-qp-infra-release="V51.0-SAFE"] .flow-loop span{padding:6px 9px!important;font-size:.60rem!important;border-radius:999px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .lifecycle-flow b,
  html[data-qp-infra-release="V51.0-SAFE"] .flow-loop b,
  html[data-qp-infra-release="V51.0-SAFE"] .audit-chain b{font-size:.7rem!important;color:var(--v51-amber)!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .audit-chain>div{min-height:42px!important;padding:7px 9px!important;min-width:128px!important;}
  html[data-qp-infra-release="V51.0-SAFE"] .audit-chain strong{font-size:.72rem!important;}

  /* 10) Protect core verified systems and mobile. */
  html[data-qp-infra-release="V51.0-SAFE"] .asset-intelligence-screen,
  html[data-qp-infra-release="V51.0-SAFE"] .asset-search-card,
  html[data-qp-infra-release="V51.0-SAFE"] .asset-result-card,
  html[data-qp-infra-release="V51.0-SAFE"] .mission-hud{contain:layout paint!important;}
}


/* ==========================================================
   QuantPilot V51.1 SAFE — Infrastructure Completion & Density Consolidation
   Built on verified V51.0 SAFE foundation.
   Laws: no placeholders, no isolated intelligence, one question = one workspace.
   ========================================================== */
html[data-qp-infra-release="V51.1-SAFE"] .ficig-status b{letter-spacing:.08em;}
html[data-qp-infra-release="V51.1-SAFE"] .mini-head span{font-size:clamp(.62rem,.72vw,.86rem);letter-spacing:.08em;}
html[data-qp-infra-release="V51.1-SAFE"] .mini-head strong{font-size:clamp(.66rem,.74vw,.88rem);line-height:1.12;}
html[data-qp-infra-release="V51.1-SAFE"] article{overflow:hidden;}
html[data-qp-infra-release="V51.1-SAFE"] article :is(strong,span,em,b){overflow-wrap:normal;word-break:normal;}

@media (min-width: 980px){
  html[data-qp-infra-release="V51.1-SAFE"] .galaxy-workspace{gap:14px;}
  html[data-qp-infra-release="V51.1-SAFE"] section{gap:12px!important;align-items:stretch;}
  html[data-qp-infra-release="V51.1-SAFE"] :is(.galaxy-screen,.atmosphere-screen,.temporal-screen,.autonomy-screen,.navigator-screen,.memory-screen,.watchlist-screen,.market-screen,.geopolitics-screen,.capital-screen,.portfolio-screen){grid-auto-rows:minmax(0,auto);}
  html[data-qp-infra-release="V51.1-SAFE"] .route-orbit{min-height:210px!important;}
  html[data-qp-infra-release="V51.1-SAFE"] :is(.universe-map,.migration-map,.future-orbits,.weather-map,.geo-map,.watchlist-radar,.radar-disc,.transition-ring){transform:scale(.86);transform-origin:center;}
  html[data-qp-infra-release="V51.1-SAFE"] :is(.universe-card,.radar-card,.atmosphere-core-card,.temperature-card,.migration-card,.transition-card,.future-card,.watchlist-radar-card,.geo-heat-card){min-height:unset!important;}
  html[data-qp-infra-release="V51.1-SAFE"] :is(.mission-hud){max-height:calc(100vh - 120px);overflow:auto;}
}

.v511-insight-surface,.v511-outcome-surface,.v511-risk-completion,.v511-budget-completion,.v511-allocation-completion,.v511-attr-completion,.v511-watch-completion,.v511-mini-table{margin-top:10px;border:1px solid rgba(92,245,255,.18);border-radius:16px;background:linear-gradient(135deg,rgba(8,20,34,.92),rgba(4,12,22,.84));box-shadow:inset 0 0 18px rgba(92,245,255,.035);padding:10px;}
.v511-surface-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.06);padding-bottom:6px;}
.v511-surface-head span{font-size:.58rem;color:#8ba2b8;font-weight:900;letter-spacing:.12em;text-transform:uppercase;}
.v511-surface-head b{font-size:.66rem;color:#dcefff;letter-spacing:.05em;}
.v511-surface-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
.v511-surface-grid>div,.v511-mini-table>div:not(.v511-surface-head),.v511-env-grid>div{border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:8px;background:rgba(255,255,255,.035);min-width:0;}
.v511-surface-grid span,.v511-mini-table span,.v511-env-grid span{display:block;font-size:.52rem;letter-spacing:.12em;text-transform:uppercase;color:#9fb4c8;font-weight:900;margin-bottom:3px;}
.v511-surface-grid strong,.v511-mini-table strong,.v511-env-grid strong{display:block;font-size:.78rem;line-height:1.08;color:#eff8ff;white-space:normal;}
.v511-surface-grid em,.v511-mini-table em,.v511-env-grid em{display:block;font-size:.58rem;line-height:1.2;color:#95a8bb;margin-top:3px;}
.v511-mini-table>div:not(.v511-surface-head){display:grid;grid-template-columns:minmax(80px,.7fr) minmax(110px,1fr) minmax(120px,1.2fr);align-items:center;gap:8px;margin-top:6px;}
.v511-mini-table>div:not(.v511-surface-head) span{margin:0;}
.v511-mini-table>div:not(.v511-surface-head) strong{font-size:.82rem;}
.v511-mini-table>div:not(.v511-surface-head) em{margin:0;}
.v511-surface-grid .hot,.v511-mini-table .hot,.v511-env-grid .hot{border-color:rgba(54,255,154,.28);background:linear-gradient(135deg,rgba(54,255,154,.10),rgba(255,255,255,.035));}
.v511-surface-grid .warm,.v511-mini-table .warm,.v511-env-grid .warm{border-color:rgba(255,205,91,.30);background:linear-gradient(135deg,rgba(255,205,91,.10),rgba(255,255,255,.035));}
.v511-surface-grid .pressure,.v511-mini-table .pressure,.v511-env-grid .pressure{border-color:rgba(255,86,124,.30);background:linear-gradient(135deg,rgba(255,86,124,.10),rgba(255,255,255,.035));}
.v511-environment-workspace{grid-column:1/-1!important;border:1px solid rgba(92,245,255,.20)!important;background:linear-gradient(135deg,rgba(7,20,35,.96),rgba(4,12,22,.92))!important;}
.v511-env-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;}

/* Completion of the recurring empty right-side problem */
html[data-qp-infra-release="V51.1-SAFE"] :is(.watchlist-radar-card,.geo-heat-card,.market-command-board,.radar-card,.atmosphere-core-card,.temperature-card,.migration-card,.transition-card,.future-card,.universe-card,.cross-asset-board){display:flex;flex-direction:column;}
html[data-qp-infra-release="V51.1-SAFE"] :is(.v511-outcome-surface,.v511-insight-surface){margin-top:auto;}

/* Repair shared allocation / exposure cards */
html[data-qp-infra-release="V51.1-SAFE"] .risk-grid,
html[data-qp-infra-release="V51.1-SAFE"] .budget-bars,
html[data-qp-infra-release="V51.1-SAFE"] .exposure-grid{gap:8px!important;}
html[data-qp-infra-release="V51.1-SAFE"] .budget-bars div{display:grid!important;grid-template-columns:minmax(90px,1fr) auto;gap:10px;align-items:center;}
html[data-qp-infra-release="V51.1-SAFE"] .budget-bars div strong{justify-self:end;min-width:34px;text-align:right;}

/* Decision dominance: colour/border before size */
html[data-qp-infra-release="V51.1-SAFE"] :is(.recommendation-core,.cio-decision,.market-primary,.watch-primary){border:1px solid rgba(255,205,91,.35)!important;box-shadow:inset 3px 0 0 rgba(255,205,91,.85),0 0 18px rgba(255,205,91,.06)!important;}
html[data-qp-infra-release="V51.1-SAFE"] .action-stack{gap:8px!important;}
html[data-qp-infra-release="V51.1-SAFE"] .action-stack>div{border-width:1px!important;padding:10px!important;}
html[data-qp-infra-release="V51.1-SAFE"] .action-stack>div:nth-child(1){border-color:rgba(54,255,154,.35);box-shadow:inset 3px 0 0 rgba(54,255,154,.75);}
html[data-qp-infra-release="V51.1-SAFE"] .action-stack>div:nth-child(2){border-color:rgba(255,205,91,.35);box-shadow:inset 3px 0 0 rgba(255,205,91,.75);}
html[data-qp-infra-release="V51.1-SAFE"] .action-stack>div:nth-child(3){border-color:rgba(255,86,124,.35);box-shadow:inset 3px 0 0 rgba(255,86,124,.75);}

@media (max-width: 979px){
  /* Mobile protected: only safe text wrapping and overflow fixes. */
  .v511-surface-grid,.v511-env-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .v511-mini-table>div:not(.v511-surface-head){grid-template-columns:1fr;gap:3px;}
  .v511-insight-surface,.v511-outcome-surface,.v511-mini-table{padding:8px;}
}

/* V51.32 SAFE — Outcome Layer Visual Removal Guard */
.v511-outcome-surface{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important;}

/* V51.32.1 SAFE — P/L Visual Blocker Removal Guard
   Remove the repeated P/L placeholder visual surfaces that remained after Outcome Layer removal.
   The underlying P/L logic/text is not destroyed; only the blocking visual card/pseudo panels are hidden. */
html :is(.radar-card,.market-radar-card,.watchlist-radar-card,.geo-heat-card,.concentration-card,.memory-vault-card,.future-card,.migration-card,.universe-card,.atmosphere-core-card,.portfolio-radar-card,.transition-card,.weather-map,.migration-map,.radar-disc):after{
  content:none!important;
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
.qp-pl-visual-removed{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
body.qp-pl-visual-guard :is(.radar-card,.market-radar-card,.watchlist-radar-card,.geo-heat-card,.concentration-card,.memory-vault-card,.future-card,.migration-card,.universe-card,.atmosphere-core-card,.portfolio-radar-card,.transition-card){
  grid-template-columns:1fr!important;
}
