/* Workspace header. Keep its height stable so the bounded daily roster stays aligned. */
.header{height:56px;padding:0 22px;gap:20px;background:#fff;color:#29434a;border-bottom:1px solid #e3ebea;box-shadow:0 1px 5px #1b392b03;z-index:100}.header-left{display:flex;align-items:center;gap:26px;min-width:0}.workspace-brand{display:flex;align-items:center;gap:9px;background:none;border:0;padding:0;cursor:pointer;text-align:left;color:#24453b;flex-shrink:0}.brand-mark{display:flex;align-items:center;justify-content:center;width:31px;height:31px;background:#164638;border:1px solid #20503f;border-radius:9px;box-shadow:0 2px 3px #17433112}.header svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.5;fill:none;flex-shrink:0}.brand-mark svg{width:21px;height:21px;stroke:#d9eee0;stroke-width:1.4}.brand-copy{display:flex;flex-direction:column;gap:1px}.brand-copy strong{font-size:14px;font-weight:600;letter-spacing:1px;line-height:1.2}.brand-copy small{font-size:7px;font-weight:500;letter-spacing:1.1px;color:#8a9e95;line-height:1.3}.header-breadcrumb{display:flex;align-items:center;gap:10px;font-size:10px;border-left:1px solid #e7eeeb;padding-left:20px;white-space:nowrap;color:#97a6a6}.header-breadcrumb>span:nth-child(2){color:#c4cfca}.header-breadcrumb strong{font-size:11px;font-weight:500;color:#496860}.header-center{margin-left:auto;display:flex;align-items:center;gap:14px;flex-shrink:0}.station-control{display:flex;gap:8px;align-items:center;border-right:1px solid #e7eeeb;padding-right:16px}.station-code{font-size:10px;font-weight:600;letter-spacing:.4px;background:#eff5f1;border:1px solid #e0eae3;border-radius:5px;padding:5px;color:#537b65}.station-control>span:last-child{font-size:11px;line-height:1.3;color:#466c5d}.station-control small{display:block;font-size:8px;color:#9caea4;margin-top:2px}.planning-date-control{display:flex;align-items:center;gap:8px;border:1px solid #e3ebe7;border-radius:7px;padding:4px 8px;min-height:36px;background:#fafcfb;cursor:pointer;color:#8aa699}.planning-date-control>span{display:flex;flex-direction:column;min-width:0}.control-label{font-size:8px;color:#8c9f94;line-height:1.25;letter-spacing:.1px}.header .planning-date-control input{height:19px;min-height:0;line-height:19px;min-width:0;width:122px;padding:0;border:0;background:transparent;color:#456459;border-radius:0;font:500 11px Inter,-apple-system,BlinkMacSystemFont,sans-serif;cursor:pointer;color-scheme:light}.planning-date-control input::-webkit-calendar-picker-indicator{width:11px;opacity:.45;margin:0;padding:0;cursor:pointer}.header-timezone{display:flex;flex-direction:column;gap:1px;font-size:9px;color:#6f8c7b;line-height:1.4}.header-timezone span{font-size:8px;color:#a5b3a9}.header-right{display:flex;align-items:center;gap:10px;padding-left:18px;border-left:1px solid #e7eeeb;flex-shrink:0}.mailbox-menu{position:relative}.mailbox-menu>summary{display:flex;align-items:center;gap:7px;padding:7px 9px;list-style:none;cursor:pointer;border:1px solid #e3ebe6;border-radius:7px;font-size:11px;color:#587569;background:#fff;user-select:none}.mailbox-menu>summary::-webkit-details-marker{display:none}.mailbox-menu>summary:hover,.mailbox-menu[open]>summary{background:#f5faf7;border-color:#cedfd2}.mailbox-menu>summary svg{width:15px;height:15px;color:#749587}.mailbox-label{font-size:11px}.connection-label{font-size:9px;color:#94a69c}.connection-dot{height:5px;width:5px;border-radius:50%;background:#bdc7c1;margin-left:4px}.connection-dot.connected{background:#5d9f7b}.mailbox-chevron{color:#9cafa3;font-size:12px;margin-left:3px}.mailbox-popover{position:absolute;right:0;top:calc(100% + 11px);width:270px;background:#fff;border:1px solid #dfe9e3;border-radius:10px;box-shadow:0 12px 32px #173d2b1c;padding:15px;color:#3c5e4b;z-index:110}.mailbox-popover-heading{display:flex;flex-direction:column;gap:4px;padding-bottom:12px}.mailbox-popover-heading strong{font-size:12px;font-weight:600}.mailbox-popover-heading>span{font-size:10px;color:#8b9f91;line-height:1.5}.header .gmail-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px}.header .gmail-actions .btn{display:flex;align-items:center;justify-content:space-between;width:100%;height:auto;padding:8px 10px;border-radius:6px;font-size:11px;font-weight:500;box-shadow:none;transform:none;letter-spacing:0}.header .gmail-actions .btn-gmail{background:#edf6ef;border:1px solid #dcebdd;color:#426e4d}.header .gmail-actions .btn-gmail:hover{background:#e4f2e6}.header .gmail-actions .btn-gmail span{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}.header #gmail-disconnect-btn{background:white;border:1px solid #ecdfdc;color:#a66e61;font-size:10px}.mailbox-popover>p{font-size:9px;color:#9bac9d;line-height:1.6;margin-top:12px}.header button:focus-visible,.header summary:focus-visible,.header input:focus-visible{outline:2px solid #69a587;outline-offset:3px}.header .menu-toggle{width:28px;height:30px;padding:4px;border:0;background:transparent;color:#729383;border-radius:5px}.header .menu-toggle:hover{background:#f0f6f2}@media(max-width:1250px){.header-breadcrumb{display:none}.header{gap:15px}}@media(max-width:900px){.header{padding:0 16px;gap:12px}.header-center{display:flex;gap:10px}.header-left{gap:10px}.station-control{padding-right:10px}.header-timezone{display:none}.connection-label{display:none}.header-right{padding-left:12px;gap:7px}}@media(max-width:650px){.header{padding:0 12px;gap:10px}.header-center{display:flex;margin-left:auto}.station-control{display:none}.header-left{gap:7px}.brand-copy small{display:none}.brand-copy strong{font-size:12px}.brand-mark{width:27px;height:27px;border-radius:7px}.header-right{padding-left:0;border:0;gap:6px}.mailbox-label,.mailbox-chevron{display:none}.mailbox-menu>summary{width:32px;height:32px;position:relative;padding:7px}.connection-dot{position:absolute;right:3px;bottom:3px;margin:0;border:1px solid white;width:6px;height:6px}.planning-date-control{gap:5px;padding:4px 6px;min-height:34px}.planning-date-control>svg{display:none}.header .planning-date-control input{width:106px;font-size:10px}.mailbox-popover{position:fixed;right:12px;top:52px;width:min(270px,calc(100vw - 24px))}}@media(max-width:420px){.brand-copy{display:none}.header-left{gap:4px}.header{gap:7px}.brand-mark{width:26px;height:26px}.header .menu-toggle{width:26px}.header-right{gap:5px}}
/* Original NAGS artwork, sourced from nags-ksa.com. */
.nags-symbol{display:none;width:26px;height:26px;object-fit:contain;flex-shrink:0}.nags-full-logo{display:block;width:105px;height:45px;object-fit:contain;flex-shrink:0}
@media(max-width:650px){.nags-full-logo{width:84px;height:36px}}
@media(max-width:420px){.nags-full-logo{display:none}.nags-symbol{display:block}}
/* Legacy station-picker styles; the active workspace displays JED only. */
.header .station-picker{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:4px 9px;border:1px solid #dfe8e3;border-radius:6px;background:#fafcfb;min-height:35px;color:#577866}.station-picker select{font:500 11px Inter,-apple-system,sans-serif;border:0;background:transparent;color:#476658;padding:0 15px 0 0;max-width:136px;cursor:pointer}.station-picker select:focus-visible{outline:2px solid #69a587;outline-offset:2px}.station-notice{margin:0 0 16px;padding:10px 13px;border:1px solid #e8dfcc;background:#fffbf3;border-radius:6px;font-size:11px;color:#967948}.station-notice[hidden]{display:none}
@media(max-width:900px){.header .station-picker{padding:4px 6px}.station-picker select{font-size:10px;max-width:108px}.header-center{gap:6px}}
@media(max-width:650px){.header .station-picker{display:flex;min-height:34px}.station-picker select{max-width:54px;font-size:10px}.header{gap:6px;padding:0 8px}.header .nags-full-logo{display:none}.header .nags-symbol{display:block;width:23px;height:23px}.header .planning-date-control input{width:96px}.header-right{gap:2px}.header .planning-date-control{padding:4px}.header-left{gap:2px}.header .menu-toggle{width:23px}.station-notice{font-size:10px}}

/* Header notifications remain accessible without a separate workspace page. */
.notification-menu{position:relative}.notification-menu>summary{position:relative;display:flex;align-items:center;justify-content:center;list-style:none;width:32px;height:32px;border:1px solid #e3ebe6;border-radius:7px;color:#587569;cursor:pointer}.notification-menu>summary::-webkit-details-marker{display:none}.notification-menu>summary:hover,.notification-menu[open]>summary{background:#f5faf7;border-color:#cedfd2}#notification-count{position:absolute;right:-5px;top:-5px;min-width:15px;padding:1px 3px;border:2px solid white;border-radius:9px;background:#357258;color:white;font-size:8px;line-height:12px;text-align:center}#notification-count[hidden]{display:none}.notification-popover{position:absolute;right:0;top:calc(100% + 11px);width:340px;background:white;border:1px solid #dfe9e3;border-radius:10px;box-shadow:0 12px 32px #173d2b1c;overflow:hidden;z-index:110;color:#3c5e4b}.notification-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid #e8eeeb}.notification-menu-heading>div{display:flex;flex-direction:column;gap:3px}.notification-menu-heading strong{font-size:12px;font-weight:600}#notification-summary{font-size:9px;color:#7b9185}#notifications-read{padding:5px;border:0;border-radius:4px;background:transparent;font-family:inherit;font-size:10px;font-weight:400;color:#377653;cursor:pointer}#notifications-read:disabled{opacity:.45;cursor:default}#notification-list{list-style:none;margin:0;padding:0;max-height:min(360px,calc(100dvh - 130px));overflow-y:auto;overscroll-behavior:contain}.notification-entry{padding:11px 14px;border-bottom:1px solid #edf2ee}.notification-entry:last-child{border-bottom:0}.notification-entry.unread{background:#f5faf7}.notification-entry strong{display:flex;align-items:baseline;gap:7px;font-size:11px;font-weight:500;overflow-wrap:anywhere}.notification-unread-label{font-size:8px;font-weight:400;color:#39775a}.notification-entry p{margin:4px 0 5px;font-size:10px;line-height:1.55;color:#718779;overflow-wrap:anywhere}.notification-entry small{font-size:9px;color:#8c9e91}.notification-empty{padding:25px 14px;font-size:11px;color:#7b9185;text-align:center}#notification-error{margin:8px 14px;font-size:10px;color:#a84e43}
@media(max-width:650px){.notification-popover{position:fixed;right:8px;top:52px;width:min(340px,calc(100vw - 16px))}}
.header .station-fixed{display:flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid #dfe8e3;border-radius:6px;background:#fafcfb;color:#476658;min-height:35px;white-space:nowrap}
.station-fixed strong{font-size:11px;color:#21644a}
.station-fixed span{font-size:10px;color:#718c7d}
@media(max-width:650px){.header .station-fixed{display:none}}
