* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  background: #f7f5f1;
  color: #2c231d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
}

body {
  overflow-y: auto;
}

[v-cloak] {
  display: none;
}

.app-header {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 18px 32px;
  color: #ffffff;
  background: #3d2310;
  background: linear-gradient(115deg, #3d2310 0%, #683d18 55%, #8c5222 100%);
  box-shadow: 0 3px 14px rgba(45, 25, 10, 0.25);
}

.brand-mark {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-copy {
  min-width: 0;
}

.brand-copy h1 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}

.brand-copy p {
  margin: 0;
  color: #f3e4d5;
  font-size: 13px;
}

.header-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 12px;
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.github-link:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.github-link .github-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.donate-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  outline: none;
}

.donate-link:hover {
  background: rgba(7, 193, 96, 0.22);
  border-color: rgba(7, 193, 96, 0.85);
  color: #a8f5c8;
}

.donate-link .wechat-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.wechat-donate-popover {
  padding: 12px !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
}

.donate-popover-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.donate-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.donate-image-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid #ebeef5;
}

.donate-qr-img {
  width: 100%;
  max-width: 236px;
  height: auto;
  border-radius: 4px;
  cursor: zoom-in;
  display: block;
}

.donate-desc-text {
  margin-top: 8px;
  font-size: 11px;
  color: #8c939d;
  line-height: 1.4;
}

.version-tag {
  border-color: rgba(255, 255, 255, 0.42) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.custom-opt-panel {
  margin: 8px 0 10px;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.lang-dropdown {
  cursor: pointer;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  user-select: none;
  transition: all 0.2s ease;
}

.lang-trigger:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.75);
}

.lang-trigger .lang-icon {
  font-size: 14px;
}

.lang-dropdown-menu .is-active-lang {
  color: #9e602b !important;
  font-weight: 600;
  background-color: #fcf6ee;
}

