:root{--reading-blue:#123f76;--reading-ink:#26394d}body{background:#f2f5f9}.main-wrapper{max-width:1440px}.investigation-area{border-radius:15px;box-shadow:0 4px 20px #17345c07}.search-unlock{background:linear-gradient(135deg,#f1f6ff,#fafcff);border:1px solid #cbdcf3;border-radius:20px;padding:22px!important}.search-title{font-size:19px!important;margin-bottom:17px!important;color:#123f76}.search-box{display:flex;gap:12px;margin:0 0 19px}.search-box input{border:1px solid #b9cce6!important;border-radius:28px!important;background:#fff;padding:13px 18px!important;min-height:49px;flex:1;min-width:0}.search-box button{border-radius:28px!important;min-width:78px;min-height:49px;background:#153f77!important;font-size:14px}.unlocked-title{font-size:13px!important;margin:0 0 9px!important;font-weight:600;color:#244f80}.reading-tags{display:flex!important;flex-wrap:wrap;gap:8px;margin:0 0 20px;max-height:126px;overflow-y:auto;padding:2px}.reading-tag{border:1px solid #cbdcf2;border-radius:22px;background:#edf3fc;color:#153f76;padding:6px 14px;min-height:38px;font-size:14px;cursor:pointer}.reading-tag.active{background:#164779;color:white;border-color:#164779}.reading-document{padding:18px!important;border:0!important;border-left:3px solid #17467f!important;border-radius:10px!important;background:#f0f4fa!important;box-shadow:none!important;scroll-margin-top:67px}.reading-document-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:5px}.reading-document-head h3{font-size:16px;margin:0!important;color:#183d68}.reading-document-head>span{font-size:11px;color:#72849a}.reading-prose{font-size:16px!important;line-height:1.95!important;color:#243a52;white-space:pre-wrap}.narrative-keyword{color:inherit;font-weight:inherit;background:transparent}.reading-context{margin:9px 0 0;font-size:14px;color:#667b90}.reading-footer{display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid #d9e3ef;padding-top:9px;margin-top:14px}.quiet-action{border:0;background:transparent;color:#3a618b;padding:5px 0;font-size:12px;min-height:38px;cursor:pointer}.reading-empty p{font-size:14px;color:#657b93;line-height:1.9;margin:0}.reading-document-photos:empty{display:none}.reading-document-photos{margin-top:17px;display:grid;gap:14px}.reading-photo{margin:0!important;overflow:hidden;border:1px solid #d8e3ee;border-radius:12px;background:white;min-width:0}.reading-photo button{display:block;width:100%;padding:0;border:0;background:#edf2f7;cursor:zoom-in}.reading-photo img{display:block;width:100%;height:auto;max-height:390px;object-fit:contain}.reading-photo figcaption{padding:12px 14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.reading-photo figcaption strong{font-size:14px;color:#264c75}.reading-photo figcaption>span{font-size:10px;color:#7c6644;background:#f8f1e6;padding:3px 7px;border-radius:4px}.reading-photo figcaption p{flex-basis:100%;font-size:11px;line-height:1.75;color:#7c8997;margin:0}.reading-photo figcaption a{font-size:11px;color:#526f92;min-height:30px}.reading-scene-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.reading-interview{border:1px solid #d3dfed;background:#f8fbff;padding:20px;border-radius:15px;margin-bottom:20px}.reading-interview-head{display:flex;justify-content:space-between;gap:15px}.reading-interview-head span{font-size:11px;color:#71869b}.reading-interview-head h3{font-size:17px;margin:5px 0;color:#204b78}.reading-interview-head small{font-size:10px;color:#8291a1;white-space:nowrap}.reading-interview>p{font-size:12px;line-height:1.8;color:#7b8da2}#readingInterviewReply{background:#fff;border-left:3px solid #5a81a9;border-radius:6px;padding:15px;font-size:15px;line-height:1.9;color:#354f69;min-height:58px}.reading-question{font-size:12px;color:#7c8fa3;border-bottom:1px solid #e3eaf1;padding-bottom:8px}#readingInterviewForm{display:flex;gap:9px;margin-top:15px}#readingInterviewInput{min-width:0;flex:1;padding:12px;border:1px solid #c6d7e8;border-radius:8px}#caseTimelineList .timeline-desc,#caseTimelineList .timeline-desc *{color:#48627d;background:transparent;border:0;font-weight:400}.timeline-card{border-radius:11px;background:#f8fafd;border-color:#dbe4ef}.timeline-desc{line-height:1.9!important}.pswp{z-index:2147483000!important}.pswp__case-caption{position:absolute;bottom:0;left:0;right:0;color:#d6e2ef;background:#142334ed;padding:16px 22px max(16px,env(safe-area-inset-bottom));font-size:13px;line-height:1.8}.pswp__case-caption strong{color:#fff;font-size:14px}.pswp__case-caption p{margin:5px 0}.pswp__case-caption span{font-size:10px;color:#91a5ba}#searchResult:empty{display:none}.field-search-receipt{font-size:12px;padding:8px 10px;border-radius:5px}.field-search-receipt .red-clue{color:#174b7e;background:transparent}.board-heading,.connection-analysis{display:none!important}
@media(max-width:767px){.search-unlock{padding:15px!important;border-radius:16px}.search-title{font-size:17px!important}.search-box{gap:8px}.search-box input{padding:12px!important}.search-box button{min-width:66px}.reading-document{padding:14px!important}.reading-prose{font-size:15px!important;line-height:1.95!important}.reading-tags{gap:7px}.reading-tag{font-size:13px;padding:6px 12px}.reading-scene-grid{grid-template-columns:1fr;gap:14px}.reading-photo img{max-height:330px}.reading-footer{justify-content:space-between;gap:8px}.reading-interview{padding:15px}#readingInterviewReply{font-size:14px;padding:12px}.pswp__case-caption{padding:12px 15px max(12px,env(safe-area-inset-bottom));font-size:12px}.pswp__case-caption p{max-height:88px;overflow-y:auto}.reading-context{font-size:13px}}
.reading-selection-popup{position:absolute;z-index:10000;display:flex;gap:6px;background:#ffffff;color:#1e293b;padding:6px 10px;border-radius:6px;border:1px solid #cbd5e1;box-shadow:0 6px 20px rgba(15,23,42,0.12);font-size:13px;pointer-events:auto;animation:fadeInPop .15s ease-out;transform:translate(-50%,-125%)}.reading-selection-popup.hidden{display:none!important}.reading-selection-popup button{background:#f8fafc;color:#1e293b;border:1px solid #e2e8f0;padding:5px 11px;border-radius:6px;cursor:pointer;font-size:12px;display:flex;align-items:center;gap:4px;font-weight:500;transition:all .15s}.reading-selection-popup button:hover{background:#3b82f6;border-color:#3b82f6;color:#fff}.notebook-floating-btn{position:fixed;right:22px;bottom:90px;z-index:9999;background:#ffffff;color:#1e40af;border:1px solid #cbd5e1;box-shadow:0 8px 22px rgba(0,0,0,.3);padding:11px 18px;border-radius:30px;cursor:pointer;font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px;transition:all .2s}.notebook-floating-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.4);border-color:#60a5fa}.notebook-count-badge{background:#ef4444;color:#fff;font-size:11px;padding:2px 8px;border-radius:12px;font-weight:700}.notebook-drawer-mask{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(15,23,42,.6);backdrop-filter:blur(3px);z-index:10001;display:flex;justify-content:flex-end;transition:opacity .25s}.notebook-drawer-mask.hidden{display:none!important}.notebook-drawer-dialog{width:430px;max-width:92vw;height:100%;background:#fff;box-shadow:-8px 0 28px rgba(0,0,0,.25);display:flex;flex-direction:column;animation:slideInRight .25s ease-out}.notebook-header{padding:16px 20px;background:#f8fafc;color:#0f172a;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.notebook-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.notebook-card{background:#f8fafc;border:1px solid #e2e8f0;border-left:4px solid #3b82f6;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:8px}.notebook-card-text{font-size:14px;color:#1e293b;line-height:1.6;font-style:italic}.notebook-card-footer{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#64748b}.notebook-card-actions{display:flex;gap:6px}.notebook-card-actions button{background:#fff;border:1px solid #cbd5e1;padding:3px 9px;border-radius:4px;font-size:11px;cursor:pointer;color:#334155}.notebook-card-actions button:hover{background:#f1f5f9;color:#0f172a;border-color:#94a3b8}@keyframes fadeInPop{from{opacity:0;transform:translate(-50%,-110%)}to{opacity:1;transform:translate(-50%,-125%)}}@keyframes slideInRight{from{transform:translateX(100%)}to{transform:translateX(0)}}

/* -------------------------------------------------------------
 * 1. 结案海报弹窗与控制
 * ------------------------------------------------------------- */
.poster-modal-dialog {
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* -------------------------------------------------------------
 * 2. 痕检比较显微镜
 * ------------------------------------------------------------- */
.comparator-modal-dialog {
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(56, 189, 248, 0.2);
}
#compDividerLine:hover {
  background: #0284c7 !important;
  box-shadow: 0 0 18px #38bdf8 !important;
}

/* -------------------------------------------------------------
 * 3. 证据链大黑板软木板交互
 * ------------------------------------------------------------- */
.corkboard-wrapper {
  position: relative;
  transition: all 0.3s ease;
}
.cork-card:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.6) !important;
  z-index: 35 !important;
}
.cork-pin:hover {
  transform: translateX(-50%) scale(1.25) !important;
  box-shadow: 0 0 12px #facc15 !important;
}

/* -------------------------------------------------------------
 * 4. 双轨时空推演盘
 * ------------------------------------------------------------- */
.spatio-dial-box {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
#triggerSpatioContradictionBtn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* -------------------------------------------------------------
 * 5. 现象级国风刑侦神作专区样式 (Masterpiece Styles)
 * ------------------------------------------------------------- */
.incident-room-dialog,
.autopsy-modal-dialog,
.profiler-modal-dialog,
.manhunt-modal-dialog,
.chronicle-modal-dialog {
  animation: modalScaleIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.incident-desk-item:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  border-color: #f59e0b !important;
}

.manhunt-op-card:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.case-masterpiece-actions button:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .case-masterpiece-actions {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

/* =============================================================
 * 6. 拟真公安案卷眉首与时空环境气象切片 (Dossier Immersion System)
 * ============================================================= */
.docket-bureau-header {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 4px solid #b91c1c;
  border-radius: 8px;
  padding: 16px 20px 14px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
}
.docket-bureau-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.docket-bureau-name {
  font-family: 'SimSun', 'STSong', serif;
  font-size: 15px;
  font-weight: 700;
  color: #b91c1c;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.docket-serial-tag {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 4px;
}
.docket-weather-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #475569;
  flex-wrap: wrap;
  line-height: 1.5;
}
.docket-weather-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.docket-weather-item strong {
  color: #0f172a;
}

/* -------------------------------------------------------------
 * 7. 拟真朱红印泥物理落印章 (Cinnabar Stamp Animation)
 * ------------------------------------------------------------- */
.docket-stamp-seal {
  position: absolute;
  top: 14px;
  right: 24px;
  border: 2.5px solid #dc2626;
  border-radius: 6px;
  color: #dc2626;
  font-family: 'SimSun', 'STSong', serif;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transform: rotate(-10deg);
  opacity: 0.88;
  pointer-events: none;
  user-select: none;
  box-shadow: inset 0 0 4px rgba(220, 38, 38, 0.25);
  animation: stampDrop 0.24s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
  z-index: 15;
}
.docket-stamp-seal::after {
  content: '★';
  margin-left: 4px;
  font-size: 10px;
}
@keyframes stampDrop {
  0% {
    transform: scale(2.2) rotate(-22deg);
    opacity: 0;
  }
  65% {
    transform: scale(0.92) rotate(-8deg);
    opacity: 0.95;
  }
  100% {
    transform: scale(1) rotate(-10deg);
    opacity: 0.88;
  }
}

/* -------------------------------------------------------------
 * 8. 真实石墨铅笔现场批注划线 (Pencil Annotation Underline)
 * ------------------------------------------------------------- */
.pencil-annotated {
  background: linear-gradient(180deg, transparent 65%, #fde68a 65%) !important;
  border-bottom: 1.5px dashed #d97706 !important;
  transition: background 0.3s;
}

/* =============================================================
 * 9. 牛皮纸卷宗启封入卷仪式 (Dossier Unsealing Envelope)
 * ============================================================= */
.docket-unseal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.docket-unseal-envelope {
  width: 90vw;
  max-width: 520px;
  background: #fbf8ef;
  border: 2px solid #d4c8b2;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  text-align: center;
  animation: envelopePop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes envelopePop {
  0% { transform: scale(0.9) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.envelope-seal-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #b91c1c;
  color: #fff;
  padding: 4px 18px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 2px;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.4);
}
.envelope-title {
  font-family: 'SimSun', 'STSong', serif;
  font-size: 20px;
  font-weight: bold;
  color: #1c1917;
  margin: 12px 0 6px;
  letter-spacing: 1px;
}
.envelope-sub {
  font-size: 12px;
  color: #78716c;
  margin-bottom: 20px;
}
.envelope-stamp-circle {
  display: inline-block;
  border: 2px dashed #b91c1c;
  border-radius: 50%;
  width: 76px;
  height: 76px;
  line-height: 72px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 900;
  margin: 10px auto;
  transform: rotate(-12deg);
}

/* -------------------------------------------------------------
 * 10. 老刑警沉浸式案情点拨卡 (Senior Detective Mentor Bubble)
 * ------------------------------------------------------------- */
.mentor-hint-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #0284c7;
  border-radius: 6px;
  padding: 14px 18px;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.mentor-hint-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.mentor-hint-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.mentor-hint-tag {
  font-size: 10px;
  background: #e0f2fe;
  color: #0369a1;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.mentor-hint-text {
  font-size: 13px;
  line-height: 1.7;
  color: #334155;
  margin: 0;
}

/* -------------------------------------------------------------
 * 11. 嫌疑人审讯心理防御防线状态条 (Psychological Defense Strip)
 * ------------------------------------------------------------- */
.suspect-psyche-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.suspect-psyche-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 6px;
}
.suspect-psyche-head strong {
  color: #0f172a;
}
.suspect-psyche-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}
.suspect-psyche-fill {
  height: 100%;
  transition: width 0.4s ease, background 0.4s ease;
}

/* -------------------------------------------------------------
 * 12. 中华人民共和国公安机关 移送起诉意见书 (Prosecution Docket)
 * ------------------------------------------------------------- */
.prosecution-modal-dialog {
  max-width: 820px;
  width: 95vw;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid #cbd5e1;
}
.prosecution-body {
  padding: 30px;
  max-height: 75vh;
  overflow-y: auto;
  font-family: 'SimSun', 'STSong', serif;
  color: #1e293b;
  line-height: 1.9;
  font-size: 15px;
}
.prosecution-gov-header {
  text-align: center;
  border-bottom: 2px solid #b91c1c;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.prosecution-gov-title {
  font-size: 22px;
  font-weight: 900;
  color: #b91c1c;
  letter-spacing: 2px;
}
.prosecution-gov-sub {
  font-size: 16px;
  font-weight: bold;
  color: #0f172a;
  margin-top: 6px;
  letter-spacing: 1px;
}
.prosecution-stamp-area {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px dashed #cbd5e1;
  padding-top: 20px;
}
.prosecution-thumbprint {
  width: 60px;
  height: 80px;
  background: radial-gradient(ellipse at 50% 50%, rgba(185, 28, 28, 0.85) 0%, rgba(185, 28, 28, 0.4) 60%, transparent 80%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  transform: rotate(-8deg);
  user-select: none;
}
.prosecution-officer-seal {
  border: 2px solid #b91c1c;
  color: #b91c1c;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 900;
  transform: rotate(-4deg);
  display: inline-block;
}

/* ==========================================================================
   全新重塑：中华人民共和国公安机关 · 涉案走访调查与知情人谈话工作台
   ========================================================================== */
.reading-interview {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
}

/* 顶栏：公安机要双色饰条与公文抬头 */
.interview-official-banner {
  background: #0f172a;
  color: #f8fafc;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #1e3a8a;
  position: relative;
}
.interview-official-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8 0%, #38bdf8 50%, #ef4444 100%);
}
.official-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.official-crest-icon {
  font-size: 16px;
}
.official-title-text {
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  color: #f1f5f9;
}
.official-banner-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.official-secret-badge {
  font-size: 11px;
  background: #dc2626;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 1px;
}
.official-code-text {
  font-size: 11px;
  color: #94a3b8;
  font-family: monospace;
}

/* 人物档案信息卡 */
.witness-profile-panel {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
  flex-wrap: wrap;
}
.witness-avatar-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  border: 2px solid #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  flex-shrink: 0;
  position: relative;
}
.witness-verified-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}
.witness-detail-wrap {
  flex: 1;
  min-width: 240px;
}
.witness-header-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.witness-main-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.witness-role-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #dbeafe;
  color: #1e40af;
  font-weight: 600;
  border: 1px solid #bfdbfe;
}
.witness-online-status {
  font-size: 11px;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}
