/* Scoped office UI. Existing courier pages and modal/bell presentation are untouched. */
#notifications{--on143-ink:#102244;--on143-muted:#607491;--on143-line:#e5edf7;--on143-blue:#1669e9;color:var(--on143-ink)}
#notifications .on143-center{display:flex;flex-direction:column;gap:22px;max-width:1440px;margin:auto}
#notifications .on143-head{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding:5px 0 0}
#notifications .on143-head h2{font-size:21px;letter-spacing:-.45px;font-weight:700;margin:0 0 5px;color:#122342}
#notifications .on143-head p{margin:0;color:var(--on143-muted);font-size:14px;line-height:1.5}
#notifications .on143-heading-icon{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:15px;color:#1279f4;background:linear-gradient(135deg,#e1f6ff,#eaefff)}
#notifications .on143-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
#notifications .on143-icon svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#notifications .on143-heading-icon svg{width:26px;height:26px}
#notifications .on143-mark{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:44px;border-radius:12px;color:#235ca8;border:1px solid #d8e7fb;background:#fff;font-size:13px;font-weight:600;padding:10px 15px}
#notifications .on143-mark:disabled{opacity:.55;cursor:default}
#notifications .on143-surface{background:#fff;border:1px solid var(--on143-line);border-radius:20px;box-shadow:0 6px 30px #15346706;overflow:hidden}
#notifications .on143-top{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--on143-line);padding:0 25px;min-height:70px}
#notifications .on143-tabs{display:flex;align-items:stretch;gap:28px;min-width:0;align-self:stretch}
#notifications .on143-tabs button{position:relative;border:0;background:transparent;padding:22px 0;color:#65758f;font:inherit;font-size:14px;font-weight:600;min-height:48px;cursor:pointer;display:flex;align-items:center;gap:8px;white-space:nowrap}
#notifications .on143-tabs button[aria-selected=true]{color:#146ae7}
#notifications .on143-tabs button[aria-selected=true]:not(:has(.on143-tab-line)):after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:5px 5px 0 0;background:#267cf6}
#notifications .on143-tab-line{position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:5px 5px 0 0;background:linear-gradient(135deg,#40baff,#5c70f7)}
#notifications .on143-count{font-size:11px;background:#e8f2ff;color:#1768dc;border-radius:7px;padding:3px 6px;min-width:21px;text-align:center;line-height:1.2}
#notifications .on143-read-hint{display:flex;align-items:center;gap:7px;color:#6b7d95;font-size:12px;white-space:nowrap}
#notifications .on143-read-hint i,#notifications .on143-unread{display:inline-block;background:#1687ff;border-radius:50%;height:7px;width:7px;flex-shrink:0}
#notifications .on143-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(140px,180px) minmax(160px,210px);align-items:end;gap:14px;padding:20px 25px;background:linear-gradient(#fff,#fbfdff);border-bottom:1px solid var(--on143-line)}
#notifications .on143-filters label{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0;color:#6d7f95;font-size:12px;font-weight:500}
#notifications .on143-filters input,#notifications .on143-filters select{min-width:0;width:100%;height:43px;box-sizing:border-box;border:1px solid #dfe8f4;background:#fff;border-radius:10px;color:#263e60;padding:9px 12px;font:inherit;font-size:13px;line-height:1.4}
#notifications .on143-search{position:relative;justify-content:end}
#notifications .on143-search>.on143-icon{position:absolute;left:13px;bottom:12px;color:#89a1bf;pointer-events:none}
#notifications .on143-search input{padding-left:40px}
#notifications .on143-search>.on143-icon svg{width:19px;height:19px}
#notifications .on143-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#notifications .on143-row{display:grid;grid-template-columns:44px minmax(0,1fr) max-content 12px;align-items:center;gap:18px;text-align:left;width:100%;min-height:100px;padding:20px 25px;box-sizing:border-box;border:0;border-bottom:1px solid #edf2f8;border-radius:0;background:#fff;font:inherit;color:inherit;cursor:pointer;transition:background-color .15s ease;touch-action:manipulation}
#notifications .on143-row:hover{background:#f7faff}
#notifications .on143-row:active{background:#eef5ff}
#notifications .on143-row.unread{background:linear-gradient(90deg,#f5f9ff,#fff 42%)}
#notifications .on143-row.unread:hover{background:#f1f7ff}
#notifications .on143-row-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#eaf3ff;color:#1677ed}
#notifications .on143-row-symbol svg{width:23px;height:23px}
#notifications .on143-row.red .on143-row-symbol{background:#fff0f2;color:#ee4764}
#notifications .on143-row.orange .on143-row-symbol{background:#fff5e7;color:#e79319}
#notifications .on143-row.green .on143-row-symbol{background:#e8f9f1;color:#14a66b}
#notifications .on143-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
#notifications .on143-row-title{display:flex;align-items:center;gap:9px;min-width:0}
#notifications .on143-row-title strong{font-size:14px;font-weight:650;letter-spacing:-.1px;line-height:1.45;overflow-wrap:anywhere}
#notifications .on143-place{font-size:13px;color:#627691;line-height:1.5;overflow-wrap:anywhere}
#notifications .on143-meta{display:flex;align-items:center;gap:15px;font-size:11px;color:#8595aa;line-height:1.4}
#notifications .on143-row-side{display:flex;flex-direction:column;align-items:flex-end;gap:9px;padding-left:10px;white-space:nowrap}
#notifications .on143-row-side time{font-size:12px;font-weight:500;color:#6d7d96;font-variant-numeric:tabular-nums}
#notifications .on143-row-status{display:inline-block;color:#667c96;background:#f1f5f9;font-size:10px;line-height:1.2;font-weight:600;border-radius:6px;padding:4px 7px}
#notifications .on143-row.unread .on143-row-status{color:#2468c2;background:#e8f1ff}
#notifications .on143-row.green .on143-row-status{color:#188458;background:#e9f8f0}
#notifications .on143-chevron{font-size:25px;font-weight:300;color:#9caec4;line-height:1}
#notifications .on143-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:18px 25px;background:#fcfdff}
#notifications .on143-foot p{font-size:12px;color:#8291a6;margin:0;line-height:1.4}
#notifications .on143-foot nav{display:flex;align-items:center;gap:10px;font-size:12px;color:#768ba4}
#notifications .on143-foot .btn{font-size:12px;min-height:38px;border-radius:9px;padding:8px 12px}
#notifications .on143-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:290px;text-align:center;padding:32px;box-sizing:border-box}
#notifications .on143-empty>.on143-icon,#notifications .on143-empty>svg{color:#70a8ed;background:#f0f6ff;width:60px;height:60px;border-radius:20px;padding:15px;box-sizing:border-box}
#notifications .on143-empty h3{font-size:16px;margin:0;color:#324c6d;font-weight:600}
#notifications .on143-empty p{font-size:13px;margin:0;color:#7e8fa6;line-height:1.6}
#notifications .on143-error{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:13px;color:#a33344;background:#fff3f4;padding:15px 25px;border-bottom:1px solid #ffe3e7}
#notifications .on143-error[hidden]{display:none}
#notifications button:focus-visible,#notifications input:focus-visible,#notifications select:focus-visible{outline:3px solid #8fbaf5;outline-offset:3px}
#managerApp.pd121 .pd121-hero[data-page=notifications]{background:linear-gradient(100deg,#f8fcff,#edf5ff 70%,#e9f1ff);min-height:132px}
@media(max-width:1000px){#notifications .on143-filters{grid-template-columns:minmax(180px,1fr) 155px 170px}#notifications .on143-tabs{gap:20px}#notifications .on143-read-hint{display:none}}
@media(max-width:700px){#notifications .on143-head h2{font-size:19px}#notifications .on143-heading-icon{display:none}#notifications .on143-head{gap:13px}#notifications .on143-head .on143-mark{width:100%}#notifications .on143-top{padding:0 16px;min-height:61px}#notifications .on143-tabs{gap:17px;justify-content:space-between;width:100%}#notifications .on143-tabs button{font-size:12px;padding:18px 0;gap:5px}#notifications .on143-count{font-size:10px;padding:3px 5px}#notifications .on143-filters{padding:16px;gap:12px;grid-template-columns:1fr 1fr}#notifications .on143-search{grid-column:1/-1}#notifications .on143-row{padding:17px 16px;gap:12px;grid-template-columns:38px minmax(0,1fr) max-content}#notifications .on143-row-symbol{width:38px;height:38px;border-radius:12px}#notifications .on143-row-side{padding-left:0}#notifications .on143-row-title strong{font-size:13px}#notifications .on143-place{font-size:12px}#notifications .on143-meta{font-size:10px;gap:9px}#notifications .on143-chevron{display:none}#notifications .on143-foot{padding:16px;gap:13px}#notifications .on143-foot nav{width:100%;justify-content:space-between}#notifications .on143-foot .btn{min-height:44px}#notifications .on143-surface{border-radius:16px}}
@media(prefers-reduced-motion:reduce){#notifications *,#notifications *:before,#notifications *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
