/* ===== Reset & Variables ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root{
  --brand:#00B8A9;
  --brand-d:#009688;
  --brand-l:#e6f8f6;
  --brand-glow:rgba(0,184,169,0.25);
  --accent:#FF6B6B;
  --accent2:#4ECDC4;
  --green:#00c389;
  --bg:#f5f7fa;
  --card:#ffffff;
  --text:#1a2332;
  --text2:#5a6d82;
  --text3:#94a3b8;
  --border:#e2e8f0;
  --radius:16px;
  --shadow:0 2px 12px rgba(26,35,50,0.06);
  --danger:#ef4444;
}

html{
  font-size:16px;
  height:100%;
  overflow:hidden;
}
body{
  font-family:'Noto Sans SC','DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  background:#1a2332;
  height:100%;
  overflow:hidden;
  display:flex;justify-content:center;align-items:center;
  padding:16px;
  -webkit-font-smoothing:antialiased;
}

/* ===== Phone Shell ===== */
.phone-container{
  width:100%;max-width:400px;
  height:92vh;max-height:868px;
  background:var(--bg);
  border-radius:36px;
  overflow:hidden;
  box-shadow:0 0 0 1px rgba(255,255,255,0.06),0 40px 80px rgba(0,0,0,0.5),0 0 60px rgba(0,184,169,0.08);
  position:relative;
  display:flex;flex-direction:column;
}

.screen{display:none;height:100%;flex-direction:column;overflow:hidden}
.screen.active{display:flex}

/* ===== Header ===== */
.header{
  background:var(--card);
  padding:14px 16px;
  display:flex;align-items:center;gap:12px;
  border-bottom:1px solid var(--border);
  flex-shrink:0;
  z-index:10;
  padding-top:max(14px, env(safe-area-inset-top));
}
.header-left{
  width:40px;height:40px;
  background:linear-gradient(135deg,var(--brand),var(--accent2));
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  color:white;flex-shrink:0;
}
.header-logo{display:block}
.header-center{flex:1;min-width:0}
.header-center h1{font-size:15px;font-weight:600;color:var(--text);line-height:1.3;letter-spacing:0.3px}
.header-status{font-size:11px;color:var(--green);display:flex;align-items:center;gap:4px}
.header-status::before{content:'';width:6px;height:6px;background:var(--green);border-radius:50%;display:inline-block}
.header-right{flex-shrink:0}
.header-action{
  width:36px;height:36px;border:none;border-radius:10px;
  background:rgba(0,184,169,0.08);color:var(--brand);
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:all .2s;
}
.header-action:hover{background:var(--brand);color:white}

/* ===== Messages ===== */
.messages{
  flex:1;
  min-height:0;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  padding:16px;
  display:flex;flex-direction:column;gap:12px;
  scroll-behavior:smooth;
}
.messages::-webkit-scrollbar{width:3px}
.messages::-webkit-scrollbar-thumb{background:var(--text3);border-radius:3px}

.message{display:flex;gap:8px;max-width:88%;animation:msgIn .35s cubic-bezier(.16,1,.3,1)}
@keyframes msgIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.message.user{flex-direction:row-reverse;align-self:flex-end}

