/* PocketNexus V8.64.2 — desktop utility cog + centered search */
.headerUserActions{display:flex;align-items:center;gap:8px}
.headerUtilityMenu{position:relative;flex:0 0 auto}
.headerUtilityButton{list-style:none;display:grid!important;place-items:center;width:38px;height:38px;min-height:38px!important;padding:0!important;border:1px solid #2b3d50;border-radius:11px;background:#0d1620!important;color:#aebfd0!important;cursor:pointer;box-shadow:none!important;font-size:1rem!important;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}
.headerUtilityButton::-webkit-details-marker{display:none}
.headerUtilityButton:hover{background:#142334!important;color:#eef7ff!important;border-color:#3b5b79;transform:translateY(-1px)}
.headerUtilityMenu[open]>.headerUtilityButton,.headerUtilityMenu.active>.headerUtilityButton{background:#142334!important;color:#67c1ff!important;border-color:#41749c}
.headerUtilityDropdown{left:auto!important;right:0!important;top:calc(100% + 10px)!important;width:330px!important;max-height:min(590px,calc(100vh - 86px));overflow:auto;padding:10px!important;border:1px solid #2a4055!important;border-radius:16px!important;background:linear-gradient(180deg,#101a26 0%,#0b141e 100%)!important;box-shadow:0 22px 60px rgba(0,0,0,.46),0 0 0 1px rgba(255,255,255,.02)!important;scrollbar-width:thin;scrollbar-color:#29445f transparent}
.headerUtilityDropdown::before{content:"TOOLS & SETTINGS";display:block;padding:4px 8px 8px;color:#6f8599;font-size:.64rem;font-weight:900;letter-spacing:.12em}
.headerUtilityMenu[open]>.headerUtilityDropdown{display:grid!important;gap:4px}
.headerUtilityDropdown .navCategoryItem{position:relative;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%;min-height:54px;padding:9px 10px!important;border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;color:#dce8f4!important;box-shadow:none!important;text-align:left!important;transform:none!important;filter:none!important;transition:background .14s ease,border-color .14s ease,transform .14s ease!important}
.headerUtilityDropdown .navCategoryItem:hover{background:#142131!important;border-color:#263c52!important;transform:translateX(2px)!important}
.headerUtilityDropdown .navCategoryItem.active{background:linear-gradient(90deg,rgba(72,169,235,.14),rgba(72,169,235,.04))!important;border-color:#315c7b!important;box-shadow:inset 3px 0 0 #53b7f3!important}
.headerUtilityDropdown .navCategoryIcon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;border:1px solid #274159;background:#122536!important;color:#72c8ff!important;font-size:.88rem}
.headerUtilityDropdown .navCategoryItem strong{display:block;color:#eef6fd!important;font-size:.82rem;line-height:1.15;font-weight:850}
.headerUtilityDropdown .navCategoryItem small{display:block;margin-top:3px;color:#8195a8!important;font-size:.68rem;font-weight:500;line-height:1.3}
.headerUtilityDropdown .navCategoryItem:hover strong{color:#fff!important}
.headerUtilityDropdown .navCategoryItem:hover small{color:#9eb1c3!important}
.headerUtilityDropdown .navCategoryItem:nth-of-type(4){margin-top:5px}
.headerUtilityDropdown .navCategoryItem:nth-of-type(4)::before{content:"";position:absolute;left:8px;right:8px;top:-5px;height:1px;background:#223547}

/* Centered desktop search bar. Reuses the existing global search dialog + Ctrl K shortcut. */
.appHeaderBar{position:relative}
.globalSearchButton{display:flex!important;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);align-items:center;gap:8px;width:clamp(220px,16vw,280px);height:38px;min-height:38px!important;padding:0 10px!important;border:1px solid #2a3d50!important;border-radius:11px!important;background:#0c151f!important;color:#aebdcb!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;z-index:2;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important}
.globalSearchButton:hover{transform:translate(-50%,-50%)!important;background:#111d29!important;border-color:#3b6283!important;box-shadow:0 0 0 3px rgba(74,169,235,.08)!important;filter:none!important}
.globalSearchButton>span:first-child{display:grid;place-items:center;width:22px;height:22px;color:#66c4ff;font-size:.9rem}
.globalSearchButtonText{flex:1;text-align:left;color:#94a8ba;font-size:.76rem;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.globalSearchButton kbd{margin-left:auto;padding:3px 6px;border:1px solid #2d4155;border-radius:6px;background:#101a25;color:#70869a;font-size:.62rem;font-weight:800;white-space:nowrap}

/* v8.76.0 final header polish */
.appHeader{position:sticky;top:0;z-index:1200;border-bottom:1px solid rgba(61,85,108,.62);background:rgba(7,13,20,.93);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.appHeader .appHeaderBar{min-height:64px;max-width:1600px;margin:0 auto;padding:9px 16px;display:flex;align-items:center;gap:14px}
.appBrand{display:flex!important;align-items:center;gap:9px;flex:0 0 auto;min-height:44px!important;padding:5px 8px!important;border:0!important;background:transparent!important;color:#f7fbff!important;box-shadow:none!important;font-weight:900!important;letter-spacing:-.02em}
.appBrand:hover{background:rgba(91,174,255,.08)!important;transform:none!important}.appBrandLogo{width:34px!important;height:34px!important;border-radius:9px}.appBrandFallback{display:none;width:34px;height:34px;border-radius:9px;place-items:center;background:linear-gradient(145deg,#183553,#0d2032);border:1px solid #315778;color:#8fd3ff;font-size:.68rem;font-weight:950;letter-spacing:.05em}.appBrand.logoFailed .appBrandLogo{display:none}.appBrand.logoFailed .appBrandFallback{display:grid}
.headerNav{display:flex;align-items:center;min-width:0;flex:1}.categorizedNav{display:flex;align-items:center;gap:3px;min-width:0}.navPrimaryBtn,.navCategory>summary{min-height:40px!important;padding:8px 10px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:#b8c6d4!important;font-size:.77rem!important;font-weight:800!important;box-shadow:none!important;list-style:none;cursor:pointer;white-space:nowrap}.navCategory>summary::-webkit-details-marker{display:none}.navCategory>summary{display:flex;align-items:center;gap:5px}.navPrimaryBtn:hover,.navCategory>summary:hover{background:#111f2d!important;border-color:#28415a!important;color:#fff!important;transform:none!important}.navPrimaryBtn.active,.navCategory.active>summary{background:linear-gradient(180deg,rgba(62,162,239,.16),rgba(43,113,166,.08))!important;border-color:#356b94!important;color:#f8fcff!important;box-shadow:inset 0 -2px 0 #58b9ff!important}.navChevron{color:#6e8498;font-size:.72rem}.navCategory.active .navChevron{color:#79c9ff}
.navCategory{position:relative}.navCategoryMenu{z-index:1300!important;min-width:285px!important;max-width:min(360px,calc(100vw - 24px));padding:9px!important;border:1px solid #2b4055!important;border-radius:14px!important;background:linear-gradient(180deg,#101b27,#0a131d)!important;box-shadow:0 22px 60px rgba(0,0,0,.48)!important}.navCategoryItem{min-height:50px!important;border-radius:10px!important}.navCategoryItem:focus-visible,.navCategory>summary:focus-visible,.navPrimaryBtn:focus-visible,.appBrand:focus-visible,.globalSearchButton:focus-visible,.userChip:focus-visible,.headerUtilityButton:focus-visible{outline:2px solid #79c9ff!important;outline-offset:2px!important}
.headerTools{margin-left:auto!important;flex:0 0 auto;gap:7px!important}.globalSearchButton{width:clamp(220px,18vw,290px)!important;color:#dce8f3!important}.globalSearchButtonText{color:#b8c8d7!important}.globalSearchButton kbd{color:#8fa5b9!important}.userChip{min-height:40px!important;border-radius:11px!important;border:1px solid #2a4055!important;background:#0d1721!important;color:#f2f7fb!important;box-shadow:none!important}.userChip:hover{background:#132231!important;border-color:#3a6688!important;transform:none!important}.userChipAvatar{background:#17314a!important;color:#8fd3ff!important}.userChipText{font-size:.75rem!important;font-weight:800!important}.headerUtilityButton{width:40px!important;height:40px!important;min-height:40px!important}.headerUtilityDropdown{z-index:1350!important;max-width:calc(100vw - 20px)!important}.headerUtilityDropdown::before{display:none!important}.headerUtilityGroupLabel{padding:9px 9px 5px;margin-top:4px;color:#6f8599;font-size:.61rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase;border-top:1px solid #203244}.headerUtilityGroupLabel:first-child{border-top:0;margin-top:0;padding-top:4px}.headerUtilityDropdown .navCategoryItem:nth-of-type(4){margin-top:0}.headerUtilityDropdown .navCategoryItem:nth-of-type(4)::before{display:none}.headerSignIn{min-height:40px!important;padding:8px 13px!important;border-radius:10px!important;font-size:.76rem!important;font-weight:850!important}
@media(max-width:1320px){.appHeader .appHeaderBar{gap:9px;padding-inline:12px}.navPrimaryBtn,.navCategory>summary{padding-inline:8px!important}.globalSearchButton{width:210px!important}}
@media(max-width:1199px){.appHeader .appHeaderBar .headerTools #globalSearchButton.globalSearchButton{display:flex!important;position:static!important;transform:none!important;width:42px!important;height:40px!important;padding:0!important;justify-content:center!important}.appHeader .appHeaderBar .headerTools #globalSearchButton.globalSearchButton:hover{transform:none!important}.globalSearchButtonText,.globalSearchButton kbd{display:none!important}.globalSearchButton>span:first-child{width:auto!important;height:auto!important;font-size:1rem!important}.categorizedNav{gap:1px}.navPrimaryBtn,.navCategory>summary{padding-inline:7px!important;font-size:.73rem!important}}
@media(max-width:1024px){.appHeader .appHeaderBar{min-height:60px}.appBrand strong{font-size:.88rem}.userChipText{display:none}.userChip{width:40px!important;padding:0!important;justify-content:center!important}.headerNav{overflow:visible}}
@media(max-width:900px){.headerNav{display:none!important}.appHeader .appHeaderBar{justify-content:space-between}.headerTools{margin-left:auto!important}.appHeader .appHeaderBar .headerTools #globalSearchButton.globalSearchButton{display:flex!important}.headerUtilityMenu{display:none!important}.userChip{display:flex!important}.appBrand{min-width:0}.mobileBottomNav{z-index:1250!important}}
@media(max-width:540px){.appHeader .appHeaderBar{padding:7px 10px;min-height:56px}.appBrand strong{font-size:.82rem}.appBrandLogo,.appBrandFallback{width:32px!important;height:32px!important}.globalSearchButton,.userChip,.headerSignIn{min-height:42px!important;height:42px!important}.mobileBottomNav button{min-height:52px!important}.mobileBottomNav button span{font-size:1rem}.mobileBottomNav button small{font-size:.66rem}}
@media(max-width:390px){.appBrand strong{max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.appHeader .appHeaderBar{gap:6px}.headerTools{gap:5px!important}}
@media(prefers-reduced-motion:reduce){.appHeader *{transition:none!important;scroll-behavior:auto!important}}
