/* 退账明细日报 · 正文预览增强 */
.rdm-html-box {
  margin-top: 8px;
}

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

.rdm-html-title {
  font-size: 12px;
  font-weight: 600;
  color: #5b6a80;
  letter-spacing: .2px;
}

.rdm-html-tabs {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 8px;
  background: #eef3fa;
}

.rdm-html-tabs button {
  border: 0;
  padding: 4px 11px;
  border-radius: 6px;
  background: transparent;
  color: #7c8aa0;
  font-size: 11.5px;
  font-family: inherit;
  line-height: 1.5;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}

.rdm-html-tabs button.on {
  background: #fff;
  color: #1f6feb;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(20, 40, 80, .12);
}

.rdm-html-note {
  margin: 0 0 8px;
  padding: 7px 10px;
  border: 1px solid #f3dfb8;
  border-radius: 8px;
  background: #fff8e8;
  color: #8a4b06;
  font-size: 11.5px;
  line-height: 1.6;
}

.rdm-mail-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid #e8edf5;
  border-radius: 9px;
  background: #f7f9fc;
  font-size: 11.5px;
  line-height: 1.5;
}

.rdm-mail-k {
  flex: 0 0 auto;
  color: #8b96a8;
}

.rdm-mail-v {
  min-width: 0;
  flex: 1 1 auto;
  color: #263244;
  font-weight: 600;
  word-break: break-all;
}

.rdm-mail-count {
  flex: 0 0 auto;
  color: #8b96a8;
  white-space: nowrap;
}

.rdm-html-frame {
  display: block;
  width: 100%;
  height: 1100px;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  background: #eef2f8;
  box-shadow: 0 8px 26px -22px rgba(15, 35, 70, .5);
}

@media (max-width: 900px) {
  .rdm-html-frame {
    height: 1400px;
    border-radius: 10px;
  }

  .rdm-html-bar {
    margin-bottom: 6px;
  }
}
