/* ============================================



   咨明合荐平台 - 全局样式系统



   主题：科技蓝 / 深灰系



   ============================================ */







/* ===== CSS Variables ===== */



:root {



  --primary: #1a56db;



  --primary-dark: #1648c0;



  --primary-light: #3b82f6;



  --primary-bg: #eff6ff;



  --primary-bg-hover: #dbeafe;



  --secondary: #475569;



  --accent: #0ea5e9;



  --success: #16a34a;



  --success-bg: #f0fdf4;



  --warning: #f59e0b;



  --warning-bg: #fffbeb;



  --danger: #dc2626;



  --danger-bg: #fef2f2;



  --info: #6366f1;



  --info-bg: #eef2ff;







  --bg-base: #f8fafc;



  --bg-card: #ffffff;



  --bg-sidebar: #1e293b;



  --bg-sidebar-hover: #334155;



  --bg-sidebar-active: #1a56db;



  --bg-header: #ffffff;







  --text-primary: #0f172a;



  --text-secondary: #475569;



  --text-tertiary: #94a3b8;



  --text-light: #cbd5e1;



  --text-white: #ffffff;







  --border-color: #e2e8f0;



  --border-light: #f1f5f9;







  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);



  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);



  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);



  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);



  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);







  --radius-sm: 6px;



  --radius: 8px;



  --radius-lg: 12px;



  --radius-xl: 16px;



  --radius-full: 9999px;







  --sidebar-w: 240px;



  --header-h: 60px;







  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;



  --font-mono: "SF Mono", "Fira Code", "Consolas", monospace;



}







/* ===== Reset ===== */



* { margin: 0; padding: 0; box-sizing: border-box; }



html { font-size: 14px; scroll-behavior: smooth; }



body {



  font-family: var(--font-sans);



  background: var(--bg-base);



  color: var(--text-primary);



  line-height: 1.6;



  -webkit-font-smoothing: antialiased;



}



a { color: var(--primary); text-decoration: none; transition: color .2s; }



a:hover { color: var(--primary-dark); }



img { max-width: 100%; display: block; }



button { font-family: inherit; cursor: pointer; border: none; outline: none; }



input, textarea, select { font-family: inherit; outline: none; }



ul, ol { list-style: none; }







/* ===== Utility Classes ===== */



.flex { display: flex; }



.flex-col { flex-direction: column; }



.items-center { align-items: center; }



.justify-center { justify-content: center; }



.justify-between { justify-content: space-between; }



.flex-1 { flex: 1; }



.gap-1 { gap: 4px; }



.gap-2 { gap: 8px; }



.gap-3 { gap: 12px; }



.gap-4 { gap: 16px; }



.gap-6 { gap: 24px; }



.text-center { text-align: center; }



.text-right { text-align: right; }



.text-sm { font-size: 13px; }



.text-xs { font-size: 12px; }



.text-lg { font-size: 16px; }



.text-xl { font-size: 20px; }



.text-2xl { font-size: 24px; }



.text-3xl { font-size: 30px; }



.font-bold { font-weight: 700; }



.font-semibold { font-weight: 600; }



.font-medium { font-weight: 500; }



.text-primary { color: var(--primary); }



.text-secondary { color: var(--text-secondary); }



.text-tertiary { color: var(--text-tertiary); }



.text-success { color: var(--success); }



.text-warning { color: var(--warning); }



.text-danger { color: var(--danger); }



.text-white { color: var(--text-white); }



.mt-1 { margin-top: 4px; }



.mt-2 { margin-top: 8px; }



.mt-3 { margin-top: 12px; }



.mt-4 { margin-top: 16px; }



.mt-6 { margin-top: 24px; }



.mt-8 { margin-top: 32px; }



.mb-1 { margin-bottom: 4px; }



.mb-2 { margin-bottom: 8px; }



.mb-3 { margin-bottom: 12px; }



.mb-4 { margin-bottom: 16px; }



.mb-6 { margin-bottom: 24px; }



.p-2 { padding: 8px; }



.p-3 { padding: 12px; }



.p-4 { padding: 16px; }



.p-6 { padding: 24px; }



.hidden { display: none !important; }



.w-full { width: 100%; }



.cursor-pointer { cursor: pointer; }



.overflow-hidden { overflow: hidden; }



.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }







/* ===== Buttons ===== */



.btn {



  display: inline-flex; align-items: center; justify-content: center;



  gap: 6px; padding: 8px 20px; border-radius: var(--radius);



  font-size: 14px; font-weight: 500; transition: all .2s;



  white-space: nowrap; line-height: 1.5;



}



.btn-primary { background: var(--primary); color: #fff; }



.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }



.btn-secondary { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-color); }



.btn-secondary:hover { background: var(--border-light); border-color: var(--text-tertiary); }



