#voice-emotion-panel { z-index: 10030; padding: 14px; box-sizing: border-box; }
#voice-emotion-panel .ve-sheet { width: 100%; max-width: 480px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--wx-card, #fff); color: var(--wx-text, #333); box-shadow: 0 16px 48px #0002; }
#voice-emotion-panel header { display: flex; align-items: center; padding: 18px 20px; gap: 12px; border-bottom: 1px solid var(--wx-sep, #eee); }
#voice-emotion-panel h3 { flex: 1; margin: 0; font-size: 17px; text-align: center; }
#voice-emotion-panel .ve-scroll { overflow-y: auto; padding: 16px 20px; overscroll-behavior: contain; }
#voice-emotion-panel button { border: 0; border-radius: 12px; min-height: 36px; padding: 8px 12px; background: var(--wx-input-bg, #f1f5f3); color: inherit; cursor: pointer; font: inherit; transition: transform .18s, opacity .18s; }
#voice-emotion-panel button:active { transform: scale(.97); }
#voice-emotion-panel button:disabled { opacity: .45; cursor: wait; }
#voice-emotion-panel .ve-parts { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; }
#voice-emotion-panel .ve-parts button { white-space: nowrap; flex-shrink: 0; }
#voice-emotion-panel [aria-pressed="true"] { background: #dff2e8; color: #287b54; }
#voice-emotion-panel .ve-toolbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; font-size: 12px; }
#voice-emotion-panel .ve-fields > label, #voice-emotion-panel details > label { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; font-size: 13px; }
#voice-emotion-panel input:not([type="checkbox"]):not([type="range"]), #voice-emotion-panel textarea, #voice-emotion-panel select { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid var(--wx-sep, #e3e8e5); border-radius: 12px; background: var(--wx-input-bg, #f8faf9); color: inherit; font: inherit; line-height: 1.6; }
#voice-emotion-panel select { text-align: center; }
#voice-emotion-panel textarea { resize: vertical; min-height: 70px; }
#voice-emotion-panel .ve-sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0; }
#voice-emotion-panel .ve-sliders label { text-align: center; font-size: 12px; }
#voice-emotion-panel output { display: block; margin: 6px; color: #399367; }
#voice-emotion-panel input[type="range"] { width: 100%; accent-color: #399367; }
#voice-emotion-panel summary { padding: 12px 0; cursor: pointer; font-size: 13px; }
#voice-emotion-panel .ve-tones { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 8px 0 18px; font-size: 12px; }
#voice-emotion-panel .ve-tones label { display: flex; align-items: center; gap: 5px; }
#voice-emotion-panel input[type="checkbox"] { accent-color: #399367; }
#voice-emotion-panel #ve-status { font-size: 12px; line-height: 1.6; text-align: center; color: var(--wx-text-sub, #888); }
#voice-emotion-panel footer { border-top: 1px solid var(--wx-sep, #eee); padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); }
#voice-emotion-panel footer button { width: 100%; background: #399367; color: #fff; text-align: center; }
