/* Company context and session tools live in a compact, shared navigation bar. */
html body:is(.cqz-company-lab,.cqz-isolated-demo) #cqz-lab-banner,
html body #cqz-lab-banner{display:none!important}
body #app > .main > header.pd-compact-header{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;min-height:44px!important;gap:8px!important;margin:0 0 10px!important;padding:2px 0!important;position:relative;z-index:30}
body #app header.pd-compact-header .header-left{display:flex!important;align-items:center!important;gap:8px!important;min-width:0;flex:1}
body #app header.pd-compact-header .header-left>div{display:contents}
body #app header.pd-compact-header .pd-company-name{order:-1;font-size:16px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:35vw}
body #app header.pd-compact-header #sidebar-toggle-btn{order:-2;flex:none;min-height:36px!important;padding:5px 9px!important;font-size:18px!important}
body #app header.pd-compact-header .actions{display:flex!important;align-items:center!important;gap:8px!important;width:auto!important;flex-wrap:nowrap!important;margin:0!important}
body #app header.pd-compact-header .connection-line[hidden]{display:none!important}
body #app header.pd-compact-header .connection-line:not([hidden]){font-size:11px!important;line-height:1.3;max-width:180px;color:#a3402d!important}
body #app .pd-page-heading{margin:0 0 12px}
body #app .pd-page-heading #title{font-size:22px;line-height:1.25;margin:0}
body #app .pd-page-heading #subtitle,
body #app header.pd-module-title-in-view + .pd-page-heading{display:none!important}
body #app .pd-account{position:relative;margin:0!important}
body #app .pd-account>summary{cursor:pointer;list-style:none;padding:7px 10px;border:1px solid #bfd0da;border-radius:7px;font-size:13px;line-height:20px;white-space:nowrap}
body #app .pd-account>summary::-webkit-details-marker{display:none}
body #app .pd-account>summary:focus-visible{outline:2px solid #0d9488;outline-offset:2px}
body #app .pd-account-panel{position:absolute;right:0;top:calc(100% + 7px);width:min(310px,calc(100vw - 32px));padding:16px;display:flex;flex-direction:column;align-items:stretch;gap:9px;border:1px solid #d6e1e7;border-radius:10px;background:var(--pa-surface,#fff);color:var(--pa-ink,#193a4c);box-shadow:0 12px 32px #17384c24;font-size:13px;line-height:1.4;text-align:left;overflow-wrap:anywhere;z-index:80}
body #app .pd-account:not([open])>.pd-account-panel{display:none!important}
body #app .pd-account-panel .user-email{display:block!important;font-size:12px!important;margin:0!important;max-width:100%;white-space:normal!important}
body #app .pd-account-panel .pd-appearance{display:flex!important;justify-content:space-between;gap:10px;margin:5px 0!important}
body #app .pd-account-panel .pd-appearance select{max-width:210px;font-size:13px!important;padding:5px!important}
body #app .pd-account-actions{display:flex;gap:8px;border-top:1px solid #d6e1e7;padding-top:10px}
body #app .pd-account-actions button{font-size:13px!important;padding:6px 10px!important;min-height:34px!important}
@media(max-width:600px){body #app header.pd-compact-header .actions>button{font-size:12px!important;padding:6px 8px!important;min-height:34px!important}body #app header.pd-compact-header .pd-company-name{font-size:15px;max-width:28vw}body #app header.pd-compact-header .connection-line:not([hidden]){position:absolute;top:100%;left:0;right:0;max-width:none;background:var(--pa-surface,#fff);padding:6px;border:1px solid #e4bd9b;border-radius:5px;z-index:40}body #app .pd-page-heading #title{font-size:20px}}
