/* Employee notifications and administrator publication editor. */
/* Compact, persistent control beside the theme picker. */
.site-updates-banner{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;min-height:38px;padding:7px 11px;margin:0;font:650 12px/1.3 Inter,sans-serif;white-space:nowrap;color:var(--theme-text);background:var(--theme-surface-2);border:1px solid var(--theme-border);border-radius:11px;cursor:pointer}
.site-updates-banner:hover{border-color:var(--theme-red)}
.site-updates-unread{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--theme-red)}
@media(max-width:740px){.site-updates-banner{min-height:34px;padding:6px 8px;font-size:11px}.employee-page.profile-active .topbar{flex-wrap:wrap}.employee-page.profile-active .topbar .topbar-actions{flex:0 1 auto;max-width:100%;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}}
html[data-theme] .site-updates-dialog{width:min(640px,calc(100% - 24px));max-height:85dvh;color:var(--theme-text);background:var(--theme-surface);border-color:var(--theme-border)}
.site-updates-dialog header{gap:12px}.site-updates-dialog header h2{font-size:19px;overflow-wrap:anywhere}.site-updates-dialog-body{padding:18px 20px;max-height:60dvh;overflow-y:auto}
.site-updates-dialog footer{padding:15px 20px;border-top:1px solid var(--theme-border);display:flex;align-items:center;justify-content:space-between;gap:14px}.site-updates-dialog footer p{margin:0;font-size:12px;color:var(--theme-muted)}
.site-update-article{border-bottom:1px solid var(--theme-border);padding:14px 0}.site-update-article:first-child{padding-top:0}.site-update-article:last-child{border-bottom:0}.site-update-article summary{cursor:pointer;display:flex;gap:7px;flex-direction:column;overflow-wrap:anywhere}.site-update-article summary strong{font-size:16px;line-height:1.4}.site-update-article summary span{font-size:12px;color:var(--theme-muted)}
.site-update-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:12px 0;font-size:14px}
.site-update-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.site-update-layout>.panel{min-width:0}.site-update-editor{padding:20px;display:grid;gap:14px}.site-update-editor .input-control{width:100%;min-width:0}.site-update-editor textarea{resize:vertical;min-height:210px}.site-update-editor .switch-row{align-items:flex-start}.site-update-editor .switch-row input{flex-shrink:0}.site-update-counter{font-size:12px;color:var(--theme-muted);text-align:right}.site-update-history{padding:0 20px 20px;display:grid;gap:16px}.site-update-admin-item{border:1px solid var(--theme-border);border-radius:12px;padding:16px;background:var(--theme-surface-2);min-width:0}.site-update-admin-item h3{margin:0;overflow-wrap:anywhere;font-size:16px}.site-update-admin-item .scope-label{white-space:normal;overflow-wrap:anywhere}.site-update-admin-item .site-update-text{max-height:240px;overflow-y:auto}.site-update-error,.site-update-counter.error,#site-update-state.error{color:var(--theme-red);overflow-wrap:anywhere}
html[data-theme] .site-update-editor textarea{min-height:210px;height:auto}
@media(max-width:1000px){.site-update-layout{grid-template-columns:1fr}}
@media(max-width:540px){.site-updates-dialog header,.site-updates-dialog-body,.site-updates-dialog footer{padding-left:15px;padding-right:15px}.site-updates-dialog footer{align-items:flex-start;flex-direction:column}.site-updates-dialog footer .btn{width:100%}.site-update-editor{padding:15px}.site-update-history{padding:0 15px 15px}.site-update-editor textarea{font-size:16px}.site-update-editor .button-row .btn{flex:1;min-width:100px}}
