/* Inventaire terrain : commandes tactiles et alignement des relevés. */
#check-form .check-line {
  grid-template-columns: minmax(0, 1fr) 176px 116px;
  align-items: end;
  gap: 16px;
}
#check-form .check-line > div:first-child {
  align-self: center;
  min-width: 0;
}
.check-quantity {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.check-quantity > label {
  font-size: 12px;
  font-weight: 650;
  line-height: 18px;
}
.check-stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  height: 46px;
}
.check-step {
  border: 0;
  background: var(--surface2);
  color: var(--text);
  font: inherit;
  font-size: 24px;
  font-weight: 600;
  min-width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
}
.check-step:hover:not(:disabled) {
  background: var(--active-bg);
  color: var(--active-text);
}
.check-step:disabled {
  opacity: 0.4;
  cursor: default;
}
#check-form .check-stepper .check-count {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0 4px;
  text-align: center;
  font-size: 16px;
  appearance: textfield;
  -moz-appearance: textfield;
}
.check-count::-webkit-inner-spin-button,
.check-count::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#check-form .check-verified {
  min-height: 46px;
  height: 46px;
  align-self: end;
  margin: 0;
  grid-column: auto;
  white-space: nowrap;
}
.check-actions {
  justify-content: flex-end;
  gap: 12px;
}
.check-actions .btn {
  min-height: 44px;
  white-space: nowrap;
  flex: 0 0 auto;
}
@media (max-width: 800px) {
  #check-form .check-line {
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 12px;
  }
  #check-form .check-line > div:first-child {
    grid-column: 1 / -1;
  }
  .check-quantity {
    width: min(100%, 176px);
  }
  #check-form .check-verified {
    justify-content: center;
  }
  .check-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }
  .check-actions .btn {
    width: 100%;
    min-height: 44px;
    font-size: 13px;
    padding: 10px 12px;
  }
}
@media (max-width: 359px) {
  #check-form .check-line {
    grid-template-columns: minmax(0, 1fr);
  }
  #check-form .check-verified {
    grid-column: 1;
  }
}
