/* Shared public and staff menus; native details keep every menu keyboard usable. */
.hh-shared-nav{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.hh-shared-nav>a,.hh-nav-group>summary{display:inline-flex;align-items:center;min-height:44px;padding:9px 12px;color:#fff;text-decoration:none;font:inherit;font-size:14px;line-height:1.35;border-radius:8px;cursor:pointer}
.hh-nav-group{position:relative;color:#fff}
.hh-nav-group>summary{list-style:none;gap:8px}
.hh-nav-group>summary::-webkit-details-marker{display:none}
.hh-nav-group>summary::after{content:'▾';font-size:.8em}
.hh-shared-nav>a:hover,.hh-nav-group>summary:hover,.hh-nav-group[open]>summary{background:#172d50;color:#f2c55e}
.hh-nav-options{position:absolute;right:0;top:100%;z-index:80;display:grid;gap:3px;width:250px;max-width:calc(100vw - 36px);max-height:70vh;overflow:auto;padding:10px;background:#071636;border:1px solid #77849a;border-radius:10px;box-shadow:0 12px 30px #0004}
.hh-shared-nav .hh-nav-options a{display:block;min-height:44px;padding:11px 12px;color:#fff!important;text-decoration:none;border-radius:6px;white-space:normal}
.hh-nav-options a:hover{background:#172d50}
.hh-shared-nav :is(a,summary):focus-visible{outline:3px solid #f2c55e;outline-offset:2px}
.hh-staff-header{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#071636;color:#fff;padding:12px 22px}
.hh-staff-header>.head-in{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}
.hh-staff-header .hh-shared-nav{margin-left:auto}
.staff-main #dailyWork{margin-bottom:22px;scroll-margin-top:180px}
.staff-main #dailyWork h2{margin-bottom:8px}
.staff-main #dailyWork .grid{margin-top:18px}
.staff-main .task-item{padding:12px 0;border-bottom:1px solid #e5e9ef;overflow-wrap:anywhere}
.staff-main .task-item:last-child{border-bottom:0}
.staff-main .task-due{display:inline-block;margin-top:6px;padding:3px 8px;border-radius:5px;background:#eef3fa;font-size:13px}
.staff-main .task-due.overdue{background:#fff0ef;color:#912c2c}
.staff-main .crm-guide>details{margin:0}
.staff-main [id]{scroll-margin-top:180px}
@media(max-width:900px){.hh-nav-options{right:auto;left:0}.hh-staff-header,.hh-staff-header>.head-in{flex-wrap:wrap}.hh-staff-header .hh-shared-nav{margin-left:0;width:100%}}
@media(max-width:760px){.site-head .hh-shared-nav{align-items:stretch}.site-head .hh-shared-nav>a,.site-head .hh-nav-group>summary{width:100%}.site-head .hh-nav-group{width:100%}.site-head .hh-nav-options{position:static;box-shadow:none;width:100%;max-width:100%;margin:4px 0 10px}.hh-staff-header{position:relative;padding:12px 16px}.hh-staff-header .hh-shared-nav{gap:3px}.hh-staff-header .hh-shared-nav>a,.hh-staff-header .hh-nav-group>summary{padding:9px 8px;font-size:13px}.hh-staff-header .hh-nav-options{position:fixed;top:auto;left:18px;right:18px;width:auto;max-width:none;max-height:60vh}}
@media print{.hh-shared-nav{display:none!important}}
/* Override older per-page breakpoints with one shared customer-menu behaviour. */
.hh-public-header nav.hh-shared-nav[data-hh-navigation="public"]{display:flex!important;position:static!important;flex-direction:row;align-items:center;width:auto;max-height:none;overflow:visible;padding:0;margin-left:auto}
.hh-public-header .menu-btn{display:none!important}
.hh-staff-header nav.hh-shared-nav[data-hh-navigation="staff"]{display:flex!important;position:static!important;flex-direction:row;align-items:center;max-height:none;overflow:visible;padding:0}
@media(max-width:1100px){
 .hh-public-header .menu-btn{display:block!important}
 .hh-public-header nav.hh-shared-nav[data-hh-navigation="public"]{display:none!important;position:absolute!important;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;width:100%;max-height:calc(100vh - 150px);overflow-y:auto;padding:18px;margin:0;background:#071636}
 .hh-public-header nav.hh-shared-nav[data-hh-navigation="public"].open{display:flex!important}
 .hh-public-header .hh-nav-group{width:100%}
 .hh-public-header .hh-nav-group>summary{width:100%}
 .hh-public-header .hh-nav-options{position:static;width:100%;max-width:100%;box-shadow:none;margin:4px 0 8px}
}

.hh-public-header .menu-btn{min-width:44px;min-height:44px}
.hh-public-header .menu-btn:focus-visible{outline:3px solid #f2c55e;outline-offset:3px}

/* Keep the public menu clearly labelled on small screens. */
.hh-public-header .menu-btn{width:auto;padding-inline:12px;font-size:1rem}
.hh-public-header .hh-shared-nav a[href="/membership"]{background:#f2c55e;color:#071636;font-weight:700}
.hh-public-header .hh-shared-nav a[href="/membership"]:hover{background:#ffdc85;color:#071636}
