#voice { min-width: 0; }
body:not(.role-admin) #voice { display: none !important; }
#voice h3 { margin: 0 0 12px; font-size: 18px; letter-spacing: 0; }
#voice .voice-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 16px 0; }
#voice label { display: grid; gap: 6px; flex: 1 1 220px; min-width: 0; }
#voice input:not([type=checkbox]) { width: 100%; min-width: 0; box-sizing: border-box; min-height: 42px; padding: 10px 12px; border: 1px solid #bdd3d1; border-radius: 8px; background: #fff; color: #173b38; font: inherit; }
#voice > .toolbar { display: flex; flex-direction: row; align-items: center; justify-content: space-between; }
#voice > .toolbar > button { flex: 0 0 42px; width: 42px; height: 42px; padding: 0; }
#voice .voice-check { display: flex; align-items: center; flex: 0 0 auto; padding: 12px 0; }
#voice input[type=checkbox] { width: 20px; height: 20px; accent-color: #008b80; cursor: pointer; }
#voice .voice-toolbar { margin-top: 28px; }
#voice .voice-table { table-layout: fixed; width: 100%; min-width: 0; }
#voice .voice-table th, #voice .voice-table td { overflow-wrap: anywhere; white-space: normal; vertical-align: top; }
#voice .voice-table th:first-child { width: 28%; }
#voice .voice-table th:nth-child(2) { width: 10%; }
#voice .voice-table th:last-child { width: 17%; }
#voice .voice-events th:nth-child(2) { width: 30%; }
#voice .voice-events th:last-child { width: 25%; }
#voice .voice-note, #voice .voice-meta { display: block; margin-top: 6px; color: #607776; font-size: 12px; }
#voice .voice-pager, #voice .voice-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
#voice .voice-pager span { margin-right: auto; }
#voice .voice-band { border-top: 1px solid #cddedd; padding-top: 20px; margin-top: 28px; }
#voice .voice-publish { margin-top: 20px; }
#voice .voice-publish summary { cursor: pointer; }
#voice #voiceRelease { overflow-wrap: anywhere; }
#voice #voiceMessage { padding: 10px 0; color: #006e64; }
#voice #voiceMessage[data-error="true"] { color: #ac233a; }
#voice .voice-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
#voice .voice-row-actions .btn { min-height: 34px; padding: 6px 10px; }
#voice .voice-row-actions .voice-delete { width: 36px; height: 36px; flex: 0 0 36px; padding: 8px; }
#voice .voice-delete img { display: block; width: 18px; height: 18px; }
#voice .voice-delete:hover { background: #fff1f2; border-color: #ac233a; }
@media (max-width: 700px) {
  #voice .voice-table:not(.voice-events) thead { display: none; }
  #voice .voice-table:not(.voice-events) tr { display: block; padding: 12px 0; border-bottom: 1px solid #cddedd; }
  #voice .voice-table:not(.voice-events) td { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 10px; border: 0; padding: 6px 0; }
  #voice .voice-table:not(.voice-events) td::before { content: attr(data-label); color: #607776; font-size: 12px; }
  #voice .voice-table:not(.voice-events) td[colspan] { display: block; }
  #voice .voice-table:not(.voice-events) td[colspan]::before { content: none; }
  #voice .voice-events th, #voice .voice-events td { padding: 7px 4px; font-size: 11px; }
  #voice .voice-form label { flex-basis: 100%; }
  #voice .voice-form .voice-check { flex-basis: auto; }
}
