/* Preserve all existing theme variables; layout scoped to requested controls. */
#sidebar .pm17-brand{min-height:0!important;flex:0 0 auto;gap:5px!important;padding:8px 3px 12px!important;margin-bottom:6px!important}
#sidebar .pm17-brand img{background:transparent!important;border-radius:0!important;padding:0!important;width:125px!important;height:145px!important;max-height:18vh!important;object-fit:contain!important;box-shadow:none!important;filter:drop-shadow(0 2px 5px #0003)}
#sidebar .pm14-dock-toggle{display:flex;align-items:center;justify-content:center;width:100%;height:19px;min-height:19px;flex:none;background:transparent;color:#fff;border:0;border-top:1px solid #ffffff30;cursor:pointer;padding:0}
#sidebar .pm14-dock-toggle .icon{width:16px;height:16px}#sidebar .pm14-dock-hidden{display:none!important}#sidebar .nav-bottom [data-action="logout"]{display:flex!important;flex:none}
.topbar{gap:10px!important}.topbar .global-search{min-width:110px;flex:1 1 150px;max-width:380px}.topbar .global-search input{min-width:0;width:100%}.pm14-search-button{display:grid;place-items:center;padding:0;background:none;color:inherit;border:0;cursor:pointer;flex:none}.pm14-search-button svg{width:18px;height:18px}.topbar .top-actions{min-width:0;gap:5px;flex-shrink:1}.topbar .top-actions .icon-button{flex:none}.topbar .top-actions select{max-width:120px}.topbar .user{min-width:0}.topbar .user>div{max-width:95px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .user>div strong{display:block;overflow:hidden;text-overflow:ellipsis}.pm16-top-clock{flex-direction:row!important;gap:8px!important;min-width:0!important;flex-shrink:0}.pm16-top-clock span,.pm16-top-clock strong{display:inline!important;color:var(--blue)!important;font:700 13px Arial,Tahoma,sans-serif!important;line-height:19px!important;white-space:nowrap}
@media(max-width:1450px){.topbar .user>div{display:none!important}.topbar .top-actions select{max-width:100px}.pm16-top-clock span,.pm16-top-clock strong{font-size:12px!important}}@media(max-width:1100px){.topbar{flex-wrap:wrap!important;height:auto!important;min-height:70px;padding-block:8px!important}.topbar .global-search{max-width:none}.topbar .top-actions{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:540px){.topbar .global-search{order:2;min-width:100%}.pm16-top-clock span,.pm16-top-clock strong{font-size:11px!important}}
.pm14-export{width:auto!important;min-width:30px!important;padding:4px 7px!important;font-family:Arial,Tahoma,sans-serif!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important;flex:none}.pm13-exports{gap:3px!important;flex-wrap:nowrap!important}.pm13-toolbar{flex-wrap:nowrap!important;gap:5px!important;overflow-x:auto;scrollbar-width:thin;justify-content:flex-start!important}.pm13-toolbar .table-search{flex:1 1 110px!important;min-width:105px!important;max-width:none!important;width:auto!important;padding-inline:7px!important}.pm13-toolbar .table-search input{min-width:0;width:100%}.pm13-toolbar .pm-date-filters,.pm13-toolbar .wf-toolbar{flex:none!important;flex-wrap:nowrap!important;gap:4px!important}.pm13-toolbar .pm-date-filters label{white-space:nowrap;font-size:.72rem;gap:3px}.pm13-toolbar .pm-date-filters input{width:116px!important;min-width:0!important;max-width:116px!important;padding:4px!important;font-size:12px!important}.pm13-toolbar select{max-width:122px!important;min-width:0!important;padding-inline:5px!important;font-size:.75rem!important}.pm13-toolbar .pm17-late-filter{margin:0!important;gap:3px!important}.pm13-toolbar .pm13-exports{margin-inline-start:auto!important}.pm13-toolbar .pm13-exports .btn:not(.pm14-export){padding:4px 6px!important;min-width:28px!important}.pm19-report-actions{flex-wrap:nowrap!important}
#data-table.pm-has-pinned-actions .table-wrap > table > thead > tr > th.pm-pinned-actions,#data-table.pm-has-pinned-actions .table-wrap > table > tbody > tr > td.pm-pinned-actions{width:32px!important;min-width:32px!important;max-width:32px!important;padding-inline:2px!important;box-shadow:none!important}#data-table.pm-has-pinned-actions .table-wrap > table > thead > tr > th.pm-pinned-actions{background:var(--table)!important;color:#fff!important}.pm14-action-head .icon{width:15px;height:15px;display:inline-block;vertical-align:middle}#data-table .pm-pinned-actions-button{width:24px!important;min-width:24px!important;height:25px!important;padding:0!important;font-size:18px!important}
#data-table[data-kind="requests"] [data-field="number"]{min-width:78px!important;width:86px!important;max-width:100px!important;padding-inline:5px!important;white-space:nowrap!important}#data-table[data-kind="requests"] [data-field="number"] .sort-col{white-space:normal!important}#data-table[data-kind="requests"] [data-field="assigned"]{min-width:155px!important;width:155px!important;max-width:200px!important;white-space:normal!important;overflow-wrap:normal!important}#data-table[data-kind="requests"] [data-field="receivedStatus"]{min-width:120px!important;width:130px!important;max-width:150px!important;white-space:normal!important}
.pm13-unit-dual .pm14-employees{width:100%!important;min-width:0!important;table-layout:fixed!important}.pm13-unit-dual .pm14-employees th,.pm13-unit-dual .pm14-employees td{min-width:0!important;max-width:none!important;padding:7px 3px!important;text-align:center;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important;overflow:visible!important;font-size:.75rem;line-height:1.55}.pm14-employees td[dir="ltr"]{font-variant-numeric:tabular-nums;word-break:break-all}.pm13-unit-dual .pm15-unit-tree{width:100%;max-width:none}.pm13-unit-tree .pm15-unit-branch{overflow:visible}.pm13-unit-tree .pm15-unit-branch-head{border-radius:12px 12px 0 0;justify-content:center;text-align:center;padding:9px 5px;font-size:.85rem}.pm14-branch-head{display:block;text-align:center;color:var(--muted);padding:3px}.pm14-members{position:relative;display:grid;gap:12px;padding-top:15px}.pm14-members:not(:empty):before{content:'';position:absolute;top:0;bottom:0;right:8px;width:1px;background:var(--line)}.pm14-members .pm15-unit-employee{position:relative;width:calc(100% - 17px);margin-inline-start:17px;padding:8px 7px;gap:6px}.pm14-members .pm15-unit-employee:before{content:'';position:absolute;right:-10px;top:50%;width:9px;border-top:1px solid var(--line)}.pm14-members .pm15-unit-icon{width:28px;height:28px}.pm14-members .pm15-unit-identity{overflow-wrap:anywhere}.pm14-members .pm15-unit-identity small{font-size:.68rem}.pm14-members .pm15-unit-identity strong{font-size:.8rem}
.pm14-perf-form{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px;align-items:end}.pm14-perf-form label{display:grid;gap:5px;flex:1 1 150px}.pm14-perf-form input,.pm14-perf-form select,.pm14-search-category select{padding:7px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font:inherit}.pm14-search-category{display:flex;align-items:center;gap:8px;margin-bottom:10px}.pm17-global-results [hidden]{display:none!important}#pm14-perf-results .notice{margin-bottom:10px}
@media(max-width:1400px){.pm13-toolbar .pm-date-filters label{gap:2px!important;min-width:0!important;width:auto!important}.pm13-toolbar .pm-date-filters input{width:103px!important;max-width:103px!important;min-width:0!important}.pm13-toolbar .wf-toolbar select{width:105px!important;max-width:105px!important}.pm13-toolbar .pm17-late-filter select{width:103px!important;max-width:103px!important}.pm13-toolbar .pm17-late-filter label{font-size:.68rem!important}.pm13-toolbar .table-search{min-width:90px!important}.pm13-toolbar .pm14-export{min-width:25px!important;padding-inline:5px!important}}
/* The assistant reports directly to the chief, not to or above either section. */
.pm14-assistant-lane{position:relative;min-height:58px}.pm14-assistant-lane:before{content:'';position:absolute;top:0;bottom:0;right:50%;border-right:2px solid var(--blue)}.pm14-assistant-lane .pm13-assistant{position:relative;width:44%;max-width:44%;margin:0 0 0 auto;text-align:right}.pm14-assistant-lane .pm13-assistant:before{content:'';position:absolute;top:50%;left:-14%;width:14%;border-top:2px solid var(--blue)}.pm14-assistant-lane .pm15-unit-employee{padding:8px 7px;gap:6px}.pm14-assistant-lane .pm15-unit-icon{width:28px;height:28px}.pm14-assistant-lane .pm15-unit-identity{overflow-wrap:anywhere;font-size:.8rem}.pm14-assistant-lane .pm15-unit-identity small{font-size:.68rem}.pm13-unit-tree .pm15-unit-branches:after{content:'';position:absolute;top:-34px;right:50%;height:16px;border-right:2px solid var(--blue)}.pm13-unit-tree .pm15-unit-root::after{background:var(--blue)}
.pm15-tasks-table .pm13-toolbar .pm-date-filters label{gap:2px!important}.pm15-tasks-table .pm13-toolbar .pm-date-filters input{width:98px!important;max-width:98px!important}.pm15-tasks-table .pm13-toolbar .table-search{min-width:80px!important}.pm15-tasks-table .pm13-toolbar select{max-width:92px!important}.pm15-tasks-table .pm13-toolbar .pm14-export{min-width:25px!important;padding-inline:5px!important}
