.omni-task-feedback {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: min(360px, 100%);
  max-width: 100%;
  /* Keep the control after every task, including modules with floated content. */
  clear: both;
  margin: 24px 0;
  box-sizing: border-box;
  color: #1f2937;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.35;
}

.omni-task-feedback__toggle {
  min-height: 42px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #c8cdd4;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
  color: #374151;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.omni-task-feedback__toggle:hover {
  border-color: #6b7280;
  color: #111827;
}

.omni-task-feedback__toggle:focus-visible,
.omni-task-feedback__option:focus-visible {
  outline: 3px solid rgba(34, 113, 177, 0.35);
  outline-offset: 2px;
}

.omni-task-feedback__panel {
  width: 100%;
  padding: 12px;
  border: 1px solid #d5d9df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
  box-sizing: border-box;
}

.omni-task-feedback__panel[hidden] {
  display: none !important;
}

.omni-task-feedback__heading {
  margin: 0 0 8px;
  color: #111827;
  font-weight: 700;
}

.omni-task-feedback__options {
  display: grid;
  gap: 4px;
}

.omni-task-feedback__option {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 0;
  border-radius: 5px;
  background: #f3f4f6;
  color: #1f2937;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.omni-task-feedback__option:hover {
  background: #e5e7eb;
}

.omni-task-feedback__option:disabled {
  cursor: wait;
  opacity: 0.62;
}

.omni-task-feedback__status {
  max-width: 100%;
  min-height: 0;
  padding: 0 2px;
  color: #374151;
  font-size: 12px;
}

.omni-task-feedback__status:empty {
  display: none;
}

.omni-task-feedback__status.is-success {
  color: #166534;
}

.omni-task-feedback__status.is-error {
  color: #b42318;
}

.omni-task-feedback__website {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 480px) {
  .omni-task-feedback {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .omni-task-feedback *,
  .omni-task-feedback *::before,
  .omni-task-feedback *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
