/* NOR-ASSIST-0140B - presence-first home: WORLD + NOR, everything else lives in its own surface. */
body[data-shell-view="home"] main{padding-bottom:0;min-height:calc(100vh - 68px)}
/* At rest NOR and the world are peers: same diameter, same weight, one stage. */
body[data-shell-view="home"] #command-deck{--duo-size:clamp(212px,25vw,392px);position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(18px,3vw,58px);min-height:calc(100vh - 76px);padding:clamp(20px,3vw,48px) clamp(18px,4vw,72px);overflow:hidden}
body[data-shell-view="home"] #command-deck .command-intro,
body[data-shell-view="home"] #command-deck .command-rail,
body[data-shell-view="home"] #command-deck .command-priority-strip,
body[data-shell-view="home"] #command-deck .command-detail-section{display:none!important}
body[data-shell-view="home"] .nor-core-stage{position:relative;z-index:6;display:grid;place-items:center;align-content:center;min-height:520px;isolation:isolate}
body[data-shell-view="home"] .nor-core{width:var(--duo-size);height:var(--duo-size);border:0;background:radial-gradient(circle at 42% 38%,rgba(65,190,220,.28),rgba(3,23,39,.18) 36%,rgba(1,10,18,.02) 68%);box-shadow:none}
body[data-shell-view="home"] .nor-core:before{content:"";position:absolute;inset:-54%;border-radius:50%;background:radial-gradient(circle,rgba(20,112,176,.07),transparent 62%);pointer-events:none}
body[data-shell-view="home"] .nor-core .r1{inset:9%;opacity:.82}body[data-shell-view="home"] .nor-core .r2{inset:-4%;opacity:.42}body[data-shell-view="home"] .nor-core .r3{inset:-18%;opacity:.22}
body[data-shell-view="home"] .nor-core-node{width:34%;height:34%;box-shadow:0 0 32px rgba(85,221,218,.32),inset 0 0 28px rgba(255,255,255,.12)}
body[data-shell-view="home"] .nor-core-meta{margin-top:46px;text-align:center;display:grid;gap:8px;max-width:340px}
body[data-shell-view="home"] .nor-core-meta strong{font-size:.68rem;letter-spacing:.18em;color:#d9eeff}body[data-shell-view="home"] .nor-core-meta small{font-size:.62rem;color:#6385a1;letter-spacing:.02em}
.presence-return-line{margin-top:9px;min-height:16px;color:#456982;font-size:.56rem;letter-spacing:.05em;text-align:center;max-width:340px}
.nor-presence-caption{position:absolute;top:calc(50% + 165px);left:50%;transform:translateX(-50%);width:min(430px,90vw);text-align:center;z-index:8;pointer-events:none}.nor-presence-caption[hidden]{display:none}.nor-presence-caption small{display:block;color:#65b9df;font-size:.52rem;letter-spacing:.18em;margin-bottom:5px}.nor-presence-caption p{margin:0;color:#d5e7f4;font-size:.8rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;text-wrap:balance}
body[data-shell-view="home"] .earth-stage{position:relative;z-index:3;min-height:calc(100vh - 130px);display:grid;place-items:center;overflow:visible}
body[data-shell-view="home"] .ambient-world{width:var(--duo-size);filter:drop-shadow(0 42px 110px rgba(0,0,0,.66)) drop-shadow(0 0 42px rgba(30,92,179,.10));transition:width .78s cubic-bezier(.2,.75,.2,1),filter .6s ease}
body[data-shell-view="home"] .ambient-world-mode{bottom:10%;opacity:.72;background:rgba(2,15,27,.46);border-color:rgba(89,166,236,.08)}
body[data-shell-view="home"] .ambient-world-open,
body[data-shell-view="home"] .living-world-label,
body[data-shell-view="home"] .earth-focus-card{display:none!important}
body[data-shell-view="home"] .earth-stage.has-query .ambient-world{filter:drop-shadow(0 44px 110px rgba(0,0,0,.7)) drop-shadow(0 0 55px rgba(45,139,215,.20))}
.home-world-scene{position:absolute;left:50%;bottom:5%;transform:translateX(-50%);z-index:9;width:min(620px,88%);text-align:center;padding:0 14px;pointer-events:none}.home-world-scene[hidden]{display:none}.home-world-scene small{display:block;color:#65b7da;font-size:.5rem;letter-spacing:.19em}.home-world-scene strong{display:block;margin-top:6px;color:#e8f5ff;font-size:.83rem;letter-spacing:.04em}.home-world-scene p{margin:6px auto 0;max-width:560px;color:#89a5ba;font-size:.65rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-world-scene span{display:block;margin-top:5px;color:#567790;font-size:.54rem}
.earth-stage.has-briefing-focus .home-world-scene{display:none}
.home-briefing-callout{position:absolute;z-index:12;display:grid;justify-items:center;gap:8px;transform:translate(-50%,calc(-100% - 10px));pointer-events:none;width:max-content;max-width:min(300px,74%)}
.home-briefing-callout[hidden]{display:none}
.home-briefing-popup,.home-briefing-pin,.home-briefing-actions a,.home-briefing-actions button{pointer-events:auto;cursor:pointer}
.home-briefing-pin{width:15px;height:15px;padding:0;border-radius:50%;background:#7ef3ea;border:2px solid #f4fffd;box-shadow:0 0 0 6px rgba(90,240,230,.16),0 0 18px rgba(110,255,240,.55);animation:norPulseRing 1.8s ease-out infinite}
.home-briefing-popup{padding:10px 12px 11px;border:1px solid rgba(120,214,242,.3);border-radius:13px;background:linear-gradient(160deg,rgba(5,32,52,.96),rgba(2,14,24,.94));box-shadow:0 18px 44px rgba(0,0,0,.48);text-align:left;min-width:176px;max-width:280px}
.home-briefing-popup small{display:block;color:#7ad4ef;font-size:.48rem;letter-spacing:.16em}
.home-briefing-popup strong{display:block;margin-top:5px;color:#eef8ff;font-size:.72rem;letter-spacing:.03em;line-height:1.35}
.home-briefing-popup p{margin:5px 0 0;color:#8eabc0;font-size:.6rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.home-briefing-callout.is-open #home-briefing-summary{-webkit-line-clamp:8}
.home-briefing-popup span{display:block;margin-top:6px;color:#5e7f97;font-size:.5rem;letter-spacing:.04em}
.home-briefing-actions{display:none;gap:8px;align-items:center;margin-top:8px;flex-wrap:wrap}
.home-briefing-callout.is-open .home-briefing-actions{display:flex}
.home-briefing-actions a,.home-briefing-actions button{appearance:none;border:1px solid rgba(118,198,230,.28);border-radius:999px;background:rgba(8,36,56,.7);color:#d7f4ff;font-size:.52rem;letter-spacing:.08em;padding:5px 9px;text-decoration:none}
.home-briefing-callout.is-open{max-width:min(340px,82%);z-index:14}
.home-briefing-callout.is-open .home-briefing-popup{max-width:320px}
.home-briefing-callout.is-open #home-briefing-assessment:not([hidden]){display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;color:#9ec4c0}
.ambient-query-object.briefing-pin,.ambient-event{pointer-events:auto;cursor:pointer}
/* The full voice console is a machine-room surface now. Core/command palette remain available on HOME. */
body:not([data-shell-view="agent"]) #agent-console{display:none!important}
body[data-shell-view]:not([data-shell-view="home"]) #command-deck{display:none!important}
body[data-shell-view="agent"] #agent-console{position:relative;left:auto;right:auto;bottom:auto;margin:34px auto 80px;transform:none;width:min(1040px,calc(100vw - 36px));display:grid!important}
body[data-shell-view="agent"] main{min-height:calc(100vh - 70px)}
/* Settings expose cost truth without turning HOME into telemetry. */
.settings-cost-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:3px 1px}.settings-cost-row span{display:grid;gap:2px}.settings-cost-row strong{font-size:1.2rem;color:#eff8ff;font-weight:560}.settings-cost-row small{font-size:.59rem;color:#6f8da8}.settings-cost-row>b{font-size:.55rem;letter-spacing:.12em;color:#77a7d2}.settings-cost-meter{height:3px;border-radius:999px;background:rgba(91,143,188,.16);overflow:hidden}.settings-cost-meter i{display:block;height:100%;width:0;background:linear-gradient(90deg,#1e5cb3,#6bc7dc);transition:width .3s ease}.settings-cost-note{color:#5f7c95;font-size:.57rem;line-height:1.45}
/* Query-driven observations: visible only while a requested WORLD scene is active. */
.ambient-query-object{pointer-events:none}.ambient-query-halo{fill:none;stroke:var(--event-color);stroke-width:1.1;opacity:.26}.ambient-query-dot{fill:var(--event-color);stroke:rgba(232,248,255,.86);stroke-width:.8;filter:url(#ambientGlow)}
@media(max-width:980px){body[data-shell-view="home"] #command-deck{grid-template-columns:1fr;grid-template-rows:minmax(220px,.55fr) minmax(380px,1.45fr);gap:0;padding-top:12px}.nor-core-stage{order:2}.earth-stage{order:1}body[data-shell-view="home"] .nor-core-stage{min-height:250px;margin-top:-68px}body[data-shell-view="home"] .nor-core{width:clamp(140px,27vw,190px);height:clamp(140px,27vw,190px)}body[data-shell-view="home"] .nor-core-meta{margin-top:24px}.nor-presence-caption{top:calc(50% + 115px)}body[data-shell-view="home"] .earth-stage{min-height:480px}body[data-shell-view="home"] .ambient-world{width:min(90vw,650px)}}
@media(max-width:620px){.topbar{background:linear-gradient(180deg,rgba(2,13,23,.96),rgba(2,13,23,.72));backdrop-filter:blur(18px)}body[data-shell-view="home"] #command-deck{min-height:calc(100svh - 110px);padding:0 10px 20px;grid-template-rows:minmax(360px,1.4fr) minmax(190px,.6fr)}body[data-shell-view="home"] .earth-stage{min-height:390px}body[data-shell-view="home"] .ambient-world{width:min(104vw,540px)}body[data-shell-view="home"] .nor-core-stage{min-height:190px;margin-top:-52px}body[data-shell-view="home"] .nor-core{width:138px;height:138px}body[data-shell-view="home"] .nor-core-meta{margin-top:18px}.presence-return-line{display:none}.nor-presence-caption{top:calc(50% + 92px);width:86vw}.home-world-scene{bottom:7%;width:94%}.home-world-scene p{-webkit-line-clamp:2}}
@media(prefers-reduced-motion:reduce){.settings-cost-meter i,.ambient-world{transition:none!important}}


/* NOR-ASSIST-0140D - production-wired bounded presence + same-page place navigation. */
body[data-shell-view="home"] #command-deck{transition:grid-template-columns .72s cubic-bezier(.2,.75,.2,1),gap .72s cubic-bezier(.2,.75,.2,1)}
body[data-shell-view="home"] .nor-core-stage,body[data-shell-view="home"] .earth-stage{transition:transform .72s cubic-bezier(.2,.75,.2,1),opacity .5s ease,min-height .72s ease}
body[data-shell-view="home"] .nor-core{transition:width .65s cubic-bezier(.2,.75,.2,1),height .65s cubic-bezier(.2,.75,.2,1),filter .45s ease,transform .45s ease}
body[data-shell-view="home"].nor-core-dominant #command-deck{grid-template-columns:minmax(390px,.88fr) minmax(500px,1.12fr)}
body[data-shell-view="home"].nor-core-dominant .nor-core{width:clamp(300px,25vw,410px);height:clamp(300px,25vw,410px);filter:drop-shadow(0 0 38px rgba(89,219,222,.18))}
body[data-shell-view="home"].nor-core-dominant .earth-stage{transform:scale(.9);opacity:.58}
body[data-shell-view="home"].nor-world-focus #command-deck{grid-template-columns:minmax(110px,var(--focus-core-track,.3fr)) minmax(560px,var(--focus-world-track,1.7fr));gap:clamp(6px,1vw,18px)}
body[data-shell-view="home"].nor-world-focus .nor-core-stage{transform:translateX(-3vw) scale(.78);opacity:.9}
body[data-shell-view="home"].nor-world-focus .nor-core{width:clamp(126px,11vw,176px);height:clamp(126px,11vw,176px)}
body[data-shell-view="home"].nor-world-focus .nor-core-meta{margin-top:25px}
body[data-shell-view="home"].nor-world-focus .earth-stage{transform:scale(1.06)}
body[data-shell-view="home"].nor-world-focus .ambient-world{width:var(--focus-world-size,min(78vw,900px))}
/* Three stages of opening: a Flensburg item stays intimate, a world item takes the whole stage. */
body[data-shell-view="home"].nor-world-focus.nor-world-regional{--focus-core-track:.34fr;--focus-world-track:1.66fr;--focus-world-size:min(72vw,860px)}
body[data-shell-view="home"].nor-world-focus.nor-world-national{--focus-core-track:.24fr;--focus-world-track:1.76fr;--focus-world-size:min(82vw,1010px)}
body[data-shell-view="home"].nor-world-focus.nor-world-international{--focus-core-track:.16fr;--focus-world-track:1.84fr;--focus-world-size:min(90vw,1180px)}
body[data-shell-view="home"].nor-world-focus.nor-world-international .earth-stage{transform:scale(1.1)}
.nor-core-field{position:absolute;inset:-34%;border-radius:50%;background:radial-gradient(circle,rgba(74,222,220,.1),rgba(30,92,179,.035) 45%,transparent 68%);opacity:.72;animation:norFieldBreath 5.6s ease-in-out infinite;pointer-events:none}
.nor-core-orbit{position:absolute;border-radius:50%;pointer-events:none;opacity:.55}
.nor-core-orbit.o1{inset:-30%;border:1px solid transparent;border-top-color:rgba(102,203,236,.34);border-right-color:rgba(58,132,194,.12);transform:rotate(22deg);animation:norOrbit 12s linear infinite}
.nor-core-orbit.o2{inset:-47%;border:1px solid transparent;border-bottom-color:rgba(107,218,212,.24);border-left-color:rgba(66,130,190,.12);transform:rotate(-18deg);animation:norOrbitReverse 18s linear infinite}
body[data-shell-view="home"] .nor-core .r4{inset:-31%;opacity:.16;border-style:dotted}
.nor-core-scan{position:absolute;inset:-12%;border-radius:50%;background:conic-gradient(from 12deg,transparent 0 76%,rgba(94,214,221,.18) 82%,transparent 89%);-webkit-mask:radial-gradient(circle,transparent 0 57%,#000 58% 60%,transparent 61%);mask:radial-gradient(circle,transparent 0 57%,#000 58% 60%,transparent 61%);animation:norOrbit 8.5s linear infinite;opacity:.55;pointer-events:none}
.nor-core-wave{position:absolute;display:flex;align-items:center;justify-content:center;gap:4px;width:46%;height:24%;opacity:0;transition:opacity .25s ease;pointer-events:none;overflow:hidden}.nor-core-wave i{display:block;width:2px;height:18%;border-radius:99px;background:#bffdf3;box-shadow:0 0 8px rgba(100,225,220,.48);animation:norWave .82s ease-in-out infinite alternate}.nor-core-wave i:nth-child(2){animation-delay:-.2s}.nor-core-wave i:nth-child(3){animation-delay:-.48s}.nor-core-wave i:nth-child(4){animation-delay:-.12s}.nor-core-wave i:nth-child(5){animation-delay:-.38s}.nor-core-wave i:nth-child(6){animation-delay:-.58s}.nor-core-wave i:nth-child(7){animation-delay:-.27s}
.nor-core[data-state="speaking"] .nor-core-wave,.nor-core[data-state="listening"] .nor-core-wave{opacity:.9}
.nor-core[data-state="speaking"] .nor-core-node{box-shadow:0 0 62px rgba(81,224,220,.5),0 0 120px rgba(30,92,179,.2),inset 0 0 26px rgba(255,255,255,.2)}
.nor-core[data-state="speaking"] .nor-core-orbit.o1,.nor-core[data-state="listening"] .nor-core-orbit.o1{animation-duration:5.4s;opacity:.88}.nor-core[data-state="speaking"] .nor-core-orbit.o2,.nor-core[data-state="listening"] .nor-core-orbit.o2{animation-duration:7.8s;opacity:.72}
.nor-core[data-state="thinking"] .nor-core-scan,.nor-core[data-state="retrieving"] .nor-core-scan{animation-duration:2.8s;opacity:.95}
.home-place-map{position:absolute;inset:6% 2% 5%;z-index:7;overflow:hidden;border-radius:50%;background:#020a11;box-shadow:0 40px 120px rgba(0,0,0,.72),0 0 70px rgba(30,92,179,.18);opacity:1;transform:scale(1);transition:opacity .55s ease,transform .7s cubic-bezier(.2,.75,.2,1)}.home-place-map[hidden]{display:none}.home-place-tiles{position:absolute;inset:0;overflow:hidden}.home-place-tiles img{position:absolute;width:256px;height:256px;object-fit:cover;pointer-events:none;user-select:none;filter:brightness(.52) contrast(1.2) saturate(.7) hue-rotate(2deg)}.home-place-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at center,transparent 18%,rgba(2,10,17,.1) 48%,rgba(1,7,12,.78) 84%,#01070c 100%),linear-gradient(180deg,rgba(0,18,31,.08),rgba(0,10,18,.3));box-shadow:inset 0 0 110px rgba(0,0,0,.48)}
.home-place-reticle{position:absolute;left:50%;top:50%;width:72px;height:72px;transform:translate(-50%,-50%);border:1px solid rgba(118,225,218,.5);border-radius:50%;box-shadow:0 0 30px rgba(81,218,215,.18);animation:placeLockPulse 2s ease-in-out infinite}.home-place-reticle:before,.home-place-reticle:after{content:"";position:absolute;background:rgba(138,234,226,.58)}.home-place-reticle:before{width:112px;height:1px;left:50%;top:50%;transform:translate(-50%,-50%)}.home-place-reticle:after{height:112px;width:1px;left:50%;top:50%;transform:translate(-50%,-50%)}.home-place-reticle i{position:absolute;inset:23px;border-radius:50%;background:radial-gradient(circle,#d7fff9 0 12%,#69ddd5 18%,rgba(36,115,166,.64) 42%,transparent 68%);box-shadow:0 0 20px rgba(88,226,220,.7)}
.home-place-label{position:absolute;left:50%;bottom:7%;transform:translateX(-50%);display:grid;justify-items:center;gap:4px;width:min(560px,80%);padding:9px 18px;background:linear-gradient(90deg,transparent,rgba(2,14,24,.74) 20%,rgba(2,14,24,.74) 80%,transparent);text-align:center}.home-place-label small{color:#6bbed9;font-size:.48rem;letter-spacing:.22em}.home-place-label strong{color:#eaf8ff;font-size:.86rem;letter-spacing:.04em}.home-place-label span{color:#6c8aa1;font-size:.55rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.home-place-attribution{position:absolute;right:9%;bottom:4%;color:#527086;font-size:.44rem;background:rgba(2,11,18,.55);padding:3px 5px;border-radius:4px}
.earth-stage.has-place-focus .ambient-world{opacity:.12;transform:scale(1.12);transition:opacity .5s ease,transform .7s ease}.earth-stage.has-place-focus .home-world-scene{z-index:9;bottom:2.5%}
@keyframes norFieldBreath{0%,100%{transform:scale(.92);opacity:.38}50%{transform:scale(1.08);opacity:.8}}@keyframes norOrbit{to{transform:rotate(382deg)}}@keyframes norOrbitReverse{to{transform:rotate(-378deg)}}@keyframes norWave{from{height:15%;opacity:.38}to{height:92%;opacity:1}}@keyframes norVoiceBar{0%,100%{transform:translateY(8%) scaleY(.48);opacity:.42}50%{transform:translateY(-8%) scaleY(1);opacity:.98}}@keyframes placeLockPulse{0%,100%{transform:translate(-50%,-50%) scale(.9);opacity:.66}50%{transform:translate(-50%,-50%) scale(1.06);opacity:1}}
@media(max-width:980px){body[data-shell-view="home"].nor-core-dominant #command-deck,body[data-shell-view="home"].nor-world-focus #command-deck{grid-template-columns:1fr;grid-template-rows:minmax(360px,1.45fr) minmax(180px,.55fr)}body[data-shell-view="home"].nor-world-focus .nor-core-stage{transform:scale(.72);margin-top:-78px}body[data-shell-view="home"].nor-world-focus .ambient-world{width:min(96vw,760px)}.home-place-map{inset:5% 2% 7%;border-radius:32%}}
@media(max-width:620px){body[data-shell-view="home"].nor-core-dominant .nor-core{width:190px;height:190px}body[data-shell-view="home"].nor-world-focus .nor-core{width:104px;height:104px}.home-place-map{inset:4% 0 8%;border-radius:22%}.home-place-label{bottom:9%;width:90%}}
.nor-core-ticks{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:50%}
.nor-core-ticks:before{content:"";position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(from 0deg,rgba(158,236,242,.5) 0 .7deg,transparent .7deg 8deg);-webkit-mask:radial-gradient(circle,transparent 61%,#000 62% 67%,transparent 68%);mask:radial-gradient(circle,transparent 61%,#000 62% 67%,transparent 68%);opacity:.42}
.nor-core-orbit.o3{inset:-61%;border:1px dashed rgba(92,196,222,.16);opacity:.4;animation:norOrbit 26s linear infinite}
.nor-core-arc{position:absolute;border-radius:50%;pointer-events:none;border:1.5px solid transparent}
.nor-core-arc.a1{inset:2%;border-top-color:rgba(132,255,244,.62);border-right-color:rgba(70,170,220,.2);animation:norOrbit 8.4s linear infinite}
.nor-core-arc.a2{inset:-14%;border-bottom-color:rgba(88,210,255,.4);border-left-color:rgba(50,140,210,.16);animation:norOrbitReverse 13s linear infinite}
.nor-core-arc.a3{inset:-26%;border-top-color:rgba(186,255,247,.28);animation:norOrbit 19s linear infinite}
.nor-core-pulse{position:absolute;inset:16%;border-radius:50%;border:1px solid rgba(124,236,228,.28);opacity:0;pointer-events:none}
.nor-core-hud{position:absolute;inset:0;pointer-events:none;opacity:.35}
.nor-core-hud b{position:absolute;width:11px;height:11px;border:1px solid rgba(168,245,240,.55)}
.nor-core-hud b:nth-child(1){top:11%;left:11%;border-right:0;border-bottom:0}
.nor-core-hud b:nth-child(2){top:11%;right:11%;border-left:0;border-bottom:0}
.nor-core-hud b:nth-child(3){bottom:11%;left:11%;border-right:0;border-top:0}
.nor-core-hud b:nth-child(4){bottom:11%;right:11%;border-left:0;border-top:0}
.nor-core-wave.nor-core-wave-circle{display:flex;align-items:center;justify-content:center;width:48%;height:26%;gap:clamp(2px,.55vw,5px);overflow:hidden;border-radius:14px;inset:37% 26%;padding:4px 7px;box-sizing:border-box;contain:layout paint}
.nor-core-wave-circle i{position:relative;left:auto;top:auto;flex:0 1 3px;width:clamp(1.5px,.2vw,3px);height:64%;max-height:100%;margin:0;border-radius:999px;transform-origin:50% 50%;animation-name:norVoiceBar;animation-duration:calc(.62s + var(--bar-delay,0s));animation-timing-function:ease-in-out;animation-direction:alternate}
.nor-core-wave-circle i:nth-child(1),.nor-core-wave-circle i:nth-child(5),.nor-core-wave-circle i:nth-child(9),.nor-core-wave-circle i:nth-child(13){--bar-delay:.08s}.nor-core-wave-circle i:nth-child(2),.nor-core-wave-circle i:nth-child(6),.nor-core-wave-circle i:nth-child(10),.nor-core-wave-circle i:nth-child(14){--bar-delay:.18s}.nor-core-wave-circle i:nth-child(3),.nor-core-wave-circle i:nth-child(7),.nor-core-wave-circle i:nth-child(11),.nor-core-wave-circle i:nth-child(15){--bar-delay:.28s}.nor-core-wave-circle i:nth-child(4),.nor-core-wave-circle i:nth-child(8),.nor-core-wave-circle i:nth-child(12),.nor-core-wave-circle i:nth-child(16){--bar-delay:.38s}
.nor-core[data-state="speaking"] .nor-core-field,.nor-core[data-state="listening"] .nor-core-field{opacity:1;animation-duration:2.8s}
.nor-core[data-state="speaking"] .nor-core-ticks:before{opacity:.9}
.nor-core[data-state="speaking"] .nor-core-hud,.nor-core[data-state="listening"] .nor-core-hud{opacity:1}
.nor-core[data-state="speaking"] .nor-core-pulse.p1{animation:norPulseRing 1.7s ease-out infinite}
.nor-core[data-state="speaking"] .nor-core-pulse.p2{animation:norPulseRing 1.7s ease-out .55s infinite}
.nor-core[data-state="speaking"] .nor-core-node{box-shadow:0 0 86px rgba(96,255,242,.58),0 0 170px rgba(36,140,220,.3),inset 0 0 34px rgba(255,255,255,.3)}
.nor-core[data-state="speaking"] .nor-core-scan{animation-duration:3.2s;opacity:1}
.nor-spotify{margin-top:18px;width:min(320px,86vw);display:grid;gap:8px;justify-items:center}.nor-spotify[hidden]{display:none}.nor-spotify-embed{width:100%;height:80px;border-radius:14px;overflow:hidden;background:rgba(2,12,22,.72);box-shadow:0 12px 40px rgba(0,0,0,.35),0 0 24px rgba(40,140,180,.12)}.nor-spotify-now{display:grid;justify-items:center;gap:2px;text-align:center}.nor-spotify-now small{color:#5fb7d6;font-size:.48rem;letter-spacing:.2em}.nor-spotify-now strong{color:#d7eef8;font-size:.68rem;font-weight:520;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.nor-spotify-unlocking .nor-spotify{position:fixed;z-index:21;left:50%;bottom:22px;transform:translateX(-50%);margin:0}
body[data-shell-view="home"].nor-world-focus .nor-spotify{transform:scale(.92);opacity:.88}
body.nor-arrival .topnav,
body.nor-arrival .signal-toggle{opacity:0;pointer-events:none;transition:opacity .7s ease}
body.nor-arrival .nor-core-stage,
body.nor-arrival .earth-stage{z-index:7}
body.nor-arrival .nor-core-field{opacity:1}
.earth-stage.has-briefing-focus .ambient-world{filter:drop-shadow(0 48px 130px rgba(0,0,0,.74)) drop-shadow(0 0 78px rgba(48,168,236,.3))}
.earth-stage.has-briefing-focus .ambient-event.selected .ambient-event-pulse{opacity:.95}
@keyframes norPulseRing{0%{transform:scale(.72);opacity:.55}100%{transform:scale(1.55);opacity:0}}
@media(prefers-reduced-motion:reduce){.nor-core-field,.nor-core-orbit,.nor-core-scan,.nor-core-wave i,.nor-core-arc,.nor-core-pulse,.home-place-reticle{animation:none!important}body[data-shell-view="home"] #command-deck,body[data-shell-view="home"] .nor-core,body[data-shell-view="home"] .nor-core-stage,body[data-shell-view="home"] .earth-stage{transition:none!important}}

@media(max-width:720px){.nor-core-wave.nor-core-wave-circle{width:56%;height:24%;inset:38% 22%;gap:2px;padding:3px 5px}.nor-core-wave-circle i{width:2px;max-width:2px}}

/* Phone / PWA: same NOR, one hand, no machine room. */
.nor-install{position:fixed;z-index:90;left:12px;right:12px;bottom:calc(14px + env(safe-area-inset-bottom,0px));display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid rgba(118,198,230,.28);border-radius:16px;background:rgba(4,22,36,.94);color:#d7eef8;box-shadow:0 16px 40px rgba(0,0,0,.4)}
.nor-install[hidden]{display:none}
.nor-install span{font-size:.78rem;line-height:1.35}
.nor-install button{appearance:none;border:0;border-radius:999px;padding:8px 12px;background:#1e5cb3;color:#fff;font-size:.68rem;letter-spacing:.06em}
@media(max-width:720px){
  html,body{min-height:100dvh}
  body{padding-bottom:env(safe-area-inset-bottom,0px)}
  .topbar{padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px;gap:8px}
  .topnav a:nth-child(n+4){display:none}
  .signal-toggle{display:none}
  .brand small{display:none}
  body[data-shell-view="home"] main{min-height:calc(100dvh - 58px)}
  body[data-shell-view="home"] #command-deck{min-height:calc(100dvh - 58px);padding:4px 8px calc(12px + env(safe-area-inset-bottom,0px));grid-template-rows:minmax(0,1.55fr) minmax(168px,.45fr);overflow:hidden}
  body[data-shell-view="home"] .earth-stage{min-height:0;overflow:hidden}
  body[data-shell-view="home"] .ambient-world{width:min(92vw,420px)}
  body[data-shell-view="home"] .nor-core-stage{min-height:168px;margin-top:-36px}
  body[data-shell-view="home"] .nor-core{width:124px;height:124px}
  body[data-shell-view="home"] .nor-core-meta{margin-top:10px;max-width:88vw}
  body[data-shell-view="home"] .nor-core-meta strong{font-size:.58rem}
  .nor-presence-caption{top:auto;bottom:8px;width:90vw}
  .home-briefing-callout{max-width:min(92vw,320px)}
  .home-briefing-popup,.home-briefing-pin,.home-briefing-actions a,.home-briefing-actions button{min-height:36px}
  .login{padding:calc(24px + env(safe-area-inset-top,0px)) 16px calc(24px + env(safe-area-inset-bottom,0px))}
  .login form{padding:26px 22px}
  .login input,.login select,.login button{font-size:16px;min-height:48px}
  body[data-shell-view="home"].nor-world-focus .nor-core-stage{transform:none;margin-top:-48px}
  body[data-shell-view="home"].nor-world-focus .nor-core{width:96px;height:96px}
  body[data-shell-view="home"].nor-world-focus .earth-stage{transform:none}
}
@media(display-mode:standalone){
  .topbar{padding-top:calc(14px + env(safe-area-inset-top,0px))}
  .nor-install{display:none!important}
}

