/* 风湿免疫科患者管理 Demo — 患者端 H5（微信风格）
 * 手机优先；桌面端居中显示为"手机壳"样式，便于直接演示
 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: #dfe6ee; color: #1f2937; display: flex; justify-content: center; align-items: center;
}
#app {
  width: 100%; max-width: 430px; height: 100%; background: #f5f7f9;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
/* 桌面端：模拟手机壳 */
@media (min-width: 500px) and (min-height: 700px) {
  body { padding: 24px; }
  #app { height: calc(100% - 48px); max-height: 880px; border-radius: 28px; box-shadow: 0 24px 60px rgba(15, 40, 79, .25), 0 0 0 8px #10202e, 0 0 0 10px #2c3f50; }
}

:root {
  --teal: #0d9488; --teal-d: #0f766e; --teal-l: #ccfbf1;
  --ink: #1f2937; --sub: #6b7280; --line: #e8edf2; --bg: #f5f7f9;
  --red: #e11d48; --amber: #d97706; --blue: #2563eb;
}

/* ---------- 页面容器 ---------- */
.page { flex: 1; overflow-y: auto; display: none; flex-direction: column; }
.page.on { display: flex; }
.page-chat { overflow: hidden; }

/* ---------- 顶部品牌区（首页） ---------- */
.hero {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 55%, #14b8a6 100%);
  color: #fff; padding: 26px 18px 64px; border-radius: 0 0 26px 26px; flex-shrink: 0;
}
.hero .hosp { display: flex; align-items: center; gap: 8px; font-size: 13px; opacity: .92; letter-spacing: 1px; }
.hero .hosp .ic { flex-shrink: 0; }
.hero h1 { font-size: 21px; margin-top: 14px; font-weight: 600; }
.hero .sub { font-size: 12.5px; opacity: .85; margin-top: 5px; }

/* ---------- 卡片通用 ---------- */
.card { background: #fff; border-radius: 14px; padding: 14px 16px; margin: 0 14px 12px; box-shadow: 0 2px 10px rgba(31, 55, 88, .05); }
.card.hd-up { margin-top: -48px; position: relative; z-index: 2; }
.sec-title { font-size: 15.5px; font-weight: 600; margin: 16px 20px 10px; display: flex; align-items: center; gap: 6px; }
.sec-title::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: var(--teal); display: inline-block; }

