:root{--desktop-header-height:76px}
.desktop-body{margin:0;background:#fff;color:#142038;font-family:Calibri,Arial,sans-serif}
.desktop-header,.desktop-menu,.desktop-menu-backdrop{box-sizing:border-box;letter-spacing:0;font:15px Calibri,Arial,sans-serif}
.desktop-header{height:var(--desktop-header-height);position:fixed;inset:0 0 auto;z-index:3001;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:18px;padding:0 22px;background:#182462;color:#fff;box-shadow:0 3px 8px #14203830}
.desktop-header-start,.desktop-header-end{display:flex;align-items:center;gap:20px;min-width:0}.desktop-header-end{justify-content:flex-end;gap:14px}
.desktop-header .desktop-icon,.desktop-menu .desktop-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px;flex:0 0 40px;padding:9px;border:1px solid transparent;border-radius:4px;background:transparent;cursor:pointer}
.desktop-header .desktop-icon:hover{background:#ffffff20}.desktop-icon img{width:22px;height:22px;display:block}.desktop-header .desktop-icon img{filter:brightness(0) invert(1)}
.desktop-title{font-size:28px;line-height:1.15;text-align:center;overflow-wrap:anywhere;min-width:0}
.desktop-datetime{display:flex;align-items:center;gap:24px;white-space:nowrap}.desktop-datetime>div{display:flex;flex-direction:column;gap:1px;line-height:1.05}.desktop-datetime [data-desktop-date]{font-size:17px}.desktop-datetime [data-desktop-time]{font-size:29px}.desktop-week{display:flex;align-items:center;gap:7px}.desktop-week small{font-size:12px;opacity:.8}.desktop-week strong{font-size:38px}
.desktop-user{display:flex;align-items:center;gap:9px;background:#ffffff19;border:1px solid #ffffff2e;border-radius:6px;padding:5px 10px;max-width:100%;min-width:0}.desktop-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 32px;height:32px;border-radius:50%;background:#8b8b99;font-size:13px;font-weight:700}.desktop-user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700}.desktop-logo{width:48px;height:48px;object-fit:contain;flex:0 0 48px}
.desktop-content{max-width:1880px;margin:0 auto;padding:calc(var(--desktop-header-height) + 18px) 24px 32px;box-sizing:border-box;width:100%}
.desktop-menu-backdrop{position:fixed;inset:var(--desktop-header-height) 0 0;background:#14203840;z-index:3002}
.desktop-menu{position:fixed;inset:var(--desktop-header-height) auto 0 0;width:320px;max-width:calc(100% - 32px);background:#fff;color:#142038;box-shadow:4px 0 16px #14203825;z-index:3003;overflow-y:auto;overscroll-behavior:contain;padding:0 16px 16px;text-align:left}
.desktop-menu[hidden],.desktop-menu-backdrop[hidden]{display:none!important}
.desktop-menu-heading{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border-bottom:1px solid #d7deea;padding:10px 0;z-index:1}.desktop-menu-heading strong{font-size:18px;color:#182462}.desktop-menu-heading small{font-size:12px;color:#53657d}.desktop-menu .desktop-icon:hover{background:#eef2f7}
.desktop-menu-group{padding:14px 0;border-bottom:1px solid #d7deea}.desktop-menu-group h2{margin:0 0 6px;padding:0 10px;font:700 13px Calibri,Arial,sans-serif;color:#53657d}.desktop-menu-group.is-active h2{color:#182462}.desktop-menu a{display:block;padding:9px 10px;margin:2px 0;text-decoration:none;color:#142038;border-radius:4px;font-size:15px;line-height:1.3;overflow-wrap:anywhere}.desktop-menu a:hover{background:#f0f4fa}.desktop-menu a[aria-current=page]{background:#e9f1fc;color:#182462;box-shadow:inset 3px 0 #3577be;font-weight:700}
.desktop-menu-group summary{padding:0 10px;font-size:13px;font-weight:700;color:#53657d;cursor:pointer}.desktop-menu-group[open] summary{margin-bottom:8px}.desktop-menu-group.is-active summary{color:#182462}
.desktop-logout{margin-top:14px}.desktop-logout button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid #d7deea;background:#fff;border-radius:4px;color:#142038;font:15px Calibri,Arial,sans-serif;cursor:pointer}.desktop-logout button:hover{background:#eef2f7}.desktop-logout img{width:18px;height:18px}.desktop-menu-empty{padding:16px 10px}
.desktop-header button:focus-visible,.desktop-menu button:focus-visible,.desktop-menu a:focus-visible{outline:2px solid #4986cf;outline-offset:2px}
html:has(.desktop-dispatch),.desktop-dispatch{height:100%;width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}
.desktop-dispatch .desktop-content{display:flex;flex-direction:column;align-items:center;max-width:none;height:100%;padding:0;margin-top:9vmin;overflow:visible}
.desktop-admin:not(.popup) #container{padding-top:var(--desktop-header-height)}
.desktop-admin #nav-sidebar,.desktop-admin .toggle-nav-sidebar{top:var(--desktop-header-height);max-height:calc(100vh - var(--desktop-header-height))}
@media(max-width:1100px){.desktop-user-name,.desktop-week{display:none}.desktop-header{gap:12px;padding:0 14px;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)}.desktop-datetime [data-desktop-date]{font-size:14px}.desktop-datetime [data-desktop-time]{font-size:23px}.desktop-title{font-size:23px}.desktop-header-start{gap:10px}}
@media(max-width:640px){:root{--desktop-header-height:64px}.desktop-header{grid-template-columns:40px minmax(0,1fr) 70px;gap:10px;padding:0 10px}.desktop-datetime,.desktop-user{display:none}.desktop-title{font-size:20px}.desktop-logo{width:42px;height:42px;flex-basis:42px}.desktop-content{padding:calc(var(--desktop-header-height) + 14px) 12px 24px}}
@media print{.desktop-header,.desktop-menu,.desktop-menu-backdrop{display:none!important}.desktop-content{padding:0!important}.desktop-admin #container{padding-top:0}}
@media(pointer:coarse) and (min-width:1024px){html:has(.desktop-dispatch),.desktop-dispatch{height:100svh;width:100vw;overflow:hidden}.desktop-dispatch .desktop-content{height:calc(100svh - 72px);margin-top:72px;overflow-y:auto;-webkit-overflow-scrolling:touch}.desktop-dispatch .desktop-header{height:72px}}
