/* ============================================
   亮色主题 (Element Plus 风格)
   ============================================ */
html[data-theme="light"] {
  --bg-page: #eef2f7;
  --bg-card: #fbfcfe;
  --bg-card-soft: #f5f8fc;
  --bg-sidebar: #f7f9fc;
  --bg-topbar: rgba(250,252,255,.92);
  --bg-hover: #edf4ff;
  --bg-input: #ffffff;
  --text-primary: #1f2d3d;
  --text-secondary: #5f6b7a;
  --text-muted: #8c97a8;
  --border-color: #d7dfeb;
  --border-light: #e7edf5;
  --primary: #3b82f6;
  --primary-light: #eaf2ff;
  --success: #67c23a;
  --warning: #e6a23c;
  --danger: #f56c6c;
  --info: #909399;
  --shadow-xs: 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, .10);
  background: var(--bg-page);
  color: var(--text-primary);
}

html[data-theme="light"] body {
  background: linear-gradient(180deg, #f3f6fa 0%, #eef2f7 100%);
  color: var(--text-primary);
}

html[data-theme="light"] .main-container {
  background: transparent;
}

html[data-theme="light"] .sidebar {
  background: linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
  border-right: 1px solid var(--border-light);
  box-shadow: inset -1px 0 0 rgba(255,255,255,.65), 10px 0 32px rgba(148, 163, 184, .10);
}

html[data-theme="light"] .sidebar-header {
  background: transparent;
  border-bottom: 1px solid var(--border-light);
  padding: 22px 18px 18px;
}

html[data-theme="light"] .sidebar-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2d3d;
  letter-spacing: .2px;
  background: none;
  -webkit-text-fill-color: initial;
}

html[data-theme="light"] .sidebar-header .version {
  color: var(--text-muted);
  margin-top: 6px;
}

html[data-theme="light"] .sidebar-nav {
  padding: 14px 10px 18px;
}

html[data-theme="light"] .nav-section {
  color: #909399;
  font-size: 12px;
  font-weight: 700;
  padding: 16px 12px 8px;
  text-transform: none;
  letter-spacing: .3px;
}

html[data-theme="light"] .nav-item {
  margin: 2px 0;
  padding: 11px 12px;
  border-radius: 10px;
  color: #536274;
  border-left: 0;
  font-size: 14px;
  font-weight: 500;
}

html[data-theme="light"] .nav-item:hover {
  background: #edf4ff;
  color: var(--primary);
  transform: none;
}

html[data-theme="light"] .nav-item.active,
html[data-theme="light"] .nav-item[style*="rgba(0,180,216"] {
  background: linear-gradient(90deg, rgba(59, 130, 246, .14), rgba(59, 130, 246, .06)) !important;
  color: var(--primary) !important;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .12);
}

html[data-theme="light"] .nav-icon {
  margin-right: 10px;
}

html[data-theme="light"] .content-area {
  background: transparent;
  padding: 24px 32px;
}

html[data-theme="light"] .top-bar {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
  padding: 16px 0;
  margin-bottom: 24px;
  box-shadow: none;
  backdrop-filter: none;
}

html[data-theme="light"] .top-bar .page-title,
html[data-theme="light"] .page-title {
  color: #1f2d3d;
  font-size: 20px;
  font-weight: 700;
}

html[data-theme="light"] .top-bar .user-info,
html[data-theme="light"] .user-info {
  color: var(--text-secondary);
  gap: 12px;
}

html[data-theme="light"] .top-bar .user-info .username {
  color: var(--primary);
  font-weight: 600;
}

html[data-theme="light"] .card,
html[data-theme="light"] .chart-container,
html[data-theme="light"] .stat-card {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-card) 100%);
  border: 1px solid rgba(215, 223, 235, .92);
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
}

html[data-theme="light"] .card {
  margin: 0 0 20px;
  padding: 24px;
}

html[data-theme="light"] .card:hover,
html[data-theme="light"] .chart-container:hover,
html[data-theme="light"] .stat-card:hover {
  box-shadow: var(--shadow-sm);
}

html[data-theme="light"] .card-header {
  margin-bottom: 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--border-light);
}

