  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: #f0f2f5;
    color: #1f2937;
    min-height: 100vh;
    padding: 32px 0;
  }
  .container {
    max-width: 880px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  }
  .header {
    padding: 24px 36px;
    border-bottom: 2px solid #1e40af;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1e3a5f;
    letter-spacing: 1px;
  }
  .header p {
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
  }
  .api-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 3px;
    background: #fef3c7;
    color: #92400e;
  }
  .api-status.connected { background: #d1fae5; color: #065f46; }
  .api-status.error { background: #fee2e2; color: #991b1b; }

  .section {
    padding: 24px 36px;
    border-bottom: 1px solid #e5e7eb;
  }
  .section:last-child { border-bottom: none; }
  .section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 16px;
    padding-left: 10px;
    border-left: 3px solid #1e40af;
  }
  /* 套餐说明 */
  .package-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 4px;
    padding: 14px 18px;
    font-size: 13.5px;
    line-height: 1.8;
    color: #1e40af;
  }
  .package-box .price { font-weight: 700; font-size: 14px; }
  .package-box .warning { color: #b45309; margin-top: 4px; }

  /* 整合输入区 */
  .input-combined {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .input-combined:focus-within {
    border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30,64,175,0.1);
  }
  .input-combined.dragover {
    border-color: #1e40af;
    background: #eff6ff;
  }
  .paste-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px;
    color: #6b7280;
  }
  .paste-toolbar .clear-btn {
    background: none; border: none; color: #ef4444;
    cursor: pointer; font-size: 12px;
  }
  .paste-toolbar .clear-btn:hover { text-decoration: underline; }
  .paste-textarea {
    width: 100%; min-height: 200px; padding: 14px;
    border: none; outline: none; resize: vertical;
    font-size: 13.5px; line-height: 1.7; color: #1f2937;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  }
  .paste-textarea::placeholder { color: #9ca3af; }
  .attachment-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px; background: #f9fafb;
    border-top: 1px solid #e5e7eb; cursor: pointer;
  }
  .attachment-bar:hover { background: #f3f4f6; }
  .attachment-left {
    display: flex; align-items: center; font-size: 13px;
  }
  .attachment-icon { font-size: 16px; margin-right: 8px; }
  .attachment-count { color: #374151; font-weight: 600; }
  .attachment-count.has-files { color: #1e40af; }
  .attachment-right { display: flex; align-items: center; gap: 12px; }
  .upload-link {
    color: #1e40af; font-weight: 600; cursor: pointer;
    text-decoration: underline; font-size: 13px;
  }
  .upload-link:hover { color: #1e3a8a; }
  .attachment-hint { font-size: 12px; color: #9ca3af; }
  #fileInput { display: none; }
  .file-chips {
    padding: 10px 14px; border-top: 1px solid #e5e7eb;
    background: #fff; display: flex; flex-wrap: wrap; gap: 8px;
  }
  .file-chips:empty { display: none; }
  .file-chip {
    display: inline-flex; align-items: center;
    padding: 5px 10px; background: #eff6ff;
    border: 1px solid #bfdbfe; border-radius: 4px;
    font-size: 12.5px; color: #1e40af; max-width: 100%;
  }
  .file-chip .chip-name {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    max-width: 280px; margin-right: 6px;
  }
  .file-chip .chip-size { color: #6b7280; font-size: 11px; margin-right: 6px; flex-shrink: 0; }
  .file-chip .chip-remove {
    color: #ef4444; cursor: pointer; font-size: 14px; line-height: 1;
    background: none; border: none; padding: 0 2px; flex-shrink: 0;
  }
  .file-chip .chip-remove:hover { color: #b91c1c; }

  /* 项目信息确认面板 */
  .info-panel {
    display: none;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: #f8fafc;
    overflow: hidden;
  }
  .info-panel.show { display: block; }
  .info-panel-header {
    padding: 12px 18px;
    background: #eff6ff;
    border-bottom: 1px solid #bfdbfe;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .info-panel-header span {
    font-size: 14px; font-weight: 700; color: #1e40af;
  }
  .info-panel-header .tip {
    font-size: 12px; color: #6b7280; font-weight: normal;
  }
  .info-grid {
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .info-field { display: flex; flex-direction: column; }
  .info-field.full { grid-column: 1 / -1; }
  .info-field label {
    font-size: 12.5px; font-weight: 600; color: #374151;
    margin-bottom: 6px;
  }
  .info-field textarea {
    width: 100%; padding: 8px 10px;
    border: 1px solid #d1d5db; border-radius: 4px;
    font-size: 13px; line-height: 1.6; color: #1f2937;
    font-family: "Microsoft YaHei", sans-serif;
    resize: vertical; outline: none;
  }
  .info-field textarea:focus { border-color: #1e40af; }
  .info-field textarea.short { min-height: 50px; }
  .info-field textarea.tall { min-height: 80px; }

  /* 免责协议 */
  .agreement-box {
    background: #fffbeb; border: 1px solid #fde68a;
    border-radius: 4px; padding: 16px 18px;
  }
  .agreement-text {
    font-size: 12.5px; line-height: 1.9; color: #78350f; margin-bottom: 12px;
  }
  .agreement-check {
    display: flex; align-items: center; font-size: 13px; color: #374151; cursor: pointer;
  }
  .agreement-check input[type="checkbox"] {
    width: 16px; height: 16px; margin-right: 8px;
    cursor: pointer; accent-color: #1e40af;
  }

  /* 目标页数输入 */
  .pages-input-wrap {
    display: flex; align-items: center; gap: 12px;
  }
  .pages-input {
    width: 100px; padding: 8px 12px;
    font-size: 14px; border: 1px solid #d1d5db;
    border-radius: 4px; text-align: center;
  }
  .pages-input:focus {
    outline: none; border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30,64,175,0.1);
  }
  .pages-tip {
    font-size: 12.5px; color: #6b7280;
  }

  /* 提交按钮区 */
  .submit-area {
    padding: 20px 36px 28px; text-align: center;
  }
  .submit-btn {
    padding: 12px 56px; font-size: 15px; font-weight: 600;
    color: #fff; background: #1e40af; border: none;
    border-radius: 4px; cursor: pointer; letter-spacing: 2px;
  }
  .submit-btn:hover:not(:disabled) { background: #1e3a8a; }
  .submit-btn:disabled { background: #9ca3af; cursor: not-allowed; }
  .submit-btn.confirm-mode { background: #059669; }
  .submit-btn.confirm-mode:hover:not(:disabled) { background: #047857; }
  .submit-hint {
    font-size: 12px; color: #9ca3af; margin-top: 10px;
  }

  /* 结果展示区 */
  .result-panel {
    display: none;
    border: 1px solid #d1d5db; border-radius: 6px;
    background: #fff; overflow: hidden;
  }
  .result-panel.show { display: block; }
  .result-header {
    padding: 12px 18px; background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    display: flex; justify-content: space-between; align-items: center;
  }
  .result-header span { font-size: 14px; font-weight: 700; color: #1e3a5f; }
  .result-actions { display: flex; gap: 10px; }
  .result-actions button {
    padding: 5px 14px; font-size: 12px; border: 1px solid #d1d5db;
    background: #fff; border-radius: 4px; cursor: pointer; color: #374151;
  }
  .result-actions button:hover { background: #f3f4f6; border-color: #1e40af; color: #1e40af; }
  .result-stats {
    display: flex; gap: 24px; padding: 10px 18px;
    background: #f8fafc; border-bottom: 1px solid #e5e7eb;
    font-size: 12.5px; color: #6b7280;
  }
  .result-stats .stat-item b { color: #1e40af; font-weight: 700; }
  .result-content {
    padding: 18px; max-height: 500px; overflow-y: auto;
    font-size: 13.5px; line-height: 1.8; color: #1f2937;
    white-space: pre-wrap; word-break: break-word;
  }

  /* 进度弹窗 */
  .modal-overlay {
    display: none; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45); z-index: 999;
    justify-content: center; align-items: center;
  }
  .modal-overlay.show { display: flex; }
  .modal-box {
    background: #fff; border-radius: 6px; width: 520px;
    padding: 32px 36px; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
  .modal-icon { font-size: 36px; text-align: center; margin-bottom: 12px; }
  .modal-title {
    font-size: 16px; font-weight: 700; color: #1e3a5f;
    text-align: center; margin-bottom: 20px;
  }
  .progress-wrap { margin-bottom: 16px; }
  .progress-bar-bg {
    width: 100%; height: 10px; background: #e5e7eb;
    border-radius: 5px; overflow: hidden;
  }
  .progress-bar-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 5px; transition: width 0.5s ease;
  }
  .progress-percent {
    text-align: right; font-size: 12px; color: #6b7280; margin-top: 6px;
  }
  .status-list { margin-top: 8px; }
  .status-item {
    display: flex; align-items: center; padding: 7px 0;
    font-size: 13px; color: #9ca3af;
  }
  .status-item .status-dot {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid #d1d5db; margin-right: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; flex-shrink: 0; background: #fff;
  }
  .status-item.active { color: #1e40af; font-weight: 600; }
  .status-item.active .status-dot { border-color: #1e40af; background: #eff6ff; }
  .status-item.done { color: #059669; }
  .status-item.done .status-dot { border-color: #059669; background: #059669; color: #fff; }

  .complete-box { display: none; text-align: center; padding: 10px 0; }
  .complete-box.show { display: block; }
  .complete-icon { font-size: 48px; margin-bottom: 12px; }
  .complete-title { font-size: 17px; font-weight: 700; color: #059669; margin-bottom: 10px; }
  .complete-text { font-size: 13.5px; line-height: 1.8; color: #4b5563; margin-bottom: 22px; }
  .modal-btn {
    padding: 9px 36px; background: #1e40af; color: #fff;
    border: none; border-radius: 4px; font-size: 13.5px; cursor: pointer;
  }
  .modal-btn:hover { background: #1e3a8a; }
  .progress-content { display: block; }
  .progress-content.hide { display: none; }

  /* 三阶段流动状态 */
  .stage-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 16px;
    padding: 0 10px;
  }
  .stage-item {
    flex: 1;
    text-align: center;
    position: relative;
  }
  .stage-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    transition: all 0.3s ease;
  }
  .stage-item.active .stage-circle {
    background: #1e40af;
    border-color: #1e40af;
    color: #fff;
    animation: stagePulse 1.5s ease-in-out infinite;
  }
  .stage-item.done .stage-circle {
    background: #059669;
    border-color: #059669;
    color: #fff;
  }
  @keyframes stagePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(30, 64, 175, 0); }
  }
  .stage-label {
    font-size: 12.5px;
    color: #6b7280;
    font-weight: 500;
  }
  .stage-item.active .stage-label {
    color: #1e40af;
    font-weight: 600;
  }
  .stage-item.done .stage-label {
    color: #059669;
  }
  .stage-connector {
    position: absolute;
    top: 18px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
  }
  .stage-item:last-child .stage-connector { display: none; }
  .stage-item.done .stage-connector { background: #059669; }

  /* 流动动画文字 */
  .stage-running-text {
    text-align: center;
    font-size: 13px;
    color: #1e40af;
    margin: 8px 0 16px;
    min-height: 20px;
  }
  .stage-running-text .dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
  }
  @keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
  }

  /* 预计时间 */
  .eta-info {
    text-align: center;
    font-size: 12.5px;
    color: #6b7280;
    margin-top: 12px;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 6px;
  }
  .eta-info .eta-time {
    color: #1e40af;
    font-weight: 600;
  }

  /* Toast */
  .toast {
    position: fixed; top: 24px; left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #1e40af; color: #fff; padding: 10px 24px;
    border-radius: 4px; font-size: 13.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0; transition: opacity 0.3s, transform 0.3s;
    z-index: 9999; pointer-events: none;
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
  .toast.error { background: #dc2626; }
  .toast.success { background: #059669; }

  /* 加载遮罩 */
  .loading-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7); z-index: 998;
    justify-content: center; align-items: center;
  }
  .loading-overlay.show { display: flex; }
  .loading-box {
    background: #fff; padding: 24px 36px; border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1); text-align: center;
  }
  .loading-spinner {
    width: 32px; height: 32px; border: 3px solid #e5e7eb;
    border-top-color: #1e40af; border-radius: 50%;
    animation: spin 0.8s linear infinite; margin: 0 auto 12px;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .loading-text { font-size: 13.5px; color: #374151; }
.price-line {
  margin-top: 12px;
  font-size: 15px;
  color: #1e40af;
  font-weight: 600;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.price-line #priceDisplay {
  font-size: 18px;
  font-weight: 700;
  margin: 0 2px;
}
.eta-line {
  margin-left: 16px;
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
}
.eta-line span {
  color: #1e40af;
  font-weight: 600;
}

.custom-service-line {
  margin-top: 10px;
  padding: 10px 14px;
  background: #f9fafb;
  border-left: 3px solid #1e40af;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
}
.custom-service-line b {
  color: #1e40af;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.page-footer {
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
  margin-top: 24px;
  padding-bottom: 16px;
}
/* 备案号（工信部要求：首页底部展示并链接 beian.miit.gov.cn） */
.icp-line {
  margin-top: 6px;
}
.icp-line a {
  color: #9ca3af;
  text-decoration: none;
}
.icp-line a:hover {
  color: #6b7280;
  text-decoration: underline;
}
/* 免费版（2026-10-14）：免费标识 + 留言板 */
.free-tag {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 12px;
  padding: 1px 8px;
  border-radius: 10px;
  margin-right: 6px;
}
.board-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.board-item {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
}
.board-meta {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.board-body {
  font-size: 14px;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
}
/* 随笔栏目 */
.essay-item {
  margin-top: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fafc;
}
.essay-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #1e40af;
}
.essay-body {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: #374151;
}
.essay-body p {
  margin: 6px 0;
}
/* ===================== Tab 栏 ===================== */
.tab-bar {
  display: flex;
  padding: 0 36px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}
.tab-btn {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  position: relative;
  top: 1px;
}
.tab-btn:hover {
  color: #1e40af;
  background: #eff6ff;
}
.tab-btn.active {
  color: #1e40af;
  border-bottom-color: #1e40af;
  background: #fff;
}

/* =========================================================================
 * 以下为「新版功能补充样式」：旧版原型 CSS 保持原样在上面，未做任何删改。
 * 追加内容仅为承载新版功能（任务列表 / 状态机面板 / 手机号身份 / 管理员 / Toast）。
 * ========================================================================= */

/* 统一字体与基础排版（沿用旧版配色，仅补 :root 变量） */
:root{
  --feng-blue:#1e40af;
  --feng-blue-dark:#1e3a8a;
  --feng-title:#1e3a5f;
  --feng-bg:#f0f2f5;
  --feng-border:#e5e7eb;
  --feng-muted:#6b7280;
  --feng-green:#059669;
}
html{background:var(--feng-bg);}
body{font-family:"Microsoft YaHei","PingFang SC","Helvetica Neue",Arial,sans-serif;background:var(--feng-bg);color:#1f2937;padding:32px 0;}
[hidden]{display:none !important;}
h1,h2,h3{color:var(--feng-title);}
h1{font-size:22px;font-weight:700;letter-spacing:1px;margin:0;}
h2{font-size:17px;font-weight:700;margin:0 0 14px;}
h3{font-size:14.5px;font-weight:700;margin:18px 0 8px;color:var(--feng-title);}
p{margin:0 0 10px;line-height:1.75;}
ul,ol{margin:0 0 12px;padding-left:22px;line-height:1.9;}
a{color:var(--feng-blue);}
pre{white-space:pre-wrap;word-break:break-word;font:inherit;line-height:1.7;}
.muted{color:var(--feng-muted);line-height:1.75;}
.small{font-size:12px;}
.eyebrow{font-size:12px;letter-spacing:2px;color:#527082;text-transform:none;}

/* 头部右侧：状态徽标 + 账号 */
.header-right{display:flex;align-items:center;gap:12px;}
.account-name{font-size:13px;color:#374151;}

/* 通用文本 / 数字输入（旧版没有全局 input 规则，这里补齐） */
input[type="text"],input[type="number"],input[type="password"],textarea,select{
  width:100%;padding:9px 11px;border:1px solid #d1d5db;border-radius:4px;
  font-size:13.5px;line-height:1.6;color:#1f2937;background:#fff;
  font-family:inherit;outline:none;
}
input[type="text"]:focus,input[type="number"]:focus,input[type="password"]:focus,textarea:focus,select:focus{
  border-color:var(--feng-blue);box-shadow:0 0 0 2px rgba(30,64,175,0.1);
}
label{display:block;font-size:13px;color:#374151;margin:0 0 6px;}
.field-label{display:block;font-size:13px;font-weight:600;color:#374151;margin:14px 0 6px;}
.plain-textarea{min-height:70px;resize:vertical;}
.special-line{max-width:460px;margin-bottom:8px;}
.pages-tip{display:inline;}

/* 按钮：旧版 .btn-* / .submit-btn 之外的普通按钮 */
button{font-family:inherit;}
.btn-primary{background:var(--feng-blue);color:#fff;border:none;border-radius:4px;padding:9px 20px;font-size:13.5px;font-weight:600;cursor:pointer;}
.btn-primary:hover:not(:disabled){background:var(--feng-blue-dark);}
.btn-primary:disabled{background:#9ca3af;cursor:not-allowed;}
.btn-secondary{background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:4px;padding:8px 18px;font-size:13px;cursor:pointer;}
.btn-secondary:hover:not(:disabled){background:#f3f4f6;border-color:var(--feng-blue);color:var(--feng-blue);}
.btn-secondary:disabled{opacity:.6;cursor:not-allowed;}
.btn-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;}

/* 我的任务 */
.taskbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;}
.taskbar-hint{font-size:12.5px;color:var(--feng-muted);}
.task-list{border:1px solid var(--feng-border);border-radius:4px;overflow:hidden;background:#fff;max-height:320px;overflow-y:auto;}
.task-list:empty{display:none;}
.task{display:block;width:100%;text-align:left;background:#fff;color:#1f2937;border:none;border-bottom:1px solid #f1f3f5;border-radius:0;padding:12px 14px;font-size:13.5px;cursor:pointer;}
.task:last-child{border-bottom:none;}
.task:hover{background:#f9fafb;}
.task.active{background:#eff6ff;color:var(--feng-blue);font-weight:600;border-left:3px solid var(--feng-blue);}
.task small{display:block;color:#6b7280;font-size:12px;margin-top:4px;font-weight:400;}
.task span{font-size:13px;}

/* 联系方式（默认隐藏） */
.identity-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:6px;}
.identity-tip{font-size:12.5px;color:var(--feng-muted);line-height:1.8;margin:12px 0 0;padding:10px 14px;background:#f9fafb;border-left:3px solid var(--feng-blue);}

/* 任务详情 / 状态机面板 */
.taskHeading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;}
.badge{background:#eff6ff;color:var(--feng-blue);padding:5px 12px;border-radius:20px;font-size:12px;font-weight:600;white-space:nowrap;}
progress{width:100%;height:9px;accent-color:var(--feng-blue);margin-bottom:6px;}
.download{display:inline-block;background:var(--feng-blue);color:#fff;border-radius:4px;padding:9px 18px;font-size:13px;font-weight:600;text-decoration:none;}
.download:hover{background:var(--feng-blue-dark);}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 4px;}

  /* 核对信息面板：紧凑排版（字段间距缩小、控件变矮） */
  .card.compact{padding:14px 18px;}
  .card.compact label{margin-bottom:5px;font-size:13px;}
  .card.compact input,.card.compact textarea,.card.compact select{padding:5px 8px;font-size:13px;}
  .card.compact textarea{min-height:52px;}
  .card.compact h3{margin:8px 0 6px;font-size:13.5px;}
  .card.compact .actions{margin:10px 0 2px;}
  /* 评分项合并框：一个框内每行"名称 — 分值 — 删除" */
  .scoreBox{border:1px solid var(--feng-border);border-radius:4px;padding:8px 10px;background:#fff;}
  .scoreRow{display:flex;gap:8px;align-items:center;margin-bottom:6px;}
  .scoreRow input[type=text]{flex:1 1 auto;min-width:0;}
  .scoreRow input[type=number]{flex:0 0 84px;}
  .scoreRow .scoreDel{flex:0 0 auto;padding:4px 9px;font-size:13px;line-height:1;}
  .scoreAdd{margin-top:2px;padding:5px 10px;font-size:13px;}

  /* 内联进上传流程的子区块（目标页数 / 核对信息），比自己占一块 section 更紧凑 */
  .sectionInner{padding:12px 0 4px;margin-top:12px;border-top:1px solid var(--feng-border);}
  /* 主按钮：居中、加大、更显眼（在免责协议下方） */
  .ctaRow{display:flex;justify-content:center;margin:20px 0 8px;}
  .ctaMain{font-size:17px;font-weight:700;letter-spacing:1px;padding:14px 48px;border:none;border-radius:8px;
           background:linear-gradient(180deg,#2563eb,#1d4ed8);color:#fff;cursor:pointer;
           box-shadow:0 4px 14px rgba(37,99,235,.35);transition:transform .1s,box-shadow .2s;}
  .ctaMain:hover{background:linear-gradient(180deg,#1d4ed8,#1e40af);box-shadow:0 6px 18px rgba(37,99,235,.45);}
  .ctaMain:active{transform:translateY(1px);}
  .ctaMain:disabled{opacity:.6;cursor:default;box-shadow:none;}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;}
.row{display:flex;gap:10px;align-items:flex-end;}
.row>*{flex:1;}
.row button{flex:0 0 auto;}
.sectionEditor{border-top:1px solid var(--feng-border);padding:12px 0;margin-top:10px;}
.sectionEditor:first-child{border-top:none;}
.quoteRow{border-top:1px solid var(--feng-border);padding-top:12px;margin-top:12px;}
.check{display:flex;align-items:center;gap:10px;font-size:13px;color:#374151;font-weight:400;}
.check input{width:auto;margin:0;accent-color:var(--feng-blue);}
details{margin:14px 0;}
summary{cursor:pointer;font-weight:600;font-size:14px;color:var(--feng-title);}
.pay-amount{font-size:18px;font-weight:700;color:var(--feng-blue);margin:0 2px;}
.card{border:none;padding:0;}
.error,.notice{padding:12px 14px;background:#fef2f2;color:#991b1b;border:1px solid #fecaca;border-radius:4px;line-height:1.7;margin-bottom:14px;white-space:pre-wrap;}
.notice{background:#fffbeb;color:#92400e;border-color:#fde68a;}

/* 管理员面板 */
.admin-section{background:#f8fafc;}
.userForm{display:grid;grid-template-columns:1fr 1fr 1fr 130px auto;gap:16px;align-items:end;}
.userForm label{margin-bottom:0;}
.userForm button{margin-bottom:0;white-space:nowrap;}
#pendingList .task{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid var(--feng-border);border-radius:4px;margin-bottom:8px;cursor:default;}
#pendingList .task button{flex:0 0 auto;}

/* 套餐说明里的提示行（旧版 .warning）与套餐盒 */
.package-box .warning{color:#b45309;margin-top:6px;font-size:12.5px;}
.package-box b{color:var(--feng-title);}

/* 进度弹窗补充：新版由真实任务驱动，需隐藏旧版原型的多余点号动画 */
.stage-running-text .dots::after{content:'' !important;}
.modal-hint{font-size:12px;color:var(--feng-muted);line-height:1.8;text-align:center;margin:10px 0 0;padding:8px 12px;background:#f9fafb;border-radius:6px;}
.modal-actions{display:flex;justify-content:center;gap:10px;margin-top:16px;}
.secondary-modal-btn{background:#fff;color:#374151;border:1px solid #d1d5db;}
.secondary-modal-btn:hover{background:#f3f4f6;border-color:var(--feng-blue);color:var(--feng-blue);}

/* Toast：改用旧版胶囊样式（.toast / .toast.show） */
#toast{position:fixed;top:24px;left:50%;transform:translateX(-50%) translateY(-20px);background:var(--feng-blue);color:#fff;padding:10px 24px;border-radius:4px;font-size:13.5px;box-shadow:0 4px 12px rgba(0,0,0,0.15);opacity:0;transition:opacity .3s,transform .3s;z-index:9999;pointer-events:none;max-width:90%;}
#toast.show{opacity:1;transform:translateX(-50%) translateY(0);}

/* 响应式 */
@media(max-width:900px){
  .header{flex-direction:column;align-items:flex-start;gap:12px;}
  .section,.header,.tab-bar,.submit-area{padding-left:18px;padding-right:18px;}
  .grid2,.identity-grid,.userForm{grid-template-columns:1fr;}
  .taskbar{flex-direction:column;align-items:flex-start;}
  .modal-box{width:auto;margin:0 16px;padding:24px 20px;}
  body{padding:0;}
  .container{border-radius:0;border-left:none;border-right:none;}
}

/* 免费版页数超限提示（2026-10-15）：**持续显示**的红字 + 输入框标红。
   原先是顶部 toast（几秒消失），客户看不到，以为没提示。 */
.pages-error {
  margin: 8px 0 0;
  padding: 10px 14px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-left: 4px solid #dc2626;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
}
.pages-error::before { content: "⚠ "; }
.pages-input.invalid {
  border-color: #dc2626;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 700;
}
.pages-input.invalid:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.18);
}
