/* EPA V64: one-scoped header/search + own profile corrections. No listing or voice changes. */
@media(max-width:850px){
 .topbar {grid-template-columns:38px minmax(0,1fr) minmax(0,165px)!important;gap:7px!important;padding:8px 10px 9px!important;}
 .topbar>.brand {min-width:0!important;overflow:hidden!important;}
 .topbar>.brand .brand-name{font-size:24px!important;}
 .topbar>.top-actions{width:100%!important;max-width:165px!important;min-width:0!important;gap:5px!important;justify-content:flex-end!important;overflow:visible!important;}
 .topbar>.top-actions>.circle-btn{flex:0 0 34px!important;width:34px!important;height:34px!important;}
 .topbar>.top-actions>.user-account{width:124px!important;max-width:124px!important;min-width:0!important;flex:0 1 124px!important;gap:5px!important;overflow:hidden!important;}
 .topbar>.top-actions>.user-account .avatar,.topbar>.top-actions>.user-account .avatar-placeholder{flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;min-height:34px!important;max-height:34px!important;}
 .topbar>.top-actions>.user-account .user-text{display:block!important;width:calc(100% - 39px)!important;max-width:85px!important;min-width:0!important;font-size:11px!important;line-height:1.18!important;font-weight:750!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
 .topbar>.top-actions>.user-account .user-text small{display:block!important;font-size:9px!important;line-height:1.18!important;margin-top:2px!important;max-width:85px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-weight:500!important;}
 .topbar>.searchbar {height:46px!important;min-height:46px!important;display:flex!important;align-items:center!important;gap:4px!important;overflow:visible!important;padding:3px 4px 3px 0!important;background:#fff!important;border:1px solid #dce6ee!important;border-radius:24px!important;box-shadow:0 2px 8px #062e4a0b!important;box-sizing:border-box!important;}
 .topbar>.searchbar #globalSearch {flex:1 1 auto!important;width:0!important;min-width:0!important;height:38px!important;max-height:38px!important;border:0!important;background:transparent!important;padding:0 8px 0 15px!important;outline:none!important;box-shadow:none!important;font-size:12px!important;color:#173950!important;}
 .topbar>.searchbar #globalSearch::placeholder {color:#81909d!important;opacity:1;}
 .topbar>.searchbar .epa-v64-search-submit {position:static!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;flex:0 0 56px!important;width:56px!important;min-width:56px!important;max-width:56px!important;height:34px!important;min-height:34px!important;border-radius:17px!important;border:0!important;background:#e6f1fb!important;color:#12476d!important;font-weight:800!important;font-size:11px!important;line-height:1!important;white-space:nowrap!important;padding:0!important;box-shadow:none!important;}
 .topbar>.searchbar .epa-v64-search-submit span {font-size:19px!important;}
 .topbar>.searchbar .mic {position:static!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 37px!important;width:37px!important;height:37px!important;min-width:37px!important;max-width:37px!important;min-height:37px!important;max-height:37px!important;padding:0!important;margin:0!important;}
 #epaQuickSearchResults{position:absolute!important;top:calc(100% + 6px)!important;left:0!important;right:0!important;transform:none!important;width:100%!important;max-width:100%!important;max-height:min(40vh,285px)!important;overflow-y:auto!important;box-sizing:border-box!important;background:#fff!important;border-radius:14px!important;padding:7px 9px 9px!important;box-shadow:0 12px 24px #002e4930!important;z-index:1000!important;}
 #epaQuickSearchResults[hidden] {display:none!important;}
 #epaQuickSearchResults .epa-quick-title {font-size:11px!important;font-weight:800!important;margin:5px 4px 2px!important;color:#1d4964!important;padding:3px!important;}
 #epaQuickSearchResults .epa-quick-title small{font-weight:500!important;color:#798c9d!important;}
 #epaQuickSearchResults .epa-quick-result {padding:7px 10px!important;min-height:40px!important;border:0!important;border-radius:9px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;text-align:left!important;font-size:12px!important;}
 #epaQuickSearchResults .epa-quick-advanced{border:0!important;border-radius:9px!important;background:#edf3f9!important;color:#174b70!important;font-weight:700!important;font-size:11px!important;min-height:36px!important;margin-top:5px!important;padding:8px 10px!important;width:100%!important;}
 #epaQuickSearchResults .epa-quick-empty {font-size:12px!important;color:#718296!important;margin:7px!important;}
 #epaQuickSearchResults .epa-v64-search-intro{padding:5px 7px;font-size:11px;color:#546d81;font-weight:750;}
 #epaQuickSearchResults .epa-v64-search-chips {display:flex;flex-wrap:wrap;gap:6px;padding:5px 4px;}
 #epaQuickSearchResults .epa-v64-search-chips button {font-size:11px;font-weight:650;border:1px solid #dbe6ee;background:#fff;color:#255571;border-radius:20px;padding:7px 9px;min-height:30px;cursor:pointer;}
}
@media(max-width:359px){
 .topbar{grid-template-columns:38px minmax(0,1fr) 80px!important;}
 .topbar>.top-actions{max-width:80px!important;}
 .topbar>.top-actions>.user-account{width:36px!important;max-width:36px!important;flex:0 0 36px!important;}
 .topbar>.top-actions>.user-account .user-text{display:none!important;}
 .topbar>.searchbar #globalSearch{padding-left:11px!important;}
}
/* My profile photo is a fixed avatar, never a full-width image. */
#epaWorkspace .epa-new-profile .epa-new-main{padding:0 15px 18px!important;min-width:0!important;}
#epaWorkspace .epa-new-profile .epa-new-cover{min-height:120px!important;height:135px!important;}
#epaWorkspace .epa-new-profile .epa-new-person{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;grid-template-areas:'avatar info' 'photo crop'!important;gap:8px 10px!important;align-items:center!important;margin-top:-33px!important;min-width:0!important;}
#epaWorkspace .epa-new-profile .epa-new-person .epa-profile-avatar-upload{grid-area:avatar!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;position:relative!important;flex:none!important;width:88px!important;height:88px!important;max-width:88px!important;max-height:88px!important;min-width:88px!important;min-height:88px!important;padding:0!important;border-radius:50%!important;overflow:hidden!important;border:4px solid #fff!important;box-shadow:0 0 0 2px #12a56d!important;z-index:2!important;margin:0!important;}
#epaWorkspace .epa-new-profile .epa-new-person .epa-profile-avatar-upload .epa-profile-photo{box-sizing:border-box!important;display:block!important;position:static!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:50%!important;margin:0!important;padding:0!important;transform:none!important;}
#epaWorkspace .epa-new-profile .epa-new-person>div:last-child{grid-area:info!important;min-width:0!important;padding:35px 0 0!important;align-self:center!important;}
#epaWorkspace .epa-new-profile .epa-new-person h2{font-size:clamp(17px,4.4vw,23px)!important;line-height:1.22!important;overflow-wrap:break-word!important;}
#epaWorkspace .epa-new-profile .epa-new-person p{font-size:12px!important;line-height:1.35!important;}
#epaWorkspace .epa-new-profile .epa-new-person .epa-profile-change-photo-separate{position:static!important;z-index:1!important;order:initial!important;flex:none!important;width:100%!important;max-width:100%!important;min-width:0!important;height:36px!important;min-height:36px!important;margin:0!important;padding:6px 5px!important;font-size:11px!important;line-height:1.3!important;border-radius:9px!important;white-space:normal!important;}
#epaWorkspace .epa-new-profile .epa-new-person .epa-profile-change-photo-separate:not(.epa-v57-crop-current){grid-area:photo!important;}
#epaWorkspace .epa-new-profile .epa-new-person .epa-v57-crop-current{grid-area:crop!important;}
@media(min-width:851px){#epaWorkspace .epa-new-profile .epa-new-person{grid-template-columns:105px minmax(0,1fr)!important;}#epaWorkspace .epa-new-profile .epa-new-person .epa-profile-avatar-upload{width:104px!important;height:104px!important;max-width:104px!important;max-height:104px!important;min-width:104px!important;min-height:104px!important;}}
.epa-finance-stack .epa-v64-paycheck{border:1px solid #d9e7ef;}
.epa-finance-stack .epa-v64-pay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0;}
.epa-finance-stack .epa-v64-pay-grid>div{font-size:12px;font-weight:700;border-radius:9px;background:#f0f6fa;color:#1c506d;padding:9px;}
.epa-finance-stack .epa-v64-paycheck summary{cursor:pointer;font-size:12px;color:#1a496c;font-weight:700;}
.epa-finance-stack .epa-v64-paycheck li{margin:7px 0;font-size:12px;}
