/* M-Design v1.2.32. The named layer takes precedence over legacy unlayered
   !important patches without escalating selectors or changing business visibility. */
@layer mdesign {
:root{
 --font-family:'PingFang SC',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
 --bg:#F5F6F7;--surface:#fff;--text:rgba(17,17,17,.8);--text-2:rgba(17,17,17,.6);--text-3:rgba(17,17,17,.4);--text-4:#C9CDD4;
 --green:#00B42A;--green-bg:#E8FFEA;--red:#F53F3F;--red-bg:#FFECE8;--amber:#F28C2C;--amber-bg:#FFF7E8;
 --border:#E5E6EB;--border-2:#E5E6EB;--border-strong:#C9CDD4;--radius:8px;--radius-sm:6px;--radius-lg:12px;--adaptive-nav:200px;--nav-offset:200px;
}
html,body{height:100%;overflow:hidden!important;background:var(--bg)!important;color:var(--text)!important}
body,button,input,select,textarea,body *{font-family:var(--font-family)!important}
body{font-size:14px!important;line-height:22px!important}
.layout{height:100vh!important;min-height:0!important;width:100%!important;overflow:hidden!important}
.side{position:fixed!important;left:0!important;top:0!important;width:200px!important;height:100vh!important;border:0!important;background:#fff!important}
.brand{height:60px!important;min-height:60px!important;padding:0 16px!important}
.brand .bname{font-size:16px!important;font-weight:500!important}
.main{margin-left:200px!important;width:calc(100% - 200px)!important;min-width:0!important;height:100vh!important;overflow:hidden!important}
.topbar{position:fixed!important;left:200px!important;top:0!important;right:0!important;width:auto!important;height:60px!important;min-height:60px!important;background:#fff!important;padding:0 24px!important}
.main>.content{margin:60px 0 0!important;padding:16px!important;height:calc(100vh - 60px)!important;min-height:0!important;overflow:hidden!important;display:block!important}
.page.show{height:100%!important;min-height:0!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;overflow:auto!important;gap:0!important}
.page:not(.show){display:none!important}
.page-head{position:relative!important;top:auto!important;flex:0 0 auto!important;margin:0 0 16px!important;padding:0!important;min-height:32px!important;background:var(--bg)!important}
.page-head h2,.page-head h1{font-size:16px!important;line-height:26px!important;font-weight:500!important;letter-spacing:0!important;color:rgba(0,0,0,.8)!important}
.page-head p,.card-desc,.task-config-panel-head p,.task-info-heading p{font-size:14px!important;line-height:22px!important;font-weight:400!important;color:var(--text-2)!important;margin-top:6px!important}
.page h3,.card-head h3,.task-info-heading h3,.task-config-panel h3,.task-config-sidebar h3,.task-nav h3{font-size:14px!important;line-height:22px!important;font-weight:500!important;color:var(--text)!important}
.task-config-section-head p,.task-node-card p,.task-config-section-desc,.modal-sub,.drawer-sub{font-size:12px!important;line-height:20px!important;font-weight:400!important;color:var(--text-2)!important}
.mitem{font-size:14px!important;line-height:22px!important;font-weight:400!important}
.mitem.active{font-weight:500!important;background:rgba(var(--accent-rgb),.08)!important;color:var(--accent)!important}
.mlbl{font-size:14px!important;line-height:20px!important;font-weight:500!important;letter-spacing:0!important}
.btn{height:32px!important;min-height:32px!important;min-width:80px!important;border-radius:6px!important;padding:0 8px!important;font-size:14px!important;line-height:22px!important;font-weight:500!important;box-shadow:none!important;white-space:nowrap!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important}
.btn.primary{background:var(--accent)!important;border:1px solid var(--accent)!important;color:#fff!important}
.btn.primary:hover:not(:disabled){background:var(--accent-hover)!important;border-color:var(--accent-hover)!important}
.btn.primary:active:not(:disabled){background:var(--accent-active)!important;border-color:var(--accent-active)!important}
.btn.secondary,.btn.ghost,.btn.outline{background:#F2F3F5!important;border:1px solid transparent!important;color:var(--text)!important}
.btn.secondary:hover:not(:disabled),.btn.ghost:hover:not(:disabled){background:#C9CDD4!important}
.btn:disabled{opacity:.4!important;cursor:not-allowed!important}
.btn.primary:disabled{background:var(--accent)!important;color:#ECF4FF!important}
.btn.danger{color:var(--red)!important}
.md-tool-button.btn,.global-field-btn.btn,.global-transfer-btn.btn,.filter-reset-button.btn,.fill2-table-right-actions>.btn,.global-list-tools>.btn,.dash-table-tools>.btn,.roster-toolbar-actions>.btn,#dpm-actions>.btn{background:#fff!important;border:1px solid var(--border)!important;color:var(--text)!important;font-weight:400!important;width:auto!important;min-width:80px!important}
.md-tool-button.btn:hover:not(:disabled),.global-field-btn.btn:hover:not(:disabled),.global-transfer-btn.btn:hover:not(:disabled),.filter-reset-button.btn:hover:not(:disabled){background:#F5F6F7!important;border-color:var(--border-strong)!important}
.global-field-btn.btn{font-size:14px!important}
.global-field-btn.btn svg{width:14px!important;height:14px!important;margin:0!important}
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,.fsel,.ms-btn,.shared-dept-tree-trigger,.roster-filter-trigger,.fill2-unified-trigger,.fill2-select-trigger,.task-month-trigger,.task-datetime-trigger{
 height:32px!important;min-height:32px!important;border-radius:6px!important;font-size:14px!important;line-height:20px!important;font-weight:400!important;color:var(--text)!important;background:#fff!important;box-shadow:none!important;
}
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea,.ms-btn,.shared-dept-tree-trigger,.roster-filter-trigger,.fill2-select-trigger{border:1px solid rgba(183,191,199,.24)!important}
.srch{height:32px!important;min-height:32px!important;border-radius:6px!important;background:#fff!important}
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]).srch-inner,.srch input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.column-settings-search input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.srch input[type=text],.srch input[type=search],.column-settings-search input[type=search]{height:30px!important;min-height:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-width:0!important;width:100%!important;padding:0!important;font-size:14px!important;line-height:20px!important}
.srch input:focus,.column-settings-search input:focus{border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important}
.column-settings-search{display:flex!important;align-items:center!important;gap:4px!important;height:32px!important;min-height:32px!important;padding:0 8px 0 12px!important;border:1px solid rgba(183,191,199,.24);border-radius:6px!important;background:#fff!important}
.column-settings-search svg{order:-1!important;width:14px!important;height:14px!important;flex:0 0 14px!important;stroke:var(--text-3)!important;border:0!important;background:transparent!important;padding:0!important}
.srch{padding:0 8px 0 12px!important;gap:4px!important}
.srch svg{width:14px!important;height:14px!important;flex:0 0 14px!important}
input:disabled,select:disabled,textarea:disabled{background:#E5E6EB!important;color:#86909C!important}
input[readonly],textarea[readonly]{background:#F5F6F7!important}
input::placeholder,textarea::placeholder{color:rgba(17,17,17,.3)!important}
textarea{min-height:64px!important;border-radius:6px!important;font-size:14px!important;line-height:20px!important;padding:8px 12px!important}
.srch:focus-within,input:focus,select:focus,textarea:focus{outline:0!important;border-color:var(--accent)!important;box-shadow:0 0 0 2px rgba(var(--accent-rgb),.1)!important}
.md-filter-control:has(button[aria-expanded=true]){outline:0!important;border-color:var(--accent)!important;box-shadow:0 0 0 2px rgba(var(--accent-rgb),.1)!important}
.srch input:focus{box-shadow:none!important}
.md-search-clear{flex:0 0 14px;width:14px;height:14px;border:0;background:transparent;color:var(--text-3);font-size:14px;line-height:14px;cursor:pointer}
.md-search-clear[hidden]{display:none!important}
.md-filterbar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;column-gap:24px!important;row-gap:16px!important;align-items:center!important;padding:20px 24px!important;margin:0!important;height:auto!important;min-height:0!important;width:100%!important;border:0!important;border-bottom:1px solid var(--border)!important;border-radius:8px 8px 0 0!important;background:#fff!important;box-shadow:none!important;flex:0 0 auto!important;position:relative!important;top:auto!important;overflow:visible!important}
.md-filter-field{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;width:auto!important}
.md-filter-label{flex:0 0 80px!important;width:80px!important;text-align:right!important;color:var(--text-2)!important;font-size:14px!important;line-height:22px!important;font-weight:400!important}
.md-filter-control{flex:1!important;min-width:0!important;width:0!important;position:relative!important}
.md-filter-control>:not(.shared-dept-tree-native){width:100%!important;min-width:0!important;max-width:100%!important}
.md-filter-control .srch,.md-filter-control .fill2-unified-select,.md-filter-control .roster-filter-select,.md-filter-control .shared-dept-tree-select{width:100%!important;min-width:0!important}
.md-filter-control button:not(.md-search-clear):not(.shared-dept-tree-option):not(.shared-dept-tree-caret){max-width:100%!important}
.md-filterbar>.spacer{display:none!important}
.md-filter-actions{grid-column:4!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;min-width:0!important}
.md-filter-meta{grid-column:1 / -1;font-size:12px!important;line-height:20px!important;color:var(--text-2)!important}
.md-filterbar .f2-advanced{display:contents!important}
.md-filterbar .shared-dept-tree-native{display:none!important}
.md-side-shell{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;min-height:0!important;flex:1!important;background:#fff!important;border-radius:8px!important;overflow:hidden!important;margin:0!important;padding:20px 24px 24px 0!important;border:0!important}
.md-side-nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;align-self:stretch!important;width:max-content!important;min-width:0!important;height:auto!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;border-right:1px solid var(--border)!important;background:#fff!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.md-side-nav>.ts,.task-config-sidebar nav>button{height:32px!important;min-height:32px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;padding:0 16px!important;border:0!important;border-right:2px solid transparent!important;border-radius:0!important;font-size:14px!important;line-height:22px!important;font-weight:400!important;color:var(--text-2)!important;background:#fff!important;white-space:nowrap!important;text-align:left!important}
.md-side-nav>.ts.active,.task-config-sidebar nav>button.active{color:var(--accent)!important;font-weight:500!important;border-right-color:var(--accent)!important;background:#fff!important;box-shadow:none!important}
.md-side-nav>.ts::after{display:none!important}
.md-side-content{min-height:0!important;min-width:0!important;display:flex!important;flex-direction:column!important;overflow:auto!important;padding:0 0 0 24px!important;background:#fff!important}
.md-side-content>.md-filterbar,.md-side-content>#sum-global-filter-card>.md-filterbar,.md-side-content .log-filter-toolbar{padding:0 0 20px!important}
#sum-global-filter-card{margin:0!important;border:0!important;background:#fff!important;border-radius:0!important;box-shadow:none!important;flex:0 0 auto!important}
#sum-view-proj,#sum-view-dept{margin:0!important;padding:0!important;min-height:0!important;border:0!important;border-radius:0!important;flex:1!important;background:#fff!important;overflow:hidden!important}
#sum-view-proj>.tbl-scroll,#sum-view-dept>.tbl-scroll{height:auto!important;max-height:none!important;min-height:0!important;overflow:auto!important;flex:1!important}
.dash-table-tools{padding:16px 0 12px!important;min-height:60px!important;height:auto!important;gap:8px!important;flex:0 0 auto!important}
.log-content-shell{margin:0!important;min-height:0!important;flex:1!important}
.md-side-content>#log-tab-changes,.md-side-content>#log-tab-auth{min-height:0!important;flex:1!important;margin:0!important}
.task-config-shell{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;gap:24px!important;border:0!important;background:#fff!important;border-radius:8px!important;padding:20px 24px 24px 0!important;min-height:100%!important}
.task-config-sidebar{width:auto!important;min-width:0!important;background:#fff!important;border:0!important;border-right:1px solid var(--border)!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
.task-config-sidebar-head{padding:0 16px 16px!important}
.task-config-sidebar nav>button{width:100%!important}
.task-config-sidebar nav>button>span{background:transparent!important;color:inherit!important}
.task-config-panel{border:0!important;border-radius:0!important;padding:0!important;min-width:0!important;box-shadow:none!important}
.task-config-panel-head{padding:0 0 16px!important}
.task-config-panel .task-config-section{padding:16px 0!important}
.tbl-wrap,.table-wrap,.table-container,.ae-tbl-wrap,.log-change-dialog-table,.role-editor-permission-wrap{border:0!important;border-radius:0!important;box-shadow:none!important}
table{border:0!important;border-radius:0!important;border-collapse:collapse!important}
th{height:40px!important;padding:8px 12px!important;background:#F5F6F7!important;color:var(--text)!important;font-size:14px!important;line-height:22px!important;font-weight:500!important;box-shadow:none!important}
td{height:40px!important;padding:8px 12px!important;color:var(--text)!important;font-size:14px!important;line-height:22px!important;font-weight:400!important}
th,td,tr:last-child>td,tfoot td{border:0!important;border-bottom:1px solid var(--border)!important;border-radius:0!important}
#roster-body>tr>td,#roles-body>tr>td,#task-designer-progress-table tbody>tr>td{height:48px!important;padding-top:2px!important;padding-bottom:2px!important}
td .btn,td .ract,td .role-member-link{height:28px!important;min-height:28px!important;min-width:0!important;padding:3px 8px!important;border:0!important;border-radius:4px!important;color:var(--accent)!important;background:transparent!important;font-size:14px!important;line-height:22px!important;font-weight:400!important;box-shadow:none!important}
td .btn:hover,td .ract:hover,td .role-member-link:hover{background:#F2F3F5!important;color:var(--accent-hover)!important}
td .btn.danger{color:var(--red)!important}
#sum-proj-table td:not(:first-child),#sum-proj-table th:not(:first-child),#sum-dept-table td:not(:first-child),#sum-dept-table th:not(:first-child){text-align:right!important}
#sum-proj-table td.num-drill,.num-drill{color:var(--accent)!important}
.pill.green,.stdot::before{color:var(--green)!important}.pill.green{background:var(--green-bg)!important}.stdot::before{background:var(--green)!important}.stdot.off::before{background:var(--text-3)!important}
.pill.red{color:var(--red)!important;background:var(--red-bg)!important}.pill.amber{color:var(--amber)!important;background:var(--amber-bg)!important}
.md-pagination{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:16px!important;min-height:56px!important;height:auto!important;padding:16px 0!important;flex:0 0 auto!important;width:100%!important;background:#fff!important;border:0!important;color:var(--text-3)!important}
.md-pagination-count,.md-pagination-pages{display:flex;align-items:center;gap:4px;white-space:nowrap}
.md-pagination-count{font-size:12px!important;line-height:20px!important}
.md-pagination-pages button{display:grid!important;place-items:center!important;width:24px!important;height:24px!important;min-width:24px!important;padding:0!important;border:1px solid rgba(17,17,17,.08)!important;border-radius:4px!important;background:#fff!important;color:var(--text-2)!important;font-size:14px!important;line-height:20px!important}
.md-pagination-pages button.active{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important;font-weight:500!important}
.md-pagination-pages button:disabled{opacity:.4!important;cursor:not-allowed}
.md-pagination input{width:40px!important;height:24px!important;min-height:24px!important;padding:0 4px!important;border-radius:4px!important;text-align:center!important}
.md-pagination select{width:74px!important;height:24px!important;min-height:24px!important;padding:0 4px!important;border-radius:4px!important;font-size:14px!important;line-height:22px!important}
.drawer{width:min(600px,calc(100vw - 32px))!important;border-radius:8px 0 0 8px!important;max-height:100vh!important;display:flex!important;flex-direction:column!important}
.drawer-body{padding:24px!important;overflow:auto!important;flex:1!important;min-height:0!important}
.drawer-head,.drawer-foot,.drawer-footer{padding:16px 24px!important;flex:0 0 auto!important}
.drawer-head h3,.drawer-title{font-size:16px!important;line-height:24px!important;font-weight:500!important}
.drawer-foot,.drawer-footer{display:flex!important;justify-content:flex-end!important;gap:8px!important;border-top:1px solid var(--border)!important;background:#fff!important}
.column-settings-drawer.drawer{width:min(720px,calc(100vw - 32px))!important}
.column-settings-body{overflow:auto!important;padding:0 24px!important;display:flex!important;align-items:stretch!important;flex:1!important;min-height:0!important}
.column-settings-pane{flex:1!important;min-width:0!important;overflow:visible!important;min-height:100%!important;padding:20px 16px!important}
.column-settings-pane:first-child{border-right:1px solid var(--border)!important}
.column-settings-pane-list,.column-settings-list,.global-col-list{overflow:visible!important;max-height:none!important;flex:none!important}
.column-settings-search{height:32px!important;min-height:32px!important;border-radius:6px!important;flex:0 0 auto!important}
.modal{width:min(600px,calc(100vw - 48px))!important;max-width:600px!important;max-height:calc(100vh - 48px)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 16px rgba(0,0,0,.16)!important}
.modal-head h3,.modal-title{font-size:16px!important;line-height:24px!important;font-weight:500!important;color:#1D2129!important}
.modal-head,.modal-body,.modal-foot{padding-left:24px!important;padding-right:24px!important}
.modal-body{min-width:0!important;min-height:0!important;overflow:auto!important;font-size:14px!important;line-height:22px!important}
.modal-foot{display:flex!important;justify-content:flex-end!important;gap:8px!important}
.modal .btn{height:28px!important;min-height:28px!important;min-width:64px!important;padding:0 8px!important;border-radius:4px!important;font-size:12px!important;line-height:20px!important}
.modal .btn.secondary,.modal .btn.ghost{background:#F2F3F5!important;border-color:transparent!important}
#confirm-modal .modal{max-width:420px!important}
#handoff-popover{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;padding:24px!important;margin:0!important;background:rgba(31,35,41,.48)!important;border:0!important;box-shadow:none!important;transform:none!important;z-index:720!important;align-items:center!important;justify-content:center!important}
#handoff-popover:not(.show){display:none!important}
#handoff-popover.show{display:flex!important;opacity:1!important;visibility:visible!important}
#handoff-popover::after{display:none!important}
#handoff-popover .modal{width:480px!important;max-width:480px!important}
#handoff-popover .handoff-popover-head{padding:20px 24px!important;display:flex!important;align-items:center!important}
#handoff-popover .handoff-popover-head h3{font-size:16px!important;line-height:24px!important;font-weight:500!important}
#handoff-popover .handoff-popover-body{padding:16px 24px!important}
#handoff-popover .handoff-popover-foot{padding:16px 24px!important;display:flex!important;justify-content:flex-end!important;gap:8px!important}
input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;width:16px!important;height:16px!important;min-width:16px!important;margin:0!important;border:1.5px solid var(--border-strong)!important;border-radius:4px!important;background:#fff!important;display:inline-grid!important;place-content:center!important;vertical-align:middle!important;cursor:pointer}
input[type=checkbox]:hover{border-color:var(--accent)!important}
input[type=checkbox]:checked,input[type=checkbox]:indeterminate{background:var(--accent)!important;border-color:var(--accent)!important}
input[type=checkbox]:checked::after{content:'';width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translateY(-1px)}
input[type=checkbox]:indeterminate::after{content:'';width:8px;height:2px;background:#fff}
input[type=checkbox]:disabled{opacity:.4!important;cursor:not-allowed!important}
.switch,.tog,.toggle{width:48px!important;height:28px!important;border-radius:96px!important}
.switch input,.tog input,.toggle input{appearance:none!important;width:48px!important;height:28px!important;border:0!important;border-radius:96px!important;background:rgba(183,191,199,.16)!important}
.switch input:checked,.tog input:checked,.toggle input:checked{background:var(--accent)!important}
.switch input::after,.tog input::after,.toggle input::after{content:''!important;position:absolute!important;width:24px!important;height:24px!important;background:#fff!important;border:0!important;border-radius:50%!important;left:2px!important;top:2px!important;transform:none!important;box-shadow:0 1px 2px rgba(0,0,0,.16)!important}
.switch input:checked::after,.tog input:checked::after,.toggle input:checked::after{left:22px!important}
.md-empty{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;background:#fff!important;padding:16px!important;width:100%!important;min-width:0!important}
.md-empty img{width:400px!important;height:300px!important;object-fit:contain!important;max-width:100%!important}
.md-empty h3,#page-noaccess h2{font-size:16px!important;line-height:24px!important;font-weight:500!important;color:var(--text)!important}
.md-empty p{font-size:14px!important;line-height:22px!important;color:var(--text-2)!important}
.md-empty .btn{margin-top:16px!important}
.md-empty-row>td{height:auto!important;padding:0!important;background:#fff!important}
#page-noaccess>.card{margin:0!important;max-width:none!important;flex:1!important;border:0!important;box-shadow:none!important}
#page-noaccess .card-body{padding:24px!important}
#the-toast{width:min(630px,calc(100vw - 48px))!important;min-height:44px!important;height:auto!important;border-radius:8px!important;padding:12px!important;gap:8px!important;background:#fff!important;box-shadow:0 4px 16px rgba(0,0,0,.16)!important;color:var(--text-2)!important;font-size:14px!important;line-height:20px!important;display:flex!important;align-items:center!important;white-space:normal!important}
.md-toast-icon{width:20px!important;height:20px!important;flex:0 0 20px!important;display:grid!important;place-items:center!important;border-radius:50%!important;font-size:14px!important;color:#fff!important;background:var(--green)!important}
#the-toast.warn .md-toast-icon{background:var(--amber)!important}#the-toast.error .md-toast-icon{background:var(--red)!important}
.md-toast-text{flex:1;min-width:0}
.md-toast-close{width:16px;height:16px;padding:0;border:0;background:transparent;color:var(--text-2);font-size:16px;line-height:16px;flex:0 0 16px}
.md-global-footer{position:sticky!important;bottom:0!important;z-index:30!important;flex:0 0 auto!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;padding:14px 24px!important;background:#fff!important;border-top:1px solid rgba(17,17,17,.08)!important}
.md-global-footer .btn{height:36px!important;min-height:36px!important}
.workconfirm-card{min-height:0!important;flex:1!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.workconfirm-table-wrap{flex:1!important;min-height:0!important;overflow:auto!important}
.workconfirm-toolbar{padding:16px 24px 12px!important}
@media(max-width:1100px){.md-filterbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md-filter-actions{grid-column:2!important}.md-side-shell{grid-template-columns:160px minmax(0,1fr)!important}.md-pagination{flex-wrap:wrap!important}}

/* switch (.sw/.sl 结构) 与确认弹窗宽度补充 */
.sw{width:48px!important;height:28px!important;min-width:48px!important;border-radius:96px!important;display:inline-block!important;position:relative!important;flex:0 0 48px!important}
.sw input{appearance:none!important;-webkit-appearance:none!important;width:48px!important;height:28px!important;margin:0!important;border:0!important;border-radius:96px!important;background:rgba(183,191,199,.16)!important;position:absolute!important;inset:0!important;cursor:pointer!important}
.sw input:checked{background:var(--accent)!important}
.sw .sl{position:absolute!important;top:2px!important;left:2px!important;width:24px!important;height:24px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 2px rgba(0,0,0,.16)!important;transition:left .15s!important;pointer-events:none!important}
.sw input:checked+.sl{left:22px!important}
#confirm-modal .modal{width:min(420px,calc(100vw - 48px))!important}
.md-pagination-host{display:flex!important;justify-content:flex-end!important}
#sum-view-proj>.md-empty,#sum-view-dept>.md-empty{flex:1!important;justify-content:center!important}
#sum-view-proj,#sum-view-dept{display:flex!important;flex-direction:column!important}
#sum-view-proj>.dash-table-tools,#sum-view-dept>.dash-table-tools{display:flex!important;align-items:center!important;height:auto!important;min-height:56px!important;flex:0 0 auto!important}
#sum-view-proj>.tbl-scroll,#sum-view-dept>.tbl-scroll{flex:1 1 auto!important;min-height:0!important;display:block!important}
.md-empty[hidden]{display:none!important}
.md-filterbar>#global-filter-reset,.md-filterbar>.global-filter-reset,.md-filterbar>.filter-reset-button{grid-column:4!important;grid-row:2!important;justify-self:end!important;width:auto!important}
/* 搜索组件内层 input 去边框（特异性高于基础 input 规则） */
.srch input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.column-settings-search input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]){height:30px!important;min-height:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-width:0!important;width:100%!important;padding:0!important;font-size:14px!important;line-height:20px!important}
div.srch:focus-within,div.column-settings-search:focus-within{border-color:#1677FF!important;box-shadow:0 0 0 2px rgba(22,119,255,.1)!important}
}