.app-header .mock-banner{display:none!important}.side-nav{display:flex;flex-direction:column;min-height:calc(100vh - 54px);min-width:0}#sidebarMessages{margin-top:auto;padding:20px 8px 10px;min-width:0;color:#e6f2f5}#sidebarMessages[hidden]{display:none}#sidebarMessages h2{font-size:12px;margin:0 0 8px;opacity:.8}.sidebar-message-list{max-height:min(48vh,520px);overflow:auto;overscroll-behavior:contain}.sidebar-message-list article{border:1px solid #ffffff35;background:#ffffff0d;border-radius:6px;margin:8px 0;padding:9px;overflow-wrap:anywhere}.sidebar-message-heading{display:flex;align-items:flex-start;gap:5px;justify-content:space-between}.sidebar-message-heading strong{font-size:12px;line-height:1.6}.sidebar-message-list button{font:inherit;cursor:pointer;color:#fff;background:#ffffff12;border:1px solid #ffffff40;border-radius:4px;padding:4px 7px;font-size:11px}.sidebar-message-heading button{border:0;font-size:18px;line-height:1;padding:2px 4px}.sidebar-message-list p{font-size:11px;line-height:1.7;white-space:pre-line;margin:5px 0}.sidebar-message-list time{display:block;font-size:10px;opacity:.75;margin:5px 0}.sidebar-message-status{display:block;font-size:11px;margin:6px 0;color:#a8e6d4}.sidebar-job-dialog{width:min(1100px,94vw);max-height:90vh;border:1px solid #bccdd8;border-radius:8px;padding:0;color:#23384a}.sidebar-job-dialog::backdrop{background:#102a4560}.sidebar-job-dialog header{display:flex;justify-content:space-between;align-items:center;padding:15px;background:#f0f5f8}.sidebar-job-dialog h2{margin:0;font-size:18px}.sidebar-job-dialog button{padding:7px 10px;margin:5px;border:1px solid #b7cbd4;background:#fff;border-radius:4px;cursor:pointer}.sidebar-job-body{padding:15px;max-height:74vh;overflow:auto}.sidebar-job-body table{border-collapse:collapse;width:100%;table-layout:fixed}.sidebar-job-body td,.sidebar-job-body th{padding:10px;text-align:left;border-bottom:1px solid #dde6ec;white-space:pre-line;overflow-wrap:anywhere;font-size:12px;line-height:1.6}@media(max-width:760px){#sidebarMessages{padding:12px 5px}.sidebar-message-list{max-height:32vh}.sidebar-job-dialog{width:96vw}.sidebar-job-body{padding:8px}}
.side-nav{overflow-y:auto}.side-nav>.nav-item{flex-shrink:0}
@media(max-width:880px){.side-nav{min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;gap:4px}.side-nav>.nav-item{min-width:0;font-size:12px;padding:8px 5px;white-space:normal}#sidebarMessages{grid-column:1/-1;margin-top:6px;padding:8px 4px}.sidebar-message-list{max-height:160px}}
@media(max-width:520px){.side-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Message centre: selectors are scoped; existing module styling is untouched. */
.notification-unread-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;margin-left:5px;border-radius:12px;background:#d63245;color:#fff;font-size:12px;font-weight:700;vertical-align:middle}
.notification-unread-count[hidden],.notification-unread-dot[hidden]{display:none!important}
#notifications .notification-panel{padding:0;overflow:hidden}
.notification-toolbar{display:flex;align-items:center;gap:14px;padding:14px 18px;border-bottom:1px solid #e1e8ed}
.notification-toolbar label{display:flex;align-items:center;gap:7px;margin:0;font-size:13px}
.notification-toolbar input,.notification-row>input{width:16px;min-height:0;height:16px;margin:0;flex-shrink:0;accent-color:#176274}
#notificationSelectedCount,#notificationSummary{font-size:13px;color:#617588}
.notification-list{max-height:calc(100vh - 235px);min-height:140px;overflow:auto;overscroll-behavior:contain}
.notification-row{display:grid;grid-template-columns:18px minmax(0,1fr) 175px 76px;align-items:center;gap:16px;padding:15px 18px;border-bottom:1px solid #e4eaf0;background:#fff}
.notification-row:last-child{border-bottom:0}.notification-row.is-unread{background:#fbfdfe}
.notification-row .notification-open{display:block;width:100%;text-align:left;min-width:0;padding:0;border:0;background:none;color:inherit;font:inherit;box-shadow:none;cursor:pointer}
.notification-heading{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.6}
.notification-heading strong{overflow-wrap:anywhere;font-weight:650}
.notification-unread-dot{display:inline-block;flex-shrink:0;width:8px;height:8px;border-radius:50%;background:#d63245}
.notification-preview{display:block;margin-top:4px;font-size:13px;line-height:1.65;color:#64798a;overflow-wrap:anywhere}
.notification-date{font-size:12px;color:#718493}.notification-read{white-space:nowrap}
.notification-read:disabled{opacity:.55;cursor:default}
.notification-status{margin:12px 18px;color:#9a681f;font-size:13px}.notification-status[hidden]{display:none}
.notification-empty{padding:38px 20px;color:#7b8d9a;text-align:center}
.notification-dialog{padding:0;width:min(760px,92vw);max-height:85vh;border:1px solid #bccdd8;border-radius:8px;color:#263c4a;box-shadow:0 20px 70px #142d4540}
.notification-dialog::backdrop{background:#102a4560}
.notification-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 22px;background:#f4f8fa;border-bottom:1px solid #dde6ec}
.notification-dialog h2{font-size:17px;line-height:1.6;margin:0;overflow-wrap:anywhere}
.notification-dialog button{padding:7px 12px;border:1px solid #becdd5;border-radius:5px;background:#fff;color:#245b6a;font-size:13px;cursor:pointer}
.notification-dialog header button{flex-shrink:0}.notification-detail{padding:20px 22px;max-height:60vh;overflow:auto;overscroll-behavior:contain}
.notification-detail time{display:block;font-size:12px;color:#778a98;margin-bottom:16px}
.notification-full-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95;font-size:14px}
.notification-dialog footer{padding:12px 22px;border-top:1px solid #dde6ec;display:flex;justify-content:flex-end}
@media(max-width:700px){.notification-row{grid-template-columns:18px minmax(0,1fr) 70px;gap:10px;padding:14px 12px}.notification-date{grid-column:2;grid-row:2}.notification-read{grid-column:3;grid-row:1/3}.notification-toolbar{padding:12px}.notification-list{max-height:65vh}.notification-dialog header,.notification-detail{padding:15px}.notification-heading{font-size:13px}}
