#hl-pre-sales-templates {
  min-height: calc(100vh - 44px);
  padding: 0 12px 18px;
  background: #f5f7fa;
  color: #606266;
  font:
    12px/1.5 Arial,
    "Microsoft YaHei",
    sans-serif;
  box-sizing: border-box;
}
#hl-pre-sales-templates * {
  box-sizing: border-box;
}
.pst-clock {
  height: 42px;
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #ebeef5;
  color: #606266;
}
.pst-panel {
  min-height: 680px;
  margin-top: 12px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #ebeef5;
}
.pst-panel > header {
  height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ebeef5;
}
.pst-panel h1 {
  margin: 0;
  color: #222;
  font-size: 16px;
}
.pst-toolbar {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pst-toolbar > button,
.pst-search button {
  height: 32px;
  padding: 0 16px;
  border: 1px solid #409eff;
  border-radius: 3px;
  background: #409eff;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.pst-search {
  display: flex;
}
.pst-search input {
  width: 245px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #dcdfe6;
  border-radius: 3px 0 0 3px;
  outline: none;
}
.pst-search button {
  border-radius: 0 3px 3px 0;
}
.pst-table-wrap {
  overflow: auto;
}
.pst-table-wrap table {
  width: 100%;
  min-width: 1200px;
  border-collapse: collapse;
  table-layout: fixed;
}
.pst-table-wrap th,
.pst-table-wrap td {
  border: 1px solid #ebeef5;
  padding: 9px 10px;
  vertical-align: middle;
  word-break: break-word;
}
.pst-table-wrap th {
  height: 59px;
  background: #fff;
  color: #222;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.pst-table-wrap td {
  height: 62px;
  color: #606266;
  font-size: 12px;
}
.pst-table-wrap th:nth-child(1) {
  width: 180px;
}
.pst-table-wrap th:nth-child(2) {
  width: 300px;
}
.pst-table-wrap th:nth-child(3) {
  width: 300px;
}
.pst-table-wrap th:nth-child(4) {
  width: 100px;
}
.pst-table-wrap th:nth-child(5) {
  width: 150px;
}
.pst-table-wrap th:nth-child(6) {
  width: 120px;
}
.pst-table-wrap th:nth-child(7) {
  width: 120px;
}
.pst-empty {
  height: 350px !important;
  text-align: center;
  color: #909399 !important;
}
.pst-switch {
  position: relative;
  width: 34px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #dcdfe6;
  cursor: pointer;
}
.pst-switch i {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: 0.15s;
}
.pst-switch.on {
  background: #409eff;
}
.pst-switch.on i {
  left: 18px;
}
.pst-link {
  border: 0;
  background: none;
  color: #409eff;
  font-size: 12px;
  cursor: pointer;
}
.pst-link.danger {
  color: #f56c6c;
}
.pst-page {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pst-page > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pst-page select,
.pst-page button,
.pst-page input {
  height: 28px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  background: #fff;
  color: #606266;
}
.pst-page button {
  width: 28px;
}
.pst-page input {
  width: 36px;
  text-align: center;
}
.pst-page b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #409eff;
  color: #fff;
}
.pst-error {
  padding: 8px 10px;
  background: #fef0f0;
  color: #f56c6c;
}
.pst-loading {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10001;
  transform: translate(-50%, -50%);
  padding: 12px 18px;
  border: 1px solid #dcdfe6;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.pst-mask {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
}
.pst-modal {
  width: 760px;
  max-width: 90vw;
  background: #fff;
  border-radius: 4px;
}
.pst-modal > header {
  height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ebeef5;
  color: #222;
  font-size: 16px;
}
.pst-modal > header button {
  border: 0;
  background: none;
  font-size: 26px;
  color: #909399;
  cursor: pointer;
}
.pst-modal > section {
  padding: 20px 34px;
}
.pst-modal > section > label {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  margin-bottom: 18px;
}
.pst-modal > section > label > span {
  text-align: right;
  padding: 8px 18px 0 0;
}
.pst-modal input[type="text"],
.pst-modal section input:not([type="radio"]) {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
}
.pst-modal textarea {
  width: 100%;
  height: 105px;
  padding: 9px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  resize: vertical;
}
.pst-modal section label > div {
  position: relative;
}
.pst-modal section small {
  position: absolute;
  right: 7px;
  bottom: 5px;
  color: #c0c4cc;
}
.pst-radio {
  margin-right: 22px;
  line-height: 34px;
}
.pst-modal > footer {
  height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #ebeef5;
}
.pst-modal > footer button {
  height: 32px;
  padding: 0 18px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  background: #fff;
}
.pst-modal > footer .primary {
  background: #409eff;
  border-color: #409eff;
  color: #fff;
}
.pst-toast {
  position: fixed;
  left: 50%;
  top: 72px;
  z-index: 11000;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 3px;
  background: #67c23a;
  color: #fff;
}
.pst-toast.error {
  background: #f56c6c;
}
.pst-modal section label > div > p {
  position: relative;
  margin: 5px 0 0;
  color: #909399;
  font-size: 12px;
}
.pst-modal section label > div > p small {
  position: static;
  float: right;
  color: #c0c4cc;
}
.pst-timing {
  height: 34px;
  line-height: 34px;
  color: #606266;
}
.pst-confirm {
  width: 430px;
  max-width: 92vw;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}
.pst-confirm > header {
  height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ebeef5;
  color: #222;
  font-size: 16px;
}
.pst-confirm > header button {
  border: 0;
  background: none;
  color: #909399;
  font-size: 24px;
  cursor: pointer;
}
.pst-confirm > section {
  min-height: 92px;
  padding: 28px 22px;
  color: #606266;
  font-size: 13px;
}
.pst-confirm > footer {
  height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #ebeef5;
}
.pst-confirm > footer button {
  height: 32px;
  padding: 0 18px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}
.pst-confirm > footer .danger {
  border-color: #f56c6c;
  background: #f56c6c;
  color: #fff;
}
