/* Shared, presentation-only processing state. No success or percentage is inferred. */
.tt-feedback-panel {
  position: fixed;
  z-index: 1000;
  inset-inline-start: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px 14px;
  box-sizing: border-box;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  padding: 18px 20px;
  border: 1px solid #5ee7ef;
  border-radius: 10px;
  background: #0b2b38;
  box-shadow: 0 12px 40px #0006;
  color: #f8fcfd;
  font: 16px/1.5 Aptos, "Segoe UI", sans-serif;
  text-align: start;
}
.tt-feedback-panel[hidden], .tt-feedback-check[hidden] { display: none !important; }
.tt-feedback-title { display: block; margin: 0; color: #f8fcfd; font-size: 17px; font-weight: 750; overflow-wrap: anywhere; }
.tt-feedback-hint { display: block; margin: 4px 0 0; color: #c3d8e0; font-size: 16px; }
.tt-feedback-spinner {
  display: inline-block;
  flex: none;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: tt-feedback-spin .85s linear infinite;
}
.tt-feedback-panel > .tt-feedback-spinner { margin-top: 3px; color: #5ee7ef; }
.tt-feedback-check {
  grid-column: 2;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #5ee7ef;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tt-feedback-check:focus-visible { outline: 3px solid #5ee7ef; outline-offset: 3px; }
html body :is(button, a).tt-feedback-button { position: relative; cursor: wait; }
html body .tt-feedback-original { visibility: hidden; }
html body .tt-feedback-button > .tt-feedback-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 8px;
  color: inherit;
  font: inherit;
  font-size: min(1em, 17px);
  line-height: 1.2;
  text-align: center;
}
html body .tt-feedback-content .tt-feedback-spinner { width: 16px; height: 16px; }
form[data-tt-pending] { cursor: wait; }
@keyframes tt-feedback-spin { to { transform: rotate(360deg); } }
@media (max-width: 999px) {
  :is(.customer-mobile-ui, .admin-workspace) .tt-feedback-panel {
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 175px);
  }
}
@media (max-width: 360px) { .tt-feedback-panel { padding: 14px 16px; gap: 8px 10px; } }
@media (prefers-reduced-motion: reduce) { .tt-feedback-spinner { animation: none; } }
@media print { .tt-feedback-panel { display: none !important; } }
