  * { 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-21） */
.page-footer .contact-line { margin-top: 4px; color: #374151; }
.page-footer .contact-phone { font-weight: 600; letter-spacing: .5px; }


/* 开发中 Tab（2026-10-21） */
.tab-btn.tab-soon { opacity: .72; }
.tab-btn .soon-badge {
  display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 8px;
  background: #eef2f7; color: #6b7280; font-size: 10px; vertical-align: 2px;
}

/* =========================================================================
   UI v2 · 商业化视觉改版（2026-10-23）
   只做外观：颜色、圆角、阴影、间距、字体、控件形态。
   不动任何业务逻辑；所有原有 class / id 保持不变，仅在其上叠加样式。
   配色参考 DeepSeek 蓝（#4D6BFE 系）+ 浅灰底 + 白色卡片。
   ========================================================================= */

:root{
  --ds-blue:#4d6bfe;
  --ds-blue-600:#3d57f0;
  --ds-blue-700:#2f45d8;
  --ds-blue-soft:#eef2ff;
  --ds-ink:#0f172a;
  --ds-text:#1e293b;
  --ds-muted:#64748b;
  --ds-line:#e8ecf4;
  --ds-line-strong:#dbe2ee;
  --ds-bg:#f5f7fc;
  --ds-card:#ffffff;
  --ds-radius:16px;
  --ds-radius-sm:10px;
  --ds-shadow:0 1px 2px rgba(15,23,42,.04), 0 10px 30px -18px rgba(15,23,42,.18);
  --ds-shadow-hover:0 2px 6px rgba(15,23,42,.06), 0 18px 40px -20px rgba(15,23,42,.26);
  --ds-ring:0 0 0 3px rgba(77,107,254,.16);

  /* 覆盖旧变量，让历史样式自动继承新配色 */
  --feng-blue:#4d6bfe;
  --feng-blue-dark:#3d57f0;
  --feng-title:#0f172a;
  --feng-bg:#f5f7fc;
  --feng-border:#e8ecf4;
  --feng-muted:#64748b;
}

/* ── 基础排版 ───────────────────────────────────────────── */
html,body{background:var(--ds-bg);}
body{
  font-family:"Inter","HarmonyOS Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--ds-text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  padding:28px 16px 60px;
}
h1,h2,h3,h4{color:var(--ds-ink);letter-spacing:-.01em;}
a{color:var(--ds-blue-600);text-decoration:none;}
a:hover{text-decoration:underline;}

/* 主容器：不再是一个大白框，改为"页面背景 + 若干张卡片" */
.container{
  max-width:980px;
  margin:0 auto;
  background:transparent;
  border:none;
  box-shadow:none;
  border-radius:0;
}

/* ── 顶部标题区 ─────────────────────────────────────────── */
.header{
  background:transparent;
  border:none;
  padding:4px 6px 18px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
}
.header h1{
  font-size:26px;
  font-weight:800;
  letter-spacing:-.02em;
  color:var(--ds-ink);
  display:flex;
  align-items:center;
  gap:10px;
}
.header h1::before{
  content:"";
  width:10px;height:10px;border-radius:50%;
  background:linear-gradient(135deg,#7c9bff,#4d6bfe);
  box-shadow:0 0 0 4px rgba(77,107,254,.14);
  flex:0 0 auto;
}
.header p{
  font-size:13.5px;
  color:var(--ds-muted);
  margin-top:8px;
  line-height:1.7;
  max-width:640px;
}
.header-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}

/* ── Tab：分段控制器（Segmented Control）──────────────────── */
.tab-bar{
  display:flex;
  gap:4px;
  padding:5px;
  margin:0 0 18px;
  background:#eceff7;
  border:1px solid #e2e7f1;
  border-radius:14px;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.04);
}
.tab-btn{
  flex:1 1 0;
  min-width:0;
  appearance:none;
  border:1px solid transparent;
  background:transparent;
  color:#5a6a85;
  font-size:14px;
  font-weight:600;
  padding:10px 12px;
  border-radius:10px;
  cursor:pointer;
  transition:background .18s ease, color .18s ease, box-shadow .18s ease, transform .06s ease;
  white-space:nowrap;
}
.tab-btn:hover{background:rgba(255,255,255,.72);color:#2b3a55;}
.tab-btn:active{transform:scale(.985);}
.tab-btn.active{
  background:linear-gradient(180deg,#5b7cff,#4d6bfe);
  color:#fff;
  border-color:rgba(58,86,240,.55);
  box-shadow:0 6px 16px -6px rgba(77,107,254,.65), inset 0 1px 0 rgba(255,255,255,.22);
}
.tab-btn.active:hover{background:linear-gradient(180deg,#5b7cff,#4560f2);color:#fff;}
.tab-btn.tab-soon{opacity:.85;}
.tab-btn .soon-badge{
  background:rgba(15,23,42,.06);
  color:#64748b;
  border-radius:999px;
  padding:1px 7px;
  font-size:10.5px;
  vertical-align:2px;
}
.tab-btn.active .soon-badge{background:rgba(255,255,255,.22);color:#fff;}

/* ── 卡片：每个 .section 变成一张白卡 ─────────────────────── */
.section{
  background:var(--ds-card);
  border:1px solid var(--ds-line);
  border-radius:var(--ds-radius);
  box-shadow:var(--ds-shadow);
  padding:24px 26px;
  margin:0 0 16px;
  border-bottom:1px solid var(--ds-line);   /* 覆盖旧的下边框样式 */
  transition:box-shadow .2s ease, transform .2s ease;
}
.section:hover{box-shadow:var(--ds-shadow-hover);}
.section:last-child{margin-bottom:0;}
.section-title{
  font-size:15px;
  font-weight:700;
  color:var(--ds-ink);
  letter-spacing:-.01em;
  padding-left:0;
  border-left:none;
  margin:0 0 16px;
  display:flex;
  align-items:center;
  gap:9px;
}
.section-title::before{
  content:"";
  width:3px;height:15px;border-radius:2px;
  background:linear-gradient(180deg,#7c9bff,#4d6bfe);
  flex:0 0 auto;
}
.section-title .muted{font-weight:500;}

/* 内联子区块（目标页数 / 特殊格式 / 编写风格） */
.sectionInner{
  border-top:1px dashed var(--ds-line-strong);
  padding:16px 0 4px;
  margin-top:16px;
}
.sectionInner .section-title{font-size:14px;margin-bottom:12px;}

/* ── 套餐说明 ───────────────────────────────────────────── */
.package-box{
  background:linear-gradient(180deg,#f4f7ff,#eef3ff);
  border:1px solid #dfe7ff;
  border-radius:12px;
  padding:16px 18px;
  font-size:13.5px;
  line-height:1.85;
  color:#24365c;
}
.package-box .price{
  display:inline-block;
  background:linear-gradient(135deg,#4d6bfe,#3d57f0);
  color:#fff;
  font-weight:700;
  font-size:12px;
  padding:2px 10px;
  border-radius:999px;
  margin-left:2px;
  box-shadow:0 4px 10px -4px rgba(77,107,254,.7);
}
.package-box .warning{
  color:#9a5b00;
  background:#fff8e8;
  border:1px solid #ffe7b8;
  border-radius:10px;
  padding:8px 12px;
  margin-top:10px;
  font-size:12.5px;
  line-height:1.7;
}
.package-box b{color:#101a33;}

/* ── 表单控件统一 ───────────────────────────────────────── */
input[type="text"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="email"],
select,
textarea{
  width:100%;
  height:42px;
  padding:0 13px;
  font-size:14px;
  font-family:inherit;
  color:var(--ds-text);
  background:#fbfcfe;
  border:1px solid var(--ds-line-strong);
  border-radius:var(--ds-radius-sm);
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow:0 1px 1px rgba(15,23,42,.02);
}
textarea{height:auto;padding:12px 13px;line-height:1.75;border-radius:12px;}
input::placeholder,textarea::placeholder{color:#9aa7bd;}
input:hover,select:hover,textarea:hover{border-color:#c6d0e2;}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus{
  background:#fff;
  border-color:var(--ds-blue);
  box-shadow:var(--ds-ring);
}
select{
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  padding-right:34px;
  cursor:pointer;
}
label{font-size:13px;font-weight:600;color:#3c4a63;margin:0 0 7px;}
.field-label{font-size:13px;font-weight:600;color:#3c4a63;margin:16px 0 7px;}

/* 粘贴 + 上传合并区 */
.input-combined{
  border:1px solid var(--ds-line-strong);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.input-combined:focus-within{border-color:var(--ds-blue);box-shadow:var(--ds-ring);}
.input-combined.dragover{border-color:var(--ds-blue);background:var(--ds-blue-soft);}
.paste-toolbar{
  background:#f7f9fd;
  border-bottom:1px solid var(--ds-line);
  padding:9px 14px;
  font-size:12.5px;
  color:var(--ds-muted);
}
.paste-textarea{border:none;box-shadow:none;background:transparent;border-radius:0;}
.paste-textarea:focus{box-shadow:none;border:none;background:transparent;}
.attachment-bar{
  background:#f7f9fd;
  border-top:1px solid var(--ds-line);
  padding:11px 14px;
  font-size:13px;
}
.attachment-bar:hover{background:#f1f5fd;}
.upload-link{
  color:var(--ds-blue-600);
  font-weight:600;
  border:1px dashed #bcc9ea;
  border-radius:9px;
  padding:5px 12px;
  transition:background .16s ease,border-color .16s ease;
}
.upload-link:hover{background:var(--ds-blue-soft);border-color:var(--ds-blue);}
.attachment-hint{font-size:11.5px;color:#93a0b6;}

/* ── 特殊格式：磁贴式复选卡 ─────────────────────────────── */
.fmt-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
.fmt-card{
  position:relative;
  display:flex;gap:10px;align-items:flex-start;
  padding:14px 14px 13px;
  background:#fbfcff;
  border:1.5px solid var(--ds-line-strong);
  border-radius:14px;
  cursor:pointer;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .1s ease;
}
.fmt-card:hover{border-color:#b9c8ee;box-shadow:0 8px 20px -14px rgba(15,23,42,.35);transform:translateY(-1px);}
.fmt-card input{position:absolute;opacity:0;pointer-events:none;}
.fmt-card .fmt-ico{font-size:20px;line-height:1;margin-top:1px;}
.fmt-card .fmt-txt{display:flex;flex-direction:column;gap:3px;font-size:13px;color:var(--ds-text);}
.fmt-card .fmt-txt b{font-size:13.5px;color:var(--ds-ink);}
.fmt-card .fmt-txt i{font-style:normal;font-size:12px;color:var(--ds-muted);line-height:1.6;}
.fmt-card:has(input:checked){
  border-color:var(--ds-blue);
  background:linear-gradient(180deg,#f5f8ff,#eef3ff);
  box-shadow:0 0 0 3px rgba(77,107,254,.13), 0 10px 24px -16px rgba(77,107,254,.55);
}
.fmt-card:has(input:checked)::after{
  content:"✓";
  position:absolute;top:10px;right:11px;
  width:18px;height:18px;border-radius:50%;
  background:var(--ds-blue);color:#fff;
  font-size:11px;line-height:18px;text-align:center;font-weight:700;
}
.fmt-card.fmt-disabled{opacity:.55;cursor:not-allowed;background:#f7f8fb;}
.fmt-card.fmt-disabled:hover{transform:none;box-shadow:none;border-color:var(--ds-line-strong);}
.fmt-count{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:13px;color:#3c4a63;}
.fmt-count input[type="number"]{width:88px;height:38px;}

/* ── 编写风格 / 水保形态：单选卡片 ───────────────────────── */
.persona-chips{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(168px,1fr));
  gap:10px !important;
  margin-top:10px !important;
}
.persona-chip{
  position:relative;
  display:flex !important;
  align-items:center;
  gap:8px;
  padding:11px 14px !important;
  border:1.5px solid var(--ds-line-strong) !important;
  border-radius:12px !important;
  background:#fbfcff;
  font-size:13px !important;
  color:var(--ds-text);
  cursor:pointer;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .1s ease;
}
.persona-chip:hover{border-color:#b9c8ee !important;transform:translateY(-1px);box-shadow:0 8px 20px -16px rgba(15,23,42,.4);}
.persona-chip input{position:absolute;opacity:0;pointer-events:none;}
.persona-chip:has(input:checked){
  border-color:var(--ds-blue) !important;
  background:linear-gradient(180deg,#f5f8ff,#eef3ff);
  color:#1d3bb3;
  font-weight:600;
  box-shadow:0 0 0 3px rgba(77,107,254,.13);
}
.persona-chip:has(input:checked)::after{
  content:"";
  position:absolute;right:10px;top:50%;transform:translateY(-50%);
  width:8px;height:8px;border-radius:50%;
  background:var(--ds-blue);
  box-shadow:0 0 0 3px rgba(77,107,254,.18);
}

/* ── 折叠块（特殊格式 / 编写风格 / 我的任务）──────────────── */
details{margin:0;}
.foldBox > summary{
  list-style:none;
  display:flex;align-items:center;gap:8px;
  font-size:13.5px;font-weight:700;color:var(--ds-ink);
  padding:12px 2px;
  cursor:pointer;
  border-radius:10px;
  transition:color .16s ease;
}
.foldBox > summary::-webkit-details-marker{display:none;}
.foldBox > summary::before{
  content:"";
  width:0;height:0;
  border-left:5px solid #94a3b8;
  border-top:4px solid transparent;
  border-bottom:4px solid transparent;
  transition:transform .18s ease;
}
.foldBox[open] > summary::before{transform:rotate(90deg);}
.foldBox > summary:hover{color:var(--ds-blue-600);}
.fold-state{font-size:12.5px;font-weight:500;color:var(--ds-muted);}

/* ── 按钮 ───────────────────────────────────────────────── */
.btn-primary,
.submit-btn,
.ctaMain{
  background:linear-gradient(180deg,#5b7cff 0%,#4d6bfe 55%,#3d57f0 100%);
  color:#fff;
  border:none;
  border-radius:12px;
  font-weight:700;
  letter-spacing:.02em;
  box-shadow:0 10px 24px -12px rgba(77,107,254,.75), inset 0 1px 0 rgba(255,255,255,.25);
  transition:transform .08s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary{padding:10px 22px;font-size:13.5px;}
.submit-btn{
  width:100%;
  padding:16px 26px;
  font-size:16.5px;
  border-radius:14px;
}
.btn-primary:hover:not(:disabled),
.submit-btn:hover:not(:disabled),
.ctaMain:hover:not(:disabled){
  background:linear-gradient(180deg,#6283ff 0%,#5573ff 55%,#4560f2 100%);
  box-shadow:0 16px 34px -14px rgba(77,107,254,.85), inset 0 1px 0 rgba(255,255,255,.3);
  transform:translateY(-1px);
}
.btn-primary:active:not(:disabled),
.submit-btn:active:not(:disabled),
.ctaMain:active:not(:disabled){transform:translateY(1px) scale(.998);}
.btn-primary:disabled,.submit-btn:disabled,.ctaMain:disabled{
  background:#cdd6e8;
  color:#fff;
  box-shadow:none;
  cursor:not-allowed;
  transform:none;
}
.submit-btn.confirm-mode{
  background:linear-gradient(180deg,#22c07d,#12a866);
  box-shadow:0 12px 26px -12px rgba(18,168,102,.7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-secondary{
  background:#fff;
  color:#334155;
  border:1px solid var(--ds-line-strong);
  border-radius:10px;
  padding:9px 18px;
  font-size:13px;
  font-weight:600;
  box-shadow:0 1px 2px rgba(15,23,42,.03);
  transition:border-color .16s ease,color .16s ease,background .16s ease,box-shadow .16s ease;
}
.btn-secondary:hover:not(:disabled){
  background:#f7f9ff;
  border-color:var(--ds-blue);
  color:var(--ds-blue-600);
  box-shadow:0 6px 16px -12px rgba(77,107,254,.6);
}
.submit-area{padding:8px 0 4px;text-align:center;}
.submit-hint{font-size:12.5px;color:var(--ds-muted);margin-top:10px;}

/* 免费 / 时间 之类的小标签 → 胶囊 */
.free-tag{
  display:inline-flex;align-items:center;gap:4px;
  background:linear-gradient(135deg,#e8f7ef,#d8f3e4);
  color:#0d7a4d;
  font-size:11.5px;
  font-weight:700;
  padding:3px 10px;
  border-radius:999px;
  border:1px solid #bfeed6;
  margin-right:8px;
  vertical-align:1px;
}
.eta-line{
  display:inline-flex;align-items:center;gap:6px;
  background:#f2f5fb;
  color:#51617c;
  font-size:12px;
  padding:4px 11px;
  border-radius:999px;
  border:1px solid var(--ds-line);
  margin-left:8px;
}
.eta-line span{color:#1f2d45;font-weight:600;}
.badge{
  background:var(--ds-blue-soft);
  color:var(--ds-blue-600);
  padding:5px 13px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}
.price-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;color:#3c4a63;margin-top:12px;}

/* ── 任务列表 ───────────────────────────────────────────── */
.task-list{
  border:1px solid var(--ds-line);
  border-radius:12px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 1px 2px rgba(15,23,42,.03);
}
.task{
  border-bottom:1px solid #f1f4fa;
  padding:13px 15px;
  font-size:13.5px;
  transition:background .16s ease;
}
.task:hover{background:#f7f9ff;}
.task.active{
  background:var(--ds-blue-soft);
  color:var(--ds-blue-700);
  border-left:3px solid var(--ds-blue);
  font-weight:600;
}
.taskbar-hint{font-size:12.5px;color:var(--ds-muted);}
.badge,.task small{font-weight:500;}
.task small{color:#7b89a1;}

/* ── 随笔：卡片 + 分割线 ────────────────────────────────── */
.essay-item{
  background:#fff;
  border:1px solid var(--ds-line);
  border-radius:14px;
  padding:0;
  margin:0 0 12px;
  overflow:hidden;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.essay-item:hover{border-color:#d3ddf2;box-shadow:0 12px 28px -22px rgba(15,23,42,.5);}
.essay-item > summary{
  padding:16px 18px;
  font-size:14.5px;
  font-weight:700;
  color:var(--ds-ink);
  list-style:none;
  cursor:pointer;
  display:flex;align-items:center;gap:10px;
  background:linear-gradient(180deg,#fdfdff,#fafbff);
}
.essay-item > summary::-webkit-details-marker{display:none;}
.essay-item > summary::before{
  content:"";
  width:0;height:0;
  border-left:5px solid #94a3b8;
  border-top:4px solid transparent;
  border-bottom:4px solid transparent;
  transition:transform .18s ease;
  flex:0 0 auto;
}
.essay-item[open] > summary::before{transform:rotate(90deg);}
.essay-item > summary:hover{color:var(--ds-blue-600);}
.essay-body{
  padding:4px 20px 18px;
  border-top:1px solid var(--ds-line);
  font-size:13.5px;
  line-height:1.95;
  color:#334155;
}
.essay-body p{margin:12px 0 0;}
.essay-body p:first-child{margin-top:14px;}
.essay-body b{color:#101a33;}

/* ── 留言板 ─────────────────────────────────────────────── */
.board-list{display:flex;flex-direction:column;gap:10px;margin-top:14px;}
.board-item{
  background:#fbfcff;
  border:1px solid var(--ds-line);
  border-left:3px solid var(--ds-blue);
  border-radius:12px;
  padding:13px 16px;
  transition:border-color .16s ease, box-shadow .16s ease;
}
.board-item:hover{border-color:#cfdcf8;box-shadow:0 10px 24px -20px rgba(15,23,42,.5);}
.board-meta{font-size:11.5px;color:#8494ad;font-weight:600;letter-spacing:.01em;}
.board-body{font-size:13.5px;line-height:1.8;color:#334155;margin-top:6px;white-space:pre-wrap;}

/* ── 页脚 ───────────────────────────────────────────────── */
.page-footer{
  margin-top:22px;
  padding:20px 24px;
  background:#fff;
  border:1px solid var(--ds-line);
  border-radius:var(--ds-radius);
  box-shadow:var(--ds-shadow);
  font-size:12.5px;
  color:var(--ds-muted);
  line-height:1.9;
  text-align:center;
}
.page-footer .contact-line{margin-top:6px;color:#3c4a63;}
.page-footer .contact-phone{color:var(--ds-blue-600);font-weight:700;}
.page-footer .icp-line a{color:#94a3b8;font-size:12px;}
.page-footer .icp-line a:hover{color:var(--ds-blue-600);}

/* ── 进度弹窗：更轻、更干净 ─────────────────────────────── */
.modal-overlay{backdrop-filter:blur(3px);background:rgba(15,23,42,.38);}
.modal-box{
  border-radius:20px;
  box-shadow:0 30px 80px -30px rgba(15,23,42,.55);
  border:1px solid rgba(255,255,255,.6);
}
.modal-title{font-size:18px;font-weight:800;color:var(--ds-ink);}
.progress-bar-bg{background:#eef1f8;border-radius:999px;overflow:hidden;}
.progress-bar-fill{background:linear-gradient(90deg,#7c9bff,#4d6bfe);border-radius:999px;}
.progress-percent{color:var(--ds-blue-600);font-weight:800;}
.modal-btn{
  background:linear-gradient(180deg,#5b7cff,#4d6bfe);
  border:none;border-radius:12px;font-weight:700;color:#fff;
  box-shadow:0 10px 24px -12px rgba(77,107,254,.8);
}
.modal-btn:hover{background:linear-gradient(180deg,#6283ff,#4560f2);}
.stage-circle{background:#eef1f8;color:#7b89a1;}
.stage-item.active .stage-circle{background:linear-gradient(135deg,#5b7cff,#4d6bfe);color:#fff;box-shadow:0 6px 16px -8px rgba(77,107,254,.9);}
.modal-hint{background:#f7f9ff;border:1px solid var(--ds-line);border-radius:12px;}

/* ── 管理员区（弱化，不抢眼）─────────────────────────────── */
.admin-section{background:#fbfcfe;}

/* ── 响应式 ─────────────────────────────────────────────── */
@media (max-width:760px){
  body{padding:16px 10px 44px;}
  .header{flex-direction:column;align-items:flex-start;gap:10px;}
  .header h1{font-size:22px;}
  .section{padding:18px 16px;border-radius:14px;}
  .fmt-cards{grid-template-columns:1fr;}
  .persona-chips{grid-template-columns:1fr 1fr !important;}
  .tab-bar{overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .tab-btn{font-size:13px;padding:9px 10px;}
  .submit-btn{font-size:15px;padding:14px 18px;}
  .identity-grid,.grid2,.userForm{grid-template-columns:1fr;}
}


/* ── 细节修正（2026-10-23 第二轮）───────────────────────── */
.pages-input-wrap{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.pages-input-wrap .pages-input{width:132px;flex:0 0 auto;text-align:center;font-weight:700;font-size:15px;}
.pages-tip{font-size:12.5px;color:var(--ds-muted);line-height:1.6;}
.muted.small,.small{font-size:12.5px;line-height:1.75;color:var(--ds-muted);}
.fmt-card.fmt-disabled .fmt-ico{filter:grayscale(1);opacity:.6;}
.fmt-card.fmt-disabled .fmt-txt b{color:#7b89a1;}
.identity-grid .info-field label{font-size:12.5px;}
.identity-tip{
  background:#f7f9ff;border-left:3px solid var(--ds-blue);
  border-radius:0 10px 10px 0;padding:11px 14px;font-size:12.5px;color:#51617c;
}
.userForm input{border-radius:10px;}
.admin-section .section-title::before{background:#c3cbd9;}
.page-footer{line-height:2;}
#boardText{min-height:96px;}
.board-list:empty{display:none;}
.paste-textarea{min-height:170px;}
.essay-body p{max-width:76ch;}
@media (max-width:760px){ .section-title{font-size:14px;} }
/* 手机端溢出修正（2026-10-23）：Tab 换行、附件栏换行、禁止横向溢出 */
html,body{max-width:100%;overflow-x:hidden;}
@media (max-width:760px){
  .tab-bar{flex-wrap:wrap;overflow:visible;gap:5px;}
  .tab-btn{flex:1 1 calc(50% - 5px);white-space:normal;text-align:center;line-height:1.35;}
  .attachment-bar{flex-wrap:wrap;gap:8px;}
  .attachment-right{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
  .attachment-hint{flex-basis:100%;}
  .paste-toolbar{flex-wrap:wrap;gap:6px;}
  .pages-input-wrap{gap:10px;}
  .persona-chips{grid-template-columns:1fr 1fr !important;}
  .fmt-cards{grid-template-columns:1fr;}
  .identity-grid,.grid2,.userForm{grid-template-columns:1fr;}
  .section{padding:16px 14px;}
  .container{max-width:100%;}
}
