/* Hirentra Dashboard Intelligence — Step A */
.hdbA-legacy-hidden{display:none!important}
.hdbA-top-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px}
.hdbA-top-grid.hdbA-top-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.hdbA-headline-card{min-height:132px;padding:17px 18px;border:1px solid var(--border-color,#263247);border-radius:15px;background:rgba(8,16,30,.34);color:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.hdbA-headline-card:hover{border-color:rgba(255,193,7,.48);background:rgba(255,193,7,.035);transform:translateY(-1px)}
.hdbA-headline-card>span{display:block;color:var(--text-muted,#93a0b7);font-size:10px;font-weight:900;letter-spacing:.08em}
.hdbA-headline-card>strong{display:block;margin-top:7px;color:var(--text-primary,#fff);font-size:28px;line-height:1.12}
.hdbA-headline-card>strong i{font-size:11px;font-style:normal;color:var(--text-muted,#93a0b7);font-weight:700}
.hdbA-headline-card>small{display:block;margin-top:8px;color:var(--text-muted,#93a0b7);font-size:10px;line-height:1.4}
.hdbA-headline-card.schedule>b{display:inline-flex;margin-top:8px;padding:4px 8px;border-radius:999px;font-size:10px;line-height:1;font-weight:900;letter-spacing:.04em;background:rgba(148,163,184,.12);color:var(--text-primary,#fff)}
.hdbA-headline-card.schedule.behind{border-color:rgba(239,68,68,.48);background:rgba(239,68,68,.055)}
.hdbA-headline-card.schedule.behind>b{background:rgba(239,68,68,.14);color:#ff8c8c}
.hdbA-headline-card.schedule.track{border-color:rgba(34,197,94,.32)}
.hdbA-headline-card.schedule.track>b{background:rgba(34,197,94,.13);color:#78e99b}
.hdbA-headline-card.schedule.ahead{border-color:rgba(56,189,248,.34)}
.hdbA-headline-card.schedule.ahead>b{background:rgba(56,189,248,.12);color:#7dd3fc}
.hdbA-mini-track{height:8px;margin-top:10px;border-radius:999px;background:rgba(148,163,184,.14);overflow:hidden}
.hdbA-mini-track i{display:block;height:100%;border-radius:inherit;background:#ffc107}

#managerDashboard .dashboard-section:has(.attention-grid){margin-top:0}
#managerDashboard .attention-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hdbA-attention{position:relative;overflow:hidden}
.hdbA-attention:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:4px 0 0 4px;background:rgba(148,163,184,.28)}
.hdbA-attention.hdbA-critical{border-color:rgba(239,68,68,.38);background:rgba(239,68,68,.045)}
.hdbA-attention.hdbA-critical:before{background:#ef4444}
.hdbA-attention.hdbA-action{border-color:rgba(245,158,11,.38);background:rgba(245,158,11,.045)}
.hdbA-attention.hdbA-action:before{background:#f59e0b}
.hdbA-attention.hdbA-watch{border-color:rgba(234,179,8,.30);background:rgba(234,179,8,.035)}
.hdbA-attention.hdbA-watch:before{background:#eab308}
.hdbA-attention.hdbA-clear{opacity:.74}
.hdbA-attention.hdbA-clear:before{background:#22c55e}
.hdbA-attention>small,.hdbA-severity-label{display:block!important;margin-top:8px;color:var(--text-muted,#93a0b7);font-size:8px!important;font-weight:900;letter-spacing:.08em}

.hdbA-delivery{display:grid;gap:14px}
.hdbA-delivery-heading{margin-bottom:0}
.hdbA-delivery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hdbA-delivery-grid button{min-height:105px;padding:14px 15px;border:1px solid var(--border-color,#263247);border-radius:13px;background:rgba(8,16,30,.22);color:inherit;text-align:left;cursor:pointer}
.hdbA-delivery-grid button:hover{border-color:rgba(255,193,7,.42);background:rgba(255,193,7,.03)}
.hdbA-delivery-grid span{display:block;color:var(--text-muted,#93a0b7);font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.hdbA-delivery-grid strong{display:block;margin-top:7px;color:var(--text-primary,#fff);font-size:22px;line-height:1.15}
.hdbA-delivery-grid small{display:block;margin-top:6px;color:var(--text-muted,#93a0b7);font-size:10px;line-height:1.35}
.hdbA-delivery-grid .behind,.hdbA-delivery-grid .critical{border-color:rgba(239,68,68,.38);background:rgba(239,68,68,.04)}
.hdbA-delivery-grid .behind strong,.hdbA-delivery-grid .critical strong{color:#ff8c8c}
.hdbA-delivery-grid .watch,.hdbA-delivery-grid .action{border-color:rgba(245,158,11,.34);background:rgba(245,158,11,.035)}
.hdbA-delivery-grid .watch strong,.hdbA-delivery-grid .action strong{color:#fbbf24}
.hdbA-delivery-grid .track,.hdbA-delivery-grid .clear{border-color:rgba(34,197,94,.22)}
.hdbA-delivery-grid .ahead strong{color:#7dd3fc}
.hdbA-delivery-empty{padding:16px;border:1px dashed var(--border-color,#263247);border-radius:13px;color:var(--text-muted,#93a0b7);font-size:11px}

.hdbA-section-divider{display:grid;gap:2px;margin-top:2px;padding:4px 1px 0}
.hdbA-section-divider>span{color:#ffc107;font-size:9px;font-weight:900;letter-spacing:.09em}
.hdbA-section-divider>strong{color:var(--text-primary,#fff);font-size:16px}
.hdbA-section-divider>small{color:var(--text-muted,#93a0b7);font-size:10px}

@media(max-width:1100px){.hdbA-top-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#managerDashboard .attention-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.hdbA-top-grid,.hdbA-delivery-grid,#managerDashboard .attention-grid{grid-template-columns:1fr}.hdbA-headline-card{min-height:0}}
