.isu-voice-panel {
  container: isu-voice / inline-size;
  display: grid;
  min-width: 0;
  gap: .8rem;
  color: var(--sreda-graphite, #3e4042);
  --ivp-line: #d2dce5;
  --ivp-muted: #526678;
}
.isu-voice-panel *, .isu-voice-panel *::before { box-sizing: border-box; }
.isu-voice-panel [hidden] { display: none !important; }
.ivp-header, .ivp-transport, .ivp-edit-head, .ivp-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .45rem .9rem;
}
.ivp-title { margin: 0; color: #2e363c; font-size: 1.28rem; line-height: 1.28; }
.ivp-sources, .ivp-transport-buttons, .ivp-recovery { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.isu-voice-panel .ivp-btn {
  appearance: none;
  margin: 0;
  padding: .48rem .75rem;
  min-height: 2.5rem;
  border: 1px solid var(--ivp-line);
  border-radius: .4rem;
  color: #354855;
  background: #fff;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.28;
  text-align: center;
  cursor: pointer;
}
.isu-voice-panel .ivp-btn:not(:disabled):hover { background: #eff3f7; border-color: #8394a3; }
.isu-voice-panel .ivp-btn:disabled { color: #6b7883; border-color: #dce2e7; background: #f3f5f7; cursor: default; }
.isu-voice-panel .ivp-primary:not(:disabled) { background: var(--sreda-red, #c9161f); border-color: var(--sreda-red, #c9161f); color: #fff; }
.isu-voice-panel .ivp-primary:not(:disabled):hover { background: #a4141b; border-color: #a4141b; }
.isu-voice-panel .ivp-text { border-color: transparent; background: transparent; padding-inline: .3rem; }
.isu-voice-panel .ivp-text:not(:disabled):hover { color: #293d4b; border-color: transparent; text-decoration: underline; text-underline-offset: .14em; }
.isu-voice-panel :is(button,textarea):focus-visible { outline: 3px solid var(--sreda-steel, #435d74); outline-offset: 2px; }
.ivp-help, .ivp-error, .ivp-notice, .ivp-interim { margin: 0; }
.ivp-help { max-width: 72ch; color: var(--ivp-muted); font-size: .9rem; line-height: 1.45; }
.ivp-transport {
  padding: .55rem .7rem;
  border: 1px solid var(--ivp-line);
  border-radius: .48rem;
  background: #f7f9fb;
}
.ivp-engine { display: inline-flex; align-items: baseline; gap: .55rem; font-size: .9rem; font-weight: 650; line-height: 1.4; color:#354957; }
.ivp-engine[data-active="true"]::before { content: ""; display: inline-block; width: .64rem; height: .64rem; flex: 0 0 .64rem; border-radius: 50%; background: var(--sreda-red, #c9161f); }
.ivp-interim {
  min-height: 2rem;
  overflow-wrap: anywhere;
  border-inline-start: 3px solid #93a7b7;
  padding: .25rem .65rem;
  color: var(--ivp-muted);
  font-size: .9rem;
  line-height: 1.45;
}
.ivp-edit-head { align-items: baseline; margin-top: .2rem; }
.ivp-field-title { font-size: 1rem; font-weight: 700; color:var(--sreda-graphite, #3e4042); }
.ivp-draft-state { font-size: .81rem; color: var(--ivp-muted); font-variant-numeric: tabular-nums; }
.isu-voice-panel .ivp-editor {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 11rem;
  margin: 0;
  padding: .75rem .85rem;
  border: 1px solid #acbbc6;
  border-radius: .45rem;
  background: #fff;
  color: #29353d;
  resize: vertical;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.ivp-editor::placeholder { color: #6b7883; }
.isu-voice-panel .ivp-editor[readonly] { background: #f7f9fa; }
.ivp-error { padding: .62rem .72rem; border-inline-start: 3px solid #c9161f; background: #fbedef; color: #7c2025; font-size: .88rem; line-height: 1.42; overflow-wrap: anywhere; }
.ivp-notice { color: #354d60; font-size: .9rem; line-height: 1.4; }
@container isu-voice (max-width: 30rem) {
  .ivp-header, .ivp-transport, .ivp-footer { align-items: flex-start; }
  .ivp-title { font-size: 1.1rem; }
  .ivp-transport { gap: .45rem; }
  .isu-voice-panel .ivp-btn { min-height: 2.45rem; }
}