.btn-success { background: var(--success); color: #fff; }



.btn-success:hover { background: #15803d; color: #fff; }



.btn-danger { background: var(--danger); color: #fff; }



.btn-danger:hover { background: #b91c1c; color: #fff; }



.btn-warning { background: var(--warning); color: #fff; }



.btn-warning:hover { background: #d97706; color: #fff; }



.btn-ghost { background: transparent; color: var(--text-secondary); }



.btn-ghost:hover { background: var(--border-light); color: var(--text-primary); }



.btn-sm { padding: 5px 12px; font-size: 12px; }



.btn-lg { padding: 12px 28px; font-size: 16px; }



.btn-block { width: 100%; }



.btn:disabled { opacity: .5; cursor: not-allowed; }







/* ===== Badges & Tags ===== */



.badge {



  display: inline-flex; align-items: center; gap: 4px;



  padding: 2px 8px; border-radius: var(--radius-full);



  font-size: 12px; font-weight: 500; line-height: 1.5;



}



.badge-primary { background: var(--primary-bg); color: var(--primary); }



.badge-success { background: var(--success-bg); color: var(--success); }



.badge-warning { background: var(--warning-bg); color: var(--warning); }



.badge-danger { background: var(--danger-bg); color: var(--danger); }



.badge-info { background: var(--info-bg); color: var(--info); }



.badge-gray { background: var(--border-light); color: var(--text-secondary); }







.tag {



  display: inline-flex; align-items: center;



  padding: 2px 10px; border-radius: 4px;



  font-size: 12px; color: var(--text-secondary);



  background: var(--border-light);



}







/* ===== Cards ===== */



.card {



  background: var(--bg-card);



  border-radius: var(--radius-lg);



  box-shadow: var(--shadow);



  overflow: hidden;



  transition: box-shadow .2s, transform .2s;



}



.card:hover { box-shadow: var(--shadow-md); }



.card-body { padding: 20px; }



.card-header {



  padding: 16px 20px;



  border-bottom: 1px solid var(--border-color);



  display: flex; align-items: center; justify-content: space-between;



}



.card-title { font-size: 16px; font-weight: 600; }







/* 需求大厅（专家端：美学重设计 v2） */
.demands-head { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:16px; gap:12px; flex-wrap:wrap; }
.demands-title { font-size:20px; font-weight:700; margin:0; color:#1f1f1f; letter-spacing:.3px; }
.demands-sub { margin:4px 0 0; font-size:13px; color:var(--text-tertiary); }
.demands-count { flex-shrink:0; font-size:13px; color:#E8455F; background:rgba(232,69,95,.08); padding:6px 12px; border-radius:999px; font-weight:600; }
/* 筛选栏 */
.dh-filter { display:flex; flex-wrap:wrap; align-items:center; gap:10px; background:#fff; border:1px solid var(--border-color); border-radius:14px; padding:14px 16px; margin-bottom:18px; box-shadow:0 2px 12px rgba(15,23,42,.04); }
.dh-inp { height:38px; min-width:230px; flex:1 1 230px; padding:0 14px; border:1px solid var(--border-color); border-radius:10px; font-size:13px; outline:none; background:#fafbfc; color:#1f1f1f; transition:.15s; }
.dh-inp::placeholder { color:#9ca3af; }
.dh-inp:focus { border-color:#E8455F; background:#fff; box-shadow:0 0 0 3px rgba(232,69,95,.08); }
.dh-sel { height:38px; min-width:150px; padding:0 12px; border:1px solid var(--border-color); border-radius:10px; font-size:13px; background:#fafbfc; color:#1f1f1f; cursor:pointer; outline:none; transition:.15s; }
.dh-sel:focus { border-color:#E8455F; box-shadow:0 0 0 3px rgba(232,69,95,.08); }
.dh-filter .btn { height:38px; padding:0 20px; font-size:13px; border-radius:10px; }
/* 专家大厅三分项检索：姓名 / 所属行业 / 专业证书 */
.dh-filter .dh-field { display:flex; flex-direction:column; gap:5px; flex:1 1 190px; min-width:170px; }
.dh-filter .dh-field-label { font-size:12px; color:#64748b; line-height:1; }
.dh-filter .dh-field .dh-inp { width:100%; min-width:0; flex:none; }
.dh-filter .dh-btns { display:flex; gap:10px; align-self:flex-end; margin-left:auto; }
@media (max-width: 640px) {
  .dh-filter .dh-field { flex:1 1 100%; }
  .dh-filter .dh-btns { margin-left:0; }
}
/* 卡片网格 */
.dh-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(370px, 1fr)); gap:16px; }
.dh-card { position:relative; display:flex; flex-direction:column; background:#fff; border:1px solid var(--border-color); border-radius:14px; padding:18px 18px 16px 22px; overflow:hidden; transition:transform .2s, box-shadow .2s, border-color .2s; }
.dh-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background:linear-gradient(180deg,#E8455F 0%, #ff7a8c 100%); }
.dh-card:hover { transform:translateY(-3px); box-shadow:0 16px 32px rgba(232,69,95,.13), 0 2px 8px rgba(0,0,0,.04); border-color:rgba(232,69,95,.32); }
.dh-card-top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.dh-type { font-size:12px; font-weight:600; color:#2b3a8a; background:linear-gradient(135deg,#eaf1ff 0%,#f3eaff 100%); padding:4px 10px; border-radius:8px; letter-spacing:.2px; }
.dh-status { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:#16a34a; flex-shrink:0; }
.dh-status::before { content:''; width:7px; height:7px; border-radius:50%; background:#16a34a; box-shadow:0 0 0 3px rgba(22,163,74,.15); }
.dh-title { font-size:16px; font-weight:700; color:#1f1f1f; margin:0 0 8px; letter-spacing:.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dh-entp { font-size:12.5px; color:#6b7280; display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.dh-id { color:#9ca3af; background:#f4f5f7; padding:2px 8px; border-radius:6px; font-size:11.5px; flex-shrink:0; }
.dh-desc { font-size:13px; color:#4b5563; line-height:1.6; margin:0 0 12px; min-height:41px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word; }
.dh-tags { display:flex; flex-wrap:wrap; gap:8px; padding-top:13px; border-top:1px dashed var(--border-color); margin-top:auto; }
.dh-tag { display:inline-flex; align-items:center; gap:5px; font-size:12.5px; color:#374151; background:#f4f5f7; padding:5px 11px; border-radius:8px; }
.dh-tag.money { color:#b45309; background:rgba(245,158,11,.12); }
.dh-tag.time { color:#1d4ed8; background:rgba(59,108,255,.10); }
/* 专家大厅卡片：专业证书 chips + 多组报价明细 */
.eh-certs { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0 0 10px; }
.eh-certs-label { font-size:12px; color:#64748b; flex:none; }
.eh-cert-chip { display:inline-flex; align-items:center; max-width:160px; font-size:12px; color:#1d4ed8; background:rgba(59,108,255,.10); border:1px solid rgba(59,108,255,.18); padding:2px 9px; border-radius:999px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.eh-price-box { background:#fafbfc; border:1px dashed var(--border-color); border-radius:10px; padding:7px 12px 8px; margin:0 0 12px; }
.eh-price-title { font-size:12px; color:#64748b; margin-bottom:2px; }
.eh-price-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:3px 0; font-size:12.5px; line-height:1.5; }
.eh-price-row + .eh-price-row { border-top:1px dotted var(--border-color); }
.eh-price-key { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#4b5563; }
.eh-price-key b { color:#1f2937; font-weight:600; }
.eh-price-val { flex:none; font-weight:700; color:#E8455F; white-space:nowrap; }
.dh-actions { display:flex; gap:8px; margin-top:14px; }
.dh-actions .btn { flex:1; justify-content:center; padding:8px 0; font-size:13px; border-radius:9px; }
.demand-empty { text-align:center; padding:56px 20px; color:var(--text-tertiary); grid-column:1 / -1; }
.demand-empty-ico { font-size:40px; margin-bottom:10px; }
.demand-empty p { font-size:15px; font-weight:600; color:#374151; margin:0 0 4px; }
/* 分页 */
.demand-pager { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:22px; padding-top:18px; border-top:1px dashed var(--border-color); }
.demand-pager-info { font-size:13px; color:var(--text-tertiary); }
.pager-btns { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.pager-btn { min-width:36px; height:36px; padding:0 12px; font-size:13px; border-radius:9px; border:1px solid var(--border-color); background:#fff; color:#374151; cursor:pointer; transition:all .15s; }
.pager-btn:hover:not(.disabled):not(.active) { border-color:rgba(232,69,95,.4); color:#E8455F; }
.pager-btn.active { background:linear-gradient(135deg,#E8455F 0%,#ff7a8c 100%); color:#fff; border-color:transparent; font-weight:600; box-shadow:0 4px 12px rgba(232,69,95,.25); }
.pager-btn.disabled { opacity:.45; cursor:not-allowed; }
.pager-ellipsis { color:var(--text-tertiary); padding:0 4px; }
.btn-blue-grad { background:linear-gradient(135deg, #3b6cff 0%, #5a4cff 100%); color:#fff; border:none; box-shadow:0 4px 12px rgba(74,108,255,.22); }
.btn-blue-grad:hover { filter:brightness(1.08); box-shadow:0 8px 18px rgba(74,108,255,.32); transform:translateY(-1px); color:#fff; }
/* 提交报价弹窗（专家端 v2） */
.q-amount-wrap { position: relative; }
.q-amount-wrap .q-cny { position:absolute; left:14px; top:50%; transform:translateY(-50%); color:#9ca3af; font-size:15px; font-weight:600; }
.q-amount-wrap .q-amount { padding-left:30px !important; font-size:15px; font-weight:600; }
.quote-fee-card { display:flex; align-items:center; gap:18px; padding:16px 20px; border-radius:14px; background:linear-gradient(135deg,#fff1f4 0%, #eef4ff 100%); border:1px solid rgba(232,69,95,.18); margin-bottom:18px; }
.qf-left { flex:1; min-width:0; }
.qf-label { font-size:12.5px; color:#6b7280; }
.qf-total { font-size:30px; font-weight:800; color:#E8455F; line-height:1.15; letter-spacing:-.5px; margin-top:2px; }
.qf-formula { font-size:12px; color:#9ca3af; margin-top:6px; }
.qf-divider { width:1px; align-self:stretch; background:rgba(15,23,42,.10); }
.qf-right { text-align:right; flex-shrink:0; }
.qf-sub-label { font-size:12px; color:#6b7280; }
.qf-sub { font-size:16px; font-weight:700; color:#1f2937; margin-top:2px; }
.qf-hint { font-size:11px; color:#9ca3af; margin-top:6px; max-width:215px; line-height:1.5; }
.q-upload { display:flex; align-items:center; gap:8px; padding:10px 14px; border:1px dashed var(--border-color); border-radius:10px; color:#6b7280; font-size:13px; cursor:pointer; background:#fafbfc; transition:.15s; }
.q-upload:hover { border-color:rgba(232,69,95,.5); color:#E8455F; background:#fff7f9; }
.q-upload-ico { font-size:16px; }
.qf-files { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.qf-file { display:inline-flex; align-items:center; gap:6px; background:#f4f5f7; border:1px solid var(--border-color); border-radius:8px; padding:5px 10px; font-size:12.5px; color:#374151; }







/* ===== Form Elements ===== */



.form-group { margin-bottom: 16px; }



.form-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--text-secondary); }



.form-label .req { color: var(--danger); margin-left: 2px; }



.form-input, .form-select, .form-textarea {



  width: 100%; padding: 9px 12px; border: 1px solid var(--border-color);



  border-radius: var(--radius); font-size: 14px; color: var(--text-primary);



  background: var(--bg-card); transition: border-color .2s, box-shadow .2s;



}



.form-input:focus, .form-select:focus, .form-textarea:focus {



  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.12);



}



.form-textarea { resize: vertical; min-height: 80px; }



.form-hint { font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }



.reg-tpl-link { font-size: 13px; color: var(--primary-color, #E8455F); text-decoration: none; padding: 4px 8px; border-radius: 6px; transition: all .15s; }



.reg-tpl-link:hover { background: rgba(232,69,95,.08); text-decoration: underline; }



.form-row { display: flex; gap: 16px; }



.form-row > .form-group { flex: 1; }







/* ===== Tables ===== */



.table-wrapper { overflow-x: auto; }



.table { width: 100%; border-collapse: collapse; font-size: 14px; }



.table th {



  text-align: left; padding: 12px 16px; background: var(--border-light);



  font-weight: 600; color: var(--text-secondary);



  border-bottom: 1px solid var(--border-color); white-space: nowrap;



}



.table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); }



.table tbody tr:hover { background: var(--border-light); }



.table-empty { text-align: center; padding: 40px; color: var(--text-tertiary); }







/* ===== Modal ===== */



.modal-overlay {

  position: fixed; inset: 0; background: rgba(38,32,26,.42);

  display: flex; align-items: center; justify-content: center;

  z-index: 1000; padding: 24px; backdrop-filter: blur(4px);

  animation: fadeIn .2s ease;

}

.modal {

  background: var(--bg-card); border-radius: 18px;

  max-width: 600px; width: 100%; max-height: 88vh;

  display: flex; flex-direction: column; overflow: hidden;

  box-shadow: 0 24px 60px rgba(38,32,26,.22), 0 2px 8px rgba(38,32,26,.06);

  animation: slideUp .25s cubic-bezier(.22,1,.36,1);

}

.modal-lg { max-width: 940px; }

.modal-xl { max-width: 1180px; width: 94vw; }

.modal-header {

  padding: 18px 26px; border-bottom: 1px solid #f2ede7;

  display: flex; align-items: center; justify-content: space-between;

  background: linear-gradient(180deg,#fffdfb 0%,#fffefd 100%);

  flex: none;

}

.modal-title { font-size: 16.5px; font-weight: 600; letter-spacing: .2px; color: #3d3630; }

.modal-close {

  width: 32px; height: 32px; border-radius: 50%; flex: none;

  display: flex; align-items: center; justify-content: center;

  font-size: 20px; color: #b3a99d; cursor: pointer; line-height: 1;

  transition: background .18s ease, color .18s ease;

}

.modal-close:hover { color: #E8455F; background: #fff1f0; }

.modal-body { padding: 24px 26px; overflow-y: auto; flex: 1; min-height: 0; }

.modal-body::-webkit-scrollbar { width: 8px; }

.modal-body::-webkit-scrollbar-thumb { background: #e6ded5; border-radius: 8px; }

.modal-body::-webkit-scrollbar-thumb:hover { background: #d6cabd; }

.modal-footer {

  padding: 16px 26px; border-top: 1px solid #f2ede7;

  display: flex; justify-content: flex-end; gap: 12px;

  background: #fdfcfa; flex: none;

}







@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }



@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }



@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }







/* ===== Toast ===== */



.toast-container {



  position: fixed; top: 80px; right: 24px; z-index: 2000;



  display: flex; flex-direction: column; gap: 8px;



}



.toast {



  background: var(--bg-card); border-radius: var(--radius);



  box-shadow: var(--shadow-lg); padding: 12px 20px;



  display: flex; align-items: center; gap: 8px;



  min-width: 280px; max-width: 400px;



  border-left: 4px solid var(--primary);



  animation: slideInRight .3s ease;



}



.toast-success { border-left-color: var(--success); }



.toast-error { border-left-color: var(--danger); }



.toast-warning { border-left-color: var(--warning); }



.toast-icon { font-size: 20px; }







/* ===== Progress Bar ===== */



.progress-bar {



  width: 100%; height: 8px; background: var(--border-light);



  border-radius: var(--radius-full); overflow: hidden;



}



.progress-bar-fill {



  height: 100%; background: var(--primary); border-radius: var(--radius-full);



  transition: width .3s ease;



}







/* ===== Avatar ===== */



.avatar {



  border-radius: var(--radius-full); object-fit: cover;



  background: var(--primary);



  display: inline-flex; align-items: center; justify-content: center;



  color: var(--text-white); font-weight: 600; flex-shrink: 0;



}







/* ============================================



   官网门户样式



   ============================================ */



.portal-header {



  position: sticky; top: 0; z-index: 100;



  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);



  border-bottom: 1px solid var(--border-color);



}



.portal-nav {



  max-width: 1280px; margin: 0 auto; padding: 0 24px;



  height: var(--header-h); display: flex; align-items: center; justify-content: space-between;



}



.portal-logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--primary); }



.portal-logo .logo-icon {



  width: 36px; height: 36px; background: var(--primary);



  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;



  color: #fff; font-size: 18px; font-weight: 700;



}



.portal-menu { display: flex; align-items: center; gap: 32px; }



.portal-menu a { color: var(--text-secondary); font-weight: 500; font-size: 15px; }



.portal-menu a:hover, .portal-menu a.active { color: var(--primary); }



.portal-actions { display: flex; align-items: center; gap: 12px; }







.portal-hero {



  background: linear-gradient(135deg, #1a56db 0%, #2563eb 50%, #3b82f6 100%);



  color: #fff; padding: 80px 24px; text-align: center;



  position: relative; overflow: hidden;



}



.portal-hero::before {



  content: ''; position: absolute; inset: 0;



  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-opacity='0.05'%3E%3Cpolygon fill='%23fff' points='50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40'/%3E%3C/g%3E%3C/svg%3E");



}



.portal-hero-content { position: relative; max-width: 800px; margin: 0 auto; }



.portal-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }



.portal-hero p { font-size: 18px; opacity: .9; margin-bottom: 32px; }



.portal-hero-cta { display: flex; gap: 16px; justify-content: center; }



.portal-hero .btn-primary { background: #fff; color: var(--primary); }



.portal-hero .btn-primary:hover { background: #f0f0f0; transform: translateY(-2px); }



.portal-hero .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }



.portal-hero .btn-secondary:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }







.portal-section { max-width: 1280px; margin: 0 auto; padding: 64px 24px; }



.portal-section-title { text-align: center; margin-bottom: 48px; }



.portal-section-title h2 { font-size: 32px; font-weight: 700; color: var(--text-primary); }



.portal-section-title p { color: var(--text-secondary); margin-top: 8px; font-size: 16px; }







.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }



.advantage-card {



  background: var(--bg-card); border-radius: var(--radius-lg);



  padding: 24px; box-shadow: var(--shadow);



  transition: transform .2s, box-shadow .2s;



  border: 1px solid var(--border-light);



}



.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }



.advantage-icon {



  width: 48px; height: 48px; border-radius: var(--radius);



  display: flex; align-items: center; justify-content: center;



  font-size: 24px; margin-bottom: 16px;



}



.advantage-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }



.advantage-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }







.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }



.service-card { padding: 32px 24px; text-align: center; }



.service-card .service-icon { font-size: 40px; margin-bottom: 16px; }



.service-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }



.service-card p { font-size: 14px; color: var(--text-secondary); }







.fund-security {



  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);



  color: #fff; border-radius: var(--radius-xl); padding: 48px;



  display: flex; align-items: center; gap: 48px;



}



.fund-security-content { flex: 1; }



.fund-security-content h2 { font-size: 28px; margin-bottom: 16px; }



.fund-security-content p { opacity: .8; margin-bottom: 24px; line-height: 1.8; }



.fund-security-visual { flex: 0 0 300px; }

/* 双保障体系 */
.dual-guarantee {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, .05);
}
.dual-guarantee-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.dual-guarantee-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.dg-card {
  flex: 1;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid transparent;
}
.dg-card--purple { background: #f5f3ff; border-color: #ece4ff; }
.dg-card--yellow { background: #fefce8; border-color: #fdf2c7; }
.dg-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, .7);
}
.dg-card--purple .dg-card-icon { background: #ede9fe; }
.dg-card--yellow .dg-card-icon { background: #fef3c7; }
.dg-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
}
.dg-card-list { list-style: none; padding: 0; margin: 0; }
.dg-card-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}
.dg-card-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #94a3b8;
}
.dg-card--purple .dg-card-list li::before { background: #8b5cf6; }
.dg-card--yellow .dg-card-list li::before { background: #f59e0b; }
@media (max-width: 768px) {
  .dual-guarantee-grid { flex-direction: column; }
  .dual-guarantee { padding: 24px; }
}







.flow-steps { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }



.flow-step {



  display: flex; flex-direction: column; align-items: center;



  text-align: center; max-width: 140px;



}



.flow-step-icon {



  width: 56px; height: 56px; border-radius: var(--radius-full);



  background: var(--primary-bg); color: var(--primary);



  display: flex; align-items: center; justify-content: center;



  font-size: 24px; margin-bottom: 12px; font-weight: 700;



}



.flow-step p { font-size: 13px; font-weight: 500; color: var(--text-secondary); }



.flow-arrow { color: var(--text-tertiary); margin: 0 8px; font-size: 20px; align-self: center; margin-top: -20px; }







.entry-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }



.entry-card {



  padding: 32px; border-radius: var(--radius-lg);



  display: flex; align-items: center; gap: 24px; transition: transform .2s;



}



.entry-card:hover { transform: translateY(-2px); }



.entry-card-enterprise { background: linear-gradient(135deg, #1a56db, #3b82f6); color: #fff; }



.entry-card-expert { background: linear-gradient(135deg, #0f766e, #14b8a6); color: #fff; }



.entry-card .entry-icon { font-size: 48px; }



.entry-card h3 { font-size: 20px; margin-bottom: 4px; }



.entry-card p { opacity: .9; font-size: 14px; margin-bottom: 12px; }



.entry-card .btn { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.3); }



.entry-card .btn:hover { background: rgba(255,255,255,.3); color: #fff; }







.portal-footer {



  background: #0f172a; color: var(--text-light); padding: 48px 24px 24px;



}



.portal-footer-content {



  max-width: 1280px; margin: 0 auto;



  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;



}



.portal-footer h4 { color: #fff; margin-bottom: 16px; font-size: 14px; }



.portal-footer a { color: var(--text-light); font-size: 13px; display: block; margin-bottom: 8px; }



.portal-footer a:hover { color: #fff; }



.portal-footer-bottom {



  max-width: 1280px; margin: 32px auto 0; padding-top: 24px;



  border-top: 1px solid rgba(255,255,255,.1);



  text-align: center; font-size: 13px; opacity: .6;



}







/* Expert showcase */



.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }



.expert-card { padding: 20px; text-align: center; }



.expert-avatar { width: 80px; height: 80px; border-radius: var(--radius-full); margin: 0 auto 12px; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; font-weight: 700; }



.expert-card h4 { font-size: 16px; margin-bottom: 4px; }



.expert-card .expert-tag { font-size: 12px; color: var(--text-tertiary); margin-bottom: 8px; }



.expert-card .expert-stats { display: flex; justify-content: center; gap: 16px; font-size: 12px; color: var(--text-secondary); }







/* Course cards */



.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }



.course-card { overflow: hidden; }



.course-cover { height: 160px; background: linear-gradient(135deg, #1a56db, #3b82f6); display: flex; align-items: center; justify-content: center; font-size: 48px; color: rgba(255,255,255,.8); }



.course-body { padding: 16px; }



.course-body h4 { font-size: 15px; margin-bottom: 4px; }



.course-body p { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }



.course-price { display: flex; align-items: center; justify-content: space-between; }



.course-price .price { font-size: 20px; font-weight: 700; color: var(--danger); }







/* ============================================



   Dashboard Layout (Enterprise/Expert/Admin)



   ============================================ */



.dashboard-layout { display: flex; min-height: 100vh; }



.dashboard-sidebar {



  width: var(--sidebar-w); background: var(--bg-sidebar);



  display: flex; flex-direction: column; position: fixed;



  top: 0; bottom: 0; left: 0; z-index: 200;



}



.sidebar-logo {



  height: var(--header-h); display: flex; align-items: center; gap: 8px;



  padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.08);



}



.sidebar-logo .logo-icon {



  width: 32px; height: 32px; background: var(--primary);



  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;



  color: #fff; font-weight: 700; font-size: 14px;



}



.sidebar-logo span { color: #fff; font-weight: 700; font-size: 15px; }



.sidebar-nav { flex: 1; padding: 12px 0; overflow-y: auto; }



.sidebar-nav-group { margin-bottom: 8px; }



.sidebar-nav-title { padding: 8px 20px; font-size: 11px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 1px; }



.sidebar-nav-item {



  display: flex; align-items: center; gap: 10px;



  padding: 10px 20px; color: var(--text-light);



  cursor: pointer; transition: background .2s, color .2s;



  font-size: 14px; position: relative;



}



.sidebar-nav-item:hover { background: var(--bg-sidebar-hover); color: #fff; }



.sidebar-nav-item.active { background: var(--bg-sidebar-active); color: #fff; }



.sidebar-nav-item .nav-icon { font-size: 18px; width: 20px; text-align: center; }



.sidebar-nav-item .nav-badge {



  margin-left: auto; background: var(--danger); color: #fff;



  font-size: 10px; padding: 1px 6px; border-radius: var(--radius-full);



}



.sidebar-user {



  padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.08);



  display: flex; align-items: center; gap: 10px;



}



.sidebar-user .avatar { width: 36px; height: 36px; background: var(--primary); font-size: 14px; }



.sidebar-user-info { flex: 1; min-width: 0; }



.sidebar-user-name { color: #fff; font-size: 13px; font-weight: 500; }



.sidebar-user-role { color: var(--text-tertiary); font-size: 11px; }







.dashboard-main { flex: 1; margin-left: var(--sidebar-w); display: flex; flex-direction: column; }



.dashboard-header {



  height: var(--header-h); background: var(--bg-header);



  border-bottom: 1px solid var(--border-color);



  display: flex; align-items: center; justify-content: space-between;



  padding: 0 24px; position: sticky; top: 0; z-index: 99;



}



.dashboard-header-left { display: flex; align-items: center; gap: 16px; }



.dashboard-header-right { display: flex; align-items: center; gap: 16px; }



.header-search {



  width: 280px; padding: 7px 12px 7px 36px;



  border: 1px solid var(--border-color); border-radius: var(--radius);



  font-size: 13px; background: var(--bg-base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") 10px center no-repeat;



}



.header-icon-btn {



  width: 36px; height: 36px; border-radius: var(--radius);



  display: flex; align-items: center; justify-content: center;



  background: var(--bg-base); cursor: pointer; position: relative;



  font-size: 18px;



}



.header-icon-btn:hover { background: var(--border-light); }



.header-icon-btn .dot {



  position: absolute; top: 6px; right: 6px;



  width: 8px; height: 8px; background: var(--danger);



  border-radius: var(--radius-full); border: 2px solid var(--bg-header);



}



.notif-item { position: relative; padding: 14px 16px; border-bottom: 1px solid var(--border-light); cursor: pointer; transition: background .15s; }
.notif-item:hover { background: var(--bg-hover, #f8fafc); }
.notif-item.unread { background: #eff6ff; }
.notif-item-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.notif-item-title { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.notif-item-time { font-size: 12px; color: var(--text-tertiary); white-space: nowrap; }
.notif-item-body { font-size: 13px; color: var(--text-secondary); line-height: 1.5; padding-right: 18px; }
.notif-item-dot { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; background: var(--danger); border-radius: 50%; }
.notif-pager { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; gap: 12px; }






.dashboard-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }

/* 项目列表：分页固定在页面底部，卡片撑满剩余空间 */
.project-page-wrap { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.project-card { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.project-table-wrap { flex: 1; overflow: auto; min-height: 0; -webkit-overflow-scrolling: touch; }
.project-pager-fixed { margin-top: auto; }







/* ===== Stats Cards ===== */



.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }



.stat-card {



  background: var(--bg-card); border-radius: var(--radius-lg);



  padding: 20px; box-shadow: var(--shadow); position: relative; overflow: hidden;



}



.stat-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }



.stat-card-label { font-size: 13px; color: var(--text-secondary); }



.stat-card-icon { width: 40px; height: 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; }



.stat-card-value { font-size: 28px; font-weight: 700; }



.stat-card-trend { font-size: 12px; margin-top: 4px; }



.stat-card-trend.up { color: var(--success); }



.stat-card-trend.down { color: var(--danger); }







/* ===== Timeline ===== */



.timeline { position: relative; padding-left: 28px; }



.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border-color); }



.timeline-item { position: relative; padding-bottom: 24px; }



.timeline-item::before {



  content: ''; position: absolute; left: -24px; top: 4px;



  width: 12px; height: 12px; border-radius: var(--radius-full);



  background: var(--border-color); border: 2px solid var(--bg-card);



}



.timeline-item.done::before { background: var(--success); }



.timeline-item.current::before { background: var(--primary); box-shadow: 0 0 0 4px rgba(26,86,219,.2); }



.timeline-item.pending::before { background: var(--text-tertiary); }



.timeline-item-title { font-size: 14px; font-weight: 600; }



.timeline-item-desc { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }



.timeline-item-time { font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }







/* ===== Milestone Progress ===== */



.milestone-track { display: flex; align-items: center; gap: 0; margin: 20px 0; }



.milestone-node {



  display: flex; flex-direction: column; align-items: center;



  flex-shrink: 0; width: 80px;



}



.milestone-dot {



  width: 32px; height: 32px; border-radius: var(--radius-full);



  display: flex; align-items: center; justify-content: center;



  font-size: 13px; font-weight: 600; color: #fff;



  z-index: 1; border: 3px solid var(--bg-card);



}



.milestone-dot.done { background: var(--success); }



.milestone-dot.current { background: var(--primary); box-shadow: 0 0 0 4px rgba(26,86,219,.2); }



.milestone-dot.pending { background: var(--text-tertiary); }



.milestone-label { font-size: 11px; text-align: center; margin-top: 6px; color: var(--text-secondary); }



.milestone-line { flex: 1; height: 3px; background: var(--border-color); margin: 0 -4px; }



.milestone-line.done { background: var(--success); }







/* ===== Tabs ===== */



.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border-color); margin-bottom: 20px; }



.tab {



  padding: 10px 20px; cursor: pointer; font-size: 14px; font-weight: 500;



  color: var(--text-secondary); border-bottom: 2px solid transparent;



  margin-bottom: -2px; transition: color .2s, border-color .2s;



}



.tab:hover { color: var(--primary); }



.tab.active { color: var(--primary); border-bottom-color: var(--primary); }







/* ===== Chat ===== */



.chat-container { display: flex; height: calc(100vh - var(--header-h) - 48px); }



.chat-sidebar { width: 280px; border-right: 1px solid var(--border-color); overflow-y: auto; }



.chat-main { flex: 1; display: flex; flex-direction: column; }



.chat-header { padding: 16px; border-bottom: 1px solid var(--border-color); }



.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }



.chat-message { display: flex; gap: 8px; max-width: 70%; }



.chat-message.self { align-self: flex-end; flex-direction: row-reverse; }



.chat-message .avatar { width: 36px; height: 36px; font-size: 13px; }



.chat-message .msg-bubble { padding: 10px 14px; border-radius: var(--radius-lg); font-size: 14px; line-height: 1.5; }



.chat-message.self .msg-bubble { background: var(--primary); color: #fff; }



.chat-message.other .msg-bubble { background: var(--bg-card); border: 1px solid var(--border-color); }



.chat-input { padding: 12px 16px; border-top: 1px solid var(--border-color); display: flex; gap: 8px; }



.chat-input input { flex: 1; }







/* ===== Responsive ===== */



@media (max-width: 1024px) {



  .advantage-grid, .expert-grid { grid-template-columns: repeat(2, 1fr); }



  .service-grid, .course-grid { grid-template-columns: repeat(2, 1fr); }



  .stats-grid { grid-template-columns: repeat(2, 1fr); }



}



@media (max-width: 768px) {



  .portal-menu { display: none; }



  .portal-hero h1 { font-size: 28px; }



  .portal-hero p { font-size: 14px; }



  .advantage-grid, .expert-grid, .service-grid, .course-grid, .stats-grid { grid-template-columns: 1fr; }



  .entry-cards { grid-template-columns: 1fr; }



  .fund-security { flex-direction: column; padding: 24px; }



  .fund-security-visual { display: none; }



  .portal-footer-content { grid-template-columns: 1fr; }



  .dashboard-sidebar { transform: translateX(-100%); transition: transform .3s; }



  .dashboard-sidebar.open { transform: translateX(0); }



  .dashboard-main { margin-left: 0; }



  .header-search { display: none; }



  .form-row { flex-direction: column; }

  /* 项目列表分页：手机端信息在上、按钮换行靠右 */
  .project-page-wrap { min-height: auto; }
  .demand-pager { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pager-btns { width: 100%; justify-content: flex-end; }
  .pager-btn { min-width: 40px; height: 40px; }

}

/* ===== extracted from index.html ===== */

/* Grid utility */



    .grid { display: grid; }



    .grid-cols-1 { grid-template-columns: 1fr; }



    .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }



    .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }



    .grid-cols-4 { grid-template-columns: repeat(4, 1fr); }



    .grid-cols-5 { grid-template-columns: repeat(5, 1fr); }



    @media (max-width: 768px) {



      .grid-cols-2, .grid-cols-3, .grid-cols-4, .grid-cols-5 { grid-template-columns: 1fr; }

      /* ===== 手机端弹窗适配（只作用于弹窗，不影响页面其它布局） ===== */
      /* 手机端抑制整页横向溢出（表格/长文本撑宽会让弹窗跟着变宽） */
      html, body { overflow-x: hidden; max-width: 100%; }
      #app-root, .app-shell { overflow-x: hidden; }

      .modal-overlay { padding: 10px; align-items: flex-start; overflow-x: hidden; }
      .modal, .modal.modal-lg, .modal.modal-xl {
        max-height: 94vh; border-radius: 16px;
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        min-width: 0 !important; box-sizing: border-box;
      }
      .modal-header { padding: 13px 15px; }
      .modal-title { font-size: 15px; line-height: 1.4; padding-right: 8px; }
      .modal-close { width: 28px; height: 28px; font-size: 18px; }
      .modal-body { padding: 15px; min-width: 0; }
      .modal-footer { padding: 12px 15px; flex-wrap: wrap; gap: 8px; }
      .modal-footer .btn { flex: 1; min-width: 0; justify-content: center; }

      /* 需求详情：基本信息保持两列紧凑（不拉成一长条） */
      .dm-detail-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: 13px 10px !important; min-width: 0 !important; }
      .dm-detail-grid > div { min-width: 0; overflow-wrap: anywhere; }
      .modal-body .grid, .modal-body .card { min-width: 0; }
      .modal-body img, .modal-body table { max-width: 100%; }
      .dm-detail-grid > div > div:first-child { font-size: 11.5px; line-height: 1.3; }
      .dm-detail-grid > div > div:last-child { font-size: 13px; line-height: 1.35; word-break: break-word; }
      /* 长文本块（需求描述 / 补充说明）内边距收紧 */
      .modal-body .card.p-4 { padding: 11px 12px !important; }
      .modal-body .form-group { margin-top: 14px !important; }
      /* 按钮组换行贴合 */
      .modal-body .btn { max-width: 100%; }



    }



    .space-y-2 > * + * { margin-top: 8px; }



    #app { min-height: 100vh; }



    body { background: var(--bg-base); }

/* ===== extracted from index.html ===== */

/* 议价紧凑标签（专家端「我的报价」状态列用，避免长文本撑破行高） */
  .bg-chip { display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
    padding: 3px 9px; font-size: 12px; line-height: 1.5; cursor: pointer; box-sizing: border-box;
    background: #fff7e6; border: 1px solid #ffd8a8; color: #b26a00; border-radius: 14px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: background .15s ease, border-color .15s ease; }
  .bg-chip:hover { background: #ffefd5; border-color: #f0b357; }
  .bg-chip-ico { flex: none; }
  .bg-chip-more { flex: none; font-size: 11px; color: #c98a2b; border-left: 1px solid #ffd8a8;
    padding-left: 6px; margin-left: 1px; }

  /* 「交付时间轴」按钮上的待办角标 */
  .todo-badge { display: inline-block; min-width: 16px; padding: 0 4px; margin-left: 4px;
    font-size: 11px; line-height: 16px; text-align: center; font-weight: 700;
    color: #fff; background: #ef4444; border-radius: 9px; vertical-align: 1px;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, .18); }
  .todo-badge::after { content: ''; }

  /* 「上传交付物」按钮小红点：有交付物被驳回待补齐（专家端） */
  .btn-dot-wrap { position: relative; display: inline-block; }
  .btn-dot { position: absolute; top: -5px; right: -5px; width: 9px; height: 9px;
    background: #ef4444; border: 2px solid #fff; border-radius: 50%; z-index: 2;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, .45); }

  /* 待办事项可点击直达具体事宜 */
  .timeline-item.js-todo-link { cursor: pointer; transition: background .15s ease; }
  .timeline-item.js-todo-link:hover { background: var(--border-light); }
  .timeline-item.js-todo-link.is-static { cursor: default; }
  .timeline-item.js-todo-link.is-static:hover { background: transparent; }

  /* 右侧快捷客服按钮组（电话 / 微信 / QQ） */
  #cs-quick { position: fixed; right: 12px; top: 50%; transform: translateY(-50%);
    z-index: 9997; display: flex; flex-direction: column; gap: 8px; }
  #cs-quick .cq-item { position: relative; width: 62px; padding: 9px 4px 8px; background: #fff;
    border: 1px solid #e8eefb; border-radius: 10px; display: flex; flex-direction: column;
    align-items: center; gap: 4px; cursor: pointer; box-shadow: 0 3px 10px rgba(30, 58, 138, .1);
    user-select: none; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
  #cs-quick .cq-item:hover { transform: translateY(-2px); border-color: #bcd2f7;
    box-shadow: 0 7px 16px rgba(30, 58, 138, .17); }
  #cs-quick .cq-ico { font-size: 19px; line-height: 1; display: flex; align-items: center; }
  #cs-quick .cq-txt { font-size: 11.5px; color: #334155; white-space: nowrap; }

  /* 图标左侧浮出的小卡片 */
  #cq-pop { position: absolute; right: calc(100% + 10px); top: 0; width: 196px;
    background: #fff; border: 1px solid #e8eefb; border-radius: 12px; padding: 12px 14px;
    box-shadow: 0 10px 28px rgba(30, 58, 138, .16); z-index: 9999; text-align: left;
    animation: cqPopIn .16s ease; }
  @keyframes cqPopIn { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }
  #cq-pop .cq-pop-title { font-size: 11.5px; color: #94a3b8; margin-bottom: 5px; }
  #cq-pop .cq-pop-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  #cq-pop .cq-pop-val { font-size: 17px; font-weight: 700; color: #1a56db; letter-spacing: .4px; }
  #cq-pop .cq-pop-copy { font-size: 11.5px; color: #64748b; cursor: pointer; padding: 2px 7px;
    border: 1px solid #e2e8f5; border-radius: 6px; white-space: nowrap; }
  #cq-pop .cq-pop-copy:hover { color: #1a56db; border-color: #bcd2f7; background: #f5f9ff; }
  #cq-pop .cq-pop-note { font-size: 11.5px; color: #94a3b8; line-height: 1.6; }
  #cq-pop .cq-pop-call { display: block; width: 100%; margin-top: 10px; padding: 6px 0;
    font-size: 12.5px; text-align: center; color: #1a56db; background: #f5f9ff;
    border: 1px solid #dbeafe; border-radius: 8px; cursor: pointer; text-decoration: none; }
  #cq-pop .cq-pop-call:hover { background: #eaf2ff; }
  #cq-pop .cq-pop-qr { width: 168px; height: 168px; margin: 0 auto; border: 1px solid #eef2f7;
    border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
  #cq-pop .cq-pop-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
  #cq-pop .cq-pop-qr-ph { display: none; font-size: 11.5px; color: #94a3b8; }

/* ===== extracted from index.html ===== */

@keyframes spin{to{transform:rotate(360deg)}}

/* ===== 专家端账户管理（只读信息展示） ===== */
.profile-readonly {
  min-height: 38px;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  word-break: break-all;
}
.profile-readonly:empty::before {
  content: '—';
  color: #94a3b8;
}
@media (max-width: 1100px) {
  #expert-profile-body > div {
    grid-template-columns: 1fr !important;
  }
}

/* ===== 专家端账户管理（重设计版） ===== */
.profile-page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.profile-page-header {
  margin-bottom: 24px;
}
.profile-page-header h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}
.profile-page-header p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 8px 0 0;
}
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
}
.profile-sidebar {
  text-align: center;
  position: sticky;
  top: 20px;
}
.profile-sidebar .avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}
.profile-sidebar .avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary-bg);
  background: var(--bg-base);
}
.profile-sidebar .avatar-wrap .fallback {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  font-weight: 600;
}
.profile-sidebar .avatar-wrap .upload-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(26,86,219,.3);
  font-size: 15px;
}
.profile-sidebar .profile-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.profile-sidebar .profile-phone {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.profile-sidebar .profile-status {
  margin-bottom: 16px;
}
.profile-sidebar .invite-block {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  text-align: left;
}
.profile-sidebar .invite-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.profile-sidebar .invite-code {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .5px;
  background: var(--primary-bg);
  padding: 8px 12px;
  border-radius: var(--radius);
  text-align: center;
}
.profile-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.profile-section {
  padding: 32px;
}
.section-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}
.section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px 28px;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-item label {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}
.info-item .form-input,
.info-item .form-textarea {
  width: 100%;
}
.profile-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
}
.profile-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat-card {
  padding: 20px;
}
.stat-card .stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.stat-card .stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}
.stat-card .stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-card .stat-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.6;
  background: var(--bg-base);
  padding: 10px 12px;
  border-radius: var(--radius);
}

/* ===== 企业端账户管理（认证资料） ===== */
.profile-sidebar .cert-hint-block {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  text-align: left;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.profile-sidebar .cert-hint-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.profile-sidebar .cert-hint-block p {
  margin: 0;
}

.file-upload-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.file-upload-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.file-upload-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.file-upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.file-upload-row .btn {
  flex-shrink: 0;
}
.file-upload-name {
  font-size: 13px;
  color: var(--text-tertiary);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-upload-status {
  min-height: 22px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.file-upload-status .badge {
  font-size: 12px;
}

.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }

@media (max-width: 1100px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-sidebar {
    position: static;
  }
  .profile-split {
    grid-template-columns: 1fr;
  }
}

/* ===== 专家端账户管理（顶部摘要 + 统一表单） ===== */
.profile-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.profile-summary-left {
  display: flex;
  align-items: center;
  gap: 28px;
}
.profile-summary-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}
.profile-summary-avatar img,
.profile-summary-avatar .fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-bg);
  background: var(--bg-base);
}
.profile-summary-avatar .fallback {
  display: none;
  background: var(--primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 600;
}
.profile-summary-avatar .upload-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(26,86,219,.3);
  font-size: 14px;
}
.profile-summary-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-summary-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
}
.profile-summary-phone {
  font-size: 14px;
  color: var(--text-secondary);
}
.profile-summary-status {
  display: flex;
}
.profile-summary-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.profile-summary-rating .star-icon {
  color: var(--warning);
  letter-spacing: 1px;
}
.profile-summary-rating .star-score {
  color: var(--text-secondary);
  font-weight: 600;
}
.profile-summary-stats {
  display: flex;
  gap: 48px;
}
.profile-summary-stat {
  text-align: center;
  min-width: 80px;
}
.profile-summary-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.profile-summary-stat-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.profile-form-actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
}

.info-item-full {
  grid-column: 1 / -1;
}

.form-input:disabled,
.form-textarea:disabled {
  background: var(--bg-base);
  color: var(--text-secondary);
  border-color: var(--border-light);
  cursor: not-allowed;
  opacity: 1;
}

@media (max-width: 1100px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
  }
}

@media (max-width: 768px) {
  .profile-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .profile-summary-stats {
    width: 100%;
    justify-content: space-around;
    gap: 0;
  }
  .info-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ===== 机构雇主端账户管理（独立样式，与专家端完全分开） ===== */
.entp-page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.entp-header {
  margin-bottom: 24px;
}
.entp-header h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}
.entp-header p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 8px 0 0;
}
.entp-loading {
  padding: 60px 0;
  text-align: center;
  color: var(--text-tertiary);
}
.entp-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.entp-sidebar {
  text-align: center;
  position: sticky;
  top: 20px;
  padding: 32px 24px;
}
.entp-brand {
  margin-bottom: 24px;
}
.entp-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 24px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(26,86,219,.18);
}
.entp-cert-badge {
  min-height: 28px;
}
.entp-cert-hint {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  text-align: left;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.entp-cert-hint-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.entp-cert-hint p {
  margin: 0;
}
.entp-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.entp-card {
  padding: 32px;
}
.entp-section-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}
.entp-section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
}
.entp-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 28px;
}
.entp-form-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.entp-form-item .form-input {
  width: 100%;
}
.entp-form-item-full {
  grid-column: 1 / -1;
}
.entp-file-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 28px;
}
.entp-file-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--bg-base);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
}
.entp-file-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.entp-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.entp-file-row .btn {
  flex-shrink: 0;
}
.entp-file-name {
  font-size: 13px;
  color: var(--text-tertiary);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.entp-file-status {
  min-height: 22px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.entp-status-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.entp-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.entp-status-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.entp-status-value {
  font-size: 16px;
  font-weight: 700;
}
.entp-status-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.entp-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}
.entp-actions .btn {
  min-width: 160px;
}
.entp-status-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}
.entp-qual-remark {
  font-size: 13px;
  color: var(--danger);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 8px 10px;
  line-height: 1.6;
}
.entp-qual-hint {
  margin-top: 16px;
  background: #f5f9ff;
  border: 1px solid #dbeafe;
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.entp-qual-hint p {
  margin: 6px 0;
}
.entp-qual-hint a {
  color: var(--primary);
  word-break: break-all;
}
.entp-qual-hint-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.entp-qual-hint-sub {
  font-weight: 600;
  margin-top: 10px !important;
}
.entp-qual-hint ul {
  margin: 6px 0 0;
  padding-left: 20px;
}
.entp-qual-hint li {
  margin: 4px 0;
}

@media (max-width: 1200px) {
  .entp-body {
    grid-template-columns: 260px 1fr;
    gap: 20px;
  }
  .entp-form-grid,
  .entp-file-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 992px) {
  .entp-body {
    grid-template-columns: 1fr;
  }
  .entp-sidebar {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
    text-align: left;
  }
  .entp-brand {
    margin-bottom: 0;
  }
}
@media (max-width: 768px) {
  .entp-form-grid,
  .entp-file-grid {
    grid-template-columns: 1fr;
  }
  .entp-sidebar {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .entp-brand {
    margin-bottom: 16px;
  }
  .entp-actions {
    justify-content: stretch;
  }
  .entp-actions .btn {
    width: 100%;
  }
}


/* ===== 专家账户管理：银行账户与资质核验 ===== */
.verify-status-badge { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.verify-status-badge.badge-gray { background: var(--border-light); color: var(--text-secondary); }
.verify-status-badge.badge-warning { background: var(--warning-bg); color: var(--warning); }
.verify-status-badge.badge-success { background: var(--success-bg); color: var(--success); }
.verify-status-badge.badge-danger { background: var(--danger-bg); color: var(--danger); }
.verify-tip { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin: -4px 0 16px; background: var(--primary-bg); border-radius: 8px; padding: 10px 14px; }
.verify-remark-wrap { font-size: 13px; color: var(--danger); background: var(--danger-bg); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; line-height: 1.6; }
.verify-files { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.verify-file-row { display: flex; align-items: center; gap: 16px; }
.verify-file-label { width: 120px; flex: none; font-size: 14px; color: var(--text-primary); font-weight: 500; }
.verify-file-box { display: flex; align-items: center; gap: 12px; flex: 1; }
.verify-file-name { font-size: 13px; color: var(--text-secondary); }
.verify-lock-note { font-size: 13px; color: var(--success); margin-left: 12px; }

/* ===== 专家详情弹窗（专家大厅「查看详情」，样式对齐管理后台专家详情） ===== */
.modal-body .detail-hero { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: linear-gradient(135deg, #fff 0%, #f6f9fe 100%); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 18px; }
.modal-body .detail-avatar { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, #1447b8 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 600; flex: none; overflow: hidden; }
.modal-body .detail-avatar img { width: 100%; height: 100%; object-fit: cover; }
.modal-body .detail-hero-main { flex: 1; min-width: 0; }
.modal-body .detail-name-line { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; flex-wrap: wrap; }
.modal-body .detail-name { font-size: 18px; font-weight: 600; color: var(--text-primary); }
.modal-body .detail-code-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 12px; background: var(--primary-bg); color: var(--primary); font-size: 12px; font-weight: 500; }
.modal-body .detail-meta { font-size: 13px; color: var(--text-secondary); }
.modal-body .detail-hero-side { text-align: right; flex-shrink: 0; }
.modal-body .detail-side-strong { font-size: 16px; font-weight: 700; color: var(--warning); }
.modal-body .detail-time { font-size: 12px; color: var(--text-secondary); margin-top: 8px; }
.modal-body .detail-section { padding: 18px 22px; border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 14px; background: #fff; }
.modal-body .detail-section-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #1e3a8a; margin-bottom: 16px; }
.modal-body .detail-section-title::before { content: ''; width: 4px; height: 14px; background: var(--primary); border-radius: 2px; flex: none; }
.modal-body .detail-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.modal-body .detail-item-label { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }
.modal-body .detail-item-value { font-size: 14px; font-weight: 500; color: var(--text-primary); line-height: 1.5; word-break: break-all; }
.modal-body .detail-intro { font-size: 14px; line-height: 1.7; color: var(--text-primary); background: #f8fafc; border: 1px solid var(--border-color); border-radius: 8px; padding: 14px 16px; white-space: pre-wrap; word-break: break-all; }
.modal-body .detail-case-line { font-size: 14px; line-height: 1.9; color: var(--text-primary); }
/* 服务组合（多组：所属行业 + 专业证书 + 基础报价） */
.modal-body .detail-section-sub { font-size: 12px; font-weight: 400; color: var(--text-secondary); margin-left: 6px; }
.modal-body .detail-pg-list { display: flex; flex-direction: column; gap: 10px; }
.modal-body .detail-pg-row { display: flex; gap: 10px; align-items: flex-start; background: var(--primary-bg); border: 1px solid var(--border-color); border-radius: 10px; padding: 12px 14px; }
.modal-body .detail-pg-field { flex: 1; min-width: 0; }
.modal-body .detail-pg-label { font-size: 12px; color: var(--text-secondary); margin-bottom: 5px; }
.modal-body .detail-pg-value { font-size: 14px; font-weight: 500; color: var(--text-primary); line-height: 1.5; word-break: break-all; }
.modal-body .detail-pg-price { flex: 0 0 180px; }
.modal-body .detail-pg-price-value { color: var(--primary); font-weight: 700; }
@media (max-width: 640px) {
  .modal-body .detail-grid-2 { grid-template-columns: 1fr; }
  .modal-body .detail-hero { flex-wrap: wrap; }
  .modal-body .detail-hero-side { text-align: left; width: 100%; }
  .modal-body .detail-pg-row { flex-wrap: wrap; }
  .modal-body .detail-pg-field { flex: 1 1 100%; }
  .modal-body .detail-pg-price { flex: 1 1 100%; }
}

/* 门户专家展示卡：每组报价盒 */
.pe-price { background:#f8faff; border:1px solid #e3ecfb; border-radius:10px; padding:2px 14px; margin-bottom:14px; }
.pe-price-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 0; font-size:13px; line-height:1.5; }
.pe-price-row + .pe-price-row { border-top:1px dashed #dce6f5; }
.pe-price-key { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#475569; }
.pe-price-key b { color:#1e3a8a; font-weight:600; }
.pe-price-val { flex:none; font-weight:700; color:#E8455F; white-space:nowrap; font-variant-numeric: tabular-nums; }
