/* Atrekes public-site overlay. The parser's base styles remain canonical in
   libhft/tools/fix-web-parser/styles.css and are synchronised by the script. */
.feedback-panel {
  display: grid;
  grid-template-columns: minmax(15rem, .85fr) minmax(19rem, 1fr);
  gap: clamp(28px, 7vw, 100px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 42px);
  border-top: 1px solid var(--line);
}

.feedback-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.feedback-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -.04em;
  line-height: 1;
}

.feedback-panel > div > p:last-child {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feedback-form {
  display: grid;
  gap: 7px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 16px 38px rgb(0 0 0 / 12%);
}

.feedback-form label {
  margin-top: 4px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.feedback-form label span {
  color: var(--muted);
  font-weight: 400;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: 0;
  color: var(--text);
  background: var(--panel2);
  font: inherit;
}

.feedback-form textarea {
  min-height: 90px;
  resize: vertical;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.feedback-form button {
  justify-self: start;
  margin-top: 8px;
  padding: 9px 13px;
  border: 0;
  border-radius: 4px;
  color: var(--on-accent);
  background: var(--accent);
  font: 700 12px var(--mono);
  cursor: pointer;
}

.feedback-form button:hover { filter: brightness(1.08); }
.feedback-form > p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }

.feedback-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feedback-notice {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--ok);
  border-radius: 4px;
  color: var(--ok);
  background: var(--ok-bg);
  font-weight: 700;
}

.feedback-notice:target { display: block; }

@media (max-width: 760px) {
  .feedback-panel { grid-template-columns: 1fr; gap: 24px; }
}
