/* SB_REPAIR149_WEB_DASHBOARD_FLOW_NOTIFICATIONS_PARITY
   Fixes web Dashboard widget overlap and polishes notification panel empty state.
   Pure frontend layer: no API/DB/backend changes.
*/

/* --- Dashboard flow: work widgets must be part of content flow, not fixed overlay. --- */
body.sb149-dashboard-flow-active #content{
  padding-bottom:38px!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets{
  position:static!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  width:100%!important;
  max-width:none!important;
  max-height:none!important;
  min-height:0!important;
  overflow:visible!important;
  z-index:auto!important;
  pointer-events:auto!important;
  box-sizing:border-box!important;
  margin:14px 0 0!important;
  padding:0!important;
  font-family:Inter,Segoe UI,Arial,sans-serif!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets.hidden{
  display:none!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-widgets{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:14px!important;
  align-items:stretch!important;
  max-width:none!important;
  width:100%!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-widget{
  position:relative!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #d4e2f1!important;
  border-radius:14px!important;
  box-shadow:0 10px 28px rgba(15,45,78,.055)!important;
  padding:0!important;
  min-height:292px!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0!important;
  padding:14px 15px 12px!important;
  border-bottom:1px solid #dce8f4!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-head h3{
  margin:0 0 4px!important;
  color:#071f3d!important;
  font-size:16px!important;
  font-weight:850!important;
  letter-spacing:-.01em!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-head p{
  margin:0!important;
  color:#60758f!important;
  font-size:12px!important;
  line-height:1.35!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-actions{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-stats{
  padding:12px 14px 8px!important;
  margin:0!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-list{
  padding:0 14px 14px!important;
  display:grid!important;
  gap:9px!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-item{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid #dce8f4!important;
  border-radius:12px!important;
  background:#fff!important;
  padding:12px 12px 12px 16px!important;
  box-shadow:none!important;
  transform:none!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-item::before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  bottom:12px;
  width:3px;
  border-radius:0 999px 999px 0;
  background:#2f6fec;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-item-title{
  margin-bottom:7px!important;
  color:#071f3d!important;
  font-size:14px!important;
  font-weight:850!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-stat{
  position:relative!important;
  min-height:66px!important;
  border-radius:12px!important;
  background:#f8fbff!important;
  border:1px solid #dce8f4!important;
  padding:10px 11px 10px 15px!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-stat::before{
  content:"";
  position:absolute;
  left:0;
  top:11px;
  bottom:11px;
  width:3px;
  border-radius:0 999px 999px 0;
  background:#2f6fec;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-stat b{
  display:block!important;
  font-size:22px!important;
  line-height:1.1!important;
  color:#071f3d!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-stat span{
  color:#64748b!important;
  font-size:11px!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-empty{
  min-height:92px!important;
  display:grid!important;
  place-items:center!important;
  border:1px dashed #cbd9ea!important;
  border-radius:12px!important;
  background:#fbfdff!important;
  color:#64748b!important;
}
body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-btn{
  min-height:30px!important;
  border-radius:8px!important;
  padding:7px 10px!important;
  font-weight:800!important;
  box-shadow:none!important;
}
body.sb149-dashboard-flow-active .sb144-dashboard-hero{
  min-height:100px!important;
  margin-bottom:14px!important;
}
body.sb149-dashboard-flow-active #content > .grid.cols-2{
  margin-top:14px!important;
  align-items:stretch!important;
}
body.sb149-dashboard-flow-active #content > .grid.cols-2 > .panel{
  min-height:138px!important;
}
body.sb149-dashboard-flow-active #content > .grid.cols-2 .panel-body{
  min-height:84px!important;
}
body.sb149-dashboard-flow-active #content > .grid.cols-4{
  margin-top:0!important;
}

@media(max-width:1250px){
  body.sb149-dashboard-flow-active #sb9258-dashboard-work-widgets .sb9258-widgets{
    grid-template-columns:1fr!important;
  }
}

/* --- Notifications: make REPAIR148 empty-state readable and closer to desktop. --- */
.notification-panel.sb148-notification-panel,
.notification-panel{
  z-index:250!important;
}
.notification-panel .empty.sb148-empty-state,
.notification-panel .sb148-empty-state{
  background:linear-gradient(180deg,rgba(255,255,255,.075) 0%,rgba(255,255,255,.045) 100%)!important;
  color:#eaf4ff!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  border-radius:0!important;
  margin:0!important;
  min-height:132px!important;
  padding:22px 24px 20px!important;
  box-shadow:none!important;
}
.notification-panel .sb148-empty-icon{
  background:rgba(37,99,235,.26)!important;
  border:1px solid rgba(147,197,253,.25)!important;
  color:#dbeafe!important;
  opacity:1!important;
}
.notification-panel .sb148-empty-title{
  color:#ffffff!important;
  font-size:14px!important;
  font-weight:850!important;
  text-shadow:none!important;
}
.notification-panel .sb148-empty-text{
  color:#bdd3e8!important;
  font-size:12px!important;
  line-height:1.45!important;
}
.notification-panel .sb148-notification-footer{
  background:linear-gradient(180deg,rgba(13,51,86,.96),#0b2b49)!important;
  border-top:1px solid rgba(255,255,255,.12)!important;
}
.notification-panel .sb148-news-button{
  background:#2563eb!important;
  border-color:#2563eb!important;
  color:#fff!important;
  box-shadow:0 6px 18px rgba(37,99,235,.24)!important;
}
.notification-panel .sb148-check-line{
  color:#8fb2d0!important;
}
.notification-panel .notice{
  background:rgba(255,255,255,.075)!important;
}
/* END SB_REPAIR149_WEB_DASHBOARD_FLOW_NOTIFICATIONS_PARITY */
