body[data-unified-business-nav] :is(#year-end-nav-group,#hst-nav-group,#payroll-nav-group,#payroll-navigation,#payroll-nav,#nonresident-navigation){display:none!important}#business-workspace-navigation{width:100%;min-width:0}#business-workspace-navigation>button{width:100%;text-align:left}#business-management-items{margin-left:18px;border-left:1px solid #69758c;padding-left:9px}#business-management-items button{width:100%;text-align:left;min-height:36px}#business-management-items button.active{background:#3a5e84}.business-workspace-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.business-workspace-header .hub-page-heading{margin:0;margin-right:auto}.business-workspace-header label{display:flex;align-items:center;gap:8px;margin:0;font-weight:400}.business-workspace-header select{max-width:230px}.business-module-tabs,.business-page-tabs,.business-queue-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid #d3deec;padding-bottom:10px;margin-bottom:14px}.business-module-tabs button,.business-page-tabs button,.business-queue-tabs button{min-height:36px}.business-module-tabs .selected,.business-page-tabs .selected,.business-queue-tabs .selected{background:#e7effc;border-color:#4777ce;color:#1d4d94}.business-module-tabs small{margin-left:9px;padding:2px 7px;border-radius:10px;background:#f0f4fb;color:#425e83;font-weight:400}.business-queue-tabs small{font-size:12px;color:#718099;margin-left:5px}.business-workspace #view-hst-settings,.business-workspace .view{padding-top:0}.business-employee-banner{margin-bottom:16px}.business-workspace .employee-view-banner p{margin-bottom:0}@media(max-width:650px){.business-workspace-header label{width:100%}.business-module-tabs{gap:5px}.business-module-tabs button{flex:1 0 42%}.business-queue-tabs small{width:100%}}


/* Other Tasks follows the existing task shell, with separate scoped controls. */
#view-my-tasks .business-queue-tabs[hidden]{display:none!important}
.other-task-actions,.other-task-inline,.other-task-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.other-tasks>.other-task-actions{margin-block:12px}
.other-tasks .other-task-inline input[type=search]{width:min(18rem,58vw)}
.other-task-actions button[aria-pressed=true]{color:#2459a5;background:#e7effc;border-color:#5c83c1}
.other-task-feedback{margin-block:8px;color:#315f9f;font-size:13px}
.other-task-feedback:empty{display:none}
.other-task-feedback button{margin-inline-start:8px}
.other-task-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #d3deec;border-radius:6px;background:#fff}
.other-task-table-wrap table{width:100%;border-collapse:collapse;min-width:490px}
.other-task-table-wrap :is(th,td){text-align:left;padding:10px 12px;border-bottom:1px solid #dfe7f2;vertical-align:middle}
.other-task-table-wrap th{background:#edf2f8}
.other-task-table-wrap td:first-child{width:36%;overflow-wrap:anywhere}
.other-task-table-wrap td small{display:block;color:#8a4b16}
.other-task-list-people{margin-block:0 12px}
.other-task-list-people:empty{display:none}
.other-task-list-filter{display:flex;align-items:center;gap:8px;margin:0;font-weight:400}
.other-task-list-filter select{max-width:min(16rem,55vw)}
.other-task-list-actions button{white-space:nowrap}
.other-task-list-comments{display:flex;align-items:center;gap:8px;white-space:nowrap}
.other-task-list-comments span{font-variant-numeric:tabular-nums}
.other-task-list-title.hub-secondary{min-height:0;padding:0;border:0;background:none;color:#2459a5;text-align:left;white-space:normal;overflow-wrap:anywhere}
.other-task-list-title.hub-secondary:hover{text-decoration:underline}
@layer hub-permission-actions{
 :root .other-task-table-wrap .other-task-list-title[data-hub-ui-control="neutral"],
 :root .other-task-table-wrap .other-task-list-title[data-hub-ui-control="neutral"]:hover:not(:disabled){background:transparent!important;border-color:transparent!important;color:#000!important}
}
.other-task-owner-alert{background:#fff5e6;color:#81521f;padding:8px 12px;border-radius:5px}
.other-task-dialog{box-sizing:border-box;width:min(660px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90vh;margin:auto;padding:16px 20px;border:1px solid #cbd8e8;border-radius:9px;color:#263c55;background:#fff;overflow:auto;box-shadow:0 16px 55px #162b4733}
.other-task-dialog::backdrop{background:#162b474d}
.other-task-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.other-task-dialog h2{margin:4px 0 8px;font-size:18px;overflow-wrap:anywhere}
.other-task-dialog h3{margin:0 0 8px;font-size:15px}
.other-task-dialog-body>*{margin-block:8px}
.other-task-summary span{background:#edf3fb;border-radius:4px;padding:3px 7px;font-size:12px}
.other-task-summary strong{color:#81521f}
.other-task-text{white-space:pre-wrap;overflow-wrap:anywhere}
.other-task-emphasis{font-weight:600;overflow-wrap:anywhere}
.other-task-section,.other-task-handoff,.other-task-share-preview{margin-top:12px;padding:12px;border:1px solid #d3deec;border-radius:6px;background:#f9fbfd}
.other-task-share-preview:empty{display:none}
.other-task-share-preview button+button{margin-inline-start:8px}
.other-task-handoff summary{cursor:pointer;font-weight:600}
.other-task-form{display:grid;gap:8px;align-items:start;margin-block:8px}
.other-task-form[hidden]{display:none!important}
.other-task-field{display:grid;gap:3px;margin:0}
.other-task-field :is(textarea,input[type=text],input[type=date],select){box-sizing:border-box;max-width:100%}
.other-task-field textarea{resize:vertical;width:100%;min-height:60px}
.other-task-form fieldset{border:1px solid #d3deec;border-radius:5px;padding:8px}
.other-task-form fieldset label{display:flex;align-items:center;gap:6px;flex-direction:row-reverse;justify-content:flex-end}
.other-task-image-choice{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px;margin:4px 0}
.other-task-image-preview img{display:block;max-width:min(300px,100%);max-height:250px;object-fit:contain;border-radius:4px;margin-top:6px}
.other-task-image-preview img[hidden]{display:none}
.other-task-section ul:empty{display:none}
.other-task-caption{color:#4c6483;font-size:13px;margin:0}
.other-task-source-list{list-style:none;padding:0}
.other-task-source-list li{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px;border-bottom:1px solid #d3deec}
.other-task-source-list li strong{flex:1 1 180px;overflow-wrap:anywhere}
.other-task-source-list li span{color:#4c6483;font-size:12px}
.other-task-dialog.other-task-compact{width:min(600px,calc(100vw - 24px))}
.other-task-deadline{font-size:13px;color:#314f72}
.other-task-comment-form .other-task-field textarea{min-height:72px}
.other-task-comment-form.is-dragging{outline:2px solid #4e82bc;outline-offset:3px;background:#eef6ff}
.other-task-comment-previews{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px}
.other-task-comment-previews:empty{display:none}
.other-task-comment-previews>div{display:grid;gap:4px;max-width:132px;font-size:12px}
.other-task-comment-previews img{width:112px;height:70px;object-fit:contain;border:1px solid #d3deec;border-radius:5px;background:#fff}
.other-task-comment-previews span{overflow-wrap:anywhere}
.other-task-comment-previews button{justify-self:start;padding:3px 8px}
.other-task-comment-form .other-task-actions{margin:0}
.other-task-comment-form .other-task-actions button[data-hub-action="otherTasks.complete"]{margin-inline-start:auto}
.other-task-confirm-action{padding:10px 12px;border:1px solid #d3deec;border-radius:6px;background:#f9fbfd}
.other-task-confirm-action>p{margin:0 0 8px}
.other-task-comment-list{list-style:none;padding:0}
.other-task-comment-list>li+li{padding-top:10px;margin-top:10px;border-top:1px solid #dfe7f2}
.other-task-comment-images{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.other-task-comment-image{box-sizing:border-box;width:124px;padding:5px;border:1px solid #cfdae7;border-radius:7px;background:#fff;overflow:hidden}
.other-task-comment-image>button{display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;min-height:70px;padding:0;border:0;background:transparent;color:inherit;font-size:12px;cursor:zoom-in}
@layer hub-permission-actions{
 :root .other-task-comment-image>button[data-hub-ui-control="neutral"],:root .other-task-comment-image>button[data-hub-ui-control="neutral"]:hover:not(:disabled){background:transparent!important;border-color:transparent!important;color:inherit!important}
}
.other-task-comment-image img{display:block;max-width:100%;max-height:94px;object-fit:contain}
.other-task-comment-image img[hidden]{display:none}
.other-task-image-viewer{box-sizing:border-box;width:fit-content;max-width:92vw;max-height:92vh;margin:auto;padding:12px;border:1px solid #cbd8e8;border-radius:8px;background:#fff;overflow:auto}
.other-task-image-viewer::backdrop{background:#162b4780}
.other-task-image-viewer img{display:block;max-width:100%;max-height:76vh;object-fit:contain;margin:0 auto 10px}
@media(max-width:650px){.other-task-dialog{padding:12px}.other-tasks>.other-task-actions{row-gap:6px}.other-task-inline input[type=file]{max-width:100%}}
/* Neutralize legacy vertical navigation rules only inside the new shell. */
.business-workspace :is(.business-module-tabs,.business-page-tabs,.business-queue-tabs){display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:8px;padding:0 0 12px;margin:0 0 14px;width:100%;background:transparent;box-shadow:none}.business-workspace :is(.business-module-tabs,.business-page-tabs,.business-queue-tabs)>button{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;width:auto!important;flex:0 0 auto;min-width:90px;margin:0;padding:7px 13px;border-radius:5px}.business-workspace-header{width:100%}.business-workspace-header>label{width:auto;max-width:none;white-space:nowrap;flex:0 0 auto}.business-workspace-header select{width:220px;min-height:36px}.business-workspace-header .hub-page-heading{flex:1 1 auto;margin-right:auto!important}#business-workspace-navigation button{box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:10px 12px;margin:0;border:0;border-radius:5px;background:transparent;color:#eef4ff;font:inherit;font-size:14px;line-height:20px;text-align:left;box-shadow:none}#business-workspace-navigation button svg{width:18px;height:18px;min-width:18px;flex:0 0 18px}#business-workspace-navigation button.active{background:#3b5f86;color:white}#business-management-items{margin-top:4px;margin-bottom:5px}#business-management-items button{min-height:35px;font-size:13px;padding:7px 10px}#business-workspace-navigation button:hover{background:#303f60}.business-workspace .selected{box-shadow:inset 0 -2px 0 #4978cd}@media(max-width:650px){.business-workspace-header>label{white-space:normal}.business-workspace-header select{width:min(220px,70vw)}.business-workspace :is(.business-module-tabs,.business-page-tabs)>button{flex:1 0 40%}.business-workspace-header .hub-page-heading{flex-basis:100%}}

/* Navigation is structural, not a permission-colored business action. */
#business-workspace-navigation button{background:transparent!important;color:#eef4ff!important}#business-workspace-navigation button.active{background:#3b5f86!important;color:#fff!important}#business-workspace-navigation button:hover{background:#303f60!important}#business-workspace-navigation .business-navigation-chevron{margin-left:auto;font-size:12px;color:#c8d5e8}#business-management-items[hidden]{display:none!important}

#view-business-management [aria-label="工资管理视图"]{display:none!important}

/* Match notification navigation; these structural links are not business actions. */
#work-shell>aside #business-workspace-navigation{width:100%;min-width:0}
#work-shell>aside #business-workspace-navigation>button{height:40px;min-height:40px;padding:9px 5px!important;border:1px solid transparent!important;border-radius:6px;font-size:13px;font-weight:600;line-height:20px;gap:5px;box-shadow:none}
#work-shell>aside #business-my-tasks-nav:not([hidden])+#business-management-nav:not([hidden]){margin-top:6px}
#work-shell>aside #business-workspace-navigation button:hover{background:#2e3a59!important}
#work-shell>aside #business-workspace-navigation>button.active{background:#365c83!important;color:#fff!important;box-shadow:inset 3px 0 #9ac5e6}
#work-shell>aside #business-management-items{margin:4px 0 10px 20px;padding-left:10px;border-left:1px solid #58657c}
#work-shell>aside #business-management-items>button{width:100%;min-height:34px;margin:0;padding:8px 9px;border:1px solid transparent!important;border-radius:5px;font-size:12px;font-weight:500;line-height:18px;color:#e6eef8!important;box-shadow:none}
#work-shell>aside #business-management-items>button.active{background:#365c83!important;color:#fff!important;box-shadow:inset 3px 0 #9ac5e6}
#work-shell>aside #business-workspace-navigation button:focus-visible{outline:2px solid #b8ddff!important;outline-offset:-3px}

/* Keep a single page heading in My Tasks. Original standalone pages retain theirs. */
#view-my-tasks .business-task-surface>[data-business-workspace-embedded]>:is(.hub-module-heading,.hub-page-heading,.payroll-heading){display:none!important}
.business-workspace .business-module-tabs{flex-wrap:wrap!important;gap:4px!important;align-items:stretch!important;border:0;border-bottom:1px solid #d3deec;padding:0!important;margin:0 0 14px!important}
.business-workspace .business-queue-tabs{gap:12px!important;flex-wrap:wrap!important;border:0;padding:0!important;margin:0 0 16px!important}
.business-queue-options{display:inline-flex;align-items:center;gap:3px;max-width:100%;padding:3px;border-radius:7px;background:#edf0f4}
.business-workspace .business-queue-tabs>small{flex:1 1 280px;max-width:100%;margin:0;font-size:12px;line-height:1.6;color:#718099}
.business-workspace .business-task-counts{margin-left:0;color:#65748a;font-variant-numeric:tabular-nums;white-space:nowrap}
.business-handling-count{color:#2459a5;font-weight:600}
.business-related-count{color:#65748a}
.business-workspace .business-queue-tabs>.business-count-notice{flex-basis:100%;color:#8a4b16}
@layer hub-permission-actions{
 :root .business-workspace .business-module-tabs>button[data-hub-ui-control="neutral"]{display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:0;width:auto!important;padding:9px 15px 10px;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;color:#66758a!important;font-size:15px;font-weight:600;line-height:22px;white-space:nowrap;box-shadow:none!important}
 :root .business-workspace .business-module-tabs>button[data-hub-ui-control="neutral"]:hover:not(:disabled){background:#f1f5fb!important;color:#315f9f!important}
 :root .business-workspace .business-module-tabs>button[data-hub-ui-control="neutral"][aria-selected="true"]{background:transparent!important;color:#285dab!important;border-bottom-color:#3c75cb!important;box-shadow:none!important}
 :root .business-workspace .business-queue-options>button[data-hub-ui-control="neutral"]{display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;min-height:31px;min-width:0;width:auto!important;margin:0;padding:5px 12px;border:0!important;border-radius:5px;background:transparent!important;color:#64748b!important;font-size:13px;font-weight:400;line-height:20px;white-space:nowrap;box-shadow:none!important}
 :root .business-workspace .business-queue-options>button[data-hub-ui-control="neutral"]:hover:not(:disabled){background:#e5eaf1!important}
 :root .business-workspace .business-queue-options>button[data-hub-ui-control="neutral"][aria-pressed="true"]{background:#fff!important;color:#285dab!important;box-shadow:0 1px 3px #2b3c541a!important}
}
@media(max-width:650px){.business-workspace .business-module-tabs{flex-wrap:nowrap!important;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.business-workspace .business-module-tabs>button{flex:0 0 auto!important}.business-workspace .business-queue-tabs>small{flex-basis:100%;width:auto}.business-queue-options{align-self:flex-start}}
.business-management-path{font-size:14px;font-weight:600;line-height:1.4;color:#435d78;margin:0}
#view-business-management .workflow-settings-inline{box-sizing:border-box;width:100%;max-width:880px;margin:0}
#view-business-management .payroll-heading-embedded{justify-content:flex-start;margin:0 0 10px}
#view-business-management .payroll-heading-embedded[hidden],#view-business-management .payroll-heading-embedded>[hidden],#view-business-management .payroll-tabs[hidden]{display:none!important}
@media(max-width:650px){#view-business-management .business-page-tabs{gap:6px}#view-business-management .business-page-tabs>button{min-width:0;flex:0 1 auto;padding-inline:8px}}

