.student-plan-days .student-feedback-action {
  min-height: 42px;
  margin-top: 11px;
  white-space: normal;
}

.student-feedback-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  white-space: normal;
}

.student-feedback-title {
  font-size: 1.55rem;
}

.student-feedback-date {
  color: var(--muted);
  font-size: .86rem;
}

.student-feedback-form {
  display: grid;
  min-width: 0;
  justify-items: start;
  gap: 10px;
}

.student-feedback-question {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.student-feedback-question legend {
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
}

.student-feedback-question small {
  color: var(--muted);
  font-weight: 500;
}

.student-feedback-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.student-feedback-option {
  position: relative;
  cursor: pointer;
}

.student-feedback-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.student-feedback-option span {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  overflow-wrap: anywhere;
}

.student-feedback-option:hover span,
.student-feedback-option input:checked + span {
  border-color: #c1a043;
}

.student-feedback-option input:checked + span {
  background: var(--gold-light);
}

.student-feedback-option input:focus-visible + span {
  outline: 2px solid #a17b13;
  outline-offset: 2px;
}

.student-feedback-note {
  margin-top: 4px;
  color: var(--ink);
  font-weight: 700;
}

.student-feedback-form textarea {
  width: 100%;
  min-height: 74px;
  margin-top: -4px;
  padding: 8px 10px;
  border: 1px solid #dcd9cf;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  resize: vertical;
}

.student-feedback-counter {
  justify-self: end;
  margin-top: -5px;
  color: var(--muted);
  font-size: .8rem;
}

.student-feedback-form .button {
  min-height: 42px;
}

.student-feedback-answers {
  margin: 0;
}

.student-feedback-answers dd {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.student-feedback-attachment {
  display: grid;
  width: 100%;
  min-width: 0;
  justify-items: start;
  gap: 7px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf9f5;
}

.student-feedback-attachment input[type="file"] {
  width: 100%;
  min-width: 0;
  color: var(--muted);
}

.student-feedback-attachment input::file-selector-button {
  min-height: 38px;
  margin-right: 7px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.student-feedback-attachment-preview {
  width: auto;
  max-width: 100%;
  max-height: 210px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.student-feedback-photo-retry summary {
  margin-bottom: 7px;
  color: var(--gold-ink);
  font-weight: 700;
  cursor: pointer;
}

.student-feedback-photo-retry > .button {
  margin: 8px 0 4px;
}
