/* Scoped V74E alert centre. The launcher occupies normal header layout. */
#moAlertsLauncher{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;padding:9px 13px;border:1px solid #b9cde5;border-radius:12px;background:#fff;color:#184a83;font-family:inherit;font-weight:600;font-size:13px;line-height:1.3;cursor:pointer;white-space:nowrap;}
#moAlertsLauncher[hidden]{display:none!important;}
#moWorkspaceBar:has(#moAlertsLauncher){flex-wrap:wrap;}
#view-start .page-header:has(#moAlertsLauncher){display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
#view-start .page-header:has(#moAlertsLauncher)>p{flex-basis:100%;}
#topbar #moAlertsLauncher{margin-left:auto;background:#163454;color:#fff;border-color:#647d9b;padding:8px 10px;font-size:12px;}
#moScannerAlerts{position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid #d3dfed;border-radius:20px;color:#183653;background:#fff;box-sizing:border-box;box-shadow:0 20px 60px #06172d55;overflow:hidden;}
#moScannerAlerts::backdrop{background:#081a3380;}
#moScannerAlerts .mo-alert-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 26px);min-height:0;}
#moScannerAlerts header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #dce5ef;flex-shrink:0;}
#moScannerAlerts h2{font-size:20px;line-height:1.3;margin:0;}
#moScannerAlerts h3{font-size:14px;line-height:1.4;margin:0;overflow-wrap:anywhere;}
#moScannerAlerts .mo-alert-eyebrow{margin:0 0 4px;font-size:10px;letter-spacing:.08em;color:#526883;}
#moScannerAlerts .mo-alert-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:16px 20px;scrollbar-width:thin;scrollbar-color:#477cb7 #eef3f9;}
#moScannerAlerts p{font-size:12px;line-height:1.6;overflow-wrap:anywhere;}
#moScannerAlerts .mo-alert-intro{margin:0 0 16px;color:#4a6080;}
#moScannerAlerts button{min-height:44px;min-width:44px;max-width:100%;padding:9px 12px;box-sizing:border-box;background:#edf4fe;border:1px solid #b8cde9;border-radius:10px;color:#174b84;white-space:normal;font-family:inherit;font-size:13px;font-weight:650;line-height:1.4;cursor:pointer;}
#moScannerAlerts [data-alert-close]{font-size:22px;background:transparent;border-color:transparent;flex-shrink:0;}
#moScannerAlerts .mo-alert-control,#moScannerAlerts .mo-alert-list-heading,#moScannerAlerts .mo-alert-item-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
#moScannerAlerts .mo-alert-control strong{font-size:13px;}
#moScannerAlerts .mo-alert-control{padding:12px;background:#f1f6fc;border-radius:12px;margin-bottom:12px;}
#moScannerAlerts details{border:1px solid #dce5ef;border-radius:12px;}
#moScannerAlerts summary{min-height:44px;box-sizing:border-box;padding:12px;font-size:13px;font-weight:600;cursor:pointer;overflow-wrap:anywhere;}
#moScannerAlerts form{padding:0 12px 12px;}
#moScannerAlerts .mo-alert-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
#moScannerAlerts label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:#4a6080;min-width:0;}
#moScannerAlerts select{width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:8px;border:1px solid #aac3e2;border-radius:10px;background:#fff;color:#183653;font-family:inherit;font-size:14px;}
#moScannerAlerts #moAlertCriteria{padding:10px;background:#f4f7fb;border-radius:10px;}
#moScannerAlerts .mo-alert-note,#moScannerAlerts .mo-alert-meta{color:#4a6080;}
#moScannerAlerts #moAlertFormStatus:empty{display:none;}
#moScannerAlerts #moAlertStatus{margin:14px 0;color:#4a6080;}
#moScannerAlerts #moAlertList{list-style:none;margin:12px 0;padding:0;}
#moScannerAlerts .mo-alert-item{padding:14px;border:1px solid #d5e2f1;border-radius:14px;margin-bottom:10px;}
#moScannerAlerts .mo-alert-item-heading h3{flex:1 1 180px;}
#moScannerAlerts .mo-alert-read{font-size:11px;color:#275b98;}
#moScannerAlerts .mo-alert-meta{margin:6px 0;}
#moScannerAlerts .mo-alert-reasons{border:0;background:#f4f7fb;margin:10px 0;}
#moScannerAlerts .mo-alert-reasons p{padding:0 12px 10px;margin:0;}
#moScannerAlerts footer{display:flex;justify-content:flex-end;padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid #dce5ef;flex-shrink:0;}
#moScannerAlerts :is(button,select,summary):focus-visible,#moAlertsLauncher:focus-visible{outline:3px solid #2d7cda;outline-offset:2px;}
#moScannerAlerts [hidden],#moAlertsArrival[hidden]{display:none!important;}
#moAlertsArrival{margin:12px 0;padding:12px 14px;border:1px solid #bcd1ec;border-radius:12px;background:#eff5fd;color:#234e7d;font-size:13px;line-height:1.6;overflow-wrap:anywhere;}
@media(max-width:480px){#moScannerAlerts .mo-alert-fields{grid-template-columns:minmax(0,1fr);}#moScannerAlerts select{font-size:16px;}#moScannerAlerts :is(header,.mo-alert-scroll,footer){padding-left:12px;padding-right:12px;}#moScannerAlerts h2{font-size:18px;}}
@media(max-height:400px){#moScannerAlerts{max-height:calc(100dvh - 8px);}#moScannerAlerts .mo-alert-shell{max-height:calc(100dvh - 10px);}#moScannerAlerts header,#moScannerAlerts footer{padding-top:4px;padding-bottom:4px;}#moScannerAlerts .mo-alert-eyebrow{display:none;}}