.avatar{
  width:34px;height:34px;border-radius:10px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:600;color:white;
}
.message.bot .avatar{background:linear-gradient(135deg,var(--brand),var(--accent2))}
.message.user .avatar{background:linear-gradient(135deg,#6366f1,#8b5cf6)}

.bubble-wrap{display:flex;flex-direction:column;gap:8px;min-width:0}

.bubble{
  padding:10px 14px;border-radius:4px 16px 16px 16px;
  background:var(--card);
  box-shadow:var(--shadow);
  position:relative;
}
.message.user .bubble{
  background:var(--brand);color:white;
  border-radius:16px 4px 16px 16px;
  box-shadow:0 2px 12px var(--brand-glow);
}
.bubble p{font-size:14px;line-height:1.65;color:var(--text);word-break:break-word}
.message.user .bubble p{color:white}

.bubble .msg-image{max-width:180px;max-height:180px;border-radius:8px;cursor:pointer;object-fit:cover;display:block;margin-top:6px}

/* ===== Suggestions ===== */
.suggestions{display:flex;flex-wrap:wrap;gap:6px}
.suggestion-btn{
  padding:7px 14px;
  background:var(--card);border:1px solid var(--border);
  border-radius:20px;font-size:12.5px;color:var(--brand);
  cursor:pointer;transition:all .2s;white-space:nowrap;
  font-family:inherit;
}
.suggestion-btn:hover{background:var(--brand);color:white;border-color:var(--brand);transform:translateY(-1px);box-shadow:0 4px 12px var(--brand-glow)}
.suggestion-btn:active{transform:scale(.97)}

/* ===== Input Area ===== */
.input-area{
  background:var(--card);
  border-top:1px solid var(--border);
  flex-shrink:0;
  z-index:10;
}

.image-preview-area{display:none;padding:10px 14px 0;gap:8px;flex-wrap:wrap}
.image-preview-area.has-images{display:flex}
.image-preview-item{position:relative;width:56px;height:56px;border-radius:10px;overflow:hidden;flex-shrink:0}
.image-preview-item img{width:100%;height:100%;object-fit:cover}
.image-preview-item .remove-btn{
  position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;
  background:rgba(0,0,0,0.55);color:white;border:none;font-size:10px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}

.input-row{
  display:flex;align-items:flex-end;gap:6px;
  padding:10px 12px;
  padding-bottom:max(10px,env(safe-area-inset-bottom));
}
.input-tools-left,.input-tools-right{display:flex;align-items:center;gap:2px;flex-shrink:0}
.tool-icon{
  width:36px;height:36px;border:none;background:transparent;border-radius:10px;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  color:var(--text3);transition:all .15s;
}
.tool-icon:hover{color:var(--brand);background:var(--brand-l)}
.tool-icon.active{color:var(--brand);background:rgba(0,184,169,0.1)}

.input-row textarea{
  flex:1;padding:0 14px;
  border:1.5px solid var(--border);border-radius:20px;
  font-size:16px;
  outline:none;resize:none;
  height:38px;max-height:96px;
  line-height:38px;
  font-family:inherit;
  background:var(--bg);color:var(--text);
  transition:all .2s;
}
.input-row textarea:focus{border-color:var(--brand);background:var(--card);box-shadow:0 0 0 3px rgba(0,184,169,0.1)}
.input-row textarea::placeholder{color:var(--text3)}

.send-btn{
  width:36px;height:36px;border-radius:50%;
  background:var(--brand);color:white;border:none;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  flex-shrink:0;transition:all .2s;opacity:.35;
}
.send-btn:not(:disabled){opacity:1}
.send-btn:not(:disabled):hover{background:var(--brand-d);transform:scale(1.08);box-shadow:0 4px 14px var(--brand-glow)}

/* 按住说话按钮 */
.hold-to-talk{
  flex:1;padding:10px 0;
  border:1.5px solid var(--brand);border-radius:20px;
  background:var(--brand-l);color:var(--brand);
  font-size:14px;font-weight:500;font-family:inherit;
  cursor:pointer;transition:all .15s;
  text-align:center;user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
}
.hold-to-talk:active{
  background:var(--brand);color:white;
  transform:scale(0.97);
}
.hold-to-talk.recording{
  background:var(--danger);color:white;
  border-color:var(--danger);
  animation:rec-pulse 1s ease-in-out infinite;
}
@keyframes rec-pulse{0%,100%{opacity:1}50%{opacity:.75}}

/* ===== Call Screen ===== */
#call-screen{
  position:relative;overflow:hidden;background:#1a2332;color:white;
}
.call-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.call-bg-circle{position:absolute;border-radius:50%;filter:blur(60px);opacity:.3}
.call-bg-circle.c1{width:300px;height:300px;background:var(--brand);top:-80px;left:-60px;animation:float1 8s ease-in-out infinite}
.call-bg-circle.c2{width:250px;height:250px;background:var(--accent);bottom:-50px;right:-70px;animation:float2 10s ease-in-out infinite}
.call-bg-circle.c3{width:180px;height:180px;background:var(--accent2);top:40%;left:60%;animation:float3 12s ease-in-out infinite}
@keyframes float1{0%,100%{transform:translate(0,0)}50%{transform:translate(30px,20px)}}
@keyframes float2{0%,100%{transform:translate(0,0)}50%{transform:translate(-20px,-30px)}}
@keyframes float3{0%,100%{transform:translate(0,0)}50%{transform:translate(-15px,25px)}}

.call-content{
  position:relative;z-index:1;
  height:100%;
  display:flex;flex-direction:column;align-items:center;
  padding:0;
  overflow:hidden;
}

.call-top{
  text-align:center;
  flex-shrink:0;
  padding:max(20px, env(safe-area-inset-top)) 24px 8px;
}
.call-status{font-size:13px;color:rgba(255,255,255,0.6);letter-spacing:1px;text-transform:uppercase;font-weight:500}
.call-timer{font-size:32px;font-weight:300;font-variant-numeric:tabular-nums;margin-top:2px;letter-spacing:2px;font-family:'DM Sans',sans-serif}

.call-avatar-section{
  text-align:center;
  flex-shrink:0;
  padding:8px 24px 6px;
}
.call-avatar-ring{
  width:80px;height:80px;border-radius:50%;
  background:linear-gradient(135deg,var(--brand),var(--accent2));
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 8px;position:relative;
  animation:ring-pulse 2.5s ease-in-out infinite;
}
@keyframes ring-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(0,184,169,0.3),0 0 40px rgba(0,184,169,0.1)}
  50%{box-shadow:0 0 0 14px rgba(0,184,169,0),0 0 60px rgba(0,184,169,0.05)}
}
.call-avatar-inner{
  width:64px;height:64px;border-radius:50%;
  background:linear-gradient(180deg,rgba(255,255,255,0.15) 0%,rgba(255,255,255,0.05) 100%);
  backdrop-filter:blur(10px);
  display:flex;align-items:center;justify-content:center;
}
.call-avatar-inner svg{width:36px;height:36px}
.call-name{font-size:16px;font-weight:600;letter-spacing:.5px}
.call-number{font-size:12px;color:rgba(255,255,255,0.5);margin-top:2px;font-family:'DM Sans',sans-serif}

