* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
            font-size: 14px;
            background: #f0f2f5;
            color: #333;
            height: 100vh;
            overflow: hidden;
        }

        /* ===== 顶部导航栏 ===== */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 56px;
            background: #fff;
            display: flex;
            align-items: center;
            z-index: 1000;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
        }

        .logo-area {
            height: 56px;
            display: flex;
            align-items: center;
            padding: 0 16px;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            margin-right: 10px;
            flex-shrink: 0;
            object-fit: contain;
        }

        .logo-text {
            color: #333;
            font-size: 20px;
            font-weight: 600;
            white-space: nowrap;
        }

        .nav-menu {
            display: flex;
            align-items: center;
            height: 56px;
            flex: 1;
            overflow: hidden;
            padding-left: 80px;
        }

        .nav-item {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 56px;
            height: 56px;
            padding: 0 16px;
            color: #666;
            font-size: 14px;
            cursor: pointer;
            transition: color 0.2s;
            white-space: nowrap;
            user-select: none;
            flex-shrink: 0;
            box-sizing: content-box;
        }

        .nav-item:hover {
            color: #1890ff;
        }

        .nav-item.active {
            color: #1890ff;
        }

        /* ===== 移动端菜单按钮 ===== */
        .mobile-menu-btn {
            display: none;
            width: 40px;
            height: 40px;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            margin-right: 8px;
            flex-shrink: 0;
        }

        .mobile-menu-btn span {
            display: block;
            width: 20px;
            height: 2px;
            background: #333;
            position: relative;
            transition: background 0.2s;
        }

        .mobile-menu-btn span::before,
        .mobile-menu-btn span::after {
            content: '';
            position: absolute;
            left: 0;
            width: 20px;
            height: 2px;
            background: #333;
            transition: transform 0.2s;
        }

        .mobile-menu-btn span::before {
            top: -6px;
        }

        .mobile-menu-btn span::after {
            top: 6px;
        }

        /* ===== 左侧菜单栏 ===== */
        .sidebar {
            position: fixed;
            top: 56px;
            left: 0;
            bottom: 0;
            width: 208px;
            background: #fff;
            overflow-y: auto;
            overflow-x: hidden;
            z-index: 999;
            box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s;
            padding: 24px 16px;
            box-sizing: border-box;
        }

        .sidebar::-webkit-scrollbar {
            width: 4px;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.1);
            border-radius: 2px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .menu-group + .menu-group .menu-group-title {
            border-top: 1px solid #e8e8e8;
            padding-top: 12px;
            margin-top: 12px;
        }

        .menu-group-title {
            height: 40px;
            display: flex;
            align-items: center;
            color: #333;
            font-size: 14px;
            cursor: pointer;
            transition: color 0.2s, background 0.2s;
            user-select: none;
        }

        .menu-group-title:hover {
            color: #1890ff;
        }

        .menu-group-title.expanded {
            color: #333;
        }

        .menu-group-text {
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .menu-group-arrow {
            transition: transform 0.2s;
            color: #999;
            flex-shrink: 0;
            display: flex;
            align-items: center;
        }

        .menu-group-title.expanded .menu-group-arrow {
            transform: rotate(180deg);
        }

        .menu-children {
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.2s ease;
        }

        .menu-children.open {
            max-height: 300px;
        }

        .menu-child-item {
            height: 40px;
            display: flex;
            align-items: center;
            padding-left: 28px;
            color: #666;
            font-size: 12px;
            cursor: pointer;
            transition: color 0.2s, background 0.2s;
            user-select: none;
            position: relative;
        }

        .menu-child-item:hover {
            color: #333;
            background: #f5f5f5;
        }

        .menu-child-item.active {
            color: #fff;
            background: rgb(19, 142, 255);
            border-radius: 4px;
        }

        /* ===== 内容区域 ===== */
        .main-content {
            margin-left: 208px;
            margin-top: 56px;
            height: calc(100vh - 56px);
            overflow-y: auto;
            background: #f0f2f5;
        }

        /* 页签 */
        .page-tab {
            display: inline-flex;
            align-items: center;
            height: 36px;
            padding: 0 20px;
            font-size: 14px;
            color: #666;
            cursor: pointer;
            user-select: none;
            border-bottom: 2px solid transparent;
            margin-bottom: -1px;
            transition: color 0.2s, border-color 0.2s;
        }

        .page-tab:hover {
            color: rgb(19, 142, 255);
        }

        .page-tab.active {
            color: rgb(19, 142, 255);
            border-bottom-color: rgb(19, 142, 255);
            font-weight: 500;
        }

        /* 标签栏 */
        .tab-bar {
            display: flex;
            align-items: center;
            padding: 8px 16px 0 16px;
            background: #f0f2f5;
        }

        .tab-item {
            display: inline-flex;
            align-items: center;
            height: 32px;
            padding: 0 12px;
            font-size: 12px;
            border-radius: 4px 4px 0 0;
            cursor: pointer;
            user-select: none;
            white-space: nowrap;
            transition: background 0.2s;
        }

        .tab-item.default {
            background: #f0f2f5;
            color: #666;
        }

        .tab-item.active {
            background: #fff;
            color: #333;
        }

        .tab-close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 14px;
            height: 14px;
            margin-left: 6px;
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.2s;
        }

        .tab-close:hover {
            background: #ddd;
        }

        .tab-close svg {
            display: block;
        }

        /* 内容区域 */
        .content-body {
            background: #fff;
            min-height: calc(100vh - 56px - 40px);
            padding: 16px;
        }

        /* ===== 统计卡片 ===== */
        .stat-cards {
            display: flex;
            gap: 16px;
            margin-bottom: 16px;
        }

        .stat-card {
            flex: 1;
            background: #fff;
            border: 1px solid #e8e8e8;
            border-radius: 4px;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .stat-card-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .stat-card-icon.blue { background: #e6f7ff; }
        .stat-card-icon.green { background: #f6ffed; }
        .stat-card-icon.orange { background: #fff7e6; }

        .stat-card-icon svg {
            display: block;
        }

        .stat-card-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .stat-card-label {
            font-size: 12px;
            color: #999;
        }

        .stat-card-value {
            font-size: 24px;
            font-weight: 600;
            color: #333;
        }

        /* ===== 搜索/操作栏 ===== */
        .action-bar {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .action-bar input[type="text"] {
            height: 32px;
            padding: 0 12px;
            border: 1px solid #d9d9d9;
            border-radius: 4px;
            font-size: 12px;
            font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
            outline: none;
            transition: border-color 0.2s;
            width: 200px;
        }

        .action-bar input[type="text"]:focus {
            border-color: rgb(19, 142, 255);
        }

        .action-bar input[type="text"]::placeholder {
            color: #bfbfbf;
        }

        .action-bar input[type="date"] {
            height: 32px;
            padding: 0 12px;
            border: 1px solid #d9d9d9;
            border-radius: 4px;
            font-size: 12px;
            font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
            outline: none;
            transition: border-color 0.2s;
        }

        .action-bar input[type="date"]:focus {
            border-color: rgb(19, 142, 255);
        }

        .btn {
            height: 32px;
            padding: 0 16px;
            border-radius: 4px;
            font-size: 12px;
            font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            transition: opacity 0.2s;
            border: none;
            user-select: none;
            white-space: nowrap;
        }

        .btn:hover {
            opacity: 0.85;
        }

        .btn-primary {
            background: rgb(19, 142, 255);
            color: #fff;
        }

        .btn-default {
            background: #fff;
            color: #333;
            border: 1px solid #d9d9d9;
        }

        .btn-default:hover {
            border-color: rgb(19, 142, 255);
            color: rgb(19, 142, 255);
            opacity: 1;
        }

        .btn-danger {
            background: #ff4d4f;
            color: #fff;
        }

        .btn-danger:hover {
            opacity: 0.85;
        }

        .btn[disabled] {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .action-bar .spacer {
            flex: 1;
        }

        /* ===== 已选提示 ===== */
        .selected-info {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            margin-bottom: 12px;
            background: #e6f7ff;
            border: 1px solid #91d5ff;
            border-radius: 4px;
            font-size: 12px;
            color: #1890ff;
        }

        .selected-info.show {
            display: flex;
        }

        .selected-info .btn-sm {
            height: 24px;
            padding: 0 8px;
            font-size: 12px;
        }

        /* ===== 表格 ===== */
        .table-wrapper {
            overflow-x: auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 12px;
        }

        table th {
            background: #fafafa;
            font-weight: 700;
            color: #333;
            text-align: left;
            padding: 10px 12px;
            border-bottom: 1px solid #e8e8e8;
            white-space: nowrap;
        }

        table td {
            padding: 10px 12px;
            border-bottom: 1px solid #f0f0f0;
            color: #666;
            white-space: nowrap;
        }

        table tbody tr:hover {
            background: #fafafa;
        }

        table tbody tr.selected {
            background: #e6f7ff;
        }

        .checkbox-cell {
            width: 40px;
            text-align: center;
        }

        .checkbox-cell input[type="checkbox"] {
            width: 14px;
            height: 14px;
            cursor: pointer;
            accent-color: rgb(19, 142, 255);
        }

        .action-link {
            color: rgb(19, 142, 255);
            cursor: pointer;
            font-size: 12px;
        }

        .action-link:hover {
            text-decoration: underline;
        }

        .action-link + .action-link {
            margin-left: 12px;
        }

        .status-tag {
            display: inline-block;
            height: 20px;
            line-height: 20px;
            padding: 0 6px;
            border-radius: 2px;
            font-size: 11px;
        }

        /* ===== 遮罩层 ===== */
        .pagination {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 8px;
            padding: 16px 0 0 0;
            font-size: 12px;
            color: #666;
        }

        .pagination select {
            height: 28px;
            padding: 0 8px;
            border: 1px solid #d9d9d9;
            border-radius: 4px;
            font-size: 12px;
            font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
            outline: none;
        }

        .pagination .page-btn {
            min-width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #d9d9d9;
            border-radius: 4px;
            cursor: pointer;
            transition: border-color 0.2s, color 0.2s;
            font-size: 12px;
            background: #fff;
            user-select: none;
        }

        .pagination .page-btn:hover {
            border-color: rgb(19, 142, 255);
            color: rgb(19, 142, 255);
        }

        .pagination .page-btn.active {
            background: rgb(19, 142, 255);
            border-color: rgb(19, 142, 255);
            color: #fff;
        }

        .pagination .page-btn[disabled] {
            opacity: 0.4;
            cursor: not-allowed;
        }

        /* ===== 表单样式 ===== */
        .form-item {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            color: #333;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-required {
            color: #f5222d;
            margin-left: 2px;
        }

        .form-textarea {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #d9d9d9;
            border-radius: 4px;
            font-size: 12px;
            font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
            outline: none;
            resize: vertical;
            transition: border-color 0.2s;
        }

        .form-textarea:focus {
            border-color: rgb(19, 142, 255);
        }

        .form-textarea::placeholder {
            color: #bfbfbf;
        }

        .form-select {
            width: 100%;
            height: 32px;
            padding: 0 12px;
            border: 1px solid #d9d9d9;
            border-radius: 4px;
            font-size: 12px;
            font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
            outline: none;
            color: #333;
            transition: border-color 0.2s;
            appearance: auto;
        }

        .form-select:focus {
            border-color: rgb(19, 142, 255);
        }

        .form-input {
            width: 100%;
            height: 32px;
            padding: 0 12px;
            border: 1px solid #d9d9d9;
            border-radius: 4px;
            font-size: 12px;
            font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
            outline: none;
            transition: border-color 0.2s;
        }

        .form-input:focus {
            border-color: rgb(19, 142, 255);
        }

        .form-input::placeholder {
            color: #bfbfbf;
        }

        .form-error {
            color: #f5222d;
            font-size: 11px;
            margin-top: 4px;
            display: none;
        }

        .form-radio {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            color: #666;
            cursor: pointer;
        }

        .form-radio input[type="radio"] {
            accent-color: rgb(19, 142, 255);
        }

        .upload-area {
            border: 1px dashed #d9d9d9;
            border-radius: 4px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: border-color 0.2s;
        }

        .upload-area:hover {
            border-color: rgb(19, 142, 255);
        }

        /* ===== 弹窗 ===== */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.45);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .modal-overlay.show {
            display: flex;
        }

        .modal {
            background: #fff;
            border-radius: 8px;
            width: 420px;
            max-width: 90vw;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .modal-header {
            padding: 16px 24px;
            border-bottom: 1px solid #e8e8e8;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 14px;
            font-weight: 500;
            color: #333;
        }

        .modal-close {
            cursor: pointer;
            color: #999;
            display: flex;
            align-items: center;
        }

        .modal-close:hover {
            color: #333;
        }

        .modal-body {
            padding: 24px;
            font-size: 12px;
            color: #666;
            line-height: 1.8;
        }

        .modal-body .confirm-ips {
            background: #fafafa;
            border: 1px solid #e8e8e8;
            border-radius: 4px;
            padding: 8px 12px;
            margin-top: 8px;
            max-height: 120px;
            overflow-y: auto;
            word-break: break-all;
        }

        .modal-body .confirm-ips span {
            display: inline-block;
            background: #f0f0f0;
            border-radius: 2px;
            padding: 2px 8px;
            margin: 2px 4px;
            font-size: 12px;
            color: #333;
        }

        .modal-footer {
            padding: 12px 24px;
            border-top: 1px solid #e8e8e8;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 8px;
        }

        /* ===== 结果弹窗 ===== */
        .result-list {
            margin-top: 8px;
        }

        .result-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 6px 12px;
            border: 1px solid #e8e8e8;
            border-radius: 4px;
            margin-bottom: 4px;
            font-size: 12px;
        }

        .result-item .ip {
            color: #333;
        }

        .result-item .result-success {
            color: #52c41a;
        }

        .result-item .result-fail {
            color: #f5222d;
        }

        /* ===== 遮罩层 ===== */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 56px;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.3);
            z-index: 998;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: flex;
            }

            .logo-area {
                width: auto;
                padding: 0 8px;
            }

            .nav-menu {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .nav-menu::-webkit-scrollbar {
                display: none;
            }

            .sidebar {
                transform: translateX(-100%);
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .sidebar-overlay.show {
                display: block;
            }

            .main-content {
                margin-left: 0;
            }

            .stat-cards {
                flex-wrap: wrap;
            }

            .stat-card {
                min-width: calc(50% - 8px);
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .nav-item {
                padding: 0 10px;
                font-size: 13px;
            }

            .logo-area {
                width: 180px;
            }
        }