/* Tablet: keep the sale article grid inside the paper after adding HT/TTC. */
@media (max-width: 900px) {
  .form-screen .sales-table {
    overflow-x: visible;
  }

  .form-screen .sales-table .table-head,
  .form-screen .sales-table .table-row {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 54px 86px 92px 62px;
  }

  .form-screen .sales-table .table-head span {
    padding: 6px 3px;
    font-size: 10px;
  }

  .form-screen .sales-table .price-mode-cell {
    height: auto;
    min-height: 54px;
    box-sizing: border-box;
    padding: 4px 5px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
  }

  .form-screen .sales-table .price-mode-cell label {
    gap: 2px;
  }

  .form-screen .sales-table .price-mode-cell input {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
  }
}

/* V3 : référence libre de la facture, distincte du code client Crésus. */
.mm-concerne-section {
  border: 1px solid var(--line);
  grid-column: 1 / -1;
}

.mm-concerne-field {
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: stretch;
}

.mm-concerne-field > span {
  display: flex;
  align-items: center;
  color: #414957;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
}

.mm-concerne-field textarea {
  width: 100%;
  min-height: 64px;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 10px 12px;
  resize: vertical;
  outline: none;
}

@media (max-width: 760px) {
  .mm-concerne-field {
    grid-template-columns: 105px 1fr;
  }
}
