/* ── 场馆经营诊断 H5 — 移动优先 ── */

:root {
  --primary: #1a56db;
  --primary-light: #e8edfa;
  --success: #057a55;
  --success-light: #def7ec;
  --warning: #c27803;
  --warning-light: #fef3c7;
  --danger: #c81e1e;
  --danger-light: #fde8e8;
  --bg: #f3f4f6;
  --card: #ffffff;
  --text: #111827;
  --text-secondary: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── 通用组件 ── */

.page { display: none; padding: 0 16px 100px; }
.page.active { display: block; animation: fadeIn .3s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }

.header {
  padding: 20px 16px 12px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  border-radius: 0 0 24px 24px;
  margin-bottom: 20px;
}
.header h1 { font-size: 20px; font-weight: 700; }
.header p { font-size: 13px; opacity: 0.85; margin-top: 4px; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ── 首页：介绍卡 + 七模块标签 + 选项卡 ── */

.intro-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid var(--primary);
}
.intro-icon {
  font-size: 30px;
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light);
  border-radius: 14px;
}
.intro-body { flex: 1; }
.intro-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.intro-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.dim-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
  padding: 0 2px;
}
.dim-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: 20px;
}

.home-status {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.pick-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 2px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pick-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.option-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  position: relative;
  border: 1.5px solid transparent;
  transition: all .18s ease;
}
.option-card:active { transform: scale(.98); }
.option-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.option-card-deep {
  border-color: #fca5a5;
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 60%);
}

.option-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border-radius: 14px;
}
.option-icon-quick { background: var(--success-light); }
.option-icon-deep { background: var(--primary-light); }

.option-main { flex: 1; min-width: 0; }
.option-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.option-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.option-pay {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #991b1b;
  background: #fee2e2;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #fca5a5;
}

.pay-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #991b1b;
  background: #fee2e2;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #fca5a5;
  vertical-align: middle;
}

.option-cta {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 22px;
  white-space: nowrap;
}
.cta-free { color: var(--success); background: var(--success-light); }
.cta-deep {
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.option-badge-rec {
  position: absolute;
  top: -8px; right: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(22,163,74,.35);
}

/* ── 按钮 ── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 24px; border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all .15s;
  text-decoration: none; width: 100%;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #1e40af; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-success { background: var(--success); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-lg { padding: 16px; font-size: 17px; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: 13px; width: auto; }

/* ── 选项列表 ── */

.option-list { list-style: none; }
.option-item {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all .15s;
  font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.option-item:hover { border-color: var(--primary); background: var(--primary-light); }
.option-item.selected {
  border-color: var(--primary); background: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(26,86,219,.15);
}
.option-radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .15s;
}
.option-item.selected .option-radio {
  border-color: var(--primary); background: var(--primary);
}
.option-item.selected .option-radio::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff;
}

/* ── 进度条 ── */

.progress-bar {
  display: flex; gap: 6px; margin-bottom: 20px;
}
.progress-dot {
  flex: 1; height: 4px; border-radius: 2px; background: var(--border);
  transition: background .3s;
}
.progress-dot.done { background: var(--primary); }
.progress-dot.active { background: var(--primary); }

.step-counter {
  text-align: center; font-size: 13px; color: var(--text-secondary); margin-bottom: 12px;
}

/* ── 输入框 ── */

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-input {
  width: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; transition: border-color .15s; outline: none;
}
.form-input:focus { border-color: var(--primary); }
.form-textarea { min-height: 100px; resize: vertical; }

/* ── 快捷标签 ── */

.quick-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.quick-tag {
  padding: 8px 14px; border: 2px solid var(--border); border-radius: 20px;
  background: #fff; font-size: 13px; color: var(--text-secondary);
  cursor: pointer; transition: all .15s; font-weight: 500;
  display: inline-flex; align-items: center;
}
.quick-tag:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.quick-tag.selected {
  border-color: var(--primary); background: var(--primary); color: #fff;
  box-shadow: 0 2px 8px rgba(26,86,219,.25);
}
.quick-tags.multi .quick-tag.selected::before {
  content: '\2713 '; margin-right: 3px; font-weight: 700;
}
.multi-selected-hint {
  font-size: 13px; color: var(--primary); padding: 8px 12px;
  background: var(--primary-light); border-radius: 8px; margin-bottom: 10px;
  line-height: 1.5; word-break: break-all;
}