/* 对话区域 */
.call-dialog{
  width:calc(100% - 32px);max-width:340px;
  flex:1;
  min-height:0;
  background:rgba(255,255,255,0.06);backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;padding:12px;
  margin:6px 0;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  display:flex;flex-direction:column;
}
.call-dialog::-webkit-scrollbar{width:2px}
.call-dialog::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.2);border-radius:2px}
.call-dialog-list{display:flex;flex-direction:column;gap:8px}
.call-msg{
  padding:8px 12px;border-radius:12px;font-size:13px;line-height:1.5;
  max-width:90%;animation:msgIn .3s ease;word-break:break-word;
}
.call-msg.user{
  align-self:flex-end;
  background:rgba(0,184,169,0.25);color:rgba(255,255,255,0.95);
  border-radius:12px 4px 12px 12px;
}
.call-msg.bot{
  align-self:flex-start;
  background:rgba(255,255,255,0.12);color:rgba(255,255,255,0.9);
  border-radius:4px 12px 12px 12px;
}
.call-msg.system{
  align-self:center;
  background:transparent;color:rgba(255,255,255,0.4);
  font-size:11px;padding:4px 8px;
}

/* 底部控制区 */
.call-bottom{
  flex-shrink:0;
  display:flex;flex-direction:column;align-items:center;
  gap:16px;
  padding:12px 24px max(16px, env(safe-area-inset-bottom));
}
.call-controls{display:flex;gap:24px}
.ctrl-btn{
  display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;
  transition:all .2s;
  -webkit-tap-highlight-color:transparent;
}
.ctrl-icon{
  width:48px;height:48px;border-radius:50%;
  background:rgba(255,255,255,0.1);backdrop-filter:blur(8px);
  border:1.5px solid rgba(255,255,255,0.12);
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,0.8);transition:all .25s;
}
.ctrl-btn:hover .ctrl-icon{background:rgba(255,255,255,0.18)}
.ctrl-btn span{font-size:10px;color:rgba(255,255,255,0.55);font-weight:500;transition:color .25s}

#mute-btn.active .ctrl-icon{
  background:rgba(239,68,68,0.85);
  border-color:rgba(239,68,68,0.9);
  color:white;
  box-shadow:0 0 12px rgba(239,68,68,0.4);
}
#mute-btn.active span{color:rgba(239,68,68,0.9)}

