.sub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sub-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sub-tab {
  height: 32px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
  cursor: pointer;
  user-select: none;
  border-bottom: 2px solid transparent;
}

.sub-tab:hover { color: #1677ff; }

.sub-tab.active {
  color: #1677ff;
  font-weight: 500;
  border-bottom-color: #1677ff;
}

.global-filters {
  display: flex;
  align-items: center;
  gap: 12px;
}

.global-filters .filter-label { line-height: 32px; }

.global-filters .ant-select { width: 120px; }

.global-filters .ant-select-selector {
  height: 32px !important;
  align-items: center !important;
}

.search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.search-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-left .filter-label { line-height: 32px; }

.search-left .ant-input,
.search-left .ant-input-affix-wrapper {
  width: 200px;
  height: 32px;
}

.search-left .ant-btn {
  height: 32px;
  padding: 0 15px;
  border-radius: 6px;
}

.search-left .ant-select {
  width: 140px;
}

.search-left .ant-select-selector {
  height: 32px !important;
  align-items: center !important;
}

.modal-footer-center {
  text-align: center;
}

.modal-footer-center .ant-btn-primary {
  min-width: 64px;
  height: 32px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 14px;
}

.bl-add-modal .ant-modal-content {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), 0 3px 6px rgba(0, 0, 0, 0.12);
}

.bl-add-modal .ant-modal-header {
  margin: 0;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.bl-add-modal .ant-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
  line-height: 22px;
}

.bl-add-modal .ant-modal-close {
  top: 16px;
  color: rgba(0, 0, 0, 0.45);
}

.bl-add-modal .ant-modal-body {
  padding: 24px 24px 8px;
}

.bl-add-modal .ant-modal-footer {
  margin: 0;
  padding: 12px 24px 20px;
  border-top: 1px solid #f0f0f0;
}

.bl-modal-form {
  margin: 0;
}

.bl-modal-form .ant-form-item {
  margin-bottom: 20px;
}

.bl-modal-form .ant-form-item-label > label {
  color: rgba(0, 0, 0, 0.88);
  font-size: 14px;
  height: 32px;
}

.bl-modal-form .ant-input,
.bl-modal-form textarea.ant-input {
  border-radius: 6px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.88);
  border-color: #d9d9d9;
}

.bl-modal-form .ant-input::placeholder,
.bl-modal-form textarea.ant-input::placeholder {
  color: #bfbfbf;
}

.bl-modal-form .ant-checkbox-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  min-height: 32px;
}

.bl-modal-form .ant-checkbox-wrapper {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.88);
}

.bl-modal-form textarea.ant-input {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5715;
}

.bl-form-remark {
  margin-bottom: 8px;
}

.bl-form-remark .ant-form-item-label > label {
  height: auto;
  padding-top: 5px;
  align-items: flex-start;
}

.search-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-right .ant-btn {
  height: 32px;
  padding: 0 15px;
  border-radius: 6px;
}

.bl-table .ant-table { font-size: 13px; }

.bl-table .ant-table-thead > tr > th {
  background: #fafafa !important;
  color: rgba(0, 0, 0, 0.88);
  font-weight: 600;
  padding: 10px 8px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  text-align: center !important;
  white-space: nowrap;
}

.bl-table .ant-table-tbody > tr > td {
  padding: 8px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  text-align: center;
  color: rgba(0, 0, 0, 0.88);
}

.bl-table .ant-table-tbody > tr:hover > td {
  background: #fafafa !important;
}

.bl-table .ant-pagination {
  margin: 12px 0 8px !important;
  justify-content: flex-end;
}

.bl-table.table-fit .ant-table {
  font-size: 12px;
  width: 100% !important;
}

.bl-table.table-fit .ant-table-container,
.bl-table.table-fit .ant-table-content,
.bl-table.table-fit .ant-table-body {
  overflow-x: hidden !important;
}

.bl-table.table-fit .ant-table-thead > tr > th,
.bl-table.table-fit .ant-table-tbody > tr > td {
  padding: 6px 4px !important;
  white-space: nowrap;
}

.bl-table.table-fit .ant-table-selection-column {
  width: 36px !important;
  min-width: 36px !important;
  padding-left: 8px !important;
  padding-right: 4px !important;
}

.bl-table.table-fit .cell-ip {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bl-table.table-fit .op-time {
  display: inline-block;
  white-space: normal;
  line-height: 1.35;
}

.bl-table.member-fit .col-remark {
  width: 56px !important;
  max-width: 72px !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-table.even-cols col.col-index,
.bl-table.even-cols .col-index {
  width: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
}

.link-id {
  color: #1677ff;
  cursor: pointer;
}

.link-id:hover { color: #4096ff; }

.diff-neg { color: #ff4d4f; }
.diff-pos { color: #52c41a; }

.op-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.op-divider {
  width: 1px;
  height: 14px;
  background: #e8e8e8;
  flex-shrink: 0;
}

.op-edit {
  color: #1677ff;
  font-size: 16px;
  cursor: pointer;
}

.op-del {
  color: #ff4d4f;
  font-size: 16px;
  cursor: pointer;
}

.cell-empty { color: rgba(0, 0, 0, 0.25); }

.bl-confirm .ant-modal-confirm-title {
  font-weight: 600;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.88);
}

.bl-confirm .ant-modal-confirm-content {
  color: rgba(0, 0, 0, 0.65);
  margin-top: 8px;
}
