﻿/* ============================================================
 * styles.css — 复刻参考原型的 Ant Design 风格
 * ============================================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background-color: #F2F3F5;
  font-family: 'Arial Normal', 'Arial', 'Microsoft YaHei', '微软雅黑', sans-serif;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: #169BD5; text-decoration: none; }
a:hover { text-decoration: underline; }

.muted { color: #999; }
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  background: #ECF5FF;
  color: #169BD5;
  border: 1px solid #D9ECFF;
}
.tag-success { background: #F0F9EB; color: #67C23A; border-color: #E1F3D8; }
.tag-warning { background: #FDF6EC; color: #E6A23C; border-color: #FAECD8; }
.tag-danger  { background: #FEF0F0; color: #F56C6C; border-color: #FDE2E2; }
.tag-info    { background: #F4F4F5; color: #909399; border-color: #E9E9EB; }

 .topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background-color: #35B5F6;
  background-image:
    linear-gradient(120deg, transparent 0 23%, rgba(255,255,255,.34) 23.15% 23.35%, transparent 23.5% 100%),
    linear-gradient(162deg, transparent 0 61%, rgba(255,255,255,.28) 61.15% 61.3%, transparent 61.45% 100%),
    linear-gradient(28deg, transparent 0 76%, rgba(255,255,255,.26) 76.15% 76.3%, transparent 76.45% 100%),
    linear-gradient(90deg, #199FE8 0%, #55C5FA 48%, #75C8EF 100%);
  border-bottom: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 2px 8px rgba(24,155,221,.24);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 20px;
}
.topbar .project-name {
  flex: 1;
  text-align: center;
  color: #5B6670;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 12px;
}
.topbar .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.topbar .logo .badge {
  background: #62B4EF;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
}
.topbar .logo .system-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #fff;
  font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  text-shadow: 0 2px 4px rgba(0,100,160,.24);
}
.topbar .spacer { flex: 1; }
.topbar .toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  background: #FFFFFF;
  cursor: pointer;
  font-size: 12px;
  color: #606266;
  border-width: 1px;
  border-style: solid;
}
.topbar .toggle.active {
  background: #FDF6EC;
  color: #E6A23C;
  border-color: #FAECD8;
}
.topbar .toggle:hover { border-color: #62B4EF; color: #62B4EF; }
.topbar .user {
  font-size: 13px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar .user.user-logout {
  border: 0;
  padding: 4px 6px;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.topbar .user.user-logout:hover {
  background: rgba(255,255,255,.16);
}
.topbar .user.user-logout:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
.topbar .user .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #F5A623;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.topbar .user .role-name {
  color: #fff;
  font-weight: 700;
}
.topbar .user .user-meta {
  color: rgba(255,255,255,.76);
  font-size: 11px;
}

.sidebar {
  position: fixed;
  top: 56px; left: 0; bottom: 0;
  width: 220px;
  background: #FFFFFF;
  border-right: 1px solid #E6E6E6;
  overflow-y: auto;
  padding: 16px 0;
}
.sidebar .nav-title {
  padding: 8px 20px;
  font-size: 12px;
  color: #909399;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sidebar .nav-item {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #303133;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.sidebar .nav-item:hover { background: #F2F3F5; color: #169BD5; }
.sidebar .nav-item.active {
  background: #ECF5FF;
  color: #169BD5;
  border-left-color: #169BD5;
  font-weight: 700;
}
.sidebar .nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #606266;
  font-weight: 700;
}
.sidebar .nav-parent:hover { background: #F2F3F5; color: #169BD5; }
.sidebar .nav-parent.active {
  background: transparent;
  color: #303133;
  border-left-color: transparent;
}
.sidebar .nav-parent.active:hover { background: #F2F3F5; color: #169BD5; }
.sidebar .nav-expand-icon {
  flex: 0 0 auto;
  margin-left: 8px;
  color: #909399;
  font-size: 14px;
  line-height: 1;
}
.sidebar .nav-child {
  padding-left: 36px;
  font-size: 12px;
}
.sidebar .nav-item.disabled { color: #C0C4CC; cursor: not-allowed; }
.sidebar .nav-item.disabled:hover { background: transparent; color: #C0C4CC; }
.sidebar .nav-item .badge-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: #F56C6C;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
}

.topbar:empty,
.sidebar:empty {
  display: none;
}
.main.login-main {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* ---------- 登录页 ---------- */
.login-screen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 32px;
  background: linear-gradient(135deg, #0A3D6B 0%, #135D91 50%, #5D9FBE 100%);
}
.login-bg-bubble {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(221,242,250,.25);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(223,246,255,.42) 0 4%, rgba(186,225,241,.16) 20%, rgba(94,171,204,.12) 56%, rgba(11,78,130,.08) 100%);
  box-shadow:
    inset -12px -16px 28px rgba(5,61,110,.14),
    inset 8px 9px 17px rgba(204,238,250,.12),
    0 10px 26px rgba(5,49,90,.10);
}
.bubble-one { top: -38px; left: -34px; width: 112px; height: 112px; opacity: .48; }
.bubble-two { top: 10%; right: -64px; width: 156px; height: 156px; opacity: .38; }
.bubble-three { bottom: -82px; left: -58px; width: 184px; height: 184px; opacity: .34; }
.bubble-four { right: -30px; bottom: 5%; width: 86px; height: 86px; opacity: .48; }
.bubble-five { top: 43%; left: 2.5%; width: 46px; height: 46px; opacity: .36; }
.bubble-six { top: 53%; right: 2.5%; width: 50px; height: 50px; opacity: .34; }
.login-layout {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1040px, 100%);
  min-height: 560px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 58px rgba(5,44,78,.28);
}
.login-welcome {
  position: relative;
  flex: 1 1 48%;
  overflow: hidden;
  padding: 46px 50px 34px;
  color: #fff;
  background: linear-gradient(145deg, #0B3967, #0A5A96);
}
.login-welcome::after {
  position: absolute;
  right: -164px;
  top: -76px;
  width: 304px;
  height: 710px;
  border: 1px solid rgba(203,242,255,.32);
  border-radius: 50%;
  content: '';
}
.login-welcome-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  letter-spacing: 1px;
  color: #D4F2FF;
}
.login-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: #79D6FF;
  font-size: 19px;
}
.login-welcome-copy {
  position: relative;
  z-index: 1;
  margin-top: 68px;
}
.login-welcome-copy h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: 2px;
  font-weight: 500;
}
.login-welcome-copy p {
  margin: 12px 0 0;
  color: #D8F2FF;
  font-size: 17px;
  letter-spacing: 1px;
}
.login-welcome-copy i {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 18px;
  border-radius: 3px;
  background: #69D6FF;
}
.login-illustration {
  position: relative;
  z-index: 1;
  width: 285px;
  height: 196px;
  margin: 44px auto 0;
}
.illustration-orbit {
  position: absolute;
  left: 42px;
  width: 202px;
  height: 50px;
  border: 2px solid rgba(91,222,255,.66);
  border-radius: 50%;
}
.orbit-one { bottom: 18px; transform: rotate(-10deg); }
.orbit-two { bottom: 30px; border-color: rgba(129,179,255,.5); transform: rotate(18deg); }
.illustration-card {
  position: absolute;
  left: 66px;
  bottom: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  width: 156px;
  height: 107px;
  transform: rotate(-9deg) skewY(3deg);
  border: 1px solid rgba(112,225,255,.9);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(0,237,255,.9), rgba(43,77,218,.88));
  box-shadow: 0 12px 26px rgba(0,225,255,.36), inset 0 0 22px rgba(255,255,255,.38);
}
.illustration-card b {
  position: absolute;
  left: 50%;
  top: 8px;
  color: rgba(255,255,255,.92);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  transform: translateX(-50%);
}
.illustration-building {
  position: relative;
  z-index: 1;
  display: block;
  width: 16px;
  background: rgba(5,63,137,.72);
  box-shadow: 0 0 0 2px rgba(208,255,255,.45);
}
.building-one { height: 33px; }
.building-two { height: 49px; }
.building-three { height: 40px; }
.illustration-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6BE7FF;
  box-shadow: 0 0 12px #6BE7FF;
}
.dot-one { left: 22px; bottom: 51px; }
.dot-two { right: 15px; top: 38px; width: 5px; height: 5px; }
.dot-three { right: 44px; bottom: 6px; width: 4px; height: 4px; }
.login-welcome-footer {
  position: absolute;
  left: 50px;
  bottom: 31px;
  margin: 0;
  color: rgba(218,244,255,.76);
  letter-spacing: 1px;
  font-size: 12px;
}
.login-panel {
  display: flex;
  flex: 1 1 52%;
  flex-direction: column;
  padding: 46px 62px 28px;
  background: rgba(255,255,255,.98);
}
.login-role-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
  border-bottom: 1px solid #DCE9F1;
}
.login-role-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  color: #7C91A2;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}
.login-role-tab::after {
  position: absolute;
  right: 13%;
  bottom: -1px;
  left: 13%;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  content: '';
}
.login-role-tab:hover { color: #1676B8; }
.login-role-tab.active { color: #126DAF; font-weight: 700; }
.login-role-tab.active::after { background: #18AEEA; }
.login-form {
  display: flex;
  flex: 1;
  align-items: center;
  padding: 20px 0;
}
.login-form-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 50px;
}
.login-form-title {
  color: #284E6B;
  font-size: 19px;
  font-weight: 600;
}
.login-form-tip {
  margin: 0;
  color: #90A5B5;
  font-size: 13px;
}
.login-input-wrap {
  display: flex;
  align-items: center;
  height: 49px;
  margin: 0;
  border-bottom: 1px solid #D9E4EB;
  color: #83A0B4;
}
.login-input-wrap:focus-within { border-color: #1CAFE9; }
.login-input-icon {
  width: 30px;
  color: #75A0B9;
  font-size: 16px;
  text-align: center;
}
.login-input-wrap input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  color: #33546D;
  background: transparent;
  font: inherit;
  font-size: 14px;
}
.login-input-wrap input::placeholder { color: #B0C0CB; }
.login-remember {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin: 0;
  color: #688398;
  cursor: pointer;
  font-size: 13px;
  line-height: 20px;
  user-select: none;
}
.login-remember input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #159ED5;
  cursor: pointer;
}
.ca-certificate-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 78px;
  padding: 13px 15px;
  border: 1px solid #CBE7F4;
  border-radius: 8px;
  color: #48687E;
  background: #F2FBFF;
}
.ca-certificate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  color: #087FC3;
  background: #D7F2FF;
  font-size: 21px;
}
.ca-certificate-card b,
.ca-certificate-card span:not(.ca-certificate-icon) {
  display: block;
}
.ca-certificate-card b { color: #2F5872; font-size: 13px; }
.ca-certificate-card span:not(.ca-certificate-icon) { margin-top: 5px; color: #86A2B4; font-size: 11px; }
.login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 46px;
  margin-top: 0;
  border: 0;
  border-radius: 23px;
  color: #fff;
  background: linear-gradient(90deg, #1477B5, #159ED5);
  box-shadow: 0 8px 16px rgba(20,130,193,.27);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 3px;
  transition: transform .2s, box-shadow .2s;
}
.login-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 18px rgba(20,130,193,.34); }
.login-submit span { font-size: 19px; line-height: 1; }
.login-panel-footer {
  color: #A1B2BE;
  font-size: 11px;
  text-align: center;
}
@media (max-width: 780px) {
  .login-screen { padding: 18px; align-items: flex-start; }
  .login-layout { display: block; min-height: 0; margin: 16px 0; }
  .login-welcome { min-height: 235px; padding: 28px 30px; }
  .login-welcome-copy { margin-top: 28px; }
  .login-welcome-copy h1 { font-size: 30px; }
  .login-illustration { display: none; }
  .login-welcome-footer { left: 30px; bottom: 24px; }
  .login-panel { padding: 35px 26px 26px; }
  .login-role-tab { font-size: 11px; word-break: break-all; }
  .login-remember { font-size: 12px; }
}

.main {
  margin-top: 56px;
  margin-left: 220px;
  padding: 20px;
  min-height: calc(100vh - 56px);
}
.page-card {
  background: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,21,41,.08);
  padding: 20px 24px;
  margin-bottom: 16px;
  min-width: 0;
  overflow: hidden;
}
.params-page {
  min-height: calc(100vh - 96px);
  box-sizing: border-box;
}
.end-evaluation-page {
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
}
.end-evaluation-page .end-evaluation-message {
  flex: 1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  box-sizing: border-box;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E6E6E6;
}
.page-title h2 {
  margin: 0;
  font-size: 18px;
  color: #303133;
  font-weight: 700;
}
.page-title .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.page-subtitle { color: #909399; font-size: 12px; margin-top: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  background: #FFFFFF;
  color: #606266;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { color: #62B4EF; border-color: #62B4EF; }
.btn:disabled { color: #C0C4CC; cursor: not-allowed; background: #F5F7FA; border-color: #E4E7ED; }
.btn-primary { background: #62B4EF; color: #FFFFFF; border-color: #62B4EF; }
.btn-primary:hover { background: #4FA6E4; color: #FFFFFF; border-color: #4FA6E4; }
.btn-primary:disabled { background: #A0CDF6; border-color: #A0CDF6; color: #FFFFFF; }
.btn-danger { background: #F56C6C; color: #FFFFFF; border-color: #F56C6C; }
.btn-danger:hover { background: #E45A5A; color: #FFFFFF; border-color: #E45A5A; }
.btn-warn { background: #E6A23C; color: #FFFFFF; border-color: #E6A23C; }
.btn-warn:hover { background: #D8912A; color: #FFFFFF; border-color: #D8912A; }
.btn-text { border-color: transparent; color: #169BD5; }
.btn-text:hover { color: #62B4EF; background: #ECF5FF; border-color: transparent; }
.btn-sm { height: 26px; padding: 0 10px; font-size: 12px; }
.btn-lg { height: 40px; padding: 0 20px; font-size: 14px; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #FFFFFF;
}
.table thead th {
  background: #F5F7FA;
  color: #303133;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid #E6E6E6;
  white-space: nowrap;
}
.table tbody td {
  padding: 10px 12px;
  border: 1px solid #E6E6E6;
  color: #606266;
  vertical-align: top;
}
.table tbody td.trading-status-cell,
.table tbody td.trading-actions-cell {
  vertical-align: middle;
}
.trading-actions {
  align-items: center;
  justify-content: center;
  min-height: 32px;
}
.table tbody tr:hover { background: #F5F7FA; }
.table .center { text-align: center; }
.table .right { text-align: right; }
.table-wrap { overflow-x: auto; border-radius: 6px; }

.form-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.form-row .label {
  min-width: 130px;
  text-align: right;
  color: #606266;
  font-size: 13px;
}
.form-row .label.required::after { content: ' *'; color: #F56C6C; }
.form-row .control { flex: 1; min-width: 240px; }
.form-row .hint { color: #909399; font-size: 12px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  height: 32px;
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 13px;
  color: #606266;
  background: #FFFFFF;
  font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #62B4EF;
}
.form-textarea {
  height: auto;
  min-height: 80px;
  padding: 8px 12px;
  resize: vertical;
}
.form-select { cursor: pointer; }
.form-input:disabled, .form-select:disabled, .form-textarea:disabled {
  background: #F5F7FA;
  color: #909399;
  border-color: #E4E7ED;
  cursor: not-allowed;
  opacity: 1;
}
.checkbox, .radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #606266;
  cursor: pointer;
  margin-right: 16px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  vertical-align: middle;
}
.switch input { display: none; }
.switch .slider {
  position: absolute; inset: 0;
  background: #DCDFE6;
  border-radius: 22px;
  cursor: pointer;
  transition: 0.3s;
}
.switch .slider::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: 0.3s;
}
.switch input:checked + .slider { background: #62B4EF; }
.switch input:checked + .slider::before { transform: translateX(18px); }
.switch.is-disabled,
.switch input:disabled + .slider {
  cursor: not-allowed;
}
.switch input:disabled + .slider {
  background: #DCDFE6;
}
.switch input:disabled + .slider::before {
  background: #F5F7FA;
}
.switch input:disabled:checked + .slider {
  background: #C0C4CC;
}

.modal-mask {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal {
  background: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  min-width: 420px;
  max-width: 80vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  background: #62B4EF;
  color: #FFFFFF;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header .close {
  cursor: pointer;
  background: transparent;
  border: 0;
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1;
}
.modal-body {
  padding: 20px 24px;
  font-size: 14px;
  color: #303133;
  line-height: 1.7;
  overflow: auto;
  flex: 1;
}
/* 弹窗主体内容居中(软硬件查重 / 申请修正弹窗用) */
.modal-body-centered { text-align: center; }
/*.modal-body-centered 下含 form-row 时,让 label + control 仍然左对齐但整体居中 */
/*.modal-body-centered .form-row { display: inline-flex; text-align: left; }
/* 弹窗表单输入错误(校验失败时聚焦 + 红色描边) */
.error-input, .error-input:focus {
  border-color: #F56C6C !important;
  box-shadow: 0 0 0 2px rgba(245, 108, 108, 0.18) !important;
  background: #FEF0F0;
}
/*.form-textarea.error-input { min-height: 70px; } */
.modal-footer {
  padding: 12px 20px;
  border-top: 1px solid #E6E6E6;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: #FAFAFA;
}
.modal.danger .modal-header { background: #F56C6C; }
.modal.warn  .modal-header { background: #E6A23C; }
.modal.info  .modal-header { background: #62B4EF; }

/* 评标专家在线讨论 */
.expert-discussion {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1800;
}
.expert-discussion-trigger {
  width: 48px;
  height: 48px;
  padding: 0 13px;
  overflow: hidden;
  border: 1px solid #169BD5;
  border-radius: 24px;
  background: #FFFFFF;
  color: #169BD5;
  box-shadow: 0 4px 12px rgba(22,155,213,.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: width .2s ease, background .2s ease, box-shadow .2s ease;
}
.expert-discussion-trigger:hover,
.expert-discussion-trigger:focus-visible {
  width: 126px;
  background: #ECF8FF;
  box-shadow: 0 5px 14px rgba(22,155,213,.28);
  outline: none;
}
.expert-discussion-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.expert-discussion-trigger-label {
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s ease, transform .2s ease;
}
.expert-discussion-trigger:hover .expert-discussion-trigger-label,
.expert-discussion-trigger:focus-visible .expert-discussion-trigger-label {
  opacity: 1;
  transform: translateX(0);
}
.expert-chat-panel {
  position: fixed;
  inset: 0;
  margin: auto;
  display: flex;
  flex-direction: column;
  width: min(720px, calc(100vw - 48px));
  height: min(560px, calc(100vh - 96px));
  overflow: hidden;
  border: 1px solid #BFE6FA;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 10px 28px rgba(0,70,118,.22);
}
.expert-chat-header {
  min-height: 52px;
  padding: 0 14px 0 16px;
  background: linear-gradient(90deg, #169BD5, #55C5FA);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.expert-chat-header b {
  display: block;
  font-size: 15px;
}
.expert-chat-header span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255,255,255,.8);
}
.expert-chat-close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #FFFFFF;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.expert-chat-close:hover,
.expert-chat-close:focus-visible {
  background: rgba(255,255,255,.3);
  outline: 1px solid #FFFFFF;
}
.expert-chat-participants {
  display: flex;
  gap: 8px;
  padding: 9px 14px;
  overflow-x: auto;
  border-bottom: 1px solid #E6F3FA;
  background: #F8FCFF;
}
.expert-chat-participant {
  min-width: 43px;
  color: #606266;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}
.expert-chat-participant-avatar {
  display: flex;
  width: 27px;
  height: 27px;
  margin: 0 auto 3px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #DDF3FF;
  color: #169BD5;
  font-weight: 700;
}
.expert-chat-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  background: #FFFFFF;
}
.expert-chat-empty {
  padding-top: 70px;
  color: #909399;
  font-size: 13px;
  text-align: center;
}
.expert-chat-message {
  margin-bottom: 12px;
}
.expert-chat-message-meta {
  margin-bottom: 4px;
  color: #606266;
  font-size: 12px;
}
.expert-chat-message-meta span {
  margin-left: 7px;
  color: #B0B4BB;
  font-size: 11px;
}
.expert-chat-message-bubble {
  display: inline-block;
  max-width: 82%;
  padding: 8px 10px;
  border-radius: 4px 12px 12px;
  background: #F1F5F8;
  color: #303133;
  font-size: 13px;
  line-height: 1.55;
  word-break: break-word;
}
.expert-chat-message.mine {
  text-align: right;
}
.expert-chat-message.mine .expert-chat-message-bubble {
  border-radius: 12px 4px 12px 12px;
  background: #DDF3FF;
  color: #075D8E;
  text-align: left;
}
.expert-chat-composer {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 10px 12px;
  border-top: 1px solid #E6EEF3;
  background: #FAFCFD;
}
.expert-chat-composer textarea {
  flex: 1;
  height: 42px;
  padding: 7px 9px;
  resize: none;
  border: 1px solid #C9DDE8;
  border-radius: 7px;
  color: #303133;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}
.expert-chat-composer textarea:focus {
  border-color: #169BD5;
  outline: none;
  box-shadow: 0 0 0 2px rgba(22,155,213,.12);
}
.expert-chat-send {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #169BD5;
  border-radius: 7px;
  background: #169BD5;
  color: #FFFFFF;
  font-size: 13px;
  cursor: pointer;
}
.expert-chat-send:hover,
.expert-chat-send:focus-visible {
  border-color: #1089C1;
  background: #1089C1;
  outline: none;
}

.tabs {
  display: flex;
  border-bottom: 1px solid #E6E6E6;
  margin-bottom: 16px;
  gap: 4px;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 16px;
  font-size: 13px;
  color: #606266;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.tab:hover { color: #62B4EF; }
.tab.active {
  color: #169BD5;
  border-bottom-color: #169BD5;
  font-weight: 700;
}

.hint-banner {
  background: #ECF5FF;
  border: 1px solid #D9ECFF;
  color: #169BD5;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 12px;
}
.hint-banner.warning { background: #FDF6EC; border-color: #FAECD8; color: #E6A23C; }
.hint-banner.danger  { background: #FEF0F0; border-color: #FDE2E2; color: #F56C6C; }
.hint-banner.success { background: #F0F9EB; border-color: #E1F3D8; color: #67C23A; }

.draw-machine {
  background: linear-gradient(180deg, #F0F8FF 0%, #E6F0FA 100%);
  border: 1px solid #B3DDF2;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}
.draw-slots {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}
.draw-slot {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px dashed #B3DDF2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #999;
  font-weight: 700;
  transition: all 0.4s;
}
.draw-slot.filled {
  background: #62B4EF;
  color: #FFFFFF;
  border-style: solid;
  border-color: #4FA6E4;
  box-shadow: 0 0 12px rgba(98,180,239,.6);
}
.draw-slot.rolling {
  background: #ECF5FF;
  color: #169BD5;
  border-style: solid;
  border-color: #62B4EF;
  animation: roll 0.1s linear infinite;
}

/* 抽取进入评审：列表区域随页面可用高度伸缩，操作统一置于各框右上角 */
.draw-entry-page {
  height: calc(100vh - 96px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.draw-summary-frame {
  flex: 0 0 auto;
  margin-bottom: 12px;
}
.draw-summary-actions {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
  margin-bottom: 8px;
}
.draw-summary-actions .draw-frame-actions {
  margin-left: 0;
}
.draw-summary-frame .draw-frame-heading {
  display: block;
  min-height: 0;
  margin-bottom: 0;
}
.draw-entry-grid {
  flex: 1 1 0;
  height: 0;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}
.draw-entry-grid > * { min-width: 0; min-height: 0; }
.draw-frame {
  min-width: 0;
  border: 1px solid #D9ECFF;
  border-radius: 6px;
  background: #FFFFFF;
  padding: 14px 16px;
}
.draw-frame-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 32px;
  margin-bottom: 12px;
}
.draw-frame-heading h3 {
  margin: 0;
  color: #303133;
  line-height: 32px;
}
.draw-frame-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}
.draw-status {
  min-height: 32px;
  color: #169BD5;
  line-height: 32px;
}
.draw-remaining-frame {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.draw-remaining-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.draw-remaining-list .table-wrap {
  height: 100%;
  overflow: auto;
}
.draw-entry-right-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  gap: 16px;
}
.draw-right-scroll {
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.draw-record-frame {
  flex: 0 0 auto;
  background: #F0F8FF;
  border-color: #B3DDF2;
}
.draw-record-hint {
  margin-bottom: 8px;
  color: #606266;
}
.draw-history-frame {
  display: flex;
  flex: 0 0 auto;
  min-height: auto;
  flex-direction: column;
  overflow: visible;
}
.draw-history-frame .table-wrap {
  height: auto;
  overflow-x: auto;
  overflow-y: visible;
}

.clause-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
}
.clause-toolbar .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@keyframes roll {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.countdown {
  font-size: 28px;
  font-weight: 700;
  color: #62B4EF;
  text-align: center;
  font-family: 'Courier New', monospace;
  padding: 16px;
  background: #F0F8FF;
  border-radius: 6px;
  margin: 12px 0;
}
.countdown.warning { color: #E6A23C; background: #FDF6EC; }
.countdown.danger  { color: #F56C6C; background: #FEF0F0; }

.mask-waiting {
  position: relative;
  min-height: 240px;
}
.mask-waiting::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.7);
  z-index: 10;
  border-radius: 6px;
}
.mask-waiting::after {
  content: attr(data-tip);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  font-size: 16px;
  color: #169BD5;
  font-weight: 700;
  background: #FFFFFF;
  padding: 12px 24px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.reviewer-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.reviewer-card {
  background: #FFFFFF;
  border: 1px solid #E6E6E6;
  border-radius: 6px;
  padding: 16px;
}
.reviewer-card .head {
  font-size: 15px;
  font-weight: 700;
  color: #303133;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid #E6E6E6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.reviewer-section-title {
  color: #303133;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.reviewer-section-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reviewer-list { display: flex; flex-direction: column; gap: 8px; }
.reviewer-item {
  padding: 12px;
  border: 1px solid #E6E6E6;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #169BD5;
}
.reviewer-item:hover {
  border-color: #62B4EF;
  background: #F0F8FF;
}
.reviewer-item-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.reviewer-item-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reviewer-item .name { font-size: 14px; color: #169BD5; font-weight: 700; }
.reviewer-item .meta { font-size: 12px; color: #169BD5; }

.score-input {
  width: 60px;
  height: 28px;
  text-align: center;
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  font-size: 13px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.center { text-align: center; }
.right  { text-align: right; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }

@media (max-width: 1280px) {
  .reviewer-panel { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

/* ============ 书本样式 (评标委员会负责人投票窗口) ============ */
.book-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 56px);
  margin: -20px;            /* 抵消 .main 的 padding */
  padding: 20px;
  box-sizing: border-box;
}

.book-card {
  position: relative;
  width: 100%;
  max-width: 670px;              /* +70px (600→670),书卡外框左右各 +35px,内文随之同步 +35px */
  background: #FFFFFF;
  border: 4px solid #62B4EF;
  border-radius: 8px;
  padding: 96px 110px 84px;      /* 上下 +35px (61→96 / 49→84),左右共 +70px (40→75→110) */
  box-shadow:
    0 12px 32px rgba(98, 180, 239, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
  font-size: 19px;            /* 再 +2 号: 17 -> 19 */
  font-weight: bold;          /* 整体加粗 */
}

.book-card .page-title {
  margin-top: 4px;
  border-bottom: 2px dashed #D9ECFF;
  padding-bottom: 12px;
}

.book-card .page-title h2 {
  font-size: 24px;            /* 再 +2 号: 22 -> 24 */
}

.book-card .hint-banner {
  font-size: 19px;            /* 再 +2 号: 17 -> 19 */
}

.book-card .radio {
  display: inline-flex;        /* 同一行排列 */
  align-items: center;
  gap: 6px;
  margin: 8px 40px 8px 0;     /* 选项之间留 40px 间距 */
  font-size: 19px;            /* 再 +2 号: 17 -> 19 */
  font-weight: bold;
  color: #606266;
  cursor: pointer;
}

.book-card .vote-options {
  text-align: center;          /* 让整行选项居中 */
  margin-top: 8px;
}

.book-card .btn {
  font-size: 19px;            /* 再 +2 号: 17 -> 19 */
  font-weight: bold;
}

.book-mark {
  position: absolute;
  top: -18px;
  right: 60px;
  width: 36px;
  height: 70px;
  background: linear-gradient(180deg, #F1C40F 0%, #F39C12 100%);
  border-radius: 4px 4px 0 0;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.book-mark::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 18px 0 18px;
  border-color: #F39C12 transparent transparent transparent;
}

/* 评标前准备 - 顶左/顶右状态条 */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #F5F7FA;
  border: 1px solid #E6E6E6;
  border-radius: 4px;
  margin-bottom: 12px;
  font-size: 13px;
}
.status-bar .left-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: #606266;
}
.status-bar .left-status .tag { margin-right: 2px; }
.status-bar .actions { display: flex; gap: 8px; flex-wrap: wrap; }


/* ============ 详细评审(资信业绩/投标报价/其他因素) ============ */
/* 总监答辩:居中按钮 + 背景图 */
.defense-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  min-height: max(480px, calc(100vh - 220px));
  padding: 24px 0;
  background: #FFFFFF;
  border-radius: 6px;
  box-sizing: border-box;
  width: 100%;
}
.defense-entry-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 360px;
  height: 140px;
  padding: 0 32px;
  border: none;
  border-radius: 8px;
  background-image: url('_snap/defense_entry.png'), linear-gradient(90deg, #62B4EF 0%, #169BD5 100%);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #62B4EF;
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 155, 213, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  outline: none;
}
.defense-entry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 155, 213, 0.45);
}
.defense-entry-btn:active { transform: translateY(0); }
.defense-entry-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.defense-entry-text {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* 详细评审 顶部:保存并提交 / 已提交 / 汇总评审结果 / 已汇总 */
.detail-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.detail-action-buttons { display: flex; gap: 8px; align-items: center; }

/* 详细评审 专家评审状态 */
.detail-status-panel {
  border: 1px solid #E4E7ED;
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 16px;
  background: #FAFCFF;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.detail-status-title {
  font-size: 13px;
  font-weight: 700;
  color: #169BD5;
  margin-right: 16px;
}
.detail-expert-status {
  display: inline-flex;
  align-items: center;
  margin-right: 16px;
  font-size: 12px;
  color: #606266;
}

/* 详细评审 两列布局 */
.detail-twocol {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
}
.detail-bidder-list {
  border: 1px solid #E4E7ED;
  border-radius: 4px;
  padding: 12px;
  background: #fff;
  max-height: 720px;
  overflow-y: auto;
}
.detail-bidder-list-title {
  font-size: 14px;
  font-weight: 700;
  color: #169BD5;
  margin-bottom: 10px;
}
.detail-bidder-card {
  border: 1px solid #E4E7ED;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 8px;
  transition: border-color 0.15s, background 0.15s;
}
.detail-bidder-card:hover { border-color: #62B4EF; background: #F0F8FF; }
.detail-bidder-card.active {
  border-color: #169BD5;
  background: #ECF5FF;
}

/* 详细评审 右侧 评分条款 */
.detail-clause-content { min-width: 0; }
.detail-clause-title {
  font-size: 14px;
  font-weight: 700;
  color: #169BD5;
  margin: 0 0 12px;
}
.detail-parent {
  border: 1px solid #E4E7ED;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 12px;
  padding: 12px 14px;
}
.detail-parent-title {
  font-size: 14px;
  font-weight: 700;
  color: #303133;
  margin-bottom: 8px;
}
.detail-children { display: flex; flex-direction: column; gap: 8px; }
.detail-clause-card {
  border: 1px solid #E4E7ED;
  border-radius: 4px;
  background: #FAFCFF;
  padding: 10px 12px;
  transition: background 0.15s;
}
.detail-clause-card.is-locked {
  background: #F5F7FA;
}
.detail-clause-name {
  font-size: 13px;
  line-height: 22px;
  color: #303133;
}
.detail-score-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.detail-score-input { width: 80px; }
.detail-score-input.is-disabled,
.detail-score-input:disabled {
  background: #ECEFF3;
  color: #909399;
  border-color: #DCDFE6;
  cursor: not-allowed;
}

@media (max-width: 1280px) {
  .detail-twocol { grid-template-columns: 240px minmax(0, 1fr); }
}

/* ============ 生成评标报告 ============ */
.report-mode-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 138px);
}
.report-mode-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0 48px;
}
.report-mode-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}
.report-mode-intro {
  margin-bottom: 28px;
  color: #000000;
  font-family: SimHei, "Microsoft YaHei", sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
.report-mode-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}
.report-mode-channel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #B9DDF7;
  border-radius: 8px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #303133;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.report-mode-channel::before {
  position: absolute;
  inset: 0;
  background: rgba(244, 251, 255, .5);
  content: "";
  transition: background .2s;
}
.report-mode-channel-system {
  background-image: url("assets/report-system-channel.svg");
}
.report-mode-channel-manual {
  background-image: url("assets/report-manual-channel.svg");
}
.report-mode-channel:hover {
  border-color: #169BD5;
  box-shadow: 0 6px 18px rgba(22, 155, 213, .16);
  transform: translateY(-2px);
}
.report-mode-channel:hover::before {
  background: rgba(244, 251, 255, .35);
}
.report-mode-channel:disabled {
  cursor: not-allowed;
  opacity: .6;
  box-shadow: none;
  transform: none;
}
.report-mode-channel-title {
  position: relative;
  z-index: 1;
  color: #1676B8;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.rich-report-editor {
  overflow: hidden;
  border: 1px solid #DCDFE6;
  border-radius: 6px;
  background: #FFFFFF;
}
.rich-report-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  flex-wrap: wrap;
  padding: 8px 14px;
  border-bottom: 1px solid #E6E6E6;
  background: #F5F7FA;
  color: #303133;
  font-size: 13px;
}
.rich-report-editor-toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding-right: 8px;
  border-right: 1px solid #DCDFE6;
}
.rich-report-editor-toolbar-group:last-child {
  padding-right: 0;
  border-right: 0;
}
.rich-report-editor-field {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #606266;
  white-space: nowrap;
}
.rich-report-editor-field select {
  height: 28px;
  padding: 0 6px;
  border: 1px solid #DCDFE6;
  border-radius: 3px;
  background: #FFFFFF;
  color: #303133;
}
.rich-report-editor-button {
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border: 1px solid #DCDFE6;
  border-radius: 3px;
  background: #FFFFFF;
  color: #303133;
  cursor: pointer;
}
.rich-report-editor-button-wide {
  min-width: auto;
}
.rich-report-editor-button:hover:not(:disabled) {
  border-color: #169BD5;
  color: #169BD5;
}
.rich-report-editor-button:disabled,
.rich-report-editor-field select:disabled {
  cursor: not-allowed;
  color: #C0C4CC;
}
.rich-report-editor-divider {
  width: 1px;
  height: 22px;
  background: #DCDFE6;
}
.report-editor-image-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.rich-report-editor-page {
  margin: 16px auto;
  width: min(860px, 100%);
  min-height: 760px;
  padding: 38px 54px;
  background: #FFFFFF;
  box-shadow: 0 1px 5px rgba(0, 21, 41, .14);
}
.rich-report-editor-region {
  color: #606266;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 12px;
}
.rich-report-editor-region-label {
  margin-bottom: 6px;
  color: #909399;
  font-size: 11px;
}
.rich-report-editor-header,
.rich-report-editor-footer {
  min-height: 30px;
  padding: 6px 0;
  outline: none;
}
.rich-report-editor-header {
  margin-bottom: 22px;
  border-bottom: 1px dashed #DCE9F1;
}
.rich-report-editor-footer {
  margin-top: 28px;
  border-top: 1px dashed #DCE9F1;
}
.rich-report-editor-header[contenteditable="true"]:focus,
.rich-report-editor-footer[contenteditable="true"]:focus {
  box-shadow: inset 0 0 0 2px rgba(98, 180, 239, .28);
}
.rich-report-editor-body {
  min-height: 480px;
  padding: 6px 0;
  color: #303133;
  font-family: SimSun, serif;
  font-size: 15px;
  line-height: 2;
  outline: none;
}
.rich-report-editor-body[contenteditable="true"]:focus {
  box-shadow: inset 0 0 0 2px rgba(98, 180, 239, .28);
}
.rich-report-editor-body .report-editor-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
}
.rich-report-editor-body .report-editor-table {
  width: 100%;
  margin: 12px 0;
  border-collapse: collapse;
}
.rich-report-editor-body .report-editor-table th,
.rich-report-editor-body .report-editor-table td {
  min-width: 74px;
  padding: 6px 8px;
  border: 1px solid #909399;
}
.rich-report-editor-body .report-editor-table th {
  background: #F5F7FA;
  font-weight: 700;
}
.rich-report-editor-body .report-page-break {
  display: block;
  height: 0;
  margin: 24px 0;
  border: 0;
  border-top: 2px dashed #62B4EF;
}
.report-upload-section {
  margin-top: 20px;
}
.report-upload-section-title {
  margin: 0 0 8px;
  color: #1676B8;
  font-size: 14px;
  font-weight: 700;
}
.report-manual-reason-label {
  display: block;
  margin: 0 0 8px;
  color: #1676B8;
  font-size: 14px;
  font-weight: 700;
}
.report-manual-reason-field {
  margin-bottom: 14px;
}
.report-manual-reason-field .control {
  width: 100%;
}
.report-required-mark {
  margin-right: 4px;
  color: #F56C6C;
}
.report-manual-reason {
  min-height: 116px;
  resize: vertical;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.report-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.report-signature-layout {
  margin-bottom: 12px;
}
.report-signature-status-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 12px;
  border: 1px solid #E4E7ED;
  border-radius: 4px;
  background: #FAFCFF;
}
.report-signature-status-title {
  margin-right: 16px;
  color: #169BD5;
  font-size: 13px;
  font-weight: 700;
}
.report-signature-expert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
  color: #606266;
  font-size: 12px;
}
.report-pdf-preview {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 230px);
  overflow: hidden;
  border: 1px solid #DCE9F1;
  border-radius: 6px;
  background: #F5F7FA;
}
.report-pdf-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #DCE9F1;
  background: #FFFFFF;
  color: #303133;
  font-size: 13px;
}
.report-pdf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 20px;
  margin-right: 8px;
  border-radius: 3px;
  background: #F56C6C;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
}
.report-pdf-document {
  min-height: calc(100vh - 304px);
  margin: 18px auto;
  padding: 30px 42px;
  width: min(780px, calc(100% - 36px));
  background: #FFFFFF;
  box-shadow: 0 1px 5px rgba(0, 21, 41, .14);
  color: #303133;
  font-family: SimSun, serif;
  font-size: 14px;
  line-height: 2;
}
.report-pdf-pages {
  width: 100%;
}
.report-pdf-document-page {
  position: relative;
  min-height: calc(100vh - 304px);
}
.report-document-header,
.report-document-footer {
  min-height: 24px;
  color: #606266;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}
.report-document-header {
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #DCE9F1;
}
.report-document-footer {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid #DCE9F1;
}
.report-document-body {
  min-height: calc(100vh - 440px);
}
.report-pdf-document-page + .report-pdf-document-page {
  margin-top: 26px;
}
.report-pdf-document-page .report-editor-table {
  width: 100%;
  border-collapse: collapse;
}
.report-pdf-document-page .report-editor-table th,
.report-pdf-document-page .report-editor-table td {
  padding: 6px 8px;
  border: 1px solid #909399;
}
.report-pdf-document-page .report-editor-table th {
  background: #F5F7FA;
}
.report-pdf-document-page .report-editor-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
}
.report-pdf-frame {
  display: block;
  flex: 1;
  width: 100%;
  min-height: calc(100vh - 304px);
  border: 0;
  background: #FFFFFF;
}
.report-pdf-document h2 {
  font-size: 20px;
}

@media (max-width: 900px) {
  .report-mode-channels {
    grid-template-columns: 1fr;
  }
  .report-mode-page {
    min-height: auto;
  }
  .report-mode-content {
    padding: 36px 0;
  }
  .rich-report-editor-body {
    padding: 6px 0;
  }
  .rich-report-editor-toolbar {
    gap: 8px;
  }
  .rich-report-editor-page {
    min-height: 620px;
    margin: 12px;
    width: auto;
    padding: 24px;
  }
  .rich-report-editor-toolbar-group {
    padding-right: 6px;
  }
  .report-pdf-preview {
    min-height: calc(100vh - 190px);
  }
  .report-pdf-document {
    min-height: calc(100vh - 264px);
    width: calc(100% - 24px);
    padding: 24px;
  }
  .report-pdf-frame {
    min-height: calc(100vh - 264px);
  }
  .report-pdf-document-page {
    min-height: calc(100vh - 264px);
  }
  .report-document-body {
    min-height: calc(100vh - 400px);
  }
}