.witness-instruction-note {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: 6px;
  border-left: 3px solid #3b82f6;
}

/* 询问笔录纸对话流容器 */
.interview-body-wrapper {
  padding: 16px 20px 20px;
  background: #ffffff;
}
.transcript-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #cbd5e1;
}
.transcript-stamp-tag {
  color: #b91c1c;
  font-size: 11px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* 对话展示区：覆盖 #readingInterviewReply */
#readingInterviewReply {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  min-height: 120px !important;
  max-height: 380px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  line-height: 1.6 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

/* 对话气泡：提问与回答 */
.chat-bubble-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.police-bubble-row {
  align-items: flex-end;
}
.witness-bubble-row {
  align-items: flex-start;
}
.bubble-meta-header {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-bubble-content {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  word-break: break-word;
  position: relative;
}
.police-bubble-content {
  background: #1e3a8a;
  color: #ffffff;
  border-top-right-radius: 2px;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.2);
}
.police-bubble-content p {
  margin: 0 !important;
  color: #ffffff !important;
}
.evidence-badge-inline {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  border: 1px solid #fde68a;
}
.witness-bubble-content {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-top-left-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.witness-bubble-content p {
  margin: 0 !important;
  color: #1e293b !important;
  line-height: 1.7 !important;
}

/* 空状态占位纸 */
.empty-transcript-paper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  text-align: center;
  color: #64748b;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}
.empty-transcript-paper .paper-icon {
  font-size: 28px;
  margin-bottom: 8px;
  opacity: 0.8;
}
.empty-transcript-paper .paper-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}
.empty-transcript-paper .paper-sub {
  font-size: 12px;
  color: #94a3b8;
  max-width: 380px;
  line-height: 1.6;
}

/* 侦查疑点快捷发问切入标签 */
.quick-inquiry-box {
  margin-top: 14px;
  padding: 10px 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
}
.quick-inquiry-label {
  font-size: 12px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.quick-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quick-inquiry-chip {
  background: #ffffff;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
  border-radius: 16px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.quick-inquiry-chip:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(29, 78, 216, 0.25);
}
.quick-inquiry-chip.star-chip {
  border-color: #f59e0b;
  color: #b45309;
  background: #fef3c7;
  font-weight: 700;
}
.quick-inquiry-chip.star-chip:hover {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
}

/* 表单与输入区 */
#readingInterviewForm {
  margin-top: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.interview-input-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.interview-input-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.interview-input-tip {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 400;
}
#readingInterviewInput {
  width: 100% !important;
  min-height: 54px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  resize: vertical !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  box-sizing: border-box !important;
}
#readingInterviewInput:focus {
  outline: none !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* 随问出示客观物证卡片选择器 */
.evidence-selector-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.evidence-selector-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.evidence-chips-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 2px 0;
  max-height: 110px;
  overflow-y: auto;
}
.evidence-chip-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.evidence-chip-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.evidence-chip-btn.active {
  background: #1e3a8a !important;
  color: #ffffff !important;
  border-color: #1e3a8a !important;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.3);
}

