/* V141: notification centre (features/notify/notify.js). */
.ntf-dlg{border:0;padding:0;width:min(560px,100vw);max-width:100vw;height:min(88vh,900px);max-height:100vh;border-radius:16px;box-shadow:0 20px 60px rgba(20,16,40,.35);display:flex;flex-direction:column;overflow:hidden;background:#f6f5fa;color:#1f2433}
.ntf-dlg:not([open]){display:none}
.ntf-dlg::backdrop{background:rgba(20,16,40,.45)}
.ntf-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;background:#fff;border-bottom:1px solid #ece8f3}
.ntf-head h2{margin:0;font-size:20px;color:#2b1d45}
.ntf-dlg .ntf-x{min-height:0;width:36px;height:36px;padding:0;border-radius:50%;border:0;background:#f1edf7;color:#4a3a63;font-size:16px;box-shadow:none}
.ntf-push{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 16px;background:#fff7e6;border-bottom:1px solid #f3e1b8;font-size:13px;color:#5b4a1d}
.ntf-push.on{background:#eaf7ef;border-color:#cbe9d6;color:#1d5b37}
.ntf-push.err{background:#fdecec;border-color:#f4caca;color:#8a1f1f}
.ntf-push-msg{flex:1 1 220px;line-height:1.35}
.ntf-dlg .ntf-btn,.ntf-offer .ntf-btn{min-height:0;height:34px;padding:0 14px;border-radius:17px;font-size:13px;font-weight:600;border:1px solid #cdbde2;background:#fff;color:#662d91;box-shadow:none;cursor:pointer;white-space:nowrap}
.ntf-dlg .ntf-btn.primary,.ntf-offer .ntf-btn.primary{background:#662d91;border-color:#662d91;color:#fff}
.ntf-dlg .ntf-btn.ghost,.ntf-offer .ntf-btn.ghost{background:transparent;border-color:transparent;color:#6b6280}
.ntf-tabs{display:flex;gap:6px;padding:10px 12px 0;background:#fff;border-bottom:1px solid #ece8f3;overflow-x:auto}
.ntf-dlg .ntf-tab{flex:1 0 auto;min-height:0;height:40px;padding:0 12px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#5f5873;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-shadow:none;cursor:pointer}
.ntf-dlg .ntf-tab.on{color:#662d91;border-bottom-color:#662d91}
.ntf-n{min-width:20px;height:20px;padding:0 6px;border-radius:10px;font-size:12px;line-height:20px;text-align:center;background:#d8d3e3;color:#3c3450}
.ntf-n.bad{background:#d93025;color:#fff}.ntf-n.warn{background:#f29900;color:#fff}.ntf-n.info{background:#1a73e8;color:#fff}
.ntf-body{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:10px;-webkit-overflow-scrolling:touch}
.ntf-alert{margin:0;padding:8px 12px;border-radius:10px;background:#fdecec;color:#a11d1d;font-weight:600;font-size:13px}
.ntf-empty{margin:24px 0;text-align:center;color:#7a7390}
.ntf-dlg .ntf-card,.ntf-dlg .ntf-news{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;min-height:0;height:auto;text-align:left;padding:12px 14px 12px 16px;border:1px solid #e6e1ef;border-left:5px solid #f29900;border-radius:12px;background:#fff;color:inherit;font:inherit;box-shadow:0 1px 2px rgba(30,20,60,.06);cursor:pointer;white-space:normal}
.ntf-dlg .ntf-card.late{border-left-color:#d93025;background:#fffafa}
.ntf-dlg .ntf-card:hover,.ntf-dlg .ntf-news:hover{border-color:#cdbde2;box-shadow:0 2px 8px rgba(102,45,145,.15)}
.ntf-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ntf-kind{font-size:11px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;padding:2px 8px;border-radius:8px;background:#efe9f7;color:#5a2c84}
.ntf-kind.k-advance,.ntf-kind.k-work{background:#e8f0fe;color:#1a4fa8}.ntf-kind.k-doc,.ntf-kind.k-olddoc{background:#e6f4ea;color:#1e6b3a}.ntf-kind.k-leave{background:#fef3e0;color:#8a5300}.ntf-kind.k-task{background:#f3e8fd;color:#6a1b9a}
.ntf-kind.k-reply{background:#e8f0fe;color:#1a4fa8}.ntf-kind.k-info{background:#eef0f3;color:#55606e}
.ntf-due{font-size:12px;font-weight:600;color:#8a5300;white-space:nowrap}.ntf-due.bad{color:#d93025}
.ntf-title{font-size:15px;font-weight:700;color:#1f2433;line-height:1.3}
.ntf-sub{font-size:13px;color:#5f6676;line-height:1.35}
.ntf-step{font-size:12px;color:#662d91;font-weight:600}
.ntf-dlg .ntf-news{border-left-color:#d8d3e3}
.ntf-dlg .ntf-news.new{border-left-color:#1a73e8;background:#f5f9ff}
.ntf-news.new .ntf-msg{font-weight:600;color:#1f2433}
.ntf-msg{font-size:14px;color:#4c5262;line-height:1.35}
.ntf-time{font-size:12px;color:#8a8499;white-space:nowrap}
.ntf-tools{display:flex;justify-content:flex-end}
.ntf-dlg .ntf-link{min-height:0;height:auto;padding:2px 4px;border:0;background:none;color:#1a73e8;font-size:13px;font-weight:600;box-shadow:none;cursor:pointer}
.ntf-offer{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(76px + env(safe-area-inset-bottom));z-index:60;display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:min(560px,calc(100vw - 20px));padding:10px 12px;border-radius:14px;background:#2b1d45;color:#fff;font-size:13px;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.ntf-offer>span{flex:1 1 220px;line-height:1.35}
.ntf-offer .ntf-btn.ghost{color:#d8cdea}
.m-nav-item.ntf-hot .m-nav-badge{background:#d93025;animation:ntf-pulse 1.6s ease-in-out infinite}
@keyframes ntf-pulse{0%,100%{box-shadow:0 0 0 0 rgba(217,48,37,.55)}50%{box-shadow:0 0 0 6px rgba(217,48,37,0)}}
@media(max-width:640px){.ntf-dlg{width:100vw;height:100vh;height:100dvh;max-height:none;border-radius:0}.ntf-head{padding-top:calc(12px + env(safe-area-inset-top))}.ntf-dlg .ntf-tab{font-size:13px;padding:0 8px}}
body.ops-dark .ntf-dlg{background:#151a26;color:#e6eaf2}
body.ops-dark .ntf-head,body.ops-dark .ntf-tabs{background:#1b2232;border-color:#2c3548}
body.ops-dark .ntf-head h2,body.ops-dark .ntf-title{color:#eef1f7}
body.ops-dark .ntf-dlg .ntf-card,body.ops-dark .ntf-dlg .ntf-news{background:#1f2738;border-color:#2c3548;color:#e6eaf2}
body.ops-dark .ntf-dlg .ntf-card.late{background:#2a1f26}
body.ops-dark .ntf-dlg .ntf-news.new{background:#1d2a40}
body.ops-dark .ntf-sub,body.ops-dark .ntf-msg{color:#b8c2d3}
body.ops-dark .ntf-news.new .ntf-msg{color:#eef1f7}
.ntf-dlg .ntf-card,.ntf-dlg .ntf-news{box-sizing:border-box;flex:none;overflow:visible;line-height:1.35}
.ntf-dlg .ntf-card:focus-visible,.ntf-dlg .ntf-news:focus-visible{outline:2px solid #662d91;outline-offset:2px}
.ntf-top{flex-wrap:wrap;row-gap:4px}
.ntf-title,.ntf-msg,.ntf-sub{display:block;overflow-wrap:anywhere;word-break:break-word}
.ntf-dlg .ntf-tab{flex:1 1 0;min-width:0;white-space:nowrap}
@media(max-width:640px){.ntf-dlg .ntf-tab{font-size:12.5px;padding:0 4px;gap:4px}.ntf-n{min-width:18px;height:18px;line-height:18px;font-size:11px;padding:0 5px}.ntf-body{padding:10px}.ntf-dlg .ntf-card,.ntf-dlg .ntf-news{padding:10px 12px 10px 14px}}
