/* ZillRadar UI Compact Feedback Review Polish (Tasks P01-P06) */
@media (max-width: 640px) {
  /* P01: Title area flex axis reset */
  .bt-feedback-review .bt-title-area {
    flex: 0 1 auto;
    min-width: 0;
  }

  /* P02: Search wrapper flex axis reset */
  .bt-feedback-review .bt-search-wrapper {
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
  }

  /* P03: Header actions responsive gaps and stretch */
  .bt-feedback-review .bt-header-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .bt-feedback-review .bt-header-actions .bt-field-group,
  .bt-feedback-review .bt-header-actions .bt-btn {
    flex: 0 1 auto;
    width: 100%;
  }
  .bt-feedback-review .bt-header-actions .bt-select {
    width: 100%;
  }

  /* P04: Remove avoidable blank vertical space & prevent fixed heights */
  .bt-feedback-review .bt-header,
  .bt-feedback-review .bt-header-main,
  .bt-feedback-review .bt-toolbar {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .bt-feedback-review .bt-header-main {
    gap: 12px;
  }

  /* P05: Controls touch targets on compact screens >= 44px */
  .bt-feedback-review .bt-btn,
  .bt-feedback-review .bt-btn-sm,
  .bt-feedback-review .bt-nav-tab,
  .bt-feedback-review .bt-select,
  .bt-feedback-review .bt-input {
    min-height: 44px;
  }
  .bt-feedback-review .bt-btn:focus-visible,
  .bt-feedback-review .bt-nav-tab:focus-visible,
  .bt-feedback-review .bt-select:focus-visible,
  .bt-feedback-review .bt-input:focus-visible {
    outline: 2px solid var(--bt-accent);
    outline-offset: 2px;
  }
}

/* P05: Coarse pointer targets >= 44px */
@media (pointer: coarse) {
  .bt-feedback-review .bt-btn,
  .bt-feedback-review .bt-btn-sm,
  .bt-feedback-review .bt-nav-tab,
  .bt-feedback-review .bt-select,
  .bt-feedback-review .bt-input,
  .bt-feedback-review .bt-textarea {
    min-height: 44px;
  }
  .bt-feedback-review .bt-checkbox-label {
    min-height: 44px;
    min-width: 44px;
  }
}
