.vc-feedback {
  width: min(100%, 940px);
  margin: clamp(24px, 3vw, 36px) auto 0;
  padding-block-start: 16px;
  border-top: 1px solid #dfe5ef;
  color: #233047;
  scroll-margin-top: 100px;
}
.vc-feedback h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.3;
}
.vc-feedback-form, .vc-feedback-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: clamp(16px, 2vw, 22px);
  background: #fff;
  border: 1px solid #dfe5ef;
  border-radius: 16px;
  overflow-wrap: anywhere;
}
.vc-feedback-form {
  gap: 9px;
  padding: clamp(11px, 1.5vw, 16px);
}
.vc-feedback-form p, .vc-feedback-card p { margin: 0; }
#vc-feedback-note, .vc-feedback-status, .vc-feedback-byline time {
  color: #5d6c83;
  font-size: .9rem;
  line-height: 1.55;
}
#vc-feedback-note { font-size: .8rem; }
.vc-feedback-status:empty { display: none; }
.vc-feedback-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 244px) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.vc-feedback-form input[type="text"], .vc-feedback-form textarea {
  width: 100%;
  min-width: 0;
  padding: 9px 11px;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  background: #f8fafc;
  border: 1px solid #cfd8e7;
  border-radius: 10px;
  box-sizing: border-box;
}
.vc-feedback-form :is(input[type="text"], textarea)::placeholder { color: #5d6c83; opacity: 1; }
.vc-feedback-form input[type="text"] { min-height: 42px; }
.vc-feedback-form textarea { min-height: 68px; resize: vertical; }
.vc-feedback-photo-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 6px;
  min-width: 0;
  min-height: 42px;
  padding: 5px 11px;
  border: 1px solid #dce5f6;
  border-radius: 9px;
  background: #f0f4ff;
  color: #24459a;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.vc-feedback-photo-picker svg { flex: none; }
.vc-feedback-photo-picker input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.vc-feedback-photo-picker:has(input:focus-visible) {
  outline: 2px solid #3153d1;
  outline-offset: 3px;
}
.vc-feedback-photo-picker:has(input:disabled) { opacity: .65; }
.vc-feedback-attachment {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 6px;
  max-width: 100%;
  padding-inline: 10px 3px;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  color: #40516d;
  font-size: .85rem;
}
.vc-feedback-attachment span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vc-feedback-attachment button {
  flex: none;
  min-width: 32px;
  min-height: 32px;
  padding: 0 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: 600 19px/1 sans-serif;
  cursor: pointer;
}
.vc-feedback-button {
  justify-self: start;
  min-height: 42px;
  padding: 8px 17px;
  color: #fff;
  background: #3153d1;
  border: 1px solid #3153d1;
  border-radius: 9px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.vc-feedback-button:hover:not(:disabled) { background: #2646b9; }
.vc-feedback-button:disabled { opacity: .65; cursor: wait; }
.vc-feedback-button[hidden], .vc-feedback-attachment[hidden] { display: none; }
.vc-feedback :focus-visible, .vc-feedback-admin :focus-visible {
  outline: 2px solid #3153d1;
  outline-offset: 3px;
}
.vc-feedback-feed > .vc-feedback-status { margin: 10px 0 0; }
.vc-feedback-feed > button { margin-block-start: 10px; }
.vc-feedback-feed .vc-feedback-card {
  gap: 5px;
  padding: 13px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dfe5ef;
  border-radius: 0;
}
.vc-feedback-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}
.vc-feedback-text { white-space: pre-wrap; line-height: 1.6; }
.vc-feedback-photo-link { justify-self: start; max-width: 100%; margin-top: 4px; }
.vc-feedback-photo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 300px;
  border-radius: 9px;
}
.vc-feedback-feed .vc-feedback-photo { max-height: 215px; }
.vc-feedback-actions, .vc-feedback-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.vc-feedback-tabs { margin-block: 14px; }
.vc-feedback-tabs a {
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  color: #2645b5;
  text-decoration: none;
}
.vc-feedback-tabs [aria-current="page"] { background: #3153d1; color: #fff; }
.vc-feedback-admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 12px;
  align-items: start;
}
@media (max-width: 520px) {
  .vc-feedback-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
  .vc-feedback-form input[type="text"] { grid-column: 1 / -1; }
  .vc-feedback-feed .vc-feedback-photo { max-height: 190px; }
}
