/* Shared member header only; page content and member navigation remain separate. */
:root{--fc-member-topbar-height:72px}
#fc-member-topbar.fc-member-topbar{box-sizing:border-box;left:0!important;right:0!important;top:0!important;width:100%!important;overflow:visible!important;height:var(--fc-member-topbar-height)!important;min-height:var(--fc-member-topbar-height);background:#fff;border-bottom:1px solid #e2e9e3;color:#28473d;box-shadow:none}
#fc-member-topbar .fc-member-topbar__inner{display:flex!important;align-items:center;flex-wrap:nowrap!important;align-content:center;width:100%;max-width:none!important;height:100%!important;min-height:0!important;padding:0 26px!important;gap:22px!important;box-sizing:border-box}
#fc-member-topbar .fc-member-topbar__brand{display:inline-flex!important;align-items:center;flex:0 0 150px!important;width:150px!important;max-width:150px!important;margin:0!important;padding:0!important;color:#204b40;text-decoration:none}
#fc-member-topbar .fc-member-topbar__brand img,#fc-member-topbar .fc-member-topbar__brand svg{width:150px!important;max-width:100%;height:32px!important;object-fit:contain}
#fc-member-topbar .fc-member-topbar__nav{display:flex!important;align-items:center;justify-content:flex-start!important;flex:1 1 auto!important;min-width:0;width:auto!important;height:100%!important;margin:0!important;padding:0!important;gap:22px!important;overflow-x:auto;overflow-y:hidden;white-space:nowrap!important;scrollbar-width:none;grid-template-columns:none!important}
#fc-member-topbar .fc-member-topbar__nav::-webkit-scrollbar{display:none}#fc-member-topbar .fc-member-topbar__nav>a{display:inline-flex!important;align-items:center;justify-content:center;flex:none;min-height:44px;max-width:none;padding:0 2px!important;border-bottom:2px solid transparent;border-radius:0;color:#3c554c;font:inherit;font-size:13px!important;font-weight:600;line-height:1.4;white-space:nowrap!important;text-decoration:none;overflow-wrap:normal!important}
#fc-member-topbar .fc-member-topbar__nav>a[aria-current]{border-bottom-color:#245a46;color:#174d3d}
#fc-member-topbar .fc-member-topbar__actions{display:flex!important;align-items:center;justify-content:flex-end;flex:none!important;min-width:0;width:auto!important;margin:0 0 0 auto!important;gap:10px!important;font-size:12px!important;line-height:1.4}
#fc-member-topbar .fc-member-topbar__action{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;flex:none;min-height:44px;padding:4px 2px!important;color:#35564a;text-decoration:none;white-space:nowrap}
#fc-member-topbar .fc-member-topbar__action svg{display:block!important;flex:none;width:21px;height:21px}#fc-member-topbar .fc-member-topbar__label{display:inline!important;font:inherit!important}#fc-member-topbar .fc-member-topbar__count{font-size:11px;font-weight:600;color:#245a46;white-space:nowrap}#fc-member-topbar .fc-member-topbar__count:empty{display:none}#fc-member-topbar .fc-member-topbar__icon{width:36px}
#fc-member-topbar .fc-member-topbar__more{position:relative;flex:none}#fc-member-topbar .fc-member-topbar__more>summary{display:flex;align-items:center;gap:5px;min-height:44px;padding:4px 2px;cursor:pointer;list-style:none;white-space:nowrap;font-size:12px}#fc-member-topbar .fc-member-topbar__more>summary::-webkit-details-marker{display:none}
#fc-member-topbar .fc-member-topbar__utilities{position:absolute;z-index:150;top:calc(100% + 6px);right:0;display:grid;min-width:190px;padding:8px;border:1px solid #dce6df;border-radius:10px;background:#fff;box-shadow:0 14px 40px #163e291a}#fc-member-topbar .fc-member-topbar__utilities>a{display:flex!important;align-items:center;min-height:40px;padding:9px 12px!important;border:0!important;border-radius:6px;background:#fff!important;color:#35564a!important;font:inherit!important;font-size:13px!important;line-height:1.5;text-decoration:none;white-space:normal}#fc-member-topbar .fc-member-topbar__utilities>a:hover{background:#f0f6ef!important}
#fc-member-topbar a:focus-visible,#fc-member-topbar summary:focus-visible,#fc-member-topbar button:focus-visible{outline:3px solid #df9b4a;outline-offset:-3px}
body.ym-customer-workspace-page .ym-customer-app-shell{--fc-customer-header-height:var(--fc-member-topbar-height)}
@media(min-width:1101px){body.ym-customer-workspace-page .ym-customer-app-shell{grid-template-areas:'header header' 'sidebar content'}body.ym-customer-workspace-page .ym-customer-sidebar-brand{display:none!important}}
@media(max-width:1100px){:root{--fc-member-topbar-height:120px}#fc-member-topbar .fc-member-topbar__inner{flex-wrap:wrap!important;gap:4px 16px!important;padding:9px 20px!important}#fc-member-topbar .fc-member-topbar__nav{order:5;flex:0 0 100%!important;width:100%!important;height:44px!important;min-height:44px;gap:22px!important}#fc-member-topbar .fc-member-topbar__brand{flex-basis:138px!important;width:138px!important;max-width:138px!important}#fc-member-topbar .fc-member-topbar__brand img,#fc-member-topbar .fc-member-topbar__brand svg{width:138px!important;height:30px!important}#fc-member-topbar .fc-member-topbar__actions{gap:8px!important}body.ym-customer-workspace-page .ym-customer-sidebar{top:var(--fc-member-topbar-height)!important;height:calc(100dvh - var(--fc-member-topbar-height))!important}body.ym-customer-workspace-page .ym-customer-sidebar-brand{height:44px;min-height:44px;padding:2px 12px;justify-content:flex-end}body.ym-customer-workspace-page [data-customer-sidebar-brand]{display:none}}


#fc-member-topbar .fc-member-topbar__utilities{max-height:min(420px,calc(100dvh - var(--fc-member-topbar-height) - 12px));overflow-y:auto}#fc-member-topbar .fc-account-direct{gap:8px!important}#fc-member-topbar .fc-account-direct .fc-direct-logout{min-height:40px;white-space:nowrap}


/* Compact two-row mobile header; the actual logout control lives in utilities. */
#fc-member-topbar .fc-member-topbar__utilities>button{display:flex!important;align-items:center;gap:8px;min-height:40px;width:100%;padding:9px 12px!important;border:0!important;border-radius:6px;background:#fff!important;color:#35564a!important;font:inherit!important;font-size:13px!important;line-height:1.5;text-align:left;cursor:pointer}#fc-member-topbar .fc-member-topbar__utilities>button svg{display:block;width:18px;height:18px;flex:none}
@media(max-width:600px){:root{--fc-member-topbar-height:112px}#fc-member-topbar .fc-member-topbar__inner{padding:6px 12px!important;gap:4px!important}#fc-member-topbar .fc-member-topbar__brand{flex:0 0 100px!important;width:100px!important;max-width:100px!important}#fc-member-topbar .fc-member-topbar__brand img,#fc-member-topbar .fc-member-topbar__brand svg{width:100px!important;height:27px!important}#fc-member-topbar .fc-member-topbar__menu,#fc-member-topbar .fcat-member-menu-toggle{flex:none;width:32px;min-width:32px;min-height:44px;padding:0!important}#fc-member-topbar .fc-member-topbar__actions{flex:0 0 auto!important;width:auto!important;min-height:44px;gap:4px!important;margin-left:auto!important}#fc-member-topbar .fc-member-topbar__action{position:relative;width:34px;min-width:34px;min-height:44px;padding:0!important}#fc-member-topbar .fc-member-topbar__label{display:none!important}#fc-member-topbar .fc-member-topbar__count{position:absolute;top:0;right:-3px;display:inline-flex;align-items:center;justify-content:center;min-width:17px;min-height:17px;padding:1px 3px;border-radius:12px;background:#245a46;color:#fff;font-size:9px;line-height:1.2}#fc-member-topbar .fc-member-topbar__count:empty{display:none}#fc-member-topbar .fc-account-direct{gap:0!important;flex:none}#fc-member-topbar .fc-login-link{display:flex!important;align-items:center;justify-content:center;width:34px!important;min-width:34px;min-height:44px;padding:0!important;font-size:0!important}#fc-member-topbar .fc-login-link:before{content:'';display:block;width:21px;height:21px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='4' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M4 22v-3a8 8 0 0 1 16 0v3' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='4' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M4 22v-3a8 8 0 0 1 16 0v3' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center/contain no-repeat}#fc-member-topbar .fc-member-topbar__more>summary{min-width:34px;width:34px;min-height:44px;padding:0;font-size:0}#fc-member-topbar .fc-member-topbar__more>summary:after{content:'⋯';font-size:23px;line-height:1}#fc-member-topbar .fc-member-topbar__more>summary>span{display:none}#fc-member-topbar .fc-member-topbar__nav{flex:0 0 100%!important;order:5;width:100%!important;min-height:44px;height:44px!important;gap:18px!important}#fc-member-topbar .fc-member-topbar__nav>a{min-height:44px}}