/* 提交操作按钮栏 */
.interview-submit-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.interview-duty-note {
  font-size: 11px;
  color: #64748b;
}
.interview-submit-button {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 8px 24px !important;
  border-radius: 6px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3) !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.interview-submit-button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.4) !important;
  filter: brightness(1.05) !important;
}
.interview-submit-button:active {
/* =============================================================
 * 7. 现实公安机关标准《讯问笔录》专业公文纸排版与手机端自适应
 * ============================================================= */
.character-dialog-messages.police-transcript-paper {
  background: #fcfbfa !important;
  border-bottom: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  padding: 16px 20px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Serif SC", serif !important;
  line-height: 1.75 !important;
  position: relative !important;
}
.police-transcript-paper::before {
  display: none !important;
}

/* 卷首红头公文卡片与文号 */
.police-transcript-header-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 4px solid #b91c1c;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.transcript-doc-emblem-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.transcript-doc-emblem-line .emblem-crest {
  font-size: 16px;
  margin-right: 6px;
}
.transcript-doc-emblem-line .emblem-text {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  letter-spacing: 0.5px;
  flex: 1;
}
.transcript-doc-emblem-line .emblem-seal {
  font-size: 11px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: bold;
}

.transcript-doc-title {
  text-align: center;
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 6px;
  margin: 8px 0 2px;
  font-family: "Noto Serif SC", "SimSun", serif;
}

