/* Compact reference header. Original action nodes stay mounted. */
@media screen{body.compact-header90 #app-header{background:linear-gradient(110deg,#101d34,#203250)!important;flex-shrink:0}body.compact-header90 #app-header-row{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:12px!important;min-height:88px!important;height:88px!important;padding:10px 28px!important}body.compact-header90 #header-brand{flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:620px!important;overflow:visible!important}body.compact-header90 #header-brand>img{height:42px!important;max-width:110px!important}body.compact-header90 #header-brand h1{font-size:14px!important;line-height:20px!important}body.compact-header90 #header-brand p{font-size:11px!important;margin-top:2px!important;color:#b8c5d8!important}body.compact-header90 #header90-tools{display:flex;align-items:center;gap:5px;flex-shrink:0}body.compact-header90 #header90-tools #pwa-install-button,body.compact-header90 #header90-tools #app-refresh-btn{width:35px!important;min-width:35px!important;height:35px!important;min-height:35px!important;padding:7px!important;border-radius:6px!important;display:inline-flex;justify-content:center;align-items:center}body.compact-header90 #header90-tools #pwa-install-button span,body.compact-header90 #header90-tools #app-refresh-btn span{display:none!important}body.compact-header90 #header90-tools #pwa-install-button[hidden]{display:none!important}body.compact-header90 #header90-tools #header-branches{margin:0!important}body.compact-header90 #header90-tools #header-branches>summary{min-height:35px!important;padding:8px 10px!important;border-radius:6px!important;font-size:12px!important;background:#073746!important;color:#7de5ef!important;border:1px solid #167089!important}body.compact-header90 #header90-nav{margin-left:auto;display:flex;align-items:center;gap:18px;flex-shrink:0}body.compact-header90 #header90-nav>button{padding:9px 10px;background:transparent;border:0;color:#f0f4ff;font-size:14px;font-weight:750;border-radius:5px;white-space:nowrap}body.compact-header90 #header90-nav>button:hover{background:#ffffff13}body.compact-header90 #header-controls{display:flex!important;margin:0!important;gap:0!important;flex:0 0 auto!important}body.compact-header90 #header-controls>#header-owner-actions,body.compact-header90 #header-controls>#header-terminal,body.compact-header90 #main-tabs,body.compact-header90 #legacy-workspace-tools{display:none!important}body.compact-header90 #account-profile-menu{margin:0!important}body.compact-header90 #account-profile-menu>summary{height:38px!important;width:38px!important;min-height:38px!important;border:1px solid #899ab4!important;background:transparent!important;color:#edf2fb!important}body.compact-header90 #workspace-landing>.workspace-sidebar{display:none!important}body.compact-header90 #workspace-landing>.overview-content{width:100%!important}body.compact-header90 #workspace-page-actions{flex:0 0 auto;margin-left:0!important}.header90-popup{position:fixed;inset:auto;margin:0;padding:6px;width:280px;max-width:calc(100vw - 16px);overflow:auto;border:1px solid #bdcadd;border-radius:8px;background:white;color:#17364b;box-shadow:0 14px 40px #0c193b40}.header90-popup button{display:block;width:100%;text-align:left;padding:9px 10px;border:0;border-radius:4px;background:white;color:#18384e;font-size:13px;font-weight:650}.header90-popup button:hover{background:#eaf1fc}}
@media screen and (max-width:1250px) and (min-width:701px){body.compact-header90 #app-header-row{gap:7px!important;padding:8px 12px!important}body.compact-header90 #header-brand{max-width:420px!important}body.compact-header90 #header-brand h1{font-size:11px!important}body.compact-header90 #header-brand>img{max-width:80px!important}body.compact-header90 #header90-nav{gap:2px}body.compact-header90 #header90-nav>button{font-size:12px;padding:8px 6px}}
@media screen and (max-width:700px){body.compact-header90 #app-header{height:auto!important;max-height:none!important;min-height:106px!important}body.compact-header90 #app-header-row{height:auto!important;min-height:106px!important;flex-wrap:wrap!important;padding:7px 9px!important;gap:5px!important}body.compact-header90 #header-brand{flex:1!important;max-width:calc(100% - 44px)!important;order:0!important}body.compact-header90 #header-brand>img{height:32px!important;max-width:72px!important}body.compact-header90 #header-brand h1{font-size:10px!important;line-height:14px!important}body.compact-header90 #header-brand p{font-size:9px!important}body.compact-header90 #header-brand>div>div>span{display:none!important}body.compact-header90 #account-profile-menu{order:1!important}body.compact-header90 #header-controls{display:contents!important}body.compact-header90 #header90-tools{order:2!important;gap:4px}body.compact-header90 #header90-nav{order:3!important;gap:0;margin-left:auto;overflow-x:auto;max-width:100%;flex-shrink:1}body.compact-header90 #header90-nav>button{font-size:11px;padding:7px 6px}body.compact-header90 #header90-tools #pwa-install-button,body.compact-header90 #header90-tools #app-refresh-btn{width:28px!important;min-width:28px!important;height:29px!important;min-height:29px!important;padding:5px!important}body.compact-header90 #header90-tools #header-branches>summary{font-size:10px!important;min-height:29px!important;padding:6px!important}body.compact-header90 #workspace-page-actions{order:4!important}}

body.compact-header90 #header-controls>#selling-shift-start{display:none!important}

body.compact-header90 #header90-nav>#header-pos-billing{background:#6636ff;color:white;border:1px solid #ad96ff;font-size:13px;padding:8px 12px} @media(max-width:700px){body.compact-header90 #header90-nav>#header-pos-billing{font-size:10px;padding:6px}}

/* Consistent 64px desktop header on live and staging. */
@media screen and (min-width:1100px){body.compact-header90 #app-header-row{height:64px!important;min-height:64px!important;padding:7px 18px!important;gap:9px!important}body.compact-header90 #header-brand>img{height:36px!important;max-width:90px!important}body.compact-header90 #header-brand h1{font-size:13px!important;line-height:18px!important}body.compact-header90 #header-brand p{font-size:10px!important;line-height:14px!important;margin-top:0!important}body.compact-header90 #header90-nav{gap:10px!important}body.compact-header90 #header90-nav>button{padding:7px 8px!important;font-size:13px!important}}

#header90-tools #selling-shift-start{height:32px;padding:4px 9px;border:1px solid #21b9b1;border-radius:6px;background:#07565a;color:white;font-size:11px;white-space:nowrap}#header90-tools #selling-shift-start[hidden]{display:none}#pos-product-more{padding:0!important;margin:0!important;min-height:0!important;border:0!important;height:1px!important}#shift-closing-details{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;background:#f1f5f9;border-radius:8px;font-weight:600}

#header90-tools #selling-shift-start[data-till-state=on]{background:#087b4c;border-color:#34d399;color:#fff}#header90-tools #selling-shift-start[data-till-state=off]{background:#334155;border-color:#94a3b8;color:#fff}#header90-tools #selling-shift-start:focus-visible{outline:3px solid #fbbf24;outline-offset:2px}
