.voice-entry { border:1px solid var(--line); background:var(--surface-secondary); border-radius:12px; padding:12px; margin-bottom:20px; }
.voice-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:10px; }
.voice-mic { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; min-height:88px; padding:20px 24px; touch-action:manipulation; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; border-radius:9px; background:var(--brand-dark); color:var(--brand-amber); font-weight:800; font-size:1.125rem; }
.voice-mic svg { width:34px; height:34px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.voice-entry[data-recording=true] .voice-mic { background:#813523; color:#FFF; }
.voice-entry [data-voice-status],.voice-entry [data-voice-check] { font-size:.75rem; line-height:1.6; margin:10px 0 0; overflow-wrap:anywhere; }
.voice-entry details { margin-top:10px; font-size:.75rem; }
.voice-entry details p { overflow-wrap:anywhere; white-space:pre-wrap; }
.voice-privacy { display:block; margin-top:8px; font-size:.625rem; line-height:1.6; color:var(--muted); }
.voice-review > div { display:flex; flex-direction:column; border-top:1px solid var(--line); padding-top:8px; margin-top:8px; font-size:.75rem; line-height:1.6; }
.voice-review .text-btn { align-self:flex-start; min-height:44px; font-size:.75rem; text-align:left; }
[data-voice-state=changed], [data-voice-state=changed] + .date-display, [data-voice-state=changed] + .time-24 select { box-shadow:0 0 0 2px #719277; }
[data-voice-state=uncertain], [data-voice-state=uncertain] + .date-display, [data-voice-state=uncertain] + .time-24 select { box-shadow:0 0 0 3px #D8A239; background:#FFF7DE; }

.voice-entry [data-voice-status]:empty,.voice-entry [data-voice-check]:empty { display:none; }
.voice-mic:focus-visible { outline:3px solid var(--brand-amber); outline-offset:3px; }

.voice-actions .voice-mic { grid-column:1 / -1; min-width:0; }
.voice-entry[data-cancellable=true] .voice-mic { grid-column:auto; padding:16px 10px; gap:8px; font-size:1rem; }
.voice-entry[data-cancellable=true] .voice-mic svg { width:26px; height:26px; }
.voice-actions .voice-cancel { display:flex; align-items:center; justify-content:center; min-height:88px; min-width:0; padding:16px 10px; border:2px solid var(--line); border-radius:9px; color:var(--ink); background:var(--surface); font:inherit; font-size:1rem; font-weight:700; cursor:pointer; touch-action:manipulation; }
.voice-actions .voice-undo { grid-column:1 / -1; min-height:52px; padding:12px 18px; border:1px solid var(--line); border-radius:9px; color:var(--ink); background:var(--surface); font:inherit; font-size:1rem; font-weight:600; cursor:pointer; touch-action:manipulation; }
.voice-actions [hidden] { display:none!important; }
.voice-cancel:focus-visible,.voice-undo:focus-visible { outline:3px solid var(--brand-amber); outline-offset:3px; }
