/* Workspace header. Keep its height stable so the bounded daily roster stays aligned. */
.header{height:52px;padding:0 20px;gap:18px;background:#0f1b33;color:#ffffff;border-bottom:1px solid #1e3a5f;box-shadow:0 1px 5px rgba(15,27,51,.1);z-index:100}.header-left{display:flex;align-items:center;gap:20px;min-width:0}.workspace-brand{display:flex;align-items:center;gap:9px;background:none;border:0;padding:0;cursor:pointer;text-align:left;color:#ffffff;flex-shrink:0}.brand-mark{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#0369a1;border:1px solid #075985;border-radius:8px;box-shadow:0 2px 3px rgba(3,105,161,.2)}.header svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.5;fill:none;flex-shrink:0}.brand-mark svg{width:20px;height:20px;stroke:#ffffff;stroke-width:1.4}.brand-copy{display:flex;flex-direction:column;gap:1px}.brand-copy strong{font-size:14px;font-weight:700;letter-spacing:0.5px;line-height:1.2}.brand-copy small{font-size:8px;font-weight:500;letter-spacing:1px;color:#7584a0;line-height:1.3}.header-breadcrumb{display:flex;align-items:center;gap:10px;font-size:10px;border-left:1px solid rgba(255,255,255,.15);padding-left:18px;white-space:nowrap;color:#7584a0}.header-breadcrumb>span:nth-child(2){color:rgba(255,255,255,.3)}.header-breadcrumb strong{font-size:11px;font-weight:500;color:#ffffff}.header-center{margin-left:auto;display:flex;align-items:center;gap:12px;flex-shrink:0}.station-control{display:flex;gap:8px;align-items:center;border-right:1px solid rgba(255,255,255,.15);padding-right:14px}.station-code{font-size:10px;font-weight:600;letter-spacing:.4px;background:rgba(3,105,161,.2);border:1px solid rgba(3,105,161,.3);border-radius:5px;padding:5px;color:#60a5fa}.station-control>span:last-child{font-size:11px;line-height:1.3;color:#ffffff}.station-control small{display:block;font-size:8px;color:#7584a0;margin-top:2px}.planning-date-control{display:flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.15);border-radius:7px;padding:4px 8px;min-height:34px;background:rgba(255,255,255,.05);cursor:pointer;color:#7584a0}.planning-date-control>span{display:flex;flex-direction:column;min-width:0}.control-label{font-size:8px;color:#7584a0;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:#ffffff;border-radius:0;font:500 11px Inter,-apple-system,BlinkMacSystemFont,sans-serif;cursor:pointer;color-scheme:dark}.planning-date-control input::-webkit-calendar-picker-indicator{width:11px;opacity:.6;margin:0;padding:0;cursor:pointer;filter:invert(1)}.header-timezone{display:flex;flex-direction:column;gap:1px;font-size:9px;color:#ffffff;line-height:1.4}.header-timezone span{font-size:8px;color:#7584a0}.header-right{display:flex;align-items:center;gap:10px;padding-left:16px;border-left:1px solid rgba(255,255,255,.15);flex-shrink:0}.mailbox-menu{position:relative}.mailbox-menu>summary{display:flex;align-items:center;gap:7px;padding:6px 9px;list-style:none;cursor:pointer;border:1px solid rgba(255,255,255,.15);border-radius:7px;font-size:11px;color:#ffffff;background:rgba(255,255,255,.05);user-select:none}.mailbox-menu>summary::-webkit-details-marker{display:none}.mailbox-menu>summary:hover,.mailbox-menu[open]>summary{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.25)}.mailbox-menu>summary svg{width:15px;height:15px;color:#7584a0}.mailbox-label{font-size:11px}.connection-label{font-size:9px;color:#7584a0}.connection-dot{height:5px;width:5px;border-radius:50%;background:#7584a0;margin-left:4px}.connection-dot.connected{background:#10b981}.mailbox-chevron{color:#7584a0;font-size:12px;margin-left:3px}.mailbox-popover{position:absolute;right:0;top:calc(100% + 11px);width:270px;background:#fff;border:1px solid #e2e8f1;border-radius:10px;box-shadow:0 12px 32px rgba(15,27,51,.15);padding:15px;color:#0f1b33;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:#7584a0;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:#eff6ff;border:1px solid #dbeafe;color:#0369a1}.header .gmail-actions .btn-gmail:hover{background:#dbeafe}.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 #fecaca;color:#dc2626;font-size:10px}.mailbox-popover>p{font-size:9px;color:#7584a0;line-height:1.6;margin-top:12px}.header button:focus-visible,.header summary:focus-visible,.header input:focus-visible{outline:2px solid #60a5fa;outline-offset:3px}.header .menu-toggle{width:28px;height:30px;padding:4px;border:0;background:transparent;color:#7584a0;border-radius:5px}.header .menu-toggle:hover{background:rgba(255,255,255,.1)}@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 #0f1b33;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 rgba(255,255,255,.15);border-radius:6px;background:rgba(255,255,255,.05);min-height:35px;color:#ffffff}.station-picker select{font:500 11px Inter,-apple-system,sans-serif;border:0;background:transparent;color:#ffffff;padding:0 15px 0 0;max-width:136px;cursor:pointer}.station-picker select:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}.station-notice{margin:0 0 16px;padding:10px 13px;border:1px solid #fde68a;background:#fffbeb;border-radius:6px;font-size:11px;color:#92400e}.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 rgba(255,255,255,.15);border-radius:7px;color:#ffffff;cursor:pointer}.notification-menu>summary::-webkit-details-marker{display:none}.notification-menu>summary:hover,.notification-menu[open]>summary{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.25)}#notification-count{position:absolute;right:-5px;top:-5px;min-width:15px;padding:1px 3px;border:2px solid #0f1b33;border-radius:9px;background:#0369a1;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 #e2e8f1;border-radius:10px;box-shadow:0 12px 32px rgba(15,27,51,.15);overflow:hidden;z-index:110;color:#0f1b33}.notification-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid #e2e8f1}.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:#7584a0}#notifications-read{padding:5px;border:0;border-radius:4px;background:transparent;font-family:inherit;font-size:10px;font-weight:400;color:#0369a1;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 #f3f5f9}.notification-entry:last-child{border-bottom:0}.notification-entry.unread{background:#eff6ff}.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:#0369a1}.notification-entry p{margin:4px 0 5px;font-size:10px;line-height:1.55;color:#47556f;overflow-wrap:anywhere}.notification-entry small{font-size:9px;color:#7584a0}.notification-empty{padding:25px 14px;font-size:11px;color:#7584a0;text-align:center}#notification-error{margin:8px 14px;font-size:10px;color:#dc2626}
@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 rgba(255,255,255,.15);border-radius:6px;background:rgba(255,255,255,.05);color:#ffffff;min-height:35px;white-space:nowrap}
.station-fixed strong{font-size:11px;color:#60a5fa}
.station-fixed span{font-size:10px;color:#7584a0}
@media(max-width:650px){.header .station-fixed{display:none}}
.mailbox-popover-heading #mailbox-connection-email{color:#0369a1;font-size:11px;font-weight:600;overflow-wrap:anywhere}

/* Shared Command Center header: one light navigation bar on every screen. */
.header{background:#fff;color:#0f1b33;border-bottom:1px solid #e2e8f1;box-shadow:none;gap:16px}
.header-left{gap:0}
.header .workspace-brand{color:#0f1b33;font-size:13px;font-weight:800;letter-spacing:-.25px;line-height:1;white-space:nowrap;text-decoration:none}
.header .workspace-brand:hover{color:#0369a1}
.header-breadcrumb{display:flex;gap:10px;margin-left:17px;padding-left:0;border:0;color:#8b99ac;font-size:12px}
.header-breadcrumb>span:first-child{color:#b1bbca}
.header-breadcrumb strong{color:#47556f;font-size:12px;font-weight:600}
.header .station-fixed{background:#f6f8fc;border-color:#e2e8f1;color:#0f1b33;padding:5px 11px}
.station-fixed strong{color:#0369a1;font-size:12px}
.station-fixed span{color:#47556f;font-size:11px}
.planning-date-control{background:#f6f8fc;border-color:#e2e8f1;color:#7584a0}
.control-label{color:#7584a0;font-size:9px}
.header .planning-date-control input{color:#0f1b33;color-scheme:light;font-size:12px;font-weight:600}
.planning-date-control input::-webkit-calendar-picker-indicator{filter:none;opacity:.55}
.header-timezone{color:#0f1b33;font-size:11px;font-weight:600}
.header-timezone span{color:#7584a0;font-size:9px;font-weight:400}
.header-right{border-left-color:#e2e8f1}
.notification-menu>summary,.mailbox-menu>summary{background:#fff;border-color:#e2e8f1;color:#0f1b33}
.notification-menu>summary:hover,.notification-menu[open]>summary,.mailbox-menu>summary:hover,.mailbox-menu[open]>summary{background:#f6f8fc;border-color:#cbd5e4}
.mailbox-menu>summary svg{color:#7584a0}
.mailbox-label{font-weight:600}
.connection-label,.mailbox-chevron{color:#7584a0}
#notification-count{border-color:#fff}
.header .menu-toggle{color:#47556f}
.header .menu-toggle:hover{background:#f1f5f9}
@media(max-width:1250px){.header-breadcrumb{display:flex}}
@media(max-width:900px){.header-breadcrumb{display:none}}
@media(max-width:650px){.connection-dot{border-color:#fff}}
