/* ProMaths One: unread menu counts and private in-app notification feed. */
.nav-menu-label{flex:1;min-width:0}
.notification-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#eeb65c;color:#443619;font-size:10px;font-weight:800;line-height:1;letter-spacing:0;flex-shrink:0;margin-left:auto;font-variant-numeric:tabular-nums}
.notification-badge[hidden]{display:none!important}
.nav button.active .notification-badge{background:#285d42;color:#fff}
.nav button:has(.notification-badge:not([hidden])):after{display:none}
.notification-bell{position:relative;width:37px;height:37px;border-radius:11px;color:#547363;background:#f0f5eb}
.notification-bell:hover{background:#e3eedb;color:#23553c}
.notification-bell .icon{width:19px;height:19px}
.notification-bell .notification-badge{position:absolute;top:-4px;right:-5px;height:18px;min-width:18px;padding:0 4px;background:#d7724d;color:white;font-size:9px;border:2px solid #fcfdfb}
.notification-bell.is-unavailable:after{content:'';position:absolute;right:3px;top:3px;width:6px;height:6px;border-radius:50%;background:#c28a40;border:1px solid white}
.notification-banner{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 15px;margin:0 0 20px;border:1px solid #dbe6cc;border-radius:11px;background:#f0f5e8;font-size:12px;color:#546d45}
.notification-banner-copy{display:flex;align-items:center;gap:10px;min-width:0}
.notification-banner-copy .icon{color:#7a965c;width:17px;height:17px}
.notification-banner .btn{white-space:nowrap;flex-shrink:0}
.notification-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.notification-tabs{display:flex;gap:3px;border:1px solid #dfe7d9;background:#f6f9f1;border-radius:9px;padding:3px}
.notification-tabs button{background:transparent;border-radius:6px;padding:7px 11px;font-size:11px;color:#6c7c61;min-height:33px}
.notification-tabs button.on{background:#fff;color:#315c3c;box-shadow:0 1px 4px #234c2e0e;font-weight:750}
.notification-filters{display:grid;grid-template-columns:1fr 1.3fr;gap:10px;margin-bottom:14px}
.notification-filters label{display:block;font-size:10px;color:#6c8063;font-weight:650;margin-bottom:5px}
.notification-filters select{font-size:11px;min-height:38px}
.notification-feed-summary{font-size:11px;color:#7c8a72;margin:12px 0;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.notification-feed{list-style:none;padding:0;margin:0;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}
.notification-item{display:flex;gap:3px;align-items:flex-start;border-top:1px solid #e8eee0;background:#fff;position:relative;padding-right:8px}
.notification-item:first-child{border-top:0}
.notification-item.is-unread{background:#f5f9ee}
.notification-main{display:flex;align-items:flex-start;gap:12px;padding:17px 15px;border:0;background:transparent;flex:1;min-width:0;text-align:left;color:var(--ink);border-radius:9px;line-height:1.55}
.notification-main:hover{background:#edf4e4}
.notification-item .notification-main:focus-visible{outline-offset:-3px}
.notification-item-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e7efdc;color:#729257;flex-shrink:0;margin-top:1px}
.notification-item-icon .icon{width:17px;height:17px}
.notification-item.is-read .notification-item-icon{background:#f2f5ed;color:#95a18c}
.notification-text{flex:1;min-width:0}
.notification-title{font-size:12px;font-weight:650;margin:0 0 5px;display:block;overflow-wrap:anywhere}
.notification-item.is-unread .notification-title{font-weight:800}
.notification-message{font-size:11px;color:#6a7c5e;display:block;margin-bottom:8px;white-space:pre-line;overflow-wrap:anywhere;line-height:1.7}
.notification-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:9px;color:#8a977e;line-height:1.5}
.notification-meta .notification-state{font-weight:750;color:#5e8248}
.notification-read-action{flex-shrink:0;margin-top:14px;width:31px;height:31px;border:1px solid #dfe9d6;background:white;color:#658753;border-radius:9px;display:grid;place-items:center}
.notification-read-action:hover{background:#e4efd9;color:#3e6d39}
.notification-read-action .icon{width:15px;height:15px}
.notification-read-check{width:31px;height:31px;display:grid;place-items:center;margin-top:14px;color:#c0ccba;flex-shrink:0}
.notification-read-check .icon{width:14px;height:14px}
.notification-more{text-align:center;padding:18px 0 2px}
.notification-empty{text-align:center;padding:35px 18px 28px;background:#fafcf6;border:1px dashed #dce6d2;border-radius:12px;color:#819475}
.notification-empty .icon{width:34px;height:34px;color:#a1b28e;margin-bottom:10px}
.notification-empty h3{font-size:16px;color:#557548;margin-bottom:7px}
.notification-empty p{font-size:12px;margin:0;line-height:1.75}
.notification-footnote{font-size:10px;color:#8f9c85;line-height:1.7;margin:15px 0 0}
.notification-target-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11px;color:#809172;margin-bottom:19px}
.notification-target-section{border-top:1px solid #e8eee0;padding-top:16px;margin-top:16px}
.notification-target-section h4{font-size:12px;margin-bottom:7px;color:#4c6e3b}
.notification-target-section p,.notification-target-section li{font-size:12px;line-height:1.85;color:#66795a;white-space:pre-line}
.notification-target-section ul{padding-left:19px;margin:0 0 8px}
.notification-target-notice{background:#f3f7eb;border-left:3px solid #b1c98f;padding:12px 15px;border-radius:0 9px 9px 0;font-size:12px;line-height:1.8;white-space:pre-line;margin-top:17px;color:#597443}
.notification-target-focus{box-shadow:0 0 0 2px #98b47b!important;scroll-margin-top:24px}
@media(max-width:760px){.notification-bell{width:32px;height:32px}.notification-banner{padding:11px 12px;font-size:11px;align-items:flex-start}.notification-banner .btn{font-size:10px;padding:7px 9px}.notification-main{padding:15px 11px;gap:9px}.notification-item-icon{width:29px;height:29px;border-radius:8px}.notification-read-action,.notification-read-check{width:29px;height:29px}.notification-toolbar{gap:9px}.notification-toolbar .btn{font-size:10px}.notification-filters{grid-template-columns:1fr}}
@media(max-width:480px){.notification-banner{display:block}.notification-banner .btn{margin:9px 0 0 27px}.notification-title{font-size:11px}.notification-message{font-size:10px}.notification-item-icon{width:26px;height:28px}.notification-meta{font-size:8px}.notification-read-action,.notification-read-check{width:25px;height:28px}.notification-item{padding-right:5px}.notification-toolbar{align-items:flex-start}}
@media print{.notification-bell,.notification-banner,.notification-toolbar,.notification-filters,.notification-feed,.notification-footnote{display:none!important}}
