/* HabisTu+ Notifications V17 — locked design + real notification stream. */
.habistu-notification-menu{position:relative;display:grid;place-items:center}
.habistu-notification-menu .habistu-plus-notification{position:relative;border:0;background:transparent;cursor:pointer}
.habistu-notification-badge{position:absolute;top:2px;right:1px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#e72424;color:#fff;font:800 .55rem/1 'Poppins',sans-serif;box-shadow:0 0 0 2px #fff}
.habistu-notification-menu.is-current .habistu-plus-notification,.habistu-notification-menu.is-open .habistu-plus-notification{background:#fff5dc}
.habistu-notification-dropdown{position:absolute;z-index:80;top:calc(100% + 14px);right:-42px;width:360px;padding:12px;border:1px solid #e4e9f0;border-radius:14px;background:#fff;box-shadow:0 18px 46px rgba(11,31,59,.16);font-family:'Poppins',sans-serif}
.habistu-notification-dropdown[hidden]{display:none}
.habistu-notification-dropdown__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 4px 9px}
.habistu-notification-dropdown__head strong{color:#0b1f3b;font-size:.82rem;font-weight:800}
.habistu-notification-dropdown__head a{color:#1769d2;text-decoration:none;font-size:.64rem;font-weight:600}
.habistu-notification-preview{display:grid}
.habistu-notification-preview__empty{padding:22px 12px;color:#718096;text-align:center;font-size:.68rem}
.habistu-notification-dropdown__foot{display:flex;align-items:center;justify-content:center;min-height:39px;margin-top:8px;border-radius:9px;background:#f3f7fd;color:#1263cc;text-decoration:none;font-size:.68rem;font-weight:700}

.habistu-notifications-v3{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:24px 0 120px;font-family:'Poppins',sans-serif;color:#0b1f3b}
.habistu-notifications-v3__intro{margin:0 0 18px}
.habistu-notifications-v3__eyebrow{display:block;color:#6d80a0;font-size:.58rem;font-weight:800;letter-spacing:.14em}
.habistu-notifications-v3__intro h1{margin:5px 0 5px;color:#0b1f3b;font-size:1.9rem;line-height:1.05;font-weight:800;letter-spacing:-.035em}
.habistu-notifications-v3__line{display:block;width:38px;height:3px;border-radius:999px;background:#ffc700}
.habistu-notifications-v3__intro p{margin:8px 0 0;color:#60769a;font-size:.73rem;line-height:1.55}
.habistu-notifications-v3__shell{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:520px;border:1px solid #e2e7ee;border-radius:11px;background:#fff;overflow:hidden;box-shadow:0 4px 18px rgba(11,31,59,.025)}
.habistu-notifications-v3__filters{padding:22px 18px;border-right:1px solid #e7ebf1}
.habistu-notifications-v3__filters h2{margin:0 0 14px;font-size:1.1rem;font-weight:800}
.habistu-notifications-v3__filter-list{display:grid;gap:5px}
.habistu-notifications-v3__filter-list button{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;width:100%;min-height:44px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#123260;text-align:left;font:500 .72rem/1.25 'Poppins',sans-serif;cursor:pointer}
.habistu-notifications-v3__filter-list button:hover{background:#f7f9fc}
.habistu-notifications-v3__filter-list button.is-active{background:#eaf2ff;color:#0b2d63;font-weight:700}
.habistu-notifications-v3__filter-icon{display:grid;place-items:center;width:26px;height:26px;color:#0d4aaf;font-size:1rem}
.habistu-notifications-v3__filter-icon.is-reaction{color:#fa334d;font-size:1.25rem}
.habistu-notifications-v3__filter-list strong{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ef2e2e;color:#fff;font-size:.55rem}
.habistu-notifications-v3__panel{min-width:0;padding:20px 18px 18px}
.habistu-notifications-v3__panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;padding:0 2px 10px;border-bottom:1px solid #edf0f4}
.habistu-notifications-v3__panel-head h2{margin:0;font-size:.95rem;font-weight:800}
.habistu-notifications-v3__mobile-label{display:none}
.habistu-notifications-v3__mark-all{display:inline-flex;align-items:center;gap:8px;padding:7px 4px;border:0;background:transparent;color:#1468d4;font:500 .65rem/1 'Poppins',sans-serif;cursor:pointer}
.habistu-notifications-v3__mark-all span{font-size:.9rem}
.habistu-notifications-v3__mark-all:disabled{opacity:.55;cursor:wait}
.habistu-notifications-v3__status{margin:10px 0 0;padding:9px 12px;border-radius:8px;background:#ebfbf3;color:#087d51;font-size:.66rem;font-weight:600}
.habistu-notifications-v3__loading{display:grid;justify-items:center;gap:4px;padding:60px 20px;color:#78879a}
.habistu-notifications-v3__loading span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#ffc700}
.habistu-notifications-v3__loading span:nth-child(2){opacity:.65}.habistu-notifications-v3__loading span:nth-child(3){opacity:.35}
.habistu-notifications-v3__loading p{margin:7px 0 0;font-size:.68rem}
.habistu-notifications-v3__list{display:grid}
.habistu-notification-item{position:relative;display:grid;grid-template-columns:8px 44px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:76px;padding:10px 8px;border-bottom:1px solid #edf0f4;color:inherit;text-decoration:none}
.habistu-notification-item:hover{background:#fbfcfe}
.habistu-notification-item__dot{width:6px;height:6px;border-radius:50%;background:#1a73e8;opacity:0}
.habistu-notification-item.is-unread .habistu-notification-item__dot{opacity:1}
.habistu-notification-item__avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;overflow:hidden;background:#f3f6fa}
.habistu-notification-item__avatar>img{width:100%;height:100%;object-fit:cover}
.habistu-notification-item__system{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:#eef5ff;color:#1768d2}
.habistu-notification-item__system svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.habistu-notification-item__copy{min-width:0}
.habistu-notification-item__copy strong{display:block;color:#102e5b;font-size:.72rem;line-height:1.35;font-weight:700}
.habistu-notification-item.is-read .habistu-notification-item__copy strong{font-weight:600}
.habistu-notification-item__copy p{margin:3px 0 0;color:#4e6485;font-size:.66rem;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.habistu-notification-item__copy small{display:block;margin-top:4px;color:#6d83a6;font-size:.6rem}
.habistu-notification-item__thumb{width:52px;height:52px;border-radius:7px;object-fit:cover}
.habistu-notification-item.is-compact{grid-template-columns:7px 34px minmax(0,1fr) 42px;min-height:58px;padding:7px 4px}
.habistu-notification-item.is-compact .habistu-notification-item__avatar{width:32px;height:32px}
.habistu-notification-item.is-compact .habistu-notification-item__copy strong{font-size:.61rem}
.habistu-notification-item.is-compact .habistu-notification-item__copy small{font-size:.55rem}
.habistu-notification-item.is-compact .habistu-notification-item__thumb{width:40px;height:40px}
.habistu-notifications-v3__empty{display:grid;justify-items:center;align-content:center;min-height:380px;padding:40px 20px;text-align:center}
.habistu-notifications-v3__empty-bell{width:82px;height:82px;color:#d6deeb}
.habistu-notifications-v3__empty-bell svg{width:100%;height:100%}
.habistu-notifications-v3__empty h3{margin:6px 0 0;font-size:1rem;font-weight:800}
.habistu-notifications-v3__empty p{max-width:480px;margin:8px 0 18px;color:#60769a;font-size:.71rem;line-height:1.6}
.habistu-notifications-v3__empty a{display:flex;align-items:center;justify-content:center;min-width:180px;min-height:44px;padding:0 18px;border-radius:8px;background:#ffc700;color:#0b1f3b;text-decoration:none;font-size:.7rem;font-weight:800}
.habistu-notifications-v3__more{display:block;min-width:120px;min-height:38px;margin:16px auto 2px;padding:0 16px;border:1px solid #d9e2ee;border-radius:999px;background:#fff;color:#173d70;font:600 .66rem/1 'Poppins',sans-serif;cursor:pointer}
.habistu-notifications-v3__mobile-filters{display:none}

@media(max-width:760px){
  .habistu-notification-dropdown{right:-58px;width:min(340px,calc(100vw - 24px))}
  .habistu-notifications-v3{width:100%;padding:16px 12px 110px}
  .habistu-notifications-v3__intro{padding:0 4px;margin-bottom:13px}
  .habistu-notifications-v3__intro h1{font-size:1.45rem}
  .habistu-notifications-v3__shell{display:block;min-height:0;border-radius:10px;overflow:visible}
  .habistu-notifications-v3__filters{display:none}
  .habistu-notifications-v3__panel{padding:14px 12px 16px}
  .habistu-notifications-v3__panel-head{align-items:flex-start}
  .habistu-notifications-v3__mobile-label{display:block;color:#6d80a0;font-size:.52rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
  .habistu-notifications-v3__panel-head h2{margin-top:3px;font-size:.9rem}
  .habistu-notifications-v3__mark-all{font-size:.58rem;white-space:nowrap}
  .habistu-notifications-v3__mobile-filters{display:flex;gap:7px;overflow-x:auto;margin:10px -2px 4px;padding:0 2px 5px;scrollbar-width:none}
  .habistu-notifications-v3__mobile-filters::-webkit-scrollbar{display:none}
  .habistu-notifications-v3__mobile-filters button{flex:0 0 auto;min-height:34px;padding:0 12px;border:1px solid #e2e7ef;border-radius:999px;background:#f7f9fc;color:#24466f;font:600 .58rem/1 'Poppins',sans-serif}
  .habistu-notifications-v3__mobile-filters button.is-active{border-color:#0b2d63;background:#0b2d63;color:#fff}
  .habistu-notification-item{grid-template-columns:7px 38px minmax(0,1fr) 45px;gap:8px;min-height:70px;padding:9px 2px}
  .habistu-notification-item__avatar{width:36px;height:36px}
  .habistu-notification-item__copy strong{font-size:.65rem}
  .habistu-notification-item__copy p{font-size:.59rem}
  .habistu-notification-item__copy small{font-size:.55rem}
  .habistu-notification-item__thumb{width:43px;height:43px}
  .habistu-notifications-v3__empty{min-height:340px;padding:30px 16px}
}

@media(max-width:430px){
  .habistu-notification-dropdown{position:fixed;top:70px;right:10px;left:10px;width:auto}
  .habistu-notifications-v3__mark-all{max-width:145px;line-height:1.3;text-align:right}
}