#speaker-btn.active .ctrl-icon{
  background:rgba(0,195,137,0.85);
  border-color:rgba(0,195,137,0.9);
  color:white;
  box-shadow:0 0 12px rgba(0,195,137,0.4);
}
#speaker-btn.active span{color:rgba(0,195,137,0.9)}

#hold-btn.active .ctrl-icon{
  background:rgba(245,158,11,0.85);
  border-color:rgba(245,158,11,0.9);
  color:white;
  box-shadow:0 0 12px rgba(245,158,11,0.4);
}
#hold-btn.active span{color:rgba(245,158,11,0.9)}

.end-call-btn{
  width:56px;height:56px;border-radius:50%;
  background:linear-gradient(135deg,#ef4444,#dc2626);
  border:none;color:white;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:all .2s;
  box-shadow:0 8px 24px rgba(239,68,68,0.35);
}
.end-call-btn:hover{transform:scale(1.08);box-shadow:0 12px 32px rgba(239,68,68,0.45)}
.end-call-btn:active{transform:scale(.95)}

/* ===== Overlays ===== */
.overlay{position:fixed;inset:0;background:rgba(26,35,50,0.85);backdrop-filter:blur(8px);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000}
.overlay.hidden{display:none}

#image-viewer img{max-width:92%;max-height:92%;border-radius:12px;object-fit:contain}

.recording-indicator{text-align:center;color:white}
.recording-waves{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:20px}
.recording-waves span{width:6px;height:36px;background:var(--brand);border-radius:3px;animation:rWave .6s ease-in-out infinite}
.recording-waves span:nth-child(1){animation-delay:0s}
.recording-waves span:nth-child(2){animation-delay:.1s}
.recording-waves span:nth-child(3){animation-delay:.2s}
.recording-waves span:nth-child(4){animation-delay:.3s}
.recording-waves span:nth-child(5){animation-delay:.4s}
@keyframes rWave{0%,100%{height:10px;opacity:.5}50%{height:36px;opacity:1}}
.recording-text{font-size:18px;font-weight:500;margin-bottom:8px}
.recording-time{font-size:32px;font-weight:300;font-variant-numeric:tabular-nums;margin-bottom:12px;font-family:'DM Sans',sans-serif}
.recording-hint{font-size:13px;color:rgba(255,255,255,0.5)}

.loading-spinner{width:36px;height:36px;border:3px solid rgba(255,255,255,0.2);border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:14px}
@keyframes spin{to{transform:rotate(360deg)}}
.loading-text{color:rgba(255,255,255,0.7);font-size:14px}

/* ===== Voice Message ===== */
.voice-message{display:flex;align-items:center;gap:8px;min-width:100px}
.voice-message .play-btn{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,0.15);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px}
.voice-message .wave{flex:1;height:18px;display:flex;align-items:center;gap:2px}
.voice-message .wave span{width:3px;background:rgba(255,255,255,0.4);border-radius:3px;animation:rWave .5s ease-in-out infinite}
.voice-message .duration{font-size:11px;opacity:.7}

/* ===== Responsive ===== */
@media(max-width:440px){
  html,body{height:100%;overflow:hidden}
  body{padding:0;background:var(--bg)}
  .phone-container{
    width:100%;height:100%;
    max-height:none;
    border-radius:0;
    box-shadow:none;
    height:100dvh;
    height:100vh;
  }
  @supports(height:100dvh){
    .phone-container{height:100dvh}
  }
}

@media(max-width:375px){
  .call-avatar-ring{width:64px;height:64px}
  .call-avatar-inner{width:52px;height:52px}
  .call-avatar-inner svg{width:28px;height:28px}
  .call-name{font-size:14px}
  .call-timer{font-size:28px}
  .ctrl-icon{width:42px;height:42px}
  .end-call-btn{width:50px;height:50px}
  .call-controls{gap:18px}
}

