/* Keep header controls at the top when client search makes the title taller. */
html.zhb-gym-brand .topbar > .top-actions{align-self:start}
#zhbClientQuickSearch{position:relative;margin-top:12px;width:min(460px,100%);min-width:0;box-sizing:border-box;text-align:left}
#zhbClientQuickSearch[hidden],.zcs-popup[hidden],body.auth-locked #zhbClientQuickSearch,body.auth-locked .zcs-popup{display:none!important}
#zhbClientQuickSearch>label{display:block;font-size:12px;font-weight:650;color:#526c5d;margin-bottom:5px;line-height:1.35}
.zcs-title{min-width:0}
#zhbClientQuickSearch .zcs-input-wrap{display:flex;align-items:center;position:relative;min-width:0;border:1px solid #cddfd3;border-radius:12px;background:#fff;box-shadow:0 2px 8px #123d2905}
#zhbClientQuickSearch .zcs-input-wrap:focus-within{border-color:#168b5c;box-shadow:0 0 0 3px #14825318}
#zhbClientQuickSearch svg{width:18px;height:18px;flex:0 0 18px;margin-left:12px;stroke:#557d65;fill:none;stroke-width:1.8;stroke-linecap:round}
#zhbClientQuickSearch input{display:block;box-sizing:border-box;min-width:0;width:100%;height:44px;min-height:44px;border:0;border-radius:12px;outline:none;background:transparent;padding:10px 42px 10px 9px;font:inherit;font-size:14px;color:#173d2a;margin:0}
#zhbClientQuickSearch input::-webkit-search-cancel-button{display:none}
#zcsClear{position:absolute;right:0;top:0;min-height:44px;width:40px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#6d8174;font-size:22px;font-weight:400}
.zcs-popup{position:fixed;z-index:950;display:flex;flex-direction:column;box-sizing:border-box;min-width:0;border:1px solid #cfe0d5;border-radius:14px;background:#fff;color:#183c2b;box-shadow:0 14px 42px #163a2929;overflow:hidden;text-align:left;font-family:inherit}
.zcs-popup #zcsStatus{flex:0 0 auto;font-size:12px;color:#6a7d70;padding:11px 14px;margin:0;line-height:1.45}
#zcsResults{min-height:0;overflow:auto;overscroll-behavior:contain}
#zcsResults button{display:block;box-sizing:border-box;width:100%;border:0;border-top:1px solid #eaf0ec;border-radius:0;background:#fff;color:#1c3d2b;text-align:left;padding:12px 14px;min-height:76px;white-space:normal;box-shadow:none;font:inherit;cursor:pointer}
#zcsResults button:hover,#zcsResults button[aria-selected="true"]{background:#edf8f1}
.zcs-result-head{display:flex;align-items:start;justify-content:space-between;gap:10px}.zcs-result-head strong{min-width:0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.zcs-result-head small{flex:0 0 auto;font-size:10px;font-weight:600;background:#e2f1e8;color:#2c7751;padding:3px 6px;border-radius:7px;line-height:1.4}
.zcs-contact,.zcs-plan{display:block;font-size:12px;line-height:1.45;color:#637b6b;overflow-wrap:anywhere;margin-top:4px}.zcs-plan{font-size:11px;color:#7e8e83;margin-top:2px}
.zcs-popup .zcs-help{flex:0 0 auto;padding:9px 14px;margin:0;border-top:1px solid #e8efea;font-size:10px;line-height:1.4;color:#7b8b80;background:#fafcfb}
@media(max-width:700px){#zhbClientQuickSearch{width:100%;margin-top:10px}#zhbClientQuickSearch input{font-size:16px}.zcs-popup .zcs-help{display:none}#zcsResults button{padding:11px 12px}.zcs-result-head strong{font-size:14px}}

/* Keep client lookup alongside the role selector, rather than below the title. */
html.zhb-gym-brand .top-actions>#zhbClientQuickSearch{margin:0;width:280px;flex:0 1 280px;align-self:flex-end}
html.zhb-gym-brand .top-actions>#zhbClientQuickSearch input{height:42px;min-height:42px;font-size:13px}
html.zhb-gym-brand .top-actions>#zhbClientQuickSearch>label{font-size:11px;margin-bottom:5px}
html.zhb-gym-brand .top-actions>#zhbClientQuickSearch #zcsClear{min-height:42px}
@media(max-width:700px){html.zhb-gym-brand .top-actions>#zhbClientQuickSearch{grid-column:1/-1;width:100%;flex-basis:100%}html.zhb-gym-brand .top-actions>#zhbClientQuickSearch input{font-size:16px}}
