.nexheria-desktop{
  display:none;
  position:fixed;
  inset:0;
  min-height:100vh;
  overflow:hidden;
  color:#fff;
  background:#020918 url('/desktop.image.png?v=20260724-1') center center/cover no-repeat;
  isolation:isolate;
}
.nexheria-desktop::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:-2;
  background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.08));
  opacity:1;
}
.nexheria-desktop::after{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(ellipse at 50% 18%,rgba(255,164,218,.16),transparent 38%),
    radial-gradient(ellipse at 12% 86%,rgba(37,127,255,.14),transparent 30%),
    radial-gradient(ellipse at 88% 74%,rgba(255,90,143,.12),transparent 28%),
    linear-gradient(180deg,rgba(7,12,43,.08),rgba(3,7,24,.2));
  opacity:1;
  pointer-events:none;
}
body.desktop-home-active{overflow:hidden;background:#071328;}
body.desktop-home-active #appDiv{display:block!important;flex:1;min-height:100vh;}
body.desktop-home-active .nexheria-desktop{display:block;}
body.desktop-home-active .site-footer{display:none!important;}
body.desktop-home-active .nexheria-desktop::after{background:none;opacity:0;}
body.desktop-home-active .layout{display:flex;height:100vh;}
body.desktop-home-active .sidebar,
body.desktop-home-active .app-topbar{display:none!important;}
body.desktop-home-active .content-shell{position:fixed;inset:0;z-index:50;background:transparent;}
body.desktop-home-active .main{padding:0;overflow:hidden;}
body.desktop-home-active #app{min-height:100vh;}
body.desktop-module-active .nexheria-desktop{display:none;}
body.desktop-module-active .layout{display:flex;}

/* Module windows live above the desktop, never above the browser viewport. */
body.desktop-home-active .module-window-overlay{
  left:0;
  z-index:1200;
  pointer-events:none;
}
body.desktop-home-active .module-window-shell{
  left:5vw;
  top:7.5vh;
  width:90vw;
  height:calc(85vh - 72px);
  min-width:0;
  min-height:0;
}
body.desktop-home-active .module-window-shell.is-maximized{
  left:0!important;
  top:0!important;
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  max-height:none!important;
  border-radius:0!important;
}
body.desktop-home-active .module-window-body{
  position:relative;
  padding:0;
  overflow:hidden;
  background:#eef3fb;
}
body.desktop-home-active .module-window-loading{
  position:absolute;
  inset:0;
  z-index:3;
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:12px;
  color:#475569;
  background:linear-gradient(180deg,#f7f9ff,#eef3fb);
}
body.desktop-home-active .module-window-shell.is-loading .module-window-loading{display:flex;}
body.desktop-home-active .module-window-loading span{
  width:30px;
  height:30px;
  border:3px solid rgba(79,124,255,.18);
  border-top-color:#4f7cff;
  border-radius:50%;
  animation:desktop-window-loading-spin .65s linear infinite;
}
body.desktop-home-active .module-window-loading strong{font-size:12px;font-weight:700;}
@keyframes desktop-window-loading-spin{to{transform:rotate(360deg);}}
body.desktop-home-active .module-window-head{
  justify-content:flex-end;
  min-height:0;
  padding:3px 6px;
}
body.desktop-home-active .module-window-actions{
  gap:4px;
}
body.desktop-home-active .module-window-actions button{
  width:24px;
  height:24px;
}
body.desktop-home-active .module-window-frame{
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#eef3fb;
}
body.desktop-home-active .module-window-shell.is-minimized{display:none;}
body.desktop-home-active .module-window-minimize,
body.desktop-home-active .module-window-maximize,
body.desktop-home-active .module-window-close{font-family:inherit;}
.desktop-topbar{
  position:absolute;
  left:0;
  right:0;
  top:0;
  z-index:8;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 24px 0;
  pointer-events:none;
  filter:drop-shadow(0 12px 28px rgba(2,6,28,.24));
}
.desktop-topbar>*{pointer-events:auto;}
.desktop-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  min-height:48px;
  padding:0;
  color:#fff;
  text-decoration:none;
  cursor:pointer;
  background:transparent;
  box-shadow:none;
}
.desktop-topbar>div:first-child::before{
  content:none;
}
.desktop-brand-mark{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  filter:none;
}
.desktop-brand-mark svg{width:22px;height:22px;}
.desktop-brand-mark svg path:last-child{display:none;}
.desktop-brand-word{
  font-family:'Space Grotesk',sans-serif;
  font-size:20px;
  font-weight:800;
  letter-spacing:.04em;
  text-shadow:0 2px 14px rgba(0,0,0,.35);
}
.desktop-user-area{display:flex;align-items:center;gap:9px;}
.desktop-icon-btn,
.desktop-user-pill{
  border:1px solid rgba(255,255,255,.28);
  background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(20,27,77,.22));
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(22px) saturate(1.35);
  -webkit-backdrop-filter:blur(14px);
}
.desktop-icon-btn{
  width:43px;
  height:43px;
  border-radius:13px;
  display:grid;
  place-items:center;
  cursor:pointer;
  position:relative;
}
.desktop-icon-btn:hover,.desktop-user-pill:hover{
  border-color:rgba(255,255,255,.52);
  background:linear-gradient(145deg,rgba(255,255,255,.27),rgba(39,42,112,.3));
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(3,8,37,.26),inset 0 1px 0 rgba(255,255,255,.3);
}
.desktop-icon-btn svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.desktop-notif-badge{
  position:absolute;
  top:-6px;
  right:-5px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  display:none;
  place-items:center;
  border-radius:999px;
  background:#7667ff;
  color:#fff;
  font-size:10px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(118,103,255,.34);
}
.desktop-user-pill{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:5px 13px 5px 5px;
  border-radius:999px;
  cursor:pointer;
  position:relative;
}
.desktop-user-avatar{
  width:35px;
  height:35px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#7c3aed,#4f7cff);
  color:#fff;
  font-size:12px;
  font-weight:900;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 10px 20px rgba(79,124,255,.25);
}
.desktop-user-copy{display:grid;gap:1px;min-width:0;}
.desktop-user-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;line-height:1.15;}
.desktop-user-role{font-size:11px;color:rgba(255,255,255,.62);line-height:1.1;}
.desktop-user-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:210px;
  display:none;
  padding:8px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  background:rgba(16,24,62,.68);
  box-shadow:0 24px 60px rgba(5,10,30,.38);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
