/* The "report a problem or share feedback" box (js/problem.js): quiet, but plainly there. One line and an outlined
   button at the foot of every page; the little form opens in place. In the library room it sits under the parts. */
.problem { max-width: var(--maxw); margin: 48px auto 0; padding: 22px 24px 0; border-top: 1px solid var(--line); text-align: center; }
.problem-lead { color: var(--muted); font-size: 0.95rem; line-height: 1.55; margin: 0 0 12px; }
.problem-open {
  background: transparent; color: var(--accent-deep); border: 1px solid var(--accent); border-radius: 999px;
  font: inherit; font-size: 0.9rem; font-weight: 600; padding: 9px 18px; cursor: pointer; transition: background .12s ease, color .12s ease;
}
.problem-open:hover, .problem-open:focus-visible { background: var(--accent); color: #fff; }
.problem-form {
  display: grid; gap: 14px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; margin-top: 4px;
}
.problem-label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.problem-form textarea, .problem-form input {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; resize: vertical;
}
.problem-form textarea:focus, .problem-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.problem-mail { font-weight: 500; color: var(--muted); }
.problem-trap { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.problem-send { justify-self: start; font-size: 0.95rem; padding: 11px 22px; border-radius: 12px; box-shadow: none; }
.problem-send:disabled { opacity: .6; cursor: progress; }
.problem-say { margin: 0; font-size: 0.92rem; color: var(--accent-deep); min-height: 1.2em; }
.problem-say:empty { display: none; }

/* Under the list of parts: left-aligned and close to the list, so it reads as part of the room. */
.room-side .problem { margin: 18px 0 0; padding: 16px 4px 0; text-align: left; }
.room-side .problem-lead { font-size: 0.88rem; }
.room-side .problem-form { padding: 14px; }

@media (max-width: 560px) {
  .problem { margin-top: 36px; padding: 18px 4px 0; }
  .problem-send { justify-self: stretch; }
}