/* ── 诊断报告 ── */

.report-score {
  text-align: center; padding: 20px 0;
}

/* SVG 仪表盘（三色分段刻度 + 进度弧 + 图例） */
.gauge-wrap { display: flex; flex-direction: column; align-items: center; }
.gauge-legend {
  display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap;
  justify-content: center; max-width: 200px;
}
.zone-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; line-height: 1; color: rgba(255,255,255,.62);
  padding: 3px 7px; border-radius: 11px;
  background: rgba(255,255,255,.08); white-space: nowrap;
}
.zone-pill i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--zc); display: inline-block; flex-shrink: 0;
}
.zone-pill.active {
  color: #10243f; font-weight: 700; background: var(--zc);
  box-shadow: 0 1px 4px rgba(0,0,0,.22);
}

/* 旧评分圆圈（保留兼容深度报告） */
.score-circle {
  display: inline-flex; width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  align-items: center; justify-content: center; font-size: 32px; font-weight: 800;
  color: var(--warning); border: 4px solid var(--warning);
}
.score-circle.good { background: var(--success-light); color: var(--success); border-color: var(--success); }
.score-circle.warn { background: var(--warning-light); color: var(--warning); border-color: var(--warning); }
.score-circle.bad { background: var(--danger-light); color: var(--danger); border-color: var(--danger); }

.report-label { font-size: 13px; color: var(--text-secondary); margin-top: 8px; }

.issue-card {
  background: var(--card); border-radius: var(--radius); padding: 16px;
  margin-bottom: 10px; border-left: 4px solid var(--primary);
}
.issue-card.danger { border-left-color: var(--danger); background: var(--danger-light); }
.issue-card.warning { border-left-color: var(--warning); background: var(--warning-light); }
.issue-card h4 { font-size: 15px; margin-bottom: 4px; }
.issue-card-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px;
}
.issue-card-top h4 { flex: 1; }
.issue-card .tag {
  display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; flex-shrink: 0;
}

/* 风险热度条 */
.risk-heat-bar {
  height: 22px; background: #f3f4f6; border-radius: 11px; overflow: hidden;
  margin-bottom: 6px; position: relative;
}
.risk-heat-fill {
  height: 100%; border-radius: 11px; display: flex; align-items: center;
  padding-left: 10px; transition: width .8s ease;
  min-width: 50px;
}
.risk-heat-label {
  font-size: 11px; color: #fff; font-weight: 700;
}

