/* 评分评价页（#/auto/score，原评分监控） */
.rs-wrap { padding: 4px 2px 40px; }
.rs-kpis { display: flex; gap: 14px; flex-wrap: wrap; align-items: stretch; margin-bottom: 14px; }
.rs-kpi { min-width: 108px; padding: 14px 18px; background: var(--card, #fff); border: 1px solid var(--line, #eceff3); border-radius: 14px; }
.rs-kpi.bad { border-color: #f0443833; background: #fef3f2; }
.rs-kpi.warn { border-color: #ff8a0033; background: #fff8ef; }
.rs-kv { font-size: 26px; font-weight: 700; line-height: 1.1; }
.rs-kpi.bad .rs-kv { color: #e5484d; }
.rs-kpi.warn .rs-kv { color: #d9730b; }
.rs-kl { font-size: 12px; color: var(--muted, #8a94a6); margin-top: 4px; }
.rs-when { margin-left: auto; align-self: center; font-size: 12px; color: var(--muted, #8a94a6); text-align: right; line-height: 1.6; }

.rs-bar { display: flex; align-items: center; gap: 16px; margin: 6px 2px 12px; flex-wrap: wrap; }
.rs-only { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }

.rs-tablewrap { overflow-x: auto; border: 1px solid var(--line, #eceff3); border-radius: 14px; }
.rs-table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.rs-table th, .rs-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--line, #f0f2f5); }
.rs-table th { position: sticky; top: 0; background: var(--card, #fff); font-weight: 600; color: var(--muted, #8a94a6); z-index: 1; }
.rs-table th.l, .rs-table td.l { text-align: left; }
.rs-table tbody tr:hover { background: var(--hover, #f7f9fc); }
.rs-table tbody tr:last-child td { border-bottom: 0; }
.rs-name { font-weight: 600; max-width: 220px; white-space: normal; }
.rs-rating { font-size: 16px; font-weight: 700; }
.rs-low { color: #e5484d; }
.rs-rwarn { background: #fff8f7; }
.rs-rwarn:hover { background: #fef0ef; }

.rs-up { color: #12a150; font-weight: 600; }
.rs-dn { color: #e5484d; font-weight: 600; }
.rs-d0 { color: var(--muted, #b0b8c4); }

.rs-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; line-height: 18px; font-weight: 600; }
.rs-w-drop { background: #fde7e6; color: #c0362c; }
.rs-w-low { background: #fff0db; color: #b45309; }
.rs-w-task { background: #eef0f3; color: #5a6475; }
.rs-ok { background: #e7f6ec; color: #12824a; }
.rs-new { background: #e8f1ff; color: #1668dc; }


/* 平台切换 + 搜索 */
.rs-pfs { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--hover, #eef1f5); }
.rs-pf { border: 0; background: transparent; padding: 6px 16px; border-radius: 8px; font-size: 14px; color: var(--muted, #5a6475); cursor: pointer; }
.rs-pf.on { background: var(--card, #fff); color: inherit; font-weight: 600; box-shadow: 0 1px 3px #0000001a; }
.rs-search { display: flex; align-items: center; gap: 6px; padding: 0 10px; height: 34px; min-width: 240px; flex: 0 1 320px;
  border: 1px solid var(--line, #e3e7ee); border-radius: 10px; background: var(--card, #fff); }
.rs-search svg { width: 15px; height: 15px; opacity: .5; flex: none; }
.rs-search input { border: 0; outline: 0; background: transparent; flex: 1; font-size: 14px; color: inherit; min-width: 0; }
.rs-id { font-size: 11px; font-weight: 400; color: var(--muted, #98a2b3); margin-top: 2px; }
.rs-foot { font-size: 12px; margin: 8px 4px 0; }

@media (prefers-color-scheme: dark) {
  .rs-pfs { background: #232833; }
  .rs-pf.on { background: #343b48; }
  .rs-search { background: #1a1d24; border-color: #2a2f3a; }
  .rs-kpi.bad { background: #2c1a1a; border-color: #5a2a2a; }
  .rs-kpi.warn { background: #2c2416; border-color: #5a4320; }

  .rs-kpi { background: #1a1d24; border-color: #2a2f3a; }
  .rs-table th { background: #1a1d24; }
  .rs-tablewrap { border-color: #2a2f3a; }
  .rs-table th, .rs-table td { border-color: #242a33; }
  .rs-table tbody tr:hover { background: #20242c; }
  .rs-rwarn { background: #2a1d1d; }
}

/* 评价分档位（2026-11-24）：< 4.4 低分 · 4.4 及格 · 4.5 正常 · 4.6 良好 · ≥ 4.7 优秀 */
.rs-tiers { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.rs-tiers button { border: 1px solid var(--line, #e4e7ec); background: rgba(255,255,255,.7); border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; color: #344054; }
.rs-tiers button b { font-weight: 600; margin-right: 4px; }
.rs-tiers button i { font-style: normal; color: #98a2b3; font-size: 12px; margin-right: 4px; }
.rs-tiers button.on { background: #101828; color: #fff; border-color: #101828; }
.rs-tiers button.on i { color: #d0d5dd; }
.rs-tier { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.rs-tier-low, td.rs-rt-low { color: #d92d20; }
.rs-tier.rs-tier-low { background: rgba(217,45,32,.1); }
.rs-tier-pass, td.rs-rt-pass { color: #dc6803; }
.rs-tier.rs-tier-pass { background: rgba(247,144,9,.12); }
.rs-tier-ok { color: #475467; }
.rs-tier.rs-tier-ok { background: rgba(102,112,133,.1); }
.rs-tier-good, td.rs-rt-good { color: #0e9384; }
.rs-tier.rs-tier-good { background: rgba(14,147,132,.1); }
.rs-tier-best, td.rs-rt-best { color: #067647; }
.rs-tier.rs-tier-best { background: rgba(18,183,106,.14); }
.rs-tiers button.on.rs-tier-low, .rs-tiers button.on.rs-tier-pass, .rs-tiers button.on.rs-tier-ok, .rs-tiers button.on.rs-tier-good, .rs-tiers button.on.rs-tier-best { color: #fff; }
