[data-rr-reservation],
.rr-compose-reservation {
  min-width: 112px;
}

.rr-compose-table-row {
  display: flex !important;
  flex-wrap: nowrap !important;
}

.rr-compose-table-row > .el-col {
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}

.rr-compose-table-row > .el-col:nth-child(1) { flex: 0 0 4% !important; }
.rr-compose-table-row > .el-col:nth-child(2) { flex: 1.55 1 0 !important; }
.rr-compose-table-row > .el-col:nth-child(3) { flex: 1.35 1 0 !important; }
.rr-compose-table-row > .el-col:nth-child(4) { flex: 1.45 1 0 !important; }
.rr-compose-table-row > .el-col:nth-child(5) { flex: 2.35 1 0 !important; }
.rr-compose-table-row > .el-col:nth-child(6) { flex: .82 1 0 !important; }
.rr-compose-table-row > .el-col:nth-child(7) { flex: .92 1 0 !important; }
.rr-compose-table-row > .el-col:nth-child(8) { flex: 1.28 1 0 !important; min-width: 112px !important; }
.rr-compose-table-row > .el-col:nth-child(9) { flex: 1.15 1 0 !important; }
.rr-compose-table-row > .el-col:nth-child(10) { flex: 0 0 5.5% !important; }

.rr-compose-reservation {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
}

.rr-compose-reservation .rr-date-control {
  width: 100%;
}

.rr-compose-row.rr-paste-target,
tr[data-draft].rr-paste-target,
.rr-live-compose-row.rr-paste-target {
  outline: 2px solid rgba(47, 107, 235, .38);
  outline-offset: -2px;
  background: rgba(47, 107, 235, .045);
}

.rr-p1-reservation-head,
.rr-p1-reservation-row {
  grid-template-columns:
    44px
    minmax(110px, .9fr)
    minmax(115px, 1fr)
    minmax(160px, 1.2fr)
    minmax(210px, 1.8fr)
    minmax(150px, 1.2fr)
    minmax(150px, 1.2fr)
    100px
    152px
    minmax(115px, 1fr)
    85px !important;
  min-width: 1402px !important;
}

.rr-p23-reservation-head > [data-rr-header] {
  vertical-align: middle;
  text-align: center;
}

.rr-live-reservation-cell {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}

.p1-grid--row > .rr-live-reservation-cell {
  align-self: center !important;
  height: auto !important;
  min-height: 42px !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 0 8px !important;
  gap: 7px;
}

.rr-live-reservation-cell .rr-date-control {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  width: auto !important;
  max-width: none;
  min-height: 42px;
  justify-content: center !important;
  box-sizing: border-box;
  overflow: hidden;
  transform: translateY(-50%);
}

.rr-live-reservation-cell .rr-date-trigger {
  flex: 1 1 auto;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 7px 5px;
  border-color: #cfd9e8;
  background: #f8fbff;
  color: #52657f;
  font-size: 13px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
}

.rr-live-reservation-cell .rr-date-trigger::before {
  content: "▦";
  margin-right: 6px;
  color: #6b83a3;
}

.rr-live-reservation-cell .rr-date-trigger:hover,
.rr-live-reservation-cell .rr-date-trigger.has-date {
  border-color: #6d96d5;
  background: #eef5ff;
  color: #2f5f9e;
}

td.rr-live-reservation-cell {
  display: table-cell !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 8px 6px;
  vertical-align: middle !important;
  text-align: center;
}

td.rr-live-reservation-cell .rr-date-control {
  width: 100%;
}

.rr-p23-reservation-head > th,
.rr-p23-reservation-row > td {
  text-align: center;
  vertical-align: middle;
}

.rr-image-cell {
  min-width: 0;
  vertical-align: top;
}

.rr-image-cell.rr-has-images .rp-media-list {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  vertical-align: top;
  gap: 4px !important;
  margin-bottom: 0 !important;
}

.rr-image-cell.rr-has-images .rp-video-upload {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  margin-left: 4px !important;
  vertical-align: top;
}

.rr-image-cell.rr-has-images .sc-image {
  position: relative !important;
  flex: 0 0 52px !important;
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #dce5f1;
  border-radius: 5px;
  background: #f7f9fc;
}

.rr-image-cell.rr-has-images .sc-image::after {
  content: "已上传";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1px 0;
  background: rgba(47, 67, 96, .94);
  color: #fff;
  font-size: 9px;
  line-height: 14px;
  text-align: center;
  pointer-events: none;
}

.rr-image-cell.rr-has-images .sc-image .el-image,
.rr-image-cell.rr-has-images .sc-image img {
  width: 52px !important;
  height: 52px !important;
}

