/* ============ 基础 ============ */
:root {
  --primary: #1668dc;
  --primary-dark: #0f52b3;
  --primary-light: #e8f1ff;
  --accent: #00b3a4;
  --ink: #16233a;
  --ink-2: #46536b;
  --ink-3: #8492a8;
  --line: #e3e9f2;
  --bg: #f5f8fc;
  --card: #ffffff;
  --shadow-sm: 0 2px 10px rgba(22, 51, 97, .06);
  --shadow-md: 0 8px 30px rgba(22, 51, 97, .10);
  --shadow-lg: 0 20px 60px rgba(15, 40, 80, .22);
  --radius: 14px;
  --maxw: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 9px; cursor: pointer;
  font-size: 14px; font-weight: 600; padding: 10px 20px;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(22,104,220,.3); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--primary); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 10px; }
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo-mark { color: var(--primary); display: flex; }
.logo-text { font-size: 19px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); line-height: 1; }
.logo-text b { color: var(--primary); }
.logo-text small { display: block; font-size: 10px; font-weight: 600; color: var(--ink-3); letter-spacing: 3px; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 0; margin-left: 0; }
.nav-link { font-size: 13px; color: var(--ink-2); padding: 8px 7px; border-radius: 8px; transition: all .18s; font-weight: 500; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-toggle {
  display: flex; align-items: center; gap: 5px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); border-radius: 8px; padding: 7px 9px;
  cursor: pointer; font-size: 13px; font-weight: 600; transition: all .18s;
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }
.lang-icon { font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #eef5ff 0%, #f7fbff 55%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-bg-grid {
  position: absolute; inset: 0; opacity: .45;
  background-image: linear-gradient(#d5e3f7 1px, transparent 1px), linear-gradient(90deg, #d5e3f7 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 640px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,104,220,.14), transparent 65%); filter: blur(20px);
}
.hero-inner { position: relative; text-align: center; padding: 82px 24px 70px; }
.hero-title { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.2; font-weight: 800; letter-spacing: -1.5px; }
.hero-title > span { display: block; }
.hero-title-accent {
  margin-top: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 20px auto 0; max-width: 640px; color: var(--ink-2); font-size: 16px; }
.search-box {
  margin: 36px auto 0; max-width: 680px; display: flex; align-items: center;
  background: #fff; border: 2px solid #dbe6f5; border-radius: 14px; padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow-md); transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 10px 40px rgba(22,104,220,.16); }
.search-icon { color: var(--ink-3); display: flex; }
.search-box input { flex: 1; border: 0; outline: 0; padding: 10px 14px; font-size: 15px; color: var(--ink); background: transparent; min-width: 0; }
.search-btn { padding: 12px 30px; border-radius: 10px; font-size: 15px; }
.hero-hot { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; }
.hot-tag { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 4px 13px; font-size: 12px; color: var(--ink-2); cursor: pointer; transition: all .18s; }
.hot-tag:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.hero-stats { margin-top: 46px; display: flex; justify-content: center; gap: clamp(30px, 8vw, 90px); }
.stat b { display: block; font-size: 26px; font-weight: 800; color: var(--primary); letter-spacing: -.5px; }
.stat span { font-size: 12px; color: var(--ink-3); }

/* ============ 通用 section ============ */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.section-title { font-size: 28px; font-weight: 800; letter-spacing: -.6px; position: relative; padding-left: 16px; }
.section-title::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: linear-gradient(var(--primary), var(--accent)); border-radius: 3px; }
.section-sub { color: var(--ink-3); font-size: 14px; margin-top: 8px; padding-left: 16px; }
.more-link { color: var(--primary); font-size: 14px; font-weight: 600; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }

/* ============ 筛选栏 ============ */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 22px; padding: 7px 18px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .18s;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(22,104,220,.25); }

