/* The file input still handles click, keyboard and form submission. */
.rfq-upload[data-ready] {
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 2px;
}
.rfq-upload > span { display: none; }
.rfq-upload[data-ready] > span { display: block; }
.rfq-upload[data-ready] > input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.rfq-upload:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.rfq-upload-button {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: var(--bg);
}
.rfq-upload-status { overflow-wrap: anywhere; }