html[data-theme="light"] .card-title,
html[data-theme="light"] .chart-title {
  color: #1f2d3d;
  font-size: 16px;
  font-weight: 700;
}

html[data-theme="light"] .chart-container .chart-title,
html[data-theme="light"] .chart-title {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-radius: 14px 14px 0 0;
}

html[data-theme="light"] .chart-box {
  background: transparent;
}

html[data-theme="light"] .search-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

html[data-theme="light"] .search-bar input,
html[data-theme="light"] .search-bar select,
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group select,
html[data-theme="light"] .form-group textarea {
  width: auto;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  min-height: 36px;
  padding: 8px 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  box-sizing: border-box;
}

html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group select,
html[data-theme="light"] .form-group textarea {
  width: 100%;
}

html[data-theme="light"] .search-bar input,
html[data-theme="light"] .search-bar select {
  min-width: 160px;
  flex: 0 0 auto;
}

html[data-theme="light"] .search-bar input::placeholder,
html[data-theme="light"] .form-group input::placeholder,
html[data-theme="light"] .form-group textarea::placeholder {
  color: #a8abb2;
}

html[data-theme="light"] .search-bar input:focus,
html[data-theme="light"] .search-bar select:focus,
html[data-theme="light"] .form-group input:focus,
html[data-theme="light"] .form-group select:focus,
html[data-theme="light"] .form-group textarea:focus {
  border-color: #79bbff;
  box-shadow: 0 0 0 3px rgba(64, 158, 255, .14);
  outline: none;
}