.tag-high { background: #fde8e8; color: var(--danger); }
.tag-mid { background: #fef3c7; color: var(--warning); }
.tag-low { background: #e8edfa; color: var(--primary); }

.opportunity-card {
  background: var(--card); border-radius: var(--radius); padding: 16px;
  margin-bottom: 10px; border-left: 4px solid var(--success);
}
.opportunity-card h4 { font-size: 15px; margin-bottom: 4px; color: var(--success); }
.opportunity-card p { font-size: 13px; color: var(--text-secondary); }

.plan-phase {
  margin-top: 8px;
}
.plan-phase h4 {
  font-size: 15px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.plan-phase h4 .phase-badge {
  padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; color: #fff;
}
.badge-30 { background: var(--danger); }
.badge-60 { background: var(--warning); }
.badge-90 { background: var(--success); }

.plan-item {
  padding: 10px 14px; background: #f9fafb; border-radius: var(--radius-sm);
  margin-bottom: 6px; font-size: 13px; display: flex; align-items: flex-start; gap: 8px;
}
.plan-item .check { color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ── 底部操作栏 ── */

.bottom-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  max-width: 480px; width: 100%; padding: 12px 16px 20px;
  background: linear-gradient(transparent, var(--bg) 30%);
  display: flex; gap: 10px; z-index: 100;
}
.bottom-bar .btn { flex: 1; }

/* ── 加载动画 ── */

.loading-overlay {
  position: fixed; inset: 0; background: rgba(255,255,255,.95);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 200; display: none;
}
.loading-overlay.show { display: flex; }
.loading-content { text-align: center; max-width: 320px; padding: 0 24px; }
.spinner {
  width: 44px; height: 44px; border: 3px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { margin-top: 16px; font-size: 15px; color: var(--text); font-weight: 600; }

/* 分步进度 */
.loading-steps { margin-top: 20px; text-align: left; }
.loading-step {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; font-size: 13px; color: var(--text-secondary);
  transition: all .3s ease; opacity: .4;
}
.loading-step.active { color: var(--primary); opacity: 1; font-weight: 600; }
.loading-step.done { color: var(--success); opacity: .8; }
.loading-step .step-icon {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0;
  transition: all .3s;
}
.loading-step.active .step-icon { border-color: var(--primary); }
.loading-step.done .step-icon { border-color: var(--success); background: var(--success); color: #fff; }

/* ── Toast ── */

.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  max-width: 360px; width: 90%; padding: 12px 16px;
  border-radius: var(--radius-sm); color: #fff; font-size: 14px;
  text-align: center; z-index: 300;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.toast.success, .toast.error {
  opacity: 1; visibility: visible; animation: slideDown .3s ease;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
@keyframes slideDown { from { opacity: 0; transform: translateX(-50%) translateY(-20px); } }

/* ── 预约时间选择器 ── */

.datetime-picker {
  display: flex; align-items: center; gap: 4px;
}
.form-select {
  flex: 1; padding: 10px 4px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px;
  background: #fff; text-align: center; outline: none;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
  background-size: 10px 6px; padding-right: 18px;
  cursor: pointer;
}
.form-select:focus { border-color: var(--primary); }
.picker-label {
  font-size: 13px; color: var(--text-secondary); flex-shrink: 0;
}

/* ── 联系信息门控卡片 ── */

.contact-gate {
  background: linear-gradient(135deg, #e8edfa 0%, #f0f4ff 100%);
  border: 2px solid var(--primary); border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.contact-gate::before {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 60px; height: 60px; background: var(--primary);
  border-radius: 50%; opacity: 0.08;
}

/* 社会证明 */
.social-proof {
  text-align: center; font-size: 13px; color: var(--text-secondary);
  margin-bottom: 16px; padding: 8px 14px;
  background: rgba(255,255,255,0.6); border-radius: 20px;
}
.proof-num {
  font-size: 18px; font-weight: 800; color: #dc2626;
}
/* 首页出品署名 */
.home-footer {
  margin-top: 28px; padding: 18px 16px 6px;
  border-top: 1px solid rgba(26,86,219,0.12);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  text-align: center; font-size: 12px; color: var(--text-secondary);
}
.home-footer-line { opacity: 0.82; }
.home-footer-line:not(:last-child)::after {
  content: "｜"; margin: 0 12px; opacity: 0.45; color: var(--text-secondary);
}
.home-footer-line:first-child { font-weight: 600; color: var(--primary); opacity: 1; }
.beian-line {
  width: 100%; padding-top: 8px; margin-top: 4px;
  border-top: 1px dashed rgba(26,86,219,0.15);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center;
  font-size: 11px; opacity: 0.85;
}
.beian-line a { color: var(--text-secondary); text-decoration: none; }
.beian-line a:hover { color: var(--primary); }
.home-beian-gongan, .deep-beian-gongan { display: inline-flex; align-items: center; gap: 4px; }
.home-beian-gongan img, .deep-beian-gongan img { width: 14px; height: auto; display: inline-block; }
.deep-footer-beian {
  margin-top: 14px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 10px; opacity: 0.78;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center;
}
.deep-footer-beian a { color: #fff; text-decoration: none; }
.deep-footer-beian a:hover { opacity: 0.8; }
.opt-hint {
  font-size: 12px; color: var(--text-secondary); font-weight: 400;
}

/* 增长预告软门控 */
.glimpse-locked-section {
  position: relative; margin-top: 8px;
}
.glimpse-locked-blur {
  filter: blur(5px); pointer-events: none; user-select: none; opacity: 0.5;
}
.glimpse-lock-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.75); border-radius: 8px;
  cursor: pointer; text-align: center; padding: 20px;
}
.lock-icon { font-size: 32px; margin-bottom: 8px; }
.lock-text { font-size: 14px; font-weight: 700; color: var(--primary); }
.lock-cta { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* ── 紧迫感卡片 ── */

.urgency-card {
  background: linear-gradient(135deg, #fff5f5, #fde8e8);
  border: 1.5px solid #fca5a5;
  font-size: 14px;
  color: #991b1b;
  line-height: 1.8;
}

/* ── 增长预告卡片 ── */

.glimpse-item {
  padding: 12px 14px;
  background: #f0fdf4;
  border-left: 4px solid var(--success);
  border-radius: 0 8px 8px 0;
  margin-bottom: 8px;
}
.glimpse-item h4 { font-size: 14px; color: #0e7490; margin-bottom: 4px; }
.glimpse-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.glimpse-item .growth-num {
  font-size: 15px; font-weight: 800; color: #057a55;
  background: #def7ec; padding: 1px 6px; border-radius: 4px;
}

/* ═══════════════ 深度报告样式 ═══════════════ */

/* 深度报告页面采用更宽的排版 */
body.deep-mode {
  max-width: 860px;
}

#report-deep-view {
  max-width: 860px;
  margin: 0 auto 120px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* 深度报告头部 */
.deep-header {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  padding: 28px 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.deep-header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1a56db, #0e7490, #4338ca);
}
.deep-header-main { flex: 1; min-width: 0; }
.deep-hero-gauge { flex-shrink: 0; text-align: center; }
.hero-score-desc {
  font-size: 12px; color: rgba(255,255,255,0.9); margin-top: 6px;
  max-width: 180px; line-height: 1.5;
}
.deep-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.deep-header h1 {
  font-size: 24px;
  margin-bottom: 6px;
  font-weight: 700;
}
.deep-subtitle {
  font-size: 13px;
  opacity: 0.7;
}
.deep-meta {
  margin-top: 20px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.deep-meta-item {
  font-size: 13px;
}
.deep-meta-item > span:first-child {
  opacity: 0.6;
  display: block;
  font-size: 11px;
  margin-bottom: 2px;
}

/* 深度评分区 */
.deep-score-section {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 32px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}
.deep-score-circle {
  width: 110px; height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  font-size: 32px;
  font-weight: 800;
}
.deep-score-circle::before {
  content: "";
  position: absolute;
  width: 84px; height: 84px;
  background: #fafafa;
  border-radius: 50%;
}
.deep-score-circle .num {
  position: relative; z-index: 1;
}
.deep-score-text h2 {
  font-size: 18px;
  margin-bottom: 6px;
}
.deep-level {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.deep-level.low { background: #fdecea; color: #e74c3c; }
.deep-level.mid { background: #fff3e0; color: #f57c00; }
.deep-level.good { background: #e8f5e9; color: #27ae60; }
.deep-level.great { background: #e3f2fd; color: #1a56db; }
.deep-score-text p {
  font-size: 13px;
  color: #666;
}

/* 深度画像 */
.deep-profile {
  padding: 24px 32px;
  border-bottom: 1px solid #f0f0f0;
}
.deep-section-label {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.deep-profile-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.deep-profile-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
}
.deep-profile-desc {
  margin-top: 10px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* 深度通用 section */
.deep-section {
  padding: 0;
  border-bottom: none;
  margin-bottom: 14px;
}
.deep-section .section-body { padding: 16px 18px; }
.deep-section-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.deep-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.deep-icon-red { background: #fdecea; }
.deep-icon-green { background: #e8f5e9; }
.deep-icon-blue { background: #e3f2fd; }
.deep-icon-orange { background: #fff3e0; }

/* 模块评分网格 */
.module-scores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.module-score-item {
  background: #f5f8ff;
  padding: 12px 14px;
  border-radius: 8px;
  text-align: center;
}
.module-score-item .mod-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}
.module-score-item .mod-value {
  font-size: 22px;
  font-weight: 700;
}
.module-score-item .mod-bar {
  height: 4px;
  border-radius: 2px;
  margin-top: 6px;
  background: #e5e7eb;
  overflow: hidden;
}
.module-score-item .mod-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width .5s ease;
}

/* 数据对标网格 */
.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.data-item {
  background: #f5f8ff;
  padding: 12px 14px;
  border-radius: 8px;
}
.data-item .data-label {
  font-size: 11px;
  color: #888;
  margin-bottom: 3px;
}
.data-item .data-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.data-item .data-value .d-danger { color: #e74c3c; }
.data-item .data-value .d-warn { color: #f57c00; }
.data-item .data-value .d-ok { color: #27ae60; }
.data-item .data-benchmark {
  font-size: 11px;
  color: #999;
  margin-top: 3px;
}

/* 深度致命问题卡片 */
.deep-problem-card {
  border-left: 4px solid #dc2626;
  background: #fff;
  padding: 16px 18px;
  margin-bottom: 12px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.deep-problem-card:last-child { margin-bottom: 0; }
.deep-problem-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.deep-problem-rank {
  font-weight: 700;
  color: #4338ca;
  font-size: 14px;
}
.deep-risk-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.deep-risk-high { background: #fdecea; color: #e74c3c; }
.deep-risk-mid { background: #fff8e1; color: #f57c00; }
.deep-risk-low { background: #e8f5e9; color: #27ae60; }
.deep-problem-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}
.deep-problem-card .root-cause {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}
.deep-problem-card .impact {
  font-size: 12px;
  color: #e74c3c;
  font-weight: 500;
  background: #fff5f5;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* 深度增长机会卡片 */
.deep-opp-card {
  border-left: 4px solid #16a34a;
  background: #fff;
  padding: 16px 18px;
  margin-bottom: 12px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.deep-opp-card:last-child { margin-bottom: 0; }
.deep-opp-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
  color: #15803d;
}
.deep-opp-card .opp-advantage {
  font-size: 12px;
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 6px;
}
.deep-opp-card .opp-path {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
.deep-opp-card .opp-revenue {
  font-size: 12px;
  color: #b45309;
  font-weight: 600;
  margin-top: 6px;
  background: #fffbeb;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* 高亮 ROI 块 */
.deep-highlight-box {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  border: 2px solid #4338ca;
  border-radius: 12px;
  padding: 22px;
  margin: 0 18px 14px;
}
.deep-highlight-box .hl-label {
  font-size: 11px;
  color: #4338ca;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.deep-highlight-box .hl-action {
  font-size: 16px;
  color: #1e1b4b;
  font-weight: 600;
  margin-bottom: 8px;
}
.deep-highlight-box .hl-why {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}
.deep-highlight-box .hl-roi {
  padding-top: 10px;
  border-top: 1px dashed #a5b4f5;
  font-size: 13px;
  color: #444;
}
.deep-highlight-box .hl-roi strong { color: #dc2626; }

/* 深度落地计划 */
.deep-plan-phase {
  margin-bottom: 22px;
}
.deep-plan-phase:last-child { margin-bottom: 0; }
.deep-plan-phase-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.deep-phase-badge {
  background: linear-gradient(135deg, #1a56db, #3b82f6);
  color: #fff;
  padding: 5px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
}
.deep-phase-badge.d60 { background: linear-gradient(135deg, #0e7490, #0891b2); }
.deep-phase-badge.d90 { background: linear-gradient(135deg, #4338ca, #6366f1); }
.deep-plan-phase ul {
  list-style: none;
  padding-left: 6px;
}
.deep-plan-phase li {
  padding: 8px 0 8px 26px;
  font-size: 13px;
  position: relative;
  border-bottom: 1px dashed #eee;
  color: #444;
  line-height: 1.6;
}
.deep-plan-phase li:last-child { border-bottom: none; }
.deep-plan-phase li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 12px;
}

/* 服务方案建议 */
#deep-service-content {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  padding: 16px;
  background: var(--primary-light);
  border-radius: 10px;
  border: 1px solid #c7d2fe;
}

/* 深度报告页脚 */
.deep-footer {
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff;
  text-align: center;
}
.deep-footer-author {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.deep-footer p {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 3px;
}
.deep-footer-disclaimer {
  font-size: 10px;
  opacity: 0.55;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

/* 深度底部栏 */
.deep-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 860px;
  width: 100%;
  padding: 12px 16px 20px;
  background: linear-gradient(transparent, #f3f4f6 30%);
  display: flex;
  gap: 8px;
  z-index: 100;
}
.deep-bottom-bar .btn { flex: 1; font-size: 13px; padding: 12px 8px; }

/* 打印样式 */
@media print {
  body { background: #fff; max-width: none; }
  .header, .bottom-bar, .deep-bottom-bar { display: none; }
  #report-quick-view { display: none !important; }
  #report-deep-view {
    display: block !important;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
    margin: 0;
  }
  .deep-header { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .deep-score-section { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .deep-score-circle { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .deep-phase-badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .deep-footer { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .deep-problem-card, .deep-opp-card { break-inside: avoid; }
  .deep-section { break-inside: avoid; }
  .deep-highlight-box { break-inside: avoid; }
  .gauge-legend, .zone-pill { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* 移动端适配 */
@media (max-width: 600px) {
  .deep-header { flex-direction: column; text-align: center; padding: 24px 20px; }
  .deep-header h1 { font-size: 20px; }
  .deep-hero-gauge { margin-top: 8px; }
  .hero-gauge { width: 132px; }
  .deep-meta { justify-content: center; gap: 18px; }
  .deep-section .section-body { padding: 16px; }
  .data-grid { grid-template-columns: 1fr; }
  .module-scores-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-highlight-box { margin: 0 16px 14px; }
  .deep-bottom-bar { max-width: 100%; }
}

/* ── 精简报告 · 蓝色家族板块布局 ── */
.report-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff; padding: 18px 18px 16px; margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.hero-venue { font-size: 15px; font-weight: 600; }
.hero-date { font-size: 11px; opacity: .8; margin-top: 4px; }
.hero-gauge { flex-shrink: 0; width: 152px; }
.hero-gauge svg { width: 100%; height: auto; }

.section-card {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow);
}
.section-bar {
  color: #fff; padding: 11px 14px; font-size: 14px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.bar-blue { background: var(--primary); }
.bar-teal { background: #0e7490; }
.bar-indigo { background: #4338ca; }
.bar-badge {
  font-size: 11px; font-weight: 400; background: rgba(255,255,255,.22);
  padding: 2px 8px; border-radius: 10px;
}
.bar-badge.locked {
  background: #fff; color: var(--danger); font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.section-body { padding: 12px 14px; }

.urgency-callout {
  border-left: 3px solid var(--warning); background: var(--warning-light);
  padding: 8px 10px; border-radius: 0 6px 6px 0;
  font-size: 12px; color: #92400e; line-height: 1.6;
}
.issue-consequence {
  margin-top: 8px; font-size: 13px; color: #991b1b; line-height: 1.6;
}

/* 底部 CTA 条 */
.bottom-cta {
  background: var(--card); border-radius: var(--radius); padding: 16px;
  margin-bottom: 14px; box-shadow: var(--shadow); text-align: center;
}
.cta-proof { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.cta-fields { display: flex; gap: 8px; margin-bottom: 12px; }
.cta-fields .form-input { flex: 1; min-width: 0; }
.cta-note { margin-top: 10px; font-size: 12px; color: var(--text-secondary); }

/* 隐藏旧的零散结构（已被板块布局取代） */
.report-score, .urgency-card, .contact-gate { display: none; }
