/* Scoped to the internal workspaces. Client portal is untouched. */
.ir-workspace-tabs{display:flex;gap:10px;margin:0 0 22px;border-bottom:1px solid #e6eaf0;padding-bottom:12px;flex-wrap:wrap}.ir-workspace-tabs button{padding:10px 18px;border:1px solid #e6eaf0;border-radius:8px;background:#fff;color:#536277;font:inherit;cursor:pointer}.ir-workspace-tabs button[aria-pressed=true]{background:#fff2f4;color:#bf253b;border-color:#f0c9d1;font-weight:600}.ir-native-work[hidden],.ir-ledger-work[hidden]{display:none!important}.ir-native-work{min-width:0}
.ir-panel{height:100%;box-sizing:border-box}.ir-panel h2{font-size:17px;margin:0 0 12px}.ir-panel p{line-height:1.7}.ir-empty{font-size:12px;color:#728094;line-height:1.8;padding:10px 0}.ir-scope{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:12px 16px;margin:14px 0;background:#f7f9fc;border-radius:9px;font-size:12px;color:#637187}.ir-ring{width:180px;height:180px;border-radius:50%;margin:25px auto;display:grid;place-items:center}.ir-ring>div{background:white;width:140px;height:140px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.ir-ring strong{font-size:28px;color:#20324a}.ir-ring small{color:#6d7b8e}.ir-legend>div{display:flex;gap:10px;align-items:center;margin:9px 0;font-size:12px}.ir-legend i{width:8px;height:8px;border-radius:50%;flex-shrink:0}.ir-legend b{margin-left:auto;font-variant-numeric:tabular-nums}.ir-bar{display:grid;grid-template-columns:90px 1fr 65px;gap:12px;align-items:center;padding:12px 0;border:0;background:transparent;width:100%;font-size:12px;text-align:left;cursor:pointer}.ir-track{height:7px;border-radius:5px;background:#eef1f6;overflow:hidden}.ir-track i{display:block;height:100%;background:#d52d39;border-radius:5px}.ir-bar strong{text-align:right}.ir-table-wrap{overflow:auto;max-height:450px}.ir-table-wrap .table{width:100%;border-collapse:collapse}.ir-table-wrap td,.ir-table-wrap th{padding:13px 12px;font-size:12px;text-align:left;border-bottom:1px solid #edf0f5}.ir-table-wrap th{position:sticky;top:0;background:#f7f9fc;z-index:1}.ir-person{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #edf0f5}.ir-person small{display:block;color:#748095;font-size:12px;margin-top:5px}.ir-person span{font-size:12px;color:#748095}.ir-mini-metrics{display:flex;gap:20px;flex-wrap:wrap;font-size:22px;font-weight:650;margin:22px 0}.ir-manager-summary{margin:24px 0}.ir-next{padding:12px 18px!important;margin-bottom:16px!important;background:#fafbfe!important}.ir-next summary{cursor:pointer;color:#627188;font-size:12px}.ir-next h2{font-size:15px;margin-top:14px}.ir-dialog,.ir-record-dialog{position:fixed;margin:auto;width:min(1150px,94vw);max-height:88vh;overflow:auto;padding:28px;border:1px solid #dfe5ed;border-radius:16px;background:white;box-shadow:0 20px 80px #14223733;z-index:12000}.ir-dialog::backdrop,.ir-record-dialog::backdrop{background:#14223788}.ir-dialog>.ir-panel{margin-top:20px}.ir-record-dialog .cp-close{position:sticky;top:0;z-index:8;float:right;background:white}.ir-native-work>.prototype-foot{margin-top:30px}#bossAnalytics [data-ir-boss]>.br-card{margin:0;height:100%;box-sizing:border-box}#bossAnalytics [data-ir-boss=ranking]{margin-bottom:24px}#bossAnalytics .an-section{margin-bottom:28px}
.ir-bar[hidden]{display:none!important}
.ir-setting{display:grid;gap:8px;margin:18px 0;max-width:480px}.ir-setting select{padding:10px;border:1px solid #dfe5ed;border-radius:8px;background:transparent;color:inherit}.ir-availability{padding:8px 12px;font-size:11px}.ir-availability button{font-size:11px;color:#65748a}body[data-theme=dark] :is(.ir-panel,.ir-dialog,.ir-record-dialog,.ir-ring>div){background:#243043;color:#e6edf6}body[data-theme=dark] :is(.ir-scope,.ir-table-wrap th,.ir-next){background:#1d2839!important;color:#d0d9e8}body[data-theme=dark] .ir-ring strong{color:#edf3fc}
@media(max-width:850px){.ir-manager-summary{grid-template-columns:1fr!important}.ir-workspace-tabs button{flex:1}.ir-dialog,.ir-record-dialog{padding:16px}.ir-mini-metrics{font-size:18px}.ir-bar{grid-template-columns:80px 1fr 55px}}

/* Keep the job queues ahead of business statistics; preserve scrolling in the sidebar. */
.ir-agent-entry{display:none!important}
.ir-account-menu{margin:4px 12px 0;color:var(--muted,#596779);font-size:13px;flex:none}
.ir-account-menu summary{cursor:pointer;padding:9px;border-radius:6px}
.ir-account-menu button{margin:2px 0;width:100%}
.ir-native-work>.ir-empty,.lane>.ir-empty{margin:4px 0}
@media (min-width:761px) and (max-height:900px){
 .shell[data-workspace=boss] .sidebar:has(.ir-agent-entry) .v22-dock{display:none!important}
 .shell[data-workspace=boss] .sidebottom .ir-agent-entry{display:block!important;width:100%;text-align:left;padding:9px 12px}
 .shell[data-workspace=boss] .sidebar .sidebottom{flex:none;padding:6px 0;margin:0}
 .shell[data-workspace=boss] .sidebar .sidebar-status{display:none}
 .shell[data-workspace=boss] .sidebar .ir-availability{padding:2px 8px}
}
#bossAnalytics .an-fulfillment-panel .an-table :is(th,td):is(:first-child,:last-child){position:sticky;background:var(--an-surface,#fff);z-index:1}
#bossAnalytics .an-fulfillment-panel .an-table :is(th,td):first-child{left:0}
#bossAnalytics .an-fulfillment-panel .an-table :is(th,td):last-child{right:0;box-shadow:-1px 0 var(--an-border,#ddd)}
#bossAnalytics .an-fulfillment-panel .an-table th:is(:first-child,:last-child){z-index:3}
@media(max-width:1500px){
 #bossAnalytics .an-fulfillment-panel .an-table{min-width:0}
 #bossAnalytics .an-fulfillment-panel .an-table :is(th,td):is(:nth-child(6),:nth-child(8)){display:none}
 #bossAnalytics .an-fulfillment-panel .an-table :is(th,td){padding-inline:8px}
 #bossAnalytics .an-fulfillment-panel .an-contract-brand{min-width:100px}
}
@media(max-width:760px){#bossAnalytics .an-fulfillment-panel .an-table :is(th,td):first-child{position:static}}
@media(min-width:761px) and (max-width:1300px){
 #bossAnalytics .an-fulfillment-panel .an-table :is(th,td):nth-child(4){display:none}
 #bossAnalytics .an-fulfillment-panel .an-table td:nth-child(3)>div{min-width:0!important;max-width:19em;white-space:normal}
}
@media(min-width:761px) and (max-width:1300px){
 #bossAnalytics .an-fulfillment-panel .an-table :is(th,td):nth-child(4){display:none}
 #bossAnalytics .an-fulfillment-panel .an-table td:nth-child(3)>div{min-width:0!important;max-width:19em;white-space:normal}
}

/* One optical size for primary navigation, including the injected monitor route. */
.erp-nav .navbtn>svg.icon{height:18px;width:18px;flex:0 0 18px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;fill:none}