.transcript-doc-serial {
  text-align: center;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 10px;
}

.transcript-doc-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 12.5px;
}
.transcript-doc-meta-grid .doc-meta-item {
  color: #334155;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.transcript-doc-meta-grid .meta-lbl {
  color: #64748b;
  flex: none;
}
.transcript-doc-meta-grid .meta-val {
  color: #1e293b;
}
.transcript-doc-meta-grid .doc-meta-notice {
  grid-column: 1 / -1;
  border-top: 1px dashed #cbd5e1;
  padding-top: 6px;
  margin-top: 4px;
  font-size: 11.5px;
  color: #475569;
  line-height: 1.65;
}

/* 问答正文公文体排版（彻底告别即时通讯聊天气泡） */
.police-transcript-paper .character-message.transcript-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  margin-bottom: 12px !important;
}

.police-transcript-paper .transcript-row .message-text {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  word-break: break-word !important;
  white-space: pre-wrap !important;
}

/* 问：侦查人员发问（规范公文蓝边） */
.police-transcript-paper .character-message.user.transcript-row .message-text {
  background: #f0f7ff !important;
  border-left: 4px solid #1d4ed8 !important;
  border-top: 1px solid #dbeafe !important;
  border-right: 1px solid #dbeafe !important;
  border-bottom: 1px solid #dbeafe !important;
  color: #0f172a !important;
}

