/* Sigma OS Dashboard Step 6 — Active Jobs + Customer Source */
#body.sigma-dashboard-host .sdr-grid-bottom{gap:14px!important;height:278px!important;min-height:278px!important;max-height:278px!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-card{border:1px solid #e4e8ed!important;border-radius:18px!important;background:#fff!important;box-shadow:0 5px 18px rgba(22,34,50,.035)!important;overflow:hidden!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-card>header{height:54px!important;min-height:54px!important;padding:0 18px!important;border-bottom:1px solid #edf0f3!important;border-radius:18px 18px 0 0!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-card>header h3{font-size:16px!important;color:#172033!important;letter-spacing:-.01em!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-card>header span{font-size:13px!important;padding:5px 9px!important;border-radius:999px!important;background:#f7f8fa!important;color:#5d6877!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-card>header button{font-size:14px!important;font-weight:650!important;padding:6px 9px!important;border-radius:9px!important;color:#c92a48!important;background:#fff7f9!important;border:1px solid #f0d9df!important}

/* Active jobs becomes a compact operational table. */
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table{height:calc(100% - 54px)!important;overflow:auto!important;scrollbar-width:thin!important;scrollbar-color:#d9dde3 transparent!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table table{table-layout:fixed!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table th{position:sticky!important;top:0!important;z-index:2!important;padding:9px 12px!important;background:#fafbfc!important;color:#5c6877!important;font-size:13px!important;font-weight:700!important;letter-spacing:.01em!important;border-bottom:1px solid #e9edf1!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table td{padding:10px 12px!important;color:#465363!important;font-size:14px!important;line-height:1.25!important;border-top:1px solid #f0f2f4!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table tbody tr{transition:background .14s ease!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table tbody tr:hover{background:#fafbfc!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table th:nth-child(1),#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table td:nth-child(1){width:12%!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table th:nth-child(2),#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table td:nth-child(2){width:29%!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table th:nth-child(3),#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table td:nth-child(3){width:22%!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table th:nth-child(4),#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table td:nth-child(4){width:20%!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table th:nth-child(5),#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table td:nth-child(5){width:17%!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table td b{font-size:14px!important;color:#172033!important;font-weight:680!important;overflow:hidden!important;text-overflow:ellipsis!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table td small{font-size:12px!important;color:#6b7685!important;overflow:hidden!important;text-overflow:ellipsis!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-status{padding:5px 8px!important;border-radius:999px!important;background:#fae9ed!important;color:#b82e49!important;font-size:12px!important;font-weight:700!important}

/* Customer source gets its own balanced, readable donut layout. */
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source{height:calc(100% - 54px)!important;padding:17px!important;grid-template-columns:132px minmax(0,1fr)!important;gap:12px!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source .sdr-donut{width:112px!important;height:112px!important;filter:drop-shadow(0 5px 12px rgba(31,41,55,.055))}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source .sdr-donut:after{width:66px!important;height:66px!important;box-shadow:inset 0 0 0 1px #f0f2f5!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source .sdr-donut strong{font-size:20px!important;color:#111827!important;letter-spacing:-.03em!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source .sdr-donut span{font-size:12px!important;color:#667281!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source ul{gap:4px!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source li{min-height:29px!important;padding:4px 6px!important;grid-template-columns:9px minmax(0,1fr) 40px!important;gap:7px!important;border-radius:8px!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source li:hover{background:#f8f9fb!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source li i{width:8px!important;height:8px!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source li span{font-size:14px!important;color:#4b5766!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source li b{font-size:14px!important;color:#172033!important;font-variant-numeric:tabular-nums!important}

@media(max-width:900px){
 #body.sigma-dashboard-host .sdr-grid-bottom{height:auto!important;min-height:0!important;max-height:none!important;gap:10px!important}
 #body.sigma-dashboard-host .sdr-grid-bottom .sdr-card{height:auto!important;min-height:280px!important;border-radius:17px!important}
 #body.sigma-dashboard-host .sdr-grid-bottom .sdr-card>header{height:52px!important;min-height:52px!important;padding:0 14px!important}
 #body.sigma-dashboard-host .sdr-grid-bottom .sdr-table{height:230px!important;overflow:auto!important}
 #body.sigma-dashboard-host .sdr-grid-bottom .sdr-table table{min-width:650px!important}
 #body.sigma-dashboard-host .sdr-grid-bottom .sdr-table th,#body.sigma-dashboard-host .sdr-grid-bottom .sdr-table td{padding:9px 10px!important}
 #body.sigma-dashboard-host .sdr-grid-bottom .sdr-source{height:auto!important;min-height:230px!important;padding:15px!important;grid-template-columns:112px minmax(0,1fr)!important;gap:9px!important}
 #body.sigma-dashboard-host .sdr-grid-bottom .sdr-source .sdr-donut{width:96px!important;height:96px!important}
 #body.sigma-dashboard-host .sdr-grid-bottom .sdr-source .sdr-donut:after{width:56px!important;height:56px!important}
 #body.sigma-dashboard-host .sdr-grid-bottom .sdr-source li span,#body.sigma-dashboard-host .sdr-grid-bottom .sdr-source li b{font-size:13px!important}
}
