.voice-note-content { min-width: 0; }
.voice-intro { display: flex; gap: 12px; margin-bottom: 20px; }
.voice-intro-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; color: var(--gold-dark); background: var(--gold-soft); }
.voice-intro-icon .icon { width: 22px; height: 22px; }
.voice-intro strong { font: 500 1.4rem/1.2 var(--serif); }
.voice-intro p { font-size: .75rem; line-height: 1.75; color: var(--muted); margin-top: 6px; }
.voice-input-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-block: 16px; }
.voice-action { display: grid; justify-items: start; gap: 8px; text-align: left; min-width: 0; min-height: 144px; padding: 16px; border: 1px solid var(--input-border); border-radius: 10px; background: var(--surface); transition: border-color .2s,background .2s; cursor: pointer; }
.voice-action:first-child { background: var(--gold-soft); border-color: #cbb077; }
.voice-action:hover:not(:disabled) { background: var(--surface-soft); border-color: var(--gold-dark); }
.voice-action:disabled { opacity: .6; cursor: not-allowed; }
.voice-action-icon { color: var(--gold-dark); }
.voice-action-icon .icon { width: 24px; height: 24px; }
.voice-action strong { font-size: .8125rem; font-weight: 600; }
.voice-action small { font-size: .6875rem; line-height: 1.7; color: var(--muted); }
.voice-audio-card { padding: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; margin-block: 16px; min-width: 0; }
.voice-audio-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .75rem; }
.voice-audio-heading > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.voice-audio-heading .icon { width: 16px; height: 16px; color: var(--gold-dark); }
.voice-audio-heading small { color: var(--muted); font-variant-numeric: tabular-nums; }
.voice-draft-card { border-color: var(--gold); }
.voice-note-content > .field-hint { margin-block: 12px; }
.voice-note-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 16px; }
.voice-note-actions .button { min-height: 44px; }
.voice-note-content audio, .studio-voice-note audio { display: block; width: 100%; max-width: 100%; min-width: 0; height: 54px; margin-top: 12px; }
.voice-remove { min-height: 44px; color: var(--danger); font-size: .75rem; }
.voice-recording { padding: 16px; background: var(--bg); border: 1px solid #d0b580; border-radius: 10px; font-size: .75rem; }
.voice-recording-top { display: flex; align-items: center; gap: 8px; }
.voice-recording output { font-variant-numeric: tabular-nums; margin-left: auto; }
.voice-recording .voice-note-actions { margin-bottom: 0; }
.voice-recording .voice-note-actions .button { flex: 1; }
#voice-level-meter { width: 100%; height: 58px; display: block; margin-block: 16px 8px; }
#voice-record-progress { display: block; width: 100%; height: 4px; border: 0; accent-color: var(--gold-dark); }
#voice-record-progress::-webkit-progress-bar { background: var(--border); border-radius: 2px; }
#voice-record-progress::-webkit-progress-value { background: var(--gold-dark); border-radius: 2px; }
.voice-working { display: flex; gap: 10px; align-items: center; font-size: .75rem; color: var(--muted); margin-block: 16px; }
.voice-working-line { width: 15px; height: 15px; flex-shrink: 0; border: 2px solid var(--border); border-top-color: var(--gold-dark); border-radius: 50%; animation: voice-working-turn .8s linear 5; }
.voice-formats { margin-top: 16px; font-size: .6875rem; color: var(--muted); line-height: 1.8; }
.voice-formats span { font-size: .6875rem; }
@keyframes voice-working-turn { to { transform: rotate(360deg); } }
.recording-indicator { width: 9px; height: 9px; background: #a33430; border-radius: 50%; flex-shrink: 0; }
.voice-note-error { display: flex; align-items: start; gap: 10px; padding: 14px; margin-top: 14px; border: 1px solid #d77b73; border-radius: 8px; background: #fff0ee; color: #9e302a; font-size: .8125rem; line-height: 1.6; }
.voice-note-error .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.letter-voice-note { margin-block: 28px 6px; padding-top: 20px; border-top: 1px solid currentColor; color: var(--letter-muted); text-align: var(--card-text-align, center); }
.letter-voice-note > p { font: 500 .8125rem/1.6 var(--sans); margin-bottom: 12px; }
.letter-voice-note audio { display: block; width: 100%; max-width: 100%; min-width: 0; height: 54px; margin: 0 auto; color-scheme: light; }
.letter-card:is(.eid, .nocturne, .valentine):not([data-palette]) .letter-voice-note audio, .letter-card[data-palette="midnight"] .letter-voice-note audio { color-scheme: dark; }
.voice-play-hint { display: block; font: 400 .6875rem/1.6 var(--sans); margin-top: 8px; }
.studio-voice-note { padding-block: 16px; border-block: 1px solid var(--border); margin-block: 12px; }
@media (max-width: 420px) { .voice-input-actions { grid-template-columns: minmax(0,1fr); gap: 10px; } .voice-action { grid-template-columns: 28px minmax(0,1fr); column-gap: 12px; min-height: 88px; padding: 14px; } .voice-action-icon { grid-row: span 2; align-self: center; } .voice-action small { grid-column: 2; } .voice-recording .voice-note-actions .button { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .voice-working-line { animation: none; } .voice-action { transition: none; } }
