.mic-announcement-dialog {width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:0;box-sizing:border-box}
.mic-announcement-dialog .profile-card {padding:24px;max-width:100%;box-sizing:border-box}
.mic-announcement-dialog .form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.mic-announcement-dialog .form-grid label {display:flex;flex-direction:column;gap:6px;min-width:0}
.mic-announcement-dialog .form-grid label:has(textarea) {grid-column:1/-1}
.mic-announcement-dialog input,.mic-announcement-dialog textarea,.mic-announcement-dialog select {width:100%;max-width:100%;box-sizing:border-box}
.mic-announcement-dialog select[multiple] {min-height:100px}
.mic-announcement-dialog button {margin:4px}
.mic-message p {white-space:pre-wrap;overflow-wrap:anywhere}
.mic-message img {max-width:100%;height:auto}
@media(max-width:600px){.mic-announcement-dialog .form-grid {grid-template-columns:1fr}.mic-announcement-dialog .profile-card {padding:16px}}
.mic-business-details{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:8px 16px}
.mic-business-details dt{color:var(--muted,#526578);font-size:12px}
.mic-business-details dd{margin:0;overflow-wrap:anywhere;font-weight:600}
.mic-current-business,.mic-delivery-history{margin-top:22px;border-top:1px solid #d6e0e8;padding-top:16px}
.mic-delivery-history .notification-item p{font-size:12px;overflow-wrap:anywhere}
body.mic-direct-view>:not(#micDirectDestination){display:none!important}
body.mic-direct-view>#micDirectDestination{display:block!important;visibility:visible!important;max-width:1000px;min-height:100vh;margin:0 auto;padding:24px}
.mic-direct-header{margin-bottom:20px}
.mic-direct-header h1{color:#0f2f57;font-size:28px;margin:8px 0}
.mic-direct-actions{display:flex;gap:10px;flex-wrap:wrap}
.mic-direct-content{overflow-wrap:anywhere}
@media(max-width:600px){body.mic-direct-view>#micDirectDestination{padding:20px 14px}.mic-business-details{grid-template-columns:1fr;gap:5px}.mic-business-details dd{margin-bottom:10px}.mic-direct-header h1{font-size:24px}}

/* Production Notification Center only. Shared announcement editors and other
   notification-shaped dialogs retain their existing styles and behavior. */
#notificationDialog{width:min(1040px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:min(850px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);min-width:0;padding:0;overflow:hidden;box-sizing:border-box;transition:none}
#notificationDialog>.profile-card{display:flex;flex-direction:column;width:100%;height:100%;max-height:100%;min-height:0;min-width:0;box-sizing:border-box;overflow:hidden}
#notificationDialog>.profile-card>.profile-header,#notificationDialog>.profile-card>.profile-actions{flex:none;min-width:0}
#notificationDialog #notificationList{display:flex;flex:1;min-height:0;min-width:0;margin:0;overflow:hidden}
#notificationDialog .mic-notification-center{display:flex;flex:1;flex-direction:column;gap:10px;min-height:0;min-width:0;padding:0 20px;overflow:hidden}
#notificationDialog .mic-notification-controls{display:flex;flex:none;flex-direction:column;gap:10px;min-height:0;min-width:0;max-height:min(60%,calc(100% - 150px));overflow:auto;overscroll-behavior:contain;padding:2px 4px 3px 0;scrollbar-gutter:stable}
#notificationDialog .mic-notification-controls>*{flex:none}
#notificationDialog .mic-notification-toolbar,#notificationDialog .mic-notification-views,#notificationDialog .mic-notification-search,#notificationDialog .mic-notification-card-actions,#notificationDialog .mic-notification-feedback{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
#notificationDialog .mic-notification-toolbar{justify-content:space-between}
#notificationDialog .mic-notification-views button[aria-pressed=true]{background:var(--navy,#103f67);color:#fff;border-color:var(--navy,#103f67)}
#notificationDialog .mic-notification-search{align-items:flex-end;flex-wrap:nowrap}
#notificationDialog .mic-notification-search>label{flex:1;min-width:0}
#notificationDialog .mic-notification-center label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:650;color:var(--navy,#103f67)}
#notificationDialog .mic-notification-center input,#notificationDialog .mic-notification-center select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;border:1px solid #cbd9e5;border-radius:8px;background:#fff;color:var(--navy,#103f67);padding:8px 10px;font:inherit;font-size:13px}
#notificationDialog .mic-notification-filters{flex:none;border:1px solid #dce5ed;border-radius:9px;padding:8px 10px;min-width:0}
#notificationDialog .mic-notification-filters>summary{cursor:pointer;font-weight:700;font-size:13px;color:var(--navy,#103f67)}
#notificationDialog .mic-notification-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:9px;padding-top:10px;min-width:0}
#notificationDialog .mic-notification-help,#notificationDialog .mic-notification-results,#notificationDialog .mic-notification-status{font-size:12px;line-height:1.45;margin:0;color:var(--muted,#526578);overflow-wrap:anywhere}
#notificationDialog .mic-notification-feedback:has(.mic-notification-status:empty){display:none}
#notificationDialog .mic-notification-status.is-error{color:#a82a22;font-weight:650}
#notificationDialog .mic-notification-results{font-weight:650;color:var(--navy,#103f67)}
#notificationDialog .mic-notification-rows{flex:1;min-height:90px;min-width:0;overflow:auto;overscroll-behavior:contain;padding:2px 4px 8px 0;scrollbar-gutter:stable}
#notificationDialog .mic-notification-card{border:1px solid #dce5ed;border-radius:11px;padding:14px;margin-bottom:10px;min-width:0;background:#fff;overflow-wrap:anywhere}
#notificationDialog .mic-notification-card.is-unread{border-inline-start:4px solid #1769aa;background:#f3f9ff}
#notificationDialog .mic-notification-card.is-untracked{background:#f8fafc}
#notificationDialog .mic-notification-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
#notificationDialog .mic-notification-card h3{margin:0;font-size:15px;line-height:1.4;color:var(--navy,#103f67);overflow-wrap:anywhere}
#notificationDialog .mic-notification-pill{display:inline-block;flex:none;max-width:100%;font-size:11px;line-height:1.4;font-weight:700;color:#17517b;background:#e8f0f7;border-radius:999px;padding:3px 8px}
#notificationDialog .is-unread .mic-notification-pill{background:#dcecff;color:#104b83}
#notificationDialog .mic-notification-message{white-space:pre-wrap;font-size:13px;line-height:1.5;color:#334e65;margin:8px 0}
#notificationDialog .mic-notification-meta{font-size:12px;line-height:1.5;margin:4px 0;color:#435f77}
#notificationDialog .mic-notification-dates{display:flex;flex-wrap:wrap;gap:4px 14px;color:#526578;font-size:11px;line-height:1.5;margin-top:6px}
#notificationDialog .mic-notification-card-actions{margin-top:12px}
#notificationDialog .mic-notification-group{margin-top:10px;border-top:1px solid #dce5ed;padding-top:9px}
#notificationDialog .mic-notification-group>summary{cursor:pointer;font-size:12px;font-weight:700;color:var(--navy,#103f67)}
#notificationDialog .mic-notification-events{display:grid;gap:8px;margin-top:10px}
#notificationDialog .mic-notification-event{border-left:2px solid #c7dbea;padding:8px 10px;background:#fff;border-radius:5px;min-width:0}
#notificationDialog .mic-notification-event h4{margin:0 0 5px;font-size:13px;color:var(--navy,#103f67)}
#notificationDialog .mic-notification-event p,#notificationDialog .mic-notification-event time,#notificationDialog .mic-notification-event details{display:block;margin:4px 0;font-size:12px;line-height:1.45;color:#435f77}
#notificationDialog .mic-notification-platform>h3{font-size:13px;margin:4px 0;color:var(--navy,#103f67)}
#notificationDialog .mic-notification-platform>.mic-notification-help{margin:4px 0 10px}
#notificationDialog .mic-notification-pagination{flex:none;display:flex;justify-content:center;min-width:0;padding-bottom:4px}
#notificationDialog .mic-notification-center button{min-height:34px;white-space:normal;overflow-wrap:anywhere}
#notificationDialog .mic-notification-center button:disabled{cursor:wait;opacity:.6}
#notificationDialog .mic-notification-center :focus-visible{outline:3px solid #78afe0;outline-offset:2px}
@media(max-width:700px){#notificationDialog .mic-notification-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#notificationDialog .mic-notification-filter-grid>button{grid-column:1/-1}#notificationDialog .mic-notification-center{padding:0 12px;gap:8px}#notificationDialog .mic-notification-card-heading{flex-wrap:wrap;gap:6px}#notificationDialog .mic-notification-help{font-size:11px}#notificationDialog .mic-notification-search input{font-size:12px}#notificationDialog .mic-notification-toolbar>.button{font-size:11px}}
@media(max-height:650px){#notificationDialog .mic-notification-help{font-size:10px;line-height:1.3}#notificationDialog .mic-notification-center{gap:6px}#notificationDialog>.profile-card>.profile-header,#notificationDialog>.profile-card>.profile-actions{padding-block:10px}#notificationDialog .mic-notification-rows{min-height:60px}}