.desktop-user-menu.open{display:block;}
.desktop-user-menu button{
  width:100%;
  border:0;
  border-radius:12px;
  padding:11px 12px;
  background:transparent;
  color:#fff;
  text-align:left;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.desktop-user-menu button:hover{background:rgba(255,255,255,.12);}
.desktop-blank-space{
  position:absolute;
  inset:76px 0 122px;
  pointer-events:none;
}
.desktop-dock-wrap{
  position:fixed;
  left:0;
  right:0;
  bottom:12px;
  z-index:1305;
  display:flex;
  justify-content:center;
  padding:0 16px;
  pointer-events:none;
}
.desktop-dock{
  box-sizing:border-box;
  pointer-events:auto;
  display:flex;
  align-items:center;
  gap:0;
  padding:9px 12px;
  width:min(650px,calc(100vw - 32px));
  min-width:0;
  justify-content:center;
  border:1px solid rgba(255,255,255,.3);
  border-radius:24px;
  background:
    radial-gradient(circle at 50% 0,rgba(255,150,117,.26),transparent 48%),
    linear-gradient(135deg,rgba(255,255,255,.22),rgba(83,63,133,.62) 48%,rgba(30,28,75,.72)),
    rgba(26,26,70,.62);
  box-shadow:none;
  backdrop-filter:blur(34px) saturate(1.55);
  -webkit-backdrop-filter:blur(30px) saturate(1.28);
}
.desktop-dock-wrap::after{content:none;}
.desktop-dock-item{
  box-sizing:border-box;
  width:auto;
  height:86px;
  display:grid!important;
  grid-template-rows:38px 16px!important;
  grid-auto-flow:row!important;
  align-content:center!important;
  align-items:center!important;
  justify-content:center!important;
  justify-items:center!important;
  gap:8px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  color:rgba(229,236,255,.82);
  cursor:pointer;
  position:relative;
  flex:1 1 0;
  overflow:hidden;
  text-shadow:0 1px 8px rgba(0,0,0,.22);
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,filter .18s ease;
}
.desktop-dock-item:hover{transform:translateY(-5px) scale(1.04);}
.desktop-dock-item.active{background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(116,96,232,.32))!important;border-color:rgba(196,219,255,.5)!important;box-shadow:0 12px 30px rgba(64,67,179,.28),inset 0 1px 0 rgba(255,255,255,.32)!important;}
.desktop-dock-icon{filter:drop-shadow(0 0 8px rgba(113,225,255,.25));}
.desktop-dock-item.is-window-active{color:#fff!important;background:rgba(113,137,255,.22)!important;border-color:rgba(181,197,255,.4)!important;box-shadow:0 10px 26px rgba(43,61,150,.28),inset 0 1px 0 rgba(255,255,255,.18)!important;}
.desktop-dock-item.is-window-minimized{opacity:.62;}
.desktop-dock-window-item::after{content:"";position:absolute;bottom:7px;width:6px;height:6px;border-radius:50%;background:#78e4ff;box-shadow:0 0 8px rgba(120,228,255,.9);}
.desktop-dock-item:not(:last-child)::before{
  content:"";
  position:absolute;
  top:18px;
  right:-1px;
  bottom:18px;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.2),transparent);
}
.desktop-dock-item:hover{
  transform:translateY(-2px);
  color:#fff!important;
  background:rgba(122,147,255,.12)!important;
  border-color:rgba(177,197,255,.22)!important;
  box-shadow:0 14px 30px rgba(36,52,118,.24),inset 0 1px 0 rgba(255,255,255,.14)!important;
}
.desktop-dock-item.active{
  width:auto;
  transform:none;
  color:#fff!important;
  border-color:transparent!important;
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
.desktop-dock #desktopDockApps,
.desktop-dock #desktopDockApps.active{
  width:auto!important;
  flex:1 1 0!important;
  display:grid!important;
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.desktop-dock #desktopDockApps:hover{
  width:auto!important;
  flex:1 1 0!important;
  background:rgba(122,147,255,.12)!important;
  border-color:rgba(177,197,255,.22)!important;
  box-shadow:0 14px 30px rgba(36,52,118,.24),inset 0 1px 0 rgba(255,255,255,.14)!important;
}
.desktop-dock-nexo{
  width:160px;
  flex:0 0 160px!important;
  height:86px;
  background:radial-gradient(circle at 50% 18%,rgba(104,87,255,.28),rgba(255,255,255,.03) 68%)!important;
  border-color:rgba(255,255,255,.08)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1)!important;
}
.desktop-dock #desktopDockNexo::after,
.desktop-dock-nexo::after{
  content:"";
  position:absolute;
  left:37px;
  right:37px;
  bottom:8px;
  z-index:2;
  display:block!important;
  height:3px;
  border-radius:99px;
  opacity:1!important;
  background:#6fe1ff;
  box-shadow:0 0 12px rgba(111,225,255,.84);
  pointer-events:none;
}
.desktop-dock #desktopDockNexo .desktop-dock-icon,
.desktop-dock #desktopDockNexo .desktop-dock-label{
  position:relative;
  z-index:3;
}
.desktop-nexo-icon{border:1px solid rgba(125,218,255,.72);background:rgba(41,61,153,.96);color:#eaf9ff;font-size:33px;font-weight:900;letter-spacing:0;box-shadow:0 0 18px rgba(63,142,255,.72),inset 0 1px 0 rgba(255,255,255,.34);}
.desktop-nexo-icon img{width:36px;height:36px;display:block;object-fit:contain;opacity:1;filter:brightness(1.18) saturate(1.38) contrast(1.08);}
.desktop-dock-label{min-width:0;text-overflow:ellipsis;}
.desktop-dock-item.active .desktop-dock-label{font-size:11px;letter-spacing:0;}
.desktop-dock-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#dce8ff;
  filter:drop-shadow(0 0 8px rgba(171,190,255,.24));
}
.desktop-dock-item.active .desktop-dock-icon{
  color:#dce8ff;
  filter:drop-shadow(0 0 10px rgba(139,164,255,.46));
}
.desktop-dock-icon svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:2.05;stroke-linecap:round;stroke-linejoin:round;}
.desktop-dock-label{
  display:block;
  max-width:100%;
  font-size:13px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  color:inherit;
  overflow:hidden;
  text-overflow:ellipsis;
}
.desktop-app-menu{
  position:fixed;
  left:50%;
  bottom:104px;
  z-index:1310;
  width:min(1160px,calc(100vw - 36px));
  height:min(470px,calc(100vh - 128px));
  display:none;
  transform:translateX(-50%) translateY(10px) scale(.99);
  opacity:0;
  border:1px solid rgba(185,168,231,.22);
  border-radius:12px;
  background:
    linear-gradient(180deg,rgba(82,62,126,.72),rgba(30,39,86,.72)),
    rgba(33,36,77,.74);
  box-shadow:0 30px 90px rgba(4,8,28,.46),inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter:blur(28px) saturate(1.18);
  -webkit-backdrop-filter:blur(28px) saturate(1.18);
  overflow:hidden;
  transition:opacity .18s ease,transform .18s ease;
}
.desktop-app-menu::before{content:"";position:fixed;inset:0;z-index:-1;background:rgba(5,12,32,.28);backdrop-filter:blur(3px);}
.desktop-app-menu.open{
  display:block;
  opacity:1;
  transform:translateX(-50%) translateY(0) scale(1);
}
.desktop-app-menu-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  height:64px;
  padding:0 18px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.desktop-launcher-search{width:min(280px,32vw);height:34px;padding:0 11px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:rgba(7,15,40,.3);color:#fff;outline:none;font:700 12px inherit;}
.desktop-launcher-search::placeholder{color:rgba(255,255,255,.56);}
.desktop-app-menu-title{font-size:19px;font-weight:900;letter-spacing:0;color:#fff;line-height:1;}
.desktop-app-menu-sub{margin-top:7px;font-size:12px;color:rgba(255,255,255,.62);line-height:1;}
.desktop-app-menu-close{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:7px;
  background:rgba(255,255,255,.11);
  color:rgba(255,255,255,.78);
  font-size:18px;
  line-height:1;
  cursor:pointer;
}
.desktop-app-menu-body{
  height:calc(100% - 64px);
  display:grid;
  grid-template-columns:216px 1fr;
  min-height:0;
}
.desktop-category-list{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:14px 14px 16px 16px;
  border-right:1px solid rgba(255,255,255,.09);
  min-height:0;
  overflow:auto;
}
.desktop-category-item{
  height:36px;
  border:0;
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px;
  background:transparent;
  color:rgba(255,255,255,.82);
  font-size:13px;
  font-weight:800;
  text-align:left;
  cursor:pointer;
}
.desktop-category-item.active{
  background:linear-gradient(90deg,rgba(136,101,218,.78),rgba(115,88,190,.48));
  color:#fff;
}
.desktop-category-icon{
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  color:#e5ddff;
}
.desktop-category-icon svg,
.desktop-app-card-icon svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.desktop-app-content{
  min-width:0;
  min-height:0;
  overflow:auto;
  padding:16px 18px 22px;
}
.desktop-section-title{
  margin:0 0 10px;
  color:rgba(255,255,255,.9);
  font-size:13px;
  font-weight:900;
}
.desktop-all-title{margin-top:16px;}
.desktop-feature-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.desktop-app-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.desktop-app-card,
.desktop-feature-card{
  min-height:70px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  padding:12px 12px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 14px;
  align-items:center;
  gap:10px;
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.045));
  color:#fff;
  cursor:pointer;
  text-align:left;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.desktop-feature-card{min-height:58px;}
.desktop-app-card:hover,
.desktop-feature-card:hover{
  transform:translateY(-1px);
  border-color:rgba(183,199,255,.24);
  background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.07));
  box-shadow:0 14px 30px rgba(4,8,25,.16);
}
.desktop-app-card-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:linear-gradient(135deg,rgba(67,160,231,.28),rgba(95,99,218,.18));
  color:#74c8ff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1);
}
.desktop-app-card-copy{
  min-width:0;
  display:grid;
  gap:5px;
}
.desktop-app-card-title{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:900;
  line-height:1;
}
.desktop-app-card-desc{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
  line-height:1;
  color:rgba(255,255,255,.58);
}
.desktop-card-arrow{color:rgba(255,255,255,.55);font-size:20px;line-height:1;}
.desktop-empty-apps{
  grid-column:1/-1;
  padding:26px;
  border:1px dashed rgba(255,255,255,.22);
  border-radius:20px;
  color:rgba(255,255,255,.7);
  text-align:center;
}
.desktop-crm-panel{
  grid-column:1/-1;
  min-height:100%;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.desktop-crm-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:48px;
}
.desktop-crm-eyebrow{
  margin-bottom:5px;
  color:rgba(211,222,255,.62);
  font-size:10px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.desktop-crm-panel-head h3{
  margin:0;
  color:#fff;
  font-size:16px;
  line-height:1;
  font-weight:900;
}
.desktop-crm-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.desktop-crm-chip,
.desktop-crm-back{
  height:36px;
  border:1px solid rgba(190,207,255,.18);
  border-radius:11px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 12px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.055)),
    rgba(21,28,73,.36);
  color:rgba(241,246,255,.88);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 16px 34px rgba(5,10,32,.18);
  cursor:pointer;
  font-size:12px;
  font-weight:900;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.desktop-crm-chip.active{
  border-color:rgba(130,181,255,.42);
  background:
    radial-gradient(circle at 22% 18%,rgba(104,204,255,.24),transparent 54%),
    linear-gradient(180deg,rgba(119,133,255,.24),rgba(56,67,137,.22));
  color:#fff;
}
.desktop-crm-chip svg,
.desktop-crm-back svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.desktop-crm-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.desktop-crm-bottom-action{
  margin-top:auto;
  display:flex;
  justify-content:flex-end;
  padding-top:18px;
}
.desktop-crm-bottom-action .desktop-app-card{
  width:min(100%,250px);
  min-height:58px;
  padding:9px 10px;
  grid-template-columns:28px minmax(0,1fr) 12px;
  gap:8px;
}
.desktop-crm-bottom-action .desktop-app-card-icon{width:28px;height:28px;border-radius:8px;}
.desktop-crm-bottom-action .desktop-app-card-copy{gap:3px;}
.desktop-crm-bottom-action .desktop-app-card-title{font-size:11px;}
.desktop-crm-bottom-action .desktop-app-card-desc{font-size:9px;}
.desktop-crm-report-card{
  border-color:rgba(143,130,255,.28);
  background:
    radial-gradient(circle at 8% 0,rgba(152,126,255,.28),transparent 46%),
    linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.06));
}
.desktop-crm-setting-card .desktop-app-card-icon{
  color:#93fff1;
  background:linear-gradient(135deg,rgba(56,224,188,.26),rgba(85,124,255,.14));
}
@media(max-width:720px){
  .desktop-topbar{padding:12px 12px 0;align-items:flex-start;}
  .desktop-brand-word{font-size:14px;letter-spacing:.14em;}
  .desktop-user-copy{display:none;}
  .desktop-icon-btn{width:38px;height:38px;border-radius:12px;}
  .desktop-dock{gap:6px;padding:8px;border-radius:22px;width:min(100%,420px);justify-content:space-between;}
  .desktop-dock-item{width:78px;height:68px;border-radius:16px;}
  .desktop-dock-nexo{width:78px;flex-basis:78px!important;}
  .desktop-dock-label{font-size:11px;}
  .desktop-app-menu{bottom:100px;border-radius:24px;}
  .desktop-app-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .desktop-crm-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .desktop-crm-panel-head{align-items:flex-start;flex-direction:column;}
  .desktop-crm-bottom-action{justify-content:stretch;}
  .desktop-crm-bottom-action .desktop-app-card{width:100%;}
}

