/* Login stage. Background asset: dist/nexa-lyn-login-ref.png (1672×941).
   dist/nexa-login-scene.jpg is the previous compressed scene and stays in the tree. */
.nexa-login{container-type:size;position:fixed;inset:0;z-index:10000;overflow:hidden;color:#2c2926;font-family:"Avenir Next","Segoe UI","Helvetica Neue",sans-serif;background:#f3eee8}
.nexa-login[hidden]{display:none}
.nexa-login-checking{position:fixed;inset:0;z-index:10001;display:grid;place-items:center;background:#f3eee8}
.nexa-login-checking[hidden]{display:none}
.nexa-login-spinner{width:28px;height:28px;border:2px solid rgba(44,42,38,.18);border-top-color:#2c2926;border-radius:50%;animation:nexa-login-spin .8s linear infinite}
@keyframes nexa-login-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.nexa-login-spinner{animation:none}}
.nexa-login-bleed{position:absolute;inset:-8%;background:#f3eee8 url("./nexa-lyn-login-ref.png") center/cover no-repeat;filter:blur(42px);transform:scale(1.12)}
.nexa-login-stage{position:absolute;left:50%;top:50%;width:min(100cqw,calc(100cqh * 1672 / 941));height:min(100cqh,calc(100cqw * 941 / 1672));transform:translate(-50%,-50%);container-type:size}
.nexa-login-scene{position:absolute;inset:0;background:#f3eee8 url("./nexa-lyn-login-ref.png") var(--nexa-login-focal-x,50%) var(--nexa-login-focal-y,50%)/contain no-repeat}
/* Historical decorative layers. Markup does not use them. Kept, not deleted. */
.nexa-login-scene-art{position:absolute;inset:0;z-index:0;overflow:hidden;background:
 radial-gradient(circle at 18% 78%,rgba(255,255,255,.7),transparent 28%),
 radial-gradient(circle at 78% 18%,rgba(255,250,242,.95),transparent 24%),
 linear-gradient(180deg,#fbf7f2 0%,#f4efe6 38%,#e4edf1 72%,#c9dbe3 100%)}
.nexa-orb{position:absolute;border-radius:50%;background:
 radial-gradient(circle at 32% 28%,#fff 0%,#f4efe8 26%,#ddd4c8 58%,#c9bfb2 100%);
 box-shadow:0 0 48px rgba(255,255,255,.85),inset -10px -14px 22px rgba(168,158,146,.45)}
.nexa-orb-moon{width:46vw;height:46vw;max-width:560px;max-height:560px;left:-8vw;top:-12vw;filter:blur(0);opacity:.92}
.nexa-orb-planet{width:28vw;height:28vw;max-width:340px;max-height:340px;right:8vw;top:-6vw;opacity:.55;filter:blur(1px)}
.nexa-orb-a{width:92px;height:92px;left:22%;top:38%}
.nexa-orb-b{width:46px;height:46px;left:38%;top:24%;opacity:.85}
.nexa-orb-c{width:28px;height:28px;left:14%;top:52%;opacity:.8}
.nexa-orb-d{width:64px;height:64px;left:46%;bottom:22%}
.nexa-orb-glow{position:absolute;border-radius:50%;filter:blur(28px);background:rgba(255,255,255,.72)}
.nexa-glow-a{width:220px;height:220px;left:16%;top:30%}
.nexa-glow-b{width:180px;height:180px;right:18%;top:16%}
.nexa-login-water{position:absolute;left:0;right:0;bottom:0;height:28%;background:
 linear-gradient(180deg,rgba(255,255,255,0),rgba(214,226,232,.55) 30%,rgba(198,214,222,.78));
}
.nexa-login-water::after{content:"";position:absolute;left:8%;right:18%;top:18%;height:42%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,255,255,.55),transparent 70%);filter:blur(8px)}
.nexa-login-ribbons{position:absolute;inset:0;width:100%;height:100%}
.nexa-login-frame{position:absolute;z-index:3;inset:0;pointer-events:none}
.nexa-login-brand,.nexa-login-corner,.nexa-login-pager,.nexa-login-card{pointer-events:auto}
.nexa-login-brand{display:contents}
/* Corner copy is already painted in the reference image, so the HTML copies stay in the tree but are not drawn again. */
.nexa-login-corner,.nexa-login-pager,.nexa-login-tagline,.nexa-login-mark{visibility:hidden}
.nexa-login-corner,.nexa-login-pager{position:absolute;color:#5e5a55;letter-spacing:.2em;font-size:1.1cqw;font-weight:300;line-height:1.45}
.nexa-login-mark img{display:block;width:100%;height:auto}
.nexa-login-tagline{position:absolute;left:4.55%;top:20.1%;display:block;margin:0;color:#5e5a55;letter-spacing:.2em;font-size:1.1cqw;font-weight:300;line-height:1.45}
.nexa-login-rule{display:block;width:72px;height:1px;margin-top:8px;background:#3a342e}
.nexa-login-corner-tr{top:2.4%;right:0.6%;text-align:right}
.nexa-login-corner-br{right:0.5%;bottom:1.2%;text-align:right}
.nexa-login-corner p,.nexa-login-tagline{margin:0;white-space:nowrap}
.nexa-login-pager{left:1.8%;bottom:2.6%;display:flex;flex-direction:column;gap:8px;letter-spacing:.42em}
.nexa-login-progress{display:block;width:88px;height:1px;background:linear-gradient(90deg,#3a342e 0 33%,rgba(58,52,46,.35) 33% 100%)}
.nexa-login-card{container-type:inline-size;container-name:nexa-login-card;position:absolute;z-index:4;left:62.38%;top:23.7%;width:27.03%;aspect-ratio:calc(27.03 / 58.66 * 1672 / 941);height:auto;box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:0;border:1px solid rgba(255,255,255,.96);border-radius:22px;background:#fff;box-shadow:0 18px 48px rgba(70,60,50,.14),inset 0 1px 0 rgba(255,255,255,1)}
.nexa-login-card::before{content:"";position:absolute;inset:0;border-radius:inherit;background:#fff;opacity:.92;pointer-events:none}
.nexa-login-stack{position:relative;z-index:1;display:flex;flex-direction:column;align-items:stretch;justify-content:center;width:100%;max-width:100%;min-width:0;height:100%;box-sizing:border-box;padding:24px 10%;text-align:center}
.nexa-login-kicker,.nexa-login-enter{display:block;width:100%;max-width:100%;margin:0;box-sizing:border-box;text-align:center;white-space:nowrap;letter-spacing:.14em;font-weight:300;color:#6b6762;font-size:clamp(11px,3.2cqi,15px)}
.nexa-login-enter{margin-top:8px;letter-spacing:.16em;text-transform:uppercase;font-size:clamp(10px,2.8cqi,13px)}
.nexa-login-card h1.nexa-login-word{display:block;width:100%;max-width:100%;box-sizing:border-box;margin:6px 0 0;padding:0;font-family:"Avenir Next","Segoe UI","Helvetica Neue",Arial,sans-serif;font-weight:300;font-size:clamp(26px,13cqi,56px);letter-spacing:.28em;text-indent:.28em;line-height:1.05;white-space:nowrap;color:#2c2926}
.nexa-login-wordmark{display:none}
.nexa-login-divider{width:100%;height:1px;margin:14px 0 12px;background:rgba(70,60,50,.16)}
.nexa-login-fields{display:flex;flex-direction:column;gap:8px;margin:12px 0 2px}
.nexa-login-field{position:relative}
.nexa-login-field svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;stroke:#5c564f;fill:none;stroke-width:1.6}
.nexa-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nexa-login input{width:100%;box-sizing:border-box;min-height:34px;padding:6px 36px;border:1px solid rgba(255,255,255,.82);border-radius:12px;background:rgba(255,255,255,.62);color:#3a3836;font:300 13px/1.2 inherit;letter-spacing:.01em;box-shadow:none}
.nexa-login input::placeholder{color:#7a756e;font-weight:300}
.nexa-login-reveal{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;background:transparent;color:#3a342e;cursor:pointer}
.nexa-login-forgot{display:block;margin:2px 0 8px auto;padding:0;border:0;background:transparent;color:#5c5854;font:300 12px/1 inherit;letter-spacing:.02em;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.nexa-login-signin,#nexaLoginButton{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:100%;min-height:44px;padding:0 12px;border-radius:12px;font-weight:500;font-size:clamp(14px,4cqi,18px);line-height:1;letter-spacing:0;white-space:nowrap;cursor:pointer}
.nexa-login-signin:focus-visible,#nexaLoginButton:focus-visible,.nexa-login-forgot:focus-visible,.nexa-login-reveal:focus-visible,.nexa-login input:focus-visible,.nexa-login-actions button:focus-visible{outline:3px solid #5c4a3a;outline-offset:3px}
.nexa-login-or{display:flex;align-items:center;gap:12px;margin:10px 0;color:#5e5852;font-size:11px;letter-spacing:.28em}
.nexa-login-or::before,.nexa-login-or::after{content:"";flex:1;height:1px;background:rgba(70,60,50,.28)}
.nexa-login-signin{position:relative;border:0;background:#2e2e2c;color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
.nexa-login-signin span[aria-hidden]{position:absolute;right:16px}
#nexaLoginButton{margin:0;width:100%;white-space:nowrap;border:1px solid #b7b1a8;background:#fff;color:#2c2c2c;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 1px 2px rgba(40,36,32,.08)}
#nexaLoginButton svg{width:18px;height:18px;flex:none}
#nexaLoginButton:disabled{cursor:default;color:#2c2c2c;opacity:1}
.nexa-login-actions button:disabled{opacity:.55;cursor:default}
.nexa-login-signup{margin:8px 0 0;text-align:center;color:#6a6560;font-size:12px;font-weight:300;letter-spacing:.01em}
.nexa-login-signup button{border:0;background:transparent;color:#2c2926;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.nexa-login-local,#nexaLoginStatus{min-height:1.1em;margin:4px 0 0;color:#6b2b24;font-size:12px;line-height:1.3}
.nexa-login-local:empty{min-height:0;margin:0}
.nexa-login-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:2px}
.nexa-login-actions button{min-height:36px;padding:6px 10px;border:0;background:transparent;color:#3a342e;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
 .nexa-login-card{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}
 .nexa-login input{background:rgba(255,255,255,.55)}
}
body:not([data-nexa-auth="authorized"])>.app-shell{display:none!important}
body:not([data-nexa-auth="authorized"])>:not(.nexa-login):not(.nexa-login-checking):not(script):not(link){visibility:hidden}
/* Breakpoints keep the card on the painted card. They only record a focal hint; login-gate.js shifts the stage. */
@media(min-aspect-ratio:2/1){
 .nexa-login{--nexa-login-focal-x:50%;--nexa-login-focal-y:53%}
}
@media(max-aspect-ratio:1/1){
 .nexa-login{--nexa-login-focal-x:75.9%;--nexa-login-focal-y:53%}
 .nexa-login-card{width:86vw;max-width:86vw;height:auto;aspect-ratio:calc(27.03 / 58.66 * 1672 / 941)}
}
@media(max-width:480px){
 .nexa-login{--nexa-login-focal-x:75.9%;--nexa-login-focal-y:53%}
 .nexa-login-corner,.nexa-login-pager,.nexa-login-tagline,.nexa-login-mark{visibility:hidden}
}
