*{box-sizing:border-box}body{margin:0;background:#050d18;color:#eaf5ff;font-family:Inter,Segoe UI,Arial,sans-serif}body:before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 0%,rgba(0,158,255,.035) 50%,transparent 100%),repeating-linear-gradient(90deg,transparent 0 99px,rgba(36,124,189,.055) 100px)}.logo{font-size:29px;font-weight:850;letter-spacing:5px;color:white}.logo span,h1 span{color:#16b8ff}.login-layout{min-height:100vh;display:grid;place-items:center;padding:30px;overflow:hidden;position:relative}.orb{position:absolute;width:650px;height:650px;border-radius:50%;border:1px solid rgba(34,173,255,.15);background:radial-gradient(circle at 45% 35%,rgba(17,123,202,.19),transparent 60%),repeating-radial-gradient(circle,transparent 0 40px,rgba(24,144,232,.10) 41px 42px);box-shadow:0 0 180px rgba(0,140,255,.12);animation:spin 90s linear infinite;z-index:-1}@keyframes spin{to{transform:rotate(360deg)}}.login-card{width:min(100%,430px);padding:46px;background:rgba(9,24,43,.94);border:1px solid #1c3a56;border-radius:18px;box-shadow:0 24px 110px #0009}.eyebrow,.nav-label,.stat-label{font-size:11px;letter-spacing:2px;color:#46bdf7;font-weight:700}.login-card .logo{margin:24px 0 8px;font-size:42px}.login-card p,.subtitle,.panel p{color:#91a8c0}.login-card form{margin-top:34px}.login-card label{font-size:11px;letter-spacing:1.4px;color:#b4cbe1;display:block;margin-bottom:12px}.login-card input{width:100%;padding:16px;border:1px solid #284660;background:#091729;color:white;border-radius:9px;font-size:15px;outline:none}.login-card input:focus{border-color:#15aaff;box-shadow:0 0 0 3px #0b88e329}.login-card button{margin-top:17px;width:100%;border:0;background:linear-gradient(100deg,#007ed0,#10b9f7);padding:16px;color:white;border-radius:9px;cursor:pointer;font-weight:750;letter-spacing:1px}.login-card button span{float:right}.foot{margin-top:35px;text-align:center;color:#69849d;font-size:11px;letter-spacing:1.4px}.dot{display:inline-block;background:#21d79c;border-radius:50%;width:7px;height:7px}.error{background:#4a1926;border:1px solid #a93a52;border-radius:8px;padding:12px;font-size:13px;margin:18px 0}.shell{display:flex;min-height:100vh}.sidebar{width:260px;flex-shrink:0;background:#091827;border-right:1px solid #19344d;padding:30px 20px;display:flex;flex-direction:column}.sidebar .logo{font-size:24px;margin-bottom:55px}.nav-label{margin:0 12px 17px;color:#5e809d}.nav{padding:15px 13px;color:#a4bdd3;text-decoration:none;border-radius:9px;font-size:14px;margin-bottom:5px}.nav.active{color:#eaf9ff;background:#103a5a;border-left:2px solid #12b4ff}.nav.disabled{opacity:.5}.nav small{float:right;font-size:9px}.logout{margin-top:auto}.logout button{background:transparent;color:#a8c7de;border:1px solid #2b4861;padding:12px;border-radius:8px;width:100%;cursor:pointer}.main{padding:45px 55px;flex:1;max-width:1400px}.top{display:flex;justify-content:space-between;font-size:11px;letter-spacing:1.6px;color:#7594b0}.online{color:#41d7a5}h1{font-size:clamp(30px,4vw,46px);margin:70px 0 5px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:45px 0}.stats article,.panel{border:1px solid #203e59;background:#0c1e30;border-radius:13px;padding:26px}.stats strong{display:block;font-size:36px;margin-top:20px}.stats p{font-size:12px;color:#7793ab}.panel{padding:35px}.panel h2{font-size:25px}.tag{display:inline-block;margin-top:20px;color:#4abffb;background:#0d3654;padding:9px 12px;border-radius:6px;font-size:11px;letter-spacing:1px}.simple{padding:50px}@media(max-width:750px){.shell{display:block}.sidebar{width:100%;padding:20px}.sidebar .logo{margin-bottom:18px}.sidebar .nav-label,.sidebar .nav.disabled{display:none}.main{padding:25px}.stats{grid-template-columns:1fr}h1{margin-top:40px}.top{gap:10px;flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.orb{animation:none}}

/* AVQEN v0.1.1 — black-first hybrid futuristic theme */
body{background:#030405;color:#e9edf2}
body:before{background:repeating-linear-gradient(90deg,transparent 0 119px,rgba(28,104,160,.025) 120px)}
.nexus-login .login-layout{min-height:100svh;padding:28px 18px;background:radial-gradient(ellipse at 50% 32%,rgba(0,91,161,.055),transparent 55%),#030405}
.login-grid{position:absolute;inset:0;pointer-events:none;opacity:.3;background-image:linear-gradient(rgba(34,108,163,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(34,108,163,.06) 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(to bottom,transparent,#000 45%,transparent)}
.login-content{width:min(100%,700px);position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}
.login-brand{width:min(100%,660px);margin:0 auto -6px;position:relative}
.login-brand img{display:block;width:100%;height:auto;filter:brightness(.8);animation:brand-float 13s ease-in-out infinite}
.nexus-login .login-card{width:min(100%,590px);padding:28px clamp(18px,5vw,46px) 32px;background:rgba(4,7,11,.92);border:1px solid #17405a;border-radius:18px;box-shadow:0 20px 70px #000a,0 0 50px #005a9910}
.login-card-heading{display:flex;align-items:center;gap:16px;justify-content:center;margin-bottom:30px}
.login-card-heading h1{margin:0;font-size:12px;letter-spacing:4px;font-weight:650;white-space:nowrap;color:#c8d4df}
.login-line{height:1px;flex:1;max-width:75px;background:linear-gradient(90deg,transparent,#008de0)}
.login-line:last-child{transform:rotate(180deg)}
.pin-inputs{display:flex;gap:clamp(6px,1.8vw,14px);justify-content:center}
.nexus-login .pin-digit{width:min(14%,62px);height:66px;min-width:0;padding:0;text-align:center;border:1px solid #263847;background:#070b10;color:#dcebf5;font-size:28px;border-radius:10px;outline:0;transition:border-color .2s,box-shadow .2s}
.nexus-login .pin-digit:focus{border-color:#149be7;box-shadow:0 0 0 2px #0b84d325}
.nexus-login .unlock-btn{margin:32px auto 0;display:flex;justify-content:space-between;align-items:center;gap:15px;max-width:440px;width:100%;background:#050a0f;border:1px solid #008ed9;color:#dceaf5;padding:17px 22px;border-radius:10px;box-shadow:inset 0 0 16px #008cfa0b;letter-spacing:2px;transition:background .2s,border-color .2s}
.nexus-login .unlock-btn:hover{background:#091827;border-color:#38b8ff}
.login-status{margin-top:23px;color:#627584;letter-spacing:1.8px;font-size:10px;text-align:center}
.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#31b78d;margin-right:8px}
.status-separator{margin:0 9px;color:#35506a}
.pin-shake{animation:pin-shake .25s ease-in-out}
@keyframes pin-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@keyframes brand-float{50%{transform:translateY(-5px)}}
.sidebar{background:#080a0d;border-right-color:#1a2730}
.nav.active{background:#0c1822;border-left-color:#149be7}
.stats article,.panel{background:#0b0e12;border-color:#1d2a34}
@media(max-width:500px){.login-card-heading h1{font-size:10px;letter-spacing:2px}.nexus-login .pin-digit{height:53px;font-size:23px}.login-brand{margin-bottom:8px}.nexus-login .login-card{padding:24px 15px}}
@media(prefers-reduced-motion:reduce){.login-brand img{animation:none}.pin-shake{animation:none}}
\n.dashboard-brand{width:210px;margin:-12px 0 20px}.dashboard-brand img{display:block;width:100%;filter:brightness(.8)}\n
/* v0.1.2: black background, darkened earth, compact transparent branding */
.nexus-login .login-layout{isolation:isolate;background:#020305;min-height:100svh}
.nexus-login .login-layout::before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:url('/assets/images/nexus-earth-dark.webp') center 12%/cover no-repeat;opacity:.85}
.nexus-login .login-layout::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(to bottom,#02030533 0%,#02030588 55%,#020305 100%)}
.login-grid{z-index:-1;opacity:.13}
.login-content{padding-top:25px}
.login-brand{width:250px;height:132px;margin:0 auto 28px;display:grid;place-items:center;position:relative;isolation:isolate}
.login-brand::before{content:"";position:absolute;left:50%;top:47%;width:126px;height:126px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid #0d5681;background:radial-gradient(circle at 40% 35%,#0c2941 0%,#06101b 50%,#010407 80%);box-shadow:inset -18px -10px 20px #000,0 0 25px #0078bb24}
.login-brand::after{content:"";position:absolute;left:50%;top:47%;width:122px;height:122px;transform:translate(-50%,-50%);border-radius:50%;background:repeating-linear-gradient(0deg,transparent 0 16px,#247aa51b 17px 18px),repeating-linear-gradient(90deg,transparent 0 19px,#247aa51b 20px 21px);clip-path:circle(49%);opacity:.75}
.brand-orbit{position:absolute;left:50%;top:47%;width:190px;height:50px;transform:translate(-50%,-50%) rotate(-23deg);border:2px solid #0879b4;border-radius:50%;box-shadow:0 0 10px #009dff28;z-index:2;animation:orbit-breathe 8s ease-in-out infinite}
.brand-word{z-index:3;position:relative;font-size:39px;font-weight:900;letter-spacing:4px;line-height:1;color:#e0e5ed;text-shadow:0 2px 1px #4e5866,0 5px 10px #000;transform:scaleX(1.05)}
.nexus-login .login-card{background:#040609e8;border-color:#143248;box-shadow:0 22px 70px #000c}
.login-card-heading h1{font-size:11px;letter-spacing:2.8px}
.nexus-login .unlock-btn{box-shadow:none}
@keyframes orbit-breathe{50%{opacity:.65;filter:brightness(.8)}}
@media(max-width:500px){.login-brand{margin-bottom:16px}.login-card-heading h1{font-size:9px;letter-spacing:1.3px}.login-card-heading{gap:7px}}
@media(prefers-reduced-motion:reduce){.brand-orbit{animation:none}}

.dashboard-brand{display:flex;align-items:center;gap:9px;color:#e2e7ee;font-weight:850;letter-spacing:3px;font-size:21px;margin:0 0 40px;width:auto}.dashboard-globe{font-size:28px;color:#159cda}

/* v0.1.3: background Earth and independent transparent SVG wordmark */
.nexus-login .login-layout{background:#010305;isolation:isolate}
.nexus-login .login-layout::before{background:url('/assets/images/nexus-earth-background.webp') center center/cover no-repeat;opacity:.82;z-index:-2}
.nexus-login .login-layout::after{background:linear-gradient(90deg,#010305b8,transparent 25%,transparent 75%,#010305b8),linear-gradient(to bottom,#01030520,#01030530 42%,#010305d9 100%);z-index:-1}
.login-content{padding-top:0}
.login-brand{width:min(100%,320px);height:auto;min-height:126px;margin:0 auto 15px;display:block}
.login-brand::before,.login-brand::after{display:none}
.login-brand img{width:100%;height:auto;display:block;filter:drop-shadow(0 4px 12px #0009);animation:none}
.nexus-login .login-card{background:#020509ed;border:1px solid #1b4b69;box-shadow:0 22px 65px #000d,0 0 24px #007cba12}
.nexus-login .unlock-btn{justify-content:space-between;cursor:pointer}
.lock-icon{width:19px;height:19px;flex-shrink:0;color:#49bafa}
.login-status{color:#879aab}
@media(max-width:600px){.nexus-login .login-layout::before{background-size:auto 100%;opacity:.45}.login-brand{width:240px;min-height:92px}}

/* v0.1.4: real frosted glass, with backdrop visible through the card */
.nexus-login .login-card{background:rgba(3,7,12,.67)!important;backdrop-filter:blur(16px) saturate(115%);-webkit-backdrop-filter:blur(16px) saturate(115%);border:1px solid rgba(32,121,178,.48);box-shadow:0 25px 85px rgba(0,0,0,.55),inset 0 1px rgba(112,194,255,.08)}
.nexus-login .login-layout::after{background:linear-gradient(90deg,#01030580,transparent 30%,transparent 70%,#01030580),linear-gradient(to bottom,#01030510,#01030530 55%,#010305c0 100%)}

/* v0.1.5 — centered red login error alert */
.nexus-alert-backdrop{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.74);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.nexus-alert{width:min(100%,420px);padding:34px 30px 30px;text-align:center;background:linear-gradient(155deg,#210c12,#0e090c 75%);border:1px solid #b83a4b;border-radius:16px;box-shadow:0 0 0 1px #ff536014,0 22px 85px #000d,0 0 45px #a11e2a20;color:#f8e7e9;animation:nexus-alert-in .2s ease-out}
.nexus-alert-icon{width:64px;height:64px;margin:0 auto 15px;display:grid;place-items:center;border-radius:50%;background:#7e1e2a36;border:1px solid #bb4b59;color:#ff6c7a}
.nexus-alert-icon svg{width:36px;height:36px}
.nexus-alert h2{margin:0;font-size:17px;letter-spacing:3px;color:#ff7382}
.nexus-alert p{font-size:14px;line-height:1.5;margin:14px 0 25px;color:#e8cbd0}
.nexus-alert-close{width:100%;padding:13px 18px;background:#4b1822;border:1px solid #b83a4b;border-radius:8px;color:#fff;font-size:12px;font-weight:700;letter-spacing:1.8px;cursor:pointer;transition:background .2s}
.nexus-alert-close:hover,.nexus-alert-close:focus-visible{background:#782532;outline:2px solid #d25d69;outline-offset:2px}
@keyframes nexus-alert-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.nexus-alert{animation:none}}

/* v0.1.6 — horizontal expanding cyber security alert; auto-dismiss */
.nexus-alert-backdrop{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.55);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);animation:security-veil-in .25s ease-out both}
.nexus-alert{position:relative;width:min(100%,630px);overflow:hidden;padding:23px 30px 19px;text-align:left;border:1px solid #c72b39;border-radius:2px;background:linear-gradient(105deg,rgba(19,5,8,.97),rgba(5,7,10,.97));box-shadow:0 0 0 1px #5b111c70,0 22px 80px #000c,0 0 30px #bd14201c;color:#f5e9eb;transform-origin:center;animation:security-expand .48s cubic-bezier(.17,.78,.21,1) both}
.nexus-alert::before,.nexus-alert::after{content:"";position:absolute;width:20px;height:20px;pointer-events:none}
.nexus-alert::before{top:0;left:0;border-top:3px solid #ff344c;border-left:3px solid #ff344c}
.nexus-alert::after{right:0;bottom:0;border-right:3px solid #ff344c;border-bottom:3px solid #ff344c}
.nexus-alert-meta,.nexus-alert-footer{font-family:Consolas,monospace;font-size:10px;letter-spacing:1.5px;color:#b45d68}
.nexus-alert-meta span,.nexus-alert-footer span{color:#e23e50;margin:0 8px}
.nexus-alert-rule{height:2px;margin:12px 0 20px;background:repeating-linear-gradient(90deg,#d91f34 0 18px,transparent 18px 25px);opacity:.8}
.nexus-alert-body{display:flex;gap:23px;align-items:center;min-height:105px}
.nexus-alert-symbol{width:68px;height:68px;flex-shrink:0;color:#ff3349;filter:drop-shadow(0 0 9px #ed1b3440)}
.nexus-alert h2{margin:0 0 10px;font-family:Consolas,'Segoe UI',sans-serif;font-size:clamp(23px,4vw,37px);line-height:1.08;letter-spacing:4px;color:#ff354c;text-shadow:0 0 18px #e92a3a44;font-weight:850}
.nexus-alert p{margin:0;font-size:13px;line-height:1.4;color:#d3a8ae;letter-spacing:.5px}
.nexus-alert-progress{height:2px;background:#381016;margin:20px 0 13px;overflow:hidden}
.nexus-alert-progress span{display:block;width:100%;height:100%;background:#fa3047;transform-origin:left;animation:security-countdown 3.5s linear forwards}
.nexus-alert-footer{font-size:9px;color:#78505a}
.nexus-alert-backdrop.is-closing{animation:security-veil-out .28s ease-in forwards;pointer-events:none}
.nexus-alert-backdrop.is-closing .nexus-alert{animation:security-collapse .28s ease-in forwards}
@keyframes security-expand{0%{opacity:0;transform:scaleX(.02) scaleY(.9)}45%{opacity:1}100%{opacity:1;transform:scaleX(1) scaleY(1)}}
@keyframes security-collapse{to{opacity:0;transform:scaleX(.02) scaleY(.9)}}
@keyframes security-veil-in{from{opacity:0}to{opacity:1}}
@keyframes security-veil-out{to{opacity:0}}
@keyframes security-countdown{to{transform:scaleX(0)}}
@media(max-width:540px){.nexus-alert{padding:19px 16px}.nexus-alert-body{gap:12px}.nexus-alert-symbol{width:43px;height:43px}.nexus-alert h2{font-size:22px;letter-spacing:1.5px}.nexus-alert-meta{font-size:8px;letter-spacing:.7px}}
@media(prefers-reduced-motion:reduce){.nexus-alert,.nexus-alert-backdrop,.nexus-alert-backdrop.is-closing,.nexus-alert-backdrop.is-closing .nexus-alert{animation:none}.nexus-alert-progress span{animation:none}}

/* v0.1.7 — extended alert and red diagonal security stripes */
.nexus-alert-rule{
  height:11px;
  margin:13px 0 18px;
  border-top:1px solid #ff435455;
  border-bottom:1px solid #ff435455;
  background:repeating-linear-gradient(125deg,#f22d42 0 8px,#9e1327 8px 12px,transparent 12px 19px);
  opacity:.9;
  box-shadow:0 0 13px #fa25302b;
}
.nexus-alert-progress{
  height:10px;
  margin:18px 0 12px;
  background:#320e15;
  border-top:1px solid #ff435433;
  border-bottom:1px solid #ff435433;
}
.nexus-alert-progress span{
  background:repeating-linear-gradient(125deg,#f22d42 0 8px,#9e1327 8px 12px,transparent 12px 19px);
  animation:security-countdown 5.5s linear forwards;
  box-shadow:0 0 12px #e9213a45;
}

/* v0.1.8 — warning stripes integrated into TOP and BOTTOM borders only */
.nexus-alert{
  padding-top:32px;
  padding-bottom:28px;
  background:
    repeating-linear-gradient(125deg,#ed2941 0 8px,#811425 8px 12px,transparent 12px 19px) top / 100% 9px no-repeat,
    repeating-linear-gradient(125deg,#ed2941 0 8px,#811425 8px 12px,transparent 12px 19px) bottom / 100% 9px no-repeat,
    linear-gradient(105deg,rgba(19,5,8,.97),rgba(5,7,10,.97));
}
.nexus-alert-rule{display:none}
.nexus-alert-progress{height:2px;margin:18px 0 12px;background:#381016;border:0;box-shadow:none}
.nexus-alert-progress span{background:#fa3047;animation:security-countdown 5.5s linear forwards;box-shadow:none}
@media(max-width:540px){.nexus-alert{padding-top:28px;padding-bottom:24px}}

/* v0.1.9 — remove solid outer outline/corner brackets; interrupted red side rails */
.nexus-alert{
  border:0;
  border-radius:0;
  box-shadow:0 22px 80px #000c,0 0 30px #bd14201c;
  background:
    repeating-linear-gradient(125deg,#ed2941 0 8px,#811425 8px 12px,transparent 12px 19px) top / 100% 9px no-repeat,
    repeating-linear-gradient(125deg,#ed2941 0 8px,#811425 8px 12px,transparent 12px 19px) bottom / 100% 9px no-repeat,
    repeating-linear-gradient(to bottom,rgba(220,37,56,.78) 0 15px,transparent 15px 26px) left 9px / 1px calc(100% - 18px) no-repeat,
    repeating-linear-gradient(to bottom,rgba(220,37,56,.78) 0 15px,transparent 15px 26px) right 9px / 1px calc(100% - 18px) no-repeat,
    linear-gradient(105deg,rgba(19,5,8,.97),rgba(5,7,10,.97));
}
.nexus-alert::before,.nexus-alert::after{display:none!important;content:none!important}

/* AVQEN v0.2.0 — deeper, stronger security red */
.nexus-alert{
  box-shadow:0 22px 80px #000d,0 0 34px #e0001d35;
  background:
    repeating-linear-gradient(125deg,#ff172c 0 8px,#a00016 8px 12px,transparent 12px 19px) top / 100% 9px no-repeat,
    repeating-linear-gradient(125deg,#ff172c 0 8px,#a00016 8px 12px,transparent 12px 19px) bottom / 100% 9px no-repeat,
    repeating-linear-gradient(to bottom,#f30b27 0 15px,transparent 15px 26px) left 9px / 1px calc(100% - 18px) no-repeat,
    repeating-linear-gradient(to bottom,#f30b27 0 15px,transparent 15px 26px) right 9px / 1px calc(100% - 18px) no-repeat,
    linear-gradient(105deg,rgba(22,2,6,.98),rgba(7,4,7,.98));
}
.nexus-alert h2{color:#ff1935;text-shadow:0 0 16px #ff102e55}
.nexus-alert-symbol{color:#ff1830;filter:drop-shadow(0 0 12px #f0003077)}
.nexus-alert-meta span,.nexus-alert-footer span{color:#ff263b}
.nexus-alert-progress span{background:#ff1735}

/* AVQEN v0.2.1 — clickable alert; retain current security border design */
.nexus-alert-backdrop:not(.is-closing){cursor:pointer}
.nexus-alert-backdrop:not(.is-closing) .nexus-alert{cursor:pointer}


/* AVQEN v0.2.2 — actual security-alert redesign, overrides legacy layers */
.nexus-alert-backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.nexus-alert{
  width:min(94vw,690px);padding:37px clamp(22px,5vw,43px) 31px;
  color:#fff1f2;border:0!important;border-radius:0!important;
  background:
    repeating-linear-gradient(125deg,#ff243b 0 10px,#8e0014 10px 14px,transparent 14px 22px) top center/100% 10px no-repeat,
    repeating-linear-gradient(125deg,#ff243b 0 10px,#8e0014 10px 14px,transparent 14px 22px) bottom center/100% 10px no-repeat,
    repeating-linear-gradient(to bottom,#ff233c 0 16px,transparent 16px 26px) left 10px/2px calc(100% - 20px) no-repeat,
    repeating-linear-gradient(to bottom,#ff233c 0 16px,transparent 16px 26px) right 10px/2px calc(100% - 20px) no-repeat,
    linear-gradient(115deg,#160306 0%,#080507 62%,#110307 100%)!important;
  box-shadow:0 28px 100px #000e,0 0 65px #f000242b,inset 0 0 45px #9c001019!important;
  animation:security-expand .5s cubic-bezier(.17,.78,.21,1) both;
}
.nexus-alert::before,.nexus-alert::after{display:none!important;content:none!important}
.nexus-alert-meta{font-family:Consolas,monospace;font-size:11px;letter-spacing:1.9px;font-weight:700;color:#ff6676}
.nexus-alert-meta span,.nexus-alert-footer span{color:#ff263c}
.nexus-alert-rule{display:none!important}
.nexus-alert-body{display:flex;gap:24px;align-items:center;min-height:145px;padding:20px 0 14px}
.nexus-alert-symbol{width:88px;height:88px;color:#ff253c;filter:drop-shadow(0 0 16px #ff001f78)}
.nexus-alert-symbol path:first-child{fill:#a90020;stroke:#ff3b4f;stroke-width:2}
.nexus-alert-symbol path:last-child{stroke:#fff0f1;stroke-width:5}
.nexus-alert h2{font-family:Consolas,'Arial Black',sans-serif;font-size:clamp(27px,5.1vw,48px);font-weight:900;line-height:1.05;letter-spacing:2.5px;color:#ff2339;text-shadow:0 0 9px #ff092b80,0 0 29px #ed001c55;margin:0 0 13px}
.nexus-alert p{font-family:Consolas,monospace;font-size:13px;color:#ef9ca6;letter-spacing:1px;margin:0}
.nexus-alert-progress{height:2px;background:#5d101b;margin:13px 0 15px;border:0;box-shadow:none}
.nexus-alert-progress span{background:#ff2c44;box-shadow:0 0 12px #ff213f;animation:security-countdown 5.5s linear forwards}
.nexus-alert-footer{font-family:Consolas,monospace;color:#a65d67;font-size:10px;letter-spacing:1.6px}
.nexus-alert-backdrop.is-closing .nexus-alert{animation:security-collapse .28s ease-in forwards}
@media(max-width:540px){.nexus-alert{padding:32px 18px 27px}.nexus-alert-body{gap:13px;min-height:115px}.nexus-alert-symbol{width:55px;height:55px}.nexus-alert h2{font-size:clamp(22px,6vw,30px);letter-spacing:1px}.nexus-alert-meta{font-size:8px;letter-spacing:.5px}}
@media(prefers-reduced-motion:reduce){.nexus-alert,.nexus-alert-backdrop.is-closing .nexus-alert{animation:none}}

/* v0.2.3 — remove residual white outlines, including SVG symbol outline */
.nexus-login .nexus-alert,
.nexus-login .nexus-alert:focus,
.nexus-login .nexus-alert:focus-visible {
  border:none!important; outline:none!important; border-radius:0!important;
  box-shadow:0 28px 100px #000e,0 0 48px #e000222e!important;
}
.nexus-login .nexus-alert::before,.nexus-login .nexus-alert::after{content:none!important;display:none!important}
.nexus-login .nexus-alert-symbol path:first-child{fill:#b4001b!important;stroke:#ff263e!important}
.nexus-login .nexus-alert-symbol path:last-child{stroke:#ff263e!important}
.nexus-login .nexus-alert-body,.nexus-login .nexus-alert-meta,.nexus-login .nexus-alert-footer{border:0!important;outline:0!important}

/* AVQEN v0.2.4 — matching vivid-red border rails and refined alert icon */
.nexus-login .nexus-alert{
  background:
    repeating-linear-gradient(125deg,#ff243b 0 10px,#8e0014 10px 14px,transparent 14px 22px) top center/100% 10px no-repeat,
    repeating-linear-gradient(125deg,#ff243b 0 10px,#8e0014 10px 14px,transparent 14px 22px) bottom center/100% 10px no-repeat,
    repeating-linear-gradient(to bottom,#ff243b 0 16px,transparent 16px 26px) left 10px/2px calc(100% - 20px) no-repeat,
    repeating-linear-gradient(to bottom,#ff243b 0 16px,transparent 16px 26px) right 10px/2px calc(100% - 20px) no-repeat,
    linear-gradient(115deg,#160306 0%,#080507 62%,#110307 100%)!important;
}
.nexus-login .nexus-alert-symbol{
  color:#ff243b;
  filter:drop-shadow(0 0 8px rgba(255,36,59,.45));
}
.nexus-login .nexus-alert-symbol path:first-child{
  fill:#27050c!important;
  stroke:#ff243b!important;
  stroke-width:2.2;
}
.nexus-login .nexus-alert-symbol path:last-child{
  stroke:#ff334b!important;
  stroke-width:3.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* v0.2.5: white X, red octagonal outline */
.nexus-login .nexus-alert-symbol path:last-child{stroke:#ffffff!important;filter:drop-shadow(0 0 3px #ffffff44)}

/* AVQEN v0.2.6 — restrained matte security red, no neon glow */
.nexus-login .nexus-alert,
.nexus-login .nexus-alert:focus,
.nexus-login .nexus-alert:focus-visible {
  box-shadow:0 24px 65px rgba(0,0,0,.72)!important;
  background:
    repeating-linear-gradient(125deg,#a91529 0 10px,#590914 10px 14px,transparent 14px 22px) top center/100% 10px no-repeat,
    repeating-linear-gradient(125deg,#a91529 0 10px,#590914 10px 14px,transparent 14px 22px) bottom center/100% 10px no-repeat,
    repeating-linear-gradient(to bottom,#a91529 0 16px,transparent 16px 26px) left 10px/2px calc(100% - 20px) no-repeat,
    repeating-linear-gradient(to bottom,#a91529 0 16px,transparent 16px 26px) right 10px/2px calc(100% - 20px) no-repeat,
    linear-gradient(115deg,#100205,#070406 62%,#0d0305 100%)!important;
}
.nexus-login .nexus-alert h2{color:#b51c30!important;text-shadow:none!important}
.nexus-login .nexus-alert-symbol{color:#b51c30!important;filter:none!important}
.nexus-login .nexus-alert-symbol path:first-child{fill:#18050a!important;stroke:#a91529!important}
.nexus-login .nexus-alert-symbol path:last-child{stroke:#e5e7eb!important;filter:none!important}
.nexus-login .nexus-alert p{color:#d6d8df!important;text-shadow:none!important}
.nexus-login .nexus-alert-meta{color:#b74d5d!important}
.nexus-login .nexus-alert-progress{background:#3a0c15!important;box-shadow:none!important}
.nexus-login .nexus-alert-progress span{background:#a91529!important;box-shadow:none!important}

/* v0.2.7: matte-red countdown aligned to the right of progress */
.nexus-login .nexus-alert-timer-row{display:flex;align-items:center;gap:14px;margin:20px 0 13px}
.nexus-login .nexus-alert-timer-row .nexus-alert-progress{flex:1;min-width:0;margin:0!important;height:2px;overflow:hidden}
.nexus-login .nexus-alert-timer-row .nexus-alert-progress span{animation:none!important;transform:scaleX(1);transform-origin:left}
.nexus-login .nexus-alert-seconds{min-width:42px;text-align:right;color:#d6d8df;font:12px Consolas,monospace;font-variant-numeric:tabular-nums;letter-spacing:.4px}


/* AVQEN v0.3.1 — completed cinematic login presentation (scoped to login only) */
.nexus-login .login-layout{position:relative;isolation:isolate;min-height:100svh;overflow:hidden;background:#010306;padding:40px 20px}
.nexus-login .login-layout::before{content:"";position:absolute;inset:-4%;z-index:-3;pointer-events:none;background:url('/assets/images/nexus-earth-background.webp') center 41%/cover no-repeat;opacity:1;transform:scale(1.055);animation:nexus-earth-drift 24s ease-in-out infinite alternate}
.nexus-login .login-layout::after{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,#01030699,transparent 20%,transparent 80%,#01030699),linear-gradient(to bottom,#01030605 0%,#01030613 35%,#0103067a 75%,#010306 100%)}
.nexus-login .login-grid{position:absolute;inset:0;z-index:-1;opacity:.36;pointer-events:none;background-image:linear-gradient(rgba(36,145,211,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(36,145,211,.08) 1px,transparent 1px);background-size:76px 76px;mask-image:linear-gradient(to bottom,transparent 5%,#000 48%,transparent 95%);animation:nexus-grid-drift 24s linear infinite}
.nexus-login .login-content{position:relative;z-index:2;width:min(100%,780px);padding:18px 0 0;animation:nexus-login-appear .95s ease-out both}
.nexus-login .login-brand{width:min(100%,520px);height:auto;min-height:0;margin:0 auto 22px;position:relative;display:block}
.nexus-login .login-brand::before,.nexus-login .login-brand::after{display:none!important}
.nexus-login .login-brand img{display:block;width:100%;height:auto;filter:drop-shadow(0 12px 22px rgba(0,0,0,.75));animation:nexus-logo-hover 8s ease-in-out infinite!important}
.nexus-login .login-card{width:min(100%,590px);padding:33px clamp(20px,5vw,47px) 36px;background:rgba(2,8,15,.66)!important;border:1px solid rgba(65,133,176,.48);border-radius:18px;backdrop-filter:blur(18px) saturate(112%);-webkit-backdrop-filter:blur(18px) saturate(112%);box-shadow:0 26px 90px rgba(0,0,0,.72),inset 0 1px rgba(145,204,241,.09)}
.nexus-login .login-card-heading h1{color:#cbd8e4;font-size:11px;letter-spacing:3px}
.nexus-login .login-status{margin-top:24px}
.nexus-login .login-layout .nexus-ambient{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.nexus-login .nexus-ambient::before{content:"";position:absolute;left:-35%;top:47%;width:170%;height:1px;background:linear-gradient(90deg,transparent,rgba(19,138,207,.22),transparent);transform:rotate(-13deg);animation:nexus-scan 11s ease-in-out infinite}
.nexus-login .nexus-ambient::after{content:"";position:absolute;inset:22px;border:1px solid rgba(33,116,165,.16);clip-path:polygon(0 0,100% 0,100% 100%,0 100%);opacity:.8}
@keyframes nexus-earth-drift{from{transform:scale(1.055) translate3d(-.8%,0,0)}to{transform:scale(1.11) translate3d(.8%,.6%,0)}}
@keyframes nexus-grid-drift{to{background-position:76px 76px}}
@keyframes nexus-logo-hover{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes nexus-login-appear{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes nexus-scan{0%,100%{opacity:.15;transform:translateY(-80px) rotate(-13deg)}50%{opacity:.6;transform:translateY(110px) rotate(-13deg)}}
@media(max-width:650px){.nexus-login .login-layout{padding:20px 14px}.nexus-login .login-layout::before{background-position:53% 20%;background-size:auto 100%;opacity:.74}.nexus-login .login-brand{width:min(100%,340px);margin-bottom:12px}.nexus-login .login-card{padding:24px 17px}.nexus-login .login-card-heading h1{font-size:9px;letter-spacing:1.5px}}
@media(prefers-reduced-motion:reduce){.nexus-login .login-layout::before,.nexus-login .login-grid,.nexus-login .login-content,.nexus-login .login-brand img,.nexus-login .nexus-ambient::before{animation:none!important}}

/* AVQEN v0.3.2 — monochrome animated globe; preserve security alert */
.nexus-login .login-layout{background:#010203!important;isolation:isolate;min-height:100svh;padding:clamp(24px,4vh,44px) 20px!important;display:grid;place-items:center;overflow:hidden}
.nexus-login .login-layout::before{content:none!important;display:none!important}
.nexus-login .login-layout::after{z-index:0!important;background:linear-gradient(90deg,#000a,transparent 19%,transparent 81%,#000a),linear-gradient(to bottom,#0002 0%,transparent 30%,#0002 70%,#000b 100%)!important}
.nexus-login .nexus-earth-canvas,.nexus-login .nexus-orbits-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;display:block}
.nexus-login .nexus-earth-canvas{z-index:-2}
.nexus-login .nexus-orbits-canvas{z-index:-1;opacity:.8}
.nexus-login .login-grid{z-index:0!important;opacity:.07!important;animation:none!important;background-size:100px 100px}
.nexus-login .nexus-ambient{z-index:0!important}
.nexus-login .nexus-ambient::before{opacity:.2!important}
.nexus-login .nexus-ambient::after{display:none!important}
.nexus-login .nexus-frame{position:absolute;inset:3.8% 1.6%;z-index:1;pointer-events:none;opacity:.72;clip-path:polygon(2.7% 0,97.3% 0,100% 5.2%,100% 94.8%,97.3% 100%,2.7% 100%,0 94.8%,0 5.2%);border:1px solid rgba(115,151,173,.3);box-shadow:inset 0 0 0 1px rgba(22,133,187,.08)}
.nexus-login .login-content{z-index:3!important;width:min(100%,720px)!important;padding:0!important;animation:nexus-login-appear .9s ease-out both}
.nexus-login .login-brand{width:min(100%,455px)!important;margin:0 auto 5px!important}
.nexus-login .login-brand img{width:100%;filter:drop-shadow(0 8px 17px #000d)!important;animation:nexus-logo-hover 10s ease-in-out infinite!important}
.nexus-login .login-card{width:min(100%,610px)!important;background:rgba(2,5,9,.72)!important;border:1px solid rgba(137,171,193,.65)!important;border-radius:22px!important;padding:29px clamp(20px,5vw,48px) 36px!important;box-shadow:0 25px 85px #000c,inset 0 1px #ffffff14,0 0 18px #4d9aca16!important;backdrop-filter:blur(15px) saturate(80%);-webkit-backdrop-filter:blur(15px) saturate(80%)}
.nexus-login .login-card-heading h1{color:#e5e9ee!important;font-size:12px!important;letter-spacing:3.6px!important}
.nexus-login .login-line{background:linear-gradient(90deg,transparent,#8ea5b4)!important}
.nexus-login .pin-digit{border-color:#526674!important;background:rgba(2,5,8,.8)!important;color:#fff!important}
.nexus-login .pin-digit:focus{border-color:#a6cfe6!important;box-shadow:0 0 0 2px #7cb2d126!important}
.nexus-login .unlock-btn{border:1px solid #368eb9!important;background:rgba(3,8,13,.82)!important;box-shadow:inset 0 0 0 1px #ffffff08!important;color:#f1f5f8!important}
.nexus-login .unlock-btn:hover{border-color:#a6d6f1!important;background:#0b1821!important}
.nexus-login .lock-icon{color:#92c4de!important}
.nexus-login .login-status{color:#8e9aa4!important}
.nexus-login .status-dot{background:#2e9dc9!important}
@media(max-width:650px){.nexus-login .login-brand{width:min(100%,340px)!important;margin-bottom:8px!important}.nexus-login .login-card{padding:24px 15px!important}.nexus-login .login-card-heading h1{font-size:9px!important;letter-spacing:1.2px!important}.nexus-login .nexus-frame{inset:12px}}
@media(prefers-reduced-motion:reduce){.nexus-login .login-brand img,.nexus-login .login-content{animation:none!important}}

/* AVQEN v0.3.3 — centered wireframe globe + integrated frosted-glass login */
.nexus-login .login-layout{background:radial-gradient(ellipse at 50% 48%,#0b1016 0%,#040609 49%,#010203 85%)!important}
.nexus-login .nexus-earth-canvas{z-index:0!important;opacity:.94;filter:drop-shadow(0 0 14px rgba(190,208,220,.19))}
.nexus-login .nexus-orbits-canvas{z-index:1!important;opacity:.95}
.nexus-login .login-layout::after{z-index:2!important;pointer-events:none;background:linear-gradient(90deg,#0006,transparent 25%,transparent 75%,#0006),linear-gradient(0deg,#0009,transparent 22%,transparent 80%,#0005)!important}
.nexus-login .login-grid{z-index:2!important;opacity:.025!important}
.nexus-login .nexus-ambient{z-index:2!important;opacity:.18!important}
.nexus-login .nexus-frame{z-index:3!important;opacity:.42!important}
.nexus-login .login-content{z-index:4!important;width:min(100%,640px)!important}
.nexus-login .login-card{width:min(100%,590px)!important;padding:32px clamp(20px,5vw,45px) 36px!important;background:rgba(5,9,14,.53)!important;border:1px solid rgba(171,191,205,.36)!important;border-radius:22px!important;backdrop-filter:blur(25px) saturate(75%)!important;-webkit-backdrop-filter:blur(25px) saturate(75%)!important;box-shadow:0 22px 70px #000b,inset 0 1px rgba(255,255,255,.11),0 0 20px rgba(140,176,198,.07)!important}
.nexus-login .login-brand{width:min(100%,310px)!important;margin:0 auto 8px!important}
.nexus-login .login-brand img{filter:drop-shadow(0 5px 14px #000d)!important;animation:none!important}
.nexus-login .login-card-heading{margin-top:2px}
.nexus-login .login-card-heading h1{font-size:10px!important;letter-spacing:2.6px!important}
.nexus-login .pin-digit{background:rgba(0,3,7,.52)!important}
.nexus-login .login-status{margin-top:20px!important}
@media(max-width:650px){.nexus-login .login-card{padding:24px 16px 29px!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}.nexus-login .login-brand{width:min(100%,235px)!important}.nexus-login .login-card-heading h1{font-size:9px!important;letter-spacing:1px!important}}

/* AVQEN v0.3.4 — black cinematic HUD atmosphere, full-viewport moving data field */
.nexus-login,.nexus-login .login-layout{background:#000!important}
.nexus-login .login-layout::after{background:linear-gradient(90deg,rgba(0,0,0,.12),transparent 24%,transparent 76%,rgba(0,0,0,.12))!important;opacity:.5!important}
.nexus-login .login-grid{opacity:0!important;display:none!important}
.nexus-login .nexus-ambient{opacity:.07!important}
.nexus-login .nexus-earth-canvas{opacity:.78!important;filter:drop-shadow(0 0 11px rgba(203,212,219,.12))!important}
.nexus-login .nexus-orbits-canvas{opacity:.88!important}
.nexus-login .login-card{background:rgba(0,0,0,.66)!important;border-color:rgba(166,176,185,.30)!important;backdrop-filter:blur(28px) saturate(65%)!important;-webkit-backdrop-filter:blur(28px) saturate(65%)!important;box-shadow:0 25px 75px #000e,inset 0 1px rgba(255,255,255,.08)!important}
.nexus-login .nexus-frame{opacity:.24!important}
.nexus-login .unlock-btn{border-color:#456779!important}
.nexus-login .lock-icon,.nexus-login .status-dot{color:#8cabbc!important}
@media(prefers-reduced-motion:reduce){.nexus-login .nexus-orbits-canvas{opacity:.6!important}}

/* AVQEN v0.3.7 — remove grid entirely; monochrome obsidian glass redesign */
.nexus-login .login-grid{display:none!important;opacity:0!important;background:none!important}
.nexus-login .login-layout{background:#000!important}
.nexus-login .login-content{z-index:4!important}
.nexus-login .login-card{
  position:relative!important;
  width:min(92vw,550px)!important;
  padding:34px clamp(23px,4vw,43px) 38px!important;
  background:rgba(0,0,0,.82)!important;
  border:1px solid rgba(210,218,224,.19)!important;
  border-radius:12px!important;
  backdrop-filter:blur(65px) brightness(.30) saturate(0)!important;
  -webkit-backdrop-filter:blur(65px) brightness(.30) saturate(0)!important;
  box-shadow:0 30px 100px rgba(0,0,0,.93),inset 0 1px 0 rgba(255,255,255,.075)!important;
  overflow:hidden;
}
.nexus-login .login-card::before{
  content:"";position:absolute;left:18%;right:18%;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(242,245,247,.68),transparent);
  pointer-events:none;
}
.nexus-login .login-brand{width:min(100%,315px)!important;margin:0 auto 10px!important}
.nexus-login .login-brand img{filter:grayscale(.45) brightness(.95)!important}
.nexus-login .login-card-heading{margin-bottom:26px!important;gap:13px!important}
.nexus-login .login-card-heading h1{color:#c9ced3!important;font-size:10px!important;letter-spacing:2.4px!important;font-weight:650!important}
.nexus-login .login-line{height:1px!important;background:linear-gradient(90deg,transparent,rgba(195,204,211,.33))!important}
.nexus-login .pin-inputs{gap:clamp(7px,1.25vw,11px)!important}
.nexus-login .pin-digit{
  height:57px!important;border-radius:6px!important;
  background:rgba(6,7,9,.94)!important;
  border:1px solid rgba(187,197,207,.26)!important;
  color:#f4f5f6!important;box-shadow:inset 0 1px 3px rgba(0,0,0,.7)!important;
  transition:border-color .2s,background .2s,box-shadow .2s!important;
}
.nexus-login .pin-digit:hover{border-color:rgba(220,226,232,.48)!important}
.nexus-login .pin-digit:focus{
  background:#0b0d10!important;border-color:rgba(229,235,240,.78)!important;
  box-shadow:0 0 0 2px rgba(235,240,245,.09)!important;
}
.nexus-login .unlock-btn{
  margin-top:26px!important;min-height:55px!important;
  border-radius:6px!important;background:rgba(17,19,22,.95)!important;
  border:1px solid rgba(200,208,215,.45)!important;
  color:#f0f2f4!important;font-size:12px!important;
  letter-spacing:2.2px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055)!important;
  transition:background .2s,border-color .2s,transform .2s!important;
}
.nexus-login .unlock-btn:hover{
  background:rgba(35,39,44,.97)!important;border-color:rgba(239,242,245,.82)!important;
}
.nexus-login .unlock-btn:active{transform:translateY(1px)}
.nexus-login .lock-icon{color:#c7ced4!important}
.nexus-login .login-status{color:#8a929a!important}
.nexus-login .status-dot{background:#a0a8af!important}
@media(max-width:650px){
 .nexus-login .login-card{padding:26px 18px 30px!important;backdrop-filter:blur(38px) brightness(.3) saturate(0)!important;-webkit-backdrop-filter:blur(38px) brightness(.3) saturate(0)!important}
 .nexus-login .login-brand{width:min(100%,270px)!important}
 .nexus-login .pin-digit{height:50px!important}
 .nexus-login .login-card-heading h1{font-size:9px!important;letter-spacing:1.1px!important}
}

/* AVQEN v0.3.8 — viewport-safe security backdrop and legible obsidian glass */
/* Backdrop now lives as a direct body child, outside animated/transformed login-content. */
body.nexus-login > .nexus-alert-backdrop{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  z-index:2147483000!important;
  padding:20px!important;
  background:rgba(0,0,0,.78)!important;
  backdrop-filter:blur(13px)!important;
  -webkit-backdrop-filter:blur(13px)!important;
}
/* Preserve animated scene behind the card, but allow it to show through the glass. */
.nexus-login .login-card{
  background:rgba(1,2,3,.57)!important;
  backdrop-filter:blur(42px) brightness(.75) saturate(0)!important;
  -webkit-backdrop-filter:blur(42px) brightness(.75) saturate(0)!important;
  border-color:rgba(196,205,214,.29)!important;
  box-shadow:0 28px 92px rgba(0,0,0,.8),inset 0 1px rgba(255,255,255,.075)!important;
}
.nexus-login .login-status{color:#aeb5bf!important;opacity:1!important;letter-spacing:1.8px!important}
.nexus-login .login-status .status-name{color:#38a9e0!important;font-weight:700!important}
.nexus-login .login-status .status-version{color:#adb4bd!important}
.nexus-login .login-status .status-separator{color:#65717e!important}
.nexus-login .login-status .status-dot{background:#38a9e0!important;opacity:1!important}
@media(max-width:650px){
 .nexus-login .login-card{
  background:rgba(1,2,3,.64)!important;
  backdrop-filter:blur(32px) brightness(.8) saturate(0)!important;
  -webkit-backdrop-filter:blur(32px) brightness(.8) saturate(0)!important;
 }
}


/* AVQEN v0.3.9 — dark frosted glass: prevent parent transform from isolating backdrop */
.nexus-login .login-content{
  animation:none!important;
  transform:none!important;
  filter:none!important;
  opacity:1!important;
}
.nexus-login .login-card{
  isolation:isolate!important;
  background:rgba(0,0,0,.83)!important;
  -webkit-backdrop-filter:blur(75px) brightness(.34) grayscale(1)!important;
  backdrop-filter:blur(75px) brightness(.34) grayscale(1)!important;
  border:1px solid rgba(175,181,189,.23)!important;
  box-shadow:0 26px 90px rgba(0,0,0,.9),inset 0 1px rgba(255,255,255,.055)!important;
}
.nexus-login .login-card .pin-digit{background:rgba(2,3,4,.96)!important}
.nexus-login .login-card .unlock-btn{background:rgba(9,10,12,.96)!important}
@media(max-width:650px){
  .nexus-login .login-card{
    background:rgba(0,0,0,.86)!important;
    -webkit-backdrop-filter:blur(56px) brightness(.32) grayscale(1)!important;
    backdrop-filter:blur(56px) brightness(.32) grayscale(1)!important;
  }
}


/* AVQEN v0.4.0 — actual layered frosted glass, without an opaque black fill.
   The card's ::before is the glass surface; its children remain crisp above it. */
.nexus-login .login-card{
  position:relative!important;
  isolation:auto!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:hidden!important;
  border:1px solid rgba(182,190,198,.32)!important;
  box-shadow:0 25px 85px rgba(0,0,0,.82),inset 0 1px rgba(255,255,255,.065)!important;
}
.nexus-login .login-card::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  height:auto!important;
  left:0!important;
  right:0!important;
  top:0!important;
  background:rgba(0,0,0,.58)!important;
  backdrop-filter:blur(27px) brightness(.74) grayscale(1)!important;
  -webkit-backdrop-filter:blur(27px) brightness(.74) grayscale(1)!important;
}
.nexus-login .login-card > *{
  position:relative;
  z-index:1;
}
.nexus-login .login-card .pin-digit{background:rgba(3,4,6,.86)!important}
.nexus-login .login-card .unlock-btn{background:rgba(11,13,16,.9)!important}
@media(max-width:650px){
  .nexus-login .login-card{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  .nexus-login .login-card::before{background:rgba(0,0,0,.62)!important;backdrop-filter:blur(23px) brightness(.76) grayscale(1)!important;-webkit-backdrop-filter:blur(23px) brightness(.76) grayscale(1)!important}
}

/* AVQEN v0.4.1 — reduce only glass blur strength; preserve dark appearance */
.nexus-login .login-card::before{
  backdrop-filter:blur(15px) brightness(.74) grayscale(1)!important;
  -webkit-backdrop-filter:blur(15px) brightness(.74) grayscale(1)!important;
}
@media(max-width:650px){
  .nexus-login .login-card::before{
    backdrop-filter:blur(13px) brightness(.76) grayscale(1)!important;
    -webkit-backdrop-filter:blur(13px) brightness(.76) grayscale(1)!important;
  }
}

/* AVQEN v0.4.2 — subtle frosted glass: less blur, same dark overlay */
.nexus-login .login-card::before{
  backdrop-filter:blur(5px) brightness(.74) grayscale(1)!important;
  -webkit-backdrop-filter:blur(5px) brightness(.74) grayscale(1)!important;
}
@media(max-width:650px){
  .nexus-login .login-card::before{
    backdrop-filter:blur(4px) brightness(.76) grayscale(1)!important;
    -webkit-backdrop-filter:blur(4px) brightness(.76) grayscale(1)!important;
  }
}

/* AVQEN v0.4.6 — soften the whole digital field, not the login glass */
.nexus-login .nexus-earth-canvas{
  filter:blur(.65px)!important;
}
.nexus-login .nexus-orbits-canvas{
  filter:blur(1.35px)!important;
  opacity:.84!important;
}
@media(max-width:650px){
  .nexus-login .nexus-orbits-canvas{filter:blur(1px)!important;}
}

/* AVQEN v0.4.7 — slightly brighter, softer digital field; leave login glass untouched */
.nexus-login .nexus-earth-canvas{filter:blur(.85px) brightness(1.10)!important;}
.nexus-login .nexus-orbits-canvas{filter:blur(1.9px) brightness(1.16)!important;opacity:.92!important;}
@media(max-width:650px){.nexus-login .nexus-orbits-canvas{filter:blur(1.45px) brightness(1.12)!important;}}

/* AVQEN v0.4.8 — refined PIN controls, blue accents, shared site scene */
.nexus-login .pin-digit{
  color:#4dbdff!important;
  caret-color:#69c9ff!important;
  text-shadow:0 0 9px rgba(32,154,255,.46)!important;
  border-color:rgba(104,139,170,.34)!important;
}
.nexus-login .pin-digit:focus{
  background:rgba(4,16,30,.95)!important;
  border-color:#35aaff!important;
  box-shadow:0 0 0 1px rgba(31,164,255,.28),0 0 17px rgba(12,132,244,.18),inset 0 0 13px rgba(13,102,176,.10)!important;
}
.nexus-login .pin-digit:not(:placeholder-shown){color:#55beff!important}
.nexus-login .unlock-btn{
  background:linear-gradient(110deg,rgba(9,17,27,.97),rgba(4,11,20,.97))!important;
  border:1px solid rgba(42,143,207,.64)!important;
  box-shadow:inset 0 1px 0 rgba(150,213,255,.06),0 0 0 rgba(0,153,255,0)!important;
  transition:background .24s,border-color .24s,box-shadow .24s,transform .14s,color .24s!important;
}
.nexus-login .unlock-btn:hover,.nexus-login .unlock-btn:focus-visible{
  background:linear-gradient(110deg,#0879d4,#16b1ff)!important;
  border-color:#66cfff!important;color:#fff!important;
  box-shadow:0 0 16px rgba(0,156,255,.36),0 0 38px rgba(0,122,255,.20),inset 0 1px 0 rgba(255,255,255,.25)!important;
}
.nexus-login .unlock-btn:hover .lock-icon,.nexus-login .unlock-btn:focus-visible .lock-icon{color:#fff!important}
.nexus-login .unlock-btn:active{
  transform:translateY(1px) scale(.992)!important;
  background:#0574c6!important;
  box-shadow:0 0 24px rgba(0,148,255,.43),inset 0 2px 10px rgba(0,0,0,.23)!important;
}
/* Shared animated background for authenticated AVQEN pages.
   Load /assets/js/avqen-site-background.js once from the common layout. */
body.nexus-site-background{background:#000!important;isolation:isolate}
body.nexus-site-background::before{display:none!important}
.nexus-site-scene{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:#000}
.nexus-site-scene canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.nexus-site-scene #nexus-earth-canvas{filter:blur(.85px) brightness(1.10)}
.nexus-site-scene #nexus-orbits-canvas{filter:blur(1.9px) brightness(1.16);opacity:.92}
body.nexus-site-background .shell,body.nexus-site-background .main{position:relative;z-index:1}
@media(max-width:650px){.nexus-site-scene #nexus-orbits-canvas{filter:blur(1.45px) brightness(1.12)}}
@media(prefers-reduced-motion:reduce){.nexus-login .unlock-btn{transition:none!important}}


/* AVQEN v0.4.9 — deeper blue login hover */
.nexus-login .unlock-btn:hover,.nexus-login .unlock-btn:focus-visible{
  background:linear-gradient(110deg,#073a77,#09599f)!important;
  border-color:#247fce!important;
  box-shadow:0 0 13px rgba(8,90,184,.28),0 0 30px rgba(3,63,138,.13),inset 0 1px 0 rgba(194,226,255,.13)!important;
}
.nexus-login .unlock-btn:active{
  background:#073b76!important;
  box-shadow:0 0 12px rgba(9,93,180,.30),inset 0 2px 10px rgba(0,0,0,.35)!important;
}

/* AVQEN v0.4.9 — control-center dashboard (scoped, does not affect login) */
body.nexus-dashboard{background:#000!important;color:#e8edf4;min-height:100vh}
body.nexus-dashboard .nexus-site-scene{z-index:0;opacity:.9}
body.nexus-dashboard .shell{position:relative;z-index:1;min-height:100vh;display:flex}
body.nexus-dashboard .sidebar{width:260px;flex:0 0 260px;min-height:100vh;padding:30px 18px 22px;background:rgba(3,6,11,.84);border-right:1px solid rgba(111,140,165,.15);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px)}
body.nexus-dashboard .dash-logo{display:flex;align-items:center;gap:10px;padding:5px 12px 24px;margin-bottom:22px;border-bottom:1px solid rgba(141,163,185,.11)}
body.nexus-dashboard .dash-logo-mark{width:34px;height:34px;border:1px solid #2d6695;border-radius:9px;display:grid;place-items:center;font-weight:850;color:#c9d9e8;background:linear-gradient(145deg,#0a2741,#03070d);box-shadow:inset 0 1px 0 #ffffff17}
body.nexus-dashboard .dash-logo-word{font-size:21px;letter-spacing:4px;font-weight:850;color:#e6edf4}
body.nexus-dashboard .dash-logo-sub{display:block;margin-top:3px;font-size:9px;letter-spacing:1.5px;color:#688198}
body.nexus-dashboard .dash-nav-title{padding:0 12px;margin:22px 0 10px;font-size:10px;letter-spacing:2px;color:#69839a;font-weight:700}
body.nexus-dashboard .dash-nav{display:flex;align-items:center;gap:12px;padding:13px 14px;margin:3px 0;color:#9caebf;border-radius:9px;text-decoration:none;font-size:13px;font-weight:600;border:1px solid transparent}
body.nexus-dashboard .dash-nav svg{width:17px;height:17px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.nexus-dashboard .dash-nav.active{background:rgba(10,52,95,.48);border-color:rgba(31,103,165,.37);color:#dbefff;box-shadow:inset 2px 0 0 #287dc0}
body.nexus-dashboard .dash-nav.is-soon{opacity:.55;cursor:default}
body.nexus-dashboard .dash-nav small{margin-left:auto;font-size:9px;letter-spacing:.8px;color:#7890a5}
body.nexus-dashboard .dash-sidebar-bottom{margin-top:auto;padding:22px 10px 0;border-top:1px solid rgba(141,163,185,.11)}
body.nexus-dashboard .dash-local{display:flex;align-items:center;gap:9px;font-size:11px;color:#93a8ba;margin-bottom:16px}
body.nexus-dashboard .dash-local i{width:7px;height:7px;border-radius:50%;background:#3d9f85;box-shadow:0 0 9px #3d9f8544}
body.nexus-dashboard .logout{margin:0}
body.nexus-dashboard .logout button{width:100%;background:rgba(9,13,19,.68);border:1px solid #293745;color:#c6d1dc;border-radius:9px;padding:12px;cursor:pointer;transition:background .2s,border-color .2s}
body.nexus-dashboard .logout button:hover{background:#14212e;border-color:#49617a}
body.nexus-dashboard .main{max-width:none;min-width:0;flex:1;padding:30px clamp(22px,4vw,60px) 55px}
body.nexus-dashboard .dash-top{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(146,163,182,.12);padding:0 0 22px}
body.nexus-dashboard .dash-breadcrumb{font-size:10px;letter-spacing:2px;color:#8295a9;font-weight:700}
body.nexus-dashboard .dash-top-right{display:flex;align-items:center;gap:11px}
body.nexus-dashboard .dash-version{font-size:10px;color:#8da0b1;border:1px solid #253440;background:rgba(4,9,15,.68);padding:8px 10px;border-radius:6px}
body.nexus-dashboard .dash-status{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1px;color:#9cb5aa}
body.nexus-dashboard .dash-status::before{content:'';width:6px;height:6px;border-radius:50%;background:#439f80}
body.nexus-dashboard .dash-heading{margin:44px 0 28px}
body.nexus-dashboard .dash-kicker{font-size:10px;letter-spacing:2.6px;color:#4f95ca;font-weight:750;margin-bottom:12px}
body.nexus-dashboard .dash-heading h1{font-size:clamp(32px,4vw,48px);line-height:1.1;letter-spacing:-1.2px;margin:0 0 12px;color:#f2f5f8;font-weight:760}
body.nexus-dashboard .dash-heading h1 span{color:#4c91c9}
body.nexus-dashboard .dash-heading p{margin:0;color:#92a4b5;font-size:14px;line-height:1.65}
body.nexus-dashboard .dash-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:30px 0 14px}
body.nexus-dashboard .dash-section-title h2{margin:0;font-size:12px;letter-spacing:1.8px;color:#c5d1dc;font-weight:750}
body.nexus-dashboard .dash-section-title span{font-size:10px;color:#71899f;letter-spacing:1px}
body.nexus-dashboard .dash-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.nexus-dashboard .dash-tile,body.nexus-dashboard .dash-panel{position:relative;overflow:hidden;background:rgba(4,8,13,.78);border:1px solid rgba(112,139,164,.25);border-radius:13px;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);box-shadow:0 12px 42px #0005,inset 0 1px #ffffff08}
body.nexus-dashboard .dash-tile{padding:24px 25px;min-height:156px}
body.nexus-dashboard .dash-tile::after{content:'';position:absolute;right:-40px;top:-55px;width:130px;height:130px;border:1px solid rgba(61,113,158,.13);border-radius:50%;pointer-events:none}
body.nexus-dashboard .dash-tile-label{font-size:10px;letter-spacing:1.6px;color:#91a6b8;font-weight:700}
body.nexus-dashboard .dash-tile-value{font-size:30px;font-weight:750;letter-spacing:-1px;color:#e6edf4;margin:20px 0 6px}
body.nexus-dashboard .dash-tile-note{font-size:11px;color:#72899d;line-height:1.5}
body.nexus-dashboard .dash-content-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:17px}
body.nexus-dashboard .dash-panel{padding:25px}
body.nexus-dashboard .dash-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
body.nexus-dashboard .dash-panel-head h3{margin:0;font-size:15px;color:#e4ebf2;font-weight:700}
body.nexus-dashboard .dash-chip{font-size:9px;letter-spacing:1.2px;color:#79a9d1;border:1px solid #285077;background:rgba(6,42,75,.32);border-radius:5px;padding:7px 9px}
body.nexus-dashboard .dash-empty{padding:30px 20px;text-align:center;border:1px dashed rgba(117,148,174,.25);border-radius:10px;background:rgba(1,5,9,.33)}
body.nexus-dashboard .dash-empty-icon{width:48px;height:48px;margin:0 auto 16px;border:1px solid #2b4459;border-radius:12px;display:grid;place-items:center;color:#79a8ce;font-size:24px}
body.nexus-dashboard .dash-empty strong{display:block;font-size:14px;color:#d7e2eb;margin-bottom:8px}
body.nexus-dashboard .dash-empty p{font-size:12px;line-height:1.65;color:#8095a7;max-width:320px;margin:0 auto}
body.nexus-dashboard .dash-roadmap{list-style:none;padding:0;margin:0}
body.nexus-dashboard .dash-roadmap li{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid rgba(122,146,165,.13)}
body.nexus-dashboard .dash-roadmap li:last-child{border-bottom:0}
body.nexus-dashboard .dash-roadmap-index{flex:none;width:28px;height:28px;border-radius:7px;display:grid;place-items:center;background:rgba(15,49,77,.44);border:1px solid #24405b;color:#7cadd3;font-size:10px}
body.nexus-dashboard .dash-roadmap strong{display:block;font-size:12px;color:#cfdce7}
body.nexus-dashboard .dash-roadmap small{display:block;margin-top:4px;font-size:11px;color:#758ca0}
body.nexus-dashboard .dash-foot{font-size:10px;letter-spacing:1px;color:#536d83;margin-top:30px}
@media(max-width:1080px){body.nexus-dashboard .dash-content-grid{grid-template-columns:1fr}}
@media(max-width:760px){body.nexus-dashboard .shell{display:block}body.nexus-dashboard .sidebar{width:100%;min-height:auto;padding:14px 16px;display:block}body.nexus-dashboard .dash-logo{padding-bottom:12px;margin-bottom:8px}body.nexus-dashboard .dash-nav-title,body.nexus-dashboard .dash-sidebar-bottom{display:none}body.nexus-dashboard .dash-nav{display:inline-flex;padding:10px 12px}body.nexus-dashboard .dash-nav.is-soon{display:none}body.nexus-dashboard .main{padding:24px 17px 45px}body.nexus-dashboard .dash-heading{margin-top:28px}body.nexus-dashboard .dash-metrics{grid-template-columns:1fr}body.nexus-dashboard .dash-tile{min-height:120px}body.nexus-dashboard .dash-tile-value{margin-top:14px}}

/* AVQEN v0.5.2 — frosted left navigation and danger logout */
body.nexus-dashboard .sidebar {
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  background:rgba(2,5,10,.62)!important;
  -webkit-backdrop-filter:blur(22px) saturate(75%);
  backdrop-filter:blur(22px) saturate(75%);
  border-right:1px solid rgba(139,169,194,.22);
  box-shadow:8px 0 40px rgba(0,0,0,.30),inset -1px 0 rgba(255,255,255,.035);
}
body.nexus-dashboard .dash-sidebar-bottom {margin-top:auto}
body.nexus-dashboard .logout button.dash-logout-btn {
  display:flex;align-items:center;justify-content:center;gap:12px;
  min-height:46px;
  background:rgba(66,8,17,.38)!important;
  color:#ed9ca6!important;
  border:1px solid rgba(168,51,65,.46)!important;
  border-radius:9px;
  font-weight:750;font-size:11px;letter-spacing:1.8px;
  box-shadow:inset 0 1px rgba(255,255,255,.035);
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease,transform .15s ease;
}
body.nexus-dashboard .logout button.dash-logout-btn svg {width:17px;height:17px;flex:none}
body.nexus-dashboard .logout button.dash-logout-btn:hover,
body.nexus-dashboard .logout button.dash-logout-btn:focus-visible {
  background:rgba(139,20,37,.75)!important;
  color:#fff2f3!important;
  border-color:rgba(230,75,93,.85)!important;
  box-shadow:0 0 21px rgba(173,26,48,.25),inset 0 1px rgba(255,255,255,.08);
}
body.nexus-dashboard .logout button.dash-logout-btn:active {transform:translateY(1px);background:rgba(112,12,29,.88)!important}
@media(max-width:760px){
  body.nexus-dashboard .sidebar {min-height:auto;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px}
  body.nexus-dashboard .dash-logo {flex:1 1 100%;margin-bottom:4px}
  body.nexus-dashboard .dash-nav.active {flex:0 0 auto}
  body.nexus-dashboard .dash-sidebar-bottom {display:flex!important;margin:0 0 0 auto;padding:0;border:0}
  body.nexus-dashboard .dash-local {display:none}
  body.nexus-dashboard .logout button.dash-logout-btn {width:auto;min-height:39px;padding:9px 12px;font-size:10px;letter-spacing:.8px}
}
@media(prefers-reduced-motion:reduce){body.nexus-dashboard .logout button.dash-logout-btn{transition:none}}


/* AVQEN v0.5.3 — transparent frosted sidebar, AVQEN wordmark, hover-only planned modules */
body.nexus-dashboard .sidebar {
  background:rgba(2,5,10,.36)!important;
  backdrop-filter:blur(11px) saturate(85%)!important;
  -webkit-backdrop-filter:blur(11px) saturate(85%)!important;
  border-right:1px solid rgba(151,176,197,.24)!important;
  box-shadow:inset -1px 0 rgba(255,255,255,.035),6px 0 24px rgba(0,0,0,.14)!important;
}
body.nexus-dashboard .dash-logo {display:flex;flex-direction:column;align-items:center;gap:0;padding:0 6px 18px;margin-bottom:21px}
body.nexus-dashboard .dash-brand-image {display:block;width:min(100%,218px);height:90px;object-fit:contain;filter:drop-shadow(0 1px 5px rgba(30,92,143,.14))}
body.nexus-dashboard .dash-brand-caption {font-size:8px;letter-spacing:2.1px;font-weight:700;color:#8ca5b8;text-align:center;margin-top:-6px}
body.nexus-dashboard button.dash-nav {width:100%;font-family:inherit;text-align:left;cursor:default;appearance:none;-webkit-appearance:none}
body.nexus-dashboard .dash-nav {transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease}
body.nexus-dashboard .dash-nav.is-soon {opacity:.84;cursor:default;background:rgba(3,9,15,.09);color:#a3b6c7}
body.nexus-dashboard .dash-nav.is-soon:hover,
body.nexus-dashboard .dash-nav.is-soon:focus-visible {
  opacity:1;background:rgba(12,52,90,.42);border-color:rgba(63,129,183,.35);color:#e0effb;
  box-shadow:inset 2px 0 0 #367eb3,0 0 16px rgba(6,64,117,.10);
  transform:translateX(2px);outline:none;
}
body.nexus-dashboard .dash-nav.active:hover,
body.nexus-dashboard .dash-nav.active:focus-visible {background:rgba(14,67,112,.60);border-color:rgba(69,144,204,.55);color:#fff;outline:none}
body.nexus-dashboard .dash-nav.is-soon small {color:#7b97ad}
body.nexus-dashboard .dash-focus-panel {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;margin:25px 0 10px;border:1px solid rgba(71,121,158,.29);border-radius:13px;background:linear-gradient(120deg,rgba(9,32,52,.66),rgba(3,8,14,.73));backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
body.nexus-dashboard .dash-focus-eyebrow {font-size:10px;letter-spacing:2px;font-weight:750;color:#5c9ecf}
body.nexus-dashboard .dash-focus-panel h2 {font-size:20px;margin:9px 0;color:#edf3f9}
body.nexus-dashboard .dash-focus-panel p {font-size:12px;line-height:1.7;color:#a1b3c3;max-width:640px;margin:0}
body.nexus-dashboard .dash-focus-panel code {color:#c3d9e9}
body.nexus-dashboard .dash-focus-tag {flex:none;border:1px solid rgba(61,124,171,.38);border-radius:6px;padding:10px 12px;font-size:10px;letter-spacing:1px;color:#9cc5e4}
@media(max-width:760px){body.nexus-dashboard .dash-logo{flex:1 1 100%;align-items:flex-start;padding:0 0 8px;margin-bottom:4px}body.nexus-dashboard .dash-brand-image{height:58px;width:180px}body.nexus-dashboard .dash-brand-caption{margin-top:-4px;font-size:7px}body.nexus-dashboard .dash-focus-panel{flex-direction:column;align-items:flex-start}body.nexus-dashboard .dash-nav.is-soon{display:none}}
@media(prefers-reduced-motion:reduce){body.nexus-dashboard .dash-nav{transition:none!important}}

/* AVQEN v0.5.4: fixed frosted sidebar, admin identity and responsive navigation */
body.nexus-dashboard .shell{display:block!important;min-height:100dvh}
body.nexus-dashboard .sidebar{position:fixed!important;top:0;bottom:0;left:0;width:260px;height:100dvh;min-height:0!important;overflow-y:auto;overscroll-behavior:contain;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:0!important;padding:24px 18px 20px;background:rgba(4,8,15,.30)!important;backdrop-filter:blur(17px) saturate(85%)!important;-webkit-backdrop-filter:blur(17px) saturate(85%)!important;z-index:30;scrollbar-width:thin;scrollbar-color:#33475a transparent}
body.nexus-dashboard .main{margin-left:260px;min-width:0}
body.nexus-dashboard .dash-logo{flex:none!important;align-items:center!important;margin:0 0 18px!important;padding:0 6px 18px!important}
body.nexus-dashboard .dash-nav-title{display:block!important}
body.nexus-dashboard .dash-nav{display:flex!important;flex:none!important}
body.nexus-dashboard .dash-sidebar-bottom{display:block!important;flex:none;margin-top:auto!important;padding:22px 10px 0!important;border-top:1px solid rgba(141,163,185,.11)!important}
body.nexus-dashboard .dash-local{display:flex!important}
body.nexus-dashboard .logout button.dash-logout-btn{width:100%!important}
body.nexus-dashboard .dash-admin-profile{display:flex;align-items:center;gap:11px;white-space:nowrap;color:#e3edf5;font-size:12px;font-weight:700}
body.nexus-dashboard .dash-admin-avatar{width:37px;height:37px;border-radius:50%;object-fit:cover;border:1px solid #35516a;flex:none}
body.nexus-dashboard .dash-admin-avatar-fallback{display:grid;place-items:center;background:#102137;color:#8dbbdc;font-size:18px}
body.nexus-dashboard .mobile-menu-toggle,body.nexus-dashboard .mobile-nav-scrim{display:none}
body.nexus-dashboard .dash-nav:not(.active):hover{background:rgba(10,50,88,.42);color:#e7f2fc;border-color:rgba(72,126,168,.3)}
/* Settings */
body.nexus-dashboard .settings-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0}
body.nexus-dashboard .settings-tabs a{padding:10px 18px;border:1px solid #2d4053;border-radius:8px;background:rgba(6,14,24,.74);color:#bed1e0;text-decoration:none;font-size:12px;font-weight:700}
body.nexus-dashboard .settings-tabs a:hover{background:#10375b;color:#fff;border-color:#3476aa}
body.nexus-dashboard .settings-card{scroll-margin-top:22px;max-width:820px;margin:0 0 22px;padding:30px;background:rgba(3,8,15,.72);border:1px solid rgba(126,157,183,.25);border-radius:14px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
body.nexus-dashboard .settings-card-head h2{margin:9px 0;font-size:22px;color:#e9f2f8}
body.nexus-dashboard .settings-card-head p{margin:0 0 22px;font-size:13px;color:#8da3b6;line-height:1.6}
body.nexus-dashboard .settings-form{display:grid;gap:19px;max-width:570px}
body.nexus-dashboard .settings-form>label:not(.settings-check){display:grid;gap:9px;color:#bdccda;font-size:12px;font-weight:700}
body.nexus-dashboard .settings-form label span{font-weight:400;color:#718ba0}
body.nexus-dashboard .settings-form input:not([type=file]):not([type=checkbox]),body.nexus-dashboard .settings-form select{width:100%;box-sizing:border-box;min-height:45px;padding:11px 13px;border:1px solid #344758;border-radius:8px;background:rgba(1,5,11,.72);color:#edf4f9;outline:none;font:inherit;font-size:13px}
body.nexus-dashboard .settings-form input:focus-visible,body.nexus-dashboard .settings-form select:focus-visible{border-color:#418ec8;box-shadow:0 0 0 3px #1d6ba533}
body.nexus-dashboard .settings-avatar-row{display:flex;align-items:center;gap:20px;padding-bottom:7px}
body.nexus-dashboard .settings-avatar{width:82px;height:82px;border-radius:50%;object-fit:cover;border:1px solid #45627a;flex:none}
body.nexus-dashboard .settings-avatar-fallback{display:grid;place-items:center;background:#0d2032;color:#93bddd;font-size:34px}
body.nexus-dashboard .settings-avatar-row strong{display:block;font-size:15px;color:#e9f1f7}
body.nexus-dashboard .settings-avatar-row p{font-size:11px;color:#8da2b4;margin:6px 0 11px}
body.nexus-dashboard .settings-upload{display:inline-flex;position:relative;overflow:hidden;cursor:pointer;padding:9px 13px;border-radius:7px;background:#102c47;color:#c3e3f7;border:1px solid #32618a;font-size:11px;font-weight:700}
body.nexus-dashboard .settings-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
body.nexus-dashboard .settings-check{display:flex;align-items:center;gap:10px;color:#a7b9c8;font-size:12px}
body.nexus-dashboard .settings-save{width:max-content;min-height:44px;padding:11px 24px;border-radius:8px;border:1px solid #3476ad;background:linear-gradient(110deg,#073a77,#09599f);color:white;font-size:12px;font-weight:800;letter-spacing:.6px;cursor:pointer}
body.nexus-dashboard .settings-save:hover{background:#0b61a8;box-shadow:0 0 18px #0b66ba44}
body.nexus-dashboard .settings-notice{max-width:820px;padding:13px 17px;border-radius:9px;margin:12px 0;font-size:13px}
body.nexus-dashboard .settings-notice.is-error{background:#3c111a;color:#ffc1cb;border:1px solid #823444}
body.nexus-dashboard .settings-notice.is-success{background:#0b3029;color:#b6f0d8;border:1px solid #287461}
body.nexus-dashboard.nexus-reduced-motion .nexus-site-scene{opacity:.22!important;filter:blur(3px)!important}
@media(max-width:760px){
 body.nexus-dashboard .shell{display:block!important}
 body.nexus-dashboard .sidebar{width:min(290px,86vw)!important;transform:translateX(-105%);transition:transform .24s ease;box-shadow:12px 0 42px #0008!important;padding:78px 18px 22px!important;background:rgba(3,8,16,.79)!important;z-index:51}
 body.nexus-dashboard.mobile-nav-open .sidebar{transform:translateX(0)}
 body.nexus-dashboard .main{margin-left:0!important;padding:82px 17px 40px!important}
 body.nexus-dashboard .mobile-menu-toggle{display:flex;position:fixed;z-index:53;top:17px;left:17px;width:44px;height:44px;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:rgba(7,16,28,.88);border:1px solid #3a566b;border-radius:9px;cursor:pointer;backdrop-filter:blur(12px)}
 body.nexus-dashboard .mobile-menu-toggle span{display:block;width:19px;height:2px;background:#e2f0fb;border-radius:3px;transition:transform .2s,opacity .2s}
 body.nexus-dashboard.mobile-nav-open .mobile-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
 body.nexus-dashboard.mobile-nav-open .mobile-menu-toggle span:nth-child(2){opacity:0}
 body.nexus-dashboard.mobile-nav-open .mobile-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
 body.nexus-dashboard .mobile-nav-scrim{display:block;position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.68);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
 body.nexus-dashboard.mobile-nav-open .mobile-nav-scrim{opacity:1;visibility:visible}
 body.nexus-dashboard.mobile-nav-open{overflow:hidden}
 body.nexus-dashboard .dash-logo{align-items:center!important;flex:none!important}
 body.nexus-dashboard .dash-brand-image{width:200px;height:72px}
 body.nexus-dashboard .dash-nav-title{display:block!important}
 body.nexus-dashboard .dash-nav.is-soon{display:flex!important}
 body.nexus-dashboard .dash-sidebar-bottom{display:block!important;margin-top:auto!important}
 body.nexus-dashboard .dash-local{display:flex!important}
 body.nexus-dashboard .dash-top{padding-left:55px;min-height:46px}
 body.nexus-dashboard .dash-breadcrumb{font-size:8px;letter-spacing:1px}
 body.nexus-dashboard .dash-version{display:none}
 body.nexus-dashboard .dash-admin-profile{font-size:11px}
 body.nexus-dashboard .dash-admin-avatar{width:32px;height:32px}
 body.nexus-dashboard .settings-card{padding:20px 17px}
 body.nexus-dashboard .settings-avatar-row{gap:13px}
}
@media(prefers-reduced-motion:reduce){body.nexus-dashboard .sidebar,body.nexus-dashboard .mobile-nav-scrim,body.nexus-dashboard .mobile-menu-toggle span{transition:none!important}}

/* v0.5.5 — server-bound submit loading and success states */
.nexus-login .unlock-btn{position:relative;isolation:isolate}
.nexus-login .unlock-btn.is-loading{cursor:progress;pointer-events:none;opacity:1!important}
.nexus-login .unlock-btn.is-loading::after{content:"";position:absolute;right:19px;top:50%;width:17px;height:17px;margin-top:-9px;border:2px solid #b6d9f2;border-right-color:transparent;border-radius:50%;animation:nexus-button-spin .65s linear infinite}
.nexus-login .unlock-btn.is-loading>span{visibility:hidden}
.nexus-login .unlock-btn.is-success{background:#0b3459!important;border-color:#2976a7!important;box-shadow:0 0 15px #0b4c7a55!important}
@keyframes nexus-button-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.nexus-login .unlock-btn.is-loading::after{animation-duration:1.5s}}

/* AVQEN v0.5.6 — compact admin glass identity + switchable settings */
body.nexus-dashboard .dash-admin-profile {
  display:inline-flex;align-items:center;gap:12px;padding:8px 15px 8px 9px;
  border:1px solid rgba(128,161,190,.32);border-radius:12px;
  background:linear-gradient(135deg,rgba(18,35,51,.72),rgba(4,10,17,.66));
  -webkit-backdrop-filter:blur(14px) saturate(110%);backdrop-filter:blur(14px) saturate(110%);
  box-shadow:0 7px 22px rgba(0,0,0,.20),inset 0 1px 0 rgba(194,219,241,.07);
  color:#e8f1f8;font-size:12px;font-weight:700;cursor:default;user-select:none;
}
body.nexus-dashboard .dash-admin-profile .dash-admin-avatar{width:37px;height:37px;border-color:rgba(90,146,188,.50)}
body.nexus-dashboard .settings-heading{margin-bottom:24px}
body.nexus-dashboard .settings-group-label{font-size:10px;font-weight:800;letter-spacing:2px;color:#6c94b2;margin:24px 0 12px}
body.nexus-dashboard .settings-switcher{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:900px;margin:0 0 0}
body.nexus-dashboard .settings-switch{position:relative;display:grid;grid-template-columns:35px 1fr 18px;grid-template-rows:auto auto;align-items:center;gap:2px 12px;min-height:88px;padding:17px 16px;text-align:left;border-radius:12px;border:1px solid rgba(102,137,167,.25);background:linear-gradient(145deg,rgba(10,20,31,.75),rgba(4,10,18,.75));color:#c2d0dd;cursor:pointer;font:inherit;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
body.nexus-dashboard .settings-switch:hover,body.nexus-dashboard .settings-switch:focus-visible{border-color:rgba(65,133,186,.64);background:rgba(11,35,56,.82);outline:none;transform:translateY(-2px)}
body.nexus-dashboard .settings-switch.is-active{background:linear-gradient(145deg,rgba(15,51,81,.91),rgba(5,22,39,.90));border-color:rgba(69,139,192,.77);box-shadow:inset 0 2px 0 rgba(106,182,234,.28),0 8px 24px rgba(0,25,49,.22)}
body.nexus-dashboard .settings-switch.is-active::after{content:"";position:absolute;bottom:-13px;left:50%;width:14px;height:14px;transform:translateX(-50%) rotate(45deg);background:#0a1d2e;border-left:1px solid rgba(69,139,192,.77);border-top:1px solid rgba(69,139,192,.77);z-index:2}
body.nexus-dashboard .settings-switch-icon{grid-row:1/3;grid-column:1;display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(107,146,178,.3);border-radius:9px;background:rgba(12,38,62,.7);color:#9fc9e7;font-size:21px}
body.nexus-dashboard .settings-switch strong{grid-column:2;grid-row:1;font-size:14px;color:#edf4f9;letter-spacing:.2px}
body.nexus-dashboard .settings-switch small{grid-column:2;grid-row:2;font-size:11px;color:#8ba2b5}
body.nexus-dashboard .settings-switch-arrow{grid-column:3;grid-row:1/3;color:#8bb8d7;font-size:23px;justify-self:end;transition:transform .2s}
body.nexus-dashboard .settings-switch.is-active .settings-switch-arrow{transform:translateY(3px)}
body.nexus-dashboard .settings-tab-panel{max-width:900px;margin:12px 0 25px;border-color:rgba(69,139,192,.45);border-radius:12px;background:linear-gradient(140deg,rgba(5,15,26,.85),rgba(2,7,13,.83));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);animation:nexus-settings-reveal .23s ease-out}
body.nexus-dashboard .settings-tab-panel[hidden]{display:none!important}
@keyframes nexus-settings-reveal{from{opacity:.4;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){body.nexus-dashboard .settings-switcher{gap:7px}body.nexus-dashboard .settings-switch{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-height:104px;padding:12px 5px}body.nexus-dashboard .settings-switch-icon{width:31px;height:31px;font-size:17px}body.nexus-dashboard .settings-switch strong{font-size:11px}body.nexus-dashboard .settings-switch small{font-size:9px}body.nexus-dashboard .settings-switch-arrow{font-size:13px}body.nexus-dashboard .settings-tab-panel{padding:22px 17px}body.nexus-dashboard .dash-admin-profile{gap:8px;padding:5px 9px 5px 5px;font-size:11px}body.nexus-dashboard .dash-admin-profile .dash-admin-avatar{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){body.nexus-dashboard .settings-tab-panel{animation:none}body.nexus-dashboard .settings-switch{transition:none}}

/* AVQEN v0.5.7 — connected full-width settings selector + frosted panels */
body.nexus-dashboard .settings-switcher {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:100%!important;max-width:none!important;gap:12px!important;margin:0!important;
  padding:10px;border:1px solid rgba(124,155,180,.23);border-radius:14px 14px 0 0;
  background:rgba(5,12,21,.43);backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px);
}
body.nexus-dashboard .settings-switch {
  width:100%;min-width:0;border-radius:9px!important;
  background:rgba(10,22,34,.43)!important;
  backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
  border-color:rgba(117,155,185,.20)!important;
}
body.nexus-dashboard .settings-switch:hover,body.nexus-dashboard .settings-switch:focus-visible {
  background:rgba(17,45,68,.68)!important;border-color:rgba(94,151,191,.55)!important;
}
body.nexus-dashboard .settings-switch.is-active {
  background:rgba(17,50,79,.74)!important;border-color:rgba(87,151,197,.68)!important;
  box-shadow:inset 0 1px 0 rgba(156,209,241,.13)!important;
}
body.nexus-dashboard .settings-switch.is-active::after {
  bottom:-12px!important;width:14px;height:14px;
  background:rgba(12,29,46,.97)!important;
}
body.nexus-dashboard .settings-tab-panel {
  box-sizing:border-box;width:100%!important;max-width:none!important;
  margin:0 0 25px!important;min-height:360px;
  border-radius:0 0 14px 14px!important;border-top:0!important;
  background:rgba(5,13,22,.48)!important;
  backdrop-filter:blur(15px) saturate(88%)!important;
  -webkit-backdrop-filter:blur(15px) saturate(88%)!important;
  box-shadow:inset 0 1px 0 rgba(165,194,220,.035);
}
body.nexus-dashboard .settings-form {max-width:650px}
body.nexus-dashboard .settings-notice {max-width:none}
/* Mobile: hamburger lives in header; opening it isolates full-screen navigation */
@media(max-width:760px){
 body.nexus-dashboard .dash-top {display:flex!important;align-items:center!important;gap:12px;padding-left:0!important;min-height:52px}
 body.nexus-dashboard .mobile-menu-toggle {
   display:flex!important;position:relative!important;top:auto!important;left:auto!important;
   flex:none;z-index:80!important;width:43px;height:43px;
 }
 body.nexus-dashboard .dash-breadcrumb {flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.nexus-dashboard .dash-top-right {margin-left:auto;flex:none}
 body.nexus-dashboard .sidebar {
   position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;
   max-width:none!important;max-height:100dvh!important;box-sizing:border-box!important;
   transform:translateX(-101%)!important;z-index:70!important;
   padding:74px max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))!important;
   background:rgba(2,7,13,.94)!important;backdrop-filter:blur(22px)!important;
   -webkit-backdrop-filter:blur(22px)!important;
   overflow-y:auto!important;overscroll-behavior:contain!important;
   box-shadow:none!important;
 }
 body.nexus-dashboard.mobile-nav-open .sidebar {transform:translateX(0)!important}
 body.nexus-dashboard.mobile-nav-open .mobile-menu-toggle {
   position:fixed!important;top:17px!important;left:17px!important;z-index:80!important;
 }
 body.nexus-dashboard.mobile-nav-open .main {pointer-events:none!important}
 body.nexus-dashboard.mobile-nav-open {overflow:hidden!important;touch-action:none}
 body.nexus-dashboard.mobile-nav-open .sidebar {touch-action:pan-y}
 body.nexus-dashboard .mobile-nav-scrim {display:none!important}
 body.nexus-dashboard .sidebar .dash-nav {min-height:50px}
 body.nexus-dashboard .settings-switcher {gap:7px!important;padding:7px!important}
 body.nexus-dashboard .settings-switch {padding:12px 4px!important;min-height:106px}
 body.nexus-dashboard .settings-tab-panel {padding:22px 17px!important}
}
@media(prefers-reduced-motion:reduce){body.nexus-dashboard .settings-tab-panel{animation:none!important}}


/* AVQEN v0.5.8 — compact Settings selector; no pointer between selector and panel */
body.nexus-dashboard .settings-switcher {
  padding:6px!important;
  gap:8px!important;
}
body.nexus-dashboard .settings-switch {
  min-height:58px!important;
  padding:9px 12px!important;
  grid-template-columns:27px minmax(0,1fr) 14px!important;
  column-gap:9px!important;
  border-radius:7px!important;
  transform:none!important;
}
body.nexus-dashboard .settings-switch-icon {
  width:27px!important;height:27px!important;
  font-size:16px!important;border-radius:6px!important;
}
body.nexus-dashboard .settings-switch strong {font-size:12px!important}
body.nexus-dashboard .settings-switch small {font-size:10px!important}
body.nexus-dashboard .settings-switch-arrow {font-size:15px!important}
body.nexus-dashboard .settings-switch.is-active::after {display:none!important;content:none!important}
body.nexus-dashboard .settings-tab-panel {border-top:1px solid rgba(69,139,192,.26)!important}
@media(max-width:760px){
  body.nexus-dashboard .settings-switcher {padding:5px!important;gap:5px!important}
  body.nexus-dashboard .settings-switch {
    min-height:67px!important;padding:8px 3px!important;
    display:flex!important;flex-direction:column!important;gap:3px!important;
  }
  body.nexus-dashboard .settings-switch-icon {width:23px!important;height:23px!important;font-size:14px!important}
  body.nexus-dashboard .settings-switch strong {font-size:10px!important}
  body.nexus-dashboard .settings-switch small {display:none!important}
  body.nexus-dashboard .settings-switch-arrow {display:none!important}
}


/* AVQEN v0.5.9 — compact connected tabs with outward rounded bottom corners */
body.nexus-dashboard .settings-switcher {
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
  align-items:flex-end!important;
  grid-template-columns:none!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  padding:0 0 0 0!important;
  gap:7px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:visible!important;
}
body.nexus-dashboard .settings-switch {
  box-sizing:border-box!important;
  position:relative!important;
  flex:0 0 auto!important;
  width:178px!important;
  max-width:calc(33.333% - 5px)!important;
  min-height:52px!important;
  padding:8px 10px!important;
  border-radius:10px 10px 0 0!important;
  border-bottom:0!important;
  grid-template-columns:26px minmax(0,1fr) 12px!important;
  column-gap:8px!important;
  transform:none!important;
  box-shadow:none!important;
  z-index:1;
}
body.nexus-dashboard .settings-switch.is-active {
  z-index:3!important;
  background:rgba(9,26,42,.83)!important;
  border-color:rgba(91,147,189,.56)!important;
  border-bottom-color:transparent!important;
  box-shadow:none!important;
}
/* Outward-curving lower corners: small dark quarter-circles merge selected tab into the panel. */
body.nexus-dashboard .settings-switch.is-active::before,
body.nexus-dashboard .settings-switch.is-active::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  bottom:-1px!important;
  width:14px!important;
  height:14px!important;
  pointer-events:none!important;
  z-index:4!important;
  background:transparent!important;
  transform:none!important;
  border:0!important;
}
body.nexus-dashboard .settings-switch.is-active::before {
  left:-14px!important;
  border-bottom-right-radius:14px!important;
  box-shadow:5px 5px 0 0 rgba(9,26,42,.83)!important;
}
body.nexus-dashboard .settings-switch.is-active::after {
  left:auto!important;
  right:-14px!important;
  border-bottom-left-radius:14px!important;
  box-shadow:-5px 5px 0 0 rgba(9,26,42,.83)!important;
}
body.nexus-dashboard .settings-switch-icon {width:26px!important;height:26px!important;font-size:15px!important}
body.nexus-dashboard .settings-switch strong {font-size:12px!important}
body.nexus-dashboard .settings-switch small {font-size:9px!important}
body.nexus-dashboard .settings-switch-arrow {font-size:13px!important}
body.nexus-dashboard .settings-tab-panel {
  position:relative!important;
  z-index:2!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 25px!important;
  border:1px solid rgba(91,147,189,.36)!important;
  border-radius:0 12px 12px 12px!important;
  background:rgba(9,26,42,.52)!important;
  -webkit-backdrop-filter:blur(15px) saturate(88%)!important;
  backdrop-filter:blur(15px) saturate(88%)!important;
}
@media(max-width:760px) {
  body.nexus-dashboard .settings-switcher {gap:5px!important;padding:0!important;flex-wrap:nowrap!important}
  body.nexus-dashboard .settings-switch {
    width:auto!important;flex:1 1 0!important;max-width:none!important;
    min-width:0!important;min-height:51px!important;
    padding:7px 4px!important;gap:3px!important;
    display:flex!important;flex-direction:column!important;
    border-radius:8px 8px 0 0!important;
  }
  body.nexus-dashboard .settings-switch-icon {width:22px!important;height:22px!important;font-size:13px!important}
  body.nexus-dashboard .settings-switch strong {font-size:10px!important}
  body.nexus-dashboard .settings-switch small,body.nexus-dashboard .settings-switch-arrow {display:none!important}
  body.nexus-dashboard .settings-tab-panel {padding:20px 15px!important}
}


/* AVQEN v0.6.0 — seamless folder-style settings tabs (concave corners) */
body.nexus-dashboard .settings-switcher {
  display:flex!important; flex-wrap:nowrap!important; align-items:flex-end!important;
  gap:7px!important; width:100%!important; padding:0!important;
  margin:0!important; border:0!important; background:none!important;
  overflow:visible!important; isolation:isolate;
}
body.nexus-dashboard .settings-switch {
  position:relative!important; flex:0 0 176px!important; width:176px!important;
  max-width:none!important; min-height:54px!important;
  padding:8px 11px!important; border-radius:11px 11px 0 0!important;
  border:1px solid rgba(87,120,146,.30)!important;
  border-bottom:0!important; z-index:1!important;
  background:rgba(6,16,26,.78)!important;
  box-shadow:none!important; transform:none!important;
}
body.nexus-dashboard .settings-switch.is-active {
  background:#091827!important; border-color:rgba(87,146,188,.54)!important;
  border-bottom:0!important; z-index:5!important;
  box-shadow:inset 0 1px 0 rgba(155,195,222,.06)!important;
}
/* Each quarter-circle is carved out of the dark panel surface; no triangles. */
body.nexus-dashboard .settings-switch.is-active::before,
body.nexus-dashboard .settings-switch.is-active::after {
  content:""!important; position:absolute!important; display:block!important;
  width:13px!important; height:13px!important; bottom:0!important;
  pointer-events:none!important; border:0!important; transform:none!important;
  background:transparent!important; z-index:6!important;
}
body.nexus-dashboard .settings-switch.is-active::before {
  left:-13px!important; border-radius:0 0 13px 0!important;
  box-shadow:4px 4px 0 0 #091827!important;
}
body.nexus-dashboard .settings-switch.is-active::after {
  left:auto!important; right:-13px!important; border-radius:0 0 0 13px!important;
  box-shadow:-4px 4px 0 0 #091827!important;
}
body.nexus-dashboard .settings-tab-panel {
  position:relative!important; z-index:2!important; box-sizing:border-box!important;
  width:100%!important; max-width:none!important; margin:-1px 0 25px!important;
  border:1px solid rgba(87,146,188,.38)!important;
  border-radius:0 13px 13px 13px!important;
  background:rgba(6,15,24,.58)!important;
  backdrop-filter:blur(15px)!important; -webkit-backdrop-filter:blur(15px)!important;
  overflow:visible!important;
}
/* Extend the active tab's face one pixel over the panel's upper rule. */
body.nexus-dashboard .settings-switch.is-active {margin-bottom:-1px!important;padding-bottom:9px!important}
body.nexus-dashboard .settings-switcher:has(.settings-switch:nth-child(2).is-active) + .settings-tab-panel,
body.nexus-dashboard .settings-switcher:has(.settings-switch:nth-child(3).is-active) + .settings-tab-panel {
  border-top-left-radius:13px!important;
}
@media(max-width:760px){
 body.nexus-dashboard .settings-switcher{gap:5px!important}
 body.nexus-dashboard .settings-switch{flex:1 1 0!important;width:auto!important;min-width:0!important;min-height:48px!important;padding:7px 3px!important;max-width:none!important}
 body.nexus-dashboard .settings-switch.is-active{padding-bottom:8px!important}
 body.nexus-dashboard .settings-switch.is-active::before,body.nexus-dashboard .settings-switch.is-active::after{width:9px!important;height:9px!important}
 body.nexus-dashboard .settings-switch.is-active::before{left:-9px!important;border-bottom-right-radius:9px!important}
 body.nexus-dashboard .settings-switch.is-active::after{right:-9px!important;border-bottom-left-radius:9px!important}
}


/* AVQEN v0.6.1 — connected folder tabs: seamless surface and border */
body.nexus-dashboard .settings-switcher {
  gap:8px!important;
  position:relative!important;
  z-index:4!important;
}
body.nexus-dashboard .settings-switch {
  background:rgba(5,13,21,.74)!important;
  border:1px solid rgba(80,107,127,.32)!important;
  border-bottom:0!important;
  border-radius:10px 10px 0 0!important;
  margin-bottom:0!important;
  box-shadow:none!important;
}
body.nexus-dashboard .settings-switch.is-active {
  --folder-surface:#08141f;
  background:var(--folder-surface)!important;
  border-color:rgba(87,137,171,.46)!important;
  border-bottom:0!important;
  margin-bottom:-1px!important;
  padding-bottom:9px!important;
  box-shadow:none!important;
}
/* The first tab sits at the left edge: no protruding corner on its left. */
body.nexus-dashboard .settings-switch:first-child.is-active::before {
  display:none!important;
  content:none!important;
}
/* Concave junctions: same solid surface as the active tab and panel header. */
body.nexus-dashboard .settings-switch.is-active::before,
body.nexus-dashboard .settings-switch.is-active::after {
  width:12px!important;height:12px!important;
  bottom:0!important;
  background:transparent!important;
  border:0!important;
  transform:none!important;
}
body.nexus-dashboard .settings-switch.is-active::before {
  left:-12px!important;
  border-radius:0 0 12px 0!important;
  box-shadow:3px 3px 0 0 #08141f!important;
}
body.nexus-dashboard .settings-switch.is-active::after {
  right:-12px!important;
  border-radius:0 0 0 12px!important;
  box-shadow:-3px 3px 0 0 #08141f!important;
}
body.nexus-dashboard .settings-tab-panel {
  background:rgba(8,20,31,.80)!important;
  border-color:rgba(87,137,171,.46)!important;
  border-radius:0 12px 12px 12px!important;
  margin-top:-1px!important;
  backdrop-filter:blur(15px)!important;
  -webkit-backdrop-filter:blur(15px)!important;
}
/* Cover the panel's top rule directly beneath the active tab. */
body.nexus-dashboard .settings-tab-panel::before {
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:-1px!important;
  left:0!important;
  width:176px!important;
  height:2px!important;
  background:#08141f!important;
  pointer-events:none!important;
  z-index:1!important;
}
body.nexus-dashboard .settings-switcher:has(.settings-switch:nth-child(2).is-active) + .settings-tab-panel::before {left:184px!important}
body.nexus-dashboard .settings-switcher:has(.settings-switch:nth-child(3).is-active) + .settings-tab-panel::before {left:368px!important}
@media(max-width:760px) {
  body.nexus-dashboard .settings-switch.is-active::before,
  body.nexus-dashboard .settings-switch.is-active::after {width:9px!important;height:9px!important}
  body.nexus-dashboard .settings-switch.is-active::before {left:-9px!important;border-radius:0 0 9px 0!important}
  body.nexus-dashboard .settings-switch.is-active::after {right:-9px!important;border-radius:0 0 0 9px!important}
  body.nexus-dashboard .settings-tab-panel::before {width:calc((100% - 10px)/3)!important}
  body.nexus-dashboard .settings-switcher:has(.settings-switch:nth-child(2).is-active) + .settings-tab-panel::before {left:calc((100% - 10px)/3 + 5px)!important}
  body.nexus-dashboard .settings-switcher:has(.settings-switch:nth-child(3).is-active) + .settings-tab-panel::before {left:calc(2 * ((100% - 10px)/3 + 5px))!important}
}

/* AVQEN v0.6.2 — clean folder tabs, no detached corner artifacts */
body.nexus-dashboard .settings-switcher{gap:7px!important;align-items:flex-end!important;}
body.nexus-dashboard .settings-switch{background:rgba(5,12,19,.68)!important;border:1px solid rgba(72,106,130,.35)!important;border-radius:10px 10px 0 0!important;box-shadow:none!important;}
body.nexus-dashboard .settings-switch.is-active{background:rgba(7,17,27,.96)!important;border-color:rgba(72,106,130,.48)!important;border-bottom-color:transparent!important;z-index:6!important;}
body.nexus-dashboard .settings-switch.is-active::before,body.nexus-dashboard .settings-switch.is-active::after{content:none!important;display:none!important;box-shadow:none!important;}
body.nexus-dashboard .settings-tab-panel{background:rgba(7,17,27,.88)!important;border:1px solid rgba(72,106,130,.48)!important;border-radius:0 12px 12px 12px!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;}
body.nexus-dashboard .settings-tab-panel::before{background:rgba(7,17,27,.98)!important;}
body.nexus-dashboard .settings-avatar-control{position:relative;flex:none;width:86px;height:86px;}
body.nexus-dashboard .settings-avatar-trigger{border:0;padding:0;margin:0;width:82px;height:82px;background:transparent;position:relative;cursor:pointer;border-radius:50%;display:block;}
body.nexus-dashboard .settings-avatar-trigger:hover .settings-avatar{border-color:#73b1dc;box-shadow:0 0 0 3px rgba(61,137,199,.15);}
body.nexus-dashboard .settings-avatar-edit{position:absolute;bottom:0;right:0;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#123650;color:#e5f4ff;border:1px solid #426986;font-size:14px;}
body.nexus-dashboard .settings-avatar-remove{position:absolute;top:-5px;right:-5px;z-index:2;width:24px;height:24px;border-radius:50%;border:1px solid #a44859;background:#541725;color:#fff;cursor:pointer;font-size:20px;line-height:1;}
body.nexus-dashboard .settings-avatar-remove:hover{background:#a3213b;}
body.nexus-dashboard .settings-avatar-file{font-size:11px;color:#9ac4e1;display:block;}
body.nexus-dashboard .settings-save-profile{display:inline-flex;align-items:center;justify-content:center;gap:10px;}
body.nexus-dashboard .settings-save-icon{width:16px;height:16px;}
body.nexus-dashboard .settings-save-spinner{display:none;width:16px;height:16px;border:2px solid #ffffff55;border-top-color:white;border-radius:50%;animation:nexus-save-spin .7s linear infinite;}
body.nexus-dashboard .settings-save-profile.is-loading .settings-save-spinner{display:block;}
body.nexus-dashboard .settings-save-profile.is-loading .settings-save-icon{display:none;}
@keyframes nexus-save-spin{to{transform:rotate(360deg)}}
body.nexus-dashboard .settings-dialog-backdrop[hidden]{display:none!important;}
body.nexus-dashboard .settings-dialog-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.82);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);display:flex;align-items:center;justify-content:center;padding:20px;}
body.nexus-dashboard .settings-dialog{width:min(100%,450px);box-sizing:border-box;position:relative;background:rgba(7,17,27,.97);border:1px solid rgba(92,137,170,.48);border-radius:15px;padding:28px;color:#e9f3fa;box-shadow:0 25px 90px rgba(0,0,0,.55);}
body.nexus-dashboard .settings-dialog h2{font-size:24px;margin:9px 0;}
body.nexus-dashboard .settings-dialog p{font-size:13px;color:#a3b8c8;line-height:1.6;}
body.nexus-dashboard .settings-dialog-kicker{font-size:10px;letter-spacing:2px;color:#83afd0;font-weight:700;}
body.nexus-dashboard .settings-dialog-close{position:absolute;top:14px;right:16px;color:#b7c8d7;background:transparent;border:0;font-size:25px;cursor:pointer;}
body.nexus-dashboard .settings-dropzone{margin-top:23px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:32px 12px;border:1px dashed #426c8a;border-radius:12px;background:rgba(20,44,65,.42);cursor:pointer;text-align:center;}
body.nexus-dashboard .settings-dropzone:hover,body.nexus-dashboard .settings-dropzone.is-dragging{border-color:#80b9e2;background:rgba(27,65,98,.58);}
body.nexus-dashboard .settings-dropzone-icon{font-size:29px;color:#99c5e3;}
body.nexus-dashboard .settings-dropzone span,body.nexus-dashboard .settings-dropzone small{color:#91aabd;font-size:12px;}
body.nexus-dashboard .settings-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px;}
body.nexus-dashboard .settings-dialog-actions button{padding:11px 17px;border-radius:8px;font-weight:700;cursor:pointer;}
body.nexus-dashboard .settings-dialog-secondary{background:#101c28;color:#d5e3ee;border:1px solid #354b5d;}
body.nexus-dashboard .settings-dialog-danger{background:#8c2034;color:white;border:1px solid #bc4458;}
body.nexus-dashboard .settings-dialog-error{color:#f4a3b2;font-size:12px;margin-top:10px;}
body.nexus-dashboard .settings-notice.is-success{animation:nexus-success-appear .4s ease-out;}
@keyframes nexus-success-appear{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){body.nexus-dashboard .settings-save-spinner{animation:none}}

/* v0.6.3 — clean tab join, preview and modal controls */
body.nexus-dashboard .settings-switcher{position:relative!important;z-index:2!important;margin-bottom:0!important;}
body.nexus-dashboard .settings-switch{box-sizing:border-box!important;margin-bottom:0!important;transform:none!important;}
body.nexus-dashboard .settings-switch.is-active{border-bottom:0!important;background:rgba(7,17,27,.88)!important;box-shadow:none!important;}
body.nexus-dashboard .settings-switch::before,body.nexus-dashboard .settings-switch::after,
body.nexus-dashboard .settings-tab-panel::before,body.nexus-dashboard .settings-tab-panel::after{content:none!important;display:none!important;}
body.nexus-dashboard .settings-tab-panel{position:relative!important;z-index:1!important;margin-top:0!important;border-radius:0 11px 11px 11px!important;background:rgba(7,17,27,.88)!important;}
body.nexus-dashboard .settings-avatar-trigger{overflow:hidden;}
body.nexus-dashboard .settings-avatar-trigger img.settings-avatar{display:block!important;width:82px!important;height:82px!important;object-fit:cover!important;object-position:center!important;box-sizing:border-box!important;}
body.nexus-dashboard .settings-avatar-pending-remove{position:absolute;z-index:6;top:-5px;right:-5px;width:25px;height:25px;border-radius:50%;background:#6a1b2b;color:#fff;border:1px solid #b74c61;font-size:20px;line-height:1;cursor:pointer;transition:background .16s ease,transform .16s ease;}
body.nexus-dashboard .settings-avatar-pending-remove[hidden]{display:none!important;}
body.nexus-dashboard .settings-avatar-pending-remove:hover{background:#b32944;transform:scale(1.08);}
body.nexus-dashboard .settings-dialog-close{width:36px;height:36px;border-radius:8px;display:grid;place-items:center;transition:background .16s,color .16s,border-color .16s;}
body.nexus-dashboard .settings-dialog-close:hover,body.nexus-dashboard .settings-dialog-close:focus-visible{background:#20384b!important;color:#fff!important;outline:1px solid #608bab!important;}
body.nexus-dashboard .settings-dialog-secondary{transition:background .16s,border-color .16s,color .16s,transform .16s;}
body.nexus-dashboard .settings-dialog-secondary:hover,body.nexus-dashboard .settings-dialog-secondary:focus-visible{background:#24445e!important;border-color:#75a5c7!important;color:#fff!important;transform:translateY(-1px);}

/* v0.6.4 — avatar edit icon outside clipped circle; dark toast notifications */
body.nexus-dashboard .settings-avatar-trigger{overflow:visible!important;isolation:isolate;}
body.nexus-dashboard .settings-avatar-trigger .settings-avatar{border-radius:50%;overflow:hidden;}
body.nexus-dashboard .settings-avatar-edit{z-index:5;right:-3px;bottom:-3px;display:grid!important;place-items:center;box-shadow:0 2px 9px rgba(0,0,0,.7);}
body.nexus-dashboard .settings-avatar-control{overflow:visible!important;}
body.nexus-dashboard .settings-avatar-pending-remove,body.nexus-dashboard .settings-avatar-remove{z-index:7;}
body.nexus-dashboard .settings-notice[data-nexus-toast]{display:none!important;}
.nexus-toast-stack{position:fixed;right:22px;bottom:22px;z-index:99999;display:flex;flex-direction:column;align-items:stretch;gap:10px;width:min(360px,calc(100vw - 32px));pointer-events:none;}
.nexus-toast{pointer-events:auto;position:relative;display:grid;grid-template-columns:26px 1fr 26px;align-items:start;gap:10px;padding:14px 12px 14px 14px;background:#15191d;color:#e9edf2;border:1px solid #353e45;border-left:3px solid #5d9bba;border-radius:9px;box-shadow:0 14px 36px rgba(0,0,0,.52);font:inherit;animation:nexus-toast-in .23s ease-out both;}
.nexus-toast[data-type="success"]{border-left-color:#39ad7a;}
.nexus-toast[data-type="error"]{border-left-color:#d35b65;}
.nexus-toast[data-type="info"]{border-left-color:#5599c5;}
.nexus-toast-icon{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#17352a;color:#6ce0aa;font-size:14px;font-weight:800;}
.nexus-toast[data-type="error"] .nexus-toast-icon{background:#391d24;color:#f3949d;}
.nexus-toast[data-type="info"] .nexus-toast-icon{background:#182c3b;color:#8dc7ec;}
.nexus-toast-title{font-size:13px;font-weight:700;line-height:1.35;margin-bottom:3px;}
.nexus-toast-message{font-size:12px;line-height:1.5;color:#aebbc7;overflow-wrap:anywhere;}
.nexus-toast-close{appearance:none;border:0;background:transparent;color:#8f9da8;border-radius:5px;cursor:pointer;width:25px;height:25px;font-size:18px;line-height:1;transition:background .15s,color .15s;}
.nexus-toast-close:hover,.nexus-toast-close:focus-visible{background:#333d45;color:white;outline:none;}
.nexus-toast.is-leaving{animation:nexus-toast-out .2s ease-in both;}
@keyframes nexus-toast-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes nexus-toast-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}
@media(max-width:600px){.nexus-toast-stack{right:12px;bottom:12px;width:calc(100vw - 24px);}}
@media(prefers-reduced-motion:reduce){.nexus-toast,.nexus-toast.is-leaving{animation:none!important;}}


/* AVQEN v0.6.5 — BLACK FIRST: charcoal surfaces, blue accents only */
body.nexus-dashboard{background:#020304!important;color:#e6e8eb!important;}
body.nexus-dashboard .sidebar{background:rgba(5,6,8,.88)!important;border-right-color:rgba(255,255,255,.105)!important;backdrop-filter:blur(19px)!important;-webkit-backdrop-filter:blur(19px)!important;}
body.nexus-dashboard .main,body.nexus-dashboard main{color:#e6e8eb;}
body.nexus-dashboard .stats article,body.nexus-dashboard .panel,
body.nexus-dashboard .dash-stat,body.nexus-dashboard .dash-card,
body.nexus-dashboard .settings-card,
body.nexus-dashboard .settings-tab-panel{
 background:rgba(7,8,10,.82)!important;
 border-color:rgba(180,190,200,.19)!important;
 backdrop-filter:blur(16px) saturate(85%)!important;
 -webkit-backdrop-filter:blur(16px) saturate(85%)!important;
 box-shadow:0 16px 45px rgba(0,0,0,.25)!important;
}
body.nexus-dashboard .settings-tab-panel{border-radius:0 11px 11px 11px!important;}
body.nexus-dashboard .settings-switcher{background:transparent!important;border-color:transparent!important;}
body.nexus-dashboard .settings-switch{
 background:rgba(11,12,15,.92)!important;
 border-color:rgba(180,190,200,.19)!important;
 color:#e5e8ec!important;
 box-shadow:none!important;
}
body.nexus-dashboard .settings-switch:hover{background:rgba(23,25,29,.96)!important;border-color:rgba(210,220,230,.34)!important;}
body.nexus-dashboard .settings-switch.is-active{
 background:rgba(7,8,10,.96)!important;
 border-color:rgba(180,190,200,.19)!important;
 border-bottom:0!important;
 box-shadow:none!important;
}
body.nexus-dashboard .settings-switch .settings-switch-icon,
body.nexus-dashboard .settings-switch-icon{background:#131820!important;border-color:#344353!important;}
body.nexus-dashboard .settings-tab-panel{margin-top:0!important;}
body.nexus-dashboard .settings-dialog-backdrop{background:rgba(0,0,0,.82)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;}
body.nexus-dashboard .settings-dialog{
 background:rgba(14,15,17,.98)!important;
 border:1px solid rgba(225,230,235,.17)!important;
 border-radius:12px!important;
 box-shadow:0 28px 100px rgba(0,0,0,.72)!important;
 color:#f1f2f4!important;
}
body.nexus-dashboard .settings-dialog p,body.nexus-dashboard .settings-dialog small{color:#a8adb5!important;}
body.nexus-dashboard .settings-dropzone{
 background:rgba(20,22,25,.8)!important;
 border:1px dashed #4b525c!important;
 border-radius:10px!important;
}
body.nexus-dashboard .settings-dropzone:hover,
body.nexus-dashboard .settings-dropzone.is-dragging{
 background:#1a1e23!important;
 border-color:#8795a4!important;
}
body.nexus-dashboard .settings-dialog-secondary{
 background:#1c1e22!important;color:#e2e5e8!important;border-color:#44494f!important;
}
body.nexus-dashboard .settings-dialog-secondary:hover,
body.nexus-dashboard .settings-dialog-secondary:focus-visible{
 background:#30343a!important;border-color:#7c8792!important;transform:none!important;
}
body.nexus-dashboard .settings-dialog-close:hover,
body.nexus-dashboard .settings-dialog-close:focus-visible{
 background:#30343a!important;outline:1px solid #7c8792!important;
}
body.nexus-dashboard .settings-form input,
body.nexus-dashboard .settings-form select{
 background:rgba(3,4,6,.9)!important;
 border-color:#343b44!important;
 color:#e9edf1!important;
}
body.nexus-dashboard .settings-form input:focus,
body.nexus-dashboard .settings-form select:focus{border-color:#5489af!important;}
body.nexus-dashboard .nav.active,body.nexus-dashboard .dash-nav.active{
 background:rgba(27,31,36,.86)!important;
 color:#eef3f8!important;
}
/* Deliberately retain blue heading accents, button states and user-selected background animation. */

/* v0.6.6 — Black-first roadmap and toast expiration */
.nexus-plan{background:rgba(5,6,8,.89);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);border:1px solid #30343a;border-radius:13px;padding:27px;margin:25px 0 30px;color:#e6e8eb}
.nexus-plan-head{display:flex;align-items:center;justify-content:space-between;gap:18px}
.nexus-plan-head h2{margin:8px 0;font-size:25px;color:#f1f3f6}
.nexus-plan-head p{margin:0 0 14px;color:#929ba5;font-size:13px}
.nexus-plan-progress{text-align:right;min-width:85px}.nexus-plan-progress strong{display:block;font-size:23px;color:#e5e9ee}.nexus-plan-progress span{font-size:11px;color:#8e9ba7}
.nexus-plan-meter{height:4px;background:#23272c;border-radius:6px;overflow:hidden;margin:13px 0 17px}.nexus-plan-meter span{display:block;height:100%;background:#427ca5;transition:width .3s}
.nexus-plan-task{display:flex;align-items:center;gap:15px;padding:14px 13px;border-top:1px solid #24282d;cursor:pointer;transition:background .18s}
.nexus-plan-task:hover{background:rgba(255,255,255,.035)}.nexus-plan-task input{position:absolute;opacity:0;width:1px;height:1px}
.nexus-plan-check{width:23px;height:23px;flex:none;border:1px solid #515961;border-radius:6px;display:grid;place-items:center;color:transparent;font-weight:800;font-size:13px}
.nexus-plan-task input:checked+.nexus-plan-check{background:#204b68;border-color:#508ab3;color:#d9f0ff}
.nexus-plan-task input:focus-visible+.nexus-plan-check{outline:2px solid #7eb8dc;outline-offset:3px}
.nexus-plan-copy{display:grid;gap:4px;flex:1}.nexus-plan-copy strong{font-size:13px;color:#e0e4e9}.nexus-plan-copy small{font-size:11px;color:#87939e;line-height:1.5}.nexus-plan-task.is-done .nexus-plan-copy strong{text-decoration:line-through;color:#929ca6}
.nexus-plan-phase{font-size:10px;letter-spacing:.08em;color:#798997;text-align:right;max-width:140px}
.nexus-plan-actions{display:flex;align-items:center;gap:15px;margin-top:16px;flex-wrap:wrap}.nexus-plan-actions span{font-size:11px;color:#88939d}
.nexus-plan-save{border:1px solid #477ba0;border-radius:7px;padding:11px 19px;color:#e9f3fa;background:#18384e;font-weight:700;cursor:pointer;transition:background .2s}.nexus-plan-save:hover{background:#285875}
.nexus-toast{position:relative;padding-bottom:19px!important;overflow:hidden}.nexus-toast-seconds{font-size:11px;color:#aeb7bf;font-variant-numeric:tabular-nums;white-space:nowrap;align-self:start;margin-top:2px}
.nexus-toast-track{position:absolute;bottom:0;left:0;right:0;height:3px;background:#292d32}.nexus-toast-track span{display:block;height:100%;background:#5d9a79;transition:none}.nexus-toast[data-type=error] .nexus-toast-track span{background:#a95761}
@media(max-width:700px){.nexus-plan{padding:16px}.nexus-plan-head h2{font-size:21px}.nexus-plan-task{gap:10px;padding:12px 5px}.nexus-plan-phase{display:none}}

/* v0.6.7 — neutral charcoal dashboard surfaces (blue only for functional accents) */
body.nexus-dashboard .dash-tile,
body.nexus-dashboard .dash-panel,
body.nexus-dashboard .nexus-plan {
 background:rgba(8,9,11,.87)!important;
 border:1px solid rgba(145,149,154,.23)!important;
 -webkit-backdrop-filter:blur(17px) saturate(70%)!important;
 backdrop-filter:blur(17px) saturate(70%)!important;
 box-shadow:0 16px 38px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.035)!important;
}
body.nexus-dashboard .dash-tile::after {border-color:rgba(145,149,154,.09)!important}
body.nexus-dashboard .dash-empty {background:rgba(12,13,15,.6)!important;border-color:rgba(140,145,151,.24)!important}
body.nexus-dashboard .dash-chip {background:rgba(35,38,42,.8)!important;border-color:#454a50!important;color:#c4c9d0!important}
body.nexus-dashboard .nexus-plan-task {background:transparent}
body.nexus-dashboard .nexus-plan-task:hover {background:rgba(255,255,255,.035)}
body.nexus-dashboard .nexus-plan-group {margin:22px 0 7px;padding:11px 0 9px;border-bottom:1px solid rgba(165,170,178,.18);display:flex;justify-content:space-between;align-items:center;gap:12px}
body.nexus-dashboard .nexus-plan-group strong {font-size:11px;letter-spacing:1.3px;color:#d7dbe0;text-transform:uppercase}
body.nexus-dashboard .nexus-plan-group small {color:#a0a8b1;font-size:11px}
body.nexus-dashboard .nexus-plan-task .nexus-plan-copy small {line-height:1.5}
body.nexus-dashboard .nexus-plan-actions {margin-top:23px}
@media(max-width:600px){body.nexus-dashboard .nexus-plan-group{align-items:flex-start}}

/* AVQEN v0.6.8 — neutral toast controls, PIN slots and audit view */
.nexus-toast{grid-template-columns:26px minmax(0,1fr) auto 26px!important;column-gap:10px!important;align-items:start!important;}
.nexus-toast-close{grid-column:4!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:center!important;align-self:start!important;margin:0!important;padding:0!important;position:relative!important;top:-2px!important;left:0!important;font-size:20px!important;line-height:1!important;}
.nexus-toast-seconds{grid-column:3!important;grid-row:1!important;}
.nexus-toast-title,.nexus-toast-message{min-width:0}
.settings-pin-wrap{display:block;position:relative;width:min(100%,440px);height:58px;cursor:text}
.settings-pin-wrap input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;z-index:2!important;cursor:text!important;caret-color:transparent!important;}
.settings-pin-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;height:100%;pointer-events:none}
.settings-pin-slots span{display:grid;place-items:center;border:1px solid #40464d;background:rgba(5,6,8,.72);border-radius:8px;color:#9ec5e0;font-size:24px;box-sizing:border-box;transition:border-color .15s,box-shadow .15s}
.settings-pin-wrap:focus-within .settings-pin-slots span.is-current{border-color:#7b9db4;box-shadow:0 0 0 1px rgba(83,127,157,.25)}
.settings-action-icon{width:17px;height:17px;flex-shrink:0}
.settings-save{display:inline-flex;align-items:center;justify-content:center;gap:9px}
.nexus-audit-card{width:100%;max-width:none}
.nexus-audit-table-wrap{overflow-x:auto}
.nexus-audit-table{border-collapse:collapse;width:100%;min-width:660px;text-align:left;font-size:13px;color:#b7c1ca}
.nexus-audit-table th,.nexus-audit-table td{padding:13px 12px;border-bottom:1px solid #292e33;vertical-align:top}
.nexus-audit-table th{color:#e2e6ea;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.nexus-audit-status{display:inline-block;padding:3px 8px;border-radius:5px;background:#302027;color:#e5a1a7}
.nexus-audit-status.is-success{background:#183127;color:#8bcfa6}
@media(max-width:480px){.settings-pin-slots{gap:5px}.settings-pin-wrap{height:52px}}

/* v0.6.9 — black-first searchable audit log */
.nexus-audit-card{max-width:none;width:100%;background:rgba(7,8,10,.82);border:1px solid #30343a;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.nexus-audit-card .settings-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nexus-audit-count{color:#929da7;font-size:12px}
.nexus-audit-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 12px}
.nexus-audit-toolbar select,.nexus-audit-search{height:42px;background:#0c0e11;border:1px solid #343a42;border-radius:9px;color:#d6dce3;font:inherit;font-size:13px}
.nexus-audit-toolbar select{padding:0 34px 0 12px;min-width:150px;cursor:pointer}
.nexus-audit-search{display:flex;align-items:center;flex:1 1 260px;min-width:180px;padding:0 12px;gap:8px}
.nexus-audit-search-icon{color:#9ba6b1;font-size:22px}
.nexus-audit-search input{width:100%;height:100%;border:0;outline:0;background:transparent;color:#e6ebef;font:inherit;min-width:0}
.nexus-audit-search:focus-within,.nexus-audit-toolbar select:focus-visible{border-color:#7d8b98;outline:1px solid #465360}
.nexus-audit-table{min-width:510px}
.nexus-audit-table th{color:#9da8b2}
.nexus-audit-table td{padding:15px 12px}
.nexus-audit-time{font-variant-numeric:tabular-nums;white-space:nowrap;color:#c5cdd4}
.nexus-audit-event{display:flex;align-items:center;gap:11px}
.nexus-audit-event-icon{display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid #343b43;border-radius:9px;background:#15191d;color:#a8b6c1;font-size:16px}
.nexus-audit-event strong{display:block;font-size:13px;font-weight:600;color:#edf0f2}
.nexus-audit-event small{display:block;margin-top:3px;font-size:11px;color:#7d8994}
.nexus-audit-status{font-weight:600}
.nexus-audit-no-results{padding:24px 12px;text-align:center;color:#9ba6b1;font-size:13px}
.nexus-audit-no-results[hidden]{display:none}
@media(max-width:640px){.nexus-audit-toolbar select{flex:1 1 125px;min-width:0}.nexus-audit-table{min-width:470px}.nexus-audit-time{font-size:12px}}

.nexus-log-row[hidden]{display:none}

/* v0.7.0: full width logs and expandable details */
body.nexus-dashboard .nexus-audit-card{width:100%!important;max-width:none!important;min-width:0;margin-left:0!important;margin-right:0!important;background:rgba(6,7,9,.84)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}
body.nexus-dashboard .nexus-audit-table-wrap{width:100%;min-width:0}
body.nexus-dashboard .nexus-audit-table{width:100%;min-width:590px}
.nexus-audit-expand-cell{width:65px;text-align:right}
.nexus-audit-expand{width:33px;height:33px;cursor:pointer;background:#171a1e;border:1px solid #343a40;border-radius:8px;color:#c4cbd2;font-size:22px;transition:background .16s,border-color .16s}
.nexus-audit-expand:hover,.nexus-audit-expand:focus-visible{background:#292e34;border-color:#77828e;outline:none}
.nexus-audit-expand[aria-expanded=true]{transform:rotate(180deg)}
.nexus-audit-detail-row[hidden]{display:none!important}
.nexus-audit-detail-row td{padding:0 12px 16px!important}
.nexus-audit-detail-panel{padding:18px 20px;background:rgba(23,25,29,.92);border:1px solid #363b42;border-radius:10px;color:#e0e5ea}
.nexus-audit-detail-panel strong{font-size:12px;letter-spacing:.04em}
.nexus-audit-detail-panel p{font-size:13px;line-height:1.6;color:#b8c1ca;margin:9px 0}
.nexus-audit-detail-panel small{font-size:11px;color:#8995a0}
@media(max-width:760px){body.nexus-dashboard .nexus-audit-card{padding:17px!important}}

/* v0.7.1 — monochrome audit events and accessible diagnostic modal */
.nexus-audit-event-icon{display:none!important}
.nexus-audit-event{gap:0!important}
.nexus-audit-details-button{border:1px solid #424850;background:#191c20;color:#d6dce2;border-radius:8px;padding:8px 12px;cursor:pointer;font-size:12px;white-space:nowrap;transition:background .16s,border-color .16s}
.nexus-audit-details-button:hover,.nexus-audit-details-button:focus-visible{background:#30353b;border-color:#84909b;outline:none}
.nexus-audit-none{color:#626c75}
.nexus-log-modal[hidden]{display:none!important}
.nexus-log-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px}
.nexus-log-modal-shade{position:absolute;inset:0;background:rgba(0,0,0,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.nexus-log-modal-card{position:relative;width:min(100%,560px);max-height:calc(100vh - 40px);overflow:auto;background:#0d0f12;border:1px solid #3d434a;border-radius:14px;padding:32px;color:#e5e8ec;box-shadow:0 30px 90px rgba(0,0,0,.7)}
.nexus-log-modal-card h2{font-size:23px;margin:16px 36px 4px 0}
.nexus-log-modal-event{font-size:12px;color:#8c98a3;margin:0 0 22px}
.nexus-log-modal-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;color:#abb4bd;font-size:12px;border-bottom:1px solid #2b3036;padding-bottom:20px}
.nexus-log-modal-reason{padding:20px 0 12px}
.nexus-log-modal-reason strong{font-size:12px;color:#d9e0e6}
.nexus-log-modal-reason p{font-size:14px;color:#bdc6ce;line-height:1.65;margin:10px 0}
.nexus-log-modal-code{font-size:12px;color:#8f9ba6}.nexus-log-modal-code[hidden]{display:none}
.nexus-log-modal-code code{color:#e0e5e9}
.nexus-log-modal-close{position:absolute;right:18px;top:16px;width:34px;height:34px;border:1px solid #3c444d;background:#181b1f;border-radius:8px;color:#cbd3da;font-size:23px;cursor:pointer}
.nexus-log-modal-close:hover,.nexus-log-modal-close:focus-visible{background:#30353a;border-color:#8a949e;outline:none}
body.nexus-log-modal-open{overflow:hidden}

.nexus-project-warning{margin:16px 0;padding:17px 20px;border:1px solid #725245;border-radius:10px;background:rgba(66,37,25,.2);color:#e2d2c9}
.nexus-project-warning strong{font-size:13px}.nexus-project-warning p{margin:8px 0 0;font-size:13px;line-height:1.6}
.nexus-project-ok{padding:16px 0;color:#98c5a7;font-size:13px}.nexus-project-empty{color:#aab5bf}
.nexus-project-status h3{margin-top:25px;font-size:15px}

/* AVQEN v0.7.2 — neutral admin identity + refined active sidebar */
body.nexus-dashboard .dash-admin-profile {
  background:rgba(9,10,12,.88)!important;
  border:1px solid rgba(112,119,129,.38)!important;
  box-shadow:0 9px 24px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.035)!important;
  backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;
  color:#e6e8eb!important;
}
body.nexus-dashboard .dash-admin-profile .dash-admin-avatar {
  border-color:rgba(143,151,160,.45)!important;
}
body.nexus-dashboard .dash-admin-profile .dash-admin-avatar-fallback {
  background:#1a1d21!important;color:#c6ced7!important;
}
body.nexus-dashboard .dash-nav.active,body.nexus-dashboard .nav.active {
  position:relative;
  background:linear-gradient(90deg,rgba(25,29,34,.92),rgba(10,12,15,.78))!important;
  border:1px solid rgba(98,110,121,.27)!important;
  border-left:1px solid rgba(98,110,121,.27)!important;
  color:#f0f3f5!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 3px 13px rgba(0,0,0,.16)!important;
}
body.nexus-dashboard .dash-nav.active::before,body.nexus-dashboard .nav.active::before {
  content:"";position:absolute;left:0;top:24%;height:52%;width:3px;
  border-radius:0 3px 3px 0;background:#397ba6;
}
body.nexus-dashboard .dash-nav.active:hover,body.nexus-dashboard .dash-nav.active:focus-visible {
  background:linear-gradient(90deg,rgba(34,39,45,.96),rgba(15,18,22,.85))!important;
  border-color:rgba(128,140,152,.42)!important;
}

/* AVQEN v0.7.3 project creation */
.nexus-project-create{width:100%;max-width:none!important;margin-bottom:22px;background:rgba(5,6,8,.84)!important;backdrop-filter:blur(14px)}
.nexus-project-form{display:grid;gap:19px;margin-top:18px;max-width:940px}
.nexus-project-form-grid{display:grid;grid-template-columns:2fr 1fr;gap:15px}
.nexus-project-form label{display:grid;gap:8px;font-size:12px;color:#c7d0d8;font-weight:600}
.nexus-project-form input:not([type=radio]):not([type=file]),.nexus-project-form select,.nexus-project-form textarea{width:100%;background:#090b0e;border:1px solid #343a40;border-radius:9px;color:#e7ebef;padding:12px 14px;font:inherit;outline:none}
.nexus-project-form input:focus,.nexus-project-form select:focus,.nexus-project-form textarea:focus{border-color:#7192aa}
.nexus-project-methods{display:flex;gap:12px;flex-wrap:wrap}
.nexus-project-methods label{display:flex;align-items:center;gap:12px;min-width:200px;padding:16px;background:#101215;border:1px solid #353b42;border-radius:11px;cursor:pointer}
.nexus-project-methods label:has(input:checked){background:#151a1f;border-color:#71808c}
.nexus-project-methods small{display:block;margin-top:5px;font-weight:400;color:#8e9ba7}
.nexus-project-zip-field{padding:22px;border:1px dashed #4b545e;border-radius:11px;background:#0b0e11}
.nexus-project-zip-field[hidden]{display:none}
.nexus-project-zip-field input{display:block;color:#b7c4cf;margin:12px 0}
.nexus-project-zip-field small{color:#8e9ba7}
.nexus-project-submit{justify-self:start;background:#18232c;border:1px solid #58768c;color:#edf4fa;border-radius:9px;padding:13px 22px;font-weight:700;cursor:pointer;transition:background .2s,box-shadow .2s}
.nexus-project-submit:hover{background:#233c50;box-shadow:0 0 18px #22476155}
.nexus-project-submit:disabled{opacity:.7;cursor:wait}
@media(max-width:650px){.nexus-project-form-grid{grid-template-columns:1fr}.nexus-project-methods{flex-direction:column}.nexus-project-methods label{min-width:0}}

/* v0.7.4 Create Project modal / neutral black */
.nexus-project-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:10px 0 24px;padding:22px 24px;border:1px solid #30343a;border-radius:13px;background:rgba(8,9,11,.85);backdrop-filter:blur(15px)}
.nexus-project-toolbar h2{margin:7px 0;font-size:23px;color:#e9edf0}.nexus-project-toolbar p{margin:0;color:#98a3ad;font-size:13px}
.nexus-project-modal[hidden],.nexus-project-client[hidden],#nexus-project-website[hidden]{display:none!important}
.nexus-project-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:18px}
.nexus-project-modal-scrim{position:absolute;inset:0;background:rgba(0,0,0,.82);backdrop-filter:blur(9px)}
.nexus-project-dialog{position:relative;width:min(680px,100%);max-height:min(90vh,850px);overflow-y:auto;border:1px solid #41464d;border-radius:15px;background:rgba(9,10,12,.98);box-shadow:0 24px 90px #000b;color:#e5e9ed;padding:28px;outline:none}
.nexus-project-dialog-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.nexus-project-dialog-head h2{font-size:27px;margin:8px 0}.nexus-project-dialog-head p{font-size:13px;color:#9da7b1;margin:0}
.nexus-project-close{width:34px;height:34px;border-radius:8px;border:1px solid #3b4147;background:#181b1f;color:#e4e8ed;cursor:pointer;font-size:24px}.nexus-project-close:hover,.nexus-project-cancel:hover{background:#34383e;color:white}
.nexus-project-dialog .nexus-project-form{max-width:none}.nexus-project-dialog-actions{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin-top:4px}
.nexus-project-cancel{padding:12px 19px;border:1px solid #3d4248;border-radius:9px;background:#17191c;color:#d5dbe1;cursor:pointer}
.nexus-modal-open{overflow:hidden}
@media(max-width:650px){.nexus-project-toolbar{flex-direction:column;align-items:stretch}.nexus-project-dialog{padding:20px}.nexus-project-dialog-actions{flex-wrap:wrap}}

/* v0.7.5 — project logo picker and project cards */
.nexus-project-logo-row{display:flex;align-items:center;gap:16px;margin:6px 0 16px}
.nexus-project-logo-picker{width:76px;height:76px;flex:none;border:1px dashed #505760;background:#101215;border-radius:13px;display:grid;place-items:center;color:#aab2ba;cursor:pointer;overflow:hidden;transition:border-color .2s,background .2s}
.nexus-project-logo-picker:hover,.nexus-project-logo-picker:focus-visible{border-color:#9da8b2;background:#1b1f24;outline:none}
.nexus-project-logo-picker img,.nexus-project-logo-picker #nexus-project-logo-preview{width:100%;height:100%;object-fit:contain;display:grid;place-items:center}
.nexus-project-logo-row>div{min-width:0;flex:1}.nexus-project-logo-row input{max-width:100%;font-size:12px}.nexus-project-logo-row small{display:block;margin-top:6px;color:#8e98a2;font-size:11px}
.nexus-project-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin:18px 0 24px}
.nexus-project-card{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;border:1px solid #30343a;background:rgba(7,8,10,.9);border-radius:12px}
.nexus-project-card-logo{width:56px;height:56px;flex:none;display:grid;place-items:center;background:#16191d;border:1px solid #363c42;border-radius:11px;color:#88939d;font-size:24px;overflow:hidden}
.nexus-project-card-logo img{width:100%;height:100%;object-fit:contain}.nexus-project-card-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.nexus-project-card-copy strong{font-size:14px;color:#e4e8ec;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nexus-project-card-copy small{font-size:11px;color:#89949e}.nexus-project-card-status{font-size:10px;color:#9eb8a8}
@media(max-width:600px){.nexus-project-logo-row{align-items:flex-start}.nexus-project-card{padding:12px}}

/* v0.7.7 - dark project wizard and compact project badges */
.nexus-wizard-steps{display:flex;gap:9px;margin:8px 0 20px;flex-wrap:wrap}.nexus-wizard-steps span{padding:9px 12px;border:1px solid #30343a;background:#0c0e11;color:#7f8b97;border-radius:8px;font-size:11px;font-weight:700;letter-spacing:.05em}.nexus-wizard-steps .is-active{border-color:#54728a;color:#e6f0f7;background:#17202a}.nexus-wizard-steps .is-done{color:#93b3c6}.nexus-wizard-panel h3{font-size:17px;margin:0 0 14px}.nexus-wizard-choices{display:grid;gap:10px}.nexus-wizard-choices label{cursor:pointer}.nexus-wizard-choices input{position:absolute;opacity:0}.nexus-wizard-choices label>span{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border:1px solid #333940;background:rgba(9,11,14,.92);border-radius:11px;color:#dfe5ea}.nexus-wizard-choices label>span small{font-size:11px;color:#91a0ae}.nexus-wizard-choices input:checked+span{border-color:#6689a1;background:#131e27}.nexus-wizard-choices input:focus-visible+span{outline:2px solid #91b6d2;outline-offset:2px}.nexus-wizard-hint{font-size:12px;color:#91a0ae;line-height:1.6;margin:12px 0}.nexus-wizard-db-toggle{display:flex!important;align-items:center;gap:10px;margin-top:15px}.nexus-wizard-db-toggle input{width:auto!important}.nexus-wizard-review>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #252a30;padding:11px 0;font-size:12px}.nexus-wizard-review span{color:#8d9ca8}.nexus-project-dialog{max-height:92vh;overflow-y:auto}.nexus-unregistered-group{margin:18px 0}.nexus-unregistered-group h3 small{font-size:11px;color:#9ca9b5;font-weight:400;margin-left:10px}.nexus-project-unregistered{cursor:pointer;text-align:left;font:inherit;width:100%;border-style:dashed!important}.nexus-project-unregistered:hover{background:#171c20!important;border-color:#6a8091!important}.nexus-project-card{min-width:0}.nexus-project-card-logo{flex-shrink:0}.nexus-project-card-copy{min-width:0}.nexus-project-card-copy strong{overflow-wrap:anywhere}.nexus-project-card-status{white-space:nowrap}

/* v0.7.8 — connected step progress, ZIP drop area, grouped projects */
.nexus-wizard-steps{display:flex;gap:0;flex-wrap:nowrap;margin:8px 0 22px;counter-reset:wizard}
.nexus-wizard-steps span{position:relative;flex:1;display:flex;align-items:center;gap:9px;padding:0 4px 12px 0;background:none!important;border:0!important;border-radius:0!important;font-size:11px;letter-spacing:0;color:#7f8993}
.nexus-wizard-steps span:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:#292e34}
.nexus-wizard-steps span.is-done:after{background:#4b718b}.nexus-wizard-steps span.is-active:after{background:#87abc3}
.nexus-wizard-steps span i{display:grid;place-items:center;width:26px;height:26px;border:1px solid #3c444c;border-radius:50%;font-style:normal;color:#9ca8b2;background:#111418}
.nexus-wizard-steps span.is-active i{background:#1b303f;border-color:#7097b0;color:#fff}.nexus-wizard-steps span.is-done i{background:#20313d;color:#b4d1e2}
.nexus-wizard-steps span b{font-size:11px;font-weight:700}
.nexus-zip-dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:180px;gap:9px;padding:24px!important;text-align:center;cursor:pointer;border:1px dashed #52606b!important;background:linear-gradient(145deg,#10151a,#080a0d)!important;transition:border-color .2s,background .2s}
.nexus-zip-dropzone:hover,.nexus-zip-dropzone.is-dragging{border-color:#93b1c5!important;background:#17212a!important}
.nexus-zip-dropzone input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.nexus-zip-dropzone-icon{font-size:32px;color:#9cb5c6}.nexus-zip-dropzone strong{font-size:15px;color:#e5eaef}.nexus-zip-dropzone small{font-size:12px;color:#9caab5}.nexus-zip-browse{color:#a5c6df;text-decoration:underline}.nexus-zip-dropzone p{font-size:11px;color:#b9c4ce;max-width:100%;overflow-wrap:anywhere}
.nexus-project-group{margin-top:22px}.nexus-project-group h3{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #252b30;font-size:14px}.nexus-project-group h3 small{color:#7f8c97;font-size:11px;font-weight:500}.nexus-group-warning-icon{color:#d5a266}
.nexus-project-group .nexus-project-cards{margin-top:14px}.nexus-project-unregistered{border:1px solid #85623c!important;background:rgba(37,25,13,.46)!important}.nexus-project-unregistered .nexus-project-card-logo{color:#e3af6c;background:#241c15;border-color:#755332}.nexus-project-unregistered .nexus-project-card-status{color:#d9ad75}
@media(max-width:530px){.nexus-wizard-steps span{gap:4px;flex-direction:column;align-items:flex-start}.nexus-wizard-steps span b{font-size:10px}}

/* v0.7.9 — connected wizard timeline: circles on one continuous progress track */
.nexus-project-dialog .nexus-wizard-steps{
  --step-track:#3c4249;--step-complete:#427ea7;--step-glow:#7ba7c5;
  display:flex!important;flex-wrap:nowrap!important;gap:0!important;
  align-items:flex-start;justify-content:space-between;
  margin:18px 0 30px!important;padding:0 2px!important;
  counter-reset:none;
}
.nexus-project-dialog .nexus-wizard-steps span{
  display:flex!important;flex:1 1 0!important;min-width:0;
  flex-direction:column!important;align-items:center!important;justify-content:flex-start;
  gap:9px!important;position:relative;
  padding:0!important;margin:0!important;
  border:0!important;background:transparent!important;border-radius:0!important;
  color:#7d858e!important;text-align:center;letter-spacing:0!important;
}
.nexus-project-dialog .nexus-wizard-steps span[hidden]{display:none!important}
.nexus-project-dialog .nexus-wizard-steps span::before{
  content:"";position:absolute;z-index:0;top:17px;left:-50%;width:100%;
  height:3px;background:var(--step-track);
}
.nexus-project-dialog .nexus-wizard-steps span:first-child::before{display:none}
.nexus-project-dialog .nexus-wizard-steps span.is-done::before,
.nexus-project-dialog .nexus-wizard-steps span.is-active::before{background:var(--step-complete)}
.nexus-project-dialog .nexus-wizard-steps span::after{display:none!important}
.nexus-project-dialog .nexus-wizard-steps span i{
  position:relative;z-index:1;display:grid!important;place-items:center;
  flex:none;width:36px!important;height:36px!important;border-radius:50%!important;
  background:#22262b!important;border:2px solid #50555b!important;
  box-shadow:0 0 0 3px #090a0c!important;color:#a2aab2!important;
  font-size:13px;font-style:normal;font-weight:800;
}
.nexus-project-dialog .nexus-wizard-steps span.is-done i{
  background:#244d69!important;border-color:#4e95c6!important;color:#f5fbff!important;
}
.nexus-project-dialog .nexus-wizard-steps span.is-active i{
  background:#172a38!important;border:3px solid #6b9fbe!important;color:#f5fbff!important;
  box-shadow:0 0 0 3px #090a0c,0 0 0 5px rgba(75,135,175,.18)!important;
}
.nexus-project-dialog .nexus-wizard-steps span.is-done i{font-size:0}
.nexus-project-dialog .nexus-wizard-steps span.is-done i::after{
  content:"✓";font-size:17px;line-height:1;font-weight:800;
}
.nexus-project-dialog .nexus-wizard-steps span b{
  display:block;font-size:11px!important;font-weight:700!important;
  line-height:1.3;white-space:nowrap;color:#808a94!important;
}
.nexus-project-dialog .nexus-wizard-steps span.is-done b,
.nexus-project-dialog .nexus-wizard-steps span.is-active b{color:#d9e3ea!important}
@media(max-width:420px){
  .nexus-project-dialog .nexus-wizard-steps span b{font-size:10px!important}
  .nexus-project-dialog .nexus-wizard-steps span i{width:32px!important;height:32px!important}
  .nexus-project-dialog .nexus-wizard-steps span::before{top:15px}
}

/* v0.8.0 wizard refinements */
.nexus-project-dialog{scrollbar-width:thin;scrollbar-color:rgba(135,146,158,.18) transparent;scrollbar-gutter:stable}
.nexus-project-dialog::-webkit-scrollbar{width:5px}
.nexus-project-dialog::-webkit-scrollbar-track{background:transparent}
.nexus-project-dialog::-webkit-scrollbar-thumb{background:rgba(137,148,160,.20);border-radius:9px}
.nexus-project-dialog::-webkit-scrollbar-thumb:hover{background:rgba(137,148,160,.48)}
.nexus-project-dialog .nexus-wizard-panel:not([hidden]){animation:nexus-step-enter .24s ease both}
@keyframes nexus-step-enter{from{opacity:.25;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.nexus-project-dialog .nexus-wizard-panel:not([hidden]){animation:none}}
.nexus-wizard-db-toggle{position:relative;display:flex!important;gap:12px!important;align-items:center;padding:13px 15px;border:1px solid #333b43;border-radius:10px;background:rgba(12,15,18,.9);cursor:pointer}
.nexus-wizard-db-toggle input{position:absolute;opacity:0;width:1px!important;height:1px!important}
.nexus-db-checkbox{width:23px;height:23px;border:1px solid #65717d;border-radius:6px;display:grid;place-items:center;background:#0c1014;color:transparent;flex:none;transition:all .18s}
.nexus-wizard-db-toggle input:checked+.nexus-db-checkbox{background:#23475d;border-color:#80a6be;color:#fff}
.nexus-wizard-db-toggle input:focus-visible+.nexus-db-checkbox{outline:2px solid #8bb9d5;outline-offset:3px}
.nexus-wizard-db-toggle strong,.nexus-wizard-db-toggle small{display:block}
.nexus-wizard-db-toggle small{color:#98a5b1;font-size:11px;margin-top:3px}
.nexus-logo-dropzone{position:relative;display:flex;align-items:center;gap:16px;min-height:105px;padding:14px;border:1px dashed #4b555f;border-radius:12px;background:linear-gradient(145deg,#111519,#090b0e);cursor:pointer;transition:border-color .2s,background .2s}
.nexus-logo-dropzone:hover,.nexus-logo-dropzone.is-dragging{border-color:#8daabc;background:#161c22}
.nexus-logo-dropzone>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.nexus-logo-preview{display:grid;place-items:center;width:76px;height:76px;flex:none;border:1px solid #39424a;border-radius:11px;background:#0b0d10;color:#8fa2b2;overflow:hidden;font-size:22px}
.nexus-logo-preview img{width:100%;height:100%;display:block;object-fit:contain}
.nexus-logo-drop-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.nexus-logo-drop-copy strong{font-size:13px;color:#e5e9ed}
.nexus-logo-drop-copy strong small{font-weight:400;color:#9ca9b4}
.nexus-logo-drop-copy span,.nexus-logo-drop-copy>small{font-size:12px;color:#a3b0ba}
.nexus-logo-drop-copy u{color:#a7cce2}
.nexus-logo-drop-copy p{font-size:11px;color:#d2e1eb;overflow-wrap:anywhere;margin:0}
.nexus-upload-clear,.nexus-selected-file button{position:relative;z-index:3;flex:none;border:1px solid #4d5964;border-radius:7px;background:#191e24;color:#d9e0e5;width:29px;height:29px;cursor:pointer;font-size:20px}
.nexus-upload-clear:hover,.nexus-selected-file button:hover{background:#313b45;color:#fff}
.nexus-logo-dropzone #nexus-logo-clear[hidden],.nexus-selected-file[hidden]{display:none!important}
.nexus-selected-file{position:relative;z-index:2;display:flex;align-items:center;gap:12px;max-width:100%;padding:10px 12px;margin-top:8px;border:1px solid #405463;border-radius:9px;background:#17202a;color:#dbe6ef}
.nexus-selected-file-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;background:#233d50;color:#d9e9f5;font-size:10px;font-weight:800}
.nexus-selected-file #nexus-zip-file-label{min-width:0;flex:1;text-align:left;font-size:12px;overflow-wrap:anywhere}
.nexus-zip-dropzone.has-file{border-style:solid!important;border-color:#5b778b!important}
.nexus-client-group{width:100%;margin:14px 0 20px}
.nexus-client-group h4{margin:0 0 10px;font-size:12px;color:#c8d0d7;font-weight:700}
.nexus-client-group h4 small{font-weight:400;color:#8c9aa6;margin-left:6px}
.nexus-client-projects{display:flex;flex-wrap:wrap;gap:12px}

/* v0.8.1 project wizard polish */
.nexus-wizard-choices label>span{display:flex!important;align-items:center!important;gap:16px!important;padding:14px 16px!important}
.nexus-source-symbol{width:44px;height:44px;flex:none;display:grid;place-items:center;border:1px solid #4b6374;border-radius:10px;background:#14212a;color:#b3d1e3;font-size:27px;line-height:1}
.nexus-source-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.nexus-source-copy b{font-size:14px}
.nexus-source-copy small{font-size:12px;color:#9aa9b5}
.nexus-project-dialog .nexus-zip-dropzone{margin:12px 0 23px!important}
.nexus-project-dialog .nexus-logo-dropzone{margin:16px 0 22px!important}
.nexus-project-dialog .nexus-logo-dropzone>input[type=file]{display:none!important}
.nexus-project-dialog .nexus-logo-preview img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
.nexus-project-dialog #nexus-wizard-submit{display:inline-flex;align-items:center;gap:9px;justify-content:center}
.nexus-project-dialog #nexus-wizard-submit[hidden]{display:none!important}
.nexus-create-icon{display:grid;place-items:center;width:20px;height:20px;border-radius:5px;background:rgba(148,183,203,.14);font-size:19px;font-weight:500;line-height:1}
.nexus-category-tag{display:inline-flex;align-items:center;border:1px solid #466076;background:#172a39;color:#c4dff1!important;border-radius:999px;padding:4px 10px;font-size:11px;text-transform:capitalize}
.nexus-category-tag[data-category=design]{border-color:#5d5d72;background:#222230;color:#d6d1e6!important}

/* v0.8.2 wizard — left-aligned source cards, selected file states, animated track */
.nexus-project-dialog .nexus-wizard-choices label>span{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 justify-content:flex-start!important;text-align:left!important;min-height:86px!important;
 gap:18px!important;padding:17px 20px!important
}
.nexus-project-dialog .nexus-wizard-choices .nexus-source-symbol{
 display:grid!important;place-items:center!important;flex:0 0 48px!important;
 width:48px!important;height:48px!important;margin:0!important;
 font-size:29px!important
}
.nexus-project-dialog .nexus-wizard-choices .nexus-source-copy{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 justify-content:center!important;gap:5px!important;text-align:left!important;
 margin:0!important;width:auto!important
}
.nexus-project-dialog .nexus-wizard-choices .nexus-source-copy b,
.nexus-project-dialog .nexus-wizard-choices .nexus-source-copy small{text-align:left!important;margin:0!important}
.nexus-project-dialog .nexus-zip-placeholder{display:flex;flex-direction:column;align-items:center;gap:9px}
.nexus-project-dialog .nexus-zip-placeholder[hidden]{display:none!important}
.nexus-project-dialog .nexus-zip-dropzone.has-file{
 min-height:86px!important;padding:14px!important;display:flex!important;
 align-items:center!important;justify-content:center!important
}
.nexus-project-dialog .nexus-zip-dropzone.has-file .nexus-selected-file{
 margin:0!important;max-width:100%;width:100%;border-color:#516778
}
.nexus-project-dialog .nexus-logo-drop-copy[hidden]{display:none!important}
.nexus-project-dialog .nexus-logo-dropzone.has-file{
 min-height:110px;justify-content:center;gap:0;padding:12px
}
.nexus-project-dialog .nexus-logo-dropzone.has-file .nexus-logo-preview{
 width:94px;height:94px;border-color:#526675
}
.nexus-project-dialog .nexus-logo-dropzone.has-file .nexus-upload-clear{
 position:absolute;top:8px;right:8px
}
.nexus-project-dialog .nexus-wizard-steps span::before{
 transition:background .25s ease;
}
.nexus-project-dialog.nexus-wizard-changing .nexus-wizard-steps span.is-active::before,
.nexus-project-dialog.nexus-wizard-changing .nexus-wizard-steps span.is-done::before{
 animation:nexus-progress-fill .45s cubic-bezier(.18,.7,.2,1) both;
 transform-origin:left center
}
@keyframes nexus-progress-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.nexus-project-dialog .nexus-wizard-steps span.is-active i{
 transition:background .25s,border-color .25s;
 animation:nexus-step-pop .32s ease both
}
@keyframes nexus-step-pop{0%{transform:scale(.83)}70%{transform:scale(1.07)}100%{transform:scale(1)}}
.nexus-project-dialog .nexus-required{color:#a8c4d6;font-weight:800}
@media(prefers-reduced-motion:reduce){
 .nexus-project-dialog .nexus-wizard-steps span::before,
 .nexus-project-dialog .nexus-wizard-steps span.is-active i{animation:none!important;transition:none!important}
}


/* AVQEN Black Glass Enterprise — additive theme */
:root{--avqen-black:#070809;--avqen-glass:rgba(12,14,17,.72);--avqen-border:rgba(188,199,209,.17);--avqen-accent:#6287a1}
body:not(.nexus-login){background-color:#070809!important;color:#e5e8ec}
body:not(.nexus-login) .nexus-sidebar,
body:not(.nexus-login) .sidebar,
body:not(.nexus-login) .nexus-topbar,
body:not(.nexus-login) .nexus-card,
body:not(.nexus-login) .dashboard-card,
body:not(.nexus-login) .settings-panel,
body:not(.nexus-login) .nexus-project-dialog,
body:not(.nexus-login) .nexus-modal-content{
 background-color:var(--avqen-glass)!important;
 border-color:var(--avqen-border)!important;
 -webkit-backdrop-filter:blur(13px) saturate(105%);
 backdrop-filter:blur(13px) saturate(105%);
 box-shadow:0 12px 38px rgba(0,0,0,.22)!important;
}
body:not(.nexus-login) .nexus-card:hover,
body:not(.nexus-login) .dashboard-card:hover{border-color:rgba(192,206,217,.28)!important}
.nexus-login .login-card{background:rgba(7,9,11,.72)!important;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);border-color:rgba(193,202,212,.23)!important}
@media(prefers-reduced-transparency:reduce){body:not(.nexus-login) .nexus-sidebar,body:not(.nexus-login) .nexus-card,.nexus-login .login-card{background:#0c0e11!important;backdrop-filter:none}}

/* AVQEN approved identity: compact logo, no oversized icon tile */
.nexus-login .login-brand{width:min(100%,215px)!important;margin:0 auto 10px!important}
.nexus-login .login-brand img{display:block;width:100%;height:auto;object-fit:contain;filter:none!important}
.dash-brand-image{width:172px!important;max-height:92px!important;object-fit:contain!important}
@media(max-width:650px){.nexus-login .login-brand{width:min(100%,185px)!important}}


/* AVQEN v0.4.9 — Black Glass Enterprise design system */
:root{--av-surface:rgba(9,10,12,.62);--av-surface-hover:rgba(20,22,25,.78);--av-line:rgba(226,232,238,.15);--av-text:#edf0f2;--av-muted:#9aa3ac;--av-blue:#428cb8}
body.nexus-dashboard{background-color:#050607!important;color:var(--av-text)!important}
body.nexus-dashboard .sidebar{background:rgba(5,6,8,.66)!important;border-right:1px solid var(--av-line)!important;backdrop-filter:blur(22px) saturate(95%)!important;-webkit-backdrop-filter:blur(22px) saturate(95%)!important;box-shadow:12px 0 42px rgba(0,0,0,.23)!important}
body.nexus-dashboard .dash-top{background:rgba(6,7,9,.57)!important;border-bottom:1px solid var(--av-line)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
body.nexus-dashboard :is(.dash-tile,.dash-panel,.nexus-plan,.nexus-audit-card,.dash-admin-profile,.settings-tab-panel,.settings-switch,.nexus-project-dialog,.nexus-project-card,.nexus-project-form,.nexus-modal-content,.nexus-toast,.nexus-client-group,.nexus-project-group){background:var(--av-surface)!important;border-color:var(--av-line)!important;backdrop-filter:blur(16px) saturate(95%)!important;-webkit-backdrop-filter:blur(16px) saturate(95%)!important;box-shadow:0 14px 40px rgba(0,0,0,.19),inset 0 1px rgba(255,255,255,.025)!important}
body.nexus-dashboard :is(.dash-tile,.dash-panel,.nexus-plan,.nexus-audit-card,.settings-tab-panel,.nexus-project-card){border-radius:15px!important}
body.nexus-dashboard :is(.dash-tile,.dash-panel,.settings-switch,.nexus-project-card):hover{background:var(--av-surface-hover)!important;border-color:rgba(225,234,242,.27)!important;transform:translateY(-1px);transition:background .2s,border-color .2s,transform .2s}
body.nexus-dashboard .dash-nav.active{background:rgba(255,255,255,.085)!important;color:#f5f7f8!important;border-color:rgba(255,255,255,.17)!important;box-shadow:inset 3px 0 var(--av-blue)!important}
body.nexus-dashboard .dash-nav:not(.active):hover{background:rgba(255,255,255,.065)!important;color:#fff!important}
body.nexus-dashboard .dash-admin-profile{background:rgba(14,15,18,.78)!important}
body.nexus-dashboard :is(input:not([type=checkbox]),select,textarea){background:rgba(3,4,5,.63)!important;border-color:rgba(215,226,235,.19)!important;color:#e9edf0}
body.nexus-dashboard :is(input,select,textarea):focus{border-color:rgba(108,166,204,.72)!important;box-shadow:0 0 0 3px rgba(54,112,150,.14)!important}
body.nexus-dashboard :is(.nexus-logo-dropzone,.nexus-zip-dropzone,.nexus-wizard-db-toggle,.nexus-wizard-choices label>span){background:rgba(13,15,18,.75)!important;border-color:rgba(218,227,235,.2)!important}
body.nexus-dashboard :is(.nexus-logo-dropzone,.nexus-zip-dropzone,.nexus-wizard-choices label>span):hover{background:rgba(26,29,32,.78)!important;border-color:rgba(165,195,213,.48)!important}
body.nexus-dashboard .nexus-category-tag{background:rgba(255,255,255,.065)!important;border-color:rgba(255,255,255,.16)!important;color:#cbd6df!important}
body.nexus-dashboard .dash-brand-image{width:120px!important;max-width:120px!important;height:auto!important;max-height:78px!important;object-fit:contain!important;display:block!important;margin:0 auto!important}
body.nexus-dashboard .dash-logo{display:flex;flex-direction:column;align-items:center;gap:5px}
body.nexus-login .login-card{background:rgba(5,6,8,.65)!important;border-color:rgba(226,234,242,.2)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}
body.nexus-login .login-brand{max-width:180px!important}
@media(max-width:760px){body.nexus-dashboard .sidebar{background:rgba(5,6,8,.92)!important}body.nexus-dashboard .dash-brand-image{width:106px!important}}
@media(prefers-reduced-motion:reduce){body.nexus-dashboard :is(.dash-tile,.dash-panel,.settings-switch,.nexus-project-card):hover{transform:none!important}}
@media(prefers-reduced-transparency:reduce){body.nexus-dashboard :is(.sidebar,.dash-top,.dash-tile,.dash-panel,.nexus-plan,.settings-tab-panel,.nexus-project-dialog){background:#101114!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}


/* AVQEN — v0.5.0: complete graphite workspace redesign
   No particle canvases, no globe, no moving square-field background. */
:root{
 --av-bg:#08090b; --av-ink:#f1f2f3; --av-secondary:#9b9da4;
 --av-stroke:rgba(232,236,241,.115); --av-card:rgba(22,23,26,.68);
 --av-card-hover:rgba(32,34,38,.86); --av-highlight:#7f9fb5;
}
html{background:var(--av-bg)}
body,body.nexus-dashboard,body.nexus-login{
 color:var(--av-ink)!important;
 background:#08090b!important;
 background-image:
   radial-gradient(ellipse 70% 48% at 74% 2%,rgba(112,121,135,.115),transparent 72%),
   radial-gradient(ellipse 55% 38% at 5% 96%,rgba(52,66,79,.13),transparent 75%),
   linear-gradient(155deg,#101115 0%,#08090b 50%,#0b0d10 100%)!important;
 background-attachment:fixed!important;
}
body::before,body::after,
.nexus-site-scene,.nexus-site-scene canvas,
.login-grid,.login-scene,.login-scene canvas,
.nexus-login .login-layout::before,
.nexus-login .login-layout::after{display:none!important}
body.nexus-dashboard .shell{position:relative;isolation:isolate}
body.nexus-dashboard .shell::before{
 content:"";position:fixed;z-index:-1;inset:0;pointer-events:none;
 background:linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px),
            linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px);
 background-size:110px 110px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),transparent 78%);
}
body.nexus-dashboard .sidebar{
 background:rgba(12,13,16,.86)!important;
 border-right:1px solid rgba(255,255,255,.095)!important;
 box-shadow:12px 0 48px rgba(0,0,0,.18)!important;
 backdrop-filter:blur(22px)!important;
 -webkit-backdrop-filter:blur(22px)!important;
 padding:28px 17px!important;
}
body.nexus-dashboard .dash-top{
 background:rgba(14,15,18,.65)!important;
 border:1px solid var(--av-stroke)!important;
 border-radius:15px!important;
 margin-bottom:36px!important;
 padding:14px 20px!important;
 box-shadow:0 12px 38px rgba(0,0,0,.14)!important;
}
body.nexus-dashboard .main{max-width:none!important;min-width:0;padding:30px clamp(22px,3vw,54px) 48px!important}
body.nexus-dashboard .dash-heading{
 position:relative;padding:30px 0 32px!important;
 border-bottom:1px solid var(--av-stroke)!important;
 margin-bottom:30px!important;
}
body.nexus-dashboard .dash-heading h1{
 font-size:clamp(38px,4.6vw,64px)!important;letter-spacing:-.055em!important;
 font-weight:750!important;line-height:1.05!important;margin:12px 0 14px!important;
}
body.nexus-dashboard .dash-heading h1 span{color:#b3bcc6!important}
body.nexus-dashboard .dash-heading p{max-width:640px;color:#a0a4ac!important;font-size:14px!important;line-height:1.7!important}
body.nexus-dashboard .dash-kicker,
body.nexus-dashboard .dash-section-title h2,
body.nexus-dashboard .dash-nav-title{color:#a4aab3!important;letter-spacing:.15em!important}
body.nexus-dashboard .dash-metrics{gap:15px!important;margin:18px 0 30px!important}
body.nexus-dashboard :is(.dash-tile,.dash-panel,.nexus-plan,.nexus-audit-card,.settings-tab-panel,.settings-switch,.nexus-project-card,.nexus-project-group,.nexus-client-group){
 background:var(--av-card)!important;
 border:1px solid var(--av-stroke)!important;
 border-radius:18px!important;
 box-shadow:0 16px 48px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.035)!important;
 backdrop-filter:blur(15px) saturate(80%)!important;
 -webkit-backdrop-filter:blur(15px) saturate(80%)!important;
}
body.nexus-dashboard :is(.dash-tile,.dash-panel,.nexus-project-card):hover{
 background:var(--av-card-hover)!important;
 border-color:rgba(240,243,247,.25)!important;
 transform:translateY(-2px)!important;
}
body.nexus-dashboard .dash-tile{min-height:155px!important;padding:25px!important;position:relative;overflow:hidden}
body.nexus-dashboard .dash-tile::after{
 content:"";position:absolute;width:100px;height:100px;right:-44px;top:-44px;
 border:1px solid rgba(220,226,234,.10);border-radius:50%;pointer-events:none
}
body.nexus-dashboard .dash-tile-label{color:#a3aab4!important}
body.nexus-dashboard .dash-tile-value{color:#e8ebef!important}
body.nexus-dashboard .dash-nav{
 border:1px solid transparent!important;border-radius:11px!important;
 color:#a6a9af!important;transition:background .18s,border-color .18s,color .18s!important;
}
body.nexus-dashboard .dash-nav:hover{
 background:rgba(255,255,255,.055)!important;color:#f2f3f4!important;
}
body.nexus-dashboard .dash-nav.active{
 color:#f4f5f6!important;background:rgba(239,242,246,.095)!important;
 border-color:rgba(244,246,248,.13)!important;
 box-shadow:inset 3px 0 0 #9cabb9!important;
}
body.nexus-dashboard .dash-admin-profile{
 background:rgba(255,255,255,.045)!important;border:1px solid var(--av-stroke)!important;
 border-radius:12px!important;
}
body.nexus-dashboard .dash-logout-btn:hover{background:rgba(155,37,50,.18)!important;border-color:#9d505a!important}
body.nexus-dashboard :is(.nexus-project-dialog,.nexus-log-modal-card,.nexus-modal-content){
 background:#121316!important;border:1px solid rgba(235,239,243,.18)!important;
 box-shadow:0 36px 110px rgba(0,0,0,.75)!important;
}
body.nexus-dashboard :is(input:not([type=checkbox]),select,textarea){
 background:rgba(4,5,7,.65);border-color:rgba(230,236,242,.18);
}
body.nexus-dashboard :is(input,select,textarea):focus{
 border-color:#809eaf!important;box-shadow:0 0 0 3px rgba(128,158,175,.12)!important;
}
body.nexus-login .login-layout{background:transparent!important;min-height:100svh}
body.nexus-login .login-card{
 background:rgba(19,20,24,.67)!important;border:1px solid rgba(240,243,247,.18)!important;
 backdrop-filter:blur(22px)!important;-webkit-backdrop-filter:blur(22px)!important;
 box-shadow:0 34px 100px rgba(0,0,0,.5)!important;
}
body.nexus-login .login-content{z-index:2}
body.nexus-login .login-brand{width:min(100%,205px)!important}
@media(max-width:800px){
 body.nexus-dashboard .main{padding:16px 16px 38px!important}
 body.nexus-dashboard .dash-top{margin-bottom:22px!important;padding:12px!important}
 body.nexus-dashboard .dash-heading{padding:20px 0 24px!important}
 body.nexus-dashboard .dash-metrics{grid-template-columns:1fr!important}
 body.nexus-dashboard .sidebar{padding:24px 18px!important}
}
@media(prefers-reduced-transparency:reduce){
 body.nexus-dashboard :is(.dash-tile,.dash-panel,.nexus-plan,.settings-tab-panel){background:#17181b!important;backdrop-filter:none!important}
}


/* AVQEN v5 — Obsidian Atmosphere: soft luminous arcs, no pattern tile */
html,body,body.nexus-dashboard,body.nexus-login{
 background-color:#070809!important;
 background-image:
  radial-gradient(ellipse 52% 58% at 98% 13%,rgba(111,126,139,.21) 0%,rgba(46,57,68,.085) 36%,transparent 75%),
  radial-gradient(ellipse 45% 52% at -8% 78%,rgba(77,94,108,.17),transparent 75%),
  radial-gradient(ellipse 40% 32% at 55% 103%,rgba(84,90,99,.11),transparent 82%),
  linear-gradient(145deg,#0d1013 0%,#070809 48%,#0d1014 100%)!important;
 background-attachment:fixed!important;
 background-size:cover!important;
}
/* Architectural arcs: quiet structure rather than particles or grids */
body.nexus-dashboard .shell::before{
 display:block!important;content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
 background:
  radial-gradient(ellipse 78% 85% at 107% 7%,transparent 67.7%,rgba(164,184,197,.12) 67.85%,transparent 68.05%),
  radial-gradient(ellipse 69% 72% at 108% 8%,transparent 73.4%,rgba(164,184,197,.08) 73.55%,transparent 73.8%),
  radial-gradient(ellipse 69% 85% at -17% 94%,transparent 69%,rgba(164,184,197,.09) 69.13%,transparent 69.32%);
 background-size:100% 100%;mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.55));
}
body.nexus-dashboard .sidebar{
 background:rgba(9,10,12,.77)!important;
 border-right:1px solid rgba(240,243,247,.11)!important;
 backdrop-filter:blur(28px)!important;-webkit-backdrop-filter:blur(28px)!important;
}
body.nexus-dashboard .dash-top{
 background:rgba(23,25,28,.52)!important;border:1px solid rgba(239,242,246,.13)!important;
 backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;
}
body.nexus-dashboard :is(.dash-tile,.dash-panel,.nexus-plan,.nexus-audit-card,.settings-tab-panel,.settings-switch,.nexus-project-card,.nexus-project-group,.nexus-client-group){
 background:linear-gradient(132deg,rgba(39,42,47,.55),rgba(16,18,22,.58) 54%,rgba(11,13,17,.72))!important;
 border:1px solid rgba(231,235,240,.15)!important;
 box-shadow:inset 0 1px rgba(255,255,255,.065),0 18px 48px rgba(0,0,0,.20)!important;
 backdrop-filter:blur(24px) saturate(85%)!important;
 -webkit-backdrop-filter:blur(24px) saturate(85%)!important;
}
body.nexus-dashboard :is(.dash-tile,.dash-panel,.nexus-project-card):hover{
 background:linear-gradient(132deg,rgba(51,55,61,.66),rgba(21,24,29,.71))!important;
 border-color:rgba(232,237,243,.28)!important;
}
body.nexus-dashboard .dash-tile::after{display:none!important}
body.nexus-dashboard .dash-heading{border-bottom-color:rgba(240,244,249,.12)!important}
body.nexus-dashboard .dash-nav.active{
 background:rgba(233,239,245,.10)!important;border-color:rgba(240,245,249,.14)!important;
 box-shadow:inset 2px 0 #a8b8c5!important;
}
body.nexus-login .login-card{
 background:linear-gradient(145deg,rgba(34,37,42,.66),rgba(10,12,15,.78))!important;
 border:1px solid rgba(234,239,244,.18)!important;
 backdrop-filter:blur(26px)!important;-webkit-backdrop-filter:blur(26px)!important;
}
@media(prefers-reduced-transparency:reduce){body.nexus-dashboard :is(.dash-tile,.dash-panel,.settings-tab-panel){background:#191b1e!important}}


/* AVQEN v6 — Obsidian polish: refined contrast, quiet geometry, tactile controls */
:root{--av-accent:#78a4bd;--av-edge:rgba(225,233,241,.15);--av-text:#e9ecf0}
body.nexus-dashboard .dash-heading::after{
 content:"";position:absolute;bottom:-1px;left:0;width:90px;height:2px;
 background:linear-gradient(90deg,#7399b2,rgba(115,153,178,0));pointer-events:none
}
body.nexus-dashboard .dash-kicker{color:#9db5c6!important}
body.nexus-dashboard .dash-top{box-shadow:0 14px 46px rgba(0,0,0,.21),inset 0 1px rgba(255,255,255,.035)!important}
body.nexus-dashboard :is(.dash-tile,.dash-panel,.nexus-plan,.nexus-audit-card,.settings-tab-panel,.settings-switch,.nexus-project-card,.nexus-project-group,.nexus-client-group){
 position:relative;
 background:linear-gradient(148deg,rgba(39,42,47,.54),rgba(19,21,25,.58) 42%,rgba(11,13,17,.75))!important;
 border-color:rgba(227,234,241,.14)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 16px 48px rgba(0,0,0,.20)!important;
 transition:background .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease!important;
}
body.nexus-dashboard :is(.dash-tile,.dash-panel,.nexus-project-card):hover{
 border-color:rgba(173,197,211,.36)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 22px 55px rgba(0,0,0,.29)!important;
}
body.nexus-dashboard .dash-tile::before{
 content:"";position:absolute;top:0;left:23px;right:23px;height:1px;
 background:linear-gradient(90deg,transparent,rgba(181,201,215,.32),transparent);
 pointer-events:none;
}
body.nexus-dashboard .dash-tile-value{letter-spacing:-.035em!important}
body.nexus-dashboard .dash-nav.active{
 background:linear-gradient(90deg,rgba(145,172,190,.15),rgba(225,232,239,.045))!important;
 border-color:rgba(190,207,219,.18)!important;
 box-shadow:inset 2px 0 #8caabd!important;
}
body.nexus-dashboard .dash-nav:hover:not(.active){border-color:rgba(255,255,255,.085)!important}
body.nexus-dashboard :is(button,.btn,.nexus-button){transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s!important}
body.nexus-dashboard :is(button,.btn,.nexus-button):not(:disabled):active{transform:translateY(1px)}
body.nexus-dashboard :is(input:not([type=checkbox]),select,textarea){
 border-radius:10px!important;transition:border-color .2s,box-shadow .2s!important
}
body.nexus-dashboard :is(input,select,textarea):focus-visible{outline:2px solid rgba(141,178,201,.32)!important;outline-offset:1px}
body.nexus-dashboard .dash-admin-profile{box-shadow:inset 0 1px rgba(255,255,255,.045)!important}
body.nexus-dashboard .dash-logout-btn{color:#dca4a8!important}
body.nexus-dashboard .dash-logout-btn:hover{color:#ffd2d5!important}
body.nexus-login .login-card{box-shadow:inset 0 1px rgba(255,255,255,.07),0 32px 100px rgba(0,0,0,.52)!important}
body.nexus-login .login-card::before{
 content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
 background:linear-gradient(130deg,rgba(255,255,255,.045),transparent 34%);
}
@media(prefers-reduced-motion:reduce){body.nexus-dashboard :is(button,.btn,.nexus-button,.dash-tile,.dash-panel,.nexus-project-card){transition:none!important;transform:none!important}}


/* AVQEN v7 — layout and spacing refinement; preserves Obsidian atmosphere */
:root{--av-content-gap:24px;--av-corner:16px}
body.nexus-dashboard .main{width:100%;max-width:none!important;min-width:0!important;padding:28px clamp(22px,3.3vw,58px) 56px!important;box-sizing:border-box}
body.nexus-dashboard .dash-top{margin-bottom:28px!important;min-height:66px;box-sizing:border-box}
body.nexus-dashboard .dash-heading{margin:0 0 28px!important;padding:28px 0 29px!important}
body.nexus-dashboard .dash-heading h1{margin:12px 0 13px!important}
body.nexus-dashboard .dash-heading p{margin:0!important;line-height:1.7}
body.nexus-dashboard .dash-logo{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:0!important;padding:7px 5px 24px!important;margin-bottom:23px!important;border-bottom:1px solid rgba(255,255,255,.09)}
body.nexus-dashboard .dash-brand-image{display:block!important;object-fit:contain!important;object-position:center!important;width:176px!important;max-width:100%!important;height:110px!important;margin:0 auto -6px!important;filter:none!important}
body.nexus-dashboard .dash-brand-caption{margin:0!important;font-size:8px!important;letter-spacing:.22em!important;text-align:center;color:#a1a9b2!important}
body.nexus-dashboard .sidebar{box-sizing:border-box}
body.nexus-dashboard .dash-nav-title{margin-top:23px!important;margin-bottom:10px!important}
body.nexus-dashboard .dash-nav{min-height:43px!important;padding:11px 13px!important;margin:3px 0!important}
body.nexus-dashboard .dash-admin-profile{padding:8px 13px!important;gap:10px!important}
body.nexus-dashboard .dash-admin-avatar{flex-shrink:0}
body.nexus-dashboard .dash-metrics{gap:18px!important;margin-bottom:28px!important}
body.nexus-dashboard .dash-tile{padding:25px 26px!important;border-radius:16px!important}
body.nexus-dashboard .dash-panel{padding:26px!important;border-radius:16px!important}
body.nexus-dashboard .dash-focus-eyebrow{letter-spacing:.17em!important}
body.nexus-dashboard .dash-foot{padding:26px 0 10px!important;margin-top:30px!important;color:#7f8994!important}
body.nexus-dashboard .nexus-project-toolbar{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:24px!important;margin:0 0 24px!important;padding:25px 28px!important;
 border:1px solid rgba(230,236,243,.15)!important;border-radius:17px!important;
 background:linear-gradient(135deg,rgba(39,42,47,.52),rgba(15,17,20,.64))!important;
 box-shadow:inset 0 1px rgba(255,255,255,.055),0 18px 48px rgba(0,0,0,.14)!important;
 backdrop-filter:blur(22px)!important;-webkit-backdrop-filter:blur(22px)!important;
}
body.nexus-dashboard .nexus-project-toolbar h2{margin:9px 0 6px!important;font-size:24px!important;letter-spacing:-.025em}
body.nexus-dashboard .nexus-project-toolbar p{line-height:1.6!important}
body.nexus-dashboard .nexus-project-toolbar .nexus-project-submit{flex-shrink:0;white-space:nowrap}
body.nexus-dashboard .nexus-project-status{width:100%!important;max-width:none!important;box-sizing:border-box;padding:28px!important;margin:0!important}
body.nexus-dashboard .nexus-project-status .settings-card-head{margin-bottom:18px!important}
body.nexus-dashboard .nexus-project-status .nexus-project-group{margin:18px 0!important;padding:22px!important}
body.nexus-dashboard .nexus-project-status .nexus-project-group h3{margin:0 0 17px!important}
body.nexus-dashboard .nexus-project-cards{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr))!important;gap:15px!important;align-items:stretch}
body.nexus-dashboard .nexus-client-group{min-width:0!important;margin:0!important;padding:17px!important}
body.nexus-dashboard .nexus-client-group h4{margin:0 0 13px!important;line-height:1.4}
body.nexus-dashboard .nexus-client-projects{display:grid!important;gap:11px!important}
body.nexus-dashboard .nexus-project-card{min-width:0!important;width:100%!important;box-sizing:border-box;display:flex!important;align-items:center!important;gap:13px!important;padding:15px!important;min-height:83px!important;border-radius:13px!important}
body.nexus-dashboard .nexus-project-card-copy{min-width:0!important;flex:1!important}
body.nexus-dashboard .nexus-project-card-copy strong{display:block;overflow-wrap:anywhere}
body.nexus-dashboard .nexus-project-card-copy small{display:block;margin-top:5px;line-height:1.45}
body.nexus-dashboard .nexus-project-card-logo{flex-shrink:0!important}
body.nexus-dashboard .nexus-project-ok{margin:12px 0 19px!important}
body.nexus-dashboard .nexus-project-warning{margin:16px 0!important}
body.nexus-dashboard .nexus-project-dialog{box-sizing:border-box!important;padding:30px 32px!important;scrollbar-gutter:auto!important}
body.nexus-dashboard .nexus-project-dialog-head{margin-bottom:24px!important}
body.nexus-dashboard .nexus-project-dialog-head h2{margin:8px 0 10px!important}
body.nexus-dashboard .nexus-wizard-steps{margin:20px 0 31px!important}
body.nexus-dashboard .nexus-wizard-panel{padding:0!important}
body.nexus-dashboard .nexus-wizard-panel h3{margin:0 0 17px!important}
body.nexus-dashboard .nexus-project-form{gap:19px!important;max-width:none!important;margin-top:0!important}
body.nexus-dashboard .nexus-project-form-grid{gap:18px!important;align-items:start!important}
body.nexus-dashboard .nexus-project-form label{gap:9px!important;min-width:0!important}
body.nexus-dashboard .nexus-project-form :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){min-height:46px!important;box-sizing:border-box!important}
body.nexus-dashboard .nexus-project-form textarea{min-height:92px!important}
body.nexus-dashboard .nexus-logo-dropzone{margin:18px 0 22px!important;min-height:108px!important;padding:15px!important;box-sizing:border-box}
body.nexus-dashboard .nexus-zip-dropzone{margin:12px 0 24px!important}
body.nexus-dashboard .nexus-wizard-db-toggle{margin:20px 0 0!important}
body.nexus-dashboard .nexus-project-dialog-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;padding-top:22px!important;margin-top:20px!important;border-top:1px solid rgba(240,244,249,.09)}
body.nexus-dashboard .nexus-project-dialog-actions button{min-height:43px!important}
body.nexus-dashboard .settings-card{max-width:none!important;box-sizing:border-box}
body.nexus-dashboard .settings-tabs{margin-bottom:0!important}
body.nexus-dashboard .settings-tab-panel{width:100%!important;box-sizing:border-box}
body.nexus-dashboard .nexus-audit-card{width:100%!important;max-width:none!important}
body.nexus-login .login-brand{width:min(100%,245px)!important;max-width:245px!important;margin:0 auto 5px!important}
body.nexus-login .login-brand img{display:block!important;width:100%!important;height:auto!important;max-height:170px!important;object-fit:contain!important;filter:none!important}
body.nexus-login .login-card{overflow:hidden}
@media(max-width:900px){
 body.nexus-dashboard .main{padding:20px 20px 40px!important}
 body.nexus-dashboard .nexus-project-toolbar{padding:20px!important}
 body.nexus-dashboard .nexus-project-status{padding:20px!important}
}
@media(max-width:620px){
 body.nexus-dashboard .main{padding:14px 14px 34px!important}
 body.nexus-dashboard .dash-heading{padding:20px 0 22px!important}
 body.nexus-dashboard .nexus-project-toolbar{flex-direction:column!important;align-items:stretch!important;gap:18px!important}
 body.nexus-dashboard .nexus-project-toolbar .nexus-project-submit{width:100%!important;justify-content:center!important}
 body.nexus-dashboard .nexus-project-status{padding:16px!important}
 body.nexus-dashboard .nexus-project-status .nexus-project-group{padding:15px!important}
 body.nexus-dashboard .nexus-project-dialog{padding:21px 17px!important;max-height:94dvh!important}
 body.nexus-dashboard .nexus-project-form-grid{grid-template-columns:1fr!important;gap:15px!important}
 body.nexus-dashboard .nexus-project-dialog-actions{flex-wrap:wrap!important}
 body.nexus-dashboard .dash-brand-image{width:160px!important;height:95px!important}
}

/* AVQEN v8: static Obsidian scene, no legacy animated backgrounds */
html,body{max-width:100%;overflow-x:clip!important}
body.nexus-dashboard{width:100%;overflow-x:clip!important}
body.nexus-dashboard .shell{width:100%;max-width:100%;min-width:0!important;overflow-x:clip!important}
body.nexus-dashboard .main{flex:1 1 0!important;min-width:0!important;max-width:100%!important;width:auto!important}
body.nexus-dashboard :is(.dash-top,.dash-top-right,.dash-heading,.dash-metrics,.dash-content-grid,.dash-panel,.dash-tile,.nexus-project-toolbar,.nexus-project-status,.nexus-project-group,.nexus-client-group,.nexus-project-card,.settings-card,.nexus-audit-card){min-width:0;max-width:100%;box-sizing:border-box}
body.nexus-dashboard :is(.dash-metrics,.dash-content-grid,.nexus-project-cards){width:100%;min-width:0}
body.nexus-dashboard .dash-content-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important}
body.nexus-dashboard .dash-top{flex-wrap:wrap;gap:12px}
body.nexus-dashboard .dash-top-right{min-width:0;max-width:100%;flex-wrap:wrap}
body.nexus-dashboard .dash-breadcrumb{min-width:0;overflow-wrap:anywhere}
body.nexus-dashboard .nexus-project-status{overflow-wrap:anywhere}
body.nexus-dashboard .nexus-project-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))!important}
body.nexus-dashboard .nexus-audit-table-wrap{overflow-x:auto;max-width:100%}
body.nexus-dashboard .sidebar{flex:0 0 260px;max-width:260px;min-width:0}
body.nexus-dashboard .shell::before{width:100%;max-width:100%;overflow:hidden}
body.nexus-dashboard .nexus-site-scene,body.nexus-dashboard canvas#nexus-earth-canvas,body.nexus-dashboard canvas#nexus-orbits-canvas{display:none!important}
body.nexus-login :is(.nexus-earth-canvas,.nexus-orbits-canvas,.login-grid,.nexus-ambient,.orb){display:none!important}
body.nexus-login .login-layout::before,body.nexus-login .login-layout::after{display:none!important}
body.nexus-login .login-layout{background:transparent!important}
body.nexus-login .login-brand img{animation:none!important}
body.nexus-dashboard .dash-brand-image{height:105px!important;width:170px!important;object-fit:contain!important}
@media(max-width:1080px){body.nexus-dashboard .dash-content-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:760px){body.nexus-dashboard .sidebar{max-width:100%;width:100%;flex-basis:auto}body.nexus-dashboard .main{width:100%!important;max-width:100%!important}body.nexus-dashboard .dash-metrics{grid-template-columns:minmax(0,1fr)!important}}


/* AVQEN v9 — Create Project modal / Obsidian workspace wizard */
body.nexus-dashboard .nexus-project-modal-scrim{background:rgba(0,0,0,.76)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}
body.nexus-dashboard .nexus-project-dialog{
 width:min(760px,calc(100vw - 32px))!important;max-width:760px!important;
 max-height:min(92dvh,920px)!important;box-sizing:border-box!important;
 padding:0!important;border-radius:22px!important;overflow-y:auto!important;
 background:linear-gradient(155deg,rgba(30,32,37,.97),rgba(14,15,18,.98) 47%,rgba(12,13,16,.99))!important;
 border:1px solid rgba(229,233,239,.19)!important;
 box-shadow:0 45px 125px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.075)!important;
 scrollbar-width:thin;scrollbar-color:rgba(130,140,150,.26) transparent;
}
body.nexus-dashboard .nexus-project-dialog::-webkit-scrollbar{width:5px}
body.nexus-dashboard .nexus-project-dialog::-webkit-scrollbar-thumb{background:rgba(145,155,165,.26);border-radius:8px}
body.nexus-dashboard .nexus-project-dialog-head{
 display:flex!important;justify-content:space-between!important;align-items:flex-start!important;
 padding:32px 36px 26px!important;margin:0!important;
 background:linear-gradient(115deg,rgba(255,255,255,.04),transparent 65%)!important;
 border-bottom:1px solid rgba(236,240,246,.09)!important;
}
body.nexus-dashboard .nexus-project-dialog-head h2{font-size:29px!important;letter-spacing:-.045em!important;margin:9px 0 8px!important;line-height:1.15!important}
body.nexus-dashboard .nexus-project-dialog-head p{margin:0!important;color:#a2a9b3!important;font-size:13px!important;line-height:1.6!important}
body.nexus-dashboard .nexus-project-dialog-head .dash-focus-eyebrow{font-size:10px!important;letter-spacing:.2em!important;color:#9ab0c1!important}
body.nexus-dashboard .nexus-project-close{
 width:37px!important;height:37px!important;min-width:37px!important;border-radius:11px!important;
 background:rgba(255,255,255,.055)!important;border:1px solid rgba(230,237,245,.16)!important;
 color:#d7dce2!important;font-size:24px!important;line-height:1!important;
 transition:background .18s,border-color .18s,transform .18s!important;
}
body.nexus-dashboard .nexus-project-close:hover{background:rgba(178,65,75,.16)!important;border-color:rgba(217,110,120,.48)!important;color:white!important;transform:rotate(90deg)}
body.nexus-dashboard .nexus-project-form{display:block!important;margin:0!important;max-width:none!important;padding:0!important;gap:0!important}
body.nexus-dashboard .nexus-wizard-steps{
 display:flex!important;justify-content:space-between!important;align-items:flex-start!important;
 margin:0!important;padding:28px 48px 30px!important;position:relative!important;
 background:rgba(255,255,255,.014)!important;border-bottom:1px solid rgba(235,240,245,.075)!important;
}
body.nexus-dashboard .nexus-wizard-steps::before{content:""!important;position:absolute!important;left:calc(48px + 20px)!important;right:calc(48px + 20px)!important;top:48px!important;height:2px!important;background:rgba(224,232,240,.17)!important;z-index:0!important}
body.nexus-dashboard .nexus-wizard-steps>span{position:relative!important;z-index:1!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:9px!important;min-width:74px!important;color:#838d99!important;font-size:11px!important}
body.nexus-dashboard .nexus-wizard-steps>span i{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:50%!important;background:#1c2025!important;border:1px solid #505965!important;color:#a6b0ba!important;font-size:14px!important;font-style:normal!important;font-weight:700!important;box-shadow:0 0 0 5px #17191d!important}
body.nexus-dashboard .nexus-wizard-steps>span.is-active i{background:#1c3445!important;border:2px solid #84abc4!important;color:#eff7ff!important;box-shadow:0 0 0 5px #17191d,0 0 0 7px rgba(107,153,185,.12)!important}
body.nexus-dashboard .nexus-wizard-steps>span.is-complete i{background:#244253!important;border-color:#6e9fbc!important;color:#fff!important}
body.nexus-dashboard .nexus-wizard-steps>span.is-active b{color:#eef3f6!important}
body.nexus-dashboard .nexus-wizard-panel{padding:30px 36px 16px!important;margin:0!important;min-width:0!important;animation:avqen-wizard-enter .22s ease-out both}
body.nexus-dashboard .nexus-wizard-panel[hidden]{display:none!important}
@keyframes avqen-wizard-enter{from{opacity:.55;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
body.nexus-dashboard .nexus-wizard-panel h3{font-size:17px!important;letter-spacing:-.025em!important;margin:0 0 19px!important;color:#f1f2f3!important}
body.nexus-dashboard .nexus-wizard-choices{display:grid!important;gap:13px!important;margin-bottom:12px!important}
body.nexus-dashboard .nexus-wizard-choices label{display:block!important;cursor:pointer!important}
body.nexus-dashboard .nexus-wizard-choices label>span{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;
 gap:18px!important;min-height:94px!important;box-sizing:border-box!important;padding:18px 20px!important;
 background:rgba(255,255,255,.025)!important;border:1px solid rgba(226,233,241,.15)!important;
 border-radius:14px!important;transition:background .2s,border-color .2s,transform .2s!important;
}
body.nexus-dashboard .nexus-wizard-choices label:hover>span{background:rgba(255,255,255,.065)!important;border-color:rgba(190,210,224,.37)!important;transform:translateY(-1px)}
body.nexus-dashboard .nexus-wizard-choices label:has(input:checked)>span{background:rgba(65,91,109,.18)!important;border-color:rgba(132,173,201,.7)!important;box-shadow:inset 3px 0 0 #82a7c0!important}
body.nexus-dashboard .nexus-source-symbol{display:grid!important;place-items:center!important;flex:0 0 50px!important;width:50px!important;height:50px!important;border:1px solid rgba(192,214,229,.22)!important;border-radius:12px!important;background:rgba(120,154,179,.09)!important;color:#b9d1e1!important;font-size:29px!important}
body.nexus-dashboard .nexus-source-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important}
body.nexus-dashboard .nexus-source-copy b{font-size:14px!important;color:#f0f2f4!important}
body.nexus-dashboard .nexus-source-copy small{font-size:12px!important;color:#a1a9b2!important}
body.nexus-dashboard .nexus-project-form-grid{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;gap:16px!important;margin:0 0 16px!important}
body.nexus-dashboard .nexus-project-form label{min-width:0!important;color:#d7dce2!important;font-size:12px!important;line-height:1.5!important}
body.nexus-dashboard .nexus-project-form :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){width:100%!important;box-sizing:border-box!important;min-height:46px!important;border-radius:10px!important;margin-top:7px!important;background:rgba(2,4,7,.55)!important;border:1px solid rgba(221,230,238,.18)!important;padding:11px 13px!important;color:#eef1f4!important}
body.nexus-dashboard .nexus-project-form textarea{min-height:86px!important;resize:vertical!important}
body.nexus-dashboard .nexus-project-form :is(input,select,textarea):focus{outline:none!important;border-color:#8aabc1!important;box-shadow:0 0 0 3px rgba(112,155,186,.13)!important}
body.nexus-dashboard .nexus-zip-dropzone{min-height:190px!important;margin:0 0 24px!important;border:1px dashed rgba(173,192,207,.38)!important;border-radius:14px!important;background:rgba(104,124,141,.055)!important;transition:background .18s,border-color .18s!important}
body.nexus-dashboard .nexus-zip-dropzone:hover{background:rgba(104,124,141,.10)!important;border-color:#8ea8ba!important}
body.nexus-dashboard .nexus-logo-dropzone{display:flex!important;align-items:center!important;gap:17px!important;min-height:105px!important;margin:17px 0 22px!important;padding:16px!important;border:1px dashed rgba(175,192,207,.34)!important;border-radius:13px!important;background:rgba(255,255,255,.025)!important;box-sizing:border-box!important}
body.nexus-dashboard .nexus-logo-preview{flex-shrink:0!important;border-radius:11px!important;overflow:hidden!important}
body.nexus-dashboard .nexus-logo-drop-copy{min-width:0!important;overflow-wrap:anywhere!important}
body.nexus-dashboard .nexus-wizard-db-toggle{margin:19px 0 0!important;padding:17px!important;border-radius:12px!important;background:rgba(255,255,255,.03)!important;border:1px solid rgba(228,236,242,.14)!important}
body.nexus-dashboard .nexus-wizard-review{border-radius:13px!important;overflow:hidden!important}
body.nexus-dashboard .nexus-wizard-hint{line-height:1.65!important;color:#a5adb6!important}
body.nexus-dashboard .nexus-project-dialog-actions{
 position:sticky!important;bottom:0!important;z-index:3!important;
 display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;
 margin:15px 0 0!important;padding:18px 36px 22px!important;
 border-top:1px solid rgba(235,240,245,.12)!important;
 background:rgba(17,19,22,.96)!important;backdrop-filter:blur(16px)!important;
}
body.nexus-dashboard .nexus-project-dialog-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:43px!important;border-radius:10px!important;padding:0 18px!important;font-weight:650!important;transition:transform .17s,background .17s,border-color .17s!important}
body.nexus-dashboard .nexus-project-dialog-actions button:hover{transform:translateY(-1px)!important}
body.nexus-dashboard .nexus-project-dialog-actions .nexus-project-cancel{background:rgba(255,255,255,.045)!important;border:1px solid rgba(224,233,240,.19)!important;color:#d8dce1!important}
body.nexus-dashboard .nexus-project-dialog-actions .nexus-project-cancel:hover{background:rgba(255,255,255,.10)!important;border-color:rgba(232,238,244,.36)!important}
body.nexus-dashboard .nexus-project-dialog-actions .nexus-project-submit{background:#254355!important;border:1px solid #5b829b!important;color:#f1f6fa!important;box-shadow:none!important}
body.nexus-dashboard .nexus-project-dialog-actions .nexus-project-submit:hover{background:#315b73!important;border-color:#83a7bc!important;box-shadow:0 8px 25px rgba(39,81,108,.23)!important}
@media(max-width:640px){
 body.nexus-dashboard .nexus-project-dialog{width:calc(100vw - 18px)!important;max-height:96dvh!important;border-radius:16px!important}
 body.nexus-dashboard .nexus-project-dialog-head{padding:24px 19px 20px!important}
 body.nexus-dashboard .nexus-project-dialog-head h2{font-size:25px!important}
 body.nexus-dashboard .nexus-wizard-steps{padding:24px 12px 22px!important}
 body.nexus-dashboard .nexus-wizard-steps::before{left:45px!important;right:45px!important;top:43px!important}
 body.nexus-dashboard .nexus-wizard-steps>span{min-width:60px!important;font-size:10px!important}
 body.nexus-dashboard .nexus-wizard-steps>span i{width:36px!important;height:36px!important}
 body.nexus-dashboard .nexus-wizard-panel{padding:23px 19px 12px!important}
 body.nexus-dashboard .nexus-project-form-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body.nexus-dashboard .nexus-project-dialog-actions{padding:14px 19px 18px!important;flex-wrap:wrap!important}
 body.nexus-dashboard .nexus-project-dialog-actions button{min-height:42px!important}
 body.nexus-dashboard .nexus-wizard-choices label>span{min-height:82px!important;padding:14px!important}
}
@media(prefers-reduced-motion:reduce){body.nexus-dashboard .nexus-wizard-panel{animation:none!important}}


/* AVQEN v10 — slim segmented wizard progress, no duplicate action on Review */
body.nexus-dashboard .nexus-wizard-steps{
 display:flex!important;justify-content:stretch!important;align-items:stretch!important;
 width:100%!important;gap:8px!important;padding:12px 0 18px!important;
 margin:12px 0 19px!important;box-sizing:border-box!important;
 border-bottom:1px solid rgba(235,240,245,.10)!important;
 background:none!important;overflow:visible!important;
}
body.nexus-dashboard .nexus-wizard-steps::before,
body.nexus-dashboard .nexus-wizard-steps::after{content:none!important;display:none!important}
body.nexus-dashboard .nexus-wizard-steps>span{
 flex:1 1 0!important;min-width:0!important;display:flex!important;
 flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;
 gap:9px!important;padding:10px 11px!important;margin:0!important;
 border-radius:10px!important;border:1px solid rgba(232,238,246,.095)!important;
 background:rgba(255,255,255,.018)!important;box-shadow:none!important;
 color:#79838d!important;font-size:11px!important;line-height:1.2!important;
 transition:background .22s,border-color .22s,color .22s!important;
}
body.nexus-dashboard .nexus-wizard-steps>span i{
 width:26px!important;height:26px!important;min-width:26px!important;
 display:grid!important;place-items:center!important;border-radius:7px!important;
 background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.12)!important;
 box-shadow:none!important;color:#8f9ba6!important;font-size:11px!important;font-weight:750!important;
 font-style:normal!important;line-height:1!important;
}
body.nexus-dashboard .nexus-wizard-steps>span b{
 font-size:11px!important;font-weight:650!important;letter-spacing:.015em!important;
 color:inherit!important;white-space:nowrap!important;
}
body.nexus-dashboard .nexus-wizard-steps>span.is-active{
 background:rgba(96,127,147,.13)!important;border-color:rgba(125,166,193,.42)!important;
 color:#e4edf4!important;box-shadow:inset 0 0 0 1px rgba(122,164,191,.05)!important;
}
body.nexus-dashboard .nexus-wizard-steps>span.is-active i{
 background:#314d60!important;border-color:#6b97b2!important;color:#f5f9fb!important;
}
body.nexus-dashboard .nexus-wizard-steps>span.is-done,
body.nexus-dashboard .nexus-wizard-steps>span.is-complete{
 color:#b9c7d1!important;background:rgba(115,144,164,.055)!important;
 border-color:rgba(170,194,208,.14)!important;
}
body.nexus-dashboard .nexus-wizard-steps>span.is-done i,
body.nexus-dashboard .nexus-wizard-steps>span.is-complete i{
 background:rgba(79,117,139,.24)!important;border-color:rgba(118,158,181,.4)!important;
 color:#c4e0f0!important;
}
body.nexus-dashboard .nexus-wizard-steps>span.is-done i::before,
body.nexus-dashboard .nexus-wizard-steps>span.is-complete i::before{content:'✓';font-size:13px!important}
body.nexus-dashboard .nexus-wizard-steps>span.is-done i,
body.nexus-dashboard .nexus-wizard-steps>span.is-complete i{font-size:0!important}
body.nexus-dashboard #nexus-wizard-next[hidden],
body.nexus-dashboard #nexus-wizard-submit[hidden],
body.nexus-dashboard #nexus-wizard-back[hidden]{display:none!important}
body.nexus-dashboard .nexus-project-dialog-actions{gap:10px!important}
@media(max-width:620px){
 body.nexus-dashboard .nexus-wizard-steps{gap:5px!important;margin:8px 0 14px!important}
 body.nexus-dashboard .nexus-wizard-steps>span{gap:5px!important;padding:8px 5px!important;flex-direction:column!important;justify-content:center!important}
 body.nexus-dashboard .nexus-wizard-steps>span i{width:24px!important;height:24px!important;min-width:24px!important}
 body.nexus-dashboard .nexus-wizard-steps>span b{font-size:9px!important}
}


/* AVQEN v11 — true connected, animated step-by-step progress */
body.nexus-dashboard .nexus-wizard-steps{
 display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
 position:relative!important;gap:0!important;width:100%!important;max-width:none!important;
 padding:0 0 8px!important;margin:22px 0 32px!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
 overflow:visible!important;
}
body.nexus-dashboard .nexus-wizard-steps>span{
 display:flex!important;flex:1 1 0!important;min-width:0!important;
 position:relative!important;z-index:1!important;
 flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
 gap:11px!important;padding:0!important;margin:0!important;
 border:0!important;border-radius:0!important;background:transparent!important;
 box-shadow:none!important;transform:none!important;transition:none!important;
 color:#838a93!important;
}
body.nexus-dashboard .nexus-wizard-steps>span[hidden]{display:none!important}
body.nexus-dashboard .nexus-wizard-steps>span::before{content:none!important}
body.nexus-dashboard .nexus-wizard-steps>span:not(:last-child)::after{
 content:""!important;display:block!important;position:absolute!important;
 z-index:-1!important;top:17px!important;left:calc(50% + 21px)!important;
 width:calc(100% - 42px)!important;height:3px!important;border:0!important;
 border-radius:3px!important;background:linear-gradient(90deg,#313740,#444a54)!important;
 box-shadow:none!important;transform:none!important;opacity:1!important;
 transition:background .45s ease,box-shadow .45s ease!important;
}
body.nexus-dashboard .nexus-wizard-steps>span.is-done::after,
body.nexus-dashboard .nexus-wizard-steps>span.is-complete::after{
 background:linear-gradient(90deg,#477b9a,#82b3d0)!important;
 box-shadow:0 0 9px rgba(102,163,200,.14)!important;
 animation:avqen-step-track .42s ease both!important;
}
body.nexus-dashboard .nexus-wizard-steps>span i{
 display:grid!important;place-items:center!important;flex:0 0 36px!important;
 width:36px!important;height:36px!important;min-width:36px!important;
 padding:0!important;margin:0!important;box-sizing:border-box!important;
 border:2px solid #4b515b!important;border-radius:50%!important;
 background:#1b1e23!important;color:#9098a3!important;
 font:700 13px/1 system-ui,sans-serif!important;
 box-shadow:0 0 0 5px #0b0d10!important;
 transform:none!important;transition:background .3s,border-color .3s,color .3s,box-shadow .3s!important;
}
body.nexus-dashboard .nexus-wizard-steps>span.is-active i{
 background:#193040!important;border-color:#7fb5d6!important;color:#f4f9fd!important;
 box-shadow:0 0 0 5px #0b0d10,0 0 0 8px rgba(106,160,193,.22)!important;
 animation:avqen-step-active 2.6s ease-in-out infinite!important;
}
body.nexus-dashboard .nexus-wizard-steps>span.is-done i,
body.nexus-dashboard .nexus-wizard-steps>span.is-complete i{
 background:#284c63!important;border-color:#6fa7c9!important;color:#e7f6ff!important;
 box-shadow:0 0 0 5px #0b0d10!important;font-size:0!important;
}
body.nexus-dashboard .nexus-wizard-steps>span.is-done i::before,
body.nexus-dashboard .nexus-wizard-steps>span.is-complete i::before{
 content:"✓"!important;font:700 16px/1 system-ui,sans-serif!important;color:#e7f6ff!important;
}
body.nexus-dashboard .nexus-wizard-steps>span b{
 display:block!important;text-align:center!important;white-space:normal!important;
 font:600 11px/1.3 system-ui,sans-serif!important;letter-spacing:.015em!important;
 color:#828b97!important;margin:0!important;
}
body.nexus-dashboard .nexus-wizard-steps>span.is-active b{color:#f0f3f6!important}
body.nexus-dashboard .nexus-wizard-steps>span.is-done b,
body.nexus-dashboard .nexus-wizard-steps>span.is-complete b{color:#b5c6d3!important}
@keyframes avqen-step-active{
 0%,100%{box-shadow:0 0 0 5px #0b0d10,0 0 0 8px rgba(106,160,193,.14)}
 50%{box-shadow:0 0 0 5px #0b0d10,0 0 0 9px rgba(106,160,193,.30)}
}
@keyframes avqen-step-track{from{opacity:.3;filter:brightness(.6)}to{opacity:1;filter:brightness(1)}}
@media(max-width:620px){
 body.nexus-dashboard .nexus-wizard-steps{margin:18px 0 27px!important}
 body.nexus-dashboard .nexus-wizard-steps>span{gap:10px!important;padding:0!important}
 body.nexus-dashboard .nexus-wizard-steps>span i{width:32px!important;height:32px!important;min-width:32px!important;flex-basis:32px!important}
 body.nexus-dashboard .nexus-wizard-steps>span:not(:last-child)::after{top:15px!important;left:calc(50% + 18px)!important;width:calc(100% - 36px)!important}
 body.nexus-dashboard .nexus-wizard-steps>span b{font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){
 body.nexus-dashboard .nexus-wizard-steps>span.is-active i,
 body.nexus-dashboard .nexus-wizard-steps>span.is-done::after{animation:none!important}
}

/* AVQEN v12: clean connected stepper, no rectangular active background */
body.nexus-dashboard nav.nexus-wizard-steps{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:0!important;align-items:start!important;
 margin:18px 0 32px!important;padding:16px 0 0!important;
 background:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 isolation:isolate!important;
}
body.nexus-dashboard nav.nexus-wizard-steps::before,
body.nexus-dashboard nav.nexus-wizard-steps::after{
 content:none!important;display:none!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span,
body.nexus-dashboard nav.nexus-wizard-steps > span.is-active,
body.nexus-dashboard nav.nexus-wizard-steps > span.is-done,
body.nexus-dashboard nav.nexus-wizard-steps > span.is-complete{
 display:flex!important;position:relative!important;z-index:1!important;
 flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
 min-width:0!important;width:auto!important;height:auto!important;
 gap:9px!important;padding:0!important;margin:0!important;
 background:transparent!important;background-color:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;outline:0!important;
 box-shadow:none!important;filter:none!important;transform:none!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span::before{
 content:none!important;display:none!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span:not(:last-child)::after{
 content:""!important;display:block!important;position:absolute!important;
 left:calc(50% + 25px)!important;top:17px!important;
 width:calc(100% - 50px)!important;height:2px!important;
 border:0!important;border-radius:99px!important;
 background:#343b43!important;box-shadow:none!important;z-index:-1!important;
 opacity:1!important;transform:none!important;
 transition:background-color .42s ease!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span.is-done:not(:last-child)::after{
 background:#648ba5!important;animation:avqen-step-track .5s ease-out both!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span > i{
 display:grid!important;place-items:center!important;
 flex:none!important;width:36px!important;height:36px!important;min-width:36px!important;
 margin:0!important;padding:0!important;
 font:700 13px/1 system-ui,sans-serif!important;
 font-style:normal!important;color:#a3aab3!important;
 border:2px solid #555e68!important;border-radius:50%!important;
 background:#1b2025!important;box-shadow:0 0 0 6px #0c0e11!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span.is-active > i{
 background:#203747!important;color:#eff8ff!important;border-color:#80acc9!important;
 box-shadow:0 0 0 5px #0c0e11,0 0 0 8px rgba(120,167,196,.2)!important;
 animation:avqen-step-active 2.8s ease-in-out infinite!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span.is-done > i{
 background:#2c536a!important;color:#e8f5fc!important;border-color:#77a7c4!important;
 box-shadow:0 0 0 6px #0c0e11!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span > b{
 padding:0!important;margin:0!important;background:none!important;
 font:600 11px/1.4 system-ui,sans-serif!important;color:#939ca7!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span.is-active > b{color:#f1f4f6!important}
body.nexus-dashboard nav.nexus-wizard-steps > span.is-skipped > i{
 border-style:dashed!important;opacity:.65!important
}
body.nexus-dashboard nav.nexus-wizard-steps > span.is-skipped > b{opacity:.7!important}
@media(max-width:520px){
 body.nexus-dashboard nav.nexus-wizard-steps{margin:13px 0 25px!important}
 body.nexus-dashboard nav.nexus-wizard-steps > span > i{width:30px!important;height:30px!important;min-width:30px!important}
 body.nexus-dashboard nav.nexus-wizard-steps > span:not(:last-child)::after{
  left:calc(50% + 21px)!important;top:14px!important;width:calc(100% - 42px)!important
 }
 body.nexus-dashboard nav.nexus-wizard-steps > span > b{font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){
 body.nexus-dashboard nav.nexus-wizard-steps > span.is-active > i,
 body.nexus-dashboard nav.nexus-wizard-steps > span.is-done::after{animation:none!important}
}

/* v13: completed step displays exactly one checkmark.
   Legacy ::after and new ::before were both visible. */
body.nexus-dashboard .nexus-project-dialog .nexus-wizard-steps > span.is-done > i::after,
body.nexus-dashboard .nexus-project-dialog .nexus-wizard-steps > span.is-complete > i::after {
  content:none!important;
  display:none!important;
}

/* v14: center the completed-step check exactly in its circular icon */
body.nexus-dashboard .nexus-project-dialog nav.nexus-wizard-steps > span.is-done > i,
body.nexus-dashboard .nexus-project-dialog nav.nexus-wizard-steps > span.is-complete > i {
  position:relative!important; display:flex!important; align-items:center!important; justify-content:center!important;
  text-align:center!important; line-height:1!important; font-size:0!important;
}
body.nexus-dashboard .nexus-project-dialog nav.nexus-wizard-steps > span.is-done > i::before,
body.nexus-dashboard .nexus-project-dialog nav.nexus-wizard-steps > span.is-complete > i::before {
  content:"✓"!important; position:absolute!important; display:flex!important; align-items:center!important; justify-content:center!important;
  inset:0!important; width:100%!important; height:100%!important; margin:0!important; padding:0!important;
  font:700 17px/1 Arial,sans-serif!important; text-align:center!important; color:#e7f6ff!important;
  transform:none!important; translate:none!important; box-sizing:border-box!important;
}

/* AVQEN v0.9 — optional project setup and workspace */
.avqen-optional-options{display:grid;gap:12px;margin:20px 0 8px}.avqen-optional-label{font-size:10px;font-weight:800;letter-spacing:.17em;color:#94a9b8;margin:7px 0 2px}.avqen-optional-options .nexus-wizard-db-toggle{margin:0!important}
body.nexus-dashboard .nexus-wizard-steps{grid-template-columns:repeat(var(--avqen-step-count,4),minmax(0,1fr))!important}
.avqen-roadmap-builder{display:grid;gap:8px;max-height:320px;overflow-y:auto;padding:3px}.avqen-roadmap-item{display:flex;align-items:center;gap:13px;padding:12px 14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.12);border-radius:11px}.avqen-roadmap-item.is-dragged{opacity:.45}.avqen-roadmap-title{flex:1;min-width:0;font-size:13px}.avqen-roadmap-item input{accent-color:#679ebc;width:17px;height:17px}.avqen-drag-handle{color:#87949e;cursor:grab;font-size:21px}.avqen-roadmap-delete,.avqen-task-remove{background:none;border:0;color:#a2a8b1;font-size:22px;cursor:pointer}.avqen-roadmap-delete:hover,.avqen-task-remove:hover{color:#f08b8b}.avqen-roadmap-add{display:flex;gap:10px;margin-top:15px}.avqen-roadmap-add input{flex:1;min-width:0}.avqen-project-link{text-decoration:none;color:inherit}.avqen-open-project{margin-left:auto;font-size:11px;color:#a7c9dc;white-space:nowrap}.avqen-back-link{color:#a4c6da;text-decoration:none}.avqen-back-link:hover{color:#fff}
.avqen-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.avqen-workspace-identity{display:flex;align-items:center;gap:22px;min-width:0}.avqen-workspace-logo{width:72px;height:72px;object-fit:contain;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:17px;padding:8px}.avqen-workspace-status{border:1px solid rgba(108,176,145,.35);background:rgba(44,103,79,.14);color:#a4d4b9;border-radius:30px;padding:9px 15px;font-size:12px}.avqen-workspace-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.avqen-workspace-stat,.avqen-workspace-panel,.avqen-dashboard-projects{background:linear-gradient(140deg,rgba(31,33,37,.76),rgba(12,14,17,.72));border:1px solid rgba(236,242,248,.12);backdrop-filter:blur(17px);border-radius:16px;padding:23px;min-width:0}.avqen-workspace-stat small{display:block;font-size:10px;color:#95a0aa;letter-spacing:.14em;margin-bottom:13px}.avqen-workspace-stat strong{font-size:22px}.avqen-workspace-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:18px;align-items:start}.avqen-workspace-side{display:grid;gap:18px}.avqen-workspace-panel h2,.avqen-dashboard-projects h2{font-size:23px;letter-spacing:-.03em;margin:10px 0}.avqen-workspace-panel p,.avqen-dashboard-projects p{color:#9da6b0;line-height:1.65}.avqen-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.avqen-panel-heading strong{color:#b4cbd8}.avqen-progress-track{height:6px;border-radius:8px;background:#292e33;margin:22px 0;overflow:hidden}.avqen-progress-track span{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#456f8b,#8db8d1);transition:width .3s}.avqen-workspace-task-list{display:grid;gap:9px}.avqen-workspace-task{display:flex;align-items:center;gap:13px;border:1px solid rgba(255,255,255,.1);border-radius:11px;padding:11px 13px;background:rgba(0,0,0,.22)}.avqen-workspace-task.is-dragged{opacity:.4}.avqen-task-grip{font-size:22px;color:#81909b;cursor:grab}.avqen-task-toggle{margin:0}.avqen-task-check{width:27px;height:27px;border:1px solid #55616a;border-radius:8px;background:#1b2025;color:transparent;cursor:pointer}.avqen-task-check.is-complete{background:#315b6d;border-color:#82b5ce;color:#eaf8ff}.avqen-task-name{flex:1;min-width:0;font-size:13px;overflow-wrap:anywhere}.avqen-task-name.is-complete{color:#87929b;text-decoration:line-through}.avqen-workspace-add{display:flex;gap:10px;margin-top:20px}.avqen-workspace-add input{flex:1;min-width:0;padding:11px 13px;background:#0b0e11;border:1px solid #424b53;border-radius:9px;color:#f0f3f5}.avqen-workspace-panel dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:15px 8px;margin-top:23px}.avqen-workspace-panel dt{color:#8896a1;font-size:12px}.avqen-workspace-panel dd{margin:0;overflow-wrap:anywhere;font-size:13px}.avqen-workspace-panel dd a{color:#a6d2e9}.avqen-future-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.avqen-future-tools span{border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:8px 10px;color:#9ba5af;font-size:11px}.avqen-dashboard-projects{margin:24px 0}.avqen-dashboard-projects .avqen-panel-heading a{color:#b0cad9;text-decoration:none}.avqen-dashboard-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:20px}.avqen-dashboard-project{display:flex;flex-direction:column;gap:9px;padding:18px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.035);color:#eef1f4;text-decoration:none}.avqen-dashboard-project:hover{border-color:#7398b0;background:rgba(255,255,255,.07)}.avqen-dashboard-project small{color:#9aafbc}.avqen-empty-roadmap{padding:18px 0}
@media(max-width:900px){.avqen-workspace-grid{grid-template-columns:1fr}.avqen-workspace-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.avqen-workspace-stats{gap:9px}.avqen-workspace-stat{padding:15px}.avqen-workspace-stat strong{font-size:17px}.avqen-workspace-heading{align-items:flex-start}.avqen-workspace-identity{gap:12px}.avqen-workspace-logo{width:50px;height:50px}.avqen-workspace-status{padding:6px 9px}.avqen-workspace-panel{padding:17px}.avqen-roadmap-add{flex-wrap:wrap}.avqen-workspace-add{flex-wrap:wrap}}

body.nexus-dashboard .nexus-wizard-steps > span[hidden]{display:none!important}

/* AVQEN v0.9.1 — adaptive single-row wizard with only enabled steps */
body.nexus-dashboard nav.nexus-wizard-steps{
 display:grid!important;
 grid-template-columns:repeat(var(--avqen-step-count,3),minmax(0,1fr))!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 gap:0!important;flex-wrap:nowrap!important;box-sizing:border-box!important;
 overflow:visible!important;padding:15px 4px 5px!important;
 background:transparent!important;border:0!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span[hidden]{display:none!important}
body.nexus-dashboard nav.nexus-wizard-steps > span{
 min-width:0!important;max-width:none!important;width:100%!important;
 box-sizing:border-box!important;overflow:visible!important;
 background:transparent!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span > i{
 width:clamp(26px,calc(52px - var(--avqen-step-count,3)*3px),36px)!important;
 height:clamp(26px,calc(52px - var(--avqen-step-count,3)*3px),36px)!important;
 min-width:0!important;flex-shrink:0!important;
 display:grid!important;place-items:center!important;
 line-height:1!important;text-align:center!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span:not(:last-child)::after{
 left:calc(50% + clamp(19px,calc(30px - var(--avqen-step-count,3)*1.2px),25px))!important;
 width:calc(100% - clamp(38px,calc(60px - var(--avqen-step-count,3)*2.4px),50px))!important;
 top:clamp(12px,calc(24px - var(--avqen-step-count,3)*1.4px),17px)!important;
}
body.nexus-dashboard nav.nexus-wizard-steps > span > b{
 max-width:100%!important;white-space:nowrap!important;
 font-size:clamp(9px,calc(14px - var(--avqen-step-count,3)*.5px),11px)!important;
}
@media(max-width:560px){
 body.nexus-dashboard nav.nexus-wizard-steps{padding-inline:0!important}
 body.nexus-dashboard nav.nexus-wizard-steps > span > i{width:26px!important;height:26px!important;font-size:11px!important}
 body.nexus-dashboard nav.nexus-wizard-steps > span:not(:last-child)::after{top:12px!important;left:calc(50% + 18px)!important;width:calc(100% - 36px)!important}
 body.nexus-dashboard nav.nexus-wizard-steps > span > b{font-size:9px!important;letter-spacing:0!important}
}

/* v0.9.2 — client name field alignment: required asterisk must not occupy its own grid row */
body.nexus-dashboard #nexus-project-client{min-width:0!important;align-self:start!important;}
body.nexus-dashboard #nexus-project-client > label{display:grid!important;line-height:1.5!important;margin:0!important;}
body.nexus-dashboard #nexus-project-client > label .nexus-required{display:inline!important;vertical-align:baseline!important;margin-left:3px!important;}
body.nexus-dashboard #nexus-project-client > label > input{display:block!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;margin-top:0!important;}

/* AVQEN v0.9.3 — flat project cards; type is a badge, not a nested group */
body.nexus-dashboard .nexus-project-group > .nexus-project-cards{
 display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))!important;
 align-items:stretch!important;gap:15px!important;
}
body.nexus-dashboard .nexus-project-group .avqen-project-flat{
 display:flex!important;align-items:center!important;gap:14px!important;
 min-width:0!important;min-height:98px!important;width:100%!important;
 padding:17px!important;margin:0!important;box-sizing:border-box!important;
 text-decoration:none!important;
}
body.nexus-dashboard .avqen-project-flat .nexus-project-card-copy{min-width:0!important;flex:1!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important}
body.nexus-dashboard .avqen-project-flat .nexus-project-card-copy strong{max-width:100%!important;overflow-wrap:anywhere!important}
body.nexus-dashboard .avqen-project-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
body.nexus-dashboard .avqen-type-tag{display:inline-flex;align-items:center;min-height:21px;padding:3px 8px;border-radius:6px;font-size:10px;font-weight:700;letter-spacing:.025em;line-height:1.1;border:1px solid transparent}
body.nexus-dashboard .avqen-type-private{background:rgba(189,194,201,.105);color:#b8bec7;border-color:rgba(199,205,212,.16)}
body.nexus-dashboard .avqen-type-client{background:rgba(91,143,178,.14);color:#9ec5df;border-color:rgba(115,169,205,.24)}
body.nexus-dashboard .avqen-project-state{color:#8e99a4;font-size:11px}
body.nexus-dashboard .avqen-project-client-name{color:#9aa5b0!important;font-size:11px!important;line-height:1.35!important;margin:0!important}
body.nexus-dashboard .avqen-project-flat .avqen-open-project{white-space:nowrap;flex-shrink:0;margin-left:auto}
@media(max-width:520px){body.nexus-dashboard .nexus-project-group > .nexus-project-cards{grid-template-columns:minmax(0,1fr)!important}body.nexus-dashboard .nexus-project-group .avqen-project-flat{padding:13px!important;gap:10px!important}}

/* AVQEN v1.0 — Project File Studio */
.avqen-workspace-grid{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr)!important;align-items:start!important}
.avqen-file-studio{grid-column:1/-1!important;min-width:0!important}
.avqen-file-counter{color:#a3b2be;font-size:12px}
.avqen-file-layout{display:grid;grid-template-columns:minmax(190px,28%) minmax(0,1fr);gap:14px;margin-top:22px;min-height:380px}
.avqen-file-tree{display:flex;flex-direction:column;gap:3px;max-height:520px;overflow:auto;padding:10px;border:1px solid rgba(255,255,255,.11);background:rgba(3,5,8,.5);border-radius:12px}
.avqen-file-entry{display:block;flex-shrink:0;width:100%;padding:9px 10px;border:0;border-radius:7px;text-align:left;background:transparent;color:#c1c8d0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.avqen-file-entry:hover,.avqen-file-entry:focus-visible{background:rgba(105,148,178,.14);color:#fff;outline:none}
.avqen-editor-area{min-width:0;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.11);border-radius:12px;overflow:hidden;background:rgba(3,5,8,.55)}
.avqen-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.1)}
.avqen-editor-head strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avqen-editor-area textarea{flex:1;min-height:300px;resize:vertical;padding:17px;background:transparent!important;border:0!important;border-radius:0!important;color:#d9e1e9;font:12px/1.7 Consolas,monospace;tab-size:2;white-space:pre;overflow:auto}
.avqen-file-message{padding:11px 14px;font-size:12px;color:#a1abb5;border-top:1px solid rgba(255,255,255,.1)}
.avqen-file-message.is-error{color:#e3a0a7}
.avqen-file-actions{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.avqen-file-actions form{min-width:0;display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(0,0,0,.18)}
.avqen-file-actions form>strong{font-size:13px}
.avqen-file-actions form>div{display:flex;gap:8px;flex-wrap:wrap}
.avqen-file-actions input,.avqen-file-actions select{min-width:0;flex:1 1 130px;max-width:100%;min-height:39px;padding:8px;border-radius:8px;border:1px solid rgba(255,255,255,.16);background:#0c0e11;color:#e9edf0}
.avqen-file-actions button{min-height:39px}
@media(max-width:850px){.avqen-workspace-grid{grid-template-columns:1fr!important}.avqen-file-layout{grid-template-columns:1fr}.avqen-file-tree{max-height:220px}.avqen-file-actions{grid-template-columns:1fr}}

/* AVQEN 1.0.1: neutral black settings, audit controls and workspace tabs */
body.nexus-dashboard .settings-switcher{gap:8px!important;margin-bottom:0!important}
body.nexus-dashboard .settings-switch{border-radius:8px 8px 0 0!important;background:#111316!important;border-color:#303238!important;box-shadow:none!important}
body.nexus-dashboard .settings-switch.is-active{background:#191b1e!important;border-bottom-color:#191b1e!important}
body.nexus-dashboard .settings-card.settings-tab-panel{border-radius:0 12px 12px 12px!important;background:#191b1e!important;border-color:#303238!important;box-shadow:none!important}
body.nexus-dashboard .nexus-audit-search,body.nexus-dashboard .nexus-audit-search input{background:#17191d!important;color:#e9edf2!important;border-radius:9px!important}
body.nexus-dashboard .nexus-audit-search input{box-shadow:none!important}
body.nexus-dashboard .avqen-filter-wrap{display:inline-flex;position:relative;min-width:148px}
body.nexus-dashboard .avqen-filter-wrap select{width:100%;appearance:none;-webkit-appearance:none;padding:12px 38px 12px 14px;border:1px solid #34373c;border-radius:9px;background:#17191d;color:#e6e8ed;font:inherit;cursor:pointer}
body.nexus-dashboard .avqen-filter-wrap::after{content:'';position:absolute;right:17px;top:44%;width:7px;height:7px;border-right:1.5px solid #aeb4bd;border-bottom:1.5px solid #aeb4bd;transform:rotate(45deg);pointer-events:none}
body.nexus-dashboard .avqen-filter-wrap select:focus-visible{outline:2px solid #6d9cba;outline-offset:2px}
.avqen-workspace-tabs{display:flex;gap:6px;border-bottom:1px solid #31363b;margin:18px 0 22px;flex-wrap:wrap}
.avqen-workspace-tabs button{padding:13px 20px;border:0;border-bottom:2px solid transparent;background:transparent;color:#9aa5ae;font:600 13px system-ui;cursor:pointer}
.avqen-workspace-tabs button:hover{color:#eef2f5;background:#1c1f23}
.avqen-workspace-tabs button.is-active{color:#f3f6f9;border-bottom-color:#78a6c3}
.avqen-workspace-tab-panel[hidden]{display:none!important}
.avqen-workspace-status-form{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.avqen-workspace-status-form label{font:600 10px system-ui;color:#9ca8b3;letter-spacing:.06em;text-transform:uppercase}
.avqen-workspace-status-form select,.avqen-workspace-add select{background:#15181b;color:#e8edf2;border:1px solid #3b434b;border-radius:8px;padding:10px;min-width:125px}
.avqen-roadmap-category-tag{font:600 10px system-ui;letter-spacing:.04em;text-transform:uppercase;color:#aab6c0;border:1px solid #343d45;border-radius:5px;padding:4px 7px;white-space:nowrap}
.avqen-workspace-identity{align-items:center}
.avqen-workspace-logo{width:70px;height:70px;object-fit:contain;border-radius:12px;background:#15191c;padding:7px;border:1px solid #303941}
@media(max-width:600px){.avqen-workspace-tabs button{flex:1;padding:12px 8px}.avqen-workspace-add{flex-wrap:wrap}.avqen-roadmap-category-tag{font-size:9px}}

.avqen-file-studio{width:100%;max-width:none!important}.avqen-workspace-tab-panel>.avqen-file-studio{margin:0}.avqen-workspace-tab-panel>.avqen-workspace-grid{width:100%}

/* AVQEN v1.0.2 — file studio polish */
.avqen-file-entry{display:flex!important;align-items:center!important;gap:10px!important;text-align:left!important;padding-left:calc(12px + var(--file-depth,0)*19px)!important}
.avqen-file-icon{flex:0 0 21px;text-align:center;font:700 12px/1.5 system-ui,sans-serif;color:#89a8ba}
.avqen-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avqen-image-preview[hidden]{display:none!important}
.avqen-image-preview{display:flex;flex:1;min-height:320px;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:20px;background:#0b0d10}
.avqen-image-preview img{max-width:100%;max-height:480px;object-fit:contain;border-radius:8px}
.avqen-image-preview p{color:#a3abb4;font-size:12px}
.avqen-editor-area textarea[hidden]{display:none!important}
.avqen-workspace-status-form select:focus-visible,.avqen-workspace-add select:focus-visible{outline:2px solid #6b94ac;outline-offset:2px}
.avqen-workspace-status-form select:has(option[value="ongoing"]:checked){color:#8bc4a5}
.avqen-workspace-status-form select:has(option[value="finished"]:checked){color:#91b4e1}
.avqen-workspace-status-form select:has(option[value="canceled"]:checked){color:#d79a9a}
.dash-logs-search:focus-within,.avqen-log-search:focus-within{box-shadow:none!important;outline:none!important;border-color:#57758b!important}

/* AVQEN v1.1 */
.avqen-editor-controls{display:flex;align-items:center;gap:10px}
.avqen-editor-expand{padding:10px 13px;border:1px solid #404852;border-radius:9px;background:#181b20;color:#e1e7ed;cursor:pointer}
.avqen-editor-expand:hover{background:#272c33;border-color:#73879b}
.avqen-code-wrap{position:relative;flex:1;min-height:280px;overflow:hidden;background:#090b0e}
.avqen-code-wrap[hidden]{display:none!important}
.avqen-code-wrap textarea,.avqen-code-wrap pre{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;box-sizing:border-box!important;margin:0!important;padding:17px!important;border:0!important;border-radius:0!important;overflow:auto!important;white-space:pre!important;tab-size:2!important;font:12px/1.7 Consolas,'Cascadia Code',monospace!important;letter-spacing:0!important;word-wrap:normal!important}
.avqen-code-wrap textarea{z-index:2!important;color:transparent!important;-webkit-text-fill-color:transparent!important;caret-color:#fff!important;background:transparent!important;resize:none!important}
.avqen-code-wrap textarea::selection{background:rgba(97,146,183,.35)!important}
.avqen-code-wrap pre{z-index:1!important;pointer-events:none!important;color:#d4dbe2!important;background:#090b0e!important}
.avqen-code-wrap pre code{font:inherit!important}
.avqen-code-wrap .tok-keyword{color:#86b8e9}.avqen-code-wrap .tok-string{color:#b8d39c}.avqen-code-wrap .tok-comment{color:#758391}.avqen-code-wrap .tok-number{color:#d9ac82}
.avqen-file-tree,.avqen-code-wrap textarea,.avqen-code-wrap pre,.avqen-image-preview{scrollbar-width:thin;scrollbar-color:#505c69 #101318}
.avqen-file-tree::-webkit-scrollbar,.avqen-code-wrap textarea::-webkit-scrollbar{width:7px;height:7px}
.avqen-file-tree::-webkit-scrollbar-thumb,.avqen-code-wrap textarea::-webkit-scrollbar-thumb{background:#505c69;border-radius:9px}
.avqen-file-entry[aria-expanded] .avqen-file-icon{font-size:18px}
.avqen-studio-fullscreen{position:fixed!important;inset:12px!important;z-index:10000!important;display:flex!important;flex-direction:column!important;margin:0!important;max-width:none!important;width:auto!important;height:auto!important;overflow:hidden!important;box-shadow:0 0 0 100vmax rgba(0,0,0,.85)!important}
.avqen-studio-fullscreen .avqen-file-layout{flex:1!important;min-height:0!important}
.avqen-studio-fullscreen .avqen-file-actions{display:none!important}
.avqen-editor-open{overflow:hidden!important}
.avqen-status-ongoing{color:#8cc4ed!important;background:rgba(58,133,194,.16)!important;border:1px solid rgba(90,161,218,.4)!important}
.avqen-status-finished{color:#91d6b1!important;background:rgba(46,144,95,.16)!important;border:1px solid rgba(80,180,130,.4)!important}
.avqen-status-canceled{color:#e4a1a7!important;background:rgba(174,60,73,.15)!important;border:1px solid rgba(204,90,103,.35)!important}
.avqen-workspace-status-form select:has(option[value="ongoing"]:checked){color:#8cc4ed!important}
.avqen-workspace-status-form select:has(option[value="finished"]:checked){color:#91d6b1!important}
.avqen-roadmap-group{margin:18px 0 22px;border:1px solid #30353b;border-radius:13px;padding:18px;background:#101216}
.avqen-roadmap-group-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.avqen-roadmap-group-head h3{font-size:15px;margin:0 0 4px;color:#e7ebee}
.avqen-roadmap-group-head p{font-size:12px;color:#919da7;margin:0}
.avqen-roadmap-group-head span{font-size:12px;color:#9fb2c1}
.avqen-roadmap-group-items{display:grid;gap:8px}
.avqen-builder-group-title{display:flex;flex-direction:column;gap:4px;margin:18px 0 8px;padding:10px 0;border-bottom:1px solid #343a42}
.avqen-builder-group-title strong{font-size:13px}.avqen-builder-group-title small{font-size:11px;color:#929ba6}
.avqen-roadmap-add select{background:#101318;color:#e5ebf0;border:1px solid #343b43;border-radius:8px;padding:9px}

/* AVQEN v1.1.1 — compact file icons and custom status */
.avqen-file-entry{gap:8px!important;min-height:34px!important;padding-top:5px!important;padding-bottom:5px!important}
.avqen-file-icon{flex:0 0 19px!important;width:19px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;color:#90b5cc!important}
.avqen-file-icon svg{width:17px;height:17px;display:block;color:#a0b4c3}
.avqen-file-type{width:16px;height:17px;display:flex;align-items:center;justify-content:center;border:1px solid #65717b;border-radius:3px;font:700 9px/1 Consolas,monospace;color:#a5b7c5;background:#151a1f}
.avqen-file-type-css{color:#94c0e8}.avqen-file-type-html{color:#dbb48f}.avqen-file-type-php{color:#b7a5e4}.avqen-file-type-js{color:#dfce91}
.avqen-folder-arrow{font-size:10px;width:10px;flex:0 0 10px;color:#829aaa}
.avqen-file-entry:not([aria-expanded]){padding-left:calc(22px + var(--file-depth,0)*19px)!important}
.avqen-file-entry[aria-expanded]{padding-left:calc(12px + var(--file-depth,0)*19px)!important}
.avqen-file-entry[aria-expanded] .avqen-file-icon{font-size:11px!important}
.avqen-status-picker{position:relative;min-width:134px}
.avqen-status-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:10px 12px;border-radius:9px;cursor:pointer;font:600 12px system-ui;background:#15191e}
.avqen-status-menu{position:absolute;z-index:100;top:calc(100% + 5px);left:0;right:0;padding:5px;background:#191d23;border:1px solid #3b4651;border-radius:9px;box-shadow:0 14px 30px #0009}
.avqen-status-menu[hidden]{display:none!important}
.avqen-status-menu button{display:block;width:100%;border:0;border-radius:6px;text-align:left;padding:9px 10px;background:transparent;cursor:pointer;font:600 12px system-ui}
.avqen-status-menu button:hover{background:#2b333c}
.avqen-connections-overview{margin-top:18px}.avqen-connection-line{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #30343a;font-size:12px}.avqen-connection-line span{color:#99a4ae}.avqen-connection-line strong{max-width:65%;overflow-wrap:anywhere;text-align:right;color:#d9e0e7}.avqen-connection-note{font-size:11px;color:#89949e;margin-top:12px}

/* AVQEN v1.2 Monaco editor integration */
.avqen-editor-theme-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#aeb9c5}
.avqen-editor-theme-label select{color:#e6eaf0;background:#151a20;border:1px solid #3b4650;border-radius:8px;padding:9px;max-width:160px}
.avqen-monaco-host{height:490px;min-height:280px;width:100%;background:#090b0e}
.avqen-monaco-host[hidden]{display:none!important}
.avqen-editor-tabs{display:flex;gap:4px;overflow-x:auto;max-width:100%;background:#11151b;border-bottom:1px solid #313b46;scrollbar-width:thin}
.avqen-editor-tab{border:0;border-right:1px solid #2c333c;border-bottom:2px solid transparent;background:#141820;color:#9da8b3;padding:9px 14px;cursor:pointer;white-space:nowrap;font-size:12px}
.avqen-editor-tab.is-active{border-bottom-color:#79add1;color:#e5eef5;background:#1d242d}
.avqen-studio-fullscreen .avqen-monaco-host{height:calc(100vh - 210px)!important;flex:1}
.avqen-editor-controls{flex-wrap:wrap;justify-content:flex-end}
#avqen-file-studio[data-fallback-theme="dracula"] .avqen-code-wrap pre{background:#282a36!important}
#avqen-file-studio[data-fallback-theme="one-dark"] .avqen-code-wrap pre{background:#282c34!important}
#avqen-file-studio[data-fallback-theme="monokai"] .avqen-code-wrap pre{background:#272822!important}
#avqen-file-studio[data-fallback-theme="github-dark"] .avqen-code-wrap pre{background:#0d1117!important}

/* Keep project wizard controls aligned with Settings. */
.nexus-project-dialog .nexus-project-dialog-actions {
  flex-wrap: wrap;
}
.nexus-project-dialog .nexus-project-cancel {
  min-height: 44px;
  border-radius: 8px;
}
.nexus-project-dialog button:focus-visible {
  outline: 2px solid #8bb9d5;
  outline-offset: 2px;
}
.nexus-project-form .avqen-roadmap-builder {
  grid-template-columns: minmax(0, 1fr);
  overflow-wrap: anywhere;
}
.nexus-project-form .avqen-roadmap-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  min-width: 0;
  gap: .65rem;
}
.nexus-project-form .avqen-roadmap-item input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.nexus-project-form .avqen-roadmap-item input:focus-visible {
  outline: 2px solid #8bb9d5;
  outline-offset: 2px;
}
.nexus-project-form .avqen-roadmap-title { margin: 0; cursor: pointer; }
.nexus-project-form .avqen-roadmap-delete { min-width: 34px; min-height: 34px; border-radius: 8px; }
.nexus-project-form .avqen-roadmap-delete:hover { background: #922b352b; }
.nexus-project-form .avqen-roadmap-add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 9rem) auto;
  align-items: center;
}
.nexus-project-form .avqen-roadmap-add .settings-save { white-space: nowrap; padding-inline: .9rem; }
.avqen-dashboard-projects .settings-save { text-decoration: none; white-space: nowrap; }
.avqen-dashboard-project-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: .75rem;
  margin: 1rem 0;
}
.avqen-dashboard-project-summary div {
  padding: .85rem;
  border: 1px solid #343a42;
  border-radius: 9px;
  background: #101419;
}
.avqen-dashboard-project-summary dt { color: #aebbc6; font-size: .8rem; }
.avqen-dashboard-project-summary dd { margin: .35rem 0 0; font-size: 1.45rem; font-weight: 700; }
@media (max-width: 560px) {
  .nexus-project-form .avqen-roadmap-add { grid-template-columns: minmax(0, 1fr) auto; }
  .nexus-project-form .avqen-roadmap-add input { grid-column: 1 / -1; }
  .avqen-dashboard-projects .avqen-panel-heading { flex-wrap: wrap; }
}
