/* Feedback form */
.langrow { margin: 0 0 8px; }
#lang { font: 700 0.9rem var(--round); border: 0; border-radius: 999px; padding: 8px 16px; background: #fff; box-shadow: 0 2px 0 #F0DFC8; cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 18px 0 0; }
legend { font: 800 1.05rem var(--round); margin-bottom: 8px; padding: 0; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kinds label { cursor: pointer; }
.kinds input { position: absolute; opacity: 0; }
.kinds span { display: inline-block; padding: 10px 14px; border-radius: 999px; background: #fff; box-shadow: 0 2px 0 #F0DFC8; font: 700 0.95rem var(--round); border: 2px solid transparent; }
.kinds input:checked + span { border-color: var(--orange); background: #FDE7CF; }
.kinds input:focus-visible + span { outline: 3px solid #2F8CF0; outline-offset: 2px; }
.rating { display: flex; gap: 6px; }
.rating button { border: 0; background: none; font-size: 2.2rem; line-height: 1; color: #E7D9C6; cursor: pointer; padding: 2px; }
.rating button.on { color: #FFC93C; }
.field { display: block; margin-top: 18px; font: 800 1.05rem var(--round); }
.field textarea, .field input {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 2px solid #F0DFC8; border-radius: 14px;
  font: 400 1rem/1.5 system-ui, sans-serif; color: var(--ink); background: #fff; box-sizing: border-box;
}
.field textarea:focus, .field input:focus { outline: none; border-color: var(--orange); }
.hint { color: var(--muted); font-size: 0.88rem; margin: 6px 0 0; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send {
  margin-top: 22px; border: 0; border-radius: 999px; padding: 14px 34px; background: var(--orange); color: #fff;
  font: 800 1.15rem var(--round); box-shadow: 0 4px 0 #C9661A; cursor: pointer;
}
.send:disabled { opacity: 0.6; }
.status { min-height: 1.5em; font: 700 1rem var(--round); margin: 14px 0 0; }
.status.good { color: #2B7A37; }
.status.bad { color: #B3261E; }
/* Shown after a message is sent */
.after { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.after .back {
  display: inline-block; text-decoration: none; border-radius: 999px; padding: 12px 22px;
  background: var(--orange); color: #fff; font: 800 1rem var(--round); box-shadow: 0 4px 0 #C9661A;
}
.after .back.home { background: #fff; color: var(--ink); box-shadow: 0 4px 0 #F0DFC8; }
.after .back[hidden] { display: none; }
.after[hidden] { display: none; }
.send.again { background: #fff; color: var(--ink); box-shadow: 0 4px 0 #F0DFC8; font-size: 1rem; padding: 12px 24px; }