/* ---------- 医生卡片 ---------- */
.doc-card { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px; font-weight: 600; background: linear-gradient(135deg, #0f766e, #14b8a6);
}
.avatar.p2 { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.avatar.p3 { background: linear-gradient(135deg, #b45309, #f59e0b); }
.avatar.p4 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.doc-card .info { flex: 1; min-width: 0; }
.doc-card .nm { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.doc-card .nm .ti { font-size: 12px; color: var(--teal-d); background: var(--teal-l); padding: 1px 7px; border-radius: 99px; font-weight: 500; }
.doc-card .dp { font-size: 12px; color: var(--sub); margin-top: 3px; }
.dot-on { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; margin-right: 4px; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.btn-cta {
  border: none; background: var(--teal); color: #fff; font-size: 13px; padding: 9px 14px; border-radius: 99px;
  display: flex; align-items: center; gap: 5px; cursor: pointer; flex-shrink: 0; font-family: inherit;
}
.btn-cta:active { background: var(--teal-d); }
.btn-cta .ic { width: 15px; height: 15px; }

/* ---------- 复诊倒计时 ---------- */
.visit-next { display: flex; gap: 14px; }
.vn-date { background: linear-gradient(160deg, #0f766e, #0d9488); border-radius: 12px; color: #fff; text-align: center; padding: 10px 12px; min-width: 66px; align-self: flex-start; }
.vn-date .d { font-size: 30px; font-weight: 700; line-height: 1.1; }
.vn-date .m { font-size: 12px; opacity: .9; }
.vn-body { flex: 1; min-width: 0; }
.vn-body .t { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vn-body .meta { font-size: 12.5px; color: var(--sub); margin-top: 4px; line-height: 1.6; }
.vn-body .meta .ic { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 11.5px; color: var(--teal-d); background: #f0fdfa; border: 1px solid #99f6e4; padding: 2px 9px; border-radius: 99px; }
.chip.warn { color: #b45309; background: #fffbeb; border-color: #fde68a; }
.countdown { font-size: 12px; color: var(--teal-d); font-weight: 600; background: #f0fdfa; border-radius: 99px; padding: 2px 9px; }
.countdown.today { color: #b91c1c; background: #fef2f2; }

/* ---------- 快捷宫格 ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px 2px; }
.g-item { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 0 8px; cursor: pointer; border-radius: 12px; position: relative; }
.g-item:active { background: #f3f5f8; }
.g-ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; }
.g-ic .ic { width: 21px; height: 21px; }
.g1 { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.g2 { background: linear-gradient(135deg, #1d4ed8, #60a5fa); }
.g3 { background: linear-gradient(135deg, #b45309, #fbbf24); }
.g4 { background: linear-gradient(135deg, #4338ca, #818cf8); }
.g-item span { font-size: 12px; color: #374151; }
.badge-n { position: absolute; top: 4px; right: calc(50% - 30px); min-width: 16px; height: 16px; border-radius: 99px; background: var(--red); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #fff; }

/* ---------- 宣教文章 ---------- */
.art { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; align-items: center; }
.art:last-child { border-bottom: none; }
.art .thumb { width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.art .tx { flex: 1; min-width: 0; }
.art .t { font-size: 14px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art .m { font-size: 11.5px; color: #9ca3af; margin-top: 4px; }

/* ---------- 页面标题栏（非首页） ---------- */
.navbar {
  background: #fff; padding: 14px 16px 12px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; position: sticky; top: 0; z-index: 5;
}
.navbar .t { font-size: 17px; font-weight: 600; }
.navbar .r { font-size: 12px; color: var(--sub); }

/* ---------- 聊天页 ---------- */
.chat-head {
  background: #fff; padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 11px; flex-shrink: 0;
}
.chat-head .avatar { width: 42px; height: 42px; font-size: 16px; }
.chat-head .nm { font-size: 15px; font-weight: 600; }
.chat-head .st { font-size: 11.5px; color: var(--sub); margin-top: 2px; }
.chat-head .st.on { color: #16a34a; }
.chat-sys {
  background: #f0fdfa; color: #0f766e; font-size: 11.5px; line-height: 1.6; padding: 7px 14px; border-bottom: 1px solid #d1fae5; flex-shrink: 0;
}
.chat-sys .ic { width: 12px; height: 12px; vertical-align: -2px; margin-right: 3px; }
.msgs { flex: 1; overflow-y: auto; padding: 14px 14px 8px; -webkit-overflow-scrolling: touch; }
.day-sep { text-align: center; margin: 10px 0 14px; }
.day-sep span { font-size: 11px; color: #9ca3af; background: #eef1f5; padding: 3px 10px; border-radius: 99px; }
.row { display: flex; gap: 9px; margin-bottom: 14px; align-items: flex-start; }
.row.me { flex-direction: row-reverse; }
.row .avatar { width: 36px; height: 36px; font-size: 14px; border-radius: 9px; }
.bubble-wrap { max-width: 74%; display: flex; flex-direction: column; }
.row.me .bubble-wrap { align-items: flex-end; }
.bubble {
  padding: 9px 12px; font-size: 14.5px; line-height: 1.55; border-radius: 4px 12px 12px 12px; background: #fff; box-shadow: 0 1px 3px rgba(31, 55, 88, .06);
  word-break: break-word; white-space: pre-wrap;
}
.row.me .bubble { border-radius: 12px 4px 12px 12px; background: linear-gradient(135deg, #0d9488, #10a396); color: #fff; }
.bubble .u-tag { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; color: #fff; background: var(--red); border-radius: 4px; padding: 1px 6px; margin-bottom: 5px; }
.bubble .u-tag .ic { width: 10px; height: 10px; }
.b-time { font-size: 10.5px; color: #b0b7c3; margin-top: 5px; padding: 0 3px; }
.doctor-name { font-size: 11px; color: var(--teal-d); margin-bottom: 3px; padding-left: 3px; font-weight: 500; }

/* 输入区 */
.chat-input-bar { background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); flex-shrink: 0; }
.quick-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.quick-row::-webkit-scrollbar { display: none; }
.q-chip { flex-shrink: 0; font-size: 12px; color: #374151; background: #f3f5f8; border: 1px solid var(--line); padding: 5px 11px; border-radius: 99px; cursor: pointer; }
.q-chip:active { background: #e8edf2; }
.input-row { display: flex; gap: 8px; align-items: flex-end; }
#chat-text {
  flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 14.5px; font-family: inherit;
  resize: none; height: 40px; line-height: 20px; background: #f8fafc; outline: none; max-height: 90px;
}
#chat-text:focus { border-color: var(--teal); background: #fff; }
.btn-send {
  border: none; background: var(--teal); color: #fff; width: 40px; height: 40px; border-radius: 10px; display: flex;
  align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.btn-send:active { background: var(--teal-d); }
.btn-send:disabled { background: #cbd5e1; }
.urgent-toggle {
  display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--sub); background: none; border: none;
  padding: 4px 2px; cursor: pointer; font-family: inherit; margin-top: 2px;
}
.urgent-toggle.on { color: var(--red); font-weight: 600; }

/* ---------- 复诊页 ---------- */
.visit-big { text-align: left; }
.vb-top { display: flex; justify-content: space-between; align-items: flex-start; }
.vb-when { font-size: 19px; font-weight: 700; margin-top: 6px; }
.vb-place { font-size: 13px; color: var(--sub); margin-top: 5px; line-height: 1.6; }
.v-note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 9px 12px; font-size: 12.5px; color: #92400e; line-height: 1.65; margin-top: 12px; display: flex; gap: 6px; }
.v-note .ic { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: #d97706; }
.hist-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.hist-item:last-child { border: none; }
.his-date { width: 52px; text-align: center; background: #f3f5f8; border-radius: 10px; padding: 6px 0; flex-shrink: 0; }
.his-date .d { font-size: 17px; font-weight: 700; color: #475569; }
.his-date .m { font-size: 10.5px; color: #94a3b8; }
.hist-item .tx { flex: 1; }
.hist-item .t { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.tag-done { font-size: 10.5px; color: #16a34a; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 99px; padding: 1px 8px; }
.hist-item .meta { font-size: 12px; color: var(--sub); margin-top: 3px; line-height: 1.6; }

/* ---------- 我的页 ---------- */
.me-head { background: linear-gradient(135deg, #0f766e, #14b8a6); padding: 30px 18px 54px; color: #fff; flex-shrink: 0; }
.me-user { display: flex; align-items: center; gap: 14px; }
.me-user .avatar { width: 60px; height: 60px; font-size: 24px; border-radius: 16px; background: rgba(255, 255, 255, .18); border: 1.5px solid rgba(255, 255, 255, .35); }
.me-user .nm { font-size: 19px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.dx-tag { font-size: 11px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35); padding: 2px 9px; border-radius: 99px; font-weight: 400; }
.me-user .sub { font-size: 12.5px; opacity: .85; margin-top: 5px; }
.info-list { margin-top: -38px; position: relative; z-index: 2; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-row:last-child { border: none; }
.info-row .k { color: var(--sub); display: flex; align-items: center; gap: 7px; }
.info-row .k .ic { width: 16px; height: 16px; color: var(--teal); }
.info-row .v { color: #374151; text-align: right; }
.info-row .v.warn { color: var(--red); font-size: 12.5px; }
.rep-item { padding: 12px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.rep-item:last-child { border: none; }
.rep-h { display: flex; justify-content: space-between; align-items: center; }
.rep-h .t { font-size: 14px; font-weight: 500; }
.rep-h .d { font-size: 12px; color: #9ca3af; display: flex; align-items: center; gap: 3px; }
.rep-h .d .ic { width: 13px; height: 13px; transition: transform .2s; }
.rep-item.open .rep-h .d .ic { transform: rotate(180deg); }
.rep-body { display: none; margin-top: 10px; background: #f8fafc; border-radius: 10px; padding: 4px 12px; }
.rep-item.open .rep-body { display: block; }
.rep-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed #e8edf2; font-size: 13px; }
.rep-row:last-child { border: none; }
.rep-row .n { color: var(--sub); }
.rep-row .val { font-weight: 600; }
.st-n { color: #16a34a; }
.st-h { color: var(--red); }
.st-l { color: var(--blue); }
.pid-list { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.pid-chip { font-size: 12.5px; padding: 6px 13px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: #475569; cursor: pointer; }
.pid-chip.on { border-color: var(--teal); color: var(--teal-d); background: #f0fdfa; font-weight: 600; }
.mode-tip { text-align: center; font-size: 11px; color: #9ca3af; padding: 14px 0 20px; line-height: 1.7; }

/* ---------- 底部导航 ---------- */
.tabbar {
  flex-shrink: 0; display: flex; background: #fff; border-top: 1px solid var(--line);
  padding: 5px 0 calc(6px + env(safe-area-inset-bottom));
}
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0 2px; cursor: pointer; color: #9aa4b2; position: relative; }
.tab-item .ic { width: 22px; height: 22px; }
.tab-item span { font-size: 10.5px; }
.tab-item.on { color: var(--teal-d); }
.tab-dot { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 99px; background: var(--red); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #fff; }

/* ---------- 弹层 ---------- */
.modal-mask {
  position: absolute; inset: 0; background: rgba(15, 23, 42, .45); z-index: 50; display: none;
  align-items: flex-end; border-radius: inherit;
}
.modal-mask.on { display: flex; }
.modal-sheet {
  background: #fff; border-radius: 18px 18px 0 0; width: 100%; max-height: 78%; overflow-y: auto;
  padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); animation: up .22s ease;
}
@keyframes up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.ms-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ms-head .t { font-size: 16.5px; font-weight: 600; line-height: 1.5; padding-right: 30px; }
.ms-close { border: none; background: #f1f5f9; color: #64748b; width: 28px; height: 28px; border-radius: 99px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.ms-close .ic { width: 14px; height: 14px; }
.ms-meta { font-size: 12px; color: #9ca3af; margin-bottom: 12px; }
.ms-body p { font-size: 14px; line-height: 1.8; color: #374151; margin-bottom: 10px; text-indent: 2em; }
.ms-body p::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: 7px; vertical-align: 3px; }

/* ---------- 报告中心（覆盖式子页） ---------- */
.page-reports { position: absolute; inset: 0; background: #f5f7f9; z-index: 20; display: none; flex-direction: column; overflow: hidden; }
.page-reports.on { display: flex; }
.rp-scroll { flex: 1; overflow-y: auto; padding-bottom: 20px; }
.rp-up-card {
  background: linear-gradient(135deg, #0f766e, #14b8a6); border-radius: 14px; color: #fff;
  padding: 16px; margin: 14px 14px 6px;
}
.rp-up-card .t { font-size: 15.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.rp-up-card .t .ic { width: 17px; height: 17px; }
.rp-up-card .d { font-size: 12px; opacity: .85; margin-top: 6px; line-height: 1.6; }
.rp-btns { display: flex; gap: 8px; margin-top: 13px; }
.rp-btn {
  flex: 1; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 12.5px; padding: 9px 0; border-radius: 10px; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.rp-btn:active { background: rgba(255, 255, 255, .28); }
.rp-btn .ic { width: 14px; height: 14px; }
.rp-btn.primary { background: #fff; color: var(--teal-d); border-color: #fff; font-weight: 600; }
.rp-card { background: #fff; border-radius: 14px; padding: 14px 16px; margin: 10px 14px 0; box-shadow: 0 2px 10px rgba(31, 55, 88, .05); cursor: pointer; }
.rp-card:active { background: #fafcfc; }
.rp-r1 { display: flex; align-items: center; gap: 9px; }
.rp-ic { width: 38px; height: 38px; border-radius: 11px; background: #eff6ff; color: #1d4ed8; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rp-ic .ic { width: 18px; height: 18px; }
.rp-card .nm { font-size: 14.5px; font-weight: 600; }
.rp-card .tm { font-size: 11px; color: #9ca3af; margin-top: 2px; }
.rp-state { margin-left: auto; flex-shrink: 0; font-size: 11.5px; }
.rp-state.done-ok { color: #16a34a; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 3px 10px; border-radius: 99px; }
.rp-state.done-bad { color: var(--red); background: #fff1f2; border: 1px solid #fecdd3; padding: 3px 10px; border-radius: 99px; font-weight: 600; }
.rp-state.proc { color: #92400e; background: #fffbeb; border: 1px solid #fde68a; padding: 3px 10px; border-radius: 99px; display: flex; align-items: center; gap: 5px; }
.spinner { width: 11px; height: 11px; border: 2px solid #fde68a; border-top-color: #d97706; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.rp-sum { font-size: 12px; color: var(--sub); margin-top: 9px; line-height: 1.6; }
.rp-empty { text-align: center; color: #9ca3af; font-size: 12.5px; padding: 26px 0 8px; }

/* 会话流中的报告卡片 */
.msg-report {
  background: #fff; border: 1px solid #dbeafe; border-radius: 10px; padding: 10px 12px; max-width: 100%;
  box-shadow: 0 1px 3px rgba(31, 55, 88, .06); cursor: pointer; min-width: 190px;
}
.row.me .msg-report { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); color: #fff; }
.msg-report .mr-t { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.msg-report .mr-t .ic { width: 15px; height: 15px; color: #1d4ed8; flex-shrink: 0; }
.row.me .msg-report .mr-t .ic { color: #fff; }
.msg-report .mr-m { font-size: 11.5px; opacity: .8; margin-top: 4px; line-height: 1.55; }
.msg-report .mr-go { font-size: 11px; margin-top: 6px; color: #1d4ed8; display: flex; align-items: center; gap: 3px; }
.row.me .msg-report .mr-go { color: #fff; text-decoration: underline; opacity: .9; }

/* 报告详情弹层内容 */
.ocr-fake-sheet { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.ocr-fake-sheet .fs-hosp { text-align: center; font-size: 13.5px; font-weight: 700; letter-spacing: 1px; }
.ocr-fake-sheet .fs-sub { text-align: center; font-size: 10.5px; color: #9ca3af; margin-top: 3px; }
.ocr-fake-sheet .fs-line { height: 1px; background: #e5eaf0; margin: 10px 0; }
.ocr-img { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; margin-bottom: 12px; }
.ocr-title { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.ocr-title .ic { width: 16px; height: 16px; color: var(--teal-d); }
.ocr-sub { font-size: 11.5px; color: #9ca3af; margin-bottom: 10px; }
.ocr-table { background: #f8fafc; border-radius: 10px; padding: 2px 13px; }
.ocr-row { display: flex; align-items: center; padding: 9px 0; border-bottom: 1px dashed #e5eaf0; font-size: 13px; }
.ocr-row:last-child { border: none; }
.ocr-row .n { color: #475569; flex: 1; }
.ocr-row .v { font-weight: 700; }
.ocr-row .v .u { font-size: 10.5px; color: #94a3b8; font-weight: 400; margin-left: 2px; }
.ocr-row .r { font-size: 11px; color: #94a3b8; margin-left: 10px; }
.ocr-flag { font-size: 10.5px; border-radius: 5px; padding: 1px 6px; margin-left: 8px; font-weight: 700; }
.ocr-flag.H { color: #fff; background: var(--red); }
.ocr-flag.L { color: #fff; background: var(--blue); }
.ocr-sum { background: #f0fdfa; border: 1px solid #b5ece2; color: var(--teal-d); border-radius: 10px; padding: 10px 13px; font-size: 12.5px; line-height: 1.65; margin-top: 10px; display: flex; gap: 7px; }
.ocr-sum .ic { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }

/* 滚动条（桌面演示时美观） */
.msgs::-webkit-scrollbar, .page::-webkit-scrollbar, .modal-sheet::-webkit-scrollbar, .rp-scroll::-webkit-scrollbar { width: 4px; }
.msgs::-webkit-scrollbar-thumb, .page::-webkit-scrollbar-thumb, .modal-sheet::-webkit-scrollbar-thumb, .rp-scroll::-webkit-scrollbar-thumb { background: #d3dae3; border-radius: 4px; }