/* ===== 通话总结卡片 ===== */
.call-summary-bubble{
  padding:0 !important;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:4px 16px 16px 16px !important;
}
.call-summary-header{
  display:flex;align-items:center;gap:8px;
  padding:10px 14px;
  background:linear-gradient(135deg,rgba(0,184,169,0.08),rgba(78,205,196,0.06));
  border-bottom:1px solid var(--border);
  font-size:14px;font-weight:600;color:var(--text);
}
.call-summary-icon{font-size:18px}
.call-summary-duration{
  margin-left:auto;
  font-size:12px;font-weight:400;
  color:var(--text3);
  font-family:'DM Sans',sans-serif;
}
.call-summary-content{
  padding:12px 14px;
  font-size:13px;line-height:1.7;
  color:var(--text);
  white-space:pre-wrap;
  word-break:break-word;
}
.call-summary-toggle{
  display:block;width:100%;
  padding:8px 14px;
  background:var(--bg);
  border:none;border-top:1px solid var(--border);
  font-size:12px;color:var(--brand);
  cursor:pointer;font-family:inherit;
  text-align:center;
  transition:background .15s;
}
.call-summary-toggle:hover{background:var(--brand-l)}
.call-summary-transcript{
  padding:8px 14px 12px;
  background:var(--bg);
  display:flex;flex-direction:column;gap:6px;
  max-height:240px;overflow-y:auto;
}
.transcript-line{
  display:flex;gap:8px;
  font-size:12px;line-height:1.5;
  color:var(--text2);
}
.transcript-line.user .transcript-role{color:var(--brand);font-weight:500;white-space:nowrap}
.transcript-line.bot .transcript-role{color:var(--accent);font-weight:500;white-space:nowrap}
.transcript-text{word-break:break-word}

/* ===== 音色选择器 ===== */
.voice-selector{
  flex-shrink:0;
  display:flex;justify-content:center;
  position:relative;
  z-index:5;
  padding:0 24px;
}
.voice-toggle{
  display:flex;align-items:center;gap:6px;
  padding:6px 14px;
  background:rgba(255,255,255,0.1);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:20px;
  color:rgba(255,255,255,0.8);
  font-size:12px;font-family:inherit;
  cursor:pointer;
  transition:all .2s;
}
.voice-toggle:hover{background:rgba(255,255,255,0.16)}
.voice-current-name{font-weight:500}
.voice-arrow{
  transition:transform .2s;
  opacity:.6;
}
.voice-panel.show + .voice-toggle .voice-arrow,
.voice-panel.show ~ .voice-toggle .voice-arrow{transform:rotate(180deg)}

