.nexo-status{min-height:20px;font-size:13px;line-height:1.4;color:#ffcd8f}.nexo-status:empty{min-height:0}.account-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}.account-actions>*{min-height:44px}.account-actions input{flex:1;min-width:140px}.nexo-panel{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);margin:16px 0}.nexo-panel h2{font-size:21px;margin:0 0 12px}.nexo-panel label{display:block;font-size:13px;margin:12px 0}.nexo-panel input:not([type=checkbox]),.nexo-panel select,.account-actions input{display:block;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:#080f15;color:#eee;min-height:44px;margin-top:5px}.nexo-panel input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin:0 9px 0 0;accent-color:var(--accent)}.nexo-panel fieldset{border:1px solid var(--line);border-radius:12px;margin:14px 0;padding:12px}.nexo-panel legend{color:var(--accent);padding:0 8px}.nexo-panel .small-note{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0}.account-row{width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px;margin:9px 0;min-height:72px}.account-row strong,.account-row small{display:block}.account-row small{color:var(--muted);font-size:12px;margin-top:5px}.account-row .badge{font-size:11px;color:var(--accent)}.section-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:16px 0;padding-bottom:8px}.section-tabs button{min-height:44px;background:transparent;border-radius:8px;padding:10px;color:var(--muted)}.section-tabs button[aria-current=true]{color:#fff;background:#17303b}.visibility-grid{display:grid;gap:6px}.visibility-grid label{display:flex;align-items:center;min-height:44px;margin:0}.settings-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.settings-top h1{font-size:27px}.secondary{background:#172a34;border:1px solid var(--line);border-radius:9px;min-height:44px;padding:10px 15px}.danger{color:#ffc6b6}.nexo-brand-footer{display:flex;justify-content:center;align-items:center;gap:10px;padding:16px;color:var(--muted);font-size:11px}.nexo-brand-footer img{width:36px;height:36px;object-fit:contain}.workspace-link{display:flex;text-decoration:none}.account-disabled{opacity:.7}.pin-message{padding:0 24px;margin-top:16px;font-size:13px;line-height:1.5}.login-form button.primary{margin-top:4px}body[data-view=settings] #app{max-width:960px}body[data-view=settings] .content{padding-top:20px}.settings-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.settings-links button{min-height:44px}.fixture-note{padding:8px 16px;text-align:center;color:#ffd480;background:#282012;font-size:12px;line-height:1.4}@media(min-width:700px){body[data-view=login] #app{max-width:520px}.nexo-panel .portal-grants{display:grid;grid-template-columns:1fr 1fr;gap:14px}.identity::before{border-radius:0 0 20px 20px}}@media(max-height:680px){body[data-view=apps] .shared-note{margin-top:10px;padding-top:10px}body[data-view=apps] .settings-links{gap:2px}.nexo-brand-footer{padding:8px}.identity .tagline{margin-top:8px}}

/* Installed-app workspace: the Nexo document remains the top-level app. */
body[data-view=workspace]{overflow:hidden;background:#060a10}body[data-view=workspace] #app{position:fixed;inset:0;max-width:none;width:100%;height:100dvh;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);box-sizing:border-box}#nexoWorkspace{display:block;width:100%;height:100%;border:0;background:#060a10}.workspace-loading{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#080f15;color:#eee;padding:24px;text-align:center}.workspace-loading[hidden]{display:none}

/* CI waiting indicator. The approved logo stays still and keeps its exact colors. */
.ci-wait-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:28px;background:#060a10;color:#eeeef0;font:16px/1.5 "Segoe UI",Arial,sans-serif;text-align:center;box-sizing:border-box}
.ci-wait-overlay[hidden],.ci-wait-inline[hidden]{display:none!important}
.ci-wait-art{position:relative;display:grid;place-items:center;width:180px;height:180px;flex-shrink:0}
.ci-wait-art>svg{width:154px;height:137px;display:block}
.ci-wait-art::before,.ci-wait-art::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid transparent;pointer-events:none}
.ci-wait-art::before{border-top-color:#6b57d9;border-right-color:#0e9c8f;animation:ci-wait-orbit 1.8s linear infinite}
.ci-wait-art::after{inset:9px;border-bottom-color:#c3b4ff;opacity:.6;animation:ci-wait-orbit 2.8s linear infinite reverse}
.ci-wait-overlay p,.ci-wait-inline p{margin:0;color:#c6c5d5;max-width:32ch;font:inherit}
.ci-wait-dots{display:flex;justify-content:center;gap:8px;margin-top:2px}
.ci-wait-dots i{width:6px;height:6px;border-radius:50%;background:#c3b4ff;animation:ci-wait-pulse 1.2s ease-in-out infinite}
.ci-wait-dots i:nth-child(2){animation-delay:.15s}.ci-wait-dots i:nth-child(3){animation-delay:.3s}
.ci-wait-inline{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px;text-align:center}
.ci-wait-inline .ci-wait-art{width:80px;height:80px}.ci-wait-inline .ci-wait-art>svg{width:70px;height:62px}
.ci-wait-inline.ci-wait-save{flex-direction:row;justify-content:center;padding:8px;gap:12px;font-size:13px}.ci-wait-save .ci-wait-art{width:34px;height:34px}.ci-wait-save .ci-wait-art>svg{width:30px;height:27px}.ci-wait-save .ci-wait-art::after{inset:4px}
.ci-wait-inline.ci-wait-stopped .ci-wait-art::before,.ci-wait-inline.ci-wait-stopped .ci-wait-art::after{animation:none;border-color:transparent}
.ci-wait-overlay.ci-wait-stopped .ci-wait-art::before,.ci-wait-overlay.ci-wait-stopped .ci-wait-art::after{animation:none;border-color:transparent}
.ci-wait-overlay.ci-wait-stopped .ci-wait-dots{display:none}
@keyframes ci-wait-orbit{to{transform:rotate(360deg)}}
@keyframes ci-wait-pulse{0%,80%,100%{opacity:.3}40%{opacity:1}}
@media(prefers-reduced-motion:reduce){.ci-wait-art::before,.ci-wait-art::after,.ci-wait-dots i{animation:none!important}.ci-wait-art::before{border-color:#6b57d9}.ci-wait-dots i{opacity:.7}}

.nexo-task-wait{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;gap:18px;align-items:center;justify-content:center;background:#080f15ed;padding:20px}.workspace-loading wilbur-loader{flex:none}

/* Reserve loader geometry before its script/styles finish, including cold cache. */
wilbur-loader{display:block;width:min(100%,340px);height:340px;flex:none}.workspace-loading>p[hidden]{display:none!important}

/* Match the Time Study card's CI gradient without changing the portal layout. */
.app-card[data-open="ci"]{background:linear-gradient(115deg,#211b36 0%,#141d2c 60%,#102a30 100%);border-color:#55447b;border-left-color:#a891f1;box-shadow:inset 0 1px 0 #b5a0ff18}
.app-card[data-open="ci"]:hover{background:linear-gradient(115deg,#2a2042 0%,#192537 60%,#12343a 100%);border-color:#62d9df;border-left-color:#a78aff}

/* Operations card: the same gradient treatment in its gold, navy and teal palette. */
.app-card[data-open="operations"]{background:linear-gradient(115deg,#302719 0%,#142334 60%,#103039 100%);border-color:#635437;border-left-color:#dab567;box-shadow:inset 0 1px 0 #e8c67b18}
.app-card[data-open="operations"]:hover{background:linear-gradient(115deg,#3a3020 0%,#1a2d43 60%,#163d45 100%);border-color:#74c5c9;border-left-color:#e8c67b}

/* Beta consent uses the existing Nexo palette and leaves no portal behind it. */
.beta-backdrop{filter:blur(3px);opacity:.4;pointer-events:none}
.beta-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:28px;border:1px solid #475b69;border-radius:18px;background:linear-gradient(140deg,#162332,#0b151e 70%);color:#edf4f6;box-shadow:0 24px 80px #0009;overflow:auto;color-scheme:dark}
.beta-dialog::backdrop{background:#030b10db;backdrop-filter:blur(4px)}
.beta-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.beta-icon{width:42px;height:42px;display:grid;place-items:center;background:#e7bc3c20;border:1px solid #e7bc3c66;border-radius:12px;color:#f1cc53}.beta-icon svg{width:25px;height:25px;stroke-width:2}.beta-badge{font-size:12px;font-weight:750;letter-spacing:.12em;color:#f1cc53}
.beta-dialog h1{font-size:clamp(23px,4vw,29px);line-height:1.2;margin:0 0 12px}.beta-dialog #betaMessage{font-size:15px;line-height:1.6;color:#c6d3de;margin:0 0 20px}.beta-dialog h2{font-size:17px;color:#c6b8ec;margin:0 0 10px}
.beta-copy{padding:4px 16px;border:1px solid #344854;border-radius:10px;background:#081219;max-height:260px;max-height:min(32dvh,260px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;font-size:15px;line-height:1.6;color:#dee8ee}.beta-copy p{margin:12px 0}.beta-version{font-size:12px;color:#a8b9c7;margin:10px 0 16px}.beta-consent,.beta-access-control{display:flex!important;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;cursor:pointer}.beta-consent{padding:8px 0;min-height:44px}.beta-consent input,.beta-access-control input{width:22px!important;height:22px!important;min-width:22px;flex:none;margin:0;accent-color:#6fd8df}.beta-access-control{padding:16px 0}.beta-access-control small{display:block;color:#adbdca;font-size:13px;margin-top:4px}.beta-actions{display:flex;gap:12px;flex-wrap:wrap}.beta-actions button{min-height:46px;flex:1}.beta-dialog .primary{background:#72d6df;color:#08212a;border-color:#72d6df}.beta-dialog .secondary{background:#182535;color:#dfd3f4;border-color:#716183}.beta-dialog .primary:disabled{opacity:.45;cursor:not-allowed}.beta-dialog :focus-visible,.beta-access-control input:focus-visible{outline:3px solid #78dce1;outline-offset:3px}.beta-dialog h1:focus{outline:none}.beta-dialog .nexo-status:empty{display:none}
@media(max-width:480px){.beta-dialog{padding:20px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:14px}.beta-actions{flex-direction:column}.beta-actions button{width:100%}.beta-copy{padding:2px 12px}.beta-dialog #betaMessage{margin-bottom:16px}}

/* Nexo desktop presentation. Phone styles and workspace navigation remain shared. */
.desktop-login-heading{display:none}
@media (min-width:1000px){
 body[data-brand=nexo][data-view=login]:has(#login),body[data-brand=nexo][data-view=apps]{background:radial-gradient(ellipse at 80% 10%,#20313b66,transparent 55%),#080f15}
 body[data-brand=nexo][data-view=login]:has(#login) #app{max-width:1480px;padding:48px 56px;justify-content:center}
 body[data-brand=nexo] .login:has(>#login){display:grid;grid-template-columns:minmax(0,1.3fr) minmax(360px,1fr);grid-template-rows:1fr auto;min-height:650px;overflow:hidden;border:1px solid #344854;border-radius:28px;box-shadow:0 30px 100px #0007;padding:0;background:#0c161e}
 .login:has(>#login) .identity{grid-row:1/3;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 36px;min-height:650px;border-right:1px solid #344854;background:linear-gradient(180deg,#08121a00,#08121a44),var(--flow) center/cover}
 .login:has(>#login) .identity::before{display:none}
 .login:has(>#login) .identity::after{left:4%;top:112px;width:35%;text-align:center;transform:rotate(-24deg);font-size:20px;letter-spacing:1.5px;padding:0;border:0;border-radius:0;background:transparent}
 .login:has(>#login) .corporate{width:158px;height:70px;margin:0 0 42px}
 .login:has(>#login) .hero-mark{width:208px;height:208px;margin:0 0 24px;filter:drop-shadow(0 18px 25px #0006)}
 .login:has(>#login) .identity .overline{font-size:12px;letter-spacing:7px;margin-bottom:8px}
 .login:has(>#login) .identity h1{font-size:76px;letter-spacing:13px;line-height:1.1}
 .login:has(>#login) .identity .tagline{font-size:17px;margin-top:20px;color:#d1d9df}
 .login:has(>#login) #login{align-self:center;max-width:460px;padding:48px 38px 28px;gap:21px}
 .desktop-login-heading{display:block;margin-bottom:12px}
 .desktop-login-heading .eyebrow{font-size:10px;letter-spacing:2.5px;margin-bottom:14px}
 .desktop-login-heading h2{font-size:32px;letter-spacing:-.8px;line-height:1.2;color:#f2f4f5;margin-bottom:12px}
 .desktop-login-heading p:last-child{font-size:14px;color:var(--muted);line-height:1.6;max-width:31ch}
 #login .input-wrap input{height:54px;border-radius:10px;background:#080f15}
 #login .primary{min-height:54px;background:linear-gradient(110deg,#087b8b,#136773);box-shadow:0 8px 26px #0004}
 .login:has(>#login) .login-footer{grid-column:2;padding:0 30px 30px;font-size:9px;letter-spacing:1.7px}
 body[data-brand=nexo][data-view=apps] #app{max-width:1440px;padding:36px 56px 20px}
 body[data-brand=nexo][data-view=apps] .brand-header{height:164px;min-height:164px;border:1px solid #344854;border-radius:22px;padding:24px 38px;grid-template-columns:100px 1fr 100px;background-position:center 42%;box-shadow:0 15px 60px #0003}
 body[data-brand=nexo][data-view=apps] .brand-header .brand-mark,body[data-brand=nexo][data-view=apps] .brand-header .corporate-mini{width:100px;height:100px}
 body[data-brand=nexo][data-view=apps] .brand-header strong{font-size:46px;letter-spacing:7px}
 body[data-brand=nexo][data-view=apps] .brand-header small{letter-spacing:5px;font-size:11px}
 body[data-brand=nexo][data-view=apps] .brand-header::after{left:23%;top:72px;transform:rotate(-18deg);font-size:16px;letter-spacing:1.5px}
 body[data-brand=nexo][data-view=apps] .content{max-width:none;padding:48px 24px 24px;justify-content:center}
 body[data-brand=nexo][data-view=apps] .content h1{font-size:42px;letter-spacing:-1px}
 body[data-brand=nexo][data-view=apps] .intro{font-size:16px;margin:12px 0 30px}
 body[data-brand=nexo][data-view=apps] .eyebrow{font-size:10px;letter-spacing:2.4px;margin-bottom:13px}
 body[data-brand=nexo][data-view=apps] .apps{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 body[data-brand=nexo][data-view=apps] .app-card{position:relative;min-height:230px;padding:32px 28px;gap:24px;border-radius:20px;transition:transform .18s,border-color .18s,box-shadow .18s}
 body[data-brand=nexo][data-view=apps] .app-card:hover{transform:translateY(-4px);box-shadow:0 16px 40px #0005}
 body[data-brand=nexo][data-view=apps] .app-card:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
 body[data-brand=nexo][data-view=apps] .app-card img{width:105px;height:105px;filter:drop-shadow(0 12px 16px #0004)}
 body[data-brand=nexo][data-view=apps] .app-card strong{font-size:27px;line-height:1.2}
 body[data-brand=nexo][data-view=apps] .app-card small{font-size:13px;line-height:1.6;margin-top:13px}
 body[data-brand=nexo][data-view=apps] .app-card>svg{position:absolute;right:22px;top:22px;width:22px;height:22px}
 body[data-brand=nexo][data-view=apps] .shared-note{margin-top:26px;padding-top:20px;font-size:13px}
 body[data-brand=nexo][data-view=apps] .settings-links{gap:24px;padding-top:12px}
 body[data-brand=nexo][data-view=apps] .settings-links button{font-size:13px}
 body[data-brand=nexo][data-view=apps] .nexo-brand-footer{padding-top:20px;font-size:12px}
}
@media (min-width:1000px) and (max-width:1199px){
 body[data-brand=nexo][data-view=login]:has(#login) #app,body[data-brand=nexo][data-view=apps] #app{padding-left:30px;padding-right:30px}
 body[data-brand=nexo][data-view=apps] .app-card{gap:16px;padding:28px 20px}
 body[data-brand=nexo][data-view=apps] .app-card img{width:80px;height:80px}
 body[data-brand=nexo][data-view=apps] .app-card strong{font-size:23px}
}
@media(prefers-reduced-motion:reduce){body[data-view=apps] .app-card{transition:none!important;transform:none!important}}

/* Still atmospheric artwork fills the desktop canvas behind the solid panels. */
@media(min-width:1000px){
 body[data-brand=nexo][data-view=login]:has(#login)::before,
 body[data-brand=nexo][data-view=apps]::before{content:"";position:fixed;inset:-24px;z-index:0;pointer-events:none;background:linear-gradient(180deg,#080f1540,#080f1599),var(--flow) center/cover no-repeat;filter:blur(9px) saturate(.85);opacity:.7}
 body[data-brand=nexo][data-view=login]:has(#login)::after,
 body[data-brand=nexo][data-view=apps]::after{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 5% 35%,#26c6cf26,transparent 48%),radial-gradient(ellipse at 95% 15%,#cb985b24,transparent 46%),radial-gradient(ellipse at 80% 95%,#8c78cf24,transparent 48%)}
 body[data-brand=nexo][data-view=login]:has(#login) #app,
 body[data-brand=nexo][data-view=apps] #app{position:relative;z-index:1}
}

/* The original Nexo desktop login is dismissible only on the LAN IP. */
body[data-view=login] .login:has(>#nexoGuestClose){position:relative}
#nexoGuestClose{position:absolute;top:16px;right:16px;z-index:3;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #8297a4;border-radius:9px;background:#102230;color:#fff;font:24px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 4px 15px #0005}
#nexoGuestClose:hover,#nexoGuestClose:focus-visible{background:#1c3a4a;border-color:#8cdee5}
@media(max-width:600px){#nexoGuestClose{top:12px;right:12px}}