.operations-dashboard{display:grid;gap:12px}.dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:2px 2px 6px}.dashboard-header h1{font-size:29px}.dashboard-header p:last-child{margin:6px 0 0;color:#667085;font-size:12px}.dashboard-live-state{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid #b2ddff;border-radius:9px;background:#eff8ff;color:#1849a9}.dashboard-live-state>i,.live-indicator i{width:8px;height:8px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 4px rgba(18,183,106,.14);animation:dashboardPulse 2s infinite}.dashboard-live-state strong,.dashboard-live-state small{display:block}.dashboard-live-state strong{font-size:11px}.dashboard-live-state small{margin-top:2px;color:#475467;font-size:9px}@keyframes dashboardPulse{50%{box-shadow:0 0 0 7px rgba(18,183,106,0)}}
.dashboard-agent-arrivals{display:grid;grid-template-columns:minmax(230px,.65fr) minmax(400px,1.35fr) auto;gap:12px;align-items:center;padding:11px 13px;border:1px solid #fdb022;border-left:4px solid #f79009;border-radius:10px;background:linear-gradient(110deg,#fffaeb,#fff 64%);box-shadow:0 3px 10px rgba(247,144,9,.1)}.arrival-heading{display:flex;align-items:center;gap:10px}.arrival-signal{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:9px;background:#f79009;color:#fff;font-weight:900}.arrival-heading h2{margin:0;font-size:14px}.arrival-heading p:last-child{margin:2px 0 0;color:#667085;font-size:9px}.arrival-list{display:flex;gap:7px;min-width:0}.arrival-list a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px;align-items:center;min-width:0;flex:1;padding:7px 9px;border:1px solid #fedf89;border-radius:7px;background:#fff;color:#101828;text-decoration:none}.arrival-list a:hover{border-color:#f79009;background:#fffcf5}.arrival-list strong,.arrival-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arrival-list strong{font-size:10px}.arrival-list small{margin-top:2px;color:#667085;font-size:8px}.arrival-list b,.arrival-all{color:#b54708;font-size:9px;white-space:nowrap}.arrival-all{font-weight:800;text-decoration:none}
.dashboard-health{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr)) minmax(150px,1.2fr);overflow:hidden;border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-shadow:0 2px 4px rgba(16,24,40,.08)}.health-cell{display:grid;grid-template-columns:1fr auto;gap:1px 8px;padding:10px 13px;border-left:1px solid #e4e7ec;color:#101828;text-decoration:none}.health-cell:first-child{border-left:0}.health-cell:hover{background:#f8fafc}.health-cell>span{align-self:center;color:#475467;font-size:9px;font-weight:800;text-transform:uppercase}.health-cell>span i{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#98a2b3}.health-cell.success>span i{background:#12b76a}.health-cell.warning>span i{background:#f79009}.health-cell.danger>span i{background:#f04438}.health-cell strong{grid-row:1/3;grid-column:2;align-self:center;font-size:22px}.health-cell small{color:#667085;font-size:8px}.health-cell.issues{background:#fffcf5}
.dashboard-body{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px;align-items:start}.dashboard-primary{display:grid;gap:12px}.dashboard-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid #e4e7ec}.dashboard-section-heading h2{margin:0;font-size:16px}.dashboard-section-heading p:last-child{margin:3px 0 0;color:#667085;font-size:9px}.production-total{text-align:right}.production-total span,.production-total small{display:block;color:#667085;font-size:8px}.production-total strong{display:block;margin:1px 0;font-size:25px}.production-total small b{color:#1570ef}.dashboard-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 12px}.dashboard-category{position:relative;overflow:hidden;padding:11px;border:1px solid #cbd5e1;border-radius:9px;background:linear-gradient(145deg,#fff,#f8fafc)}.dashboard-category:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#1570ef}.dashboard-category.category-rfid_tag:before{background:#7a5af8}.dashboard-category.category-shipping_label:before{background:#f79009}.dashboard-category.category-customer_receipt:before{background:#0ba5ec}.category-top{display:flex;align-items:center;gap:8px}.category-glyph{display:grid;width:29px;height:29px;place-items:center;border-radius:7px;background:#eaf2ff;color:#175cd3;font-size:8px;font-weight:900}.category-rfid_tag .category-glyph{background:#f4f3ff;color:#6938ef}.category-shipping_label .category-glyph{background:#fff4e5;color:#b54708}.category-customer_receipt .category-glyph{background:#e0f2fe;color:#026aa2}.category-top strong,.category-top small{display:block}.category-top strong{font-size:11px}.category-top small{margin-top:1px;color:#667085;font-size:8px}.category-counts{display:grid;grid-template-columns:1.25fr .75fr;gap:7px;margin:10px 0 8px}.category-counts>div{padding:7px;border:1px solid #e4e7ec;border-radius:6px;background:#fff}.category-counts strong,.category-counts span{display:block}.category-counts strong{font-size:20px}.category-counts span{color:#667085;font-size:7px;text-transform:uppercase}.category-live{display:flex;align-items:center;gap:5px;color:#067647;font-size:8px}.category-live i{width:6px;height:6px;border-radius:50%;background:#12b76a}.category-live.idle{color:#667085}.category-live.idle i{background:#98a2b3}.production-summary-line{display:flex;gap:18px;padding:8px 14px;border-top:1px solid #e4e7ec;background:#f8fafc;color:#667085;font-size:8px}.production-summary-line b{color:#344054}
.dashboard-section-links{display:flex;gap:7px}.dashboard-section-links a{padding:6px 8px;border:1px solid #b2ccff;border-radius:6px;background:#eff4ff;color:#1849a9;font-size:9px;font-weight:800;text-decoration:none}.dashboard-analytics-layout{display:grid;grid-template-columns:minmax(0,1fr) 185px;gap:14px;padding:12px 14px}.dashboard-chart{display:grid;grid-template-columns:repeat(7,minmax(28px,1fr));gap:7px;height:158px}.dashboard-chart-day{display:grid;grid-template-rows:16px 1fr 15px;gap:3px;text-align:center}.dashboard-chart-day>strong{color:#475467;font-size:8px}.dashboard-chart-day>div{position:relative;overflow:hidden;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#f2f4f7,#e4e7ec)}.dashboard-chart-day>div span{position:absolute;inset:auto 0 0;border-radius:4px 4px 1px 1px;background:linear-gradient(180deg,#36bffa,#1570ef);min-height:2px}.dashboard-chart-day:last-child>div span{background:linear-gradient(180deg,#f97066,#ef3d44)}.dashboard-chart-day small{color:#667085;font-size:8px}.dashboard-comparison{display:grid;gap:6px}.dashboard-comparison article{padding:8px 10px;border:1px solid #e4e7ec;border-radius:7px;background:#f8fafc}.dashboard-comparison span,.dashboard-comparison small{display:block;color:#667085;font-size:8px}.dashboard-comparison strong{display:block;margin:1px 0;font-size:17px}.dashboard-platform-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.platform-signal{padding:10px 12px;border:1px solid #cbd5e1;border-top:3px solid #98a2b3;border-radius:8px;background:#fff;color:#101828;text-decoration:none}.platform-signal.success{border-top-color:#12b76a}.platform-signal.warning{border-top-color:#f79009}.platform-signal.danger{border-top-color:#f04438}.platform-signal span,.platform-signal strong,.platform-signal small{display:block}.platform-signal span{color:#667085;font-size:8px;text-transform:uppercase}.platform-signal strong{margin:3px 0 2px;font-size:11px}.platform-signal small{color:#667085;font-size:8px}
.dashboard-job-rail{position:sticky;top:92px;max-height:calc(100vh - 110px);display:flex;flex-direction:column}.job-rail-heading{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-bottom:1px solid #e4e7ec}.job-rail-heading h2{margin:0;font-size:16px}.job-rail-heading p:last-child{margin:2px 0 0;color:#667085;font-size:9px}.live-indicator{display:flex;align-items:center;gap:6px;padding:4px 7px;border-radius:999px;background:#ecfdf3;color:#067647;font-size:8px;font-weight:800;text-transform:uppercase}.live-indicator i{display:block;width:6px;height:6px}.dashboard-job-list{min-height:180px;overflow-y:auto;overscroll-behavior:contain}.dashboard-job-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:start;padding:10px 11px;border-bottom:1px solid #e4e7ec;color:#101828;text-decoration:none}.dashboard-job-row:hover{background:#f8fafc}.job-state-dot{width:7px;height:7px;margin-top:4px;border-radius:50%;background:#f79009}.state-completed .job-state-dot{background:#12b76a}.state-failed .job-state-dot{background:#f04438}.job-rail-copy strong,.job-rail-copy small{display:block}.job-rail-copy strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.job-rail-copy small{margin-top:2px;color:#667085;font-size:8px}.job-rail-status{padding:3px 5px;border-radius:999px;background:#fff4e5;color:#b54708;font-size:7px;font-weight:800;text-transform:uppercase}.state-completed .job-rail-status{background:#ecfdf3;color:#067647}.state-failed .job-rail-status{background:#fef3f2;color:#b42318}.job-rail-footer{display:block;margin-top:auto;padding:11px 13px;border-top:1px solid #e4e7ec;background:#f8fafc;color:#175cd3;font-size:9px;font-weight:800;text-align:center;text-decoration:none}
@media(max-width:1200px){.dashboard-body{grid-template-columns:minmax(0,1fr) 290px}.dashboard-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-agent-arrivals{grid-template-columns:1fr}.arrival-list{flex-wrap:wrap}.arrival-all{justify-self:end}}
@media(max-width:900px){.dashboard-body{grid-template-columns:1fr}.dashboard-job-rail{position:static;max-height:none}.dashboard-health{grid-template-columns:repeat(2,1fr)}.health-cell{border-top:1px solid #e4e7ec}.dashboard-analytics-layout{grid-template-columns:1fr}.dashboard-comparison,.dashboard-platform-strip{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.dashboard-header{align-items:flex-start;flex-direction:column}.dashboard-health,.dashboard-category-grid,.dashboard-platform-strip,.dashboard-comparison{grid-template-columns:1fr}.arrival-list{display:grid}.production-summary-line{flex-wrap:wrap}.dashboard-chart{gap:3px}}
.approval-card-targeted{border-color:#f79009!important;box-shadow:0 0 0 3px rgba(247,144,9,.14),0 8px 24px rgba(16,24,40,.12)!important}
.dashboard-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-control-panel{overflow:hidden;border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-shadow:0 2px 4px rgba(16,24,40,.08)}.dashboard-control-panel.printer-control{border-top:3px solid #1570ef}.dashboard-control-panel.agent-control{border-top:3px solid #7a5af8}.control-panel-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #e4e7ec;background:linear-gradient(100deg,#f8fafc,#fff)}.control-icon{display:grid;width:31px;height:31px;place-items:center;border-radius:8px;background:#1570ef;color:#fff;font-size:13px;font-weight:900;box-shadow:0 3px 7px rgba(21,112,239,.2)}.agent-control .control-icon{background:#7a5af8;box-shadow:0 3px 7px rgba(122,90,248,.2)}.control-panel-heading h2{margin:0;font-size:14px}.control-panel-heading p:last-child{margin:2px 0 0;color:#667085;font-size:8px}.control-panel-heading>a{padding:5px 7px;border:1px solid #b2ccff;border-radius:6px;background:#eff4ff;color:#1849a9;font-size:8px;font-weight:800;text-decoration:none}.control-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.control-metrics>a{display:grid;grid-template-columns:1fr auto;gap:0 5px;padding:8px 10px;border-left:1px solid #e4e7ec;color:#101828;text-decoration:none}.control-metrics>a:first-child{border-left:0}.control-metrics>a:hover{background:#f8fafc}.control-metrics span{align-self:center;color:#667085;font-size:8px;font-weight:800;text-transform:uppercase}.control-metrics strong{grid-row:1/3;grid-column:2;align-self:center;font-size:18px}.control-metrics small{color:#667085;font-size:7px}.control-metrics .success{box-shadow:inset 0 -2px #12b76a}.control-metrics .warning{box-shadow:inset 0 -2px #f79009}.control-metrics .danger{box-shadow:inset 0 -2px #f04438}.control-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 11px;border-top:1px solid #e4e7ec;background:#f8fafc;color:#344054;font-size:8px;text-decoration:none}.control-footer i{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#12b76a}.control-footer.warning i{background:#f79009}.control-footer small{color:#667085}.agent-software-line{display:flex;align-items:center;gap:12px;padding:6px 10px;border-top:1px solid #e4e7ec;background:#f8fafc;color:#667085;font-size:7px}.agent-software-line a{margin-left:auto;color:#475467;text-decoration:none}.agent-software-line a.danger{color:#b42318}.agent-attention-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:6px 8px;border-top:1px solid #e4e7ec}.agent-attention-list a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:5px;align-items:center;min-width:0;padding:5px 6px;border:1px solid #d0d5dd;border-radius:6px;background:#f8fafc;color:#101828;text-decoration:none}.agent-attention-list strong,.agent-attention-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-attention-list strong{font-size:8px}.agent-attention-list small{margin-top:1px;color:#667085;font-size:7px}.agent-attention-list>a>b{color:#b54708;font-size:7px;white-space:nowrap}.agent-all-clear{padding:7px 10px;border-top:1px solid #e4e7ec;color:#067647;font-size:8px}.dashboard-chart-day:last-child small{color:#175cd3;font-weight:900}
@media(max-width:900px){.dashboard-control-grid{grid-template-columns:1fr}}
@media(max-width:620px){.control-metrics{grid-template-columns:repeat(2,1fr)}.agent-attention-list{grid-template-columns:1fr}}
.dashboard-recovery-activity{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin:7px 8px 8px;padding:7px 9px;border:1px solid #75e0a7;border-radius:8px;background:linear-gradient(135deg,#ecfdf3,#f6fef9);color:#05603a;text-decoration:none;box-shadow:0 2px 5px rgba(5,96,58,.08)}.dashboard-recovery-activity[hidden]{display:none}.recovery-activity-icon,.recovery-notice-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#12b76a;color:#fff;font-size:14px;font-weight:900;box-shadow:0 0 0 4px rgba(18,183,106,.13)}.dashboard-recovery-activity small,.dashboard-recovery-activity strong,.dashboard-recovery-activity b{display:block}.dashboard-recovery-activity small{font-size:7px;text-transform:uppercase;letter-spacing:.08em}.dashboard-recovery-activity strong{margin-top:1px;color:#054f31;font-size:10px}.dashboard-recovery-activity b{margin-top:1px;color:#39765a;font-size:7px;font-weight:600}.dashboard-recovery-activity em{font-size:8px;font-style:normal;font-weight:800;white-space:nowrap}.dashboard-live-notices{position:fixed;z-index:1200;top:100px;right:18px;display:grid;gap:8px;width:min(440px,calc(100vw - 32px));pointer-events:none}.dashboard-recovery-notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:13px 12px;border:1px solid #47cd89;border-left:5px solid #12b76a;border-radius:11px;background:#ecfdf3;color:#054f31;box-shadow:0 16px 40px rgba(16,24,40,.2);pointer-events:auto;animation:recoveryNoticeIn .25s ease-out}.dashboard-recovery-notice strong,.dashboard-recovery-notice small{display:block}.dashboard-recovery-notice strong{font-size:13px}.dashboard-recovery-notice small{margin-top:3px;color:#276749;font-size:10px;line-height:1.35}.dashboard-recovery-notice a{padding:7px 9px;border:1px solid #75e0a7;border-radius:7px;background:#fff;color:#067647;font-size:9px;font-weight:800;text-decoration:none;white-space:nowrap}.dashboard-recovery-notice button{border:0;background:transparent;color:#39765a;font-size:20px;line-height:1;cursor:pointer}@keyframes recoveryNoticeIn{from{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:620px){.dashboard-recovery-notice{grid-template-columns:auto minmax(0,1fr) auto}.dashboard-recovery-notice a{grid-column:2}.dashboard-live-notices{top:90px;right:10px}}

/* A restrained live telemetry signal: visible motion without making job rows flash. */
.dashboard-job-rail .job-rail-heading{position:relative;overflow:hidden}.dashboard-job-rail .job-rail-heading::after{content:"";position:absolute;right:0;bottom:0;left:0;height:2px;background:linear-gradient(90deg,transparent 0,#12b76a 35%,#53b1fd 50%,#12b76a 65%,transparent 100%);background-size:55% 100%;background-repeat:no-repeat;animation:liveStreamSweep 2.4s linear infinite}.dashboard-job-rail .live-indicator{position:relative;overflow:visible;border:1px solid #75e0a7;box-shadow:0 0 0 3px rgba(18,183,106,.08)}.dashboard-job-rail .live-indicator i{position:relative;border-radius:50%;background:#12b76a}.dashboard-job-rail .live-indicator i::after{content:"";position:absolute;inset:-4px;border:1px solid #12b76a;border-radius:50%;animation:liveStreamPulse 1.5s ease-out infinite}.dashboard-job-rail .dashboard-job-list{background:linear-gradient(180deg,rgba(236,253,243,.28),transparent 70px)}
@keyframes liveStreamSweep{from{background-position:-120% 0}to{background-position:220% 0}}@keyframes liveStreamPulse{0%{opacity:.85;transform:scale(.55)}80%,100%{opacity:0;transform:scale(1.7)}}@media(prefers-reduced-motion:reduce){.dashboard-job-rail .job-rail-heading::after,.dashboard-job-rail .live-indicator i::after{animation:none}}

/* Dashboard navigation must look actionable, not like passive table cells. */
.operations-dashboard .control-metrics{gap:7px;padding:8px;background:#eef2f6}.operations-dashboard .control-metrics>a{position:relative;min-height:64px;padding:9px 52px 20px 10px;border:1px solid #9eacbd!important;border-radius:8px;background:linear-gradient(180deg,#fff,#edf2f7);box-shadow:0 2px 4px rgba(16,24,40,.14),inset 0 -3px #98a2b3!important}.operations-dashboard .control-metrics>a:first-child{border-left:1px solid #9eacbd}.operations-dashboard .control-metrics>a.success{box-shadow:0 2px 4px rgba(16,24,40,.14),inset 0 -3px #12b76a!important}.operations-dashboard .control-metrics>a.warning{box-shadow:0 2px 4px rgba(16,24,40,.14),inset 0 -3px #f79009!important}.operations-dashboard .control-metrics>a.danger{box-shadow:0 2px 4px rgba(16,24,40,.14),inset 0 -3px #f04438!important}.operations-dashboard .control-metrics>a::after{content:"Open →";position:absolute;right:9px;bottom:7px;padding:3px 6px;border-radius:5px;background:#102a49;color:#fff;font-size:7px;font-weight:900;letter-spacing:.02em}.operations-dashboard .control-metrics>a:hover{z-index:1;border-color:#1570ef!important;background:#fff;box-shadow:0 6px 12px rgba(21,112,239,.2),inset 0 -3px #1570ef!important}.operations-dashboard .control-metrics>a:hover::after{background:#175cd3}.operations-dashboard .control-metrics>a:active{transform:translateY(1px);box-shadow:0 1px 2px rgba(16,24,40,.18)!important}
.operations-dashboard .control-footer{margin:0 8px 8px;padding:9px 11px;border:1px solid #9eacbd;border-radius:8px;background:linear-gradient(180deg,#fff,#e8edf3);box-shadow:0 2px 4px rgba(16,24,40,.13);font-weight:750}.operations-dashboard .control-footer::after{content:"Open issues →";padding:4px 7px;border-radius:5px;background:#102a49;color:#fff;font-size:7px;font-weight:900}.operations-dashboard .control-footer>small{margin-left:auto}.operations-dashboard .platform-signal{position:relative;min-height:88px;padding:11px 78px 12px 13px;border-color:#9eacbd;background:linear-gradient(145deg,#fff,#edf2f7);box-shadow:0 2px 5px rgba(16,24,40,.14)}.operations-dashboard .platform-signal::after{content:"Open →";position:absolute;right:12px;top:50%;padding:6px 8px;border-radius:6px;background:#102a49;color:#fff;font-size:8px;font-weight:900;transform:translateY(-50%)}.operations-dashboard .platform-signal:hover::after{background:#175cd3}.operations-dashboard .agent-software-line a{padding:4px 7px;border:1px solid #9eacbd;border-radius:5px;background:#fff;color:#175cd3!important;font-weight:850;box-shadow:0 1px 3px rgba(16,24,40,.12)}
@media(max-width:620px){.operations-dashboard .control-metrics{grid-template-columns:1fr 1fr}.operations-dashboard .platform-signal{min-height:76px}}

/* Attention cards are operational alerts, not secondary metadata. */
.agent-attention-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px 10px;background:#fffaf5}
.agent-attention-list a{position:relative;min-height:44px;padding:8px 10px;border-color:#fedf89;border-left:4px solid #f79009;background:#fffaeb;box-shadow:0 1px 2px rgba(16,24,40,.08)}
.agent-attention-list a:hover{border-color:#f79009;background:#fef0c7;box-shadow:0 3px 8px rgba(181,71,8,.14);transform:translateY(-1px)}
.agent-attention-list strong{font-size:10px;font-weight:800}
.agent-attention-list small{margin-top:3px;font-size:8px}
.agent-attention-list>a>b{padding:4px 6px;border-radius:999px;background:#fef0c7;color:#93370d;font-size:8px;font-weight:900}
.agent-attention-list .status-dot{width:9px;height:9px;box-shadow:0 0 0 3px rgba(247,144,9,.14)}
.agent-attention-list a:has(.status-dot.offline),.agent-attention-list a:has(.status-dot.error){border-color:#fecdca;border-left-color:#f04438;background:#fef3f2}
.agent-attention-list a:has(.status-dot.offline)>b,.agent-attention-list a:has(.status-dot.error)>b{background:#fee4e2;color:#b42318}
@media(max-width:900px){.agent-attention-list{grid-template-columns:1fr}}

/* Keep the two control panels aligned; surface active Agent alerts in the header. */
.dashboard-header>div:first-child{flex:0 0 auto}
.dashboard-header-alerts{flex:1;min-width:0;max-width:760px;margin-left:auto}
.dashboard-header-alerts .agent-attention-list{grid-template-columns:repeat(2,minmax(220px,1fr));padding:0;border:0;background:transparent}
.dashboard-header-alerts .agent-attention-list a{min-height:48px;background:#fffaeb}
.dashboard-header-alerts .agent-attention-list a:has(.status-dot.offline),.dashboard-header-alerts .agent-attention-list a:has(.status-dot.error){background:#fef3f2}
.dashboard-live-state{flex:0 0 auto}
@media(max-width:1200px){.dashboard-header{flex-wrap:wrap}.dashboard-header-alerts{order:3;flex-basis:100%;max-width:none;margin-left:0}}
@media(max-width:620px){.dashboard-header-alerts .agent-attention-list{grid-template-columns:1fr}}


/* Scalable Agent attention menu: fixed header footprint at any alert count. */
.dashboard-header-alerts{position:relative;z-index:40;flex:0 0 auto;max-width:none;margin-left:auto}
.dashboard-header-alerts>summary{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid #fdb022;border-radius:9px;background:#fffaeb;color:#713b12;box-shadow:0 2px 5px rgba(181,71,8,.10);cursor:pointer;list-style:none;white-space:nowrap}
.dashboard-header-alerts>summary::-webkit-details-marker{display:none}
.dashboard-header-alerts>summary:hover{border-color:#f79009;background:#fef0c7}
.dashboard-header-alerts>summary strong{font-size:10px}
.dashboard-header-alerts>summary>b{margin-left:4px;color:#b54708;font-size:13px;transition:transform .15s ease}
.dashboard-header-alerts[open]>summary>b{transform:rotate(180deg)}
.dashboard-header-alerts .agent-attention-popover{position:absolute;top:calc(100% + 8px);right:0;width:min(460px,calc(100vw - 32px));overflow:hidden;border:1px solid #d0d5dd;border-radius:11px;background:#fff;box-shadow:0 18px 45px rgba(16,24,40,.22)}
.dashboard-header-alerts .agent-attention-popover>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border-bottom:1px solid #e4e7ec;background:#f8fafc}
.dashboard-header-alerts .agent-attention-popover>header span{display:grid;gap:2px}
.dashboard-header-alerts .agent-attention-popover>header strong{color:#101828;font-size:11px}
.dashboard-header-alerts .agent-attention-popover>header small{color:#667085;font-size:8px}
.dashboard-header-alerts .agent-attention-popover>header a{color:#175cd3;font-size:9px;font-weight:850;text-decoration:none;white-space:nowrap}
.dashboard-header-alerts .agent-attention-list{display:grid;grid-template-columns:1fr;gap:7px;max-height:min(420px,60vh);padding:9px;overflow-y:auto;border:0;background:#fff}
.dashboard-header-alerts .agent-attention-list a{min-height:48px}
@media(max-width:1200px){.dashboard-header{flex-wrap:nowrap}.dashboard-header-alerts{order:initial;flex-basis:auto;max-width:none;margin-left:auto}}
@media(max-width:760px){.dashboard-header{align-items:flex-start;flex-wrap:wrap}.dashboard-header-alerts{order:3;margin-left:0}.dashboard-live-state{margin-left:auto}.dashboard-header-alerts .agent-attention-popover{right:auto;left:0}}
@media(max-width:620px){.dashboard-header-alerts{width:100%}.dashboard-header-alerts>summary{justify-content:center}.dashboard-header-alerts .agent-attention-popover{width:100%}}


/* Operational alert types grow left from the Audit log control. */
.top-navigation-alerts{display:flex;flex:1 1 auto;flex-direction:row-reverse;align-items:center;justify-content:flex-start;gap:8px;min-width:0;margin-left:auto}
.top-navigation-alerts:empty{display:none}
.top-navigation-alerts .dashboard-header-alerts{z-index:130;flex:0 0 auto;margin:0}
.top-navigation-alerts .dashboard-header-alerts>summary{min-height:44px;border-color:#fdb022;background:#fffaeb}
.top-navigation-alerts .dashboard-header-alerts .agent-attention-popover{top:calc(100% + 12px)}
@media(max-width:1250px){.top-navigation-alerts .dashboard-header-alerts>summary strong{max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:900px){.top-navigation-alerts{order:3;width:100%;flex-basis:100%;justify-content:flex-end}.top-navigation-alerts .dashboard-header-alerts .agent-attention-popover{right:0;left:auto}}


/* Keep dashboard alerts beside Live operations and grow the alert row right-to-left. */
.dashboard-header-status{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;margin-left:auto}
.dashboard-alert-stack{display:flex;flex:1 1 auto;flex-direction:row-reverse;align-items:center;justify-content:flex-start;gap:8px;min-width:0}
.dashboard-alert-stack:empty{display:none}
.dashboard-alert-stack .dashboard-header-alerts{flex:0 0 auto;margin:0}
.dashboard-header-status .dashboard-live-state{flex:0 0 auto;margin:0}
@media(max-width:1200px){.dashboard-header-status{flex:1 1 auto}.dashboard-alert-stack .dashboard-header-alerts{order:initial;flex-basis:auto;margin:0}}
@media(max-width:760px){.dashboard-header-status{width:100%;flex-wrap:wrap}.dashboard-alert-stack{order:2;width:100%;flex-basis:100%;justify-content:flex-end}.dashboard-alert-stack .dashboard-header-alerts{width:auto;margin:0}.dashboard-alert-stack .dashboard-header-alerts .agent-attention-popover{right:0;left:auto}}
@media(max-width:620px){.dashboard-alert-stack .dashboard-header-alerts{width:100%}}