/* The home desktop keeps its dock visible. Module windows hide it until the
   pointer reaches the bottom edge, then slide it up for interaction. */
/* Nexheria launcher: a light workspace surface, not an ERP dialog. */
.desktop-app-menu{left:10vw;right:10vw;bottom:92px;width:auto;height:75vh;min-height:520px;transform:translateY(18px) scale(.96);border:1px solid rgba(148,183,226,.46);border-radius:28px;background:rgba(244,249,255,.9);box-shadow:0 28px 90px rgba(24,55,98,.2),0 0 0 1px rgba(255,255,255,.65) inset;color:#172b4d;backdrop-filter:blur(28px) saturate(1.2);-webkit-backdrop-filter:blur(28px) saturate(1.2);transition:opacity .22s ease,transform .22s cubic-bezier(.2,.8,.2,1);}
.desktop-app-menu.open{transform:translateY(0) scale(1);}
.desktop-app-menu::before{background:rgba(225,237,252,.18);backdrop-filter:blur(5px);}
.desktop-app-menu-head{height:82px;padding:0 28px;border-bottom:1px solid rgba(128,158,198,.2);}
.desktop-app-menu-title{color:#17345d;font-size:23px;letter-spacing:-.04em;}
.desktop-app-menu-sub{color:#6680a3;margin-top:6px;}
.desktop-app-menu-close{background:rgba(214,228,247,.65);color:#527097;width:34px;height:34px;border-radius:10px;font-size:21px;}
.desktop-launcher-search{order:1;width:min(430px,40vw);height:44px;padding:0 16px;border:1px solid rgba(133,165,207,.42);border-radius:13px;background:rgba(255,255,255,.8);color:#17345d;font-size:14px;box-shadow:0 8px 20px rgba(74,116,171,.08);}
.desktop-launcher-search::placeholder{color:#7790b0;}
.desktop-app-menu-head>div{order:0}.desktop-app-menu-head>.desktop-app-menu-close{order:2}
.desktop-app-menu-body{display:block;height:calc(100% - 82px);overflow:auto;padding:0 28px 32px;}
.desktop-open-windows{display:flex;align-items:center;gap:10px;min-height:72px;overflow:auto;border-bottom:1px solid rgba(128,158,198,.18);}
.desktop-open-windows::before{content:'Açık Uygulamalar';flex:0 0 auto;margin-right:5px;color:#496888;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.desktop-open-window{display:flex;align-items:center;gap:8px;flex:0 0 auto;height:34px;padding:0 12px;border:1px solid rgba(126,164,215,.28);border-radius:10px;background:rgba(255,255,255,.72);color:#294a72;font:700 12px inherit;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.desktop-open-window:hover,.desktop-open-window.active{transform:translateY(-2px);border-color:#75a9ec;box-shadow:0 8px 18px rgba(70,126,202,.16);color:#1766c0;}
.desktop-open-window-dot{width:7px;height:7px;border-radius:50%;background:#4a9cf5;box-shadow:0 0 0 4px rgba(74,156,245,.12)}.desktop-open-window-arrow{font-size:15px;color:#7aa2d0}.desktop-open-empty{color:#8aa0bb;font-size:12px}
.desktop-category-list{display:flex;flex-direction:row;gap:8px;padding:22px 0 18px;border:0;overflow:auto;min-height:0;}
.desktop-category-item{height:34px;padding:0 14px;border:1px solid rgba(128,162,207,.28);border-radius:999px;background:rgba(255,255,255,.58);color:#557292;font-size:12px;white-space:nowrap;}
.desktop-category-item.active{background:#2f83e8;color:#fff;border-color:#2f83e8;box-shadow:0 7px 16px rgba(47,131,232,.22);}
.desktop-app-content{padding:0;overflow:visible}.desktop-feature-grid,.desktop-app-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:22px}.desktop-app-grid{display:grid}
.desktop-feature-card,.desktop-app-card{min-height:120px;padding:20px;border:1px solid rgba(135,169,211,.28);border-radius:18px;background:rgba(255,255,255,.78);color:#28476c;box-shadow:0 8px 20px rgba(61,103,158,.07);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
.desktop-feature-card:hover,.desktop-app-card:hover{transform:translateY(-5px);border-color:rgba(59,143,236,.58);box-shadow:0 16px 30px rgba(56,126,211,.16),0 0 0 3px rgba(75,157,242,.07);}
.desktop-app-card-icon{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#e5f1ff,#eef0ff);color:#3a83dc}.desktop-app-card-title{color:#1c3b61;font-size:14px}.desktop-app-card-desc{color:#7890ac;font-size:11px;line-height:1.45}.desktop-card-arrow{color:#7ca6d5;transition:transform .2s ease,color .2s ease}.desktop-app-card:hover .desktop-card-arrow,.desktop-feature-card:hover .desktop-card-arrow{transform:translateX(4px);color:#2f83e8}
@media (max-width:900px){.desktop-app-menu{left:4vw;right:4vw;bottom:86px;height:78vh}.desktop-app-menu-head{padding:0 18px}.desktop-launcher-search{width:38vw}.desktop-app-menu-body{padding:0 18px 24px}}

/* Final launcher surface overrides */
.desktop-app-menu{left:10vw;right:10vw;bottom:92px;width:auto;height:75vh;min-height:520px;transform:translateY(18px) scale(.96);border-radius:28px;background:rgba(244,249,255,.9);box-shadow:0 28px 90px rgba(24,55,98,.2),0 0 0 1px rgba(255,255,255,.65) inset;color:#172b4d;}
.desktop-app-menu.open{transform:translateY(0) scale(1)}
.desktop-app-menu-head{height:82px;padding:0 28px}.desktop-app-menu-title{color:#17345d;font-size:23px}.desktop-app-menu-sub{color:#6680a3}.desktop-app-menu-body{display:block;height:calc(100% - 82px);overflow:auto;padding:0 28px 32px}
.desktop-launcher-search{width:min(430px,40vw);height:44px;padding:0 16px;border:1px solid rgba(133,165,207,.42);border-radius:13px;background:rgba(255,255,255,.8);color:#17345d;font-size:14px}.desktop-launcher-search::placeholder{color:#7790b0}
.desktop-open-windows{display:flex;align-items:center;gap:10px;min-height:72px;overflow:auto;border-bottom:1px solid rgba(128,158,198,.18)}.desktop-open-windows::before{content:'Açık Uygulamalar';flex:0 0 auto;margin-right:5px;color:#496888;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.desktop-open-window{display:flex;align-items:center;gap:8px;flex:0 0 auto;height:34px;padding:0 12px;border:1px solid rgba(126,164,215,.28);border-radius:10px;background:rgba(255,255,255,.72);color:#294a72;font:700 12px inherit;cursor:pointer}.desktop-open-window:hover,.desktop-open-window.active{border-color:#75a9ec;box-shadow:0 8px 18px rgba(70,126,202,.16);color:#1766c0}.desktop-open-window-dot{width:7px;height:7px;border-radius:50%;background:#4a9cf5}.desktop-open-window-arrow{font-size:15px;color:#7aa2d0}
.desktop-category-list{display:flex;flex-direction:row;gap:8px;padding:22px 0 18px;border:0;overflow:auto}.desktop-category-item{height:34px;padding:0 14px;border:1px solid rgba(128,162,207,.28);border-radius:999px;background:rgba(255,255,255,.58);color:#557292;font-size:12px;white-space:nowrap}.desktop-category-item.active{background:#2f83e8;color:#fff;border-color:#2f83e8}.desktop-app-content{padding:0;overflow:visible}.desktop-feature-grid,.desktop-app-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:22px}.desktop-app-grid{display:grid}.desktop-feature-card,.desktop-app-card{min-height:120px;padding:20px;border:1px solid rgba(135,169,211,.28);border-radius:18px;background:rgba(255,255,255,.78);color:#28476c;box-shadow:0 8px 20px rgba(61,103,158,.07)}.desktop-feature-card:hover,.desktop-app-card:hover{transform:translateY(-5px);border-color:rgba(59,143,236,.58);box-shadow:0 16px 30px rgba(56,126,211,.16)}.desktop-app-card-title{color:#1c3b61;font-size:14px}.desktop-app-card-desc{color:#7890ac;font-size:11px;line-height:1.45}
.desktop-app-menu{left:50%;right:auto;bottom:104px;width:min(1160px,calc(100vw - 36px));height:min(470px,calc(100vh - 128px));min-height:0;transform:translateX(-50%) translateY(10px) scale(.99);border-radius:12px;background:linear-gradient(180deg,rgba(82,62,126,.72),rgba(30,39,86,.72)),rgba(33,36,77,.74);color:#fff}.desktop-app-menu.open{transform:translateX(-50%) translateY(0) scale(1)}.desktop-app-menu-head{height:64px;padding:0 18px}.desktop-app-menu-title{color:#fff;font-size:19px}.desktop-app-menu-sub{color:rgba(255,255,255,.62)}.desktop-app-menu-body{display:grid;grid-template-columns:216px 1fr;height:calc(100% - 64px);padding:0;overflow:visible}.desktop-category-list{display:flex;flex-direction:column;gap:4px;padding:14px 14px 16px 16px;border-right:1px solid rgba(255,255,255,.09);overflow:auto}.desktop-category-item{height:36px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:rgba(255,255,255,.82);font-size:13px}.desktop-category-item.active{background:linear-gradient(90deg,rgba(136,101,218,.78),rgba(115,88,190,.48));color:#fff;border-color:transparent}.desktop-app-content{padding:16px 18px 22px;overflow:auto}.desktop-feature-grid,.desktop-app-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.desktop-feature-card,.desktop-app-card{min-height:0;padding:12px;border-radius:8px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.82);box-shadow:none}.desktop-feature-card:hover,.desktop-app-card:hover{transform:translateY(-2px);background:rgba(132,157,255,.14);border-color:rgba(180,200,255,.3);box-shadow:0 12px 24px rgba(25,40,100,.18)}.desktop-app-card-title{color:inherit;font-size:13px}.desktop-app-card-desc{color:rgba(255,255,255,.58);font-size:11px}.desktop-app-card-icon{background:rgba(255,255,255,.08);color:#dbe5ff}

/* Launcher is the dock's slide-up extension; its visual surface stays intact. */
.desktop-dock-wrap{z-index:1320;}
.desktop-app-menu{
  display:block;
  bottom:118px;
  width:min(1600px,calc(100vw - 120px));
  height:clamp(210px,28vh,300px);
  transform:translateX(-50%) translateY(calc(100% + 18px));
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:
    transform 200ms cubic-bezier(.2,.8,.2,1),
    opacity 200ms ease,
    visibility 0s linear 200ms;
}
.desktop-app-menu::before{display:none;}
.desktop-app-menu.open{
  display:block;
  transform:translateX(-50%) translateY(0);
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition-delay:0s;
}
.desktop-app-menu-head{height:54px;padding:0 16px;}
.desktop-app-menu-title{font-size:16px;}
.desktop-app-menu-sub{margin-top:4px;font-size:10px;}
.desktop-launcher-search{width:min(400px,42vw);height:32px;padding:0 12px;font-size:12px;}
.desktop-app-menu-body{
  grid-template-columns:170px minmax(0,1fr);
  height:calc(100% - 54px);
}
.desktop-category-list{gap:2px;padding:10px 8px 12px 12px;}
.desktop-category-item{height:24px;padding:0 8px;font-size:10px;border-radius:6px;}
.desktop-category-icon{width:14px;height:14px;}
.desktop-app-content{padding:10px 12px 14px;}
.desktop-feature-grid,.desktop-app-grid{gap:8px;}
.desktop-app-card,.desktop-feature-card{
  min-height:44px;
  padding:7px 9px;
  grid-template-columns:28px minmax(0,1fr) 10px;
  gap:7px;
}
.desktop-app-card-icon{width:28px;height:28px;border-radius:7px;}
.desktop-app-card-copy{gap:3px;}
.desktop-app-card-title{font-size:11px;}
.desktop-app-card-desc{font-size:8px;}
.desktop-card-arrow{font-size:14px;}
@media(max-width:720px){
  .desktop-app-menu{
    bottom:98px;
    width:calc(100vw - 32px);
    height:min(470px,calc(100vh - 116px));
  }
  .desktop-app-menu-body{grid-template-columns:150px minmax(0,1fr);}
  .desktop-feature-grid,.desktop-app-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(prefers-reduced-motion:reduce){
  .desktop-app-menu{transition-duration:1ms;}
}

/* HR launcher reference: wide card grid without the category rail. */
.desktop-app-menu.hr-view{
  left:6px;
  right:6px;
  bottom:4px;
  width:auto;
  height:calc(100vh - 8px);
  min-height:0;
  transform:translateY(10px) scale(.99);
  border-radius:10px;
}
.desktop-app-menu.hr-view.open{transform:translateY(0) scale(1);}
.desktop-app-menu.hr-view .desktop-app-menu-head{
  height:86px;
  justify-content:center;
  padding:0 18px;
}
.desktop-app-menu.hr-view .desktop-app-menu-head>div{display:none;}
.desktop-app-menu.hr-view .desktop-launcher-search{
  width:min(516px,calc(100vw - 44px));
  height:54px;
  font-size:16px;
  border-radius:14px;
}
.desktop-app-menu.hr-view .desktop-app-menu-body{
  display:block;
  height:calc(100% - 86px);
  padding:0 12px 22px;
  overflow:auto;
}
.desktop-app-menu.hr-view .desktop-category-list{display:none;}
.desktop-app-menu.hr-view .desktop-app-content{padding:0;overflow:visible;}
.desktop-app-menu.hr-view .desktop-feature-grid{display:none;}
.desktop-app-menu.hr-view .desktop-app-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.desktop-app-menu.hr-view .desktop-app-card{
  min-height:82px;
  padding:12px;
  border-radius:10px;
}
.desktop-app-menu.hr-view .desktop-app-card-icon{width:48px;height:48px;border-radius:12px;}
.desktop-app-menu.hr-view .desktop-app-card-title{font-size:16px;}
.desktop-app-menu.hr-view .desktop-app-card-desc{font-size:12px;}
@media(max-width:720px){
  .desktop-app-menu.hr-view{left:6px;right:6px;bottom:4px;height:calc(100vh - 8px);}
  .desktop-app-menu.hr-view .desktop-app-menu-body{padding:0 10px 16px;}
  .desktop-app-menu.hr-view .desktop-app-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .desktop-app-menu.hr-view .desktop-app-card{min-height:72px;padding:9px;}
  .desktop-app-menu.hr-view .desktop-app-card-icon{width:38px;height:38px;}
  .desktop-app-menu.hr-view .desktop-app-card-title{font-size:13px;}
}

/* Desktop OS workspace: persistent task dock and its attached launcher. */
body.desktop-home-active .module-window-overlay{z-index:1200;}
body.desktop-home-active .module-window-shell{
  left:20px;
  top:20px;
  width:calc(100vw - 40px);
  height:calc(100vh - 138px);
}
body.desktop-home-active .module-window-shell.is-maximized{
  left:10px!important;
  top:10px!important;
  width:calc(100vw - 20px)!important;
  height:calc(100vh - 134px)!important;
}
.desktop-dock-wrap{
  bottom:10px;
  z-index:5010;
  padding:0 20px;
  transform:none!important;
  pointer-events:none;
}
.desktop-dock-wrap::after{
  content:none!important;
}
.desktop-dock{
  width:min(1440px,calc(100vw - 40px));
  height:78px;
  padding:7px 9px;
  justify-content:flex-start;
  gap:5px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  border-color:rgba(210,216,255,.3);
  border-radius:18px;
  background:
    radial-gradient(circle at 50% -20%,rgba(255,167,143,.28),transparent 52%),
    linear-gradient(180deg,rgba(98,79,130,.88),rgba(48,39,83,.9));
  box-shadow:none;
}
.desktop-dock::-webkit-scrollbar{display:none;}
.desktop-dock-item,
.desktop-dock #desktopDockApps,
.desktop-dock #desktopDockApps.active{
  flex:0 0 92px!important;
  width:92px!important;
  min-width:92px!important;
  height:62px!important;
  grid-template-rows:30px 14px!important;
  gap:5px!important;
  border-radius:12px!important;
}
.desktop-dock-nexo{
  flex-basis:106px!important;
  width:106px!important;
  min-width:106px!important;
  height:62px;
}
.desktop-dock-window-item{
  position:relative!important;
  flex:0 1 176px!important;
  width:176px!important;
  min-width:126px!important;
  max-width:196px!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  grid-template-rows:1fr!important;
  justify-items:start!important;
  padding:0 12px!important;
  gap:9px!important;
  border:1px solid rgba(201,211,255,.17)!important;
  background:rgba(255,255,255,.055)!important;
}
.desktop-dock-window-close{
  position:absolute;
  top:4px;
  right:6px;
  z-index:2;
  display:grid;
  place-items:center;
  width:19px;
  height:19px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:6px;
  color:rgba(255,255,255,.78);
  background:rgba(20,24,62,.42);
  font-size:16px;
  line-height:1;
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.desktop-dock-window-close:hover,
.desktop-dock-window-close:focus-visible{
  color:#fff;
  background:rgba(239,68,68,.82);
  border-color:rgba(255,210,210,.72);
  outline:none;
}
.desktop-dock-window-item .desktop-dock-label{
  font-size:12px;
  text-align:left;
}
.desktop-dock-window-item.is-window-active{
  background:linear-gradient(180deg,rgba(126,113,214,.42),rgba(78,72,160,.34))!important;
  border-color:rgba(180,198,255,.54)!important;
}
.desktop-dock-window-glyph{
  width:30px;
  height:30px;
  border:1px solid rgba(182,199,255,.3);
  border-radius:9px;
  background:linear-gradient(145deg,rgba(132,113,255,.48),rgba(48,188,221,.28));
  color:#fff;
  font-size:13px;
  font-weight:900;
}
.desktop-dock-window-item::after{bottom:5px;}
.desktop-dock-icon{width:30px;height:30px;border-radius:9px;}
.desktop-dock-icon svg{width:23px;height:23px;}
.desktop-nexo-icon img{width:29px;height:29px;}
.desktop-dock-label{font-size:11px;}

.desktop-app-menu{
  z-index:5000;
  bottom:87px;
  width:min(1440px,calc(100vw - 40px));
  height:clamp(320px,46vh,520px);
  border:1px solid rgba(210,216,255,.3);
  border-bottom-color:rgba(196,202,245,.18);
  border-radius:20px 20px 8px 8px;
  background:
    radial-gradient(circle at 50% 110%,rgba(135,96,197,.3),transparent 46%),
    linear-gradient(180deg,rgba(67,57,113,.96),rgba(31,38,82,.96));
  box-shadow:
    0 -18px 52px rgba(2,8,28,.3),
    0 28px 70px rgba(2,8,28,.42),
    inset 0 1px 0 rgba(255,255,255,.16);
  transform:translateX(-50%) translateY(34px) scale(.985);
  transform-origin:center bottom;
}
.desktop-app-menu.open{
  transform:translateX(-50%) translateY(0) scale(1);
}
body:has(.desktop-app-menu.open) .desktop-dock{
  border-top-left-radius:8px;
  border-top-right-radius:8px;
  border-top-color:rgba(196,202,245,.18);
}
.desktop-app-menu-head{
  height:62px;
  padding:0 18px;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.desktop-app-menu-body{height:calc(100% - 62px);}
.desktop-launcher-search{
  height:38px;
  background:rgba(255,255,255,.94);
  border-color:rgba(218,225,255,.72);
  box-shadow:0 10px 30px rgba(6,12,42,.18);
}
@media(max-width:900px){
  body.desktop-home-active .module-window-shell{
    left:10px;
    top:10px;
    width:calc(100vw - 20px);
    height:calc(100vh - 112px);
  }
  .desktop-dock-wrap{padding:0 10px;}
  .desktop-dock{width:calc(100vw - 20px);}
  .desktop-app-menu{width:calc(100vw - 20px);bottom:87px;height:min(60vh,520px);}
}

/* Preserve the established compact visual design; OS behavior is handled in JS. */
body.desktop-home-active .module-window-shell{
  left:5vw;
  top:7.5vh;
  width:90vw;
  height:calc(85vh - 72px);
}
body.desktop-home-active .module-window-shell.is-maximized{
  left:0!important;
  top:0!important;
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  max-height:none!important;
  border-radius:0!important;
}
.desktop-dock-wrap{
  bottom:12px;
  z-index:1320;
  padding:0 16px;
}
.desktop-dock-wrap::after{
  content:none!important;
}
.desktop-dock{
  width:min(760px,calc(100vw - 32px));
  height:auto;
  padding:10px 14px;
  justify-content:center;
  gap:0;
  overflow:visible;
  border-radius:14px;
  background:
    radial-gradient(circle at 50% 0,rgba(255,150,117,.26),transparent 48%),
    linear-gradient(180deg,rgba(111,88,129,.76),rgba(58,41,90,.78)),
    rgba(42,36,82,.78);
}
.desktop-dock-item,
.desktop-dock #desktopDockApps,
.desktop-dock #desktopDockApps.active{
  flex:1 1 0!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:86px!important;
  grid-template-columns:none!important;
  grid-template-rows:38px 16px!important;
  justify-items:center!important;
  padding:0!important;
  gap:8px!important;
  border-color:transparent!important;
  background:none!important;
}
.desktop-dock-nexo{
  flex:0 0 160px!important;
  width:160px!important;
  min-width:160px!important;
  height:86px;
}
.desktop-dock-window-item{
  flex:1 1 0!important;
  width:auto!important;
  min-width:96px!important;
  max-width:none!important;
  border-color:rgba(201,211,255,.17)!important;
  background:rgba(255,255,255,.055)!important;
}
.desktop-dock-window-item .desktop-dock-label{
  font-size:11px;
  text-align:center;
}
.desktop-dock-icon{width:38px;height:38px;border-radius:11px;}
.desktop-dock-icon svg{width:30px;height:30px;}
.desktop-nexo-icon img{width:36px;height:36px;}
.desktop-app-menu{
  z-index:1310;
  bottom:118px;
  width:min(1600px,calc(100vw - 120px));
  height:clamp(210px,28vh,300px);
  border-radius:12px;
  background:
    linear-gradient(180deg,rgba(82,62,126,.72),rgba(30,39,86,.72)),
    rgba(33,36,77,.74);
  transform:translateX(-50%) translateY(calc(100% + 18px));
}
.desktop-app-menu.open{transform:translateX(-50%) translateY(0);}
.desktop-app-menu-head{height:54px;padding:0 16px;}
.desktop-app-menu-body{height:calc(100% - 54px);}
body:has(.desktop-app-menu.open) .desktop-dock{
  border-radius:14px;
  border-top-color:rgba(196,197,255,.24);
}
@media(max-width:720px){
  .desktop-dock{width:min(100%,420px);gap:6px;padding:8px;}
  .desktop-dock-item,
  .desktop-dock #desktopDockApps,
  .desktop-dock #desktopDockApps.active{width:78px!important;min-width:78px!important;height:68px!important;}
  .desktop-dock-nexo{width:78px!important;min-width:78px!important;flex-basis:78px!important;}
  .desktop-dock #desktopDockNexo::after,
  .desktop-dock-nexo::after{left:18px;right:18px;bottom:6px;}
  .desktop-app-menu{bottom:98px;width:calc(100vw - 32px);height:min(470px,calc(100vh - 116px));}
}

/* Module mode reveals the dock from the bottom-edge hover zone. */
body.desktop-home-active.desktop-has-module-windows .desktop-dock-wrap{
  pointer-events:auto;
  transform:translateY(0)!important;
  transition:transform 220ms cubic-bezier(.2,.8,.2,1);
}
body.desktop-home-active.desktop-has-module-windows .desktop-dock-wrap::before{
  content:none!important;
  display:none!important;
}
body.desktop-home-active.desktop-has-module-windows .desktop-dock-wrap::after{content:none!important;display:none!important;opacity:0!important;}
body.desktop-home-active.desktop-has-module-windows .desktop-dock{
  box-shadow:none!important;
}
body.desktop-home-active.desktop-has-module-windows .desktop-dock-wrap:hover,
body.desktop-home-active.desktop-has-module-windows .desktop-dock-wrap:focus-within,
body.desktop-home-active.desktop-has-module-windows:has(.desktop-app-menu.open) .desktop-dock-wrap{
  transform:translateY(0)!important;
}
body.desktop-home-active.desktop-has-module-windows .desktop-dock-wrap:hover::after,
body.desktop-home-active.desktop-has-module-windows:has(.desktop-app-menu.open) .desktop-dock-wrap::after{
  content:none!important;
  opacity:0!important;
}

/* The launcher overlaps the dock edge slightly so both read as one surface. */
.desktop-app-menu{
  bottom:110px;
  z-index:1450;
  box-shadow:
    0 -18px 46px rgba(4,8,28,.28),
    0 24px 56px rgba(4,8,28,.36),
    inset 0 1px 0 rgba(255,255,255,.14);
}
.desktop-app-menu.open{
  border-bottom-color:rgba(196,197,255,.3);
  overflow:visible;
}
.desktop-app-menu.open::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-22px;
  width:min(760px,calc(100% - 48px));
  height:24px;
  transform:translateX(-50%);
  pointer-events:none;
  border-left:1px solid rgba(196,197,255,.24);
  border-right:1px solid rgba(196,197,255,.24);
  background:
    linear-gradient(180deg,rgba(48,43,91,.96),rgba(70,51,101,.92));
  box-shadow:0 12px 28px rgba(4,8,28,.2);
}
body:has(.desktop-app-menu.open) .desktop-dock{
  border-top-color:rgba(210,216,255,.3);
  box-shadow:none;
}
body.desktop-home-active .desktop-dock-wrap{z-index:1460;}
body:not(.desktop-home-active)>.desktop-dock-wrap{display:none;}

/* Premium floating application switcher. Keeps launcher behavior and dock flow intact. */
.desktop-app-menu,
.desktop-app-menu.hr-view{
  left:50%;
  right:auto;
  bottom:108px;
  width:min(1320px,calc(100vw - 72px));
  height:clamp(430px,58vh,620px);
  min-height:0;
  z-index:5000;
  border:1px solid rgba(214,220,255,.34);
  border-radius:22px;
  background:
    radial-gradient(circle at 24% -18%,rgba(158,125,230,.24),transparent 38%),
    linear-gradient(145deg,rgba(73,61,119,.97),rgba(30,38,82,.975) 72%);
  box-shadow:
    0 34px 90px rgba(2,7,28,.46),
    0 12px 32px rgba(7,12,48,.3),
    inset 0 1px 0 rgba(255,255,255,.18);
  transform:translateX(-50%) translateY(22px) scale(.985);
  transform-origin:center bottom;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  overflow:hidden;
  transition:
    transform 230ms cubic-bezier(.2,.8,.2,1),
    opacity 220ms ease,
    visibility 0s linear 230ms;
}
.desktop-app-menu.open,
.desktop-app-menu.hr-view.open{
  transform:translateX(-50%) translateY(0) scale(1);
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition-delay:0s;
}
.desktop-app-menu .desktop-app-menu-head,
.desktop-app-menu.hr-view .desktop-app-menu-head{
  height:70px;
  padding:0 22px;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.desktop-app-menu.hr-view .desktop-app-menu-head>div{display:block;}
.desktop-app-menu .desktop-app-menu-title{font-size:18px;color:#fff;}
.desktop-app-menu .desktop-app-menu-sub{margin-top:5px;font-size:11px;color:rgba(232,237,255,.64);}
.desktop-app-menu .desktop-app-menu-close{
  width:36px;
  height:36px;
  border-radius:11px;
  color:#eaf0ff;
  background:rgba(255,255,255,.1);
  transition:background 220ms ease,transform 220ms ease,color 220ms ease;
}
.desktop-app-menu .desktop-app-menu-close:hover{
  color:#fff;
  background:rgba(255,255,255,.18);
  transform:scale(1.04);
}
.desktop-app-menu .desktop-app-menu-body,
.desktop-app-menu.hr-view .desktop-app-menu-body{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  height:calc(100% - 70px);
  padding:0;
  overflow:hidden;
}
.desktop-app-menu .desktop-category-list,
.desktop-app-menu.hr-view .desktop-category-list{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-height:0;
  padding:16px 13px 18px 16px;
  overflow:auto;
  border-right:1px solid rgba(255,255,255,.1);
}
.desktop-app-menu .desktop-category-item{
  flex:0 0 44px;
  width:100%;
  height:44px;
  padding:0 13px;
  gap:11px;
  border:1px solid transparent;
  border-radius:11px;
  background:transparent;
  color:rgba(238,242,255,.76);
  font-size:12px;
  font-weight:750;
  text-align:left;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}
.desktop-app-menu .desktop-category-item:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.08);
  transform:translateX(2px);
}
.desktop-app-menu .desktop-category-item.active{
  color:#fff;
  background:linear-gradient(100deg,rgba(139,103,231,.82),rgba(97,110,218,.48));
  border-color:rgba(203,196,255,.26);
  box-shadow:
    0 10px 24px rgba(21,20,75,.26),
    inset 3px 0 0 rgba(211,224,255,.9),
    inset 0 1px 0 rgba(255,255,255,.16);
}
.desktop-app-menu .desktop-category-icon{
  width:22px;
  height:22px;
  flex:0 0 22px;
  color:currentColor;
}
.desktop-app-menu .desktop-category-icon svg{width:20px;height:20px;}
.desktop-app-menu .desktop-app-content,
.desktop-app-menu.hr-view .desktop-app-content{
  min-width:0;
  padding:22px 24px 26px;
  overflow:auto;
}
.desktop-app-menu .desktop-feature-grid,
.desktop-app-menu .desktop-app-grid,
.desktop-app-menu.hr-view .desktop-app-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-content:start;
  gap:18px;
}
.desktop-app-menu .desktop-feature-grid:not(:empty){margin-bottom:18px;}
.desktop-app-menu .desktop-feature-card,
.desktop-app-menu .desktop-app-card,
.desktop-app-menu.hr-view .desktop-app-card{
  min-height:96px;
  padding:17px 18px;
  grid-template-columns:46px minmax(0,1fr) 16px;
  gap:13px;
  border:1px solid rgba(217,225,255,.16);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.055));
  color:#f4f6ff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  cursor:pointer;
  transition:
    transform 230ms cubic-bezier(.2,.8,.2,1),
    box-shadow 230ms ease,
    border-color 230ms ease,
    background 230ms ease;
}
.desktop-app-menu .desktop-feature-card:hover,
.desktop-app-menu .desktop-app-card:hover,
.desktop-app-menu.hr-view .desktop-app-card:hover{
  transform:translateY(-4px);
  border-color:rgba(188,201,255,.38);
  background:linear-gradient(145deg,rgba(153,137,230,.2),rgba(100,127,218,.12));
  box-shadow:
    0 17px 34px rgba(7,13,49,.28),
    0 0 24px rgba(131,117,229,.1),
    inset 0 1px 0 rgba(255,255,255,.14);
}
.desktop-app-menu .desktop-feature-card:active,
.desktop-app-menu .desktop-app-card:active{
  transform:translateY(-1px) scale(.992);
  transition-duration:90ms;
}
.desktop-app-menu .desktop-app-card-icon{
  width:46px;
  height:46px;
  border-radius:13px;
  color:#e8edff;
  background:linear-gradient(145deg,rgba(196,205,255,.2),rgba(128,112,215,.18));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
}
.desktop-app-menu .desktop-app-card-icon svg{width:25px;height:25px;}
.desktop-app-menu .desktop-app-card-copy{gap:5px;}
.desktop-app-menu .desktop-app-card-title{font-size:13px;line-height:1.25;color:#fff;}
.desktop-app-menu .desktop-app-card-desc{font-size:10px;line-height:1.45;color:rgba(230,235,255,.6);}
.desktop-app-menu .desktop-card-arrow{font-size:18px;color:rgba(218,226,255,.58);transition:transform 220ms ease,color 220ms ease;}
.desktop-app-menu .desktop-app-card:hover .desktop-card-arrow,
.desktop-app-menu .desktop-feature-card:hover .desktop-card-arrow{color:#fff;transform:translateX(3px);}

@media(max-width:1050px){
  .desktop-app-menu,
  .desktop-app-menu.hr-view{width:calc(100vw - 40px);}
  .desktop-app-menu .desktop-app-menu-body,
  .desktop-app-menu.hr-view .desktop-app-menu-body{grid-template-columns:205px minmax(0,1fr);}
  .desktop-app-menu .desktop-feature-grid,
  .desktop-app-menu .desktop-app-grid,
  .desktop-app-menu.hr-view .desktop-app-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px){
  .desktop-app-menu,
  .desktop-app-menu.hr-view{bottom:94px;width:calc(100vw - 24px);height:min(600px,calc(100vh - 112px));}
  .desktop-app-menu .desktop-app-menu-body,
  .desktop-app-menu.hr-view .desktop-app-menu-body{grid-template-columns:154px minmax(0,1fr);}
  .desktop-app-menu .desktop-category-item{padding:0 9px;font-size:10px;}
  .desktop-app-menu .desktop-app-content,
  .desktop-app-menu.hr-view .desktop-app-content{padding:16px;}
  .desktop-app-menu .desktop-feature-grid,
  .desktop-app-menu .desktop-app-grid,
  .desktop-app-menu.hr-view .desktop-app-grid{grid-template-columns:1fr;gap:12px;}
}
@media(prefers-reduced-motion:reduce){
  .desktop-app-menu,
  .desktop-app-menu *,
  .desktop-app-menu *::before,
  .desktop-app-menu *::after{transition-duration:1ms!important;}
}
