/* Короткий голос проекта: кнопка у «Править вместе», не поверх чертежа */
.fl-voice{
  appearance:none;
  flex:0 0 30px;
  width:30px;
  height:30px;
  min-height:30px;
  padding:0;
  border:1px solid #cfd5db;
  border-radius:8px;
  background:#fff;
  color:#3b424a;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  touch-action:manipulation;
}
.fl-voice svg{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fl-voice:hover{background:#eceff3}
.fl-voice.is-rec{width:auto;flex-basis:auto;gap:5px;padding:0 8px;background:#c0392b;border-color:#a93226;color:#fff}
.fl-voice.is-busy{opacity:.45;cursor:default}
.fl-voice.is-busy:hover{background:#fff}
.fl-voice-time{flex:0 0 auto;font-size:12px;font-weight:750;color:#fff;font-variant-numeric:tabular-nums;line-height:1}
.fl-voice-note{
  flex:1 1 100%;
  margin:0;
  font-size:12.5px;
  line-height:1.35;
  color:#8d1d1d;
}
.fl-voice-in{flex:1 1 100%;display:flex;flex-direction:column;gap:4px;min-width:0}
.fl-voice-msg{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  padding:3px 8px;
  border:1px solid #d5e0ea;
  border-radius:8px;
  background:#f4f7fb;
  font-size:12.5px;
  line-height:1.3;
}
.fl-voice-msg span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650;color:#1d3348}
.fl-voice-play{
  appearance:none;
  flex:0 0 auto;
  border:1px solid #c5d2e0;
  background:#fff;
  color:#1d3348;
  border-radius:7px;
  padding:2px 8px;
  font:inherit;
  font-size:12px;
  font-weight:650;
  cursor:pointer;
  min-height:24px;
}
.fl-voice-play:hover{background:#eef3f8}
.fl-voice-msg audio{display:none}
.fl-voice-note[hidden],.fl-voice-in[hidden],.fl-voice-time[hidden]{display:none !important}
.pl.sk-fs-on .fl-voice{width:26px;height:26px;flex-basis:26px;min-height:26px;border-radius:7px}
.pl.sk-fs-on .fl-voice.is-rec{width:auto;flex-basis:auto;padding:0 6px}
.pl.sk-fs-on .fl-voice svg{width:14px;height:14px}
.pl.sk-fs-on .fl-save:has(.fl-voice-note:not([hidden])),
.pl.sk-fs-on .fl-save:has(.fl-voice-in:not([hidden])){flex-wrap:wrap}
@media(max-width:700px){
  .fl-save .fl-voice{flex:0 0 30px}
}
