/* ============================================================
   用户端样式 v4（浅色科技 / 移动优先 / 双引擎门户）
   ============================================================ */
.app-wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 96px; }

/* ---------- 顶部栏（白色玻璃） ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  max-width: 640px; margin: 0 auto;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}
.topbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: .2px; white-space: nowrap; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, #4C7DFF, #7C5CFF);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 6px 16px rgba(76, 125, 255, 0.35), inset 0 1px 0 rgba(255,255,255,.3);
}
.brand-logo svg { width: 20px; height: 20px; stroke: #fff; }
.topbar .right { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.75); border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center; color: var(--text-2);
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { color: var(--primary); border-color: rgba(76,125,255,.3); }

/* ---------- 应用切换器（双产品平级） ---------- */
.app-switch {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: 999px; padding: 3px;
}
.app-switch a {
  min-height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--sub);
  display: flex; align-items: center; gap: 5px;
  transition: all .2s;
  white-space: nowrap;
}
.app-switch a svg { width: 13px; height: 13px; }
.app-switch a.on {
  background: linear-gradient(135deg, rgba(76,125,255,.18), rgba(124,92,255,.14));
  color: var(--primary); box-shadow: 0 0 0 1px rgba(76,125,255,.25) inset;
}

/* ---------- 底部免责 ---------- */
.disclaimer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  max-width: 640px; margin: 0 auto;
  padding: 10px 20px 12px;
  font-size: 12px; line-height: 1.55; color: var(--sub-2); text-align: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

/* ---------- 用户信息卡 ---------- */
.user-card { padding: 22px; display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 56px; height: 56px; border-radius: 18px;
  background: linear-gradient(135deg, #4C7DFF, #22D3EE);
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(76, 125, 255, 0.30);
}
.user-card .nick { font-size: 18px; font-weight: 700; }
.user-card .sub { font-size: 13px; color: var(--sub); margin-top: 2px; }
.points-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 16px;
  background: var(--primary-050); color: var(--primary);
  font-weight: 800; font-size: 17px;
}
.points-chip svg { width: 18px; height: 18px; }

/* ---------- 区块标题 ---------- */
.section-title { font-size: 15px; font-weight: 700; color: var(--text-2); margin: 22px 4px 12px; display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ""; width: 4px; height: 16px; border-radius: 4px; background: linear-gradient(180deg, var(--primary), var(--accent)); box-shadow: 0 0 10px var(--glow-blue); }

/* ============================================================
   上传区 v2（拍照 + 相册 双入口 · 大卡式）
   ============================================================ */
