/* Scoped message UI. No changes to Brain, financial forms, or engineering offer grids. */
[hidden].sm-notice,[hidden].sm-toast,[data-sm-badge][hidden]{display:none!important}
.sm-header-link{display:inline-flex!important;align-items:center;gap:7px;padding:8px 12px!important;border:1px solid #485251!important;border-radius:10px!important;background:#26332f!important;color:#fff!important;font-size:14px;white-space:nowrap;text-decoration:none;min-height:42px;box-sizing:border-box}
[data-sm-badge]{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 6px;border-radius:14px;background:#b13b27;color:#fff;font-size:12px;font-weight:700;box-sizing:border-box;vertical-align:middle}
.sm-notice{display:flex;align-items:center;gap:16px;background:#f0f8f4;border:1px solid #b7d9c8;border-inline-start:5px solid #207a58;border-radius:16px;padding:20px;margin-bottom:20px;color:#193d30;box-sizing:border-box}
.sm-symbol{display:flex;align-items:center;justify-content:center;background:#dceee4;border-radius:50%;width:46px;height:46px;flex:0 0 46px;font-size:23px}
.sm-notice-text{flex:1;min-width:0;line-height:1.8}.sm-notice-text strong{display:block;font-size:17px}.sm-notice-text p{margin:4px 0;font-size:14px;overflow-wrap:anywhere}.sm-notice-text small{font-size:13px;color:#436657}
.sm-notice-actions{display:flex;flex-direction:column;align-items:center;gap:8px;flex:0 0 auto}.sm-open{display:inline-flex!important;align-items:center;justify-content:center;gap:12px;min-height:46px;box-sizing:border-box;text-decoration:none;white-space:nowrap;font-weight:700;padding:11px 17px!important;background:#156748!important;color:#fff!important;border:1px solid #156748!important;border-radius:10px!important;line-height:1.5}.sm-open:hover{background:#104b35!important}.sm-all{color:#1b6148;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.sm-compact{margin-top:0;margin-bottom:20px;padding:14px 16px}.sm-compact .sm-notice-text strong{font-size:15px}
.sm-toast{position:fixed;inset-inline-end:22px;bottom:22px;z-index:1100;width:340px;max-width:calc(100vw - 32px);box-sizing:border-box;background:#fff;color:#183d30;border:1px solid #b7d9c8;border-radius:15px;box-shadow:0 8px 32px #182f3229;padding:20px;line-height:1.7;direction:rtl}.sm-toast strong{display:block;padding-inline-end:22px}.sm-toast p{font-size:13px;margin:8px 0 14px;overflow-wrap:anywhere}.sm-dismiss{position:absolute;inset-inline-end:8px;top:7px;width:36px;height:36px;background:transparent!important;border:0!important;color:#334b41!important;font-size:23px;padding:0!important}
.sm-inbox-card{padding:26px!important}.sm-inbox-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.sm-inbox-head h1{font-size:28px;margin:6px 0}.sm-kicker{color:#257252;font-size:13px;font-weight:700}.sm-inbox-head p{color:#627467;font-size:15px;line-height:1.8;margin:6px 0 10px}.sm-count{font-size:13px;color:#526359}
.sm-filters{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e4eae6;padding-bottom:18px}.sm-filter-buttons{display:flex;gap:7px}.sm-filter{font:inherit!important;font-size:14px!important;background:#fff!important;color:#344c41!important;border:1px solid #dce5df!important;border-radius:9px!important;min-height:44px!important;padding:10px 17px!important;white-space:nowrap}.sm-filter.selected{background:#eaf5ef!important;border-color:#8fbda3!important;color:#164a35!important}.sm-search{max-width:390px;flex:1}.sm-search input{width:100%;box-sizing:border-box;height:46px;border:1px solid #dce5df;border-radius:10px;padding:10px 14px;font:inherit}
.sm-thread{display:flex;align-items:center;gap:14px;padding:22px 10px;border-bottom:1px solid #e5ebe7;box-sizing:border-box}.sm-thread.sm-unread{background:#f4faf7}.sm-thread:last-child{border-bottom:none}.sm-thread-text{flex:1;min-width:0}.sm-thread-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sm-thread h2{font-size:17px;margin:0;line-height:1.8}.sm-avatar{background:#e7f0ea;color:#205f41;border:1px solid #d0e1d6;width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}.sm-thread-badge{border-radius:12px;padding:3px 9px;background:#ddf0e5;color:#165a3d;font-size:12px;font-weight:700}.sm-subject{font-size:14px;color:#43584b;line-height:1.7;margin:5px 0}.sm-subject span{font-size:12px;color:#718078}.sm-preview{font-size:14px;color:#5f6c64;line-height:1.8;margin:4px 0;overflow-wrap:anywhere}.sm-thread time{font-size:12px;color:#77857b}.sm-thread .sm-open{font-size:13px}.sm-empty{text-align:center;padding:48px 20px;color:#596f60}.sm-empty>span{font-size:34px}.sm-empty h2{font-size:20px;margin:15px 0 8px}.sm-empty p{line-height:1.8}.sm-empty a{display:inline-flex;margin-top:10px;text-decoration:none}.sm-more{display:block!important;margin:22px auto 0;min-height:44px}.sm-more[hidden]{display:none!important}#smInboxStatus{color:#9e3323;font-size:14px;line-height:1.7}#smInboxStatus:empty{display:none}
.sm-notice a:focus-visible,.sm-header-link:focus-visible,.sm-filter:focus-visible,.sm-toast a:focus-visible{outline:3px solid #267aa1!important;outline-offset:3px}
@media(max-width:700px){.sm-notice{align-items:flex-start;flex-wrap:wrap;gap:11px;padding:16px}.sm-notice-text{flex:1 1 calc(100% - 60px)}.sm-notice-actions{width:100%;align-items:stretch}.sm-notice-actions .sm-all{text-align:center}.sm-notice-text strong{font-size:15px}.sm-notice-text p{font-size:13px}.sm-inbox-card{padding:18px 14px!important}.sm-inbox-head{flex-wrap:wrap;gap:10px}.sm-inbox-head h1{font-size:24px}.sm-filters{flex-wrap:wrap;gap:12px}.sm-search{flex-basis:100%;max-width:none}.sm-thread{flex-wrap:wrap;padding:18px 10px;gap:10px}.sm-thread .sm-open{width:100%;white-space:normal}.sm-thread-text{flex:1 1 calc(100% - 56px)}.sm-thread h2{font-size:16px}.sm-toast{bottom:15px;inset-inline-end:15px}.sm-header-link{font-size:12px;min-height:40px;padding:6px 9px!important}.topbar .userbox{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.sm-notice,.sm-toast{scroll-behavior:auto!important}}
