.ofp-flow-nav { align-items: center; }
.ofp-page .ofp-speak-button {
  position: relative;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 1 auto;
  min-height: 44px;
  max-width: 250px;
  padding: 10px 14px !important;
  border: 1px solid #2c3e50;
  border-radius: 9px;
  background: #2c3e50;
  color: #fff;
  font-family: inherit;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.ofp-speak-button svg { width: 20px; height: 20px; flex: 0 0 20px; }
.ofp-page .ofp-speak-tooltip {
  position: absolute;
  z-index: 100;
  bottom: calc(100% + 10px);
  left: 0;
  width: 245px;
  max-width: calc(100vw - 48px);
  padding: 8px 10px;
  border: 1px solid #d4d8dc;
  border-radius: 6px;
  background: #fffefa;
  color: #2c3e50;
  font: 400 11px/1.45 var(--ofp-font);
  text-align: left;
  white-space: normal;
  box-shadow: 0 3px 10px rgba(34, 49, 64, .1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ofp-page .ofp-speak-button:hover .ofp-speak-tooltip,
.ofp-page .ofp-speak-button:focus-visible .ofp-speak-tooltip {
  opacity: 1;
  visibility: visible;
}
.ofp-page .ofp-send-controls .ofp-speak-tooltip {
  right: 0;
  left: auto;
}
.ofp-page .ofp-speak-button:hover { color: #fff; background: #223140; border-color: #223140; }
.ofp-page .ofp-speak-button:focus-visible {
  outline: 2px solid #58338c;
  outline-offset: 4px;
}
.ofp-page .ofp-send-controls {
  width: 240px;
  max-width: 100%;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
}
.ofp-page .ofp-send-controls > button { width: 100%; max-width: none; }
.ofp-page .ofp-send-status:empty { display: none; }
@media (min-width: 701px) {
  .ofp-page .ofp-send-actions { align-items: flex-start; }
}
@media (max-width: 700px) {
  .ofp-page .ofp-send-controls { width: 100%; }
}
.ofp-flow-page .ofp-flow-nav #ofp-flow-back { margin-left: auto; }
.ofp-flow-page .ofp-flow-nav #ofp-flow-back:not([hidden]) ~ #ofp-flow-next,
.ofp-flow-page .ofp-flow-nav #ofp-flow-back:not([hidden]) ~ #ofp-find-suppliers {
  margin-left: 0;
}
@media (max-width: 600px) {
  .ofp-flow-page .ofp-flow-nav { flex-wrap: nowrap; }
  .ofp-flow-nav .ofp-speak-button {
    flex: 1 1 0;
    min-width: 0;
    max-width: 160px;
    padding: 8px !important;
  }
  #ofp-page .ofp-flow-nav .ofp-button {
    flex-shrink: 0;
    padding-inline: 12px !important;
    font-size: 12px !important;
  }
}
