/* Quiet notification digest; all details stay available on demand. */
#portalAlerts{border:1px solid #dce3e6;border-radius:18px;box-shadow:none;margin:16px 0 22px;background:#fff;max-width:100%;overflow:hidden}
#portalAlerts::before,#portalAlerts.has-critical::before{display:none}
#portalAlerts.has-critical{border-color:#dce3e6;box-shadow:none}
#portalAlerts>header{padding:14px 18px;gap:12px;align-items:center;flex-wrap:wrap}
#portalAlerts>header h2{font-size:17px}#portalAlerts>header .eyebrow{display:none}
#portalAlerts>header span{font-size:12px;margin:4px 0 0;padding:0;border:0;background:none;display:block}
.notice-header-actions{display:flex;align-items:center;gap:8px}
#openPortalAlerts,.notice-dialog button{width:auto;height:auto;min-height:40px;border:1px solid #d5dfe2;border-radius:10px;background:#f5f8f8;padding:8px 12px;color:#294c55;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
#portalAlertsList{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0 18px 8px}
.notice-preview-row{display:flex;align-items:center;gap:8px;border-top:1px solid #edf0f2;min-width:0}
.notice-preview-open{display:grid;grid-template-columns:70px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;flex:1;min-width:0;min-height:52px;padding:10px 0;background:none;border:0;color:#293c45;cursor:pointer;font:inherit}
.notice-preview-open strong{font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notice-preview-open small{font-size:12px;color:#70808a}
.notice-level{font-size:11px;color:#667882;font-weight:650}
.is-critical .notice-level{color:#a34d42}.is-warning .notice-level{color:#8d6a29}
.notice-hide{width:36px;height:36px;flex:none;border:0;background:none;color:#6c7b83;border-radius:8px;font-size:19px;cursor:pointer}
.notice-preview-open:hover strong{text-decoration:underline}.notice-hide:hover{background:#eef2f3}
.notice-empty{font-size:13px;color:#697d88;margin:12px 0}
.notice-dialog{width:min(720px,calc(100vw - 24px));box-sizing:border-box;max-height:calc(100dvh - 24px);padding:0;border:1px solid #d8e0e3;border-radius:18px;color:#293c45;background:#f8fafb}
.notice-dialog[open]{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto}
.notice-dialog::backdrop{background:#172e3d70}
.notice-dialog>header,.notice-dialog>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px}
.personal-notices-bar{display:flex;justify-content:flex-end;margin:0 0 12px;max-width:100%}.personal-notices-bar button{min-height:40px;white-space:normal;text-align:left;max-width:100%}
.notice-dialog h2{margin:0;font-size:21px}.notice-dialog header p{margin:7px 0 0;font-size:13px;line-height:1.5;color:#6a7f89}
.notice-dialog .notice-close{min-width:40px;font-size:20px}.notice-filters{display:flex;gap:8px;padding:0 20px;flex-wrap:wrap}
.notice-filters button[aria-pressed=true]{color:white;background:#345b61;border-color:#345b61}
.notice-dialog-status{padding:0 20px;font-size:12px;color:#6a7f89}
.notice-dialog-list{overflow:auto;overscroll-behavior:contain;min-height:0;padding:0 20px;display:grid;gap:10px;align-content:start}
.notice-group{padding:12px 14px;background:white;border:1px solid #dce5e7;border-radius:12px;min-width:0}
.notice-group summary{cursor:pointer;min-height:40px}.notice-group summary>strong{display:block;font-size:14px;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}
.notice-detail{display:grid;gap:6px;color:inherit;text-decoration:none;font-size:14px;line-height:1.5;overflow-wrap:anywhere;padding:4px 0}
.notice-detail span{font-size:13px;color:#657b87}.notice-detail:hover strong{text-decoration:underline}
.notice-group details .notice-detail{margin-top:12px;padding-top:12px;border-top:1px solid #edf0f2}
.notice-dialog footer{border-top:1px solid #e0e6e8;margin-top:14px}
@media(max-width:600px){#portalAlerts>header{padding:12px}.notice-header-actions{margin-left:auto}#portalAlertsList{padding:0 12px 8px}.notice-preview-open{grid-template-columns:minmax(0,1fr);gap:3px;padding:8px 0;min-height:58px}.notice-preview-open .notice-level{display:none}.notice-preview-open strong{font-size:13px}.notice-preview-open small{font-size:11px}.notice-dialog>header,.notice-dialog>footer{padding:14px}.notice-dialog-list{padding:0 12px}.notice-filters{padding:0 14px}.notice-dialog-status{padding:0 14px}}
