
:root{--bg:#101210;--panel:#191d18;--line:#30362d;--text:#f0f1e9;--muted:#a2ac99;--accent:#cfef79}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Georgia,'Times New Roman',serif}button,input,select,textarea,small,header,nav,.eyebrow,.badge,.metrics,.composer-title,.composer-footer,.muted,.section-title span,.workspace,.aside-bottom,.toast{font-family:'Segoe UI',sans-serif}button{cursor:pointer;border:1px solid var(--line);background:#242a21;color:var(--text);padding:12px 18px;border-radius:8px;font-size:14px}button:hover{border-color:var(--accent)}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--accent);color:#17200c;font-weight:600;border-color:var(--accent)}.hidden{display:none!important}.shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}aside{border-right:1px solid var(--line);padding:34px 22px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{font-family:'Segoe UI',sans-serif;font-size:32px;font-weight:800;letter-spacing:3px}.brand span{color:var(--accent);font-size:26px}.workspace{margin:30px 0 34px;font-size:12px;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:9px}.dot{width:7px;height:7px;background:var(--accent);border-radius:50%}nav{display:flex;flex-direction:column;gap:8px}nav button{text-align:left;border-color:transparent;background:transparent;color:var(--muted);font-size:13px;padding:14px 10px}nav button.active{background:#26321d;color:var(--accent);border-color:#42512f}.aside-bottom{margin-top:auto;font-size:10px;color:var(--muted);line-height:1.8}.aside-bottom strong{font-size:12px;font-weight:400}.aside-bottom button{margin-top:18px;background:transparent;padding:8px 0;border:0;font-size:12px;color:var(--muted)}main{min-width:0;padding:0 52px 60px}header{height:86px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;color:var(--muted)}header b{color:var(--text);font-weight:400}.badge{border:1px solid #4c5c31;background:#25301e;color:var(--accent);padding:8px 12px;border-radius:30px;letter-spacing:0;font-size:11px}.view{max-width:1200px;margin:0 auto;padding-top:38px}.intro{padding:8px 0 24px}.eyebrow{color:var(--accent);letter-spacing:2px;font-size:10px;margin:0 0 16px}h1{font-size:clamp(34px,4vw,58px);font-weight:400;line-height:1.08;letter-spacing:-1.5px;margin:0 0 18px}h2{font-size:22px;font-weight:400;margin:0 0 18px}p{line-height:1.65;color:var(--muted);font-family:'Segoe UI',sans-serif;font-size:14px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:10px;margin:6px 0 28px}.metrics div{padding:20px 22px;border-right:1px solid var(--line)}.metrics div:last-child{border:0}.metrics small{font-size:9px;letter-spacing:1px;color:var(--muted)}.metrics strong{display:block;font-size:30px;font-weight:400;margin-top:10px}.composer,.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:22px}.composer-title{display:flex;align-items:center;gap:12px;font-size:13px}.composer-title span:last-child{color:var(--muted);font-size:11px}.orb{display:grid;place-items:center;background:var(--accent);color:#182010;font-size:14px;font-weight:700;width:32px;height:32px;border-radius:50%}textarea,input,select{border:1px solid var(--line);color:var(--text);background:#121610;padding:12px;border-radius:7px;font-size:14px;width:100%;outline:none}textarea:focus,input:focus,select:focus{border-color:#799445}textarea{resize:vertical;min-height:100px;line-height:1.5}.composer textarea{border:0;background:transparent;margin:18px 0 8px;min-height:110px;padding:4px 0}.composer-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px;gap:12px}.composer-footer select{width:auto;font-size:12px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:32px 0 18px}.section-title h2{margin:0}.section-title span{font-size:11px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.agent-card,.skill-card,.run-card,.memory-card,.event{padding:22px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.agent-card h2{margin:16px 0 4px}.agent-card .initial{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-family:'Segoe UI',sans-serif;font-size:20px;color:#151914}.agent-card small{color:var(--muted);font-size:11px}.agent-card p{font-size:12px;min-height:60px}.skill-card h2{font-size:18px;text-transform:capitalize;margin-bottom:12px}.skill-card button{font-size:12px}.skill-card small{font-size:10px;color:var(--muted)}.run-card{margin-bottom:14px}.run-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.run-top h2{font-size:19px;margin:0;overflow-wrap:anywhere}.state{font:10px 'Segoe UI',sans-serif;text-transform:uppercase;letter-spacing:1px;color:var(--accent)}.steps{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.step{font:11px 'Segoe UI',sans-serif;color:var(--muted);border:1px solid var(--line);border-radius:30px;padding:7px 10px}.step.done{color:var(--accent)}pre{font:12px/1.7 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;color:#c8d1c1}details summary{cursor:pointer;color:var(--muted);font:12px 'Segoe UI',sans-serif;margin:12px 0}.downloads{display:flex;flex-wrap:wrap;gap:12px}.downloads a{font:12px 'Segoe UI',sans-serif;color:var(--accent)}label{font:12px 'Segoe UI',sans-serif;display:block;color:var(--muted);margin-bottom:16px}label input,label textarea{margin-top:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.event{font:12px 'Segoe UI',sans-serif;margin-bottom:10px;display:flex;justify-content:space-between}.memory-card{margin-bottom:12px}.toast{position:fixed;bottom:24px;right:24px;max-width:440px;background:var(--accent);color:#17200c;padding:18px 24px;border-radius:9px;box-shadow:0 6px 30px #0006;font-size:13px}.auth{max-width:520px;margin:7vh auto;padding:40px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.auth .brand{margin-bottom:34px}.auth h1{font-size:40px}.auth button{width:100%}#skill-search{max-width:440px;margin-top:10px}@media(max-width:1000px){main{padding:0 24px 40px}.shell{grid-template-columns:210px minmax(0,1fr)}.grid{grid-template-columns:1fr 1fr}.metrics div{padding:16px 12px}}@media(max-width:700px){.shell{display:block}aside{height:auto;position:static;padding:18px;border-right:0;border-bottom:1px solid var(--line)}aside .brand{font-size:24px}.workspace,.aside-bottom{display:none}nav{flex-direction:row;overflow:auto;margin-top:16px}nav button{white-space:nowrap;font-size:11px;padding:10px}main{padding:0 18px 30px}header{height:64px}.view{padding-top:28px}.metrics{grid-template-columns:1fr 1fr}.metrics div{border-bottom:1px solid var(--line)}.grid,.form-grid{grid-template-columns:1fr}.composer{padding:18px}.composer-title span:last-child{display:none}.composer-footer{align-items:stretch;flex-direction:column}.composer-footer select{width:100%}.section-title span{display:none}.run-top{align-items:start}.auth{margin:30px 16px;padding:24px}.event{gap:12px;flex-direction:column}}


.voice-dialog{max-width:620px;width:90%;background:#172017;color:#f5f5e9;border:1px solid #77815e;border-radius:24px;padding:32px}.voice-dialog::backdrop{background:#000a}.voice-orb{text-align:center;font-size:64px;padding:30px}.voice-dialog button{margin:12px 5px}.voice-dialog-status{min-height:48px}
/* NEXO Motion — preto, vermelho, geometria e movimento */
:root{--bg:#f4f3ef;--panel:#fff;--line:#dedcd6;--text:#171719;--muted:#737377;--accent:#e33439}body{font-family:Inter,'Segoe UI',Arial,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{border-radius:6px;background:transparent;color:var(--text);font-size:13px;transition:background .2s,border-color .2s,box-shadow .2s,translate .2s}button:hover{background:#e3343909;translate:0 -2px}button:focus-visible,a:focus-visible{outline:3px solid #e3343980;outline-offset:4px}.primary{background:var(--accent);color:#fff;border-color:var(--accent);padding:14px 21px;box-shadow:0 5px 20px #e3343920}.primary:hover{background:#c52329;border-color:#c52329}h1,h2,h3{font-family:Inter,'Segoe UI',Arial,sans-serif;letter-spacing:-.045em}h1{font-weight:650}em{font-style:normal;color:var(--accent)}.shell{grid-template-columns:224px minmax(0,1fr)}aside{background:#faf9f6;padding:28px 18px;border-color:var(--line)}.brand{font-size:28px;letter-spacing:-2px;font-weight:900}.brand span{font-size:23px;display:inline-block}nav button{padding:15px 13px;font-weight:500;letter-spacing:-.2px}nav button.active{background:#e3343910;color:#b71e24;border-color:#e3343930}.workspace{background:white;letter-spacing:.02em}.dot{box-shadow:0 0 0 4px #e3343910}main{padding:0 42px 70px}header{gap:14px;height:86px}header #voice-toggle{font-size:11px;margin-left:auto;padding:11px 14px}.badge{background:transparent;border-color:var(--line);color:var(--muted);font-size:9px;white-space:nowrap}.view{padding-top:38px}.eyebrow{color:var(--accent);font:10px/1.5 Consolas,monospace;letter-spacing:2px}.hero-layout{display:grid;grid-template-columns:1fr 1.02fr;gap:18px;align-items:center;min-height:485px}.intro{padding:0}.intro h1{font-size:clamp(38px,4vw,65px);line-height:1.08;margin:25px 0;letter-spacing:-3px}.intro>p:last-of-type{font-size:15px;line-height:1.8;color:var(--muted);max-width:360px}.hero-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:28px}.hero-actions span{font-size:10px;color:var(--muted)}.nexo-stage{position:relative;min-height:460px;aspect-ratio:1;overflow:hidden;--energy:0;--pointer-x:0px;--pointer-y:0px;isolation:isolate}.stage-caption{position:absolute;top:15px;left:20px;font:9px Consolas,monospace;letter-spacing:2px;color:var(--muted)}.stage-grid{position:absolute;inset:0;background-image:radial-gradient(#8a89893a 1px,transparent 1px);background-size:22px 22px;mask-image:radial-gradient(ellipse,#000 45%,transparent 72%)}.connection-map{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#e3343935;stroke-width:1;transform:rotate(var(--scroll-turn,0deg));transition:transform .25s linear}.connection-map path{stroke-dasharray:3 5;animation:flow 9s linear infinite}.connection-map circle{stroke:#19191910;stroke-dasharray:2 8}.nexo-core{position:absolute;top:50%;left:50%;translate:-50% -50%!important;width:116px;height:116px;border-radius:50%;border:1px solid #e3343970;background:var(--bg);display:grid;place-content:center;color:var(--accent);box-shadow:0 0 50px #e3343915;transform:translate(var(--pointer-x),var(--pointer-y)) scale(calc(1 + var(--energy)*.12));z-index:2}.nexo-core:hover{background:#fff}.nexo-emblem{width:54px;margin:auto}.nexo-core b{font-size:10px;letter-spacing:3px;margin-top:2px}.core-ring{position:absolute;inset:-18px;border:1px solid #e3343930;border-radius:50%;border-top-color:var(--accent);animation:orbit 15s linear infinite}.core-ring:after{content:'';position:absolute;inset:-12px;border:1px solid #e3343918;border-radius:50%}.satellite{position:absolute;left:var(--x);top:var(--y);translate:-50% -50%!important;display:grid;justify-items:center;border:0;padding:8px;min-width:90px;color:var(--text);z-index:3;background:var(--bg)}.satellite svg{width:42px;height:46px;transition:transform .4s,color .3s}.satellite:hover svg{transform:rotate(12deg) scale(1.12);color:var(--accent)}.satellite span{font:10px Consolas,monospace;letter-spacing:2px;margin:7px 0 3px}.satellite small{font:8px 'Segoe UI',sans-serif;color:var(--muted)}.satellite.working{color:var(--accent)}.satellite.working svg{animation:working 1.5s ease-in-out infinite}.satellite.working small{color:var(--accent)}#stage-voice-state{position:absolute;top:66%;left:50%;translate:-50% 0;font:8px Consolas,monospace;letter-spacing:1.5px;white-space:nowrap;color:var(--accent)}#stage-work-status{position:absolute;bottom:9px;left:50%;translate:-50% 0;white-space:nowrap;font:9px Consolas,monospace;color:var(--muted)}.metrics{background:transparent;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;margin:18px 0 34px}.metrics div{padding:22px}.metrics strong{font:500 32px 'Segoe UI',sans-serif;letter-spacing:-1px;color:var(--text)}.metrics small{font:9px Consolas,monospace;letter-spacing:1px}.composer{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 50px #15151504;padding:25px}.composer textarea{background:transparent;border:0!important;font-size:19px;min-height:115px;color:var(--text);padding:16px 0}.orb{background:#e334390c;color:var(--accent);border:1px solid #e3343940}.composer-footer{border-top:1px solid var(--line);padding-top:18px}.composer-title b{letter-spacing:1px;font-size:12px}.composer-title span:last-child{font-size:10px}.quick-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:24px 0 40px}.quick-actions>span{font:8px Consolas,monospace;letter-spacing:1px;margin-right:12px;color:var(--muted)}.quick-actions button{font-size:10px;padding:9px 12px;border-radius:30px}.panel,.agent-card,.skill-card,.run-card,.memory-card,.event{background:#fff;border-radius:12px;border-color:var(--line);box-shadow:none}.panel h2{font-size:24px}.panel p{color:var(--muted);font-size:13px;line-height:1.8}input,textarea,select{background:#faf9f7;color:var(--text);border-color:var(--line);border-radius:6px}input:focus,textarea:focus,select:focus{outline:2px solid #e3343930;border-color:var(--accent)}input[type=checkbox]{width:17px;height:17px;accent-color:var(--accent);margin-right:9px;vertical-align:middle}label{font-size:12px;color:#55555a}label:has(input[type=checkbox]){display:flex;align-items:center;gap:9px}pre{color:#45454b}.grid{gap:18px}.agent-card{position:relative;overflow:hidden;transition:box-shadow .3s,translate .3s;padding:26px;background:linear-gradient(145deg,#fff 65%,#e3343905)}.agent-card:hover{translate:0 -5px;box-shadow:0 16px 32px #00000008}.agent-card h2{font-size:29px;letter-spacing:-1px}.agent-card .initial.agent-emblem{width:74px;height:74px;margin-top:25px;color:var(--accent);border-radius:0}.identity-label{font:9px Consolas,monospace;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted)}.agent-card p{min-height:55px;line-height:1.8}.agent-explore{border:0;border-top:1px solid var(--line);width:100%;text-align:left;padding:16px 0 0;margin-top:18px;font-size:11px;color:var(--accent)}.step.done{color:#a62026}.step.running{border-color:var(--accent);color:var(--accent);background:#e3343908}.step.running:before{content:'●';margin-right:6px;animation:working 1s infinite}.state{color:#b72128}.downloads a{color:#b72128}.toast{background:#19191b;color:#fff;border-left:3px solid var(--accent);font-size:13px;z-index:20;max-width:min(440px,calc(100vw - 32px))}.auth{background:#fff;box-shadow:0 20px 100px #00000006}.auth h1{font-size:40px;letter-spacing:-2px}.voice-dialog{background:#faf9f6;color:#19191b;border-color:var(--line);padding:40px;max-width:570px}.voice-dialog h2{font-size:30px;text-align:center}.voice-dialog p{font-size:12px;line-height:1.8;color:var(--muted);text-align:center}.voice-orb{position:relative;width:180px;margin:25px auto 40px;padding:30px;border:1px solid #e3343940;border-radius:50%;color:var(--accent);background:radial-gradient(circle,#e3343915,transparent 70%)}.voice-orb svg{width:100px;height:100px;animation:working 3s ease-in-out infinite}.voice-wave{display:flex;gap:3px;align-items:center;justify-content:center;height:35px;position:absolute;left:0;right:0;bottom:-45px}.voice-wave i{width:3px;height:32px;background:var(--accent);border-radius:2px;transform:scaleY(.1);transition:transform .06s}.voice-dialog button{font-size:12px}.voice-close{float:right}body[data-voice-phase=listening] .core-ring,body[data-voice-phase=speaking] .core-ring{animation-duration:3s}body[data-voice-phase=speaking] .nexo-core{background:#e3343918}#scroll-progress{position:fixed;left:0;top:0;right:0;height:3px;background:var(--accent);transform-origin:left;transform:scaleX(0);z-index:100}#agent-inspector{position:relative;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:18px;width:min(520px,92vw);padding:40px}#agent-inspector::backdrop{background:#16161680;backdrop-filter:blur(5px)}.inspector-close{position:absolute;right:16px;top:14px;border:0;font-size:24px}.inspector-symbol{color:var(--accent);width:90px;margin-bottom:24px}#agent-inspector h2{font-size:44px;margin:10px 0}.inspector-description{font-size:14px;line-height:1.8;color:var(--muted)}.inspector-skills{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0 30px}.inspector-skills span{border:1px solid var(--line);border-radius:20px;padding:6px 9px;font-size:10px}#human-history:empty{display:none}#human-history p{padding:15px 20px;background:var(--bg);border-radius:10px;color:var(--text);white-space:pre-wrap}#human-history p:nth-child(even){border-left:2px solid var(--accent);background:#e3343905}@keyframes orbit{to{rotate:360deg}}@keyframes flow{to{stroke-dashoffset:-160}}@keyframes working{50%{opacity:.6;scale:.95}}@media(min-width:1500px){main{max-width:1420px;width:100%;margin:auto}.intro h1{font-size:72px}.nexo-stage{max-height:560px}}@media(max-width:1150px){main{padding:0 24px 50px}.shell{grid-template-columns:190px 1fr}.intro h1{font-size:43px;letter-spacing:-2px}.nexo-stage{min-height:350px}.hero-layout{min-height:390px}header>span:first-child{font-size:8px}.badge{max-width:160px;overflow:hidden;text-overflow:ellipsis}.grid{grid-template-columns:1fr 1fr}}@media(max-width:800px){.shell{display:block}aside{position:static;height:auto;padding:20px}.workspace,.aside-bottom{display:none}nav{flex-direction:row;overflow:auto;margin-top:16px}nav button{white-space:nowrap;font-size:11px;padding:10px}main{padding:0 20px 40px}header{height:auto;min-height:75px;flex-wrap:wrap;padding:15px 0}.hero-layout{grid-template-columns:1fr}.intro h1{font-size:48px}.intro>p:last-of-type{max-width:480px}.nexo-stage{max-width:450px;width:100%;min-height:350px;margin:0 auto}.hero-actions{margin-top:22px}.metrics{grid-template-columns:1fr 1fr}.metrics>div{padding:18px}.grid,.form-grid{grid-template-columns:1fr 1fr}.badge{display:none}.view{padding-top:26px}.quick-actions>span{width:100%}.composer textarea{font-size:16px}}@media(max-width:480px){.grid,.form-grid{grid-template-columns:1fr}.intro h1{font-size:43px}.nexo-stage{min-height:320px}.satellite{min-width:70px}.satellite svg{width:35px}.nexo-core{width:90px;height:90px}.nexo-emblem{width:42px}#stage-voice-state{top:68%;font-size:7px}.composer-footer{flex-direction:column}.composer-footer select{width:100%}.voice-dialog{padding:22px}.voice-dialog button{margin:6px 0}#agent-inspector{padding:30px}.event{flex-direction:column}.auth{margin:24px 16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.nexo-core{transform:none!important}.connection-map{transform:none!important}}
/* NEXO Reactor — direção grafite / coral luminoso */
:root{--bg:#222221;--panel:#292928;--line:#3a3a39;--text:#eeeae7;--muted:#a39f9c;--accent:#ff4548}body{background:#222221;color:var(--text)}aside{background:#1d1d1d;border-right-color:#343432}.brand{color:#f4f0ee}.workspace{background:#272726;border-color:#3c3a39;color:#ddd8d4}.dot{box-shadow:0 0 10px #ff4548,0 0 0 4px #ff454815}nav button.active{background:#ff454810;color:#ff6669;border-color:#ff454830}nav button:hover{color:#ff6669;background:#ff454807}.primary{background:#ff4548;border-color:#ff4548;color:#181819;box-shadow:0 0 30px #ff454819;font-weight:650}.primary:hover{background:#ff6062;border-color:#ff686b;box-shadow:0 0 35px #ff454835}.badge{color:#bdb7b2;border-color:#42413e;background:#282827}header{border-color:#383734}.eyebrow{color:#ff5558}.hero-layout{grid-template-columns:.88fr 1.12fr;min-height:590px;gap:15px}.intro h1{font-size:clamp(42px,4.1vw,67px);letter-spacing:-3px;color:#f3efeb}.intro h1 em{color:#ff484b}.intro>p:last-of-type{color:#aaa5a1}.hero-actions span{color:#a29c97}.nexo-stage{min-height:560px;max-height:640px;overflow:visible;--energy:0;background:radial-gradient(ellipse at center,#ff45480b,transparent 67%)}.stage-caption{color:#77736f;font-size:8px;top:4px}.stage-grid{opacity:.25;background-image:radial-gradient(#ff454885 1px,transparent 1px);background-size:25px 25px;mask-image:radial-gradient(ellipse,#000 10%,transparent 68%)}.reactor-canvas{position:absolute;width:100%;height:100%;inset:0;pointer-events:none}.connection-map{opacity:.32;scale:.95}.connection-map path{stroke:#ff454860;stroke-dasharray:1 7;animation-duration:4s}.connection-map circle{stroke:transparent}.nexo-core{width:100px;height:100px;border-radius:23px;background:#ff4548;border:0;color:#222221;box-shadow:0 0 65px #ff454815,0 0 130px #ff454810;transform:translate(var(--pointer-x),var(--pointer-y)) rotate(calc(var(--energy)*8deg)) scale(calc(1 + var(--energy)*.18));transition:transform .1s,box-shadow .25s}.nexo-core:hover{background:#ff595b;box-shadow:0 0 70px #ff454840}.nexo-emblem{width:52px}.nexo-core b{font-size:9px;letter-spacing:3px}.core-ring{display:none}.satellite{background:#222221eb;border:1px solid #49413d;border-radius:13px;padding:12px;min-width:82px;box-shadow:0 5px 25px #0002;backdrop-filter:blur(8px);transition:background .3s,box-shadow .3s,border-color .3s,transform .3s}.satellite svg{width:34px;height:38px;color:#cbc2bb}.satellite span{color:#e2d9d3;letter-spacing:2px;font-size:9px}.satellite small{font-size:7px;color:#968a82}.satellite:hover{background:#2a2525;border-color:#ff4548;box-shadow:0 0 25px #ff454825}.satellite:hover svg{color:#ff4548;transform:rotate(18deg) scale(1.2)}.satellite.working{border-color:#ff4548;box-shadow:0 0 35px #ff454825}.satellite.working svg{color:#ff4548}#stage-voice-state{top:63%;color:#ff696b;font-size:8px;letter-spacing:1.6px;background:#222221b0;padding:7px 10px;border-radius:20px}#stage-work-status{bottom:13px;color:#79736f;letter-spacing:1px;font-size:8px}.nexo-stage:after{content:'';position:absolute;bottom:-8px;left:20%;right:20%;height:24px;border:1px solid #383532;border-radius:9px;background:repeating-linear-gradient(90deg,#9d948438 0 1px,transparent 1px 4px);background-clip:content-box;padding:8px;pointer-events:none}.nexo-stage:before{content:'';position:absolute;bottom:-3px;left:calc(24% + var(--energy)*45%);height:14px;width:3px;background:#ff4548;border-radius:4px;z-index:1;box-shadow:0 0 12px #ff4548;transition:left .1s}.metrics{border-color:#3b3733}.metrics strong{color:#f2ece6}.metrics small{color:#a59b92}.metrics div{border-color:#3b3733}.composer{background:linear-gradient(125deg,#2c2b2a,#252525);border-color:#49403b;box-shadow:0 18px 65px #00000015}.composer-title b{color:#f2e8e1}.composer-title span:last-child{color:#988c84}.composer textarea{color:#eee5df}.composer-footer{border-color:#403a36}.orb{color:#ff5558;border-color:#ff454844;background:#ff454809}.quick-actions button{border-color:#4d4039;color:#c8b9ae;background:#272524}.quick-actions button:hover{color:#ff6467;border-color:#ff4548}.panel,.agent-card,.skill-card,.run-card,.memory-card,.event{background:#292827;border-color:#413a35;color:#e8ded6}.panel h2,.section-title h2{color:#eae2dc}.panel p{color:#b4a69c}input,textarea,select{background:#212120;color:#eee5dd;border-color:#4b4039}input::placeholder,textarea::placeholder{color:#92857b}label{color:#b8a99c}.agent-card{background:radial-gradient(ellipse at top right,#ff45480c,transparent 65%),#292827;border-color:#443b35;isolation:isolate}.agent-card:after{content:'';position:absolute;width:110px;height:110px;right:-40px;top:-40px;border:1px solid #ff454822;border-radius:50%;pointer-events:none;transition:scale .5s,rotate .5s}.agent-card:hover{border-color:#ff454866;box-shadow:0 12px 45px #0002,0 0 30px #ff454808}.agent-card:hover:after{scale:1.7;rotate:60deg}.agent-card .initial.agent-emblem{color:#ff5659;width:78px;height:78px;filter:drop-shadow(0 0 12px #ff45481b)}.agent-card:hover .agent-emblem svg{animation:agent-spin 6s linear infinite}.identity-label{color:#ae8a78}.agent-card small{color:#a69387}.agent-card p{color:#b7a79c}.agent-explore{border-top-color:#473a32;color:#ff6c6f}.skill-card small{color:#aa9283}.skill-card button{color:#d8b5a1;border-color:#514036}.step{border-color:#4a3b31;color:#a99180}.step.done{color:#d3b59f;border-color:#705040}.step.running{color:#ff6063;border-color:#ff4548;background:#ff45480c}.state{color:#ff6e70}pre{color:#d3bdab}.downloads a{color:#ff7b7e}.auth{background:#292726;border-color:#493d35;box-shadow:0 30px 130px #0003}.toast{background:#2c2523;color:#e9d1c0;border-left-color:#ff4548;box-shadow:0 12px 50px #0005}.voice-dialog{background:radial-gradient(ellipse at 50% 42%,#ff45480a,transparent 55%),#232322;color:#eee5de;border-color:#514037;box-shadow:0 0 100px #ff454812}.voice-dialog h2{color:#ff5d60}.voice-dialog p{color:#b0a398}.voice-orb{background:#242221;color:#ff4548;border:1px solid #ff454833;box-shadow:0 0 60px #ff454813}.voice-orb:before,.voice-orb:after{content:'';position:absolute;inset:-16px;border:2px solid #ff454820;border-top-color:#ff4548;border-radius:50%;animation:orbit 9s linear infinite;pointer-events:none}.voice-orb:after{inset:-29px;border-width:1px;border-color:#74665438;border-bottom-color:#cd9f75;animation:orbit 16s linear reverse infinite}.voice-wave i{background:#ff4548;box-shadow:0 0 5px #ff454866}.voice-close{color:#c8b39f;border-color:#614c3a}.voice-mute{color:#ff777a;border-color:#ff454844}body[data-voice-phase=speaking] .nexo-core{background:#ff595b;box-shadow:0 0 75px #ff454835}#agent-inspector{background:#262422;border-color:#665040;color:#e9ded4;box-shadow:0 0 80px #0006}.inspector-symbol{filter:drop-shadow(0 0 15px #ff454833)}.inspector-description{color:#bdab9c}.inspector-skills span{border-color:#5d4838;color:#c8aa91}#human-history p{background:#222120;color:#dcc8b8}#human-history p:nth-child(even){border-left-color:#ff4548;background:#ff454805}#scroll-progress{box-shadow:0 0 10px #ff4548}.event{color:#bea48f}.muted{color:#aa9b8e}.connection-map{transition:transform .3s,opacity .3s}@keyframes agent-spin{to{transform:rotate(360deg)}}@media(min-width:1500px){.nexo-stage{max-height:680px;min-height:580px}}@media(max-width:1150px){.hero-layout{min-height:500px}.nexo-stage{min-height:460px}.intro h1{font-size:45px}}@media(max-width:800px){.hero-layout{grid-template-columns:1fr}.nexo-stage{max-width:510px;min-height:460px;margin:18px auto 45px}.intro h1{font-size:52px}.intro{padding-top:14px}.hero-actions{margin-bottom:5px}}@media(max-width:480px){.intro h1{font-size:43px}.nexo-stage{min-height:340px;margin:12px auto 45px}.satellite{min-width:60px;padding:8px 7px;border-radius:10px}.satellite svg{width:26px;height:30px}.satellite small{display:none}.satellite span{font-size:8px;letter-spacing:1px}.nexo-core{width:75px;height:75px;border-radius:18px}.nexo-emblem{width:38px}.nexo-core b{font-size:7px}#stage-voice-state{font-size:6px;top:64%}.stage-caption{font-size:7px;letter-spacing:1px}.voice-dialog{padding:24px}header #voice-toggle{font-size:10px}}@media(prefers-reduced-motion:reduce){.agent-card:hover .agent-emblem svg{animation:none}.nexo-stage:before{transition:none}.nexo-core{transform:none!important}}
#stage-work-status{bottom:32px}.satellite[data-agent=maia] svg{animation:orbit 24s linear infinite}.satellite[data-agent=atlas] svg{animation:atlas-depth 10s ease-in-out infinite}.satellite[data-agent=iris] svg{animation:iris-breathe 5s ease-in-out infinite}.satellite[data-agent=elo] svg{animation:elo-swing 8s ease-in-out infinite}.satellite[data-agent=prisma] svg{animation:prisma-float 6s ease-in-out infinite}.satellite:focus-visible svg{animation-play-state:paused}.satellite svg{transform-origin:center}@keyframes atlas-depth{50%{transform:rotateY(45deg) rotate(-8deg)}}@keyframes iris-breathe{50%{transform:scale(.9);color:#ff6265}}@keyframes elo-swing{50%{transform:rotate(15deg)}}@keyframes prisma-float{50%{transform:translateY(-4px) rotate(8deg)}}@media(prefers-reduced-motion:reduce){.satellite svg{animation:none!important}}

/* Lifa: modular intelligence. No decorative slider. */
.nexo-stage:after,.nexo-stage:before{display:none!important}.connection-map,.core-ring,.stage-grid{display:none!important}.nexo-core{background:transparent!important;box-shadow:none!important;border:0!important;width:42px;height:42px;top:50%;left:50%;opacity:0;z-index:4}.nexo-core:focus-visible{opacity:1;outline:2px solid #ff4548}.reactor-canvas{position:absolute;inset:0;width:100%;height:100%}.satellite{background:#242322b0!important}.brand{letter-spacing:-2px}.brand span{font-size:.55em;color:#ff4548}#auth.auth{width:100%;max-width:none;margin:0;min-height:165vh;border:0;border-radius:0;padding:6vw;display:grid;grid-template-columns:1.25fr 1fr;align-items:start;gap:6vw;background:#222221}.login-visual{position:sticky;top:35px}.login-visual canvas{width:100%;height:min(52vw,470px);display:block}.login-visual h2{font-size:clamp(36px,4.2vw,66px);line-height:1.05;letter-spacing:-2px;margin:0 0 20px}.login-visual h2 em{color:#ff4548;font-style:normal}.login-visual p{color:#b4a69c;line-height:1.8}.assembly-hint{font-size:10px;letter-spacing:2px;color:#ff6669}.login-form{position:sticky;top:80px;background:#292827;border:1px solid #493d35;border-radius:24px;padding:clamp(24px,3vw,48px);margin-top:45px}.login-form h1{font-size:clamp(30px,3vw,46px)}.login-form .brand{font-size:42px}#auth.hidden{display:none!important}@media(max-width:800px){#auth.auth{grid-template-columns:1fr;min-height:150vh;padding:24px;gap:20px}.login-visual{position:relative;top:0}.login-visual canvas{height:330px}.login-form{position:relative;top:0;margin-top:0}.login-visual h2{font-size:42px}.assembly-hint{display:block;margin:15px 0}}@media(prefers-reduced-motion:reduce){.satellite{animation:none!important}}
@media(max-width:480px){main{min-width:0;padding:20px 14px}.hero-layout,.intro,.nexo-stage{min-width:0;width:100%}.intro h1{font-size:clamp(28px,9vw,43px);overflow-wrap:break-word}.nexo-stage{min-height:300px}.satellite{min-width:44px;padding:5px}.satellite span{font-size:7px}.hero-actions{flex-wrap:wrap}.metrics{grid-template-columns:repeat(2,1fr)}header{flex-wrap:wrap;gap:10px}.login-visual canvas{height:280px}.composer-title{flex-wrap:wrap}.orb{font-size:0}.orb:after{content:"L";font-size:16px}}
nav #logout{color:#ff6a6d;border:1px solid #ff454838;margin-top:12px;background:#292322}nav #logout:hover{background:#ff454818;border-color:#ff4548}@media(max-width:800px){nav #logout{position:sticky;right:0;flex-shrink:0;margin-top:0;background:#292322;box-shadow:-8px 0 14px #222221;z-index:2}}

/* Mechanical assembly: agents are the six physical subsystems. */
.nexo-stage .satellite{position:absolute;top:auto!important;bottom:8px!important;left:calc(6% + var(--agent-slot)*18%)!important;transform:none!important;animation:none!important;background:transparent!important;border:0;box-shadow:none;padding:4px;min-width:0;width:16%;border-radius:5px}.satellite[data-agent=maia]{--agent-slot:0}.satellite[data-agent=atlas]{--agent-slot:1}.satellite[data-agent=iris]{--agent-slot:2}.satellite[data-agent=elo]{--agent-slot:3}.satellite[data-agent=prisma]{--agent-slot:4}.nexo-stage .satellite svg{width:22px;height:24px}.nexo-stage .satellite small{display:none}.nexo-stage .satellite span{font-size:8px}.nexo-stage .satellite:hover{background:#ff454810!important}.nexo-stage #stage-voice-state{top:auto;bottom:65px}.nexo-stage #stage-work-status{bottom:48px;font-size:8px}.nexo-stage{margin-bottom:24px;min-height:500px}.login-visual canvas{height:min(48vw,560px)}#auth.auth{min-height:245vh}.login-visual{top:18px}.login-visual h2{font-size:clamp(32px,3vw,48px)}.login-visual p{font-size:12px}.assembly-hint{letter-spacing:1.5px}@media(max-width:800px){#auth.auth{display:block;min-height:220vh}.login-visual{position:sticky;top:5px;padding-bottom:10px;background:#222221;z-index:1}.login-visual canvas{height:350px}.login-visual h2{font-size:32px}.login-form{margin-top:40px;z-index:2}.nexo-stage{min-height:420px}}@media(max-width:480px){.login-visual canvas{height:300px}.login-visual h2{font-size:28px}.nexo-stage{min-height:350px}}
@media(max-width:800px){#auth.auth{min-height:290vh}.login-form{margin-top:75vh}.login-visual{max-height:90vh}.login-visual canvas{height:min(42vh,350px)}}

/* Presentation and bottom navigation */
#auth.auth{display:block;padding:0;min-height:0;background:#222221}.login-story{height:340vh;padding:0 6vw}.login-visual{position:sticky;top:0;min-height:100vh;max-height:none;display:grid;grid-template-columns:1fr 1.25fr;align-items:center;gap:4vw;padding:40px 0 90px;background:#222221}.presentation-heading{min-width:0}.presentation-heading>.brand{font-size:32px;margin-bottom:30px}.presentation-heading h1{font-size:clamp(40px,4.2vw,68px);font-weight:650}.presentation-heading h1 em{font-style:normal;color:#ff4548}.presentation-heading>p:not(.eyebrow){max-width:470px;font-size:14px;line-height:1.8}.presentation-engine{min-width:0}.login-visual canvas{width:100%;height:min(66vh,620px)}.agent-summary{border-left:2px solid #ff4548;padding:0 0 0 20px;margin:32px 0 25px;max-width:470px;min-height:155px}.agent-summary h2{font-size:30px;font-weight:650;margin:10px 0 6px;color:#f1e7df}.agent-summary strong{font:600 11px 'Segoe UI',sans-serif;color:#ff777a;text-transform:uppercase;letter-spacing:1.5px}.agent-summary p{font-size:13px;line-height:1.7;margin:12px 0 0}.summary-counter{font:10px 'Segoe UI',sans-serif;letter-spacing:2px;color:#a9968a}.agent-summary.changing{animation:summary-enter .35s ease both}@keyframes summary-enter{from{opacity:.35;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}#lifa-entry.login-form{position:relative;top:auto;max-width:620px;margin:0 auto 130px;padding:42px;scroll-margin-top:35px}.welcome-menu{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:20;display:flex;flex-direction:row;align-items:center;gap:8px;background:#292827ee;border:1px solid #534039;border-radius:16px;padding:8px;backdrop-filter:blur(18px);box-shadow:0 12px 45px #0006;white-space:nowrap}.welcome-menu a,.welcome-menu button{font:12px 'Segoe UI',sans-serif;text-decoration:none;color:#c7b5a8;padding:13px 16px;border:0;background:transparent;border-radius:10px}.welcome-menu .welcome-enter{background:#ff4548;color:#211c1b;font-weight:650}.welcome-menu a:hover,.welcome-menu button:hover{color:#ff777a}.welcome-menu .welcome-enter:hover{color:#211c1b;background:#ff686b}.shell{display:block}.shell>aside{position:fixed;top:auto;bottom:16px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 24px);height:auto;padding:8px;display:block;border:1px solid #534039;border-radius:16px;background:#292827ee;backdrop-filter:blur(18px);z-index:30;box-shadow:0 12px 45px #0006}.shell>aside>.brand,.shell>aside>.workspace,.shell>aside>.aside-bottom{display:none}.shell>aside>nav{display:flex;flex-direction:row;gap:4px;overflow-x:auto;max-width:100%;scrollbar-width:thin}.shell>aside nav button{white-space:nowrap;padding:12px 13px;font-size:11px;border-radius:10px;flex-shrink:0}.shell>aside nav #logout{margin:0;position:sticky;right:0;background:#302624}.shell main{max-width:1500px;margin:0 auto;padding-bottom:120px}.shell header:before{content:'Lifa';font:800 25px 'Segoe UI',sans-serif;color:#ff5c5f;letter-spacing:-1px}.intro .agent-summary{min-height:145px;margin-top:24px}.intro .agent-summary h2{font-size:25px}.hero-layout{align-items:center}.nexo-stage{min-height:550px}@media(max-width:800px){.login-story{height:400vh;padding:0 24px}.login-visual{grid-template-columns:1fr;gap:0;min-height:100vh;padding:20px 0 90px;align-content:start}.presentation-heading>.brand{font-size:25px;margin-bottom:14px}.presentation-heading .eyebrow{font-size:8px;margin-bottom:12px}.presentation-heading h1{font-size:35px;line-height:1.06;margin-bottom:10px}.presentation-heading>p:not(.eyebrow){font-size:12px;line-height:1.6;margin-bottom:8px}.presentation-engine{grid-row:2}.login-visual canvas{height:34vh}.presentation-heading .agent-summary{margin:18px 0 12px;min-height:120px}.agent-summary h2{font-size:23px}.agent-summary p{font-size:12px}.assembly-hint{font-size:8px;margin:0}.welcome-menu{bottom:12px;max-width:calc(100vw - 20px);gap:2px;padding:6px}.welcome-menu a,.welcome-menu button{font-size:10px;padding:12px 10px}#lifa-entry.login-form{margin:0 20px 110px;padding:25px}.shell>aside{bottom:10px}.shell main{padding-bottom:110px}.nexo-stage{min-height:380px}.shell header{height:auto;min-height:80px}.shell header:before{font-size:21px}}@media(max-height:740px) and (max-width:800px){.presentation-heading>p:not(.eyebrow){display:none}.login-visual canvas{height:30vh}.presentation-heading h1{font-size:29px}.presentation-heading .agent-summary{min-height:110px;margin:12px 0}.login-visual{padding-top:14px}}@media(prefers-reduced-motion:reduce){.agent-summary.changing{animation:none}html{scroll-behavior:auto}}

/* Lifa finish: restrained metal, clearer typography, cohesive controls. */
html{scroll-behavior:smooth}body{background:#202020}.login-story{height:460vh}.login-visual{background:radial-gradient(ellipse at 73% 48%,#ff454804,transparent 58%),#222221;gap:5vw}.presentation-heading{position:relative;z-index:2}.presentation-heading .eyebrow{color:#d4b8aa;letter-spacing:2.2px}.presentation-heading>p:not(.eyebrow){font-size:16px;line-height:1.75;color:#d2c7c1}.presentation-heading h1{letter-spacing:-2.8px;font-weight:680;line-height:1.05}.presentation-heading>.brand{letter-spacing:-1.4px}.agent-summary{border-left-color:#ff5b5e;border-left-width:2px;padding-left:24px;min-height:185px;position:relative}.agent-summary:before{content:'';position:absolute;left:-3px;top:0;width:4px;height:26px;background:#ff6265;box-shadow:0 0 14px #ff454855;border-radius:3px}.agent-summary h2{font-size:34px!important;color:#fff5ef!important;letter-spacing:-.8px}.agent-summary strong{font-size:11px;color:#ff898c}.agent-summary p{font-size:15px!important;line-height:1.75;color:#e0d6cf!important;max-width:420px}.summary-counter{color:#bfada3;font-size:11px}.agent-summary.changing{animation:summary-polish .5s cubic-bezier(.2,.7,.3,1) both}@keyframes summary-polish{from{opacity:.85;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.assembly-hint{color:#c1a99b;font-size:9px;letter-spacing:1.8px;display:flex;align-items:center;gap:14px}.assembly-hint>span{color:#ff6669;font-size:18px}.presentation-engine{position:relative;isolation:isolate}.presentation-engine:after{content:'';position:absolute;left:12%;right:12%;bottom:4%;height:1px;background:linear-gradient(90deg,transparent,#65504b88,transparent);pointer-events:none}.welcome-menu,.shell>aside{border-color:#66514c77;border-radius:18px;background:linear-gradient(160deg,#35312fee,#242322f5);box-shadow:0 18px 50px #0005,inset 0 1px 0 #ffffff0a}.welcome-menu{gap:4px;padding:7px}.welcome-menu a,.welcome-menu button{display:flex;align-items:center;gap:8px;color:#e0d3cc;font-size:12px;padding:12px 16px}.welcome-menu svg,.shell>aside nav svg{width:17px;height:17px;flex-shrink:0}.welcome-menu .welcome-enter{padding:13px 22px;border-radius:12px;box-shadow:0 0 20px #ff454817}.shell>aside nav button{display:flex;align-items:center;gap:7px;padding:12px 11px;color:#cabeb6}.shell>aside nav button.active{background:#ff454812;color:#ff8588;border-color:#ff454835}.shell>aside nav #logout{background:#2b2726;color:#e3b4b2;border-color:#72514b55}.shell>aside nav button:focus-visible,.welcome-menu a:focus-visible,.welcome-menu button:focus-visible{outline:2px solid #ff777a;outline-offset:2px}.entry-caption{display:block;color:#ff8588;font:10px 'Segoe UI',sans-serif;letter-spacing:2px;margin-bottom:22px}#lifa-entry.login-form{background:radial-gradient(ellipse at 100% 0,#ff45480c,transparent 55%),linear-gradient(135deg,#302b29,#252424);border:1px solid #71554b77;border-radius:26px;box-shadow:0 28px 90px #0004,inset 0 1px 0 #ffffff09;padding:46px;overflow:hidden;isolation:isolate}#lifa-entry:after{content:'';position:absolute;width:240px;height:240px;right:-135px;top:-145px;border:1px solid #ff454826;border-radius:50%;box-shadow:0 0 0 13px #ff454805,0 0 0 28px #ff454805;z-index:-1}#lifa-entry .brand{margin-bottom:24px}#lifa-entry h1{font-weight:650;letter-spacing:-1.3px}#lifa-entry p{color:#cec1b8}#lifa-entry label{color:#dfd0c7;font-size:13px}#lifa-entry input{background:#201f1eee;border-color:#66514b;color:#fff0e6;border-radius:11px;padding:15px;font-size:15px;transition:border-color .2s,box-shadow .2s}#lifa-entry input:focus{outline:0;border-color:#ff7477;box-shadow:0 0 0 3px #ff454812}#lifa-entry button.primary{border-radius:11px;padding:16px;font-size:14px;margin-top:8px;box-shadow:0 8px 25px #ff454816}.intro .agent-summary{margin:24px 0;min-height:160px}.intro .agent-summary h2{font-size:29px!important}.intro .agent-summary p{font-size:14px!important}.shell header{border-color:#52413a66}.shell .primary{border-radius:10px}.nexo-stage .satellite span{font-size:9px;color:#dbb5a6}.nexo-stage .satellite svg{color:#ff888a}.nexo-stage .satellite:hover{box-shadow:0 0 20px #ff454808}.nexo-stage #stage-work-status{color:#cab5a8}.nexo-stage #stage-voice-state{color:#ff9496;font-size:8px}@media(max-width:800px){.login-story{height:520vh}.login-visual{gap:0;padding-top:24px}.presentation-heading h1{font-size:36px;letter-spacing:-1.5px}.presentation-heading>p:not(.eyebrow){font-size:13px;line-height:1.65;display:block}.presentation-heading .agent-summary{min-height:136px;padding-left:18px;margin:20px 0 12px}.agent-summary h2{font-size:27px!important}.agent-summary p{font-size:13px!important;line-height:1.65}.login-visual canvas{height:31vh}.welcome-menu a,.welcome-menu button{font-size:11px;padding:11px 12px;gap:6px}.welcome-menu svg{width:15px;height:15px}.welcome-menu .welcome-enter{padding:12px 18px}#lifa-entry.login-form{padding:30px 25px}.shell>aside nav button{padding:11px 10px;font-size:10px}.shell>aside nav svg{width:15px;height:15px}.presentation-engine:after{bottom:0}}@media(max-height:740px) and (max-width:800px){.presentation-heading h1{font-size:29px}.presentation-heading>p:not(.eyebrow){font-size:11px;line-height:1.5;max-width:320px}.presentation-heading>.brand{margin-bottom:10px}.presentation-heading .agent-summary{margin:12px 0 8px;min-height:122px}.agent-summary h2{font-size:24px!important}.agent-summary p{font-size:12px!important}.login-visual canvas{height:25vh}.login-visual{padding:14px 0 80px}.presentation-heading .eyebrow{letter-spacing:1.2px;font-size:7px}.assembly-hint{font-size:7px;letter-spacing:1.2px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.agent-summary.changing{animation:none}}
.agent-summary.changing{animation:summary-soft .65s cubic-bezier(.22,.61,.36,1) both}@keyframes summary-soft{from{opacity:.92;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.presentation-engine:after{background:linear-gradient(90deg,transparent,#c38d9126,transparent)}.welcome-menu,.shell>aside{box-shadow:0 15px 45px #17121945,inset 0 1px 0 #ecd3d40a}.agent-summary:before{box-shadow:0 0 12px #ee98952c}
@media(prefers-reduced-motion:reduce){.agent-summary.changing{animation:none}}
/* Original composition, with separate rows below the unchanged motor. */
#nexo-stage{display:flex;flex-direction:column;min-height:0;max-height:none;aspect-ratio:auto;padding:0;gap:0;overflow:visible}
#nexo-stage .stage-visual{position:relative;width:100%;aspect-ratio:1;flex-shrink:0}
#nexo-stage .reactor-canvas{position:absolute;inset:0;width:100%;height:100%}
#nexo-stage .stage-caption{position:absolute;top:12px;left:24px;transform:none}
#nexo-stage .stage-status{display:flex;flex-direction:column;align-items:center;gap:10px;padding:4px 12px 18px}
#nexo-stage #stage-voice-state,#nexo-stage #stage-work-status{position:static;inset:auto;transform:none;text-align:center;width:100%;white-space:normal;line-height:1.5;margin:0}
#nexo-stage .stage-agents{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%;padding:0 0 12px}
#nexo-stage .stage-agents .satellite{position:static!important;inset:auto!important;transform:none!important;width:100%;min-width:0;height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:8px 4px}
#nexo-stage .stage-agents .satellite svg{width:26px;height:28px}
#nexo-stage .stage-agents .satellite span{line-height:1.4;font-size:9px;letter-spacing:1px}
#nexo-stage .nexo-core{top:40%;left:50%}
@media(max-width:480px){#nexo-stage .stage-agents{gap:2px}#nexo-stage .stage-agents .satellite span{font-size:8px;letter-spacing:.5px}}

/* Responsive workspace: navigation owns its row, content owns its scroll area. */
html{scrollbar-gutter:stable}body{min-width:280px}button,input,select,textarea{font-size:14px}button{min-height:44px}
.shell{height:100vh;height:100dvh;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;overflow:hidden}
.shell main{grid-row:1;width:100%;max-width:1500px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 clamp(16px,3vw,52px) 32px;scroll-behavior:smooth}
.shell>aside{grid-row:2;position:relative;inset:auto;transform:none;translate:none;width:fit-content;max-width:calc(100% - 24px);margin:8px auto 12px;height:auto;padding:6px}
.shell>aside>nav{margin:0;display:flex;flex-wrap:wrap;justify-content:center;gap:4px;overflow:visible}
.shell>aside nav button{font-size:13px;min-height:44px;padding:10px 12px;translate:none}
.shell>aside nav svg{width:18px;height:18px}
.shell>aside nav #logout{position:static;box-shadow:none}
.shell header{height:auto;min-height:80px;flex-wrap:wrap;padding:16px 0;gap:12px}
.shell header>span:first-child{font-size:11px;letter-spacing:.5px}
.shell header #voice-toggle{font-size:14px;min-height:44px;margin-left:auto}
.shell header .badge{font-size:12px;max-width:none;white-space:normal;overflow:visible}
.view{width:100%;max-width:1200px;padding-top:clamp(24px,4vw,48px)}
.hero-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,4vw,64px);min-height:0;align-items:center}
.hero-layout>*{min-width:0}.intro h1{font-size:clamp(36px,4.5vw,68px);letter-spacing:-.045em;overflow-wrap:normal;line-height:1.08}
.intro>p:last-of-type{max-width:48ch;font-size:16px;line-height:1.75}
.eyebrow{font-size:12px;letter-spacing:1.6px;overflow-wrap:anywhere}
.intro .agent-summary{min-height:0;margin:28px 0;padding-left:22px}
.intro .agent-summary h2{font-size:clamp(28px,3vw,36px)!important}
.intro .agent-summary p{font-size:16px!important;line-height:1.7}
.agent-summary strong,.summary-counter{font-size:12px}.hero-actions{gap:16px}.hero-actions span{font-size:14px}
#nexo-stage{width:100%;max-width:680px;margin:0 auto 24px;min-height:0;max-height:none}
#nexo-stage .stage-visual{width:100%;aspect-ratio:1;padding:0}
#nexo-stage .stage-caption{top:0;left:0;font-size:11px;letter-spacing:1.5px}
#nexo-stage .stage-status{padding:12px 0 20px;gap:8px}
#nexo-stage #stage-voice-state,#nexo-stage #stage-work-status{translate:none!important;transform:none!important;font-size:12px;line-height:1.6}
#nexo-stage .stage-agents{gap:8px;padding:0;grid-template-columns:repeat(5,minmax(0,1fr))}
#nexo-stage .stage-agents .satellite{translate:none!important;transform:none!important;animation:none!important;min-height:84px;height:auto;padding:10px 4px;gap:10px}
#nexo-stage .stage-agents .satellite svg{width:32px;height:34px}
#nexo-stage .stage-agents .satellite span{font-size:12px;letter-spacing:1px;margin:0}
.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}.form-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metrics small{font-size:12px;line-height:1.5;display:block}.metrics>div{min-width:0;padding:20px 16px}
.composer-title,.composer-footer,.section-title,.run-top{flex-wrap:wrap}.composer-title span:last-child{font-size:13px;display:block}.composer-footer select{max-width:100%}.quick-actions button,.quick-actions>span{font-size:13px}.section-title span{font-size:13px}
.panel,.composer,.agent-card,.skill-card{padding:clamp(20px,3vw,28px)}.agent-card p,.skill-card small,label,.panel p{font-size:14px}.agent-explore{font-size:14px}.event{overflow-wrap:anywhere}
.toast{bottom:140px}.voice-dialog,#agent-inspector{max-height:calc(100dvh - 32px);overflow:auto;width:min(570px,calc(100vw - 32px))}
/* Keep the scroll presentation, but let short windows scroll tall content naturally. */
.login-visual{height:auto;min-height:100dvh;padding:32px 0 104px;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
.login-visual canvas{height:auto;aspect-ratio:1;width:100%}.presentation-heading .agent-summary{min-height:0}.presentation-heading .agent-summary p{font-size:16px!important}
.welcome-menu{max-width:calc(100% - 24px);flex-wrap:wrap;justify-content:center;white-space:normal}.welcome-menu a,.welcome-menu button{font-size:14px;min-height:44px}
@media(max-width:1000px){.hero-layout{grid-template-columns:1fr}.intro{padding:0;max-width:680px}.intro h1{font-size:clamp(36px,6vw,58px)}#nexo-stage{max-width:580px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.shell header .badge{display:block}.login-visual{grid-template-columns:1fr;align-content:center;gap:24px}.presentation-engine{grid-row:auto;width:min(100%,480px);margin:auto}.login-visual canvas{height:auto;aspect-ratio:1}.login-visual{position:relative;min-height:0}.login-story{height:auto;padding:32px clamp(16px,4vw,40px)}.presentation-heading h1{font-size:clamp(36px,6vw,58px)}.presentation-heading>p:not(.eyebrow){display:block;font-size:16px}.presentation-heading .eyebrow{font-size:12px}.assembly-hint{font-size:12px}.login-visual{padding:0 0 40px}#lifa-entry.login-form{margin:0 16px 130px}}
@media(max-width:600px){.shell>aside{width:calc(100% - 16px);max-width:none;margin:4px auto 8px}.shell>aside>nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.shell>aside nav button{justify-content:center;flex-direction:column;gap:5px;padding:8px 2px;font-size:12px;min-width:0;min-height:60px}.shell header>span:first-child{order:3;width:100%}.shell header #voice-toggle{font-size:13px}.intro h1{font-size:clamp(34px,8vw,48px)}.hero-layout{gap:28px}#nexo-stage .stage-agents{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#nexo-stage .stage-caption{font-size:10px}.metrics>div{padding:16px 12px}.metrics small{font-size:11px}.composer-footer{flex-direction:column;align-items:stretch}.composer-footer select{width:100%}.section-title{gap:12px}.section-title span{display:block}.hero-actions span{width:100%}.welcome-menu a,.welcome-menu button{padding:10px;font-size:13px;gap:5px}.toast{bottom:160px;right:16px}.presentation-heading .agent-summary p{font-size:15px!important}}
@media(max-height:760px) and (min-width:1001px){.login-visual{position:relative;min-height:0}.login-story{height:auto}.login-visual{padding:32px 0 104px}}
@media(prefers-reduced-motion:reduce){.shell main{scroll-behavior:auto}}
.agent-card small,.skill-card small,.identity-label,.state,.step,.downloads a,.composer-title b{font-size:12px;line-height:1.5}
.shell .view h1{overflow-wrap:break-word}.shell .view h2{overflow-wrap:anywhere}
/* Agent selector beside the motor, with the voice status in its own row. */
#nexo-stage{display:grid;grid-template-columns:88px minmax(0,1fr);grid-template-areas:'agents motor' 'status status';align-items:center;column-gap:16px}
#nexo-stage .stage-visual{grid-area:motor;min-width:0}
#nexo-stage .stage-agents{grid-area:agents;grid-template-columns:minmax(0,1fr);gap:8px;align-self:center}
#nexo-stage .stage-status{grid-area:status}
#nexo-stage .stage-agents .satellite{min-height:72px;padding:8px 4px;gap:6px}
@media(min-width:741px) and (max-width:1000px){.hero-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px}.intro h1{font-size:clamp(36px,4.5vw,48px)}}
@media(max-width:740px){#nexo-stage{grid-template-columns:68px minmax(0,1fr);column-gap:10px}#nexo-stage .stage-agents{grid-template-columns:1fr;gap:4px}#nexo-stage .stage-agents .satellite{min-height:60px}#nexo-stage .stage-agents .satellite svg{width:26px;height:28px}#nexo-stage .stage-agents .satellite span{font-size:11px}#nexo-stage .stage-caption{font-size:9px;letter-spacing:.6px}}
/* Restore the scroll-driven presentation without compressing its content. */
#lifa-presentation.login-story{height:var(--story-height,460vh);padding:0 clamp(16px,6vw,96px)}
#lifa-presentation .login-visual{position:sticky;top:var(--story-top,0px);min-height:100dvh;height:auto;max-height:none;padding:32px 0 104px}
@media(max-width:1000px){#lifa-presentation .login-visual{gap:24px;align-content:start}#lifa-presentation .presentation-engine{width:min(100%,480px)}}
#auth .welcome-menu{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;width:max-content;max-width:calc(100vw - 24px);gap:4px;padding:7px;margin:0;white-space:nowrap}
#auth .welcome-menu a,#auth .welcome-menu button{width:auto;flex:0 1 auto;margin:0;min-width:0;min-height:44px;justify-content:center;padding:12px 16px;font-size:14px;white-space:nowrap}
#scroll-progress{display:block;position:fixed;inset:0 0 auto;height:3px;background:#ff4548;transform-origin:left center;z-index:100;pointer-events:none}
@media(max-width:480px){#auth .welcome-menu{gap:2px;padding:6px}#auth .welcome-menu a,#auth .welcome-menu button{padding:10px 8px;font-size:12px;gap:5px}#auth .welcome-menu svg{width:15px;height:15px}}

.shell>aside nav .iris-nav{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:8px;color:var(--muted);font-size:13px;text-decoration:none}.shell>aside nav .iris-nav:hover{color:var(--accent);border-color:var(--line)}.shell>aside nav .iris-nav:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:600px){.shell>aside nav .iris-nav{justify-content:center;flex-direction:column;gap:5px;padding:8px 2px;font-size:12px;min-width:0;min-height:60px;text-align:center}}
