*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.site-layout{transition:all .2s;margin-left:250px}.site-layout .site-layout-background{background:#fff}.site-layout-collapsed{margin-left:80px}.login-page{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.login-card{width:100%;max-width:400px;border-radius:8px;box-shadow:0 4px 12px #00000026}.dashboard{padding:20px}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.dashboard-header h1{color:#333}.welcome-message{background-color:#fff;padding:30px;border-radius:8px;box-shadow:0 1px 3px #0000001a;text-align:center}.welcome-message h2{color:#333;margin-bottom:15px}.welcome-message p{color:#666;font-size:18px}@media (max-width: 768px){.site-layout{margin-left:0}.ant-layout-content{margin:16px 8px 0!important}.ant-layout-content>div{padding:12px!important}}[data-theme=dark]{--bg-color: #141414;--bg-color-elevated: #1f1f1f;--bg-color-spotlight: #262626;--text-color: #e0e0e0;--text-color-secondary: #a0a0a0;--text-color-tertiary: #737373;--border-color: #303030;--border-color-secondary: #404040;--shadow-color: rgba(0, 0, 0, .3);--color-primary: #177ddc;--color-primary-bg: rgba(23, 125, 220, .15);--color-success: #52c41a;--color-warning: #faad14;--color-error: #ff4d4f;--color-info: #13c2c2}[data-theme=dark] body{background-color:var(--bg-color);color:var(--text-color)}[data-theme=dark] .app-header{background-color:var(--bg-color-elevated);border-bottom-color:var(--border-color)!important;color:var(--text-color)}[data-theme=dark] .ant-layout-content>div{background-color:var(--bg-color)!important}[data-theme=dark] .dashboard-header h1{color:var(--text-color)}[data-theme=dark] .welcome-message{background-color:var(--bg-color-elevated);color:var(--text-color)}[data-theme=dark] .welcome-message h2{color:var(--text-color)}[data-theme=dark] .welcome-message p{color:var(--text-color-secondary)}[data-theme=dark] .tab-bar{background-color:var(--bg-color);border-bottom-color:var(--border-color)}[data-theme=dark] .tab-bar .tab-close-icon:hover{background-color:#ffffff1a}[data-theme=dark] .tab-bar .tab-close-icon svg{color:var(--text-color-secondary)}[data-theme=dark] .tab-bar .ant-tabs-tab-active{background-color:var(--bg-color-spotlight)}[data-theme=dark] .ant-layout-sider,[data-theme=dark] .ant-menu-dark{background-color:#1f1f1f!important}[data-theme=dark] .ant-menu-dark .ant-menu-item-selected{background-color:var(--color-primary-bg)!important}[data-theme=dark] .ant-menu-dark .ant-menu-item-selected>.ant-menu-title-content{color:#fff!important}[data-theme=dark] .ant-select-dropdown{background-color:#1f1f1f!important;border-color:#303030!important}[data-theme=dark] .ant-select-item-option-selected{background-color:#1890ff!important;color:#fff!important}[data-theme=dark] .ant-select-item-option{background-color:transparent!important;color:#e0e0e0!important}[data-theme=dark] .ant-select-item-option:hover,[data-theme=dark] .ant-select-item-option-active{background-color:#262626!important}[data-theme=dark] .ant-table{background-color:var(--bg-color)!important;color:var(--text-color)!important}[data-theme=dark] .ant-table thead>tr>th{background-color:var(--bg-color-elevated)!important;color:var(--text-color)!important;border-bottom-color:var(--border-color)!important}[data-theme=dark] .ant-table-tbody>tr>td{background-color:var(--bg-color)!important;border-bottom-color:var(--border-color-secondary)!important;color:var(--text-color-secondary)!important}[data-theme=dark] .ant-table-tbody>tr:hover>td{background-color:var(--bg-color-spotlight)!important}[data-theme=dark] .ant-table-tbody>tr.ant-table-row-selected>td{background-color:var(--color-primary-bg)!important}[data-theme=dark] .ant-table-wrapper{background-color:transparent!important}[data-theme=dark] .ant-card{background-color:var(--bg-color-elevated)!important;color:var(--text-color)!important;border-color:var(--border-color)!important}[data-theme=dark] .ant-card-body{background-color:var(--bg-color-elevated)!important;color:var(--text-color)!important}[data-theme=dark] .ant-card-head{background-color:var(--bg-color-spotlight)!important;border-bottom-color:var(--border-color)!important;color:var(--text-color)!important}[data-theme=dark] .ant-card-head-title{color:var(--text-color)!important}[data-theme=dark] .page-header{background-color:var(--bg-color-elevated)!important;color:var(--text-color)!important}[data-theme=dark] .page-header h1{color:var(--text-color)!important}[data-theme=dark] .form-container{background-color:var(--bg-color-elevated)!important;color:var(--text-color)!important}[data-theme=dark] .form-container h2,[data-theme=dark] .form-group label{color:var(--text-color)!important}[data-theme=dark] .form-group input,[data-theme=dark] .form-group select{background-color:var(--bg-color-spotlight)!important;color:var(--text-color)!important;border-color:var(--border-color)!important}[data-theme=dark] .form-help{color:var(--text-color-tertiary)!important}[data-theme=dark] .menu-tree-header{background-color:var(--bg-color-spotlight)!important;border-bottom-color:var(--border-color)!important;color:var(--text-color)!important}[data-theme=dark] .menu-row{background-color:var(--bg-color-elevated)!important;border-bottom-color:var(--border-color)!important;color:var(--text-color)!important}[data-theme=dark] .menu-row:hover{background-color:var(--bg-color-spotlight)!important}[data-theme=dark] .MenuManagementPage__content,[data-theme=dark] .menu-management-page .ant-tree{background-color:var(--bg-color-elevated)!important;border-color:var(--border-color)!important}[data-theme=dark] .menu-management-page .ant-tree-node-content-wrapper{background-color:var(--bg-color-spotlight)!important;border-color:var(--border-color)!important;color:var(--text-color)!important}[data-theme=dark] .menu-management-page .ant-tree-treenode:nth-child(odd) .ant-tree-node-content-wrapper,[data-theme=dark] .menu-management-page .ant-tree-treenode:nth-child(2n) .ant-tree-node-content-wrapper{background-color:var(--bg-color-spotlight)!important}[data-theme=dark] .menu-tree-node-title{color:var(--text-color)!important}[data-theme=dark] .dept-tree{background-color:var(--bg-color-elevated)!important}[data-theme=dark] .dept-tree .ant-tree-node-content-wrapper{background-color:var(--bg-color-spotlight)!important;color:var(--text-color)!important}[data-theme=dark] .dept-tree .ant-tree-node-content-wrapper:hover{background-color:var(--bg-color-elevated)!important}[data-theme=dark] .dept-tree .ant-tree-switcher{color:var(--text-color-tertiary)!important}[data-theme=dark] .dept-tree .ant-tree-treenode-selected>.ant-tree-node-content-wrapper{background-color:var(--color-primary-bg)!important}[data-theme=dark] .dept-name,[data-theme=dark] .dept-tree .ant-tree-title,[data-theme=dark] .dept-tree .antd-tree-title{color:var(--text-color)!important}[data-theme=dark] .ant-tree{background-color:var(--bg-color-elevated)!important;color:var(--text-color)!important}[data-theme=dark] .ant-tree-node-content-wrapper{background-color:transparent!important;color:var(--text-color)!important}[data-theme=dark] .ant-tree-node-content-wrapper:hover{background-color:var(--bg-color-spotlight)!important}[data-theme=dark] .ant-tree-switcher{color:var(--text-color-tertiary)!important}[data-theme=dark] .ant-tree-iconEle{color:var(--text-color-secondary)!important}[data-theme=dark] .ant-tree-treenode-selected>.ant-tree-node-content-wrapper{background-color:var(--color-primary-bg)!important}[data-theme=dark] .ant-tree-title{color:var(--text-color)!important}[data-theme=dark] .ant-tree-child-tree .ant-tree-node-content-wrapper{background-color:var(--bg-color-spotlight)!important}[data-theme=dark] .ant-tree-child-tree .ant-tree-node-content-wrapper:hover{background-color:var(--bg-color-elevated)!important}[data-theme=dark] .btn-outline{background-color:var(--bg-color-spotlight)!important;color:var(--color-primary)!important}[data-theme=dark] .error-message{background-color:#ff4d4f33!important;color:#ff7875!important;border-color:#ff4d4f!important}[data-theme=dark] .loading,[data-theme=dark] .empty-state{color:var(--text-color-tertiary)!important}[data-theme=dark] .menu-perms-section{background-color:var(--bg-color-spotlight)!important}[data-theme=dark] .menu-perms-section h4{color:var(--text-color)!important;border-bottom-color:var(--border-color)!important}[data-theme=dark] .modal-content{background-color:var(--bg-color-elevated)!important}[data-theme=dark] .modal-header{border-bottom-color:var(--border-color)!important}[data-theme=dark] .modal-header h2,[data-theme=dark] .modal-body{color:var(--text-color)!important}[data-theme=dark] .btn-close{color:var(--text-color-tertiary)!important}[data-theme=dark] .btn-close:hover{color:var(--text-color)!important}[data-theme=dark] .form-actions{border-top-color:var(--border-color)!important}[data-theme=dark] .menu-perms-url{background-color:#177ddc33!important;color:#40a9ff!important}[data-theme=dark] .ant-modal,[data-theme=dark] .ant-modal-content{background-color:var(--bg-color-elevated)!important}[data-theme=dark] .ant-modal-header{background-color:var(--bg-color-spotlight)!important;border-bottom-color:var(--border-color)!important}[data-theme=dark] .ant-modal-title{color:var(--text-color)!important}[data-theme=dark] .ant-modal-body{background-color:var(--bg-color-elevated)!important;color:var(--text-color)!important}[data-theme=dark] .ant-modal-footer{background-color:var(--bg-color-elevated)!important;border-top-color:var(--border-color)!important}[data-theme=dark] .ant-form-item-label>label{color:var(--text-color)!important}[data-theme=dark] .ant-input{background-color:#1f1f1f!important;color:var(--text-color)!important;border-color:var(--border-color)!important}[data-theme=dark] .ant-input-outlined,[data-theme=dark] span.ant-input-outlined{background-color:#1f1f1f!important}[data-theme=dark] .ant-input::placeholder{color:var(--text-color-tertiary)!important}[data-theme=dark] .ant-input:hover{border-color:var(--text-color-secondary)!important}[data-theme=dark] .ant-input:focus{border-color:var(--color-primary)!important}[data-theme=dark] .ant-select-selector{background-color:var(--bg-color-spotlight)!important;color:var(--text-color)!important;border-color:var(--border-color)!important}[data-theme=dark] .ant-select-selection-item{color:var(--text-color)!important}[data-theme=dark] .ant-form-item-explain-error{color:#ff7875!important}[data-theme=dark] .ant-pagination-item{background-color:var(--bg-color-elevated)!important;border-color:var(--border-color)!important}[data-theme=dark] .ant-pagination-item a{color:var(--text-color)!important}[data-theme=dark] .ant-pagination-item:hover a,[data-theme=dark] .ant-pagination-item-active{border-color:var(--color-primary)!important}[data-theme=dark] .ant-pagination-item-active a{color:var(--color-primary)!important}[data-theme=dark] .ant-pagination-prev,[data-theme=dark] .ant-pagination-next{background-color:var(--bg-color-elevated)!important;border-color:var(--border-color)!important}[data-theme=dark] .ant-pagination-prev .ant-pagination-item-link,[data-theme=dark] .ant-pagination-next .ant-pagination-item-link{color:var(--text-color)!important}[data-theme=dark] .ant-pagination-prev:hover .ant-pagination-item-link,[data-theme=dark] .ant-pagination-next:hover .ant-pagination-item-link{border-color:var(--color-primary)!important}[data-theme=dark] .ant-pagination-disabled .ant-pagination-item-link{color:var(--text-color-tertiary)!important;border-color:var(--border-color)!important}[data-theme=dark] .ant-pagination-options-quick-jumper input{background-color:var(--bg-color-spotlight)!important;color:var(--text-color)!important;border-color:var(--border-color)!important}[data-theme=dark] .ant-select-arrow,[data-theme=dark] .ant-empty-description{color:var(--text-color-tertiary)!important}[data-theme=dark] .ant-typography,[data-theme=dark] .ant-typography h1,[data-theme=dark] .ant-typography h2,[data-theme=dark] .ant-typography h3,[data-theme=dark] .ant-typography h4,[data-theme=dark] .ant-typography h5,[data-theme=dark] .ant-typography h6{color:var(--text-color)!important}[data-theme=dark] .ant-typography-secondary{color:var(--text-color-secondary)!important}[data-theme=dark] code,[data-theme=dark] .ant-typography code{background-color:var(--bg-color-spotlight)!important;color:var(--color-primary)!important}[data-theme=light] .app-header{background-color:#fff!important;border-bottom-color:#e8e8e8!important}[data-theme=light] .app-header h2,[data-theme=light] .app-header .theme-toggle-button,[data-theme=light] .app-header .tenant-select,[data-theme=light] .app-header .tenant-select .ant-select-selector,[data-theme=light] .app-header .ant-select-arrow,[data-theme=light] .app-header .ant-btn,[data-theme=light] .app-header .ant-btn:hover{color:#1890ff!important}[data-theme=light] .ant-layout-sider,[data-theme=light] .ant-menu-light{background-color:#fff!important}[data-theme=light] .ant-menu-light .ant-menu-item-selected{background-color:#e6f7ff!important;color:#1890ff!important}[data-theme=light] .ant-menu-light .ant-menu-submenu-selected>.ant-menu-submenu-title{color:#1890ff!important}.dict-management-page .ant-table-row{cursor:pointer;transition:background-color .2s}.dict-management-page .ant-table-row:hover{background-color:var(--table-row-hover-bg, #f5f5f5)}.dict-management-page .ant-table-cell{cursor:pointer}[data-theme=dark] .dict-management-page .dict-type-row-selected{background-color:var(--table-row-selected-bg, #112A45)!important}[data-theme=light] .dict-management-page .dict-type-row-selected{background-color:var(--table-row-selected-bg, #e6f7ff)!important}[data-theme=light] .ant-table{background-color:#fff}[data-theme=light] .ant-table-tbody>tr:hover>td{background-color:#f5f5f5}[data-theme=light] .ant-table-thead>tr>th{background-color:#fafafa;color:#000000d9;border-bottom:1px solid #f0f0f0}[data-theme=light] .ant-table-tbody>tr>td{border-bottom:1px solid #f0f0f0}[data-theme=light] .ant-table tbody tr.ant-table-selected-row>td{background-color:#e6f7ff}[data-theme=dark] .ant-table{background-color:#141414}[data-theme=dark] .ant-table-thead>tr>th{background-color:#1f1f1f;color:#ffffffd9}[data-theme=dark] .ant-table-tbody>tr>td{background-color:#141414}[data-theme=dark] .ant-table-tbody>tr:hover>td{background-color:#262626}[data-theme=dark] .ant-table tbody tr.ant-table-selected-row>td{background-color:#112a45}[data-theme=light] .ant-card{background-color:#fff;border:1px solid #f0f0f0}[data-theme=light] .ant-card-head{background-color:#fff;border-bottom:1px solid #f0f0f0}[data-theme=light] .ant-card-head-title{color:#000000d9}[data-theme=light] .ant-card-body{background-color:#fff}[data-theme=dark] .ant-card{background-color:#141414;border:1px solid #303030}[data-theme=dark] .ant-card-head{background-color:#1f1f1f;border-bottom:1px solid #303030}[data-theme=dark] .ant-card-head-title{color:#ffffffd9}[data-theme=dark] .ant-card-body{background-color:#141414}[data-theme=light] .ant-pagination-item{background-color:#fff;border:1px solid #d9d9d9}[data-theme=light] .ant-pagination-item-active{background-color:#1890ff;border-color:#1890ff}[data-theme=light] .ant-pagination-item-active a{color:#fff}[data-theme=light] .ant-pagination-prev,[data-theme=light] .ant-pagination-next{background-color:#fff;border:1px solid #d9d9d9}[data-theme=dark] .ant-pagination-item{background-color:#1f1f1f;border:1px solid #434343;color:#ffffffd9}[data-theme=dark] .ant-pagination-item-active{background-color:#1890ff;border-color:#1890ff}[data-theme=dark] .ant-pagination-item a{color:#ffffffd9}[data-theme=dark] .ant-pagination-item-active a{color:#fff}[data-theme=dark] .ant-pagination-prev,[data-theme=dark] .ant-pagination-next{background-color:#1f1f1f;border:1px solid #434343;color:#ffffffd9}[data-theme=dark] .ant-modal-container,[data-theme=dark] .ant-modal-content{background-color:#1f1f1f}[data-theme=dark] .ant-modal-header{background-color:#1f1f1f;border-bottom:1px solid #303030}[data-theme=dark] .ant-modal-title{color:#ffffffd9}[data-theme=dark] .ant-modal-close{color:#ffffff73}[data-theme=dark] .ant-modal-close:hover{color:#ffffffd9}[data-theme=dark] .ant-modal-body{background-color:#1f1f1f}[data-theme=dark] .ant-modal-footer{background-color:#1f1f1f;border-top:1px solid #303030}[data-theme=dark] .ant-modal-confirm-btns .ant-btn{background-color:#1f1f1f;border:1px solid #434343;color:#ffffffd9}[data-theme=dark] .ant-modal-confirm-btns .ant-btn-primary{background-color:#1890ff;border-color:#1890ff}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}.error-message{padding:12px;margin-bottom:20px;background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb;border-radius:4px;text-align:center}.login-page{display:flex;justify-content:center;align-items:center;min-height:100vh;background-color:#f0f2f5;padding:20px}.login-form{width:100%;max-width:400px;padding:40px;background:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a}.login-form h2{text-align:center;margin-bottom:30px;color:#333}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#555}.form-group input{width:100%;padding:12px;border:1px solid #ddd;border-radius:4px;font-size:16px;transition:border-color .3s}.form-group input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}button{width:100%;padding:12px;background-color:#007bff;color:#fff;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:background-color .3s}button:hover:not(:disabled){background-color:#0056b3}button:disabled{background-color:#6c757d;cursor:not-allowed}.icon-selector-input-wrapper{width:100%;cursor:pointer}.icon-selector-selected{display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;transition:all .3s ease}.icon-selector-selected:hover{border-color:#1890ff;box-shadow:0 2px 8px #1890ff1a}.icon-selector-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#f5f5f5;border-radius:4px}.icon-selector-name{font-size:12px;color:#666;flex:1}.icon-selector-placeholder{padding:8px 12px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#999;font-size:12px}.icon-selector-modal .ant-modal-content{border-radius:12px;overflow:hidden}.icon-selector-modal .ant-modal-header{border-bottom:1px solid #f0f0f0;padding:16px 24px;background:#fafafa}.icon-selector-modal-content{display:flex;flex-direction:column;max-height:600px}.icon-selector-search{padding:16px 24px;background:#fafafa;border-bottom:1px solid #f0f0f0}.icon-selector-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;padding:20px;overflow-y:auto;flex:1;background:#fff}.icon-selector-item{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 8px;border:1px solid #e8e8e8;border-radius:8px;background:#fff;cursor:pointer;transition:all .3s ease;min-height:100px}.icon-selector-item:hover{border-color:#1890ff;background:#e6f7ff;transform:translateY(-2px);box-shadow:0 4px 12px #1890ff26}.icon-selector-item-selected{border-color:#1890ff;background:#e6f7ff;box-shadow:0 0 0 2px #1890ff}.icon-selector-item-name{margin-top:8px;font-size:11px;color:#666;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.icon-selector-item:hover .icon-selector-item-name{color:#1890ff}.icon-selector-item-selected .icon-selector-item-name{color:#1890ff;font-weight:500}.icon-selector-empty{grid-column:1 / -1;text-align:center;padding:60px 20px;color:#999;font-size:14px}.icon-selector-footer{padding:12px 24px;background:#fafafa;border-top:1px solid #f0f0f0;font-size:12px;color:#666;text-align:right}.icon-selector-grid::-webkit-scrollbar{width:8px}.icon-selector-grid::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.icon-selector-grid::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.icon-selector-grid::-webkit-scrollbar-thumb:hover{background:#a8a8a8}@media (max-width: 768px){.icon-selector-modal{width:95vw!important;max-width:none}.icon-selector-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;padding:12px}.icon-selector-item{padding:12px 6px;min-height:80px}}.MenuManagementPage{padding:20px}.MenuManagementPage{width:100%}.MenuManagementPage__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:16px}.MenuManagementPage__header .ant-btn{min-width:auto!important;width:auto!important;max-width:none!important;flex-shrink:0!important;padding:4px 15px;flex:none!important}.MenuManagementPage__title{margin:0;font-size:24px;font-weight:700}.MenuManagementPage__content{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.menu-tree{border:1px solid #e0e0e0}.menu-tree-header{display:flex;padding:12px 16px;background:#f5f5f5;border-bottom:1px solid #e0e0e0;font-weight:700}.MenuManagementPage__menu-info{flex:1;display:flex;align-items:center;gap:8px}.menu-title{font-weight:500}.menu-type-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:12px;color:#fff;font-weight:500}.menu-perms-badge{display:inline-flex;gap:4px;align-items:center}.menu-perms-url{padding:2px 6px;border-radius:3px;background:#f0f5ff;color:#1890ff;font-size:11px;font-family:Courier New,monospace;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-perms-method{padding:1px 6px;border-radius:3px;font-size:10px;font-weight:700;text-transform:uppercase}.menu-perms-method-get{background:#e6f7ff;color:#1890ff}.menu-perms-method-post{background:#f6ffed;color:#52c41a}.menu-perms-method-put{background:#fff7e6;color:#fa8c16}.menu-perms-method-delete{background:#fff1f0;color:#f5222d}.menu-perms-method-patch{background:#f9f0ff;color:#722ed1}.menu-perms-section{margin-bottom:20px;padding:16px;background:#f5f5f5;border-radius:6px}.menu-perms-section h4{margin:0 0 12px;font-size:14px;color:#333;border-bottom:1px solid #e0e0e0;padding-bottom:8px}.MenuManagementPage__menu-actions{display:flex;gap:6px;align-items:center}.MenuManagementPage__menu-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:4px}.menu-row{display:flex;align-items:center;justify-content:space-between;padding:12px 32px 12px 24px;border-bottom:1px solid #f0f0f0;transition:background .2s}.menu-row:hover{background:#fafafa}.menu-row:last-child{border-bottom:none}.btn{padding:4px 10px;border:1px solid transparent;border-radius:6px;cursor:pointer;font-size:14px;background:#1890ff;color:#fff;transition:background .2s;height:32px;line-height:24px;width:auto;max-width:none;min-width:0}.btn:hover{background:#40a9ff}.btn-sm{padding:4px 10px;font-size:12px}.btn-outline{background:#fff;color:#1890ff;border-color:#1890ff}.btn-outline:hover{background:#1890ff;color:#fff}.btn-danger{background:#ff4d4f}.btn-danger:hover{background:#ff7875}.btn-primary{background:#1890ff}.btn-primary:hover{background:#40a9ff}.empty-state{padding:40px;text-align:center;color:#999}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 4px 12px #00000026}.menu-modal{max-width:600px}.menu-modal-with-icon{max-width:700px}.perms-modal{max-width:450px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #f0f0f0}.modal-header h2{margin:0;font-size:18px}.btn-close{background:none;border:none;font-size:24px;cursor:pointer;color:#999;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.btn-close:hover{color:#333}.modal-body{padding:20px}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:6px;font-weight:500;color:#333;font-size:14px}.form-group input,.form-group select{width:100%;padding:8px 12px;border:1px solid #d9d9d9;border-radius:4px;font-size:14px;box-sizing:border-box;transition:border-color .2s}.form-group input:focus,.form-group select:focus{border-color:#1890ff;outline:none;box-shadow:0 0 0 2px #1890ff1a}.form-help{display:block;margin-top:4px;font-size:12px;color:#999}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid #f0f0f0}.loading{padding:40px;text-align:center;color:#999}.user-management-page,.role-management-page,.menu-management-page,.permission-management-page,.tenant-management-page{width:100%;min-height:calc(100vh - 120px);display:flex;flex-direction:column}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:20px;background-color:#fff;border-radius:4px;box-shadow:0 1px 3px #0000001a}.page-header h1{margin:0;color:#333;font-size:24px}.btn{display:inline-block;padding:6px 12px;margin:0 2px;border:none;border-radius:4px;cursor:pointer;font-size:14px;text-align:center;text-decoration:none;transition:all .3s ease}.management-page .ant-btn{min-width:auto;width:auto;white-space:nowrap}.page-header .ant-btn{min-width:100px;flex-shrink:0}.search-section .ant-input-search-button{width:auto;min-width:80px}.ant-table-tbody>tr>td .ant-btn-link{padding:4px 8px;height:auto;line-height:1.2}.modal-footer .ant-btn{min-width:80px}.btn-primary{background-color:#007bff;color:#fff}.btn-primary:hover{background-color:#0056b3}.btn-secondary{background-color:#6c757d;color:#fff}.btn-secondary:hover{background-color:#545b62}.btn-danger{background-color:#dc3545;color:#fff}.btn-danger:hover{background-color:#bd2130}.btn:disabled{opacity:.6;cursor:not-allowed}.error-message{padding:12px;margin-bottom:20px;background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb;border-radius:4px}.loading{text-align:center;padding:40px;color:#6c757d}.form-container{background-color:#fff;padding:20px;border-radius:4px;box-shadow:0 1px 3px #0000001a}.form-container h2{margin-top:0;color:#333}.status-tag{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:700}.message-management-page .page-header .ant-btn{min-width:120px}.message-management-page .search-section .ant-input-search{max-width:400px}.message-management-page .search-section .ant-btn{width:auto;min-width:80px}.message-management-page .ant-table-tbody>tr>td .ant-btn-link{padding:4px 8px;height:auto;line-height:1.2;font-size:12px}.message-management-page .ant-modal-footer .ant-btn{min-width:80px;margin:0 4px}.user-management-page .ant-modal-footer,.role-management-page .ant-modal-footer,.tenant-management-page .ant-modal-footer,.menu-management-page .ant-modal-footer{text-align:center!important;padding:10px 0!important}.user-management-page .ant-modal-footer .ant-btn,.role-management-page .ant-modal-footer .ant-btn,.tenant-management-page .ant-modal-footer .ant-btn,.menu-management-page .ant-modal-footer .ant-btn{min-width:80px!important;max-width:120px!important;margin:0 8px!important;width:auto!important;flex:none!important}.user-management-page .ant-modal-footer>*,.role-management-page .ant-modal-footer>*,.tenant-management-page .ant-modal-footer>*,.menu-management-page .ant-modal-footer>*{flex:none!important;width:auto!important}.ant-modal-footer{display:flex!important;justify-content:center!important;gap:8px!important}.ant-modal-footer .ant-btn{width:auto!important;max-width:120px!important;flex:none!important;min-width:80px!important}.ant-modal-footer .ant-btn-flex{flex:none!important;width:auto!important}.user-management-page .ant-modal,.role-management-page .ant-modal,.tenant-management-page .ant-modal,.menu-management-page .ant-modal{width:600px!important}.user-management-page .ant-modal-footer,.role-management-page .ant-modal-footer,.tenant-management-page .ant-modal-footer,.menu-management-page .ant-modal-footer{margin:0!important;padding:16px 24px!important}.user-management-page .ant-table-tbody>tr>td .ant-btn,.role-management-page .ant-table-tbody>tr>td .ant-btn,.tenant-management-page .ant-table-tbody>tr>td .ant-btn,.menu-management-page .ant-table-tbody>tr>td .ant-btn{padding:4px 12px;height:32px;font-size:12px;border-radius:4px;white-space:nowrap}.user-management-page .ant-table-tbody>tr>td .ant-btn-sm,.role-management-page .ant-table-tbody>tr>td .ant-btn-sm,.tenant-management-page .ant-table-tbody>tr>td .ant-btn-sm,.menu-management-page .ant-table-tbody>tr>td .ant-btn-sm{padding:2px 8px;height:24px;font-size:11px}.user-management-page .page-header .ant-btn,.role-management-page .page-header .ant-btn,.tenant-management-page .page-header .ant-btn,.menu-management-page .page-header .ant-btn{min-width:100px;max-width:140px;height:36px}.status-active{background-color:#d4edda;color:#155724}.status-inactive{background-color:#f8d7da;color:#721c24}.menu-management-page .ant-tree{background:#fff;border-radius:8px;border:1px solid #e8e8e8;padding:16px}.menu-management-page .ant-tree-node-content-wrapper{padding:12px 8px;margin:2px 0;border-radius:6px;transition:all .3s ease;border:1px solid transparent;line-height:1.5;min-height:48px;display:flex;align-items:center;background:#fafafa}.menu-management-page .ant-tree-treenode:nth-child(odd) .ant-tree-node-content-wrapper{background:#f8f9fa;border-color:#e9ecef}.menu-management-page .ant-tree-treenode:nth-child(2n) .ant-tree-node-content-wrapper{background:#fff;border-color:#f0f0f0;box-shadow:0 1px 2px #0000000a}.menu-management-page .ant-tree-node-content-wrapper:hover{background:#e3f2fd!important;border-color:#2196f3!important;box-shadow:0 2px 8px #2196f326;transform:translateY(-1px)}.menu-management-page .ant-tree-node-content-wrapper.ant-tree-node-selected{background:#e8f5e8!important;border-color:#52c41a!important;box-shadow:0 2px 8px #52c41a26}.menu-management-page .ant-tree-title{width:100%}.menu-tree-node-title{display:flex;align-items:center;font-size:14px;font-weight:500;color:#262626;flex:1}.menu-tree-actions{display:flex;gap:6px;align-items:center;opacity:0;transition:opacity .3s ease}.menu-management-page .ant-tree-node-content-wrapper:hover .menu-tree-actions{opacity:1}.menu-management-page .ant-tree-child-tree{margin-left:20px;border-left:2px dashed #e8e8e8;padding-left:8px}.menu-management-page .ant-tree-switcher{width:24px;height:24px;line-height:24px;margin-right:8px}.menu-management-page .ant-tree-switcher .anticon{font-size:12px;color:#666}.menu-management-page .ant-tree-node-content-wrapper .anticon{margin-right:6px;color:#666}.menu-management-page .ant-tag{margin-left:8px;font-size:11px;padding:2px 6px;border-radius:10px;font-weight:500}.menu-management-page .ant-tree-list-holder-inner{padding:8px 0}.menu-management-page .ant-tree-treenode{padding:4px 0}@media (max-width: 768px){.menu-management-page .ant-tree-node-content-wrapper{padding:8px 6px;min-height:40px}.menu-tree-actions{opacity:1}.menu-management-page .ant-tree-child-tree{margin-left:12px}}.DeptManagementPage{padding:0}.dept-tree{min-height:400px}.dept-tree-node{display:flex;justify-content:space-between;align-items:center;width:100%;padding-right:8px}.dept-name{font-size:14px;color:#333}.dept-actions{display:flex;gap:4px;opacity:0;transition:opacity .2s}.dept-tree-node:hover .dept-actions{opacity:1}.dept-tree .ant-tree-node-content-wrapper{border-radius:4px;transition:background-color .2s}.dept-tree .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.dept-tree .ant-tree-switcher{color:#999}.dept-tree .ant-tree-treenode-selected>.ant-tree-node-content-wrapper{background-color:#e6f7ff}.ant-modal-body .ant-form{margin-top:16px}.ant-form-item-label>label{font-weight:500}.theme-toggle-button{color:inherit;border-radius:4px;transition:all .3s}.theme-toggle-button:hover{background-color:#0000000f}[data-theme=dark] .theme-toggle-button:hover{background-color:#ffffff1a}.tab-bar{margin:0;background:#fff;border-bottom:1px solid #f0f0f0;padding:8px 16px 0}.tab-bar:empty,.tab-bar.empty-tabs{display:none}.tab-bar .main-tabs{margin-bottom:-1px}.tab-bar .ant-tabs-tab-remove{display:none!important}.tab-bar .tab-label{display:flex;align-items:center;gap:8px;padding-right:4px;transition:none}.tab-bar .tab-title{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tab-bar .tab-close-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:2px;opacity:0;transition:all .2s}.tab-bar .tab-close-icon:hover{background-color:#0000000f}.tab-bar .ant-tabs-tab:hover .tab-close-icon,.tab-bar .ant-tabs-tab-active .tab-close-icon{opacity:1}.tab-bar .tab-close-icon svg{font-size:10px;color:#999}.tab-bar .ant-tabs-tab{padding:8px 16px}.tab-bar .ant-tabs-tab-active{background-color:#fff}[data-theme=dark] .tab-bar{background:var(--bg-color)!important;border-bottom-color:var(--border-color)!important}[data-theme=dark] .tab-bar .ant-tabs-tab{color:var(--text-color-secondary)!important}[data-theme=dark] .tab-bar .ant-tabs-tab:hover{color:var(--text-color)!important}[data-theme=dark] .tab-bar .ant-tabs-tab-active{background-color:var(--bg-color-spotlight)!important;color:var(--color-primary)!important}[data-theme=dark] .tab-bar .ant-tabs-tab-active .tab-title{color:var(--color-primary)!important}[data-theme=dark] .tab-bar .tab-close-icon{color:var(--text-color-tertiary)!important}[data-theme=dark] .tab-bar .tab-close-icon:hover{background-color:#ffffff1a!important}
