body.member-home{--navy:#183e49;--ink:#223b43;--bg:#f5f7f7;background:#f5f7f7!important}.member-home .app-topbar{display:none!important}.member-home .app-stage{padding-top:78px!important}.member-header{position:fixed;inset:0 0 auto;height:72px;background:#fff;border-bottom:1px solid #dfe7e5;display:flex;align-items:center;justify-content:space-between;padding:0 30px;z-index:70;gap:16px}.member-header>a{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:700;color:#173e49;text-decoration:none}.member-header img{width:34px;height:34px}.member-header nav{display:flex;gap:12px;align-items:center}.member-header nav a{padding:10px 15px;border-radius:6px;font-size:13px;text-decoration:none;color:#23434b}.member-header nav a.primary{background:#176b60;color:white}.member-menu{display:none;border:1px solid #d9e2df;background:white;border-radius:6px;min-height:44px;padding:8px 12px}.member-home .app-sidebar{top:72px!important;height:calc(100dvh - 72px)!important;padding-top:22px!important;background:#fff!important;border-right:1px solid #dfe7e5;z-index:65!important}.member-home .sidebar-brand{display:none!important}.member-home .sidebar-nav kbd{display:none}.member-home .app-main{padding-top:28px!important}.member-intro{margin:0 0 24px}.member-intro small{color:#337668;text-transform:uppercase;letter-spacing:1.5px;font-weight:650;font-size:11px}.member-intro h1{font-size:30px;margin:7px 0 10px;letter-spacing:-.7px;color:#173e49}.member-intro p{font-size:14px;color:#64777d;margin:0}.member-home .home-search-panel{padding:24px!important;min-height:0!important;box-shadow:none!important;border-color:#dfe7e5!important;border-radius:10px!important}.member-home .home-search-panel h1,.member-home .home-search-panel h2{font-size:20px!important;margin-bottom:20px!important}.member-home .home-search-panel textarea{min-height:95px!important;border-color:#ccd9d6!important;border-radius:7px!important}.member-home .home-search-options{margin-top:18px}.member-home .home-search-options button[type=submit]{background:#176b60!important}.member-home .home-reset{background:transparent!important;border-color:transparent!important;color:#61757b!important}.member-voice{margin:12px 0!important;border:0!important;font-size:13px}.member-voice summary{color:#54746d;cursor:pointer;min-height:32px;display:list-item!important}.member-voice[open]{padding:12px;border:1px solid #dfe7e5!important;border-radius:7px}.member-search-tabs{display:none}.member-home .home-headlines{box-shadow:none!important}.member-home .sidebar-foot{position:static!important}.member-home .app-backdrop{inset:72px 0 0!important;z-index:64!important}.member-drawer-close{display:none}.member-home .sidebar-nav a,.member-home .sidebar-nav button{font-size:13px!important}.member-home .sidebar-tools a{font-size:12px!important}.member-home .sidebar-nav [data-member-active]{background:#edf4f0;border-left:3px solid #176b60}
@media(min-width:981px){.member-home .app-stage{margin-left:240px!important}.member-home .app-sidebar{width:240px!important}.member-home .app-main{padding:30px 36px!important;max-width:1400px;margin:auto}.member-header>a{min-width:210px}}
@media(max-width:980px){.member-home .app-stage{margin-left:0!important}.member-menu{display:block}.member-header{height:64px;padding:0 16px}.member-header>a{font-size:15px;gap:5px}.member-header img{width:27px;height:27px}.member-header nav{gap:3px}.member-header nav a{font-size:12px;padding:8px}.member-header nav a.secondary-link{display:none}.member-home .app-sidebar{position:fixed!important;top:0!important;bottom:0!important;left:0!important;width:290px!important;height:100dvh!important;transform:translateX(-105%)!important;padding-top:70px!important;z-index:90!important;overflow-y:auto!important}.member-home .app-sidebar.open{transform:translateX(0)!important}.member-home .app-backdrop{inset:0!important;z-index:85!important}.member-drawer-close{display:block;position:absolute;top:16px;right:16px;min-height:40px;border:1px solid #d8e3df;background:white;border-radius:6px}.member-home:has(.app-sidebar.open) #tradeBotLauncher,.member-home:has(.app-sidebar.open) .trade-bot-launcher{display:none!important}.member-home .app-stage{padding-top:68px!important}.member-home .app-main{padding:24px 16px!important}.member-intro h1{font-size:25px}.member-intro{margin-bottom:18px}.member-search-tabs{display:flex;gap:5px;background:#e7eeeb;border-radius:8px;padding:4px;margin-bottom:16px}.member-search-tabs button{flex:1;min-height:44px;border:0;background:transparent;border-radius:5px;color:#36534a;font-weight:600}.member-search-tabs button[aria-selected=true]{background:white;box-shadow:0 1px 3px #0001;color:#155a4e}.member-home .home-search-grid{display:block!important}.member-home .home-search-panel{padding:19px!important;margin:0 0 20px!important}.member-home[data-search-mode=policy] .home-search-panel:has(#homeGoodsForm){display:none!important}.member-home[data-search-mode=goods] .home-search-panel:has(#homePolicyForm){display:none!important}.member-home .home-search-options{display:flex!important;flex-wrap:wrap}.member-home .home-search-options>label{flex:1 1 120px}.member-home .home-search-options button[type=submit]{flex:1 1 70%;min-height:44px}.member-home .home-search-options button[type=reset]{flex:0 0 60px}.member-home .home-search-panel textarea{min-height:85px!important}.member-home .home-search-panel .home-field-label{margin-bottom:7px}.member-home .portal-footer{margin-top:20px}}

/* Override legacy desktop offsets and header skin. */
.member-home .app-main{margin-left:0!important;width:auto!important}.member-home .member-header{background:#fff!important;border-top:0!important;box-shadow:none!important;padding-top:0!important;padding-bottom:0!important}.member-home .member-header::before,.member-home .member-header::after{display:none!important}
body.is-home.member-home .app-main{margin-left:0!important;margin-right:0!important;max-width:none!important;padding:30px 36px!important}body.is-home.member-home .home-search-grid{padding:0!important;margin-top:0!important}body.is-home.member-home .home-search-options{display:flex!important;flex-wrap:wrap;gap:10px}body.is-home.member-home .home-search-options>label{flex:1 1 140px}@media(max-width:980px){body.is-home.member-home .app-main{padding:24px 16px!important}}

/* Account controls remain in the active header; moving nodes preserves their handlers. */
.member-home .member-header nav[aria-label="Account access"]{display:flex;flex-wrap:wrap;gap:8px}
.member-home .member-header nav[aria-label="Account access"] button{position:static!important;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px!important;margin:0!important;border-radius:10px!important;font-size:13px!important;white-space:nowrap;color:var(--site-text,#183e49)!important;background:var(--site-surface,#fff)!important;border:1px solid var(--site-line,#ccd9d6)!important}
.member-home .member-header nav[aria-label="Account access"] button[hidden]{display:none!important}
.member-home .member-header nav[aria-label="Account access"] #portalSignupButton{background:var(--site-accent-bg,#e8f3ef)!important}
@media(max-width:600px){.member-home .member-header{height:116px!important;flex-wrap:wrap;align-content:center;gap:5px 10px;padding:6px 12px!important}.member-header>a{flex:1}.member-home .member-header nav[aria-label="Account access"]{width:100%;justify-content:flex-end}.member-home .member-header nav[aria-label="Account access"] button{flex:1;font-size:12px!important;padding:7px!important}.member-home .app-stage{padding-top:120px!important}}
@media(prefers-reduced-motion:reduce){.member-home *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

@media(max-width:900px){.member-home .member-header nav[aria-label="Account access"] .secondary-link{display:none}}

/* Keep filters and actions aligned across the two desktop search panels. */
@media(min-width:981px){
 body.is-home.member-home .home-search-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
 body.is-home.member-home #homePolicyForm .home-search-options>label{grid-column:1/-1}
 body.is-home.member-home .home-search-options>:is(label,button){min-width:0;width:100%;margin:0}
}
