.hub-page-grid-feedback.feedback-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: 16px;
}

.feedback-layout > .hub-page-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  min-width: 0;
  min-height: 0;
  padding: 26px;
  background: var(--color-surface);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.feedback-card-content,
.feedback-direct-contact {
  min-width: 0;
}

.feedback-layout h2 {
  margin: 0 0 16px;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.4;
}

.feedback-compose .feedback-card-content {
  display: flex;
  flex-direction: column;
}

.feedback-layout .feedback-form {
  flex: 1;
  grid-template-rows: auto minmax(auto, 1fr) auto auto;
  gap: 16px;
  margin: 0;
}

.feedback-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feedback-layout .feedback-form label {
  min-width: 0;
  gap: 8px;
  color: var(--color-primary-text);
  font-size: 14px;
  font-weight: 750;
}

.feedback-compose .feedback-message {
  grid-template-rows: auto minmax(240px, 1fr);
}

.feedback-layout .feedback-form input,
.feedback-layout .feedback-form select,
.feedback-layout .feedback-form textarea {
  display: block;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

.feedback-compose .feedback-message textarea {
  height: 100%;
  min-height: 240px;
  resize: vertical;
}

.feedback-layout .feedback-form textarea::placeholder {
  color: var(--color-text-muted);
  opacity: .8;
}

.feedback-layout .feedback-form .small-button {
  width: auto;
  height: auto;
  min-height: 44px;
  justify-self: start;
  padding: 10px 22px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.8;
}

.feedback-layout .form-help {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.feedback-layout .form-help strong {
  color: var(--color-primary-text);
  font-weight: 750;
}

.feedback-guide .work-field-list li {
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 13px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.feedback-guide .work-field-list strong,
.feedback-guide .work-field-list span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.85;
}

.feedback-guide .work-field-list strong {
  font-weight: 750;
}

.feedback-example {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.feedback-example h3,
.feedback-qa h3 {
  margin: 0 0 8px;
  color: var(--color-primary-text);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.6;
  word-break: keep-all;
}

.feedback-example-copy {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 16px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--color-surface-soft) 42%, var(--color-surface));
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.feedback-example-line {
  display: block;
}

.feedback-error-tip {
  margin: 12px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.feedback-qa {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.feedback-qa p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.feedback-email {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.feedback-email-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feedback-email .contact-symbol {
  flex-shrink: 0;
  width: 39px;
  height: 39px;
  margin: 0;
  border-radius: 10px;
  font-size: 23px;
  line-height: 1;
}

.feedback-email h3 {
  margin: 0;
  color: var(--color-primary-text);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.5;
}

.feedback-email .contact-address {
  display: inline-block;
  max-width: 100%;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.feedback-email p {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
  .hub-page-grid-feedback.feedback-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .feedback-layout > .hub-page-card {
    display: block;
    padding: 24px 20px;
  }

  .feedback-compose .feedback-card-content {
    display: block;
  }

  .feedback-layout .feedback-form,
  .feedback-compose .feedback-message {
    grid-template-rows: none;
  }

  .feedback-compose .feedback-message textarea {
    height: 200px;
    min-height: 180px;
  }

  .feedback-layout .feedback-form .small-button {
    width: 100%;
    justify-self: stretch;
  }

  .feedback-compose > .feedback-qa,
  .feedback-direct-contact > .feedback-qa {
    margin-top: 16px;
  }

  .feedback-guide .work-field-list li {
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .feedback-form-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