.update-badge { margin-left: 4px; cursor: pointer; }
.update-icon { color: #ffd166; font-size: 22px; }
.update-popover .update-title { color: #683d18; font-size: 16px; font-weight: 600; }
.update-date { margin-top: 5px; color: #8492a6; font-size: 12px; }
.update-list { margin: 10px 0 14px; padding-left: 18px; color: #475569; line-height: 1.7; }

.workspace {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 26px 34px;
}

.workspace > .el-alert {
  margin-bottom: 14px;
}

.section-card {
  margin-bottom: 16px;
  border: 1px solid #dce5ee;
  border-radius: 10px;
  background: #ffffff;
}

.section-card .el-card__header {
  padding: 14px 18px;
  border-bottom-color: #e7edf3;
}

.section-card .el-card__body {
  padding: 18px;
}

.card-heading {
  display: flex;
  align-items: center;
  color: #26384d;
  font-size: 15px;
  font-weight: 600;
}

.card-heading-switch {
  justify-content: space-between;
}

.heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  margin-right: 9px;
  border-radius: 8px;
  color: #8c5222;
  background: #f7ede2;
  vertical-align: middle;
}

.heading-icon.cyan {
  color: #0f8794;
  background: #e4f7f8;
}

.heading-icon.amber {
  color: #b37313;
  background: #fff2dc;
}

.heading-icon.violet {
  color: #7659b8;
  background: #f0ebfd;
}

.directory-row {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 13px;
}

.directory-row > label {
  flex: 0 0 76px;
  color: #526275;
  font-size: 14px;
}

.directory-row .el-input {
  min-width: 0;
  margin-right: 10px;
}

.directory-row .el-button {
  flex: 0 0 auto;
}

.directory-option {
  display: flex;
  align-items: center;
  margin-left: 76px;
  color: #8995a4;
  font-size: 12px;
}

.directory-option .el-checkbox {
  margin-right: 12px;
}

.option-grid {
  display: flex;
  align-items: stretch;
  margin: 0 -8px;
}

.option-grid > .section-card {
  flex: 1 1 0;
  min-width: 0;
  margin-right: 8px;
  margin-left: 8px;
}

.option-body {
  min-height: 138px;
}

.setting-row {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 9px;
}

.setting-row-top {
  align-items: flex-start;
}

.setting-label {
  flex: 0 0 100px;
  padding-top: 7px;
  color: #526275;
  font-size: 13px;
}

.compact-row .el-input-number,
.setting-row > .el-input-number {
  width: 132px;
}

.unit {
  margin-left: 8px;
  color: #718095;
}

.reading-order .el-radio {
  margin-right: 18px;
}

.setting-tip {
  margin: 14px 0 0 100px;
  color: #8a97a7;
  font-size: 12px;
  line-height: 1.6;
}

.wolf-preset-select {
  width: 270px;
  max-width: 100%;
}

.wolf-params-row {
  align-items: flex-start;
  margin-top: 6px;
}

.wolf-params-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.wolf-sublabel {
  font-size: 13px;
  color: #526275;
  white-space: nowrap;
}

.wolf-input.el-input-number--small {
  width: 126px !important;
}

.wolf-input.el-input-number--small .el-input__inner {
  padding-left: 28px !important;
  padding-right: 28px !important;
  text-align: center;
}

.disabled-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 138px;
  border: 1px dashed #dce4ec;
  border-radius: 8px;
  color: #9aa6b4;
  background: #f8fafc;
}

.disabled-panel i {
  margin-right: 8px;
  font-size: 22px;
}

.execution-options {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.inline-setting {
  display: flex;
  align-items: center;
  margin-right: 34px;
  color: #526275;
  font-size: 13px;
}

.inline-setting .el-input-number {
  width: 126px;
  margin-left: 12px;
}

.progress-panel {
  padding: 15px 17px;
  border: 1px solid #e2e9f0;
  border-radius: 8px;
  background: #f8fafc;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #5b6b7f;
  font-size: 13px;
}

.progress-meta strong {
  color: #9e602b;
  font-weight: 600;
}

.status-line {
  display: flex;
  align-items: flex-start;
  min-height: 20px;
  margin-top: 11px;
  color: #738196;
  font-size: 12px;
  line-height: 1.55;
  word-break: break-all;
}

.status-line.active {
  color: #683d18;
}

.status-line i {
  flex: 0 0 auto;
  margin: 3px 7px 0 0;
}

.action-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-top: 18px;
}

.action-row .el-button {
  flex: 0 0 auto;
  min-width: 104px;
}

@media (max-width: 880px) {
  .app-header {
    padding-right: 20px;
    padding-left: 20px;
  }

  .workspace {
    padding-right: 16px;
    padding-left: 16px;
  }

  .option-grid {
    display: flex;
    flex-direction: column;
    margin: 0;
    gap: 14px;
  }

  .option-grid > .section-card {
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .app-header {
    min-height: auto;
    padding: 12px 16px;
  }

  .brand-mark {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    font-size: 20px;
    margin-right: 10px;
    border-radius: 9px;
  }

  .brand-copy h1 {
    font-size: 17px;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
  }

  .brand-copy p {
    font-size: 11px;
    opacity: 0.9;
  }

  .workspace {
    padding: 12px 10px 24px;
  }

  .section-card {
    margin-bottom: 12px;
    border-radius: 8px;
  }

  .section-card .el-card__header {
    padding: 12px 14px;
  }

  .section-card .el-card__body {
    padding: 14px;
  }

  /* 模式切换在手机端自适应撑满 */
  .mode-switch-wrapper {
    width: 100%;
    margin-bottom: 12px;
  }

  .mode-radio-group {
    display: flex;
    width: 100%;
  }

  .mode-radio-group .el-radio-button {
    flex: 1;
    display: flex;
  }

  .mode-radio-group .el-radio-button__inner {
    width: 100%;
    padding: 10px 6px;
    font-size: 13px;
    text-align: center;
  }

  /* 输入目录行：标签在上，输入框与按钮在同一排并排 */
  .directory-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
  }

  .directory-row > label {
    flex: 0 0 100%;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 2px;
  }

  .directory-row .el-input {
    flex: 1 1 0%;
    min-width: 0;
    margin-right: 8px;
  }

  .directory-row .el-button {
    flex: 0 0 auto;
    padding: 10px 14px;
  }

  .directory-row .el-tag {
    margin-left: 0 !important;
    margin-top: 4px;
  }

  .directory-option {
    display: block;
    margin-left: 0;
    margin-top: 6px;
  }

  .directory-option > span {
    display: block;
    margin-top: 4px;
  }

  /* 执行选项在手机端纵向排列并加大触摸区域 */
  .execution-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .inline-setting {
    margin: 0;
  }

  .execution-options .el-checkbox {
    margin-left: 0 !important;
  }

  .execution-options .el-tag {
    margin-left: 0 !important;
  }

  /* 分页线框预览在手机端纵向排列防拥挤 */
  .wireframe-visual-panel {
    flex-direction: column;
    gap: 10px;
  }

  .wireframe-visual-panel .wireframe-item {
    flex: 0 0 auto;
    width: 100%;
  }

  .setting-row {
    flex-wrap: wrap;
    min-height: auto;
    margin-bottom: 12px;
  }

  .setting-label {
    flex: 0 0 100%;
    padding-top: 0;
    margin-bottom: 6px;
    font-weight: 500;
  }

  .setting-tip {
    margin-left: 0;
    margin-top: 6px;
  }

  /* --- 手机端底部按钮换成两排！ --- */
  .action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 14px;
  }

  .action-row .el-button {
    margin: 0 !important;
    width: 100%;
    min-height: 42px;
    font-size: 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* 第一排：取消任务 (左) + 暂停/继续 (右) */
  .btn-cancel-action {
    grid-column: 1 / 2;
    order: 1;
  }

  .btn-pause-action {
    grid-column: 2 / 3;
    order: 2;
  }

  /* 第二排：开始处理按钮 (独占整行) */
  .btn-start-action {
    grid-column: 1 / -1;
    order: 3;
    min-height: 46px;
    font-size: 16px;
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .setting-row {
    flex-wrap: wrap;
    min-height: auto;
    margin-bottom: 12px;
  }

  .setting-label {
    flex: 0 0 100%;
    padding-top: 0;
    margin-bottom: 6px;
    font-weight: 500;
  }

  .setting-tip {
    margin-left: 0;
    margin-top: 6px;
  }
}

.mode-switch-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mode-tip-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 3px 12px;
  line-height: 1.4;
}

.mode-radio-group .el-radio-button__inner {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-color: #cbd5e1;
}

.mode-radio-group .el-radio-button__inner i {
  margin-right: 6px;
  font-size: 15px;
}

.pdf-hint {
  color: #9e602b;
  line-height: 1.6;
}

.pdf-hint i {
  margin-right: 4px;
  font-size: 14px;
}

.pdf-warning-hint {
  color: #d97706;
  line-height: 1.5;
  font-size: 12px;
}

.pdf-warning-hint i {
  margin-right: 4px;
}

/* --- 分页处理线框视觉展示区 --- */
.wireframe-visual-panel {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.wireframe-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wireframe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.wireframe-title {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

.wireframe-badge {
  font-size: 11px;
  color: #8c5222;
  font-family: Consolas, Monaco, "Courier New", monospace;
  background: #f5ede4;
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.3;
}

.wireframe-stage {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px;
  position: relative;
  overflow: hidden;
}

.wireframe-single-box {
  height: 46px;
  border: 1.5px solid #9e602b;
  border-radius: 4px;
  background: #faf4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(158, 96, 43, 0.12);
}

.wireframe-box-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: #0369a1;
  white-space: nowrap;
  line-height: 1.2;
}

.wireframe-box-inner i {
  font-size: 12px;
  margin-bottom: 2px;
}

.wireframe-spread-box {
  width: 100%;
  max-width: 176px;
  height: 46px;
  border: 1.5px solid #475569;
  border-radius: 4px;
  background: #ffffff;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wireframe-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #475569;
  background: #f8fafc;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

.wireframe-page.is-page-a {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 500;
}

.page-tag {
  font-size: 10px;
  transform: scale(0.9);
  line-height: 1.1;
}

.page-pct {
  font-size: 9px;
  color: #94a3b8;
  font-family: Consolas, Monaco, "Courier New", monospace;
  margin-top: 1px;
}

.wireframe-page.is-page-a .page-pct {
  color: #3b82f6;
}

.wireframe-page-overlap {
  background: repeating-linear-gradient(
    45deg,
    #fef3c7,
    #fef3c7 6px,
    #fde68a 6px,
    #fde68a 12px
  );
  border-left: 1px dashed #f59e0b;
  border-right: 1px dashed #f59e0b;
  color: #b45309;
  z-index: 1;
}

.wireframe-page-overlap .overlap-tag {
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.1;
  color: #b45309;
}

.wireframe-page-overlap .overlap-pct {
  font-size: 8px;
  opacity: 0.9;
  font-family: Consolas, Monaco, "Courier New", monospace;
  color: #b45309;
}

.wireframe-page-gap {
  background: #f1f5f9;
  border-left: 1px dashed #cbd5e1;
  border-right: 1px dashed #cbd5e1;
  color: #94a3b8;
}

.wireframe-page-gap .gap-tag {
  font-size: 9px;
  white-space: nowrap;
  line-height: 1.1;
}

.wireframe-page-gap .gap-pct {
  font-size: 8px;
  font-family: Consolas, Monaco, "Courier New", monospace;
}

.wireframe-cut-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 2px dashed #ef4444;
  z-index: 2;
  transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scissor-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: #ef4444;
  font-size: 11px;
  padding: 2px;
  border-radius: 50%;
  border: 1px solid #fca5a5;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wireframe-caption {
  margin-top: 5px;
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.3;
  text-align: center;
}

/* 最终任务报告弹窗样式 */
.result-dialog {
  max-width: 680px !important;
  width: 90% !important;
}

.result-dialog .el-message-box__message {
  white-space: pre-wrap;
  font-family: Consolas, Monaco, "Courier New", "Microsoft YaHei", monospace;
  font-size: 13px;
  line-height: 1.6;
  max-height: 65vh;
  overflow-y: auto;
  color: #1e293b;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* 拖拽提示遮罩层 */
.drag-drop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 25, 10, 0.82);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.drag-drop-box {
  background: #ffffff;
  border: 3px dashed #9e602b;
  border-radius: 16px;
  padding: 36px 52px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.drag-drop-box i {
  font-size: 52px;
  color: #9e602b;
  margin-bottom: 12px;
}

.drag-drop-title {
  font-size: 19px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 6px;
}

.drag-drop-subtitle {
  font-size: 13px;
  color: #64748b;
}

/* --- 页脚与 Web 版优势区样式 --- */
.app-footer {
  width: 100%;
  padding: 18px 24px 28px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.6px;
  user-select: none;
}

/* --- Result Dialog & Enlarged Output Notice --- */
.el-message-box.result-dialog {
  width: 620px;
  max-width: 94vw;
  border-radius: 12px;
  padding-bottom: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
}

.el-message-box.result-dialog .el-message-box__title {
  font-weight: 700;
  font-size: 17px;
  color: #0f172a;
}

.el-message-box.result-dialog .el-message-box__content {
  padding: 8px 20px 14px;
}

.result-dialog-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-saved-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 2px 4px rgba(22, 101, 52, 0.06);
}

.result-saved-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.result-saved-icon {
  font-size: 18px;
  color: #16a34a;
}

.result-saved-title {
  font-size: 15px;
  font-weight: 700;
  color: #15803d;
}

.result-saved-box {
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.result-saved-label {
  font-size: 14px;
  font-weight: 700;
  color: #166534;
  letter-spacing: 0.5px;
}

.result-saved-path {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  word-break: break-all;
  user-select: text;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px dashed #94a3b8;
  font-family: Consolas, Monaco, "Courier New", monospace;
  line-height: 1.45;
}

.result-report-body {
  max-height: 240px;
  overflow-y: auto;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #334155;
  font-family: Consolas, Monaco, "Courier New", monospace;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

@media (max-width: 640px) {
  .el-message-box.result-dialog {
    width: 95vw;
    padding-bottom: 12px;
  }
  .el-message-box.result-dialog .el-message-box__content {
    padding: 6px 12px 10px;
  }
  .result-saved-path {
    font-size: 14px;
    padding: 6px 8px;
  }
}

/* ==========================================================================
   漢籍合璧古籍暖调主题配色系统 (Hanji Antique Ochre Theme)
   ========================================================================== */

/* 主色调按钮 (Primary Button) */
.el-button--primary {
  color: #ffffff !important;
  background-color: #9e602b !important;
  border-color: #9e602b !important;
}

.el-button--primary:hover,
.el-button--primary:focus {
  background-color: #b57339 !important;
  border-color: #b57339 !important;
  color: #ffffff !important;
}

.el-button--primary:active {
  background-color: #844c1d !important;
  border-color: #844c1d !important;
  color: #ffffff !important;
}

.el-button--primary.is-disabled,
.el-button--primary.is-disabled:hover,
.el-button--primary.is-disabled:focus,
.el-button--primary.is-disabled:active {
  background-color: #d8c2ad !important;
  border-color: #d8c2ad !important;
  color: #ffffff !important;
}

/* 单选按钮组 (Radio Button Group) */
.el-radio-button__orig-radio:checked + .el-radio-button__inner {
  background-color: #9e602b !important;
  border-color: #9e602b !important;
  box-shadow: -1px 0 0 0 #9e602b !important;
  color: #ffffff !important;
}

.el-radio-button__inner:hover {
  color: #9e602b !important;
}

/* 原生样式单选框 (Radio) */
.el-radio__input.is-checked .el-radio__inner {
  border-color: #9e602b !important;
  background-color: #9e602b !important;
}

.el-radio__input.is-checked + .el-radio__label {
  color: #9e602b !important;
}

.el-radio__inner:hover {
  border-color: #9e602b !important;
}

/* 复选框 (Checkbox) */
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #9e602b !important;
  border-color: #9e602b !important;
}

.el-checkbox__input.is-checked + .el-checkbox__label {
  color: #9e602b !important;
}

.el-checkbox__inner:hover {
  border-color: #9e602b !important;
}

/* 开关 (Switch) */
.el-switch.is-checked .el-switch__core {
  border-color: #9e602b !important;
  background-color: #9e602b !important;
}

/* 滑块 (Slider) */
.el-slider__bar {
  background-color: #9e602b !important;
}

.el-slider__button {
  border-color: #9e602b !important;
}

/* 进度条 (Progress) */
.el-progress-bar__inner {
  background-color: #9e602b !important;
}

/* 输入框聚焦 (Input Focus) */
.el-input.is-active .el-input__inner,
.el-input__inner:focus {
  border-color: #9e602b !important;
}

.el-input-number__decrease:hover,
.el-input-number__increase:hover {
  color: #9e602b !important;
}

.el-input-number__decrease:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled),
.el-input-number__increase:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled) {
  border-color: #9e602b !important;
}

/* 链接 (Link) */
.el-link.el-link--primary {
  color: #9e602b !important;
}

.el-link.el-link--primary:hover {
  color: #b57339 !important;
}