/* 答：嫌疑人陈述供述（规范公文白底深灰边） */
.police-transcript-paper .character-message.character.transcript-row .message-text {
  background: #ffffff !important;
  border-left: 4px solid #475569 !important;
  border-top: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
}

/* 问答公文体前缀徽章 */
.transcript-qa-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: baseline;
  letter-spacing: 0.5px;
  flex: none;
}
.transcript-qa-prefix.qa-police {
  background: #1e3a8a;
  color: #ffffff;
}
.transcript-qa-prefix.qa-suspect {
  background: #334155;
  color: #ffffff;
}

.ai-model-stamp {
  display: inline-block;
  font-size: 10px;
  background: #059669;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 3px;
  margin-bottom: 4px;
  font-weight: bold;
}

/* 笔录卷尾捺印与签名确认卡片 */
.police-transcript-footer-card {
  margin-top: 20px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px dashed #94a3b8;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.transcript-doc-confirm {
  font-size: 13px;
  color: #334155;
  margin-bottom: 12px;
  font-style: italic;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.transcript-doc-signatures {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.transcript-doc-signatures .sig-col {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.transcript-doc-signatures .handwrite-suspect {
  font-family: "KaiTi", "楷体", cursive, serif;
  font-size: 17px;
  font-weight: bold;
  color: #0f172a;
}
.transcript-doc-signatures .handwrite-officer {
  font-weight: bold;
  color: #1e3a8a;
}

/* 红色印泥指纹捺印印模 */
.red-ink-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid #dc2626;
  border-radius: 50%;
  color: #dc2626;
  font-size: 11px;
  font-weight: 900;
  background: rgba(220, 38, 38, 0.08);
  transform: rotate(-12deg);
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.25);
  margin-left: 6px;
  letter-spacing: 0;
  cursor: default;
  user-select: none;
}

/* 认罪具结生效印章与移送起诉审查栏 */
.confession-pass-seal-wrap {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid #10b981;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.confession-seal-box {
  flex: none;
}
.seal-inner-circle {
  width: 52px;
  height: 52px;
  border: 2px solid #b91c1c;
  border-radius: 50%;
  color: #b91c1c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: bold;
  transform: rotate(-8deg);
  background: rgba(185, 28, 28, 0.05);
  box-shadow: 0 0 6px rgba(185, 28, 28, 0.2);
  line-height: 1.1;
  text-align: center;
}
.seal-inner-circle .seal-star {
  font-size: 10px;
  line-height: 1;
}
.confession-pass-text {
  flex: 1;
  min-width: 160px;
}
.confess-jump-btn {
  background: #059669 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  font-size: 12.5px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3) !important;
  white-space: nowrap !important;
}

/* 手机端专门适配 (Screen <= 768px) */
@media (max-width: 768px) {
  .character-dialog-messages.police-transcript-paper {
    padding: 10px 8px !important;
  }
  .police-transcript-header-card {
    padding: 10px 12px;
    margin-bottom: 12px;
  }
  .transcript-doc-title {
    font-size: 16px;
    letter-spacing: 4px;
  }
  .transcript-doc-meta-grid {
    grid-template-columns: 1fr;
    font-size: 11.5px;
    padding: 6px 8px;
    gap: 4px;
  }
  .police-transcript-paper .transcript-row .message-text {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    padding: 8px 10px !important;
  }
  .transcript-qa-prefix {
    font-size: 12px;
    padding: 1px 4px;
    margin-right: 5px;
  }
  .police-transcript-footer-card {
    padding: 10px 12px;
    margin-top: 14px;
  }
  .transcript-doc-signatures {
    font-size: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .confession-pass-seal-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .confess-jump-btn {
    width: 100%;
    text-align: center;
    padding: 10px !important;
  }
}



