/* Compact shared header; keep normal wrapping and existing permission-controlled links. */
@media screen{
body.atoz-ui .app-header.compact-header{grid-template-columns:180px minmax(0,1fr);column-gap:18px;padding-inline:20px}
body.atoz-ui .compact-header .identity{padding:6px 0;justify-self:start}
body.atoz-ui .compact-header .logo-window{width:180px}
body.atoz-ui .compact-header .header-tools{padding:7px 0;gap:6px;align-items:center}
body.atoz-ui .compact-header .header-tools>a,body.atoz-ui .compact-header .header-tools>button,body.atoz-ui .compact-header .header-tools .edition,body.atoz-ui .compact-header .header-branch-label,body.atoz-ui .compact-header .header-logout button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 10px;margin-block:0;line-height:1.4;box-sizing:border-box;border-radius:8px;background:#182638;border-color:#ffffff20;font-size:13px;font-weight:700;text-decoration:none;vertical-align:middle}
body.atoz-ui .compact-header .header-tools .header-settings-link,body.atoz-ui .compact-header .header-logout button{width:36px;height:36px;min-width:36px;padding:0}
body.atoz-ui .compact-header .header-logout{margin:0;display:flex;align-items:center}
body.atoz-ui .compact-header .header-tools svg{display:block;flex-shrink:0;width:18px;height:18px}
body.atoz-ui .compact-header .header-tools :is([data-mail-count],[data-social-badge]){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:22px;height:22px;padding:0 5px;line-height:1;font-size:12px;border-radius:999px;flex-shrink:0;vertical-align:middle;font-variant-numeric:tabular-nums}
body.atoz-ui .compact-header .mail-read-dot{display:inline-block;width:6px;height:6px;margin:0;align-self:center;flex-shrink:0;box-shadow:none}
body.atoz-ui .compact-header .header-tools .mail-mention-header b{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:16px}
body.atoz-ui .compact-header .header-account714{gap:6px;align-items:center}
body.atoz-ui .compact-header #openOrderUrgencyList{background:#00b8ce;color:#071523;border-color:#00b8ce}
body.atoz-ui .compact-header .header-tools :is(a,button):hover{background:#24374b;color:#fff;border-color:#5b8a9b}
body.atoz-ui .compact-header #openOrderUrgencyList:hover{background:#51d6e5;color:#071523}
body.atoz-ui .compact-header .header-nav-shell{border-color:#ffffff10;padding-block:3px}
body.atoz-ui .compact-header .header-nav{gap:3px;align-items:center}
body.atoz-ui .compact-header .header-nav>a,body.atoz-ui .compact-header .header-more>summary,body.atoz-ui .compact-header .page-directory>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 10px;line-height:22px;box-sizing:border-box;border-radius:7px;font-size:13px}
body.atoz-ui .compact-header .header-nav>a.selected:after{display:none}
body.atoz-ui .compact-header .header-more>summary.selected{background:#00b8ce;color:#071523}
body.atoz-ui .compact-header [hidden]{display:none!important}
@media(max-width:1100px){body.atoz-ui .app-header.compact-header{grid-template-columns:155px minmax(0,1fr);column-gap:12px;padding-inline:14px}body.atoz-ui .compact-header .logo-window{width:155px}}
@media(max-width:700px){body.atoz-ui .app-header.compact-header{grid-template-columns:minmax(0,1fr);padding:10px 12px 0}body.atoz-ui .compact-header .logo-window{width:150px}body.atoz-ui .compact-header .identity{padding:0 0 5px}body.atoz-ui .compact-header .header-tools{padding:5px 0 8px}body.atoz-ui .compact-header .header-tools>a,body.atoz-ui .compact-header .header-tools>button,body.atoz-ui .compact-header .header-branch-label,body.atoz-ui .compact-header .edition{min-height:40px}body.atoz-ui .compact-header .header-tools .header-settings-link,body.atoz-ui .compact-header .header-logout button{height:40px;width:40px}body.atoz-ui .compact-header .header-nav>a,body.atoz-ui .compact-header .header-more>summary,body.atoz-ui .compact-header .page-directory>summary{min-height:40px}}
}
