:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --background: #f4f7fb;
  --primary: #3157d5;
  --primary-dark: #2545b5;
  --soft-blue: #eef2ff;
  --green: #087f5b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); }
button, input, textarea, select { font: inherit; }
.app { width: min(940px, calc(100% - 32px)); margin: 38px auto; }
.hero { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.brand-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: #fff; background: linear-gradient(145deg, #4267ed, #243ca5); font-size: 24px; font-weight: 800; box-shadow: 0 8px 22px #3157d52b; }
.eyebrow { margin: 0 0 5px; color: var(--primary); font-size: 11px; letter-spacing: .14em; font-weight: 800; }
h1 { margin: 0; font-size: clamp(27px, 4vw, 36px); letter-spacing: -.04em; }
.subtitle { margin: 7px 0 0; color: var(--muted); font-size: 15px; }
.panel { padding: 24px; margin: 16px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 28px #17203308; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.counter { padding: 7px 10px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 12px; white-space: nowrap; }
textarea { display: block; width: 100%; min-height: 190px; resize: vertical; border: 1px solid #cbd5e1; border-radius: 13px; padding: 15px; color: var(--ink); background: #fbfdff; line-height: 1.65; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea:focus, input:focus-visible, select:focus-visible { border-color: var(--primary); box-shadow: 0 0 0 3px #3157d51a; outline: none; }
.text-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.status { color: var(--muted); font-size: 12px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; font-size: 13px; font-weight: 700; }
.field input[type="number"], select { width: 100%; min-height: 42px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 9px 11px; background: white; color: var(--ink); }
.number-control { display: flex; align-items: center; gap: 10px; }
.number-control input { max-width: 120px; }
.number-control small, .field-help { color: var(--muted); font-weight: 400; }
.range-line { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.range-line input { width: 100%; accent-color: var(--primary); }
.range-line output { min-width: 42px; color: var(--primary); font-weight: 800; }
.toggle-field { display: flex; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcff; }
.toggle-field input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--primary); }
.toggle-copy { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.toggle-copy small { color: var(--muted); font-weight: 400; line-height: 1.45; }
.state-badge { padding: 7px 10px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 700; }
.state-badge.active { color: #075985; background: #e0f2fe; }
.state-badge.paused { color: #92400e; background: #fef3c7; }
.current-block { padding: 22px; border-radius: 15px; background: var(--soft-blue); border: 1px solid #dbe4ff; }
.current-label { color: #5368b8; font-size: 10px; letter-spacing: .14em; font-weight: 800; }
.current-block p { margin: 11px 0 0; font-size: clamp(19px, 3vw, 25px); line-height: 1.5; font-weight: 650; overflow-wrap: anywhere; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; border: 1px solid transparent; border-radius: 11px; padding: 10px 15px; cursor: pointer; font-size: 13px; font-weight: 750; transition: transform .12s, background .12s, border-color .12s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button-primary { color: #fff; background: var(--primary); }
.button-primary:hover:not(:disabled) { background: var(--primary-dark); }
.button-secondary { color: #334155; background: #fff; border-color: #cbd5e1; }
.button-secondary:hover:not(:disabled) { background: #f8fafc; }
.button-quiet { color: #64748b; background: transparent; border-color: transparent; }
.button-quiet:hover:not(:disabled) { background: #f1f5f9; }
.tip { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
footer { padding: 12px 4px 28px; color: #94a3b8; text-align: center; font-size: 11px; }
@media (max-width: 620px) {
  .app { width: min(100% - 20px, 940px); margin: 20px auto; }
  .hero { align-items: flex-start; gap: 13px; }
  .brand-icon { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; }
  .panel { padding: 17px; border-radius: 16px; }
  .settings-grid { grid-template-columns: 1fr; gap: 18px; }
  .text-actions { align-items: flex-start; flex-direction: column; }
  .controls { display: grid; grid-template-columns: 1fr 1fr; }
  .button { padding: 10px 8px; }
}

/* Controles do cabeçalho do ditado e ocultação das configurações. */
.settings-panel[hidden] { display: none !important; }
.playback-heading-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 620px) {
  .playback-heading-actions { align-items: flex-end; flex-direction: column-reverse; }
}


/* Layout principal: texto à esquerda e painel do ditado à direita. */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 16px;
  align-items: start;
}
.content-grid > .panel {
  margin: 16px 0;
  min-width: 0;
}
.playback-panel {
  position: sticky;
  top: 16px;
}
.playback-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.settings-toggle {
  min-height: 36px;
  padding: 8px 11px;
  white-space: nowrap;
}
.previous-block {
  margin-bottom: 12px;
  padding: 15px 17px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #f8fafc;
}
.previous-block .current-label {
  color: #64748b;
}
.previous-block p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.current-block p {
  min-height: 3em;
}
@media (max-width: 820px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .playback-panel {
    position: static;
  }
}


/* Versão 5: configurações abaixo do texto e recolhimento apenas das opções. */
.content-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: start;
}
.content-grid > .text-panel,
.content-grid > .settings-panel {
  grid-column: 1;
}
.content-grid > .playback-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.settings-panel {
  padding: 16px 20px;
}
.settings-panel .section-heading {
  margin: 0;
}
.settings-title-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.settings-title-text {
  font-size: 16px;
  font-weight: 750;
}
.settings-chevron {
  color: var(--muted);
  font-size: 19px;
  line-height: 1;
}
.settings-description {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.settings-options[hidden] {
  display: none !important;
}
.settings-options {
  padding-top: 14px;
}
@media (max-width: 820px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-grid > .text-panel,
  .content-grid > .settings-panel,
  .content-grid > .playback-panel {
    grid-column: 1;
    grid-row: auto;
  }
}


/* Recursos adicionais da versão 7 */
.text-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.import-button {
  align-items: center;
  display: inline-flex;
}
.progress-area {
  margin-top: 11px;
  max-width: 440px;
}
.progress-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}
.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: #16a34a;
  transition: width .2s ease;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}
.progress-meta strong {
  color: var(--primary);
}
.history-block {
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcfe;
}
.history-list {
  margin: 9px 0 0;
  padding-left: 22px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}
.history-list li {
  padding: 3px 0;
  overflow-wrap: anywhere;
}
.history-list li:last-child {
  color: var(--ink);
  font-weight: 650;
}
.history-empty {
  list-style: none;
  margin-left: -22px;
  color: #94a3b8;
}
.current-block-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.font-controls {
  display: flex;
  gap: 5px;
}
.font-button {
  min-width: 34px;
  height: 30px;
  padding: 2px 7px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.font-button:hover {
  background: #f1f5f9;
}
.current-block p {
  font-size: var(--current-font-size, 25px);
  transition: font-size .12s ease;
}
@media (max-width: 620px) {
  .text-actions {
    align-items: flex-start;
  }
}


/* Botão Parar com destaque vermelho */
#stopBtn {
  color: #ffffff;
  background: #dc2626;
  border-color: #dc2626;
}
#stopBtn:hover:not(:disabled) {
  background: #b91c1c;
  border-color: #b91c1c;
}
#stopBtn:disabled {
  color: #ffffff;
  background: #fca5a5;
  border-color: #fca5a5;
  opacity: 0.65;
}


/* Destaque verde para o texto do bloco atual */
.current-block p {
  color: #15803d;
}


/* Versão 10: texto e configurações na mesma coluna,
   sem espaçamento vertical criado pela altura do painel Ditado. */
.content-grid > .left-column {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.left-column > .panel {
  margin: 0;
  min-width: 0;
}
.content-grid > .playback-panel {
  grid-column: 2;
  grid-row: 1;
}
@media (max-width: 820px) {
  .content-grid > .left-column,
  .content-grid > .playback-panel {
    grid-column: 1;
    grid-row: auto;
  }
}


/* Versão 12: agrupa Seu texto e Configurações e aproxima os painéis. */
.content-grid {
  column-gap: 16px;
  row-gap: 8px;
}
.content-grid > .left-column {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.left-column > .panel {
  margin: 0;
  min-width: 0;
}
.content-grid > .playback-panel {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}
@media (max-width: 820px) {
  .content-grid > .left-column,
  .content-grid > .playback-panel {
    grid-column: 1;
    grid-row: auto;
  }
  .content-grid > .playback-panel {
    margin-top: 8px;
  }
}


/* Versão 15: acompanhamento visual, navegação e modo jurídico. */
.text-preview-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}
.text-preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #f1f5f9;
}
.text-preview-heading small {
  color: var(--muted);
  font-size: 11px;
}
.text-preview {
  max-height: 190px;
  overflow: auto;
  padding: 12px;
  color: #475569;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.preview-block {
  border-radius: 4px;
  transition: background .15s, color .15s;
}
.preview-block.active {
  color: #14532d;
  background: #bbf7d0;
  outline: 1px solid #86efac;
  font-weight: 750;
}
.block-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.legal-mode-field {
  grid-column: 1 / -1;
}
.legal-mode-field small {
  color: var(--muted);
  font-weight: 400;
}
@media (max-width: 520px) {
  .text-preview-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .block-navigation > .button {
    flex: 1;
  }
}


/* Versão 16: configurações em modal e tela fixa no desktop. */
.text-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.settings-open-button {
  min-height: 36px;
  padding: 8px 11px;
  white-space: nowrap;
}
.modal-backdrop[hidden] {
  display: none !important;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, .52);
  backdrop-filter: blur(3px);
}
.settings-modal {
  width: min(560px, 100%);
  max-height: min(82vh, 680px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .25);
}
.modal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.modal-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.modal-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.modal-close:hover {
  background: #f1f5f9;
}
.settings-modal .settings-options {
  padding-top: 0;
}
.settings-modal .settings-description {
  display: none;
}
.settings-modal .settings-grid {
  gap: 18px 20px;
}
body.modal-open {
  overflow: hidden;
}

/* Em computadores, o aplicativo ocupa a janela sem rolagem da página.
   Áreas internas rolam apenas se o conteúdo exceder a altura disponível. */
@media (min-width: 821px) and (min-height: 620px) {
  html, body {
    height: 100%;
    overflow: hidden;
  }
  .app {
    width: min(1440px, calc(100% - 40px));
    height: 100dvh;
    margin: 0 auto;
    padding: 14px 0 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .hero {
    flex: 0 0 auto;
    margin-bottom: 12px;
    gap: 13px;
  }
  .brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 20px;
  }
  h1 {
    font-size: 25px;
  }
  .subtitle {
    margin-top: 3px;
    font-size: 12px;
  }
  .eyebrow {
    margin-bottom: 2px;
    font-size: 9px;
  }
  .content-grid {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 14px;
    align-items: stretch;
  }
  .content-grid > .left-column {
    min-height: 0;
    gap: 0;
  }
  .left-column > .text-panel {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 18px;
    overflow: hidden;
  }
  .text-panel .section-heading {
    flex: 0 0 auto;
    margin-bottom: 12px;
  }
  .text-panel textarea {
    flex: 1 1 180px;
    min-height: 110px;
    max-height: none;
    resize: none;
  }
  .text-preview-panel {
    flex: 0 1 190px;
    min-height: 105px;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
  }
  .text-preview {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
  }
  .text-actions {
    flex: 0 0 auto;
    margin-top: 10px;
    align-items: center;
  }
  .content-grid > .playback-panel {
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .playback-panel .section-heading {
    margin-bottom: 12px;
  }
  .history-block {
    margin-bottom: 10px;
    padding: 11px 13px;
  }
  .history-list {
    margin-top: 5px;
    line-height: 1.4;
  }
  .current-block {
    padding: 16px;
  }
  .current-block p {
    margin-top: 7px;
    min-height: 2.3em;
  }
  .block-navigation {
    margin-top: 10px;
  }
  .controls {
    margin-top: 12px;
    gap: 7px;
  }
  .controls .button,
  .block-navigation .button {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .tip {
    margin-top: 10px;
    font-size: 11px;
  }
  footer {
    display: none;
  }
}
@media (max-width: 820px), (max-height: 619px) {
  .app {
    height: auto;
    overflow: visible;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-grid > .left-column,
  .content-grid > .playback-panel {
    grid-column: 1;
    grid-row: auto;
  }
  .content-grid > .playback-panel {
    margin-top: 8px;
  }
  .settings-modal {
    padding: 19px;
  }
}


/* Versão 18: dimensões mais compactas e tema escuro para uso noturno. */
@media (min-width: 821px) and (min-height: 620px) {
  .app {
    width: min(1120px, calc(100% - 40px));
  }
  .content-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 12px;
  }
  .left-column > .text-panel,
  .content-grid > .playback-panel {
    padding: 16px;
  }
}
.hero {
  justify-content: flex-start;
}
.hero-copy {
  min-width: 0;
  flex: 1 1 auto;
}
.theme-toggle {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 38px;
  padding: 8px 12px;
}
body.dark-mode {
  color-scheme: dark;
  --ink: #e5e7eb;
  --muted: #a1a1aa;
  --line: #374151;
  --surface: #1f2937;
  --background: #111827;
  --primary: #829bff;
  --primary-dark: #6d88f5;
  --soft-blue: #263653;
  --green: #4ade80;
}
body.dark-mode .brand-icon {
  box-shadow: 0 8px 22px #0005;
}
body.dark-mode .panel,
body.dark-mode .settings-modal {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 8px 28px #0003;
}
body.dark-mode .counter,
body.dark-mode .state-badge {
  color: #d1d5db;
  background: #374151;
}
body.dark-mode textarea,
body.dark-mode .field input[type="number"],
body.dark-mode select,
body.dark-mode .modal-close {
  color: var(--ink);
  background: #111827;
  border-color: #4b5563;
}
body.dark-mode .toggle-field,
body.dark-mode .previous-block,
body.dark-mode .history-block {
  color: var(--ink);
  background: #263241;
  border-color: var(--line);
}
body.dark-mode .text-preview-panel {
  background: #182332;
  border-color: var(--line);
}
body.dark-mode .text-preview-heading {
  background: #263241;
  border-color: var(--line);
}
body.dark-mode .text-preview,
body.dark-mode .previous-block p,
body.dark-mode .history-list {
  color: #cbd5e1;
}
body.dark-mode .current-block {
  background: #263653;
  border-color: #405579;
}
body.dark-mode .current-label {
  color: #a5b4fc;
}
body.dark-mode .current-block p {
  color: #86efac;
}
body.dark-mode .preview-block.active {
  color: #dcfce7;
  background: #166534;
  outline-color: #22c55e;
}
body.dark-mode .button-secondary {
  color: #e5e7eb;
  background: #273449;
  border-color: #4b5563;
}
body.dark-mode .button-secondary:hover:not(:disabled),
body.dark-mode .button-quiet:hover:not(:disabled),
body.dark-mode .modal-close:hover {
  background: #374151;
}
body.dark-mode .button-quiet {
  color: #cbd5e1;
}
body.dark-mode .progress-track {
  background: #374151;
}
body.dark-mode .state-badge.active {
  color: #bae6fd;
  background: #164e63;
}
body.dark-mode .state-badge.paused {
  color: #fde68a;
  background: #78350f;
}
body.dark-mode .settings-title-button {
  color: var(--ink);
}
body.dark-mode .modal-backdrop {
  background: rgba(0, 0, 0, .72);
}
@media (max-width: 620px) {
  .hero {
    flex-wrap: wrap;
  }
  .theme-toggle {
    margin-left: 61px;
  }
}


/* Versão 19: campos "Seu texto" e "Acompanhamento da leitura" com a mesma altura. */
@media (min-width: 821px) {
  .content-grid {
    align-items: stretch;
  }
  .left-column,
  .content-grid > .playback-panel {
    height: 100%;
    min-height: 0;
  }
  .left-column > .text-panel,
  .left-column > .text-preview-panel,
  .content-grid > .playback-panel {
    min-height: 0;
  }
}


/* Versão 20: botão principal de início em verde, inclusive no tema escuro. */
#startBtn {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}
#startBtn:hover:not(:disabled) {
  background: #15803d;
  border-color: #15803d;
}
body.dark-mode #startBtn {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}
body.dark-mode #startBtn:hover:not(:disabled) {
  background: #15803d;
  border-color: #15803d;
}


/* Versão 21: redução adicional e discreta do tamanho dos painéis. */
@media (min-width: 821px) {
  .content-grid {
    gap: 10px;
  }
  .left-column > .text-panel,
  .left-column > .text-preview-panel,
  .content-grid > .playback-panel {
    padding: 13px;
  }
  .panel {
    border-radius: 14px;
  }
  .text-preview,
  #textInput {
    font-size: 14px;
  }
}


/* Versão 22: campos de texto com dimensões equivalentes e painéis mais compactos. */
@media (min-width: 821px) and (min-height: 620px) {
  .left-column > .text-panel {
    padding: 11px;
  }
  .text-panel textarea,
  .text-preview-panel {
    flex: 1 1 0;
    min-height: 125px;
  }
  .text-panel textarea {
    height: 0;
    max-height: none;
  }
  .text-preview-panel {
    min-height: 125px;
    margin-top: 8px;
  }
  .text-preview {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow: auto;
  }
  .text-panel .section-heading {
    margin-bottom: 9px;
  }
  .text-actions {
    margin-top: 8px;
  }
  .content-grid > .playback-panel {
    padding: 11px;
  }
  .content-grid {
    gap: 8px;
  }
}