.upload-hero {
  border-radius: 26px; padding: 34px 22px 28px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(168deg, rgba(255,255,255,.95), rgba(255,255,255,.8));
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 46px rgba(15,23,42,.08);
}
.upload-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 200px at 50% -40px, rgba(76,125,255,.16), transparent 65%); }
.upload-hero .uh-icon { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 24px; display: grid; place-items: center; color: #fff; position: relative;
  background: linear-gradient(140deg, #4C7DFF, #7C5CFF);
  box-shadow: 0 14px 34px rgba(76,125,255,.4), inset 0 1px 0 rgba(255,255,255,.4); }
.upload-hero .uh-icon svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.upload-hero .uh-icon::after { content: ""; position: absolute; inset: -9px; border-radius: 30px; border: 1.5px dashed rgba(76,125,255,.4); animation: uh-orbit 14s linear infinite; }
@keyframes uh-orbit { to { transform: rotate(360deg); } }
.upload-hero h3 { font-size: 18px; font-weight: 800; }
.upload-hero p { font-size: 13px; color: var(--sub); margin-top: 6px; }
.upload-hero .uh-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.uh-btn {
  flex: 1; min-width: 150px; min-height: 52px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: transform .15s, box-shadow .25s, filter .2s;
}
.uh-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.uh-btn.primary { color: #fff; background: linear-gradient(135deg, #4C7DFF, #7C5CFF); box-shadow: 0 10px 26px rgba(76,125,255,.35), inset 0 1px 0 rgba(255,255,255,.3); }
.uh-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(76,125,255,.45); }
.uh-btn.soft { color: var(--primary); background: var(--primary-050); border: 1.5px solid rgba(76,125,255,.3); }
.uh-btn.soft:hover { background: rgba(76,125,255,.16); transform: translateY(-2px); }
.uh-btn:active { transform: scale(.97); }

/* ============================================================
   相机面板（拍摄上传 / 连续拍摄）
   ============================================================ */
.cam-mask { position: fixed; inset: 0; z-index: 1200; background: rgba(8, 12, 22, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column; animation: mask-in .2s ease; }
.cam-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; color: #E2E8F0; }
.cam-head .t { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cam-head .t .cnt { font-size: 12px; color: #94A3B8; font-weight: 600; background: rgba(255,255,255,.08); padding: 3px 10px; border-radius: 999px; }
.cam-close { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: #E2E8F0; display: grid; place-items: center; font-size: 17px; }
.cam-close:hover { background: rgba(255,255,255,.2); }
.cam-viewport { position: relative; flex: 1; margin: 0 14px; border-radius: 22px; overflow: hidden; background: #000;
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.14); }
.cam-viewport video { width: 100%; height: 100%; object-fit: cover; }
.cam-viewport .cam-tip { position: absolute; left: 12px; right: 12px; bottom: 12px; text-align: center; font-size: 12px; color: rgba(255,255,255,.75);
  background: rgba(0,0,0,.45); padding: 6px 12px; border-radius: 999px; }
.cam-shutter-row { display: flex; align-items: center; justify-content: space-around; padding: 18px 24px 24px; }
.cam-side-btn { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); color: #E2E8F0; display: grid; place-items: center; }
.cam-side-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cam-shutter { width: 74px; height: 74px; border-radius: 50%; border: 4px solid rgba(255,255,255,.85); background: radial-gradient(circle at 35% 30%, #fff, #E2E8F0);
  box-shadow: 0 0 0 5px rgba(255,255,255,.18), 0 10px 30px rgba(0,0,0,.4); transition: transform .12s; }
.cam-shutter:active { transform: scale(.9); }
.cam-shutter.on { background: radial-gradient(circle at 35% 30%, #93C5FD, #4C7DFF); border-color: #4C7DFF; }
.cam-done-btn { padding: 12px 22px; border-radius: 14px; font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #10B981, #34D399); box-shadow: 0 8px 22px rgba(16,185,129,.35); display: inline-flex; align-items: center; gap: 8px; }
.cam-done-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cam-done-btn:disabled { opacity: .45; pointer-events: none; }
.cam-strip { display: flex; gap: 10px; padding: 0 18px 14px; overflow-x: auto; }
.cam-thumb { position: relative; width: 62px; height: 62px; border-radius: 12px; overflow: hidden; flex-shrink: 0; border: 2px solid rgba(255,255,255,.25); }
.cam-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-thumb .x { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; display: grid; place-items: center; }
.cam-thumb .idx { position: absolute; left: 3px; bottom: 3px; font-size: 10px; font-weight: 700; color: #fff; background: rgba(0,0,0,.5); padding: 0 5px; border-radius: 6px; }
.cam-empty { color: #94A3B8; font-size: 12.5px; text-align: center; padding: 12px; }
@media (min-width: 720px) { .cam-viewport { max-width: 640px; margin: 0 auto; } }

/* ---------- 图片预览 ---------- */
.img-frame { border-radius: 20px; overflow: hidden; border: 1px solid var(--border-soft); background: #EEF1F8; box-shadow: var(--shadow-sm); }
.img-frame img { width: 100%; display: block; max-height: 60vh; object-fit: contain; }

/* 多图缩略图条（收治自查多张拍摄） */
.thumb-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; }
.thumb-strip .ts-item { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; flex-shrink: 0; border: 1.5px solid var(--border); position: relative; }
.thumb-strip .ts-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-strip .ts-item .ts-idx { position: absolute; left: 4px; bottom: 4px; font-size: 10px; font-weight: 800; color: #fff; background: rgba(15,23,42,.65); padding: 1px 6px; border-radius: 6px; }
.thumb-strip .ts-item.more { display: grid; place-items: center; background: var(--primary-050); color: var(--primary); font-weight: 800; font-size: 14px; }

/* ---------- OCR 文本 ---------- */
.demo-ocr-tip {
  background: #fff7e6;
  border: 1px solid #ffd591;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: #ad6800;
  line-height: 1.7;
  margin-bottom: 10px;
}
.ocr-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 16px;
  font-family: ui-monospace, "SF Mono", Consolas, "Microsoft YaHei", monospace;
  font-size: 13.5px; line-height: 1.8; color: var(--text-2);
  white-space: pre-wrap; word-break: break-all;
  max-height: 300px; overflow-y: auto;
}

/* ---------- 风险结果 ---------- */
.result-hero { padding: 28px 22px; text-align: center; }
.result-hero .level-icon { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(15,23,42,.12); }
.result-hero .level-icon svg { width: 36px; height: 36px; }
.result-hero h2 { font-size: 22px; font-weight: 800; }
.result-hero .rule-name { font-size: 14px; color: var(--text-2); margin-top: 6px; font-weight: 600; }
.risk-card { padding: 20px; }
.risk-card .rc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.risk-card .rc-head .rc-ic { width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.risk-card .rc-head .rc-ic svg { width: 20px; height: 20px; }
.risk-card h4 { font-size: 15px; font-weight: 700; }
.risk-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.8; }
.keyword-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.kw { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--primary-050); color: var(--primary); font-weight: 600; }
.kw.kw-red { background: var(--red-bg); color: var(--red); }

/* 分析过程时间线 */
.proc-step { display: flex; gap: 14px; padding: 14px 0; position: relative; }
.proc-step::before { content: ""; position: absolute; left: 15px; top: 40px; bottom: -4px; width: 2px; background: linear-gradient(180deg, var(--border), transparent); }
.proc-step:last-child::before { display: none; }
.proc-step .ps-dot { width: 32px; height: 32px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--primary-050); color: var(--primary); font-size: 12.5px; font-weight: 800; }
.proc-step .ps-dot.done { background: linear-gradient(135deg, #4C7DFF, #7C5CFF); color: #fff; box-shadow: 0 6px 16px rgba(76,125,255,.35); }
.proc-step .ps-body { flex: 1; min-width: 0; }
.proc-step .ps-name { font-size: 14px; font-weight: 700; }
.proc-step .ps-sub { font-size: 12.5px; color: var(--sub); margin-top: 3px; line-height: 1.7; }
.proc-step .ps-rule { display: flex; gap: 8px; font-size: 12px; padding: 7px 11px; margin-top: 8px; border-radius: 11px; background: rgba(15,23,42,.03); border: 1px solid var(--border-soft); }
.proc-step .ps-rule .k { color: var(--sub); flex-shrink: 0; }
.proc-step .ps-rule .v { color: var(--text-2); }
.proc-step .ps-rule.hit { border-color: rgba(239,68,68,.3); background: var(--red-bg); }
.proc-step .ps-rule.hit .v { color: var(--red); font-weight: 600; }
.proc-step .ps-rule.pass { border-color: rgba(16,185,129,.3); background: var(--green-bg); }
.proc-step .ps-rule.pass .v { color: var(--green); font-weight: 600; }

/* ---------- 列表页 ---------- */
.list-card { padding: 16px 18px; display: flex; align-items: center; gap: 14px; margin-bottom: 12px; transition: transform .12s, border-color .2s; background: var(--card); }
.list-card:hover { border-color: rgba(76,125,255,.35); transform: translateY(-1px); }
.list-card .lc-main { flex: 1; min-width: 0; }
.list-card .lc-title { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-card .lc-sub { font-size: 12.5px; color: var(--sub); margin-top: 3px; }
.list-card .chev { color: var(--sub-2); }
.list-card .chev svg { width: 18px; height: 18px; }
.lc-dot { width: 4px; height: 42px; border-radius: 4px; flex-shrink: 0; }

/* ---------- 充值套餐 ---------- */
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pkg { padding: 18px 16px 16px; text-align: center; position: relative; transition: transform .12s, border-color .2s; cursor: pointer; background: var(--card); }
.pkg:hover { border-color: rgba(76,125,255,.4); }
.pkg:active { transform: scale(.97); }
.pkg .p-price { font-size: 26px; font-weight: 800; color: var(--text); }
.pkg .p-price small { font-size: 15px; font-weight: 700; }
.pkg .p-pts { font-size: 13px; color: var(--sub); margin-top: 2px; }
.pkg .p-label {
  display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600;
  padding: 3px 12px; border-radius: 999px;
  background: rgba(15,23,42,.05); color: var(--text-2); border: 1px solid var(--border-soft);
}
.pkg .p-label.hot { background: linear-gradient(135deg, #F59E0B, #F97316); color: #fff; border: none; box-shadow: 0 4px 14px rgba(245,158,11,.35); }
.pkg .p-rec {
  position: absolute; top: -9px; right: -7px;
  background: linear-gradient(135deg, #F59E0B, #F97316);
  color: #fff; font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(245,158,11,.4);
}
.pkg .p-save { font-size: 12px; color: var(--accent); font-weight: 700; margin-top: 4px; }

/* ---------- 个人中心 ---------- */
.profile-head { padding: 28px 22px; text-align: center; }
.profile-head .avatar { width: 72px; height: 72px; border-radius: 22px; font-size: 28px; margin: 0 auto 12px; }
.menu-list { padding: 6px 8px; }
.menu-item {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 12px; border-radius: 16px;
  color: var(--text-2); font-size: 15px; font-weight: 500;
  transition: background .15s; width: 100%; text-align: left;
}
.menu-item:hover { background: rgba(15,23,42,.04); }
.menu-item .mi-ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(15,23,42,.05); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.menu-item .mi-ic svg { width: 19px; height: 19px; }
.menu-item .chev { margin-left: auto; color: var(--sub-2); }
.menu-item .chev svg { width: 16px; height: 16px; }

/* ---------- 支付页 ---------- */
.pay-summary { text-align: center; padding: 30px 22px 24px; }
.pay-summary .pay-amount { font-size: 40px; font-weight: 800; margin: 8px 0 2px; }
.pay-summary .pay-amount small { font-size: 20px; }
.pay-summary .pay-pts { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent); font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--accent-050); }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.75); border: 1px solid var(--border-soft); }
.pay-method .pm-ic { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg,#0BA84D,#10B981); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(16,185,129,.3); }
.pay-method .pm-ic svg { width: 22px; height: 22px; }
.success-hero { text-align: center; padding: 44px 24px 30px; }
.success-hero .ok-ring {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #34D399); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
}
.success-hero .ok-ring svg { width: 40px; height: 40px; }
.success-hero h2 { font-size: 22px; font-weight: 800; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-cell { padding: 16px; text-align: center; background: var(--card); }
.stat-cell .num { font-size: 24px; font-weight: 800; color: var(--primary); }
.stat-cell .lab { font-size: 12.5px; color: var(--sub); margin-top: 2px; }

/* ---------- 登录页 ---------- */
.auth-page { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 20px 56px; }
.auth-box { width: 100%; max-width: 420px; padding: 32px 26px 28px; background: linear-gradient(170deg, rgba(255,255,255,.95), rgba(255,255,255,.8)); backdrop-filter: blur(24px); border: 1px solid rgba(15,23,42,.07); border-radius: 26px; box-shadow: 0 24px 60px rgba(15,23,42,.10); }
.auth-logo {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px;
  background: linear-gradient(135deg, #4C7DFF, #7C5CFF 60%, #22D3EE);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 14px 34px rgba(76, 125, 255, 0.40), inset 0 1px 0 rgba(255,255,255,.35);
}
.auth-logo svg { width: 32px; height: 32px; }
.auth-title { text-align: center; font-size: 21px; font-weight: 800; }
.auth-slogan { text-align: center; font-size: 13px; color: var(--sub); margin-top: 4px; margin-bottom: 24px; }
.tabs { display: flex; background: rgba(15,23,42,.04); border-radius: 14px; padding: 4px; margin-bottom: 22px; border: 1px solid var(--border-soft); }
.tabs button { flex: 1; min-height: 42px; border-radius: 11px; font-size: 15px; font-weight: 600; color: var(--sub); transition: all .2s; }
.tabs button.on { background: linear-gradient(135deg, rgba(76,125,255,.2), rgba(124,92,255,.14)); color: var(--primary); box-shadow: 0 4px 14px rgba(76,125,255,.18); }
.auth-foot { text-align: center; font-size: 12px; color: var(--sub-2); margin-top: 18px; line-height: 1.7; }

/* ---------- 病历助手页 ---------- */
.mr-tabs { display: flex; gap: 10px; margin-bottom: 14px; }
.mr-tab {
  flex: 1; min-height: 44px; border-radius: 14px; font-size: 14.5px; font-weight: 700;
  background: rgba(255,255,255,.7); border: 1.5px solid var(--border); color: var(--sub);
}
.mr-tab.on { background: var(--primary-050); border-color: var(--primary); color: var(--primary); }
.status-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.st-archived { background: rgba(76,125,255,.12); color: #3B6FE0; }
.st-analyzing { background: var(--amber-bg); color: var(--amber); }
.st-analyzed { background: var(--green-bg); color: var(--green); }
.st-draft { background: rgba(15,23,42,.06); color: var(--sub); }
.st-deleted { background: var(--red-bg); color: var(--red); }
.mr-file { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.75); border: 1px solid var(--border-soft); margin-bottom: 10px; }
.mr-file .fi-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--primary-050); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mr-file .fi-ic svg { width: 19px; height: 19px; }
.progress-track { height: 10px; border-radius: 999px; background: rgba(15,23,42,.08); overflow: hidden; }
.progress-bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--accent)); box-shadow: 0 0 12px var(--glow-blue); transition: width .4s; }
.mr-stage { font-size: 13px; color: var(--sub); margin-top: 8px; }
.report-block { padding: 18px; margin-bottom: 14px; background: var(--card); }
.report-block h4 { font-size: 15px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.issue-item { padding: 14px; border-radius: 14px; background: rgba(15,23,42,.03); margin-bottom: 10px; border-left: 4px solid var(--sub-2); }
.issue-item.high { border-left-color: var(--red); }
.issue-item.medium { border-left-color: var(--amber); }
.issue-item.low { border-left-color: var(--accent); }
.issue-item.compliant { border-left-color: var(--green); }
.issue-item .ii-t { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.issue-item .ii-body { font-size: 13px; color: var(--text-2); line-height: 1.8; margin-top: 6px; }
.issue-item .ii-body b { color: var(--text); }
.score-ring { width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; margin: 0 auto; box-shadow: 0 10px 26px rgba(15,23,42,.12); }
.src-img { max-width: 100%; border-radius: 12px; border: 1px solid var(--border-soft); margin-top: 8px; }

/* ===== 自查双方法切换 ===== */
.method-tabs { display: flex; gap: 10px; margin-bottom: 14px; }
.method-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: 16px; border: 1.5px solid var(--border-soft); background: rgba(255,255,255,.6); font-size: 14px; font-weight: 700; color: var(--sub); cursor: pointer; transition: all .25s; }
.method-tab svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.method-tab.active { border-color: var(--primary); background: linear-gradient(135deg, rgba(76,125,255,.12), rgba(0,190,160,.08)); color: var(--primary); box-shadow: 0 6px 18px rgba(76,125,255,.14); }
.method-panel.hidden { display: none; }

/* ===== 信息录入研判 ===== */
.manual-hero { background: rgba(255,255,255,.72); border: 1px solid var(--border-soft); border-radius: 20px; padding: 18px; }
.manual-hero .field { margin-top: 12px; }
.manual-hero .field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.manual-hero .field input, .manual-hero .field textarea { width: 100%; border: 1.5px solid var(--border-soft); border-radius: 12px; padding: 11px 13px; font-size: 14px; background: #fff; color: var(--text); outline: none; transition: border-color .2s; font-family: inherit; }
.manual-hero .field input:focus, .manual-hero .field textarea:focus { border-color: var(--primary); }
.manual-hero .field textarea { resize: vertical; min-height: 72px; line-height: 1.7; }

/* ===== 研判结果卡片 ===== */
.verdict-card { padding: 18px; border-radius: 18px; border: 1px solid var(--border-soft); background: rgba(255,255,255,.8); }
.v-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.v-verdict { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; font-size: 15px; font-weight: 800; }
.v-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: #fff; }
.v-ok { background: rgba(16,185,129,.12); color: #0a8f68; } .v-ok .v-icon { background: #10b981; }
.v-no { background: rgba(239,68,68,.12); color: #dc2626; } .v-no .v-icon { background: #ef4444; }
.v-mid { background: rgba(245,158,11,.14); color: #b45309; } .v-mid .v-icon { background: #f59e0b; }
.v-reason { font-size: 14px; font-weight: 700; color: var(--text); margin-top: 12px; line-height: 1.7; }
.v-evid { margin: 10px 0 0; padding-left: 2px; list-style: none; }
.v-evid li { font-size: 13px; color: var(--text-2); line-height: 1.9; padding-left: 16px; position: relative; }
.v-evid li::before { content: "▸"; position: absolute; left: 0; color: var(--primary); }
.v-tip { margin-top: 12px; font-size: 13px; color: var(--text-2); line-height: 1.8; background: rgba(245,158,11,.08); border-radius: 10px; padding: 10px 12px; }
.v-sug { margin-top: 10px; font-size: 13px; color: var(--text-2); line-height: 1.8; background: rgba(76,125,255,.07); border-radius: 10px; padding: 10px 12px; }
.v-meta { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border-soft); display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--sub-2); }
.v-meta a { font-weight: 700; }