html[data-theme="light"] .form-group label {
  color: #606266;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

html[data-theme="light"] .form-row,
html[data-theme="light"] .form-row-3 {
  gap: 18px;
}

html[data-theme="light"] .form-actions {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

html[data-theme="light"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s ease;
  text-decoration: none;
  box-shadow: none;
}

html[data-theme="light"] .btn-sm {
  min-height: 30px;
  padding: 6px 12px;
  font-size: 12px;
}

html[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #4f8df7, #3276f1);
  color: #ffffff;
  border: 1px solid #3b82f6;
}

html[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #5d98fb, #3f7ef2);
  border-color: #4c87f3;
  transform: none;
  box-shadow: 0 8px 18px rgba(59, 130, 246, .18);
}

html[data-theme="light"] .btn-outline {
  background: #f9fbfd;
  color: #5f6b7a;
  border: 1px solid #dcdfe6;
}

html[data-theme="light"] .btn-outline:hover {
  color: var(--primary);
  border-color: #a0cfff;
  background: #ecf5ff;
}

html[data-theme="light"] .btn-success {
  background: #67c23a;
  color: #ffffff;
  border: 1px solid #67c23a;
}

html[data-theme="light"] .btn-warning {
  background: #e6a23c;
  color: #ffffff;
  border: 1px solid #e6a23c;
}

html[data-theme="light"] .btn-danger {
  background: #f56c6c;
  color: #ffffff;
  border: 1px solid #f56c6c;
}

html[data-theme="light"] .theme-toggle-btn {
  background: #f9fbfd;
  color: #5f6b7a;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
}

html[data-theme="light"] .theme-toggle-btn:hover {
  color: var(--primary);
  border-color: #a0cfff;
  background: #ecf5ff;
}

html[data-theme="light"] .stats-grid {
  gap: 20px;
}

html[data-theme="light"] .stat-card {
  padding: 20px;
  text-align: center;
  position: static;
  overflow: visible;
}

html[data-theme="light"] .stat-card::after {
  content: none;
}

html[data-theme="light"] .stat-value {
  color: #2f74ea;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

html[data-theme="light"] .stat-label {
  color: #7e8a9a;
  font-size: 13px;
  margin-top: 4px;
}

html[data-theme="light"] .table-container {
  overflow-x: auto;
}

html[data-theme="light"] table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

html[data-theme="light"] table thead th,
html[data-theme="light"] .table-container table thead th {
  background: #fafafa;
  color: #606266;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  text-transform: none;
  letter-spacing: 0;
}

html[data-theme="light"] table tbody td,
html[data-theme="light"] .table-container table tbody td {
  color: #303133;
  font-size: 13px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
}

html[data-theme="light"] table tbody tr:hover td,
html[data-theme="light"] .table-container table tbody tr:hover td {
  background: #f7fbff;
}

html[data-theme="light"] .pagination {
  margin-top: 16px;
  padding: 16px 0 0;
  border-top: 1px solid var(--border-light);
  gap: 6px;
}

html[data-theme="light"] .pagination a,
html[data-theme="light"] .pagination span {
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #606266;
  border: 1px solid transparent;
}

html[data-theme="light"] .pagination a {
  background: #ffffff;
  border-color: var(--border-light);
}

html[data-theme="light"] .pagination a:hover {
  color: var(--primary);
  border-color: #a0cfff;
  background: #ecf5ff;
}

html[data-theme="light"] .pagination .active {
  background: #409eff;
  color: #ffffff;
  border-color: #409eff;
}

html[data-theme="light"] .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

html[data-theme="light"] .badge-success {
  background: #f0f9eb;
  color: #67c23a;
  border: 1px solid #e1f3d8;
}

html[data-theme="light"] .badge-danger {
  background: #fef0f0;
  color: #f56c6c;
  border: 1px solid #fde2e2;
}

html[data-theme="light"] .badge-warning {
  background: #fdf6ec;
  color: #e6a23c;
  border: 1px solid #faecd8;
}

html[data-theme="light"] .badge-primary {
  background: #ecf5ff;
  color: #409eff;
  border: 1px solid #d9ecff;
}

html[data-theme="light"] .detail-grid {
  padding: 4px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

html[data-theme="light"] .detail-grid .detail-item {
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-light);
}

html[data-theme="light"] .detail-grid .detail-item .label {
  color: #909399;
  width: 96px;
}

html[data-theme="light"] .detail-grid .detail-item .value {
  color: #303133;
}

html[data-theme="light"] .modal-overlay {
  background: rgba(31, 35, 41, .38);
}

html[data-theme="light"] .modal-content {
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

html[data-theme="light"] .modal-header {
  border-bottom: 1px solid var(--border-light);
}

html[data-theme="light"] .modal-header h3 {
  color: #1f2329;
}

html[data-theme="light"] .modal-close {
  color: #909399;
}

html[data-theme="light"] .modal-close:hover {
  color: var(--primary);
  background: #f5f7fa;
}

html[data-theme="light"] a {
  color: var(--primary);
  text-decoration: none;
}

html[data-theme="light"] a:hover {
  color: #66b1ff;
  text-decoration: none;
}

html[data-theme="light"] .login-container {
  background: linear-gradient(135deg, #f6f8fc 0%, #eef3fa 48%, #eaf0f8 100%);
}

html[data-theme="light"] .login-box {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(220, 223, 230, .8);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(31, 35, 41, .10);
  backdrop-filter: blur(14px);
}

html[data-theme="light"] .login-box::after {
  background: linear-gradient(90deg, transparent, rgba(64, 158, 255, .55), transparent);
}

html[data-theme="light"] .login-logo h1 {
  color: #1f2329;
  background: none;
  -webkit-text-fill-color: initial;
}

html[data-theme="light"] .login-logo p,
html[data-theme="light"] .login-footer {
  color: #909399;
}

html[data-theme="light"] .btn-login {
  background: linear-gradient(135deg, #409eff, #337ecc);
  box-shadow: 0 10px 24px rgba(64, 158, 255, .20);
}

html[data-theme="light"] .btn-login:hover {
  box-shadow: 0 14px 28px rgba(64, 158, 255, .24);
}

/* ---- Compatibility overrides for pages with old dark inline styles ---- */
html[data-theme="light"] #suggestList,
html[data-theme="light"] [id^="sug_"] {
  background: #ffffff !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-sm);
}

html[data-theme="light"] #clearBtn,
html[data-theme="light"] #dropdownArrow {
  color: var(--text-muted) !important;
  border-left-color: var(--border-color) !important;
}

html[data-theme="light"] textarea[style*="background:rgba(10,25,47"],
html[data-theme="light"] input[style*="background:rgba(10,25,47"],
html[data-theme="light"] select[style*="background:rgba(10,25,47"],
html[data-theme="light"] textarea[style*="background:var(--bg-2,#0a192f)"],
html[data-theme="light"] input[style*="background:var(--bg-2,#0a192f)"],
html[data-theme="light"] select[style*="background:var(--bg-2,#0a192f)"] {
  background: #ffffff !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

html[data-theme="light"] [style*="border:1px solid #233554"] {
  border-color: var(--border-color) !important;
}

html[data-theme="light"] [style*="color:#ccd6f6"] {
  color: var(--text-secondary) !important;
}

html[data-theme="light"] [style*="color:#64ffda"] {
  color: #409eff !important;
}

html[data-theme="light"] [style*="background:rgba(0,180,216,0.08)"][style*="color:#64ffda"],
html[data-theme="light"] [style*="background:rgba(0,180,216,0.08)"][style*="color:#ccd6f6"] {
  background: #f7fbff !important;
  color: var(--text-secondary) !important;
  border-color: #d9ecff !important;
}

html[data-theme="light"] [style*="background:#0a192f"],
html[data-theme="light"] [style*="background:var(--bg-2,#0a192f)"] {
  background: #ffffff !important;
}

html[data-theme="light"] .editable {
  background: #ffffff !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

html[data-theme="light"] .editable:focus {
  border-color: #79bbff !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(64, 158, 255, .14);
}

html[data-theme="light"] .sug-item.sug-active {
  background: #ecf5ff !important;
  outline: 1px solid #79bbff !important;
}

html[data-theme="light"] label[style*="background:rgba(0,180,216,0.08)"],
html[data-theme="light"] label[style*="background:rgba(0,180,216,0.15)"] {
  background: #f5f9ff !important;
  color: var(--text-secondary) !important;
  border: 1px solid #e1efff;
}

/* ---- Page-level polish ---- */
html[data-theme="light"] .top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

html[data-theme="light"] .info-banner {
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid #dbe6f3;
  border-radius: 12px;
  background: linear-gradient(180deg, #f5f8fc 0%, #edf3f9 100%);
  color: #627184;
  font-size: 13px;
  line-height: 1.7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

html[data-theme="light"] .info-banner strong,
html[data-theme="light"] .scope-indicator strong {
  color: #409eff;
  font-weight: 700;
}

html[data-theme="light"] .filter-bar {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, #f7f9fc 0%, #f1f5f9 100%);
  border: 1px solid #e2e9f2;
  border-radius: 12px;
}

html[data-theme="light"] .filter-bar > * {
  flex: 0 0 auto;
}

html[data-theme="light"] .filter-chip-label {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 4px 0 2px;
  color: #556274;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

html[data-theme="light"] .date-separator {
  display: inline-flex;
  align-items: center;
  height: 36px;
  color: #909399;
  font-size: 13px;
}

html[data-theme="light"] .product-picker {
  position: relative;
  width: 320px;
  max-width: 100%;
}

html[data-theme="light"] .filter-bar .product-picker {
  flex: 0 0 320px;
}

html[data-theme="light"] .filter-bar input[type="date"] {
  width: 168px;
  min-width: 168px;
}

html[data-theme="light"] .product-picker .picker-input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 62px !important;
}

html[data-theme="light"] .picker-action {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #909399;
  font-size: 14px;
  user-select: none;
  transition: background-color .2s, color .2s;
}

html[data-theme="light"] .picker-action:hover {
  background: #eef3f8;
  color: #409eff;
}

html[data-theme="light"] .picker-clear {
  right: 32px;
  width: 30px;
  border-left: 1px solid var(--border-light);
}

html[data-theme="light"] .picker-arrow {
  right: 0;
  width: 32px;
  font-size: 16px;
  border-left: 1px solid var(--border-light);
}

html[data-theme="light"] .picker-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: #fbfcfe !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 10px;
  z-index: 99;
  box-shadow: var(--shadow-sm);
}

html[data-theme="light"] .picker-menu .picker-empty {
  padding: 12px;
  color: #909399;
  font-size: 13px;
}

html[data-theme="light"] .picker-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
  color: #303133;
  font-size: 13px;
  border-bottom: 1px solid #f0f2f5;
  white-space: nowrap;
  transition: background-color .2s;
}

html[data-theme="light"] .picker-item:last-child {
  border-bottom: none;
}

html[data-theme="light"] .picker-item:hover {
  background: #edf4ff;
}

html[data-theme="light"] .picker-item strong {
  color: #1f2329;
  font-weight: 700;
}

html[data-theme="light"] .picker-item-meta {
  color: #909399;
  font-size: 12px;
}

html[data-theme="light"] .chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

html[data-theme="light"] .section-gap {
  margin-top: 18px;
}

html[data-theme="light"] .subtle-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 0 6px;
  gap: 12px;
  flex-wrap: wrap;
}

html[data-theme="light"] .scope-indicator {
  color: #909399;
  font-size: 13px;
}

html[data-theme="light"] .kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 16px 0 18px;
}

html[data-theme="light"] .kpi-card {
  margin: 0;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

html[data-theme="light"] .kpi-card .chart-title {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  font-size: 14px;
}

html[data-theme="light"] .kpi-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2d3d;
}

html[data-theme="light"] .kpi-value.kpi-danger {
  color: #f56c6c;
}

html[data-theme="light"] .kpi-value.kpi-warning {
  color: #e6a23c;
}

html[data-theme="light"] .kpi-value.kpi-primary {
  color: #2f74ea;
}

html[data-theme="light"] .kpi-subtext,
html[data-theme="light"] .stat-subtext {
  margin-top: 6px;
  font-size: 12px;
  color: #909399 !important;
}

html[data-theme="light"] .table-empty {
  text-align: center;
  padding: 40px 16px !important;
  color: #909399 !important;
}

html[data-theme="light"] .table-accent-danger {
  color: #f56c6c !important;
  font-weight: 600;
}

html[data-theme="light"] .table-actions {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

html[data-theme="light"] .table-link-primary {
  color: #409eff;
  font-weight: 600;
}

html[data-theme="light"] .card-link {
  text-decoration: none;
}

html[data-theme="light"] .filter-card {
  padding: 0;
  overflow: visible;
}

html[data-theme="light"] .filter-card .filter-bar {
  border: none;
  border-radius: 14px;
}

html[data-theme="light"] .chart-card-shell,
html[data-theme="light"] .table-card-shell {
  padding: 0;
  overflow: hidden;
}

html[data-theme="light"] .table-card-shell .table-container {
  padding: 0 18px 18px;
}

html[data-theme="light"] .page-dashboard .dashboard-chart-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-theme="light"] .page-dashboard .chart-container {
  min-width: 0;
}

html[data-theme="light"] .page-dashboard .chart-box {
  height: 360px;
}

html[data-theme="light"] .page-reject-rate .content-area {
  min-width: 0;
}

html[data-theme="light"] .page-reject-rate .filter-card,
html[data-theme="light"] .page-dashboard .filter-card {
  background: linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%);
}

html[data-theme="light"] .page-reject-rate .kpi-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

html[data-theme="light"] .page-reject-rate .kpi-card {
  min-width: 0;
}

html[data-theme="light"] .page-reject-rate #dataTable {
  table-layout: fixed;
}

html[data-theme="light"] .page-reject-rate #dataTable th,
html[data-theme="light"] .page-reject-rate #dataTable td {
  white-space: nowrap;
}

@media (max-width: 1280px) {
  html[data-theme="light"] .page-reject-rate .kpi-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  html[data-theme="light"] .chart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html[data-theme="light"] .top-actions,
  html[data-theme="light"] .subtle-toolbar {
    width: 100%;
    justify-content: flex-start;
  }

  html[data-theme="light"] .product-picker {
    width: 100%;
  }

  html[data-theme="light"] .kpi-strip {
    grid-template-columns: 1fr;
  }

  html[data-theme="light"] .page-reject-rate #dataTable {
    table-layout: auto;
  }

  html[data-theme="light"] .page-reject-rate #dataTable th,
  html[data-theme="light"] .page-reject-rate #dataTable td {
    white-space: normal;
  }
}
