body { margin: 0; font-family: "Microsoft YaHei", Arial, sans-serif; background: #f5f7fa; color: #333; }
a { color: inherit; text-decoration: none; }
#floating-ball { position: fixed; right: 30px; bottom: 30px; width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 25px rgba(0,0,0,.3); cursor: pointer; z-index: 10000; transition: transform .3s; }
#floating-ball img { width: 3.8rem; height: 3.8rem; border-radius: 50%; pointer-events: none; object-fit: contain; }
#floating-ball:hover { transform: scale(1.08); }
@keyframes floatingBallPulse { 0% { box-shadow: 0 0 0 0 rgba(102,126,234,.7); } 70% { box-shadow: 0 0 0 20px rgba(102,126,234,0); } 100% { box-shadow: 0 0 0 0 rgba(102,126,234,0); } }
#floating-ball.pulse { animation: floatingBallPulse 2s infinite; }
#chat-popup { position: fixed; right: 30px; bottom: 30px; width: min(94vw, 960px); height: min(88vh, 980px); min-height: 700px; min-width: 760px; background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.3); display: none; flex-direction: column; overflow: hidden; z-index: 9999; }
#chat-popup.show { display: flex; animation: chatSlideUp .3s; }
@keyframes chatSlideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
#chat-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; user-select: none; cursor: move; }
.chat-title { font-size: 16px; font-weight: 600; }
.window-btn { width: 28px; height: 28px; border: none; border-radius: 50%; cursor: pointer; color: #fff; font-size: 16px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.window-btn:hover { background: rgba(255,255,255,.3); }
#chat-content { flex: 1; min-height: 0; overflow: hidden; position: relative; }
#ai-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.resize-handle { position: absolute; background: transparent; z-index: 20; }
.resize-handle.nw { top: 0; left: 0; width: 14px; height: 14px; cursor: nw-resize; }
.resize-handle.ne { top: 0; right: 0; width: 14px; height: 14px; cursor: ne-resize; }
.resize-handle.sw { bottom: 0; left: 0; width: 14px; height: 14px; cursor: sw-resize; }
.resize-handle.se { bottom: 0; right: 0; width: 14px; height: 14px; cursor: se-resize; }
.resize-handle.n { top: 0; left: 14px; right: 14px; height: 8px; cursor: n-resize; }
.resize-handle.s { bottom: 0; left: 14px; right: 14px; height: 8px; cursor: s-resize; }
.resize-handle.e { top: 14px; right: 0; bottom: 14px; width: 8px; cursor: e-resize; }
.resize-handle.w { top: 14px; left: 0; bottom: 14px; width: 8px; cursor: w-resize; }
.site-header { position: sticky; top: 0; z-index: 60; height: 100px; background: #fff; border-bottom: 1px solid #e5e5e5; box-shadow: 0 5px 8px rgba(0,0,0,.06); }
.site-header-inner { max-width: 1600px; height: 100%; margin: 0 auto; padding: 0 32px; position: relative; display: grid; grid-template-columns: 320px 1fr 220px; align-items: center; gap: 20px; }
.site-header-left, .site-header-mid, .site-header-right { min-width: 0; }
.site-brand { display: inline-flex; align-items: center; gap: 15px; color: #333; }
.site-brand img { width: auto; height: 58px; max-width: 170px; object-fit: contain; }
.site-brand-text { display: flex; flex-direction: column; line-height: 1.35; }
.site-brand-text strong { display: block; font-size: 22px; font-weight: 700; color: #333; margin-bottom: 4px; }
.site-brand-text span { font-size: 14px; color: #666; font-style: italic; letter-spacing: 1px; }
.site-header-mid { display: flex; justify-content: center; }
.site-nav { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 0; overflow-x: auto; }
.site-nav a { position: relative; padding: 26px 18px; font-size: 18px; line-height: 48px; color: #333; white-space: nowrap; }
.site-nav a.active, .site-nav a:hover { color: #208740; }
.site-nav a.active::after, .site-nav a:hover::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 16px; height: 2px; background: #208740; }
/* 导航栏小红点样式 */
.nav-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 12px;
  line-height: 18px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #d63638;
  border-radius: 9px;
  position: absolute;
  top: 18px;
  right: 8px;
  transform: translate(50%, -50%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.site-header-right { display: flex; justify-content: flex-end; }
.site-user-box { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: #333; white-space: nowrap; flex-wrap: nowrap; }
.site-user-btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 4px; background: #f0f0f1; color: #333; }
.site-user-btn:hover { background: #d63638; color: #fff; }
.page-wrap { max-width: 1240px; margin: 0 auto; padding: 26px 16px 42px; }
.narrow-page { max-width: 1180px; }
.page-hero { text-align: center; padding: 18px 0 24px; }
.page-hero h1 { margin: 0; font-size: 36px; font-weight: 500; color: #243b55; }
.page-hero p { margin: 8px 0 0; color: #667085; }
.panel { background: #fff; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.06); padding: 18px; margin-bottom: 16px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.panel-title h1 { margin: 0; font-size: 26px; }
.panel-title-actions { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
a.link-btn { text-decoration: none; box-sizing: border-box; }
.form-section-title { margin: 22px 0 12px; font-size: 17px; font-weight: 600; color: #1f2937; border-bottom: 1px solid #e5e7eb; padding-bottom: 8px; }
.integration-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.integration-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
}
.integration-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 12px 8px;
  background: #fafafa;
}
.integration-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #1f2937;
}
/* 创建子账户页：未勾选同步时禁用，灰色；勾选后可点，蓝色 */
.integration-reload-btn {
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.integration-reload-btn:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.92;
  box-shadow: none;
}
.integration-reload-btn:not(:disabled) {
  background: #2271b1;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.integration-reload-btn:not(:disabled):hover {
  background: #135e96;
}
.integration-reload-btn:not(:disabled):active {
  background: #0f4d7a;
}
.field-hint { font-size: 13px; color: #667085; }
.merged-id-row {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.merged-id-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #dbe4ee;
  border-radius: 6px;
  background: #f8fafc;
  font-size: 12px;
  color: #475467;
}
.merged-id-chip code {
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 4px;
  padding: 1px 6px;
  color: #1f2937;
}
@media (max-width: 900px) {
  .integration-two-col { grid-template-columns: 1fr; }
}
#subAccountCreateForm select { width: 100%; max-width: 520px; min-height: 40px; padding: 8px 10px; border: 1px solid #d0d7de; border-radius: 6px; font-size: 14px; }
.project-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.project-form-card, .project-side-card { background: #fff; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.06); padding: 20px; }
.project-side-card { display: flex; flex-direction: column; gap: 14px; }
.project-page { padding-top: 12px; }
.project-page-header { text-align: center; margin-bottom: 32px; }
.project-page-header h1 { margin: 0 0 10px; font-size: 32px; color: #333; font-weight: 500; }
.project-page-header p { margin: 0; color: #666; font-size: 16px; }
.project-followup-modal-box { width: min(860px, 92%); }
.project-followup-alert-content { padding: 8px 0; }
.project-followup-alert-intro { margin: 0 0 15px; padding: 12px; background: #fff3cd; border: 1px solid #ffeaa7; border-radius: 5px; color: #856404; font-size: 14px; line-height: 1.6; }
.project-followup-alert-list { margin: 0; padding-left: 22px; }
.project-followup-alert-list li { margin: 6px 0; color: #78350f; font-size: 14px; line-height: 1.5; }
.badge { padding: 4px 10px; border-radius: 15px; font-size: 12px; white-space: nowrap; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-warning { background: #fff3cd; color: #856404; }
.project-followup-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin-bottom: 4px; }
.project-followup-table th { text-align: center; padding: 10px 8px; background: #f8f9fa; font-size: 13px; font-weight: 600; color: #475569; border-bottom: 2px solid #e2e8f0; }
.project-followup-table th:first-child { text-align: left; }
.project-followup-table td { padding: 10px 8px; font-size: 14px; color: #334155; border-bottom: 1px solid #f1f5f9; vertical-align: middle; text-align: center; }
.project-followup-table td:first-child { text-align: left; word-break: break-all; line-height: 1.5; }
.project-followup-table td:last-child { white-space: nowrap; }
.project-followup-btn { background: #f0ad4e; color: #fff; border: none; cursor: pointer; font-size: 12px; padding: 4px 10px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.project-followup-btn:hover { background: #ec971f; }
.project-layout-legacy { align-items: start; gap: 30px; }
.project-form-card-legacy { padding: 34px 38px; }
.project-side-card-legacy { gap: 20px; background: transparent; box-shadow: none; padding: 0; }
.project-section-card { margin: 26px 0; padding: 20px; background: #f8f9fa; border-radius: 6px; }
.project-section-card h3 { margin: 0 0 18px; font-size: 18px; color: #333; border-bottom: 2px solid #2271b1; padding-bottom: 10px; }
.readonly-input { background: #f5f5f5; cursor: not-allowed; }
.required-mark { color: #e74c3c; }
.project-submit-row { margin-top: 28px; }
.project-submit-row .blue-btn { padding: 14px 58px; font-size: 16px; }
.project-forward-notice { margin-top: 20px; padding: 20px; background: #fff3cd; border: 1px solid #ffeaa7; border-radius: 4px; }
.project-forward-title { margin: 0 0 10px; color: #856404; font-weight: 700; }
.project-forward-notice p { margin: 0; color: #856404; }
.project-forward-agent { margin-top: 10px !important; font-weight: 600; }
.project-review-box h3, .project-history-box h3 { margin: 0; font-size: 18px; color: #1f3b5b; }
.project-review-empty { color: #7b8794; font-size: 14px; line-height: 1.7; }
.project-review-item { display: flex; flex-direction: column; gap: 10px; }
.project-review-name { font-size: 16px; font-weight: 600; color: #243b53; line-height: 1.5; }
.project-review-note { font-size: 13px; color: #7b8794; line-height: 1.7; padding-top: 10px; border-top: 1px dashed #d9e2ec; }
.project-review-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #52606d; }
.project-review-history-link button { padding: 0; border: none; background: none; color: #2271b1; font-size: 13px; font-weight: 600; cursor: pointer; }
.project-review-history-link button:hover { color: #135e96; text-decoration: underline; }
.project-history-head { margin-bottom: 10px; align-items: center; flex-wrap: wrap; gap: 8px; }
.project-history-search { display: flex; gap: 6px; align-items: center; flex-shrink: 1; min-width: 0; }
.project-history-search input { width: 120px; padding: 5px 8px; font-size: 12px; border-radius: 4px; }
.project-history-search select { min-width: 80px; padding: 5px 8px; font-size: 12px; border-radius: 4px; }
.project-history-search .mini-btn { white-space: nowrap; flex-shrink: 0; }
.project-history-list { margin-top: 0; max-height: 360px; overflow-y: scroll; }
.project-history-location { color: #666; font-size: 13px; margin-bottom: 6px; }
.project-history-status-row { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.status-tag.project-status { border: 1px solid; background: transparent; }
.status-tag.project-status.terminated { border-color: #dc2626; color: #dc2626; }
.status-tag.project-status.filed { border-color: #16a34a; color: #16a34a; }
.status-tag.project-status.under_construction { border-color: #0369a1; color: #0369a1; }
.status-tag.project-status.accepted_delivered { border-color: #1e3a8a; color: #1e3a8a; }
.project-history-desc { color: #475467; line-height: 1.7; font-size: 14px; }
.project-history-actions { display: flex; gap: 8px; margin-top: 10px; }
.project-history-actions .mini-btn { padding: 6px 12px; font-size: 12px; }
.project-history-actions .danger-btn { padding: 6px 12px; font-size: 12px; }
.project-detail-modal-box { width: min(820px, 100%); }
.project-detail-body { display: flex; flex-direction: column; gap: 18px; max-height: 60vh; overflow-y: auto; }
.project-review-page-meta { display: inline-flex; align-items: center; color: #667085; font-size: 13px; padding: 0 8px; }
.project-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.project-detail-count { padding: 12px; background: #f8f9fa; border-radius: 4px; font-size: 14px; color: #333; }
.project-detail-count strong { color: #2271b1; font-size: 18px; }
.project-detail-progress h4 { margin: 0 0 12px; font-size: 16px; color: #2271b1; }
.project-progress-item { padding: 15px; margin-bottom: 12px; background: #f8f9fa; border-radius: 6px; border-left: 3px solid #2271b1; }
.project-progress-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #e5e5e5; font-size: 13px; color: #2271b1; font-weight: 600; }
.project-progress-item div { font-size: 14px; line-height: 1.7; color: #333; }
.project-progress-empty { text-align: center; color: #999; padding: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; margin: 10px 0 6px; font-weight: 600; color: #344054; font-size: 14px; }
input, select, textarea { width: 100%; box-sizing: border-box; border: 1px solid #d0d7e2; border-radius: 4px; padding: 11px 12px; font-size: 14px; }
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  flex-shrink: 0;
  accent-color: #2271b1;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #2271b1; box-shadow: 0 0 0 3px rgba(34,113,177,.12); }
.action-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.action-row.centered { justify-content: center; }
.blue-btn, .green-btn, .gray-btn, .danger-btn, .mini-btn { border: none; border-radius: 4px; padding: 10px 15px; color: #fff; cursor: pointer; font-size: 14px; }
.blue-btn { background: #2271b1; }
.green-btn { background: #208740; }
.gray-btn { background: #6b7280; }
.danger-btn { background: #d63638; }
.mini-btn { background: #2271b1; padding: 7px 10px; font-size: 12px; }
.full-btn { width: 100%; padding: 12px 16px; font-size: 16px; }
.field-tip { margin-top: 6px; font-size: 13px; min-height: 20px; color: #667085; }
.field-tip.ok { color: #15803d; }
.field-tip.err { color: #b42318; }
.form-message { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 6px; font-size: 13px; white-space: pre-line; line-height: 1.6; }
.form-message.show { display: block; }
.form-message.ok { background: #dcfce7; color: #166534; }
.form-message.err { background: #fee2e2; color: #991b1b; }
.side-box { background: #f8fbff; border: 1px solid #e5edf7; border-radius: 8px; padding: 14px; }
.side-title-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.side-title-row h3 { flex-shrink: 0; white-space: nowrap; }
.history-list { display: flex; flex-direction: column; gap: 10px; max-height: 500px; overflow: auto; margin-top: 12px; }
.history-item { background: #fff; border: 1px solid #e4eaf3; border-left: 4px solid #2271b1; border-radius: 6px; padding: 12px; }
.history-item .meta { display: flex; justify-content: space-between; color: #667085; font-size: 12px; margin-bottom: 6px; }
.history-item .title { font-weight: 700; color: #243b55; margin-bottom: 6px; }
.search-bar { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 10px; margin-bottom: 14px; }
.table-shell { overflow-x: auto; }
.auth-table { width: 100%; border-collapse: collapse; }
.auth-table th, .auth-table td { padding: 12px 10px; border-bottom: 1px solid #edf2f7; text-align: left; font-size: 13px; }
.auth-table th { background: #f8fafc; color: #344054; }
/* 子账户列表操作按钮统一尺寸，避免“编辑/分配/删除”按钮大小不一致 */
.auth-table .sub-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 30px;
  padding: 0 10px !important;
  line-height: 1;
  font-size: 12px !important;
  box-sizing: border-box;
  vertical-align: middle;
}
.status-tag { display: inline-block; padding: 4px 9px; border-radius: 20px; font-size: 12px; }
.status-tag.active { background: #dcfce7; color: #166534; }
.status-tag.expired { background: #fee2e2; color: #991b1b; }
.status-tag.revoked { background: #e5e7eb; color: #374151; }
.status-tag.pending, .status-tag.cross_region { background: #fff3cd; color: #856404; }
.status-tag.approved { background: #d4edda; color: #155724; }
.status-tag.rejected { background: #f8d7da; color: #721c24; }
.status-tag.forwarded { background: #d1ecf1; color: #0c5460; }
.status-tag.terminated { background: #f3f4f6; color: #374151; }
.status-tag.under_construction { background: #e0f2fe; color: #0369a1; }
.status-tag.accepted_delivered { background: #dbeafe; color: #1e3a8a; }
.table-meta { margin-top: 10px; color: #667085; font-size: 13px; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.48); display: none; align-items: center; justify-content: center; padding: 12px; z-index: 100; }
.modal.show { display: flex; }
.modal-box { width: min(780px, 100%); background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 18px 60px rgba(0,0,0,.2); }
.modal-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.modal-header h3 { margin: 0; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-grid .full { grid-column: 1 / -1; }
.detail-list { display: grid; gap: 8px; }
.detail-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid #edf2f7; }
.news-page { padding-top: 10px; }
.news-page-title { text-align: center; margin-bottom: 28px; }
.news-page-title h1 { margin: 0; font-size: 34px; font-weight: 500; color: #243b55; }
.news-search-bar { margin: 0 auto 26px; max-width: 720px; }
.news-search-form { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
.news-search-form input { height: 46px; border-radius: 24px; padding: 0 18px; border: 1px solid #d8dee6; background: #fff; }
.news-search-form input:focus { border-color: #208740; box-shadow: 0 0 0 3px rgba(32,135,64,.12); }
.news-search-btn, .news-reset-btn { height: 46px; padding: 0 22px; border-radius: 24px; border: 1px solid #208740; cursor: pointer; font-size: 14px; }
.news-search-btn { background: #208740; color: #fff; }
.news-search-btn:hover { background: #1a6d35; }
.news-reset-btn { background: #fff; color: #208740; }
.news-reset-btn:hover { background: #f6fbf7; }
.news-shell { background: #fff; border-radius: 0; box-shadow: none; padding: 0 0 24px; }
.news-list { display: flex; flex-direction: column; gap: 0; }
.legacy-news-list { border-top: 1px solid #ddd; padding: 0 6px; }
.news-item { padding: 30px 0; border-bottom: 1px solid #ddd; }
.news-item-link { display: block; color: inherit; }
.news-item-inner { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 26px; align-items: start; }
.news-date { color: #208740; text-align: right; display: flex; flex-direction: column; align-items: flex-end; line-height: 1; padding-top: 2px; }
.news-date-day { display: block; font-size: 26px; line-height: 40px; font-weight: 400; letter-spacing: .5px; }
.news-date-year { display: block; font-size: 18px; line-height: 34px; white-space: nowrap; }
.news-content { color: #6d6d6d; }
.news-content h3 { margin: 0 0 10px; font-size: 20px; line-height: 32px; font-weight: 400; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-meta { line-height: 30px; color: #999; margin-bottom: 10px; font-size: 14px; }
.news-item-meta { margin: 0 0 8px; font-size: 13px; color: #667085; }
.news-item-views .news-view-count { color: #208740; font-weight: 400; }
.news-summary { line-height: 26px; font-size: 16px; color: #606060; }
.news-item:hover .news-content h3 { color: #208740; }
.news-item-top { background: #fffbe6; border-left: 3px solid #f5222d; padding-left: 12px; border-radius: 4px; }
.news-top-badge { display: inline-block; background: #f5222d; color: #fff; font-size: 12px; font-weight: 600; padding: 1px 6px; border-radius: 3px; margin-right: 6px; vertical-align: middle; line-height: 20px; }
.news-empty { padding: 30px 0; text-align: center; color: #6b7280; }
.news-actions { margin-top: 22px; }
.news-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; padding: 0 6px; flex-wrap: wrap; }
.news-page-btn { min-width: 42px; height: 40px; border: 1px solid #d8dee6; background: #fff; color: #344054; border-radius: 4px; cursor: pointer; padding: 0 12px; }
.news-page-btn.active { background: #208740; border-color: #208740; color: #fff; }
.news-page-btn:disabled { opacity: .45; cursor: not-allowed; }
.news-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
.news-detail-card, .news-side-box { background: #fff; border: 1px solid #e5e7eb; padding: 26px; }
.news-detail-title { margin: 0 0 14px; font-size: 30px; line-height: 1.4; text-align: center; color: #1f2937; font-weight: 500; }
.news-detail-meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px 32px; color: #667085; font-size: 14px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid #eceff3; }
.news-detail-stat { display: inline-flex; align-items: baseline; gap: 8px; }
.news-detail-stat-label { color: #98a2b3; font-size: 13px; }
.news-detail-stat-views .news-view-count { color: #208740; font-size: 16px; font-weight: 400; letter-spacing: 0; }
.news-related-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.news-related-views { color: #208740; font-size: 12px; }
.news-detail-content { color: #374151; line-height: 1.9; font-size: 16px; word-break: break-word; }
.news-detail-content img { max-width: 100%; height: auto; }

/* 富文本内容样式支持 */
.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4,
.news-detail-content h5,
.news-detail-content h6 {
  margin: 1.5em 0 0.8em;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2937;
}
.news-detail-content h1 { font-size: 2em; }
.news-detail-content h2 { font-size: 1.6em; }
.news-detail-content h3 { font-size: 1.3em; }
.news-detail-content h4 { font-size: 1.1em; }
.news-detail-content h5 { font-size: 1em; }
.news-detail-content h6 { font-size: 0.9em; }

.news-detail-content p {
  margin: 0.8em 0;
  line-height: 1.9;
}

.news-detail-content hr {
  border: none;
  border-top: 2px solid #e5e7eb;
  margin: 2em 0;
  padding: 0;
}

.news-detail-content ul,
.news-detail-content ol {
  margin: 1em 0;
  padding-left: 2em;
}
.news-detail-content li {
  margin: 0.5em 0;
  line-height: 1.8;
}

.news-detail-content blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #3b82f6;
  background: #f8fafc;
  color: #475569;
  font-style: italic;
}

.news-detail-content code {
  background: #f1f5f9;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #ef4444;
}

.news-detail-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.5em;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5em 0;
}
.news-detail-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.news-detail-content a {
  color: #3b82f6;
  text-decoration: underline;
}
.news-detail-content a:hover {
  color: #2563eb;
}

.news-detail-content strong,
.news-detail-content b {
  font-weight: 700;
  color: #1f2937;
}

.news-detail-content em,
.news-detail-content i {
  font-style: italic;
}

.news-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.news-detail-content th,
.news-detail-content td {
  border: 1px solid #e5e7eb;
  padding: 0.75em 1em;
  text-align: left;
}
.news-detail-content th {
  background: #f8fafc;
  font-weight: 600;
  color: #1f2937;
}
.news-side-title { font-size: 20px; color: #1f2937; margin-bottom: 14px; }
.news-related-list { display: flex; flex-direction: column; gap: 12px; }
.news-related-item { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-bottom: 1px solid #edf2f7; }
.news-related-item strong { font-size: 15px; font-weight: 500; color: #1f2937; }
.news-related-item span, .news-related-empty { font-size: 13px; color: #98a2b3; }
.plan-iframe-page { padding: 6px 0 20px; }
.plan-page-header { text-align: center; margin-bottom: 20px; }
.plan-page-header h1 { margin: 0; font-size: 32px; color: #333; font-weight: 500; }
.plan-iframe-wrap { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.1); overflow: hidden; height: calc(100vh - 250px); min-height: 700px; max-height: 900px; }
.plan-iframe { display: block; width: 100%; height: 100%; border: none; }
.plan-static-disclaimer { margin-top: 20px; padding: 15px 20px; background: #f8f9fa; border-left: 4px solid #6c757d; border-radius: 6px; }
.plan-static-disclaimer p { margin: 0; color: #495057; font-size: 14px; line-height: 1.6; }
.plan-disclaimer-box { margin-top: 30px; padding: 25px 30px; background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%); border-left: 6px solid #f59e0b; border-radius: 8px; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15); display: flex; align-items: flex-start; gap: 15px; }
.plan-disclaimer-icon { font-size: 32px; line-height: 1; flex-shrink: 0; }
.plan-disclaimer-content h3 { margin: 0 0 12px 0; color: #92400e; font-size: 20px; font-weight: 700; border-bottom: 2px solid #f59e0b; padding-bottom: 8px; display: inline-block; }
.plan-disclaimer-content p { margin: 0; color: #78350f; font-size: 14px; line-height: 1.8; font-weight: 500; white-space: pre-line; }
.download-list { display: flex; flex-direction: column; gap: 15px; }
.download-item { padding: 0; }
.download-list-item { display: flex; align-items: center; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; padding: 20px 25px; transition: all .3s; }
.download-list-item:hover { box-shadow: 0 3px 15px rgba(0,0,0,.08); border-color: #208740; }
.list-item-icon { flex-shrink: 0; margin-right: 20px; }
.file-badge { display: inline-flex; width: 50px; height: 50px; border-radius: 8px; background: #208740; color: #fff; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.list-item-info { flex: 1; min-width: 0; }
.list-item-info h4 { margin: 0 0 8px; font-size: 16px; line-height: 1.4; color: #333; letter-spacing: .3px; }
.list-item-meta { margin: 0 0 6px; font-size: 12px; color: #999; letter-spacing: .2px; }
.list-item-desc { margin: 0; font-size: 13px; color: #666; line-height: 1.6; letter-spacing: .2px; }
.list-item-action { flex-shrink: 0; margin-left: 20px; }
.download-btn { display: inline-block; padding: 8px 20px; background: #208740; color: #fff; border-radius: 4px; text-decoration: none; transition: all .3s; font-size: 13px; }
.download-btn:hover { background: #1a6d35; color: #fff; }
.download-search-bar { 
  display: flex; 
  gap: 12px; 
  margin-bottom: 20px; 
  align-items: center; 
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 1px solid #dee2e6;
}
.download-search-input { 
  flex: 1; 
  padding: 12px 18px; 
  border: 2px solid #dee2e6; 
  border-radius: 8px; 
  font-size: 15px; 
  outline: none; 
  transition: all 0.3s ease;
  background: #fff;
}
.download-search-input:focus { 
  border-color: #208740; 
  box-shadow: 0 0 0 4px rgba(32, 135, 64, 0.15);
  background: #fff;
}
.download-search-input::placeholder {
  color: #6c757d;
}
.download-search-btn { 
  padding: 12px 28px; 
  background: linear-gradient(135deg, #208740 0%, #1a6d35 100%); 
  color: #fff; 
  border: none; 
  border-radius: 8px; 
  font-size: 15px;
  font-weight: 500;
  cursor: pointer; 
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(32, 135, 64, 0.25);
}
.download-search-btn:hover { 
  background: linear-gradient(135deg, #1a6d35 0%, #145a2a 100%);
  box-shadow: 0 4px 12px rgba(32, 135, 64, 0.35);
  transform: translateY(-1px);
}
.download-search-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(32, 135, 64, 0.25);
}
.filter-tabs { display: flex; justify-content: center; margin-bottom: 18px; }
.tab { background: #208740; border-radius: 20px; color: #fff; padding: 8px 20px; border: none; }
.info-banner { background: #f8fafc; border: 1px solid #e2e8f0; padding: 12px; border-radius: 8px; color: #475467; margin-bottom: 14px; }
.check-row { display: flex; gap: 20px; flex-wrap: wrap; margin: 12px 0; align-items: center; }
.check-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.35;
}
.login-page { background: #111; }
.login-screen { min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.login-bg { position: absolute; inset: 0; background: url('/legacy-assets/image/1688287200989827.jpg') center/cover no-repeat; }
.login-bg::after { content:""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.login-card { position: relative; z-index: 1; width: min(420px, calc(100vw - 24px)); background: #fff; border-radius: 12px; padding: 34px 30px; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.login-logo { text-align: center; margin-bottom: 22px; }
.login-logo img { max-width: 80px; }
.login-logo h2 { margin: 10px 0 6px; font-size: 24px; }
.login-logo p { margin: 0; color: #777; font-size: 13px; }
.login-form .login-options { display: flex; justify-content: space-between; margin: 10px 0 16px; font-size: 13px; color: #555; }
.login-error { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 6px; background: #fff2f0; color: #cf1322; border: 1px solid #ffccc7; }
.login-error.show { display: block; }
.hidden-debug { display: none; }
.content-prose { line-height: 1.8; color: #475467; }
@media (max-width: 1280px) { .site-header-inner { grid-template-columns: 280px 1fr 180px; padding: 0 20px; } .site-nav a { padding: 26px 12px; font-size: 16px; } }
@media (max-width: 1100px) { .site-header { height: auto; } .site-header-inner { grid-template-columns: 1fr; padding: 14px 16px; height: auto; } .site-header-mid, .site-header-right { justify-content: flex-start; } .site-nav { justify-content: flex-start; flex-wrap: wrap; } .site-nav a { padding: 10px 0; margin-right: 18px; line-height: 1.6; } .site-nav a.active::after, .site-nav a:hover::after { left: 0; right: 0; bottom: 0; } .project-layout { grid-template-columns: 1fr; } .project-side-card-legacy { padding: 0; } }
@media (max-width: 860px) { .search-bar, .grid-2, .modal-grid, .news-detail-layout, .news-search-form, .project-detail-grid { grid-template-columns: 1fr; } .project-form-card-legacy { padding: 22px 18px; } .project-history-head { align-items: stretch; flex-wrap: wrap; } .project-history-search { flex-direction: column; } .project-history-search input,
.project-history-search select { width: 100%; } .project-progress-head { flex-direction: column; align-items: flex-start; } .download-list-item { padding: 15px; flex-wrap: wrap; } .list-item-icon { margin-right: 15px; margin-bottom: 10px; } .list-item-info { width: calc(100% - 65px); margin-bottom: 10px; } .list-item-action { margin-left: 0; width: 100%; text-align: right; } .news-item-inner { grid-template-columns: 1fr; gap: 10px; } .news-date { display: none; } .news-item { padding: 16px 0; } .news-content h3 { margin-bottom: 0; font-size: 17px; line-height: 28px; } .news-meta { display: block; margin-bottom: 0; } .news-summary { display: none; } .news-detail-card, .news-side-box { padding: 18px; } .news-detail-title { font-size: 24px; } .news-detail-meta { gap: 14px; flex-wrap: wrap; } .plan-page-header h1 { font-size: 24px; } .plan-iframe-wrap { height: calc(100vh - 200px); min-height: 600px; max-height: 800px; border-radius: 8px; } .plan-disclaimer-box { padding: 18px; } }
@media (max-width: 860px) { #floating-ball { width: 60px; height: 60px; right: 18px; bottom: 18px; } #chat-popup { right: 4vw; left: 4vw; bottom: 16px; width: auto; min-width: auto; min-height: 70vh; height: 70vh; border-radius: 12px; } }

/* 代理商报备信息弹窗样式 */
.agent-info-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.summary-item .label {
  font-size: 13px;
  color: #667085;
  margin-bottom: 6px;
}

.summary-item .value {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
}

.summary-item .value.success {
  color: #15803d;
}

.summary-item .value.error {
  color: #dc2626;
}

.summary-item .value.warning {
  color: #f59e0b;
}

.latest-review-section {
  margin-bottom: 20px;
  padding: 16px;
  background: #f0f9ff;
  border-left: 4px solid #0ea5e9;
  border-radius: 6px;
}

.latest-review-section h4 {
  margin: 0 0 12px 0;
  font-size: 16px;
  color: #0c4a6e;
  font-weight: 600;
}

.review-item {
  background: #fff;
  padding: 14px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.review-project-name {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.review-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.review-status.status-approved {
  background: #dcfce7;
  color: #166534;
}

.review-status.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.review-time,
.review-reason {
  font-size: 13px;
  color: #667085;
  margin-top: 6px;
  line-height: 1.6;
}

.review-reason {
  padding: 8px;
  background: #fef3c7;
  border-radius: 4px;
  border-left: 3px solid #f59e0b;
}

.project-list-section h4 {
  margin: 0 0 12px 0;
  font-size: 16px;
  color: #1f2937;
  font-weight: 600;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
}

.project-list-item {
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #2271b1;
  border-radius: 6px;
  transition: all 0.2s;
}

.project-list-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left-color: #0ea5e9;
}

.project-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 12px;
}

.project-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  flex: 1;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge.status-approved {
  background: #dcfce7;
  color: #166534;
}

.status-badge.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.status-badge.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.status-cross-region {
  background: #ede9fe;
  color: #5b21b6;
}

.status-badge.status-forwarded {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge.status-terminated {
  background: #f3f4f6;
  color: #374151;
}

.status-badge.status-under-construction {
  background: #e0f2fe;
  color: #0369a1;
}

.status-badge.status-accepted-delivered {
  background: #dbeafe;
  color: #1e3a8a;
}

.project-item-info {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #667085;
  flex-wrap: wrap;
}

.project-item-info span {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 860px) {
  .agent-info-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .project-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .project-item-info {
    flex-direction: column;
    gap: 6px;
  }
}

.page-body {
  min-height: calc(100vh - 90px);
}

.site-footer {
  margin-top: 40px;
  padding: 24px 16px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-company {
  font-size: 14px;
  color: #667085;
}

.footer-beian {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #98a2b3;
}

.footer-beian a {
  color: #98a2b3;
  transition: color 0.2s;
}

.footer-beian a:hover {
  color: #208740;
}

.footer-beian-sep {
  color: #d0d5dd;
}

.footer-gabeian {
  color: #98a2b3;
}