.voice-panel{
  position:absolute;
  top:calc(100% + 6px);
  left:50%;transform:translateX(-50%);
  width:220px;
  background:rgba(26,35,50,0.95);
  backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:14px;
  padding:6px;
  box-shadow:0 12px 40px rgba(0,0,0,0.4);
  display:none;
  z-index:10;
}
.voice-panel.show{display:block;animation:voicePanelIn .2s ease}
@keyframes voicePanelIn{from{opacity:0;transform:translateX(-50%) translateY(-6px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}

.voice-option{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;
  border-radius:10px;
  cursor:pointer;
  transition:background .15s;
}
.voice-option:hover{background:rgba(255,255,255,0.08)}
.voice-option.selected{background:rgba(0,184,169,0.2)}

.voice-emoji{font-size:20px;flex-shrink:0}
.voice-info{flex:1;min-width:0}
.voice-label{font-size:13px;font-weight:500;color:rgba(255,255,255,0.9)}
.voice-desc{font-size:11px;color:rgba(255,255,255,0.45);margin-top:1px}

.voice-check{
  font-size:14px;color:var(--accent2);font-weight:700;
  opacity:0;transition:opacity .15s;flex-shrink:0;
}
.voice-option.selected .voice-check{opacity:1}

/* ===== 总结占位气泡 ===== */
.summary-loading{
  text-align:center;
  padding:16px 14px !important;
  color:var(--text2);
}
.summary-dots{font-size:14px}
.dot-anim{
  display:inline-block;
  animation:dotPulse 1.4s ease-in-out infinite;
}
@keyframes dotPulse{
  0%,20%{opacity:.2}
  50%{opacity:1}
  80%,100%{opacity:.2}
}

/* ===== 思考中气泡 ===== */
.thinking-bubble{
  background:var(--card) !important;
  border:1px dashed var(--brand);
}
.thinking-content{
  display:flex;align-items:center;gap:10px;
  padding:2px 0;
}
.thinking-content p{
  font-size:13px;color:var(--brand);font-weight:500;
  animation:thinkFade 1.5s ease-in-out infinite;
}
@keyframes thinkFade{
  0%,100%{opacity:1}
  50%{opacity:.5}
}
.thinking-dots{
  display:flex;gap:4px;
  align-items:center;
}
.thinking-dots span{
  width:6px;height:6px;
  border-radius:50%;
  background:var(--brand);
  animation:thinkBounce .8s ease-in-out infinite;
}
.thinking-dots span:nth-child(1){animation-delay:0s}
.thinking-dots span:nth-child(2){animation-delay:.15s}
.thinking-dots span:nth-child(3){animation-delay:.3s}
@keyframes thinkBounce{
  0%,80%,100%{transform:scale(0.6);opacity:.4}
  40%{transform:scale(1);opacity:1}
}

/* ===== 二维码图片 ===== */
.qr-images-container{
  display:flex;gap:12px;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid var(--border);
  flex-wrap:wrap;
}
.qr-image-item{
  display:flex;flex-direction:column;align-items:center;gap:6px;
}
.qr-image{
  width:120px;height:120px;
  border-radius:10px;
  border:1px solid var(--border);
  object-fit:contain;
  cursor:pointer;
  transition:transform .2s;
  background:white;
  padding:4px;
}
.qr-image:hover{transform:scale(1.05);box-shadow:0 4px 16px rgba(0,184,169,0.15)}
/* 理赔指南大图样式 */
.qr-image-item.guide-image .qr-image{
  width:100%;max-width:280px;height:auto;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}
.qr-image-item.guide-image .qr-image:hover{transform:scale(1.02)}
.qr-image-item.guide-image{width:100%;align-items:center}
.qr-image-item.guide-image .qr-label{font-size:12px;color:var(--brand);font-weight:500}
.qr-label{
  font-size:11px;
  color:var(--text2);
  font-weight:500;
  text-align:center;
}

/* ===== 理赔按钮样式 ===== */
.header-action-claim{
  width:36px;height:36px;border-radius:10px;
  background:linear-gradient(135deg, #00B8A9, #00D4AA) !important;
  color:white !important;
  margin-right: 8px;
  cursor: pointer;
  display:flex;align-items:center;justify-content:center;
  transition:all .2s;
  border: none;
}
.header-action-claim:hover{
  transform:scale(1.08);
  box-shadow:0 4px 14px rgba(0,184,169,0.35);
}

/* ===== 理赔内嵌UI组件 ===== */
.claim-upload-area{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.claim-upload-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 20px;
  background:linear-gradient(135deg, #00B8A9, #00D4AA);
  color:white;
  border:none;
  border-radius:12px;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
  transition:all .2s;
  font-family:inherit;
}
.claim-upload-btn:hover{
  opacity:0.9;
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,184,169,0.3);
}
.claim-upload-btn:active{
  transform:scale(0.98);
}

.claim-signature-area{
  margin-top:12px;
  background:#f7fafc;
  border-radius:12px;
  padding:12px;
}
.claim-signature-canvas{
  width:100%;
  height:120px;
  background:white;
  border:2px dashed #e2e8f0;
  border-radius:8px;
  display:block;
  touch-action:none;
}
.claim-signature-actions{
  display:flex;
  gap:8px;
  margin-top:8px;
}
.claim-signature-actions button{
  flex:1;
  padding:10px;
  border-radius:8px;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
  font-family:inherit;
  transition:all .2s;
}
.claim-btn-clear{
  background:#f7fafc;
  color:#6b7a90;
  border:1px solid #e2e8f0;
}
.claim-btn-clear:hover{
  background:#edf2f7;
}
.claim-btn-confirm{
  background:linear-gradient(135deg, #00B8A9, #00D4AA);
  color:white;
  border:none;
}
.claim-btn-confirm:hover{
  opacity:0.9;
}

.claim-image-area{
  margin-top:12px;
}
.claim-confirm-img{
  width:100%;
  border-radius:12px;
  border:1px solid #e2e8f0;
  cursor:pointer;
  transition:transform .2s;
}
.claim-confirm-img:hover{
  transform:scale(1.02);
}
.claim-id{
  margin-top:8px;
  font-size:12px;
  color:#6b7a90;
  text-align:center;
}
