.feedback-workspace { color: #29282d; }
.feedback-heading, .feedback-heading > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feedback-heading { justify-content: space-between; margin-bottom: 16px; }
.feedback-heading h2 { font-size: 20px; margin: 0; }
.feedback-layout { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: 24px; }
.feedback-records { border-right: 1px solid #dedee3; padding-right: 16px; }
.feedback-records > button { display: flex; flex-direction: column; gap: 6px; text-align: left; width: 100%; border: 0; border-bottom: 1px solid #dedee3; border-radius: 0; background: #fff; color: inherit; padding: 14px 10px; cursor: pointer; overflow-wrap: anywhere; }
.feedback-records > button.selected { background: #f1edf5; box-shadow: inset 3px 0 #643182; }
.feedback-editor { min-width: 0; }
.feedback-editor > form, .feedback-photos, .feedback-history { border-bottom: 1px solid #dedee3; padding-bottom: 22px; margin-bottom: 22px; }
.feedback-workspace fieldset { margin: 0; border: 0; padding: 0; min-width: 0; }
.feedback-workspace legend, .feedback-workspace h3 { font-size: 16px; font-weight: 650; margin: 0 0 14px; padding: 0; }
.feedback-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feedback-wide { grid-column: 1 / -1; }
.feedback-workspace label, .feedback-dialog label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; min-width: 0; }
.feedback-workspace input, .feedback-workspace select, .feedback-workspace textarea, .feedback-dialog input, .feedback-dialog select, .feedback-dialog textarea { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #b9bac2; border-radius: 4px; padding: 9px; font: inherit; color: #29282d; background: #fff; }
.feedback-workspace textarea, .feedback-dialog textarea { resize: vertical; }
.feedback-workspace :disabled { cursor: not-allowed; opacity: .75; }
.feedback-workspace footer { display: flex; justify-content: flex-end; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.feedback-workspace svg, .feedback-dialog svg { width: 18px; height: 18px; flex: 0 0 18px; }
.feedback-workspace [data-error] { color: #a22235; white-space: pre-wrap; }
.feedback-workspace [data-status-message] { color: #246249; }
.feedback-workspace [data-error]:empty, .feedback-workspace [data-status-message]:empty { display: none; }
.feedback-notice { padding: 12px; background: #f3f4f6; border-left: 3px solid #7a7e89; }
.feedback-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.feedback-photo-grid figure { margin: 0; min-width: 0; }
.feedback-photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f3f4f6; border: 1px solid #dedee3; }
.feedback-photo-grid figcaption { font-size: 13px; padding: 8px 0; overflow-wrap: anywhere; }
.feedback-workspace small, .feedback-dialog small { display: block; font-size: 12px; color: #61616c; margin-top: 5px; }
.feedback-workspace [data-upload] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-top: 18px; }
.feedback-history details { border-top: 1px solid #dedee3; padding: 12px 0; overflow-wrap: anywhere; }
.feedback-history summary { cursor: pointer; }
.feedback-history dd { margin: 4px 0 12px; white-space: pre-wrap; }
.feedback-history dt { font-weight: 600; }
.feedback-dialog { box-sizing: border-box; width: min(1100px, calc(100% - 24px)); max-height: calc(100dvh - 32px); border: 1px solid #b9bac2; border-radius: 8px; padding: 0; color: #29282d; background: #fff; }
.feedback-dialog::backdrop { background: #20212680; }
.feedback-dialog > header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #dedee3; }
.feedback-dialog h2 { font-size: 20px; margin: 0; }
.feedback-dialog [data-body] { padding: 20px; }
.feedback-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.feedback-filters > label:first-child { flex: 1 1 230px; }
.feedback-dialog .feedback-check { flex-direction: row; align-items: center; padding-bottom: 10px; }
.feedback-dialog input[type=checkbox] { width: 18px; height: 18px; }
.feedback-table-wrap { overflow-x: auto; }
.feedback-table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 13px; }
.feedback-table td, .feedback-table th { padding: 12px 8px; text-align: left; border-bottom: 1px solid #dedee3; overflow-wrap: anywhere; max-width: 240px; }
.feedback-dialog form { display: grid; gap: 16px; }
@media (max-width: 700px) {
  .feedback-layout, .feedback-grid, .feedback-workspace [data-upload] { grid-template-columns: minmax(0, 1fr); }
  .feedback-records { border-right: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .feedback-wide { grid-column: auto; }
  .feedback-heading > div { width: 100%; }
  .feedback-heading .button { white-space: normal; }
  .feedback-dialog [data-body] { padding: 12px; }
}
