#yz-portal .yz-ws-bar{position:sticky;top:0;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;margin:0 0 24px;background:#fff;border:1px solid #d5e1e1;border-radius:12px;box-shadow:0 5px 20px #102b2c0c}
#yz-portal .yz-ws-bar>span{display:grid;gap:3px;min-width:0}#yz-portal .yz-ws-bar small{font-size:10px;letter-spacing:.1em;color:#147f82}#yz-portal .yz-ws-bar strong{font-size:14px;overflow-wrap:anywhere}#yz-portal .yz-ws-bar>button{flex-shrink:0;font-size:13px}
#yz-portal .yz-ws-picker{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid #d5e1e1;border-radius:12px;box-shadow:0 16px 48px #102b2c33;padding:18px;width:min(360px,100%);max-height:65dvh;overflow:auto;color:#171919}
#yz-portal .yz-ws-picker label{display:grid;gap:8px;font-size:13px}#yz-portal .yz-ws-picker input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #c4d5d5;border-radius:9px;font:inherit;font-size:16px}#yz-portal [data-ws-results]{display:grid;gap:5px;margin-top:12px}#yz-portal [data-ws-results] button{background:#fff;border:0;border-radius:8px;min-height:44px;padding:10px;text-align:left;font:inherit;color:#171919;cursor:pointer}#yz-portal [data-ws-results] button:hover,#yz-portal [data-ws-results] button[aria-current=true]{background:#e4f5f5}
#yz-portal .yz-ws-client h1{font-size:clamp(30px,4vw,46px);line-height:1.15;margin:10px 0}#yz-portal .yz-ws-client p{color:var(--yz-muted);margin:0 0 22px}
#yz-portal .yz-ws-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 26px}#yz-portal .yz-ws-quick .yz-action{justify-content:flex-start;min-width:0;min-height:62px;padding:12px;font-size:13px;text-align:left;line-height:1.4;white-space:normal}#yz-portal .yz-ws-quick svg{flex-shrink:0;width:20px;height:20px}
/* Customer sections use the same controls and colours as the rest of the app. */
#yz-portal .yz-ws-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:8px;margin:0 0 24px;background:#eaf3f3;border:1px solid #d5e1e1;border-radius:14px}
#yz-portal .yz-ws-tabs button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:56px;padding:12px 10px;font:inherit;font-size:14px;font-weight:600;line-height:1.35;color:var(--yz-ink);background:#fff;border:1px solid #cddddd;border-radius:10px;box-shadow:0 2px 5px #102b2c08;cursor:pointer;transition:background .16s,border-color .16s,box-shadow .16s}
#yz-portal .yz-ws-tabs button svg{width:20px;height:20px;flex-shrink:0}
#yz-portal .yz-ws-tabs button[aria-pressed=true]{background:var(--yz-soft);border-color:var(--yz-soft);color:#fff;box-shadow:0 4px 12px #147f8226}
#yz-portal .yz-ws-tabs button:focus-visible{outline:3px solid var(--yz-aqua);outline-offset:3px}
#yz-portal .yz-ws-client h1{scroll-margin-top:100px}
#yz-portal .yz-ws-bar[aria-busy=true] [data-ws-results]{pointer-events:none;opacity:.6}
@media(hover:hover){#yz-portal .yz-ws-tabs button:not([aria-pressed=true]):hover{background:#f1fafa;border-color:var(--yz-soft)}}
@media(max-width:600px){#yz-portal .yz-ws-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:7px}#yz-portal .yz-ws-tabs button{justify-content:flex-start;min-height:54px;padding:12px;font-size:13px}}
@media(prefers-reduced-motion:reduce){#yz-portal .yz-ws-tabs button{transition:none}}

#yz-portal .yz-ws-overview{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}#yz-portal .yz-ws-focus{display:grid;margin-top:18px;gap:10px}#yz-portal .yz-ws-focus button{font:inherit;color:#171919;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:15px;border:0;border-radius:10px;background:#edf7f7;padding:16px;text-align:left;min-height:58px}#yz-portal .yz-ws-focus strong{font-size:20px}#yz-portal .yz-ws-focus span{font-size:12px;color:#456768}
#yz-portal .yz-ws-preview{background:#e4f5f5;padding:14px 18px;border-radius:10px;font-size:13px;color:#164b4d;line-height:1.6;margin-bottom:22px}
#yz-portal .yz-notification-target{outline:3px solid #59bfc1;outline-offset:4px;scroll-margin-top:110px}#yz-portal .yz-notification-list{border-left:4px solid #59bfc1}#yz-portal .yz-notification-empty{background:#e4f5f5;padding:16px;border-radius:10px;color:#164b4d}
#yz-portal.yz-coach-workspace .yz-nav{align-content:start}#yz-portal.yz-coach-workspace .yz-nav button:is([data-page],[data-hrv-tests],[data-live-pulse-nav]){min-height:48px}#yz-portal.yz-coach-workspace .yz-main{padding-top:20px}
/* One aligned brand block and one view switch on desktop. */
@media(min-width:851px){
 #yz-portal .yz-header,#yz-portal.yz-coach-workspace .yz-header{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:36px;row-gap:14px;padding:26px 32px;align-items:center}
 #yz-portal .yz-header-top,#yz-portal.yz-coach-workspace .yz-header-top{display:contents}
 #yz-portal .yz-header .yz-logo-pair,#yz-portal.yz-coach-workspace .yz-header .yz-logo-pair{grid-column:1;grid-row:1;width:420px;max-width:100%;margin:0;gap:30px;align-items:center;justify-content:flex-start}
 #yz-portal .yz-header .yz-logo-original{display:block;object-fit:contain;max-height:82px}
 #yz-portal .yz-header .yz-brand,#yz-portal.yz-coach-workspace .yz-header .yz-brand{grid-column:1;grid-row:2;margin:0;width:auto;text-align:left;min-width:0}
 #yz-portal .yz-header .yz-brand strong,#yz-portal.yz-coach-workspace .yz-header .yz-brand strong{font-size:20px;line-height:1.4}
 #yz-portal .yz-header .yz-brand small,#yz-portal.yz-coach-workspace .yz-header .yz-brand small{font-size:13px;line-height:1.6;margin-top:5px;word-spacing:.45em}
 #yz-portal .yz-header .yz-switch{grid-column:2;grid-row:1 / 3;align-self:center;justify-self:end;flex-wrap:nowrap;margin:0;padding:5px;border:1px solid #ffffff26;box-shadow:0 8px 25px #0002}
 #yz-portal .yz-header .yz-switch button{min-height:44px;padding:11px 16px;font-size:13px!important;white-space:nowrap}
}
@media(max-width:850px){#yz-portal .yz-ws-quick{grid-template-columns:repeat(2,minmax(0,1fr))}#yz-portal .yz-ws-overview{grid-template-columns:1fr}#yz-portal.yz-coach-workspace .yz-header{padding:18px 16px}#yz-portal.yz-coach-workspace .yz-header .yz-logo-pair{max-width:280px}#yz-portal.yz-coach-workspace .yz-header .yz-brand{display:none}#yz-portal.yz-coach-workspace .yz-nav{grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 14px;gap:5px}#yz-portal.yz-coach-workspace .yz-nav button:is([data-page],[data-hrv-tests],[data-live-pulse-nav]){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:66px;padding:10px 5px;text-align:center;font-size:12px}}
@media(max-width:400px){#yz-portal .yz-ws-bar{padding:12px;gap:9px}#yz-portal .yz-ws-bar>button{padding:10px;font-size:12px}#yz-portal .yz-ws-quick .yz-action{padding:10px;font-size:12px}#yz-portal .yz-ws-tabs button{font-size:13px}}

#yz-portal .yz-announcement:not(:empty){position:fixed;left:auto;right:20px;bottom:20px;width:auto;height:auto;max-width:min(480px,calc(100vw - 40px));clip-path:none;overflow:visible;background:#147f82;color:#fff;padding:18px 48px 18px 20px;border-radius:12px;box-shadow:0 12px 35px #102b2c44;z-index:9999;font-size:14px;line-height:1.55;box-sizing:border-box;overflow-wrap:anywhere}
#yz-portal .yz-announcement [data-ws-feedback-close]{position:absolute;right:6px;top:6px;background:transparent;color:#fff;border:0;font-size:24px;width:36px;height:36px;cursor:pointer}
@media(max-width:500px){#yz-portal .yz-announcement:not(:empty){left:12px;right:12px;bottom:12px;max-width:none;padding:16px 48px 16px 16px}}

#yz-portal .yz-ws-community-icon{width:24px;height:24px;object-fit:contain;flex-shrink:0}

/* Grouped coach actions: compact rows with one stable type scale. */
#yz-portal .yz-ws-nav-hint{font-size:12px;color:var(--yz-muted);margin:0 0 10px}
#yz-portal .yz-ws-action-drawer{margin:0 0 24px;border:1px solid #cedfdf;border-radius:14px;background:#fff;overflow:hidden}
#yz-portal .yz-ws-action-drawer>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:17px 20px;background:#edf7f7;color:var(--yz-ink)}
#yz-portal .yz-ws-action-drawer>summary::-webkit-details-marker{display:none}
#yz-portal .yz-ws-drawer-title{font-size:16px;font-weight:600;line-height:1.4}
#yz-portal .yz-ws-drawer-title small{display:block;font-size:12px;font-weight:400;color:#5b7172;margin-top:3px}
#yz-portal .yz-ws-drawer-chevron{display:flex;color:var(--yz-soft)}
#yz-portal .yz-ws-drawer-chevron svg{width:20px;height:20px;transform:rotate(90deg);transition:transform .15s}
#yz-portal .yz-ws-action-drawer[open] .yz-ws-drawer-chevron svg{transform:rotate(270deg)}
#yz-portal .yz-ws-action-panel{padding:16px 20px 20px;border-top:1px solid #dce8e8}
#yz-portal .yz-ws-action-panel p,#yz-portal .yz-ws-global p{font-size:12px;line-height:1.55;color:var(--yz-muted);margin:0}
#yz-portal .yz-ws-action-panel>header{padding-bottom:16px}
#yz-portal .yz-ws-action-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}
#yz-portal .yz-ws-action-panel h3{font:inherit;font-size:11px;letter-spacing:.07em;text-transform:uppercase;font-weight:600;color:var(--yz-soft);margin:0 0 10px}
#yz-portal .yz-ws-action-panel .yz-ws-quick{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0;border:1px solid #e0e7e7;border-radius:11px;overflow:hidden}
#yz-portal .yz-ws-action-panel .yz-action,#yz-portal .yz-ws-global .yz-action{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-width:0;min-height:68px;margin:0;padding:12px;background:#fff;border:0;border-radius:0;box-shadow:none;text-align:left;white-space:normal;font:inherit;color:var(--yz-ink);box-sizing:border-box}
#yz-portal .yz-ws-quick .yz-action+.yz-action{border-top:1px solid #e6ecec}
#yz-portal .yz-ws-action-panel .yz-action>span:not(.yz-ws-action-arrow),#yz-portal .yz-ws-global .yz-action>span:not(.yz-ws-action-arrow){display:grid;gap:3px;min-width:0;flex:1}
#yz-portal .yz-ws-action-panel .yz-action strong,#yz-portal .yz-ws-global .yz-action strong{font-size:14px;font-weight:600;line-height:1.35}
#yz-portal .yz-ws-action-panel .yz-action small,#yz-portal .yz-ws-global .yz-action small{font-size:12px;line-height:1.4;color:#637576}
#yz-portal .yz-ws-action-panel .yz-action>svg,#yz-portal .yz-ws-global .yz-action>svg{width:34px;height:34px;padding:7px;box-sizing:border-box;border-radius:9px;background:#edf7f7;color:var(--yz-soft);flex-shrink:0}
#yz-portal .yz-ws-action-panel .yz-ws-action-arrow,#yz-portal .yz-ws-global .yz-ws-action-arrow{display:flex;flex:0 0 auto;color:#8a9c9d}
#yz-portal .yz-ws-action-arrow svg{width:16px;height:16px}
#yz-portal .yz-ws-notify{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;margin-top:20px;padding-top:18px;border-top:1px solid #e0e7e7}
#yz-portal .yz-ws-notify h3{margin-bottom:5px}
#yz-portal .yz-ws-notify .yz-action{background:#edf7f7;border:1px solid #d3e6e6;border-radius:11px}
#yz-portal .yz-ws-global{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:18px;background:#f0f2f2;border:1px solid #d9dfdf;border-radius:14px;padding:20px;margin:26px 0 16px}
#yz-portal .yz-ws-global h2{font-size:18px;margin:0 0 6px}
#yz-portal .yz-ws-global>div>small{display:block;font-size:10px;letter-spacing:.1em;color:#5b7172;margin-bottom:8px}
#yz-portal .yz-ws-global .yz-action{border:1px solid #dce5e5;border-radius:11px}
#yz-portal .yz-ws-action-drawer>summary:focus-visible,#yz-portal .yz-ws-action-panel .yz-action:focus-visible,#yz-portal .yz-ws-global .yz-action:focus-visible{outline:3px solid var(--yz-aqua);outline-offset:-3px}
#yz-portal .yz-ws-dialog-scope{background:#edf7f7;border-left:3px solid var(--yz-aqua);padding:12px 14px;margin:12px 0 18px;font-size:13px;line-height:1.5;color:#265d5e}
#yz-portal .yz-ws-focus button{background:#fff;border:1px solid #dce7e7;justify-content:flex-start;padding:12px 14px;gap:16px;min-height:62px}
#yz-portal .yz-ws-focus strong{font-size:20px;min-width:48px;color:var(--yz-soft)}
#yz-portal .yz-ws-focus span{font-size:13px;line-height:1.45}
@media(max-width:700px){#yz-portal .yz-ws-action-columns,#yz-portal .yz-ws-notify,#yz-portal .yz-ws-global{grid-template-columns:minmax(0,1fr);gap:18px}#yz-portal .yz-ws-action-panel{padding:14px}#yz-portal .yz-ws-action-drawer>summary{padding:15px}#yz-portal .yz-ws-notify{gap:10px}#yz-portal .yz-ws-client p{font-size:13px;line-height:1.6}}
@media(hover:hover){#yz-portal .yz-ws-action-panel .yz-action:hover,#yz-portal .yz-ws-global .yz-action:hover{background:#f1f9f9}}
@media(prefers-reduced-motion:reduce){#yz-portal .yz-ws-drawer-chevron svg{transition:none}}

.yz-evaluation-dialog{box-sizing:border-box;width:min(1200px,calc(100vw - 24px));max-width:1200px;height:calc(100dvh - 24px);max-height:none;margin:auto;padding:0;border:1px solid #c7dddd;border-radius:20px;background:#f2f7f7;color:#111819;overflow:hidden}.yz-evaluation-dialog::backdrop{background:#000b}.yz-evaluation-dialog[open]{display:flex;flex-direction:column}.yz-evaluation-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;background:#111819;color:#fff}.yz-evaluation-dialog h2{margin:2px 0 0;font-size:18px}.yz-evaluation-dialog small{font-size:10px;letter-spacing:.15em;color:#59bfc1}.yz-evaluation-dialog .yz-action{min-height:44px;padding:8px 14px;border:1px solid #ffffff50;border-radius:10px;background:transparent;color:#fff;font:inherit;cursor:pointer}.yz-evaluation-dialog iframe{display:block;width:100%;flex:1;min-height:0;border:0}.yz-evaluations-entry{margin:0 0 20px!important;padding:18px!important}.yz-evaluations-entry h2{font-size:20px!important}.yz-evaluations-entry p{font-size:13px!important;margin-bottom:0!important}@media(max-width:600px){.yz-evaluation-dialog{width:100vw;height:100dvh;border:0;border-radius:0}.yz-evaluation-dialog>header{padding:12px}.yz-evaluation-dialog h2{font-size:16px}}

/* Keep each icon and its label together at tablet widths. */
#yz-portal .yz-ws-tabs button{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;min-width:0;min-height:64px;font:600 14px/1.45 Manrope,Arial,sans-serif;box-shadow:none}
#yz-portal .yz-ws-tabs button>svg{display:block;position:static;inset:auto;transform:none;margin:0;width:24px;height:24px;flex:0 0 24px}
#yz-portal .yz-ws-tabs button>span{display:block;min-width:0;max-width:100%;white-space:normal;overflow-wrap:normal;text-align:left;line-height:1.45}
#yz-portal .yz-ws-tabs button[aria-pressed=true]{background:#59bfc1;border-color:#59bfc1;color:#111;box-shadow:none}
@media(min-width:601px) and (max-width:1194px){#yz-portal .yz-ws-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}#yz-portal .yz-ws-tabs button{justify-content:flex-start}}
@media(max-width:600px){#yz-portal .yz-ws-tabs button{padding:12px;gap:10px;font-size:13px;justify-content:flex-start}}

#yz-portal .yz-ws-tabs button{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;min-width:0;min-height:64px;font:600 14px/1.45 Manrope,Arial,sans-serif;box-shadow:none}
#yz-portal .yz-ws-tabs button>svg{display:block;position:static;inset:auto;transform:none;margin:0;width:24px;height:24px;flex:0 0 24px}
#yz-portal .yz-ws-tabs button>span{display:block;min-width:0;max-width:100%;white-space:normal;overflow-wrap:normal;text-align:left;line-height:1.45}
#yz-portal .yz-ws-tabs button[aria-pressed=true]{background:#59bfc1;border-color:#59bfc1;color:#111;box-shadow:none}
@media(min-width:601px) and (max-width:1194px){#yz-portal .yz-ws-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}#yz-portal .yz-ws-tabs button{justify-content:flex-start}}
@media(max-width:600px){#yz-portal .yz-ws-tabs button{padding:12px;gap:10px;font-size:13px;justify-content:flex-start}}

/* Client lookup is a database search, never a contact/autofill field. */
[data-ws-search-form]{margin:0}
[data-ws-search]::-webkit-contacts-auto-fill-button{visibility:hidden!important;display:none!important;pointer-events:none!important}
