        /* ========== 📏 尺码表可编辑表格样式 开始 ========== */
        .size-table-container {
            background: white;
            border-radius: 16px;
            border: 1px solid #e9ecf0;
            padding: 16px;
            margin-top: 16px;
        }
        .size-table-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid #f0f2f5;
        }
        .size-table-title {
            font-size: 14px;
            font-weight: 600;
            color: #1a1a2e;
        }
        .size-table-tabs {
            display: flex;
            gap: 8px;
        }
        .size-table-tab {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            cursor: pointer;
            border: 1px solid #e2e8f0;
            background: white;
            color: #64748b;
            transition: all 0.2s;
        }
        .size-table-tab.active {
            background: #3b82f6;
            color: white;
            border-color: #3b82f6;
        }
        .size-table-tab:hover:not(.active) {
            background: #f8fafc;
        }
        .size-table-actions {
            display: flex;
            gap: 8px;
        }
        .size-table-btn {
            flex: 0 0 auto;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 11px;
            cursor: pointer;
            border: 1px solid #e2e8f0;
            background: white;
            color: #475569;
            transition: all 0.2s;
        }
        .size-table-btn:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
        }
        .size-table-btn.primary {
            background: #3b82f6;
            color: white;
            border-color: #3b82f6;
        }
        .size-table-btn.primary:hover {
            background: #2563eb;
        }
        .size-table-btn.danger {
            color: #ef4444;
            border-color: #fca5a5;
        }
        .size-table-btn.danger:hover {
            background: #fef2f2;
        }
        .editable-table-wrapper {
            overflow-x: auto;
            border-radius: 12px;
            border: 1px solid #e9ecf0;
        }
        .editable-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 13px;
            table-layout: fixed;
        }
        .editable-table th,
        .editable-table td {
            padding: 10px 12px;
            text-align: center;
            border: 1px solid #e9ecf0;
            min-width: 60px;
            position: relative;
            height: 20px;
            box-sizing: content-box;
        }
        .editable-table th {
            background: #f8fafc;
            font-weight: 600;
            color: #475569;
            position: relative;
        }
        .editable-table td {
            background: white;
            cursor: cell;
        }
        .editable-table td:hover {
            filter: brightness(0.97);
        }
        .editable-table td.selected {
            background: #dbeafe;
            outline: 2px solid #3b82f6;
            outline-offset: -2px;
        }
        .editable-table td.editing {
            padding: 0;
        }
        .editable-table td.editing input {
            width: 100%;
            height: 100%;
            min-height: 40px;
            border: none;
            padding: 10px 12px;
            text-align: center;
            font-size: 13px;
            outline: none;
            background: inherit;
            color: inherit;
        }
        .editable-table .row-header {
            background: #f8fafc;
            font-weight: 500;
            color: #64748b;
        }
        .editable-table .col-header {
            background: #f1f5f9;
            font-weight: 600;
            color: #475569;
        }
        .table-drag-handle {
            position: absolute;
            right: 2px;
            bottom: 2px;
            width: 8px;
            height: 8px;
            background: #cbd5e1;
            cursor: crosshair;
            border-radius: 2px;
            opacity: 0;
            transition: opacity 0.2s;
        }
        .editable-table td:hover .table-drag-handle {
            opacity: 1;
        }
        .editable-table td.dragging {
            background: #bfdbfe !important;
        }
        /* 行/列删除按钮 */
        .row-delete-btn,
        .col-delete-btn {
            position: absolute;
            top: 1px;
            width: 18px;
            height: 18px;
            background: #fca5a5;
            color: #ef4444;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            cursor: pointer;
            opacity: 0.3;
            transition: opacity 0.2s, transform 0.2s;
            line-height: 1;
            z-index: 10;
        }
        .row-delete-btn {
            right: 1px;
        }
        .col-delete-btn {
            right: 1px;
        }
        .editable-table td:hover .row-delete-btn,
        .editable-table th:hover .col-delete-btn {
            opacity: 1;
            transform: scale(1.2);
        }
        .row-delete-btn:hover,
        .col-delete-btn:hover {
            background: #ef4444;
            color: white;
        }
        /* 尺码表颜色选择器 */
        .size-table-color-picker input[type="color"] {
            width: 28px;
            height: 28px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            padding: 0;
            background: none;
        }
        .size-table-color-picker input[type="color"]::-webkit-color-swatch-wrapper {
            padding: 0;
        }
        .size-table-color-picker input[type="color"]::-webkit-color-swatch {
            border: 2px solid #e2e8f0;
            border-radius: 6px;
        }
        .size-table-empty {
            text-align: center;
            padding: 40px;
            color: #94a3b8;
            font-size: 14px;
        }
        /* ========== 📏 尺码表可编辑表格样式 结束 ========== */