/* ============ 模型卡片 ============ */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.model-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: all .25s ease; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.model-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cbdcf5; }
.card-thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(150deg, #f0f5fb, #e4edf8);
  display: flex; align-items: center; justify-content: center;
}
.card-thumb::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120,150,190,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(120,150,190,.08) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.card-thumb canvas, .card-thumb img { width: 100%; height: 100%; display: block; position: relative; z-index: 1; object-fit: contain; transition: transform .35s ease; }
.model-card:hover .card-thumb img { transform: scale(1.06); }
.card-format {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--primary); font-size: 10px; font-weight: 800;
  padding: 3px 8px; border-radius: 5px; letter-spacing: .3px; border: 1px solid #d9e6f8;
}
.card-3dbadge {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  background: rgba(22,35,58,.72); color: #fff; font-size: 9px; font-weight: 700;
  padding: 3px 8px; border-radius: 5px; letter-spacing: .5px;
}
.card-body { padding: 14px 15px 15px; flex: 1; display: flex; flex-direction: column; }
.card-name { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 11px; color: var(--ink-3); }
.card-cat { background: var(--primary-light); color: var(--primary); padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.card-views { display: flex; align-items: center; gap: 4px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty-icon { font-size: 40px; margin-bottom: 10px; }

/* ============ 分类 ============ */
.cat-section { background: #fff; border-top: 1px solid var(--line); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.cat-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px;
  background: var(--bg); cursor: pointer; transition: all .22s; position: relative; overflow: hidden;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); background: #fff; }
.cat-icon { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 23px; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.cat-name { font-size: 16px; font-weight: 700; }
.cat-count { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.cat-arrow { position: absolute; right: 20px; top: 24px; color: var(--ink-3); font-size: 18px; transition: transform .2s; }
.cat-card:hover .cat-arrow { transform: translateX(4px); color: var(--primary); }

/* ============ 页脚 ============ */
.site-footer { background: #0f1c30; color: #9fb0c6; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding-bottom: 40px; }
.logo-footer .logo-text { color: #fff; }
.logo-footer .logo-mark { color: #5aa0ff; }
.footer-brand p { font-size: 13px; margin-top: 16px; max-width: 300px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; padding: 5px 0; transition: color .18s; }
.footer-col a:hover { color: #5aa0ff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 24px; display: flex; justify-content: space-between; font-size: 12px; }

/* ============ 模态框 ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9, 20, 38, .68); backdrop-filter: blur(6px); }
.modal-dialog {
  position: relative; width: min(1000px, 100%); max-height: 92vh; background: #fff;
  border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
  animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.94) translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 10; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: rgba(15,28,48,.55); color: #fff; font-size: 15px; cursor: pointer; transition: background .18s;
}
.modal-close:hover { background: var(--primary); }
.viewer-layout { display: grid; grid-template-columns: 1.4fr 1fr; min-height: 540px; }
.viewer-stage {
  position: relative; background: linear-gradient(150deg, #eef4fb, #dfe9f6);
  min-height: 540px; overflow: hidden;
}
.viewer-stage::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120,150,190,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(120,150,190,.1) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 55%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 55%, #000, transparent 75%);
}
#viewerCanvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
#viewerCanvas:active { cursor: grabbing; }
.viewer-badge { position: absolute; top: 16px; left: 16px; background: rgba(22,104,220,.9); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; letter-spacing: .5px; }
.viewer-hint { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--ink-3); }
.viewer-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 600; }
.viewer-info { padding: 40px 34px; display: flex; flex-direction: column; }
.viewer-cat { display: inline-block; align-self: flex-start; background: var(--primary-light); color: var(--primary); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.viewer-name { font-size: 26px; font-weight: 800; margin-top: 16px; line-height: 1.3; letter-spacing: -.5px; }
.viewer-desc { color: var(--ink-2); font-size: 13px; margin-top: 12px; line-height: 1.8; }
.viewer-meta { margin-top: 24px; border-top: 1px solid var(--line); }
.viewer-meta > div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.viewer-meta dt { color: var(--ink-3); }
.viewer-meta dd { font-weight: 600; color: var(--ink); }
.viewer-controls { display: flex; gap: 10px; margin-top: 24px; }
.viewer-controls .btn { flex: 1; padding: 10px 8px; font-size: 12px; }
.btn-download { margin-top: 14px; padding: 14px; font-size: 15px; }
.viewer-hook { margin-top: 22px; padding: 18px; border: 1px dashed #f0b06a; border-radius: 12px; background: #fffaf3; }
.viewer-hook-label { font-size: 12px; font-weight: 700; color: #b96a12; margin-bottom: 10px; }
.btn-modify-hook { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; font-size: 14px; font-weight: 700; background: #f0803c; color: #fff; }
.btn-modify-hook:hover { background: #d96c2a; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(240,128,60,.3); }
.hook-arrow { font-size: 17px; line-height: 1; }
.viewer-hook-note { margin-top: 9px; font-size: 11px; color: #a97a4a; text-align: center; line-height: 1.5; }

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #16233a; color: #fff; padding: 12px 22px; border-radius: 10px;
  font-size: 13px; box-shadow: var(--shadow-lg); z-index: 200; opacity: 0;
  transition: all .3s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 设计修改服务专区 ============ */
.service-section {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #f3f7ff, #ffffff 60%);
  border-top: 1px solid var(--line);
}
.service-decor { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.service-decor-a { width: 360px; height: 360px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(22,104,220,.10), transparent 68%); }
.service-decor-b { width: 300px; height: 300px; bottom: -100px; left: -100px; background: radial-gradient(circle, rgba(0,179,164,.10), transparent 68%); }
.service-container { position: relative; z-index: 1; }
.service-head { margin-bottom: 34px; }
.service-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  color: #b06a00; background: #fff3dd; border: 1px solid #ffe0a8;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}
.nav-service { color: var(--primary) !important; font-weight: 700; }
.service-step-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--ink);
  margin-bottom: 18px; flex-wrap: wrap;
}
.step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* 领域入口卡片 */
.domain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.domain-card {
  position: relative; background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px 22px; cursor: pointer;
  transition: all .22s ease; overflow: hidden; text-align: left;
}
.domain-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.domain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cbdcf5; }
.domain-card:hover::before, .domain-card.selected::before { transform: scaleX(1); }
.domain-card.selected { border-color: var(--primary); box-shadow: 0 8px 26px rgba(22,104,220,.16); background: #fbfdff; }
.domain-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 14px; }
.domain-name { font-size: 17px; font-weight: 800; color: var(--ink); }
.domain-desc { font-size: 12px; color: var(--ink-3); margin-top: 7px; line-height: 1.6; min-height: 38px; }
.domain-go { margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 5px; }
.domain-card:hover .domain-go { gap: 9px; }

/* 服务配置面板 */
.service-config {
  margin-top: 34px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm);
  animation: fadeUp .3s ease;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.config-domain {
  font-size: 12px; font-weight: 700; color: var(--primary);
  background: var(--primary-light); padding: 3px 12px; border-radius: 20px;
}
.config-back {
  margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink-3);
  font-size: 12px; padding: 5px 12px; border-radius: 8px; cursor: pointer; transition: all .18s;
}
.config-back:hover { color: var(--primary); border-color: var(--primary); }
.config-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
.config-subtitle { font-size: 14px; font-weight: 700; color: var(--ink); margin: 4px 0 14px; }
.config-main .config-subtitle:nth-of-type(2) { margin-top: 26px; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.option-card {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  border: 1.5px solid var(--line); border-radius: 11px; padding: 14px;
  cursor: pointer; transition: all .18s; background: #fff;
}
.option-card:hover { border-color: #bcd3f5; }
.option-card.checked { border-color: var(--primary); background: var(--primary-light); }
.option-check {
  width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #b9c6d8;
  flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; transition: all .18s;
}
.option-card.checked .option-check { background: var(--primary); border-color: var(--primary); }
.option-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.option-desc { font-size: 11px; color: var(--ink-3); margin-top: 3px; line-height: 1.5; }
.option-price { font-size: 12px; font-weight: 700; color: #e07b16; margin-top: 6px; }
.option-price-quote { color: var(--ink-3); }
.price-value.price-quote { font-size: 24px; color: var(--ink-2); }
.svc-textarea {
  width: 100%; min-height: 110px; resize: vertical; border: 1.5px solid var(--line);
  border-radius: 10px; padding: 13px 14px; font-size: 13px; color: var(--ink);
  outline: none; transition: border-color .18s; line-height: 1.6;
}
.svc-textarea:focus, .svc-input:focus { border-color: var(--primary); }
.config-hint { color: var(--ink-3); font-size: 12px; font-weight: 400; margin-top: 14px; padding: 10px 12px; background: var(--bg); border-radius: 8px; }
.field-label { display: block; font-size: 12px; color: var(--ink-2); font-weight: 600; margin: 12px 0 6px; }
.svc-input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 9px;
  padding: 11px 13px; font-size: 13px; color: var(--ink); outline: none; transition: border-color .18s;
}
.price-box { margin-top: 22px; background: linear-gradient(135deg, #fff7ea, #fff); border: 1px solid #ffe4bd; border-radius: 11px; padding: 16px; text-align: center; }
.price-box > span:first-child { font-size: 12px; color: #a06a20; font-weight: 600; }
.price-value { font-size: 30px; font-weight: 800; color: #e0720e; letter-spacing: -1px; margin: 4px 0 2px; }
.price-note { font-size: 11px; color: #b79a70; }
.btn-submit-svc { width: 100%; margin-top: 16px; padding: 14px; font-size: 15px; }

/* 提交结果 */
.service-result { margin-top: 34px; animation: fadeUp .35s ease; }
.result-head { display: flex; align-items: center; gap: 16px; background: linear-gradient(120deg, #eafaf4, #f4fbf8); border: 1px solid #c7ecdd; border-radius: 14px; padding: 20px 24px; }
.result-check { width: 46px; height: 46px; border-radius: 50%; background: #17a879; color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.result-head h3 { font-size: 18px; color: #0e7a57; }
.result-head p { font-size: 13px; color: #4a8c74; margin-top: 3px; }
.result-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.ticket-card, .flow-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.ticket-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.ticket-id { font-size: 14px; font-weight: 800; color: var(--primary); font-family: monospace; }
.ticket-status { font-size: 11px; font-weight: 700; color: #b06a00; background: #fff3dd; padding: 3px 10px; border-radius: 20px; }
.ticket-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 12px; border-bottom: 1px dashed var(--line); }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row span { color: var(--ink-3); flex-shrink: 0; }
.ticket-row b { color: var(--ink); text-align: right; font-weight: 600; word-break: break-all; }
.flow-card h4 { font-size: 15px; margin-bottom: 16px; }
.flow-steps { list-style: none; position: relative; }
.flow-steps::before { content: ''; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
.flow-step { display: flex; gap: 14px; padding: 9px 0; position: relative; }
.flow-dot { width: 28px; height: 28px; border-radius: 50%; background: #eef2f8; color: var(--ink-3); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1; border: 2px solid #fff; }
.flow-step.done .flow-dot { background: var(--primary); color: #fff; }
.flow-step b { display: block; font-size: 13px; color: var(--ink); }
.flow-step small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.btn-again { margin-top: 16px; width: 100%; }

/* ============ 红色导航入口 ============ */
.nav-link.nav-hot { color: #e0402f !important; font-weight: 700; }
.nav-link.nav-hot:hover { background: #fff0ee; color: #c8331f !important; }
.nav-support { background: none; border: 0; font-family: inherit; font-size: 14px; cursor: pointer; line-height: 1.6; }

/* ============ 定制服务专区 ============ */
.custom-section { background: linear-gradient(160deg, #fff, #f5f9ff 70%); }
.custom-section .service-badge { color: #7a3fc0; background: #f4ebff; border-color: #e4d0ff; }
.custom-section .step-num { background: linear-gradient(135deg, #7b4fd0, #9b6ee8); }
.custom-section .domain-card::before { background: linear-gradient(90deg, #7b4fd0, #b06ee8); }
.custom-section .domain-card.selected { border-color: #7b4fd0; box-shadow: 0 8px 26px rgba(123,79,208,.16); }
.custom-section .domain-go { color: #7b4fd0; }
.custom-section .option-card.checked { border-color: #7b4fd0; background: #f6efff; }
.custom-section .option-card.checked .option-check { background: #7b4fd0; border-color: #7b4fd0; }
.custom-section .price-box { background: linear-gradient(135deg, #f6efff, #fff); border-color: #e4d0ff; }
.custom-section .price-box > span:first-child { color: #7a4fc0; }
.custom-section .price-value { color: #7b4fd0; }
.custom-section .result-check { background: #7b4fd0; }
.custom-section .result-head { background: linear-gradient(120deg, #f4ebff, #faf6ff); border-color: #e4d0ff; }
.custom-section .result-head h3 { color: #6a3aad; }
.custom-section .result-head p { color: #8a6cb5; }
.custom-section .flow-step.done .flow-dot { background: #7b4fd0; }
.custom-section .config-domain { color: #7b4fd0; background: #f4ebff; }

/* ============ 项目顾问抽屉 ============ */
.support-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(9,20,38,.5); backdrop-filter: blur(4px); }
.support-drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: #fff; box-shadow: -12px 0 50px rgba(9,20,38,.25);
  display: flex; flex-direction: column; animation: slideIn .3s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.support-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.25); color: #fff; font-size: 15px; cursor: pointer; transition: background .18s;
}
.support-close:hover { background: rgba(255,255,255,.4); }
.support-head {
  display: flex; align-items: center; gap: 14px; padding: 26px 24px;
  background: linear-gradient(135deg, var(--primary), #3f8ef0); color: #fff; flex-shrink: 0;
}
.support-avatar { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.support-head h3 { font-size: 18px; }
.support-head p { font-size: 12px; opacity: .92; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #6ef2a8; box-shadow: 0 0 0 3px rgba(110,242,168,.3); }
.support-body { flex: 1; overflow-y: auto; padding: 22px 24px 30px; }
.support-channels { display: flex; flex-direction: column; gap: 10px; }
.channel-card {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
  border-radius: 11px; padding: 13px 14px; transition: all .18s; background: #fff;
}
a.channel-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.channel-static { cursor: default; }
.channel-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.channel-text { flex: 1; min-width: 0; }
.channel-text b { display: block; font-size: 13px; color: var(--ink); }
.channel-text small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 2px; word-break: break-all; }
.channel-action { font-size: 12px; font-weight: 700; color: var(--primary); }
.wechat-qr { text-align: center; padding: 16px; background: var(--bg); border-radius: 11px; border: 1px dashed var(--line); }
.qr-box { display: inline-flex; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.wechat-qr small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 10px; }
.support-form { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.support-form h4 { font-size: 15px; margin-bottom: 8px; }
.support-form .svc-textarea { min-height: 90px; }

/* ============ 工程师-客户会话窗口 ============ */
.chat-overlay { position: fixed; inset: 0; z-index: 160; background: rgba(9,20,38,.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.chat-panel { position: relative; width: min(680px, 100%); height: min(660px, 92vh); background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(9,20,38,.3); display: flex; flex-direction: column; overflow: hidden; animation: chatPop .26s ease; }
@keyframes chatPop { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: linear-gradient(135deg, var(--primary), #3f8ef0); color: #fff; flex-shrink: 0; }
.chat-peer-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; flex-shrink: 0; }
.chat-head-info { flex: 1; min-width: 0; }
.chat-head-info h3 { font-size: 16px; }
.chat-head-info p { font-size: 11px; opacity: .9; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-video-btn { display: flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.16); color: #fff; border-radius: 9px; padding: 8px 12px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .18s; }
.chat-video-btn:hover { background: rgba(255,255,255,.3); }
.chat-close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 14px; cursor: pointer; flex-shrink: 0; }
.chat-close:hover { background: rgba(255,255,255,.36); }
.chat-safety { display: flex; align-items: center; gap: 7px; padding: 9px 20px; background: #fff6ec; border-bottom: 1px solid #f5d9b0; color: #a35a12; font-size: 11px; flex-shrink: 0; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 20px; background: var(--bg); display: flex; flex-direction: column; gap: 14px; }
.chat-msg { display: flex; flex-direction: column; max-width: 74%; }
.chat-msg.mine { align-self: flex-end; align-items: flex-end; }
.chat-msg.theirs { align-self: flex-start; align-items: flex-start; }
.chat-bubble { padding: 11px 14px; border-radius: 13px; font-size: 13px; line-height: 1.6; word-break: break-word; }
.mine .chat-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.theirs .chat-bubble { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-time { font-size: 10px; color: var(--ink-3); margin-top: 5px; }
.chat-sysmsg { align-self: center; background: #eef2f8; color: var(--ink-3); border-radius: 12px; padding: 6px 14px; font-size: 11px; text-align: center; }
.chat-empty { margin: auto; color: var(--ink-3); font-size: 13px; }
.chat-quick { display: flex; gap: 8px; padding: 10px 20px; overflow-x: auto; border-top: 1px solid var(--line); flex-shrink: 0; }
.chat-quick-btn { white-space: nowrap; border: 1px solid var(--line); background: #fff; color: var(--primary); border-radius: 18px; padding: 6px 12px; font-size: 11px; cursor: pointer; transition: all .18s; }
.chat-quick-btn:hover { border-color: var(--primary); background: var(--primary-light); }
/* 技术沟通确认条：仅工程师视角且处于沟通阶段时显示 */
.chat-stage-bar { display: flex; align-items: center; gap: 12px; padding: 10px 20px; background: #eef5ff; border-top: 1px solid #d3e4fb; flex-shrink: 0; }
.chat-stage-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.chat-stage-txt b { font-size: 12.5px; color: #1b4f8c; }
.chat-stage-txt span { font-size: 11.5px; color: #5b7391; line-height: 1.45; }
.chat-stage-bar .btn { white-space: nowrap; flex-shrink: 0; }
.chat-compose { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); flex-shrink: 0; }

/* 订单卡片：当前阶段说明（承接后先沟通、付款后动工设计等） */
.phase-note { margin: 10px 0 2px; padding: 8px 12px; border-radius: 8px; background: #f5f8fc; border-left: 3px solid #b8cce6; font-size: 12px; color: #55657c; line-height: 1.55; }
.phase-note-consult { background: #fff8ec; border-left-color: #ef9f27; color: #8a4b0b; }
.chat-attach { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 20px; cursor: pointer; flex-shrink: 0; }
.chat-attach:hover { border-color: var(--primary); color: var(--primary); }
.chat-input { flex: 1; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; font-family: inherit; outline: none; }
.chat-input:focus { border-color: var(--primary); }
.chat-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 5px; border-radius: 9px; background: #e0402f; color: #fff; font-size: 10px; font-weight: 700; }
.chat-entry { white-space: nowrap; }
.chat-video-demo { position: absolute; inset: 0; background: rgba(9,20,38,.92); display: flex; align-items: center; justify-content: center; z-index: 3; }
.chat-video-stage { text-align: center; color: #fff; padding: 30px; max-width: 420px; }
.chat-video-lens { width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 38px; margin: 0 auto 20px; }
.chat-video-stage h3 { font-size: 19px; margin-bottom: 12px; }
.chat-video-stage p { font-size: 13px; line-height: 1.8; opacity: .85; margin-bottom: 22px; }
.support-form .btn-submit-svc { margin-top: 14px; }

/* ============ 交易安全提醒 ============ */
.safety-bar {
  background: linear-gradient(90deg, #c8362f, #e0483d);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .2px;
}
.safety-bar-inner {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 30px; padding: 4px 24px; text-align: center; line-height: 1.5;
}
.safety-bar-icon { font-size: 13px; flex-shrink: 0; }
.safety-bar-text { font-weight: 600; }

.safety-notice {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff5f4;
  border: 1px solid #f6c9c5;
  border-left: 4px solid #dc443b;
  border-radius: 10px;
  padding: 13px 16px;
  margin: 18px 0 26px;
}
.safety-notice-icon { font-size: 20px; line-height: 1.2; flex-shrink: 0; }
.safety-notice-text { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: #9c332d; line-height: 1.65; }
.safety-notice-text b { font-size: 13.5px; color: #b22d26; }
.safety-notice-sm { padding: 10px 14px; margin: 16px 0 0; }
.safety-notice-sm .safety-notice-text { font-size: 12.5px; }
.safety-inline { margin-top: 10px; font-size: 11.5px; color: #b5574f; text-align: center; line-height: 1.5; }
.support-safety { margin: 0 0 16px; }

.footer-safety {
  padding-top: 20px; margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px; color: #94a5bf; line-height: 1.6;
}

/* ============ 整套资料专区 ============ */
.package-section {
  background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  border-top: 1px solid var(--line);
}
.package-head .service-badge { background: #fff1e8; color: #d9631f; }
.package-head .section-title::after { background: linear-gradient(90deg, #e07b2f, #f0a04b); }

/* 购买须知：概不退款（醒目橙红条） */
.pkg-policy {
  display: flex; align-items: flex-start; gap: 14px;
  background: linear-gradient(90deg, #fff3e0, #fff8f0);
  border: 1px solid #f5c98f;
  border-left: 5px solid #e07b2f;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 4px 0 18px;
}
.pkg-policy-icon { font-size: 26px; line-height: 1.2; flex-shrink: 0; }
.pkg-policy-text { display: flex; flex-direction: column; gap: 4px; }
.pkg-policy-text b { font-size: 16px; color: #b4530e; }
.pkg-policy-text span { font-size: 13px; color: #8a5a24; line-height: 1.65; }

.pkg-list { margin-top: 8px; }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.pkg-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #f0b98a; }
.pkg-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.pkg-card-icon {
  width: 54px; height: 54px; border-radius: 12px; background: #fff1e8;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.pkg-card-code { font-size: 10px; color: var(--ink-3); font-weight: 700; letter-spacing: .5px; background: #f5f8fc; padding: 3px 7px; border-radius: 5px; }
.pkg-card-name { font-size: 15px; font-weight: 700; color: var(--ink); margin: 14px 0 10px; line-height: 1.5; min-height: 44px; }
.pkg-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pkg-card-tags span { font-size: 11px; color: #9c6b30; background: #fff6ec; border: 1px solid #f6dcbb; padding: 3px 8px; border-radius: 20px; }
.pkg-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.pkg-card-price { display: flex; align-items: baseline; gap: 3px; color: #d9631f; }
.pkg-card-price small { font-size: 11px; color: var(--ink-3); }
.pkg-card-price b { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.pkg-buy { padding: 9px 14px !important; font-size: 12.5px !important; background: linear-gradient(135deg, #e07b2f, #d9631f) !important; }
.pkg-card-note { margin-top: 12px; font-size: 11px; color: #b5574f; text-align: center; padding-top: 10px; border-top: 1px dashed #eee; }

/* 购买确认弹窗 */
.pkg-dialog {
  position: relative; width: min(440px, 100%); background: #fff; border-radius: 18px;
  padding: 30px; box-shadow: var(--shadow-lg); text-align: center;
}
.pkg-dialog .modal-close { top: 14px; right: 14px; }
.pkg-dialog-icon { font-size: 44px; margin-bottom: 8px; }
.pkg-dialog h3 { font-size: 19px; margin-bottom: 18px; color: var(--ink); }
.pkg-order { background: #f7f9fc; border-radius: 12px; padding: 6px 16px; text-align: left; margin-bottom: 16px; }
.pkg-order .ticket-row { border-color: #e8edf4; }
.pkg-order-price { color: #d9631f; font-size: 20px !important; }
.pkg-refund-warn {
  background: #fff3f2; border: 1px solid #f6c9c5; color: #b22d26;
  border-radius: 10px; padding: 10px 14px; font-size: 13px; font-weight: 700; margin-bottom: 18px;
}
.pkg-dialog-actions { display: flex; gap: 12px; }
.pkg-dialog-actions .btn { flex: 1; justify-content: center; }

/* ============ 整套资料导流条 ============ */
.pkg-cta {
  display: flex; align-items: center; gap: 16px;
  margin-top: 28px; padding: 18px 22px;
  background: linear-gradient(90deg, #16233a, #243a5e);
  border-radius: var(--radius); color: #fff;
}
.pkg-cta-icon { font-size: 32px; flex-shrink: 0; }
.pkg-cta-text { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pkg-cta-text b { font-size: 15px; }
.pkg-cta-text span { font-size: 12.5px; color: #b9c8dd; }
.pkg-cta .btn { background: linear-gradient(135deg, #e07b2f, #d9631f) !important; white-space: nowrap; }

/* ============ 工程师入驻专区 ============ */
.expert-section { background: var(--bg); }
.expert-head .service-badge { background: #eaf6ee; color: #1a8a4a; }
.expert-head .section-title::after { background: linear-gradient(90deg, #1a9c56, #4cc486); }

/* 入驻信息卡（预留样式，不在公开页面展示结算比例） */
.exp-split {
  background: #fff; border: 1px solid #cdebd7; border-top: 4px solid #1a9c56;
  border-radius: var(--radius); padding: 24px 26px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.exp-split-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.exp-split-icon { font-size: 32px; flex-shrink: 0; }
.exp-split-head > div { display: flex; flex-direction: column; gap: 3px; }
.exp-split-head b { font-size: 18px; color: #127a40; }
.exp-split-head span { font-size: 13px; color: var(--ink-2); }
.exp-split-demo { display: flex; align-items: stretch; gap: 14px; }
.exp-split-block {
  flex: 1; border-radius: 12px; padding: 16px; text-align: center;
  display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line);
}
.exp-split-block > span { font-size: 12px; color: var(--ink-2); }
.exp-split-block > b { font-size: 30px; font-weight: 800; line-height: 1.2; }
.exp-split-block > small { font-size: 11px; }
.exp-split-total { background: #f5f8fc; }
.exp-split-total > b { color: var(--ink); }
.exp-split-you { background: #eaf8ef; border-color: #b6e5c6; }
.exp-split-you > b { color: #12833f; }
.exp-split-you > small { color: #4a9c6b; }
.exp-split-platform { background: #fff6ec; border-color: #f5d9b0; }
.exp-split-platform > b { color: #cf7318; }
.exp-split-platform > small { color: #c08a4a; }
.exp-split-arrow, .exp-split-plus { display: flex; align-items: center; font-size: 22px; color: var(--ink-3); font-weight: 700; }
.exp-split-foot { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* 入驻布局 */
.expert-layout { display: grid; grid-template-columns: 340px 1fr; gap: 22px; }
.exp-qr-panel, .exp-form-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.exp-qr-panel { text-align: center; }
.exp-qr-panel .config-subtitle, .exp-form-panel .config-subtitle { text-align: left; margin-bottom: 18px; }
.exp-qr-box {
  display: inline-flex; padding: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
}
.exp-qr-note { font-size: 12.5px; color: var(--ink-2); margin-top: 12px; }
.exp-qr-contact { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: #1a8a4a; font-weight: 600; }
.exp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.exp-field { display: flex; flex-direction: column; }
.exp-privacy {
  font-size: 12px; color: #5a708f; background: #f5f8fc; border-radius: 8px;
  padding: 10px 12px; margin: 18px 0; line-height: 1.6;
}
.exp-result {
  display: flex; align-items: center; gap: 16px; margin-top: 24px;
  background: #eaf8ef; border: 1px solid #b6e5c6; border-radius: var(--radius);
  padding: 22px 26px;
}
.exp-result .result-check { width: 48px; height: 48px; font-size: 24px; flex-shrink: 0; }
.exp-result h3 { font-size: 17px; color: #127a40; margin-bottom: 3px; }
.exp-result p { font-size: 13px; color: #4a7a5e; }

/* ============ 工程师后台（演示） ============ */
.dash-section { background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%); }
.dash-demo-note { background: #eef5ff; border: 1px solid #c9dfff; color: #3a5a8c; font-size: 13px; line-height: 1.6; padding: 12px 16px; border-radius: 10px; margin-bottom: 22px; }
.dash-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.dash-identity { display: flex; align-items: center; gap: 14px; }
.dash-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #1668dc, #00b3a4); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.dash-id-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.dash-id-status { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: #12833f; }
.dash-dot { width: 8px; height: 8px; border-radius: 50%; background: #1db954; box-shadow: 0 0 0 3px rgba(29,185,84,.16); }
.dash-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.dash-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.dash-stat-num { font-size: 24px; font-weight: 800; color: var(--primary); line-height: 1; }
.dash-stat-label { font-size: 12px; color: var(--ink-3); }
.dash-flowbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #0f2d54; color: #cfe0f7; border-radius: 12px; padding: 14px 20px; font-size: 13px; margin-bottom: 24px; }
.dash-flowarrow { color: #6f9bd6; }
.dash-flowhl { color: #7ee0a8; font-weight: 700; }
.dash-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.dash-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.dash-panel-head h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
.dash-panel-hint { font-size: 12px; color: var(--ink-3); }
.dash-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.dash-filter { border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 12px; padding: 6px 13px; border-radius: 20px; cursor: pointer; transition: all .18s; }
.dash-filter:hover { border-color: var(--primary); color: var(--primary); }
.dash-filter.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.dash-order-list { display: flex; flex-direction: column; gap: 12px; }
.dash-order { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; transition: border-color .18s, box-shadow .18s; }
.dash-order:hover { border-color: #b9d2f5; box-shadow: var(--shadow-sm); }
.dash-order-top { display: flex; align-items: center; gap: 12px; }
.dash-order-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.dash-order-head { flex: 1; min-width: 0; }
.dash-order-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.dash-order-cat { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.dash-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.dash-badge-new { background: #e8f1ff; color: var(--primary); }
.dash-badge-ongoing { background: #fff6e8; color: #b5761a; }
.dash-badge-done { background: #e8f8ef; color: #12833f; }
.dash-badge-refund { background: #fdecec; color: #b93a3a; }
.dash-order-need { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin: 12px 0; padding: 10px 12px; background: #f7f9fc; border-radius: 8px; }
.dash-order-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dash-order-price { font-size: 12px; color: var(--ink-3); }
.dash-order-price b { font-size: 17px; color: var(--ink); font-weight: 800; margin-left: 4px; }
.dash-order-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-order-masked, .dash-order-client { font-size: 12px; color: var(--ink-3); }
.dash-order-client { color: var(--ink-2); }
.dash-order-done { font-size: 13px; font-weight: 700; color: #12833f; }
.dash-order-refund { font-size: 13px; color: #b93a3a; }
.btn-sm { padding: 7px 15px; font-size: 12px; }
.btn-danger { background: #fff; color: #b93a3a; border: 1px solid #f0c4c4; }
.btn-danger:hover { background: #fdecec; border-color: #e8a3a3; }
.dash-income-list { display: flex; flex-direction: column; gap: 8px; }
.dash-income-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; background: #f7f9fc; border-radius: 10px; flex-wrap: wrap; }
.dash-income-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.dash-income-sub { font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.dash-income-nums { display: flex; align-items: center; gap: 14px; }
.dash-income-got { font-size: 16px; font-weight: 800; color: #12833f; }
.dash-income-plat { font-size: 12px; color: var(--ink-3); }
.dash-empty { text-align: center; color: var(--ink-3); font-size: 13px; padding: 28px 12px; background: #f7f9fc; border-radius: 10px; }

/* ============ 客户中心（演示） ============ */
.client-section { background: linear-gradient(180deg, #f5f9ff 0%, #fff 100%); }
.cli-demo-note { background: #fff7ec; border: 1px solid #f5dcb8; color: #8a6a34; font-size: 13px; line-height: 1.6; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.cli-flowbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #123a2f; color: #c7e9dc; border-radius: 12px; padding: 14px 20px; font-size: 13px; margin-bottom: 16px; }
.cli-flowarrow { color: #6bbd9c; }
.cli-flowhl { color: #ffd98a; font-weight: 700; }
.cli-tip { background: #eef5ff; border-left: 4px solid var(--primary); color: #3a5a8c; font-size: 13px; line-height: 1.7; padding: 12px 16px; border-radius: 8px; margin-bottom: 24px; }
.cli-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.cli-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cli-panel-head h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
.cli-panel-hint { font-size: 12px; color: var(--ink-3); }
.cli-head-right { display: flex; align-items: center; gap: 14px; }
.cli-order-list { display: flex; flex-direction: column; gap: 12px; }
.cli-order { background: #fff; }
.cli-wait { font-size: 12px; color: var(--ink-3); }
.cli-modal .modal-overlay { position: absolute; inset: 0; background: rgba(10, 25, 48, .5); border-radius: inherit; }
.cli-dialog { position: relative; background: #fff; border-radius: 16px; padding: 30px 32px; width: min(460px, 92vw); box-shadow: var(--shadow-lg); }
.cli-dialog h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.cli-dialog-sub { font-size: 13px; color: var(--ink-3); line-height: 1.6; margin-bottom: 20px; }
.cli-dialog-close { position: absolute; top: 14px; right: 18px; border: 0; background: none; font-size: 26px; color: var(--ink-3); cursor: pointer; line-height: 1; }
.cli-dialog-close:hover { color: var(--ink); }
.cli-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.cli-field:nth-child(2), .cli-field:nth-child(3) { grid-column: 1 / -1; }
.cli-field { display: flex; flex-direction: column; gap: 6px; }
.cli-field .field-label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.cli-field .svc-input { width: 100%; }
.cli-submit { width: 100%; }
.cli-pay-dialog { text-align: center; }
.cli-pay-amount { font-size: 40px; font-weight: 800; color: var(--primary); margin: 8px 0 14px; }
.cli-pay-note { font-size: 12px; color: var(--ink-3); line-height: 1.6; background: #f7f9fc; border-radius: 8px; padding: 10px 12px; margin-bottom: 20px; }

/* ============ 交付验收 / 证据包 ============ */
.acc-modal, .ev-modal { z-index: 170; }
.acc-dialog, .ev-dialog { position: relative; background: #fff; border-radius: 16px; width: min(620px, 94vw); max-height: 88vh; overflow-y: auto; padding: 28px 30px; box-shadow: var(--shadow-lg); }
.ev-dialog { width: min(560px, 94vw); }
.acc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-right: 30px; }
.acc-head-icon { width: 44px; height: 44px; border-radius: 12px; background: #e8f1ff; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.acc-head h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.acc-head p { font-size: 12px; color: var(--ink-3); }
.acc-safety { background: #fff7ed; border: 1px solid #f7d6a8; color: #8a4b0b; border-radius: 9px; padding: 11px 14px; font-size: 12px; line-height: 1.65; margin-bottom: 18px; }
.acc-section { margin-bottom: 18px; }
.acc-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.acc-section-head b { font-size: 13px; font-weight: 700; color: var(--ink); }
.acc-section-head span { font-size: 11px; color: var(--ink-3); font-family: var(--font-mono, monospace); }
.acc-file-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.acc-file { padding: 10px 12px; background: #f9fbfe; border-bottom: 1px dashed #e3eaf4; }
.acc-file:last-child { border-bottom: 0; }
.acc-file-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.acc-file-name { font-size: 12.5px; font-weight: 700; color: var(--ink); word-break: break-all; }
.acc-file-meta { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.acc-hash { display: inline-block; margin-top: 6px; font-family: var(--font-mono, monospace); font-size: 10.5px; color: #185fa5; background: #eef5ff; border-radius: 5px; padding: 4px 7px; word-break: break-all; line-height: 1.5; }
.acc-hashnote { font-size: 11px; color: var(--ink-3); line-height: 1.6; margin-top: 8px; }
.acc-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.acc-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.acc-method { cursor: pointer; }
.acc-method input { position: absolute; opacity: 0; width: 0; height: 0; }
.acc-method-body { display: block; height: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; background: #fff; transition: border-color .18s, background .18s; }
.acc-method-body b { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.acc-method-body small { display: block; font-size: 10.5px; color: var(--ink-3); line-height: 1.5; margin-top: 5px; }
.acc-method:hover .acc-method-body { border-color: #b5d4f4; }
.acc-method:has(input:checked) .acc-method-body { border-color: var(--primary); background: #eef5ff; box-shadow: inset 0 0 0 1px var(--primary); }
.acc-checks { display: grid; gap: 7px; }
.acc-check { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; background: #f7f9fc; border: 1px solid #edf1f7; border-radius: 8px; padding: 9px 11px; cursor: pointer; }
.acc-check input { margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.acc-promise { display: flex; align-items: flex-start; gap: 9px; background: #eef5ff; border: 1px solid #cfe2fa; border-radius: 9px; padding: 11px 13px; font-size: 12.5px; line-height: 1.6; color: #1b4f8c; cursor: pointer; margin-bottom: 16px; }
.acc-promise input { margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.acc-actions { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.acc-submit { width: 100%; justify-content: center; }
.btn-link { border: 0; background: none; color: var(--ink-3); font-size: 12px; cursor: pointer; padding: 6px; text-decoration: underline; }
.btn-link:hover { color: #b93a3a; }
.acc-dispute-panel { border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 16px; }
.acc-d-note { font-size: 11.5px; color: var(--ink-3); line-height: 1.65; margin: 6px 0 12px; }
.acc-d-text { min-height: 76px; resize: vertical; width: 100%; margin: 10px 0; line-height: 1.6; }
.acc-d-attach { width: 100%; justify-content: center; }
.acc-d-actions { display: flex; gap: 10px; margin-top: 12px; }
.acc-d-actions .btn { flex: 1; justify-content: center; }
.ev-dialog h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.ev-sub { font-size: 12px; color: var(--ink-3); margin-bottom: 16px; }
.ev-cert { border: 1px solid #cfe2fa; border-radius: 12px; padding: 16px; background: #f9fbff; }
.ev-cert-no { font-family: var(--font-mono, monospace); font-size: 13px; font-weight: 700; color: #185fa5; background: #eef5ff; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; word-break: break-all; }
.ev-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 12px; border-bottom: 1px dashed #e3eaf4; }
.ev-row:last-of-type { border-bottom: 0; }
.ev-row span { color: var(--ink-3); flex-shrink: 0; }
.ev-row b { color: var(--ink); text-align: right; font-weight: 600; word-break: break-all; }
.ev-block-title { font-size: 12px; font-weight: 700; color: var(--ink); margin: 14px 0 7px; }
.ev-hash { font-family: var(--font-mono, monospace); font-size: 10.5px; color: #185fa5; background: #eef5ff; border-radius: 6px; padding: 6px 8px; margin-bottom: 6px; word-break: break-all; line-height: 1.55; }
.ev-foot { font-size: 11px; color: var(--ink-3); line-height: 1.65; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ev-actions { display: flex; gap: 10px; margin-top: 18px; }
.ev-actions .btn { flex: 1; justify-content: center; }
.ev-pill { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 20px; padding: 3px 10px; margin-bottom: 10px; }
.ev-pill-ok { background: #e6f6ea; color: #27733c; }
.ev-pill-wait { background: #fff4e0; color: #8a5a08; }
.ev-pill-dispute { background: #fdecec; color: #a32d2d; }
/* 资金托管提示：让「客户未确认前不结算」在凭证里一目了然 */
.ev-fund-note { margin: 12px 0 4px; padding: 10px 12px; border-radius: 8px; background: #fff8ec; border-left: 3px solid #ef9f27; font-size: 12px; color: #8a4b0b; line-height: 1.65; }
.ev-fund-note-dispute { background: #fdecec; border-left-color: #d9534f; color: #a32d2d; }
.ev-row b.ev-settle-hold { color: #8a5a08; }
.ev-row b.ev-settle-ok { color: #12833f; }

/* ============ 工程师后台入口（独立页面导向） ============ */
.exphub-section { background: #f4f8fe; }
.exphub-card { display: flex; align-items: center; gap: 20px; background: #fff; border: 1px solid #dce9fa; border-radius: 16px; padding: 26px 28px; box-shadow: 0 8px 26px rgba(24, 80, 150, .06); }
.exphub-icon { width: 60px; height: 60px; border-radius: 16px; background: #e8f1ff; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.exphub-info { flex: 1; min-width: 0; }
.exphub-info .section-tag { display: inline-block; margin-bottom: 8px; }
.exphub-info .section-title { font-size: 20px; margin-bottom: 6px; }
.exphub-info .section-sub { font-size: 13px; line-height: 1.7; }
.exphub-btn { flex-shrink: 0; white-space: nowrap; }
.nav-external::after { content: ' ↗'; font-size: 10px; opacity: .7; }

/* ============ 平台通知面板 ============ */
.notice-panel { background: #fff; border: 1px solid #e3ecf7; border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.notice-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.notice-head h4 { font-size: 14px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.notice-head h4::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #1a6dff; box-shadow: 0 0 0 4px rgba(26,109,255,.12); }
.notice-mark { border: 0; background: none; font-size: 12px; color: #1a6dff; cursor: pointer; }
.notice-mark:hover { text-decoration: underline; }
.notice-list { display: flex; flex-direction: column; gap: 9px; }
.notice-item { position: relative; display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.55; color: #45536a; background: #f7faff; border: 1px solid #edf2fa; border-radius: 9px; padding: 9px 12px 9px 14px; }
.notice-item.is-new { background: #eef5ff; border-color: #cfe0ff; color: #1d3a5c; }
.notice-dot { flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: #9db4d4; margin-top: 6px; }
.notice-item.is-new .notice-dot { background: #1a6dff; }
.notice-text { flex: 1; min-width: 0; }
.notice-time { flex-shrink: 0; font-size: 11px; color: #9aa8bd; }
.notice-empty { font-size: 12.5px; color: #9aa8bd; text-align: center; padding: 10px 0; }

/* ============ 第三方支付：报价付款码 ============ */
.pay-quoted { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 4px 0 18px; padding: 14px; background: linear-gradient(135deg, #eef5ff, #f7faff); border: 1px solid #dce9fa; border-radius: 12px; }
.pay-quoted span { font-size: 13px; color: #5a6b82; }
.pay-quoted b { font-size: 28px; font-weight: 800; color: #1a56b8; letter-spacing: .5px; }
.pay-linkbox { display: flex; flex-direction: column; align-items: center; }
.pay-channel { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.pay-channel span { font-size: 12px; color: #8a97ab; }
.pay-channel b { font-size: 12px; font-weight: 700; color: #1d3a5c; background: #eef4fd; border: 1px solid #dbe8fa; border-radius: 20px; padding: 4px 11px; }
.pay-qr { width: 152px; height: 152px; display: flex; align-items: center; justify-content: center; border: 1px solid #e3ecf7; border-radius: 12px; background: #fff; padding: 8px; box-shadow: 0 6px 18px rgba(24,80,150,.08); }
.pay-qr svg { width: 100%; height: 100%; }
.pay-meta { width: 100%; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.pay-meta-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.pay-meta-row > span { flex-shrink: 0; color: #8a97ab; }
.pay-meta-row > b { color: #1d3a5c; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; }
.pay-meta-row > input { flex: 1; min-width: 0; font-size: 11px; color: #5a6b82; background: #f7faff; padding: 7px 9px; }
.pay-hint { font-size: 11.5px; line-height: 1.6; color: #9aa8bd; text-align: center; margin: 12px 0 4px; }
.cli-submit { width: 100%; margin-top: 8px; }

/* ============ 售后举证 / 同行评审团弹窗 ============ */
.as-modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 220; }
.as-modal[hidden] { display: none; }
.as-modal .modal-overlay { position: absolute; inset: 0; background: rgba(10,25,48,.55); }
.as-dialog { position: relative; width: min(560px, 94vw); max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 16px; padding: 28px 30px; box-shadow: var(--shadow-lg); }
.as-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid #eef2f7; margin-bottom: 18px; }
.as-head-icon { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; background: #eef5ff; border-radius: 13px; }
.as-head h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.as-head p { font-size: 12px; color: #8a97ab; }
.as-alert { font-size: 12.5px; line-height: 1.65; color: #6b5420; background: #fff8e8; border: 1px solid #f4e2ad; border-radius: 9px; padding: 10px 13px; margin-bottom: 14px; }
.as-window { font-size: 12.5px; font-weight: 700; color: #1a56b8; background: #eef5ff; border-radius: 9px; padding: 9px 13px; margin-bottom: 12px; }
.as-closed { font-size: 12.5px; color: #a32d2d; background: #fdecec; border-radius: 9px; padding: 9px 13px; margin-bottom: 12px; }
.as-field { margin-bottom: 16px; }
.as-field > b { display: block; font-size: 12.5px; color: #3a4a60; margin-bottom: 7px; }
.as-field .svc-input { width: 100%; }
.as-text { min-height: 84px; resize: vertical; line-height: 1.6; font-size: 12.5px; }
.as-field .btn { margin-top: 8px; }
.as-hint { font-size: 11.5px; line-height: 1.6; color: #9aa8bd; margin: 7px 0 0; }
.as-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.as-actions .btn { flex: 1; min-width: 130px; }
.as-status { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; background: #eef4fd; color: #1a56b8; }
.as-st-jury { background: #fff3e0; color: #a8620d; }
.as-st-resolved { background: #e7f6ec; color: #1c8243; }
.as-row { display: flex; gap: 12px; font-size: 12.5px; padding: 9px 0; border-bottom: 1px dashed #eef2f7; }
.as-row span { flex-shrink: 0; width: 84px; color: #8a97ab; }
.as-row b { flex: 1; color: #2b3a4f; font-weight: 600; word-break: break-all; }
.as-h4 { font-size: 13.5px; font-weight: 800; color: #1d3a5c; margin: 18px 0 9px; }
.as-jurors { display: flex; flex-direction: column; gap: 7px; }
.as-juror { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #5a6b82; background: #f7faff; border: 1px solid #edf2fa; border-radius: 8px; padding: 8px 11px; }
.as-juror-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; color: #1d3a5c; }
.as-juror-ok { margin-left: auto; font-size: 11px; color: #1c8243; }
.as-verdict { font-size: 13px; line-height: 1.7; color: #1d3a5c; font-weight: 600; background: linear-gradient(135deg, #eef5ff, #f7faff); border: 1px solid #dce9fa; border-radius: 10px; padding: 14px 16px; }
.as-votes { display: flex; flex-direction: column; gap: 5px; }
.as-vote-row { display: flex; justify-content: space-between; font-size: 12px; padding: 6px 10px; background: #f7faff; border-radius: 6px; }
.as-vote-row span { font-family: ui-monospace, Menlo, Consolas, monospace; color: #5a6b82; }
.as-vote-row b { color: #1a56b8; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .viewer-layout { grid-template-columns: 1fr; }
  .viewer-stage { min-height: 340px; }
  .viewer-info { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .config-layout { grid-template-columns: 1fr; gap: 24px; }
  .result-body { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-layout { grid-template-columns: 1fr; }
  .dash-stats { gap: 20px; }
  .cli-flowbar { gap: 7px; }
  .cli-flowhl { margin-left: 0; }
  .as-dialog { padding: 24px 18px; }
  .as-row span { width: 70px; }
  .as-actions .btn { min-width: 120px; }
}
@media (max-width: 720px) {
  .safety-bar-text { font-size: 11px; }
  .safety-bar-inner { padding: 4px 14px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 20px; box-shadow: var(--shadow-md); }
  .main-nav.open { display: flex; align-items: stretch; }
  .main-nav .nav-support { text-align: left; padding: 8px 14px; }
  .menu-toggle { display: block; }
  .signin, .signup { display: none; }
  .header-inner { gap: 12px; }
  .hero-inner { padding: 56px 20px 50px; }
  .search-box { padding-left: 12px; }
  .search-btn { padding: 12px 18px; }
  .section { padding: 52px 0; }
  .section-title { font-size: 23px; }
  .hero-stats { gap: 24px; }
  .stat b { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .domain-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .domain-card { padding: 18px 14px; }
  .domain-desc { min-height: auto; }
  .option-grid { grid-template-columns: 1fr; }
  .service-config { padding: 20px 16px; }
  .result-head { padding: 16px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .pkg-policy { padding: 14px; }
  .pkg-policy-text b { font-size: 14px; }
  .pkg-dialog { padding: 26px 18px; }
  .pkg-cta { flex-wrap: wrap; }
  .pkg-cta .btn { width: 100%; }
  .exp-form-grid { grid-template-columns: 1fr; }
  .exp-split-demo { flex-wrap: wrap; justify-content: center; }
  .exp-split-block { min-width: 120px; }
  .exp-split-foot { text-align: left; }
  .dash-topbar { padding: 16px; }
  .dash-panel { padding: 16px; }
  .dash-stats { gap: 16px; width: 100%; }
  .dash-stat-num { font-size: 20px; }
  .dash-flowbar { font-size: 12px; gap: 7px; }
  .dash-flowhl { margin-left: 0; }
  .dash-order-bottom { align-items: flex-start; }
  .dash-order-actions { width: 100%; }
  .cli-panel { padding: 16px; }
  .cli-dialog { padding: 26px 18px; }
  .cli-form { grid-template-columns: 1fr; }
  .cli-field:nth-child(2), .cli-field:nth-child(3) { grid-column: auto; }
  .acc-dialog, .ev-dialog { padding: 24px 18px; }
  .acc-methods { grid-template-columns: 1fr; }
  .acc-section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .exphub-card { flex-direction: column; align-items: flex-start; padding: 22px 18px; }
  .exphub-btn { width: 100%; justify-content: center; }
}

/* ---------- 需求确认 + 模型上传 ---------- */
.pkg-cta-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.req-listbox { background:#f7faff; border:1px solid #dce9fa; border-radius:12px; padding:14px 16px; margin:2px 0 16px; }
.req-list-label { display:block; font-size:12px; font-weight:700; color:#5a6b82; margin-bottom:6px; }
.req-list { font-size:13px; line-height:1.8; color:var(--ink); white-space:pre-wrap; max-height:180px; overflow:auto; }
.req-actions { display:flex; gap:10px; justify-content:flex-end; }

.viewer-cover { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:rgba(12,24,44,.04); }

.mu-modal { position:fixed; inset:0; z-index:120; display:flex; align-items:center; justify-content:center; }
.mu-dialog { position:relative; background:#fff; border-radius:16px; padding:28px 30px; width:min(680px,94vw); max-height:90vh; overflow:auto; box-shadow:var(--shadow-lg); }
.mu-dialog h3 { font-size:20px; font-weight:800; color:var(--ink); margin-bottom:6px; }
.mu-form .mu-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.mu-form .cli-field { margin-bottom:14px; }
.mu-form .field-label { display:block; font-size:12px; font-weight:700; color:#5a6b82; margin-bottom:6px; }
.mu-form .svc-input { width:100%; box-sizing:border-box; border:1px solid #dce5f2; border-radius:9px; padding:10px 12px; font-size:13px; color:var(--ink); background:#fff; font-family:inherit; }
.mu-form .svc-input:focus { outline:none; border-color:#2f6fd0; box-shadow:0 0 0 3px rgba(47,111,208,.12); }
.mu-form textarea.svc-input { resize:vertical; }
.mu-form select.svc-input { cursor:pointer; }
.mu-file { padding:8px 10px !important; font-size:12px !important; }
.mu-tip { display:block; font-size:11px; color:#9aa8bd; margin-top:5px; line-height:1.5; }
.mu-filelist { display:flex; flex-wrap:wrap; gap:6px; margin:2px 0 12px; }
.mu-chip { display:inline-flex; align-items:center; gap:4px; font-size:11px; color:#3b5a8a; background:#eef5ff; border:1px solid #dce9fa; border-radius:20px; padding:4px 10px; }
.mu-notice { font-size:12px; line-height:1.6; color:#7c8ba1; background:#f7faff; border-radius:10px; padding:10px 12px; margin:4px 0 16px; }

.mu-mine-list { display:flex; flex-direction:column; gap:8px; }
.mu-mine-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; border:1px solid #e7edf6; border-radius:10px; }
.mu-mine-info b { display:block; font-size:14px; color:var(--ink); margin-bottom:3px; }
.mu-mine-info small { display:block; font-size:11px; color:#9aa8bd; }
.mu-mine-state { font-size:11px; font-weight:700; border-radius:20px; padding:4px 10px; white-space:nowrap; }
.mu-mine-wait { color:#9b6a00; background:#fff5de; }
.mu-mine-ok { color:#16794f; background:#e6f7ef; }
.mu-mine-no { color:#b13535; background:#fdeaea; }

@media (max-width: 640px) {
  .mu-form .mu-grid { grid-template-columns:1fr; }
  .mu-dialog { padding:24px 18px; }
  .req-actions { flex-direction:column; }
}

/* ---------- 平台客服在场 + 电话字段提示 ---------- */
.cli-field-tip { display:block; font-size:11px; line-height:1.55; color:#7c8ba1; margin-top:2px; }
.chat-support-bar { display:flex; align-items:center; gap:10px; padding:9px 20px; background:#f2f7ff; border-bottom:1px solid #dce9fa; flex-shrink:0; }
.chat-support-avatar { width:28px; height:28px; border-radius:50%; background:#2f6fd0; color:#fff; font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.chat-support-info { display:flex; flex-direction:column; min-width:0; }
.chat-support-info b { font-size:12px; color:#2f6fd0; }
.chat-support-info small { font-size:10.5px; color:#7c8ba1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chat-support-tag { margin-left:auto; font-size:10px; font-weight:700; color:#16794f; background:#e6f7ef; border-radius:20px; padding:3px 9px; flex-shrink:0; }
@media (max-width: 640px) { .chat-support-info small { white-space:normal; } }

/* ---------- 平台客服发言气泡 ---------- */
.chat-msg.chat-support-msg { align-self:center; width:100%; display:flex; flex-direction:column; align-items:center; }
.chat-support-bubble { max-width:80%; background:#fff8e9; border:1px solid #f0d9a8; border-radius:12px; padding:7px 12px 9px; }
.chat-support-label { display:block; font-size:10px; font-weight:700; color:#a6701c; margin-bottom:3px; }
.chat-support-msg .chat-bubble { background:transparent !important; color:#5b451f; padding:0 !important; box-shadow:none !important; }
.chat-msg.chat-support-msg .chat-time { text-align:center; }
.support-console-hint { font-size:11px; color:#7c8ba1; background:#f7f9fd; border-radius:9px; padding:9px 11px; margin:10px 0 14px; }
.support-console-hint a { color:#2f6fd0; text-decoration:none; font-weight:700; margin-left:6px; }

/* ============ 图纸数字商品 ============ */
.drawings-section { background:linear-gradient(180deg,#f8fbff 0,#eef4fc 100%); }
.drawings-section .section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.dr-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(232px,1fr)); gap:18px; }
.dr-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; cursor:pointer; transition:transform .2s ease,box-shadow .2s ease; }
.dr-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.dr-thumb { position:relative; height:150px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#e9f2ff,#dbe7f7); }
.dr-thumb img { width:100%; height:100%; object-fit:cover; }
.dr-thumb-icon { font-size:52px; opacity:.72; }
.dr-fmt { position:absolute; left:10px; top:10px; font-size:10px; font-weight:700; color:#2f6fd0; background:#fff; border-radius:6px; padding:3px 8px; }
.dr-price-tag { position:absolute; right:10px; top:10px; font-size:12px; font-weight:700; color:#fff; background:var(--primary); border-radius:6px; padding:4px 9px; }
.dr-price-tag.free { background:#16794f; }
.dr-body { padding:14px; }
.dr-name { font-size:15px; color:var(--ink); margin-bottom:6px; }
.dr-meta { font-size:11px; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dr-foot { display:flex; justify-content:space-between; margin-top:10px; font-size:11px; color:#2f6fd0; }
.dr-empty { grid-column:1/-1; text-align:center; padding:48px 20px; color:var(--ink-3); background:#fff; border:1px dashed var(--line); border-radius:var(--radius); }
.dr-guide-strip { margin-top:22px; display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; background:#fff; border:1px dashed #c9d9f0; border-radius:12px; padding:16px; font-size:13px; color:var(--ink-2); }

.dr-modal { position:fixed; inset:0; z-index:1200; display:flex; align-items:center; justify-content:center; padding:20px; }
.dr-detail-modal { z-index:1200; }
.dr-modal .modal-overlay, .dr-detail-modal .modal-overlay { position:absolute; inset:0; background:rgba(10,25,48,.58); }
.dr-dialog { position:relative; width:min(640px,96vw); max-height:92vh; overflow:auto; background:#fff; border-radius:16px; padding:28px; box-shadow:var(--shadow-lg); }
.dr-dialog h3 { font-size:20px; color:var(--ink); margin-bottom:6px; }
.dr-form .mu-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.dr-form .cli-field { margin-bottom:14px; }
.dr-form .field-label { display:block; font-size:12px; font-weight:700; color:#5a6b82; margin-bottom:6px; }
.dr-form .svc-input { width:100%; box-sizing:border-box; border:1px solid #dce5f2; border-radius:9px; padding:10px 12px; font-size:13px; color:var(--ink); background:#fff; font-family:inherit; }
.dr-form .svc-input:focus { outline:none; border-color:#2f6fd0; box-shadow:0 0 0 3px rgba(47,111,208,.12); }
.dr-form .svc-input:disabled { background:#f4f7fb; color:#9aa8bd; }
.dr-form textarea.svc-input { resize:vertical; }
.dr-split-note { font-size:11.5px; color:#7c5a12; background:#fff8e9; border:1px solid #f0d9a8; border-radius:9px; padding:9px 11px; margin-bottom:12px; line-height:1.6; }
.dr-chip-bad { color:#b13535 !important; background:#fdeaea !important; border-color:#f3c7c7 !important; }

.dr-detail-dialog { position:relative; width:min(1000px,97vw); max-height:94vh; overflow:auto; background:#fff; border-radius:16px; padding:24px; box-shadow:var(--shadow-lg); }
.dr-detail-grid { display:grid; grid-template-columns:1.02fr .98fr; gap:24px; }
.dr-detail-stage { position:relative; min-height:430px; border-radius:12px; background:linear-gradient(135deg,#eef4fd,#dce8f8); overflow:hidden; }
.dr-detail-stage canvas, .dr-detail-stage img { width:100%; height:430px; display:block; }
.dr-detail-stage img { object-fit:cover; }
.dr-preview-tag { position:absolute; left:12px; top:12px; font-size:11px; font-weight:700; color:#2f6fd0; background:#fff; padding:5px 10px; border-radius:20px; }
.dr-preview-tip { position:absolute; left:12px; bottom:12px; font-size:10px; color:#5a6b82; background:rgba(255,255,255,.88); padding:5px 10px; border-radius:8px; }
.dr-detail-cat { font-size:11px; color:#2f6fd0; font-weight:700; margin-bottom:6px; }
.dr-detail-title { font-size:22px; color:var(--ink); margin-bottom:8px; }
.dr-detail-desc { font-size:13px; color:var(--ink-2); line-height:1.7; margin-bottom:14px; }
.dr-detail-info .viewer-meta { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-bottom:14px; }
.dr-detail-info .viewer-meta div { background:#f7faff; border-radius:8px; padding:8px 10px; }
.dr-detail-info .viewer-meta dt { font-size:10px; color:var(--ink-3); }
.dr-detail-info .viewer-meta dd { font-size:12px; font-weight:700; color:var(--ink); word-break:break-all; }
.dr-filebox { border:1px solid var(--line); border-radius:10px; padding:10px 12px; margin-bottom:14px; }
.dr-file-row { display:flex; justify-content:space-between; gap:10px; font-size:11.5px; color:var(--ink-2); padding:4px 0; }
.dr-file-row small { color:var(--ink-3); white-space:nowrap; }
.dr-detail-price { display:flex; align-items:baseline; gap:8px; margin-bottom:12px; }
.dr-detail-price small { font-size:11px; color:var(--ink-3); }
.dr-detail-price b { font-size:26px; color:#d7482f; }
.dr-detail-price b.dr-free { color:#16794f; }
.dr-paybox { background:#fff8e9; border:1px solid #f0d9a8; border-radius:10px; padding:14px; text-align:center; margin-bottom:12px; }
.dr-qr { display:flex; justify-content:center; margin-bottom:8px; }
.dr-paybox p { font-size:11px; color:#8b6b2f; margin-bottom:10px; }
.dr-detail-info .btn-download { width:100%; }
.dr-refund-rule { font-size:10.5px; color:#9b6a00; background:#fff8ec; border-radius:8px; padding:8px 10px; margin:10px 0; line-height:1.6; }
.dr-guide { margin-top:12px; border:1px dashed #c9d9f0; border-radius:10px; padding:12px; }
.dr-guide-label { font-size:12px; color:var(--ink-2); margin-bottom:8px; }
.dr-guide .btn-modify-hook { width:100%; justify-content:space-between; }
.dr-guide .viewer-hook-note { font-size:10.5px; color:var(--ink-3); margin-top:6px; }
.dr-sum { display:flex; justify-content:space-between; gap:10px; padding:8px 10px; border-bottom:1px solid #eef1f6; font-size:12px; color:var(--ink-2); }
.dr-sum b { color:var(--ink); font-weight:700; }
.dr-sum.income b { color:#16794f; }

/* 批量上架：弹窗、校验预览、按批次审核 */
.dr-batch-dialog { width:min(960px,96vw); }
.dr-batch-steps { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.dr-batch-steps span { font-size:11px; font-weight:700; color:#2f6fd0; background:#eef4fd; border-radius:20px; padding:5px 11px; }
.dr-batch-tools { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.dr-batch-filebtn { display:inline-flex; align-items:center; cursor:pointer; }
.dr-batch-cols { font-size:11px; color:#7a6a45; background:#fff8e9; border:1px solid #f0d9a8; border-radius:9px; padding:9px 11px; line-height:1.7; margin-bottom:10px; }
.dr-batch-text { width:100%; box-sizing:border-box; border:1px solid #dce5f2; border-radius:9px; padding:10px 12px; font-size:12px; color:var(--ink); background:#fff; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; line-height:1.6; resize:vertical; }
.dr-batch-text:focus { outline:none; border-color:#2f6fd0; box-shadow:0 0 0 3px rgba(47,111,208,.12); }
.dr-batch-actions { display:flex; align-items:center; gap:12px; margin:12px 0; flex-wrap:wrap; }
.dr-batch-hint { font-size:11.5px; color:var(--ink-3); flex:1; min-width:180px; line-height:1.5; }
.dr-batch-result { border-top:1px solid var(--line); padding-top:14px; }
.dr-batch-summary { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.dr-batch-chip { display:flex; align-items:center; gap:8px; font-size:11px; color:var(--ink-2); background:#f7faff; border:1px solid #e6edf8; border-radius:8px; padding:6px 10px; }
.dr-batch-chip b { color:var(--ink); font-size:12px; }
.dr-batch-chip.ok { background:#eefaf3; border-color:#cdeedc; }
.dr-batch-chip.ok b { color:#16794f; }
.dr-batch-chip.bad { background:#fdeaea; border-color:#f3c7c7; }
.dr-batch-chip.bad b { color:#b13535; }
.dr-batch-chip.warn { background:#fff8e9; border-color:#f0d9a8; }
.dr-batch-chip.warn b { color:#9b6a00; }
.dr-batch-done { font-size:12.5px; color:#16794f; background:#eefaf3; border:1px solid #cdeedc; border-radius:9px; padding:10px 12px; }
.dr-batch-done b { font-family:ui-monospace,Consolas,monospace; }
.dr-batch-table-wrap { max-height:300px; overflow:auto; border:1px solid var(--line); border-radius:9px; }
.dr-batch-table { width:100%; border-collapse:collapse; font-size:11.5px; }
.dr-batch-table th { position:sticky; top:0; background:#f4f7fb; color:#5a6b82; font-weight:700; text-align:left; padding:8px 9px; white-space:nowrap; border-bottom:1px solid #e6edf8; z-index:1; }
.dr-batch-table td { padding:7px 9px; border-bottom:1px solid #f0f3f8; color:var(--ink-2); vertical-align:top; }
.dr-batch-table tr.ok td:last-child { color:#16794f; font-weight:700; }
.dr-batch-table tr.bad { background:#fff6f6; }
.dr-batch-table tr.bad td:last-child { color:#b13535; font-weight:700; }
.dr-batch-table tr.warn { background:#fffbf1; }
.dr-batch-table tr.warn td:last-child { color:#9b6a00; }
.dr-batch-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:12px; }
.dr-batch-review { font-size:11px; color:var(--ink-3); flex:1; min-width:200px; line-height:1.6; }
.dr-batch-foot-btns { display:flex; gap:8px; }
.dr-batch-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; background:#f7faff; border:1px solid #e6edf8; border-radius:9px; padding:9px 11px; margin-bottom:12px; }
.dr-batch-bar[hidden] { display:none; }
.dr-batch-bar label { font-size:11.5px; font-weight:700; color:#5a6b82; }
.dr-batch-select { border:1px solid #dce5f2; border-radius:8px; padding:6px 9px; font-size:11.5px; color:var(--ink); background:#fff; font-family:inherit; max-width:220px; }
.dr-batch-bar-hint { font-size:11px; color:var(--ink-3); }
.dr-batch-tag { font-style:normal; color:#2f6fd0; background:#eef4fd; border-radius:5px; padding:1px 5px; font-size:10px; }
.dr-mine-head { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.dr-mine-head .btn { margin-left:auto; flex-shrink:0; }
@media (max-width:860px) {
  .dr-batch-dialog { width:96vw; }
  .dr-batch-table-wrap { max-height:240px; }
}
@media (max-width:860px) {
  .dr-detail-grid { grid-template-columns:1fr; }
  .dr-detail-stage, .dr-detail-stage canvas, .dr-detail-stage img { height:300px; min-height:300px; }
  .dr-form .mu-grid { grid-template-columns:1fr; }
  .dr-dialog, .dr-detail-dialog { padding:20px 16px; }
}
