/* 监控资产台 */
.recheck-main {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px 96px;
}

.recheck-lead {
  margin: 0 0 16px;
  max-width: 40rem;
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}
.recheck-lead a {
  color: #444;
  text-underline-offset: 3px;
}

.recheck-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}
.recheck-kpi {
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
}
.recheck-kpi b {
  display: block;
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
}
.recheck-kpi span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #888;
}

.recheck-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}
.recheck-toolbar .rk-primary,
.recheck-toolbar .rk-ghost {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.2;
}
.recheck-toolbar .rk-primary {
  background: #141414;
  color: #fff;
  border-color: #141414;
}
.recheck-toolbar .rk-ghost {
  background: #f3f3f1;
  color: #222;
  border-color: rgba(0, 0, 0, 0.08);
}
.recheck-toolbar .rk-ghost:hover {
  background: #eaeae6;
}
.recheck-toolbar .rk-ghost:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.recheck-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0 0 14px;
}
.recheck-tools button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}
.recheck-tools button:hover {
  color: #222;
  text-decoration-color: rgba(10, 10, 10, 0.35);
}

.recheck-status {
  margin: 0 0 12px;
  min-height: 1.2em;
  font-size: 13px;
  color: #666;
}
.recheck-digest {
  margin: 0 0 14px;
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.5;
  background: #f6f6f4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  max-height: 220px;
  overflow: auto;
}

/* 双栏 */
.recheck-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.recheck-side {
  position: sticky;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.recheck-side-block {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 12px;
}
.recheck-side-h {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.02em;
}
.recheck-view {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.recheck-view button {
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.recheck-view button em {
  font-style: normal;
  color: #999;
  font-size: 12px;
}
.recheck-view button.is-on {
  background: #141414;
  color: #fff;
}
.recheck-view button.is-on em {
  color: rgba(255, 255, 255, 0.7);
}

.recheck-feed {
  max-height: 220px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recheck-feed-item {
  border: 0;
  background: #f7f7f5;
  border-radius: 10px;
  padding: 8px 10px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  width: 100%;
}
.recheck-feed-item:hover {
  background: #f0f0ee;
}
.recheck-feed-item b {
  display: block;
  font-size: 12px;
  color: #222;
}
.recheck-feed-item span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #888;
}
.recheck-feed-empty {
  margin: 0;
  font-size: 12px;
  color: #999;
  line-height: 1.45;
}

.recheck-work {
  min-width: 0;
}
.recheck-panel {
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 16px;
  padding: 14px 14px 10px;
}
.recheck-list-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin: 0 0 12px;
}
.recheck-list-bar input[type="search"],
.recheck-list-bar select {
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #fafafa;
}
.recheck-list-bar input[type="search"] {
  flex: 1 1 180px;
  min-width: 140px;
}
.recheck-pick-n {
  font-size: 12px;
  font-weight: 700;
  color: #666;
}

.recheck-add {
  margin: 0 0 14px;
  padding: 14px;
  border: 1px dashed rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  background: #fafafa;
}
.recheck-add[hidden] {
  display: none !important;
}
.recheck-add h3 {
  margin: 0 0 10px;
  font-size: 14px;
}
.recheck-add-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.recheck-add-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
}
.recheck-add-grid label.wide {
  grid-column: 1 / -1;
}
.recheck-add-grid input,
.recheck-add-grid select,
.recheck-add-grid textarea {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #fff;
  color: #111;
}
.recheck-add-grid textarea {
  min-height: 72px;
  resize: vertical;
}
.recheck-add-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.recheck-add-acts label.check {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.recheck-empty {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: #888;
  font-size: 13px;
  line-height: 1.55;
  background: #f7f7f5;
  border-radius: 12px;
}
.recheck-empty a {
  color: #444;
}
.recheck-demo-tag {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: #856404;
  background: #fff8e6;
  border: 1px solid #f0e0a8;
  border-radius: 10px;
  padding: 8px 12px;
}
.fav-list-tools {
  display: flex;
  gap: 14px;
  margin: 0 0 12px;
}
.recheck-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.recheck-modal[hidden] {
  display: none !important;
}
.recheck-modal-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}
.recheck-modal-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.recheck-modal-card input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 12px;
}
.recheck-modal-acts {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 860px) {
  .recheck-layout {
    grid-template-columns: 1fr;
  }
  .recheck-side {
    position: static;
  }
  .recheck-view {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .recheck-kpis {
    grid-template-columns: 1fr;
  }
  .recheck-add-grid {
    grid-template-columns: 1fr;
  }
}
