/* Shared header 1.04. Loaded AFTER utility/captured CSS. One renderer, one visual contract. */
:root{--sysadm-header-height:78px}
#sysadm-global-header{display:block;position:sticky;inset:0 0 auto;z-index:60;float:none;width:100%;max-width:none;min-height:0;height:auto;margin:0;padding:0;border:0;border-bottom:1px solid #263a2d;background:rgba(7,10,8,.97);color:#e8f1ea;box-shadow:0 8px 28px #0002;backdrop-filter:blur(16px);font:14px/1.5 ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;text-align:left;letter-spacing:normal}
#sysadm-global-header *{box-sizing:border-box}
#sysadm-global-header .site-header-shell{display:flex;flex-direction:row;align-content:flex-start;align-items:center;justify-content:space-between;gap:20px;width:min(1320px,calc(100% - 40px));min-height:78px;height:auto;max-width:none;margin:0 auto;padding:12px 0}
#sysadm-global-header .site-brand{display:flex;align-items:center;gap:12px;flex:0 0 auto;min-width:0;width:auto;white-space:nowrap;text-decoration:none;color:#e8f1ea;font:700 18px/1.3 ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;letter-spacing:.04em;margin:0;padding:0;border:0;background:none}
#sysadm-global-header .site-brand::before,#sysadm-global-header .site-brand::after,#sysadm-global-header .site-tool-link::before,#sysadm-global-header .site-tool-link::after{content:none!important}
#sysadm-global-header .site-brand-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid #31503a;border-radius:9px;background:#09100b;color:#7dff86;flex-shrink:0;font-size:18px}
#sysadm-global-header .site-brand small{display:block;margin-top:3px;color:#91a297;font-size:9px;font-weight:500;letter-spacing:.16em}
#sysadm-global-header .site-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;float:none;margin:0;padding:0;width:auto;height:auto;position:static;background:none;border:0}
#sysadm-global-header .site-tools-label{display:none}
#sysadm-global-header .site-tool-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 1 auto;min-height:37px;margin:0;padding:8px 11px;border:1px solid #24382b;border-radius:8px;background:#0b120e;color:#c7d4ca;text-decoration:none;white-space:nowrap;text-transform:none;font:12px/1.45 ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;letter-spacing:0;box-shadow:none;transform:none;transition:background .15s,border-color .15s}
#sysadm-global-header .site-tool-link:hover,#sysadm-global-header .site-tool-link:focus-visible,#sysadm-global-header .site-tool-link.is-current{background:#12251a;border-color:#477d52;color:#e8ffeb;outline-offset:3px}
#sysadm-global-header .site-link-arrow{display:inline-block;color:#7dff86;font:15px/1 ui-monospace,monospace;flex:0 0 auto;opacity:1}
.admin-body .admin-sidebar{top:var(--sysadm-header-height);height:calc(100dvh - var(--sysadm-header-height));bottom:0;z-index:45}
.admin-body .admin-topbar{top:var(--sysadm-header-height);z-index:35}
.admin-body .admin-workspace{min-width:0}
@media(max-width:1100px){#sysadm-global-header .site-header-shell{gap:12px;flex-wrap:wrap}#sysadm-global-header .site-tools{justify-content:flex-start;flex:1 1 580px}#sysadm-global-header .site-tool-link{padding:7px 10px}}
@media(max-width:600px){:root{--sysadm-header-height:180px}#sysadm-global-header .site-header-shell{width:calc(100% - 28px);padding:12px 0;gap:12px}#sysadm-global-header .site-brand{font-size:17px}#sysadm-global-header .site-tools{width:100%;gap:6px}#sysadm-global-header .site-tool-link{flex:1 1 auto;font-size:11px;min-height:35px;padding:7px 9px}.admin-body .admin-sidebar{max-height:calc(100dvh - var(--sysadm-header-height))}}
@media print{#sysadm-global-header{display:none!important}}
