/* Shared role categories: decorative only, existing actions and layout remain canonical. */
.role-category-page{--category-line:#344753;--category-bg:#17242e}
.role-category-page > .panel.role-category-standard,
.role-category-page > .panel.role-category-panel{border-color:var(--category-line);background:linear-gradient(115deg,rgba(99,153,187,.045),transparent 58%),var(--category-bg);color:#e7eff5;border-radius:12px}
.role-category-page > .panel.role-category-panel{--category-accent:#78a9d3;border-left:3px solid var(--category-accent);overflow:visible}
.role-category-page > .panel.role-category-panel[data-role-tone="amber"]{--category-accent:#e2a36b}
.role-category-page > .panel.role-category-panel[data-role-tone="teal"]{--category-accent:#7ebba3}
.role-category-panel:not(.role-category-has-title)::before{content:attr(data-role-category);display:block;padding:12px 15px;border-bottom:1px solid #344956;background:linear-gradient(90deg,rgba(109,158,191,.13),rgba(27,41,52,.15));color:#eef5f9;letter-spacing:.012em;font-size:13px;line-height:1.35;font-weight:800}
.role-category-panel[data-role-tone="amber"]:not(.role-category-has-title)::before{background:linear-gradient(90deg,rgba(226,163,107,.14),transparent)}
.role-category-panel[data-role-tone="teal"]:not(.role-category-has-title)::before{background:linear-gradient(90deg,rgba(126,187,163,.13),transparent)}
.role-category-overview-title{color:#e5f0f7;font-size:13px;font-weight:800;margin:14px 2px 9px;letter-spacing:.015em}
.role-category-page > .role-category-kpis{background:linear-gradient(105deg,rgba(100,156,188,.08),transparent 70%),#14212b;border:1px solid #354956;border-radius:12px;padding:10px;box-shadow:inset 3px 0 0 #6c9cb7}
.role-category-page > .role-category-kpis .kpi{min-width:0}
.role-category-page .role-category-standard > .panel-head{background:linear-gradient(90deg,rgba(105,161,191,.08),transparent 70%);border-bottom-color:#354955}
.role-category-page .role-category-panel.role-category-has-title > .panel-head{box-shadow:inset 3px 0 0 var(--category-accent,#78a9d3);background:linear-gradient(90deg,rgba(105,161,191,.12),transparent 80%)}
.role-category-page .health-section,.role-category-page .file-folder,.role-category-page .command-two>.panel{border:1px solid #344d59;border-radius:11px;background:linear-gradient(120deg,rgba(116,160,190,.06),transparent),#17242e}
.role-category-page .health-title,.role-category-page .file-folder-bar{color:#edf5f9}
/* The configurable dashboard remains freely rearrangeable; category polish never adds a wrapper. */
.role-category-page .dash-widget{border-color:#364d5d;background:linear-gradient(110deg,rgba(116,160,190,.045),transparent),#17232d}
.role-category-page .dash-widget .dash-card-head{border-bottom-color:#415766}
/* Parts: organize queue and shopping-list rows by the actual ticket status, never by department. */
.parts-panel.parts-status-organized .parts-status-group-row{background:#20323d}
.parts-panel.parts-status-organized .parts-status-group-row th{position:relative;text-align:left;padding:12px 13px 10px;border-top:2px solid #587e95;border-bottom:1px solid #405765;color:#f2f7fa;background:linear-gradient(90deg,#233a46,#172630);font-size:12px;font-weight:800;line-height:1.4;white-space:normal}
.parts-status-group-name{display:inline-block;vertical-align:middle}
.parts-status-group-count{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:12px;padding:2px 9px;min-width:29px;border-radius:7px;background:#355064;color:#f1f6fa;font-variant-numeric:tabular-nums;font-size:11px;border:1px solid #55738a}
.parts-panel.parts-status-organized .parts-status-group-row + tr td{border-top:0}
.parts-panel.parts-status-organized .table-wrap{max-width:100%}
@media(max-width:760px){.role-category-overview-title{font-size:12px;margin:11px 0 7px}.role-category-page > .role-category-kpis{padding:7px}.role-category-panel:not(.role-category-has-title)::before{padding:10px 11px;font-size:12px}.parts-panel.parts-status-organized .parts-status-group-row th{padding:10px 9px}.parts-status-group-count{margin-left:8px}}

/* Parts counts stay attached to their status group labels, never outside the list. */
.parts-panel.parts-status-organized .parts-status-group-row th{box-sizing:border-box;overflow:visible}
.parts-status-group-name{display:inline-block;max-width:none;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:normal;word-break:normal}
.parts-status-group-count{max-width:64px;white-space:nowrap;box-sizing:border-box}