.rr-image-cell.rr-has-images .sc-image .del-icon {
  top: -5px !important;
  right: -5px !important;
  font-size: 17px !important;
}

.rr-image-cell.rr-has-images .rp-video-upload .video-upload-trigger {
  width: 52px !important;
  height: 52px !important;
  min-height: 52px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px !important;
}

.rr-image-cell.rr-has-images .rp-video-upload .rp-up-text {
  display: inline-flex !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

.rr-image-cell.rr-has-images .rp-video-upload .rp-up-text::after {
  content: "添加";
  font-size: 10px;
}

.rr-image-cell.rr-has-images .rp-video-upload .rp-up-text small {
  display: none !important;
}

.rr-image-cell.rr-has-images .rp-video-upload .el-icon-plus {
  font-size: 17px !important;
}

.rr-image-cell.rr-no-images .rp-video-upload {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.rr-image-cell.rr-no-images .rp-video-upload .video-upload-trigger {
  min-width: 128px;
}

.rr-image-cell.rr-no-images .rp-video-upload .rp-up-text {
  font-size: 0 !important;
}

.rr-image-cell.rr-no-images .rp-video-upload .rp-up-text::after {
  content: "选择图片";
  font-size: 13px;
  font-weight: 600;
}

.rr-image-cell.rr-no-images .rp-video-upload .rp-up-text small {
  display: none !important;
}

.rr-image-cell.rr-no-images .rp-video-upload .el-icon-plus {
  font-size: 20px !important;
}

.rr-date-control {
  position: relative;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.rr-date-trigger {
  border: 1px solid #d9e0ed;
  border-radius: 6px;
  background: #fff;
  color: #7c8799;
  min-height: 32px;
  padding: 4px 10px;
  font: inherit;
  cursor: pointer;
  transition: border-color .16s, color .16s, background .16s;
}

.rr-date-trigger:hover,
.rr-date-trigger.has-date {
  border-color: #2f6beb;
  color: #2257c4;
  background: #f5f8ff;
}

.rr-date-trigger:disabled {
  cursor: not-allowed;
  color: #7b8678;
  border-color: #dfe5da;
  background: #f2f5ef;
}

.rr-date-clear {
  position: relative;
  z-index: 3;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #f2f4f8;
  color: #8d96a5;
  cursor: pointer;
  line-height: 22px;
  padding: 0;
}

.rr-calendar-popover {
  position: fixed;
  z-index: 100000;
  width: 330px;
  max-width: calc(100vw - 24px);
  padding: 12px;
  border: 1px solid #d5e0ee;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(29, 55, 88, .24);
}

.rr-calendar-head {
  position: relative;
  padding: 2px 30px 10px 2px;
  border-bottom: 1px solid #edf1f7;
}

.rr-calendar-head strong {
  display: block;
  color: #263a55;
  font-size: 14px;
  line-height: 1.5;
}

.rr-calendar-head span {
  display: block;
  margin-top: 2px;
  color: #8b99ab;
  font-size: 11px;
}

.rr-calendar-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 6px;
  background: #f4f7fb;
  color: #73849a;
  font-size: 20px;
  line-height: 24px;
  padding: 0;
  cursor: pointer;
}

.rr-calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 11px 0;
  max-height: min(52vh, 470px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.rr-calendar-day {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 1px solid #dce5f1;
  border-radius: 8px;
  background: #f9fbff;
  color: #425875;
  cursor: pointer;
}

.rr-calendar-day:hover {
  border-color: #2f6beb;
  background: #f0f6ff;
}

.rr-calendar-day.is-selected {
  border-color: #2f6beb;
  background: #eaf2ff;
  box-shadow: inset 0 0 0 1px #2f6beb;
}

.rr-calendar-weekday {
  color: #8594a8;
  font-size: 10px;
}

.rr-calendar-day strong {
  font-size: 13px;
  white-space: nowrap;
}

.rr-calendar-day small {
  color: #9a6b29;
  font-size: 10px;
}

.rr-calendar-cancel {
  width: 100%;
  min-height: 34px;
  border: 1px solid #e1e7ef;
  border-radius: 7px;
  background: #fff;
  color: #64748a;
  font-size: 12px;
  cursor: pointer;
}

.rr-calendar-cancel:hover {
  border-color: #aebed2;
  color: #314c70;
}

.rr-date-clear:hover {
  background: #fff0ed;
  color: #cf4a38;
}

.rr-paste-hint {
  grid-column: 1 / -1;
  margin-top: 7px;
  width: 100%;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 9px;
  border: 1px solid #c9d8ee;
  border-radius: 5px;
  background: #f8fbff;
  color: #47617f;
  font-size: 11px;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.rr-paste-hint:hover {
  border-color: #6d99d8;
  background: #f1f7ff;
}

.rr-paste-count {
  flex: none;
  color: #7185a0;
}

.rr-paste-strip {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.rr-pasted-image {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid #d9e2f1;
  border-radius: 5px;
  overflow: hidden;
  background: #f7f9fc;
}

.rr-pasted-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-pasted-image button {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 17px;
  height: 17px;
  border: 0;
  border-radius: 0 0 0 7px;
  background: rgba(176, 55, 38, .92);
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  padding: 0;
  cursor: pointer;
}

.rr-res-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 6px auto 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px !important;
  line-height: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.rr-res-badge.is-pending {
  color: #8b631d;
  background: #fff3d4;
  border: 1px solid #f1daa1;
}

.rr-res-badge.is-released {
  color: #397048;
  background: #e9f7ed;
  border: 1px solid #bfe3c8;
}

.rr-res-badge.is-inline {
  display: inline-flex;
  margin: 0 0 0 6px;
  padding: 0 6px;
  vertical-align: middle;
  font-size: 10px !important;
  line-height: 17px;
}

.rr-front-asin-cell {
  text-align: center !important;
  vertical-align: middle !important;
}

.rr-front-asin-cell .rr-front-asin-value {
  display: block !important;
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: center !important;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.rr-front-asin-cell .rr-front-res-badge {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 4px auto 0;
  padding: 1px 7px;
  font-size: 10px !important;
  line-height: 16px;
}

.rr-admin-image-cell > .cell {
  width: 100% !important;
  padding: 3px !important;
  overflow: hidden !important;
}

.rr-admin-image-cell .el-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.rr-admin-image-cell .el-image {
  flex: 0 0 48px !important;
  width: 48px !important;
  max-width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  margin-left: 0 !important;
  overflow: hidden;
  border-radius: 3px;
}

.rr-admin-image-cell .el-image img {
  width: 48px !important;
  height: 48px !important;
  object-fit: cover;
}

.rr-reservation-time {
  font-size: 12px;
  line-height: inherit;
  color: #7f6b49;
}

.comment-table .review-title,
.comment-table .review-box,
.comment-table .review-link-box {
  text-align: center !important;
  justify-content: center !important;
}

.comment-table .review-box.title,
.comment-table .review-box.content {
  text-align: center !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.comment-table .review-box.title > span,
.comment-table .review-box.content > span {
  width: auto !important;
  max-width: 100%;
  margin: 0 auto;
  text-align: center !important;
}

.comment-table .review-link-box {
  align-items: center;
}

.comment-table .review-link-box > span {
  height: auto !important;
  max-height: 8.4rem;
  text-align: center !important;
  margin: 0 auto;
}

.comment-table .review-box.time {
  text-align: center !important;
}

.comment-table .review-box.time span {
  padding-left: 0 !important;
}

.comment-table .review-box .el-image,
.comment-table .review-box .el-upload {
  margin-left: auto;
  margin-right: auto;
}

.customer-table th,
.customer-table td {
  text-align: center !important;
  vertical-align: middle !important;
}

.customer-table .cell-title,
.customer-table .cell-content {
  width: 100%;
  text-align: center !important;
  margin: 0 auto;
}

.customer-table .record-times > div {
  text-align: center;
}

.lv-table th,
.lv-table td {
  text-align: center !important;
  vertical-align: middle !important;
}

.lv-table .cell-title,
.lv-table .cell-clamp {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.lv-table .lv-shot,
.lv-table .lv-shots {
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.lv-table .lv-tag {
  margin-left: auto;
  margin-right: auto;
}

.rr-drawer-schedule {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background: #f8faff;
}

.rr-drawer-title {
  margin-bottom: 8px;
  color: #45546b;
  font-size: 14px;
  font-weight: 600;
}

.rr-drawer-schedule .rr-date-control {
  justify-content: flex-start;
}

.rr-toast {
  position: fixed;
  z-index: 99999;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: min(520px, calc(100vw - 40px));
  padding: 12px 18px;
  border-radius: 9px;
  background: #253b33;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 36px rgba(20, 35, 30, .22);
  animation: rr-toast-in .2s ease-out;
}

.rr-toast.is-error {
  background: #9a4436;
}

.rr-toast.is-leaving {
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s;
}

@keyframes rr-toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 760px) {
  .rr-paste-hint {
    display: none;
  }

  .rr-compose-reservation {
    min-width: 100px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .rr-date-trigger {
    padding: 4px 7px;
    font-size: 12px;
  }
}
